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.
83 lines
551 KiB
83 lines
551 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[9649],{65352:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return D}});var P=u(77321),O=u(52487),U=u(74416),Q=u(43403),V=u(92310),p=u.n(V),H=u(29301),$=u(76846),e=u(96452),s=u(6089),f=u(80402),t=u(34280),r=u(49658),a=u(59301),o=u(72308),m=u(77900),x=u(8654);function E(A){var X=A.prefixCls,M=A.align,se=A.arrow,ve=A.arrowPos,S=se||{},c=S.className,k=S.content,z=ve.x,T=z===void 0?0:z,W=ve.y,F=W===void 0?0:W,ee=a.useRef();if(!M||!M.points)return null;var q={position:"absolute"};if(M.autoArrow!==!1){var ce=M.points[0],me=M.points[1],ze=ce[0],Fe=ce[1],Ae=me[0],Ke=me[1];ze===Ae||!["t","b"].includes(ze)?q.top=F:ze==="t"?q.top=0:q.bottom=0,Fe===Ke||!["l","r"].includes(Fe)?q.left=T:Fe==="l"?q.left=0:q.right=0}return a.createElement("div",{ref:ee,className:p()("".concat(X,"-arrow"),c),style:q},k)}function _(A){var X=A.prefixCls,M=A.open,se=A.zIndex,ve=A.mask,S=A.motion;return ve?a.createElement(m.default,(0,o.Z)({},S,{motionAppear:!0,visible:M,removeOnLeave:!0}),function(c){var k=c.className;return a.createElement("div",{style:{zIndex:se},className:p()("".concat(X,"-mask"),k)})}):null}var v=a.memo(function(A){var X=A.children;return X},function(A,X){return X.cache}),d=v,l=a.forwardRef(function(A,X){var M=A.popup,se=A.className,ve=A.prefixCls,S=A.style,c=A.target,k=A.onVisibleChanged,z=A.open,T=A.keepDom,W=A.fresh,F=A.onClick,ee=A.mask,q=A.arrow,ce=A.arrowPos,me=A.align,ze=A.motion,Fe=A.maskMotion,Ae=A.forceRender,Ke=A.getPopupContainer,rt=A.autoDestroy,Ve=A.portal,Be=A.zIndex,Zt=A.onMouseEnter,Tt=A.onMouseLeave,tt=A.onPointerEnter,Vt=A.onPointerDownCapture,dn=A.ready,Pt=A.offsetX,ut=A.offsetY,Lt=A.offsetR,ln=A.offsetB,tn=A.onAlign,Qt=A.onPrepare,_n=A.stretch,wt=A.targetWidth,ft=A.targetHeight,vt=typeof M=="function"?M():M,Gt=z||T,Cn=(Ke==null?void 0:Ke.length)>0,jt=a.useState(!Ke||!Cn),kn=(0,O.Z)(jt,2),Wn=kn[0],sn=kn[1];if((0,t.Z)(function(){!Wn&&Cn&&c&&sn(!0)},[Wn,Cn,c]),!Wn)return null;var gn="auto",Pn={left:"-1000vw",top:"-1000vh",right:gn,bottom:gn};if(dn||!z){var En,On=me.points,mn=me.dynamicInset||((En=me._experimental)===null||En===void 0?void 0:En.dynamicInset),Nn=mn&&On[0][1]==="r",Dn=mn&&On[0][0]==="b";Nn?(Pn.right=Lt,Pn.left=gn):(Pn.left=Pt,Pn.right=gn),Dn?(Pn.bottom=ln,Pn.top=gn):(Pn.top=ut,Pn.bottom=gn)}var In={};return _n&&(_n.includes("height")&&ft?In.height=ft:_n.includes("minHeight")&&ft&&(In.minHeight=ft),_n.includes("width")&&wt?In.width=wt:_n.includes("minWidth")&&wt&&(In.minWidth=wt)),z||(In.pointerEvents="none"),a.createElement(Ve,{open:Ae||Gt,getContainer:Ke&&function(){return Ke(c)},autoDestroy:rt},a.createElement(_,{prefixCls:ve,open:z,zIndex:Be,mask:ee,motion:Fe}),a.createElement(H.Z,{onResize:tn,disabled:!z},function(re){return a.createElement(m.default,(0,o.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ae,leavedClassName:"".concat(ve,"-hidden")},ze,{onAppearPrepare:Qt,onEnterPrepare:Qt,visible:z,onVisibleChanged:function(Ge){var De;ze==null||(De=ze.onVisibleChanged)===null||De===void 0||De.call(ze,Ge),k(Ge)}}),function(G,Ge){var De=G.className,Xe=G.style,Je=p()(ve,De,se);return a.createElement("div",{ref:(0,x.sQ)(re,X,Ge),className:Je,style:(0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)({"--arrow-x":"".concat(ce.x||0,"px"),"--arrow-y":"".concat(ce.y||0,"px")},Pn),In),Xe),{},{boxSizing:"border-box",zIndex:Be},S),onMouseEnter:Zt,onMouseLeave:Tt,onPointerEnter:tt,onClick:F,onPointerDownCapture:Vt},q&&a.createElement(E,{prefixCls:ve,arrow:q,arrowPos:ce,align:me}),a.createElement(d,{cache:!z&&!W},vt))})}))}),N=l,R=a.forwardRef(function(A,X){var M=A.children,se=A.getTriggerDOMNode,ve=(0,x.Yr)(M),S=a.useCallback(function(k){(0,x.mH)(X,se?se(k):k)},[se]),c=(0,x.x1)(S,(0,x.C4)(M));return ve?a.cloneElement(M,{ref:c}):M}),L=R,j=a.createContext(null),J=j;function B(A){return A?Array.isArray(A)?A:[A]:[]}function ge(A,X,M,se){return a.useMemo(function(){var ve=B(M!=null?M:X),S=B(se!=null?se:X),c=new Set(ve),k=new Set(S);return A&&(c.has("hover")&&(c.delete("hover"),c.add("click")),k.has("hover")&&(k.delete("hover"),k.add("click"))),[c,k]},[A,X,M,se])}var g=u(29194);function h(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],M=arguments.length>2?arguments[2]:void 0;return M?A[0]===X[0]:A[0]===X[0]&&A[1]===X[1]}function b(A,X,M,se){for(var ve=M.points,S=Object.keys(A),c=0;c<S.length;c+=1){var k,z=S[c];if(h((k=A[z])===null||k===void 0?void 0:k.points,ve,se))return"".concat(X,"-placement-").concat(z)}return""}function C(A,X,M,se){return X||(M?{motionName:"".concat(A,"-").concat(M)}:se?{motionName:se}:null)}function I(A){return A.ownerDocument.defaultView}function w(A){for(var X=[],M=A==null?void 0:A.parentElement,se=["hidden","scroll","clip","auto"];M;){var ve=I(M).getComputedStyle(M),S=ve.overflowX,c=ve.overflowY,k=ve.overflow;[S,c,k].some(function(z){return se.includes(z)})&&X.push(M),M=M.parentElement}return X}function n(A){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(A)?X:A}function i(A){return n(parseFloat(A),0)}function y(A,X){var M=(0,P.Z)({},A);return(X||[]).forEach(function(se){if(!(se instanceof HTMLBodyElement||se instanceof HTMLHtmlElement)){var ve=I(se).getComputedStyle(se),S=ve.overflow,c=ve.overflowClipMargin,k=ve.borderTopWidth,z=ve.borderBottomWidth,T=ve.borderLeftWidth,W=ve.borderRightWidth,F=se.getBoundingClientRect(),ee=se.offsetHeight,q=se.clientHeight,ce=se.offsetWidth,me=se.clientWidth,ze=i(k),Fe=i(z),Ae=i(T),Ke=i(W),rt=n(Math.round(F.width/ce*1e3)/1e3),Ve=n(Math.round(F.height/ee*1e3)/1e3),Be=(ce-me-Ae-Ke)*rt,Zt=(ee-q-ze-Fe)*Ve,Tt=ze*Ve,tt=Fe*Ve,Vt=Ae*rt,dn=Ke*rt,Pt=0,ut=0;if(S==="clip"){var Lt=i(c);Pt=Lt*rt,ut=Lt*Ve}var ln=F.x+Vt-Pt,tn=F.y+Tt-ut,Qt=ln+F.width+2*Pt-Vt-dn-Be,_n=tn+F.height+2*ut-Tt-tt-Zt;M.left=Math.max(M.left,ln),M.top=Math.max(M.top,tn),M.right=Math.min(M.right,Qt),M.bottom=Math.min(M.bottom,_n)}}),M}function K(A){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,M="".concat(X),se=M.match(/^(.*)\%$/);return se?A*(parseFloat(se[1])/100):parseFloat(M)}function le(A,X){var M=X||[],se=(0,O.Z)(M,2),ve=se[0],S=se[1];return[K(A.width,ve),K(A.height,S)]}function xe(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[A[0],A[1]]}function Le(A,X){var M=X[0],se=X[1],ve,S;return M==="t"?S=A.y:M==="b"?S=A.y+A.height:S=A.y+A.height/2,se==="l"?ve=A.x:se==="r"?ve=A.x+A.width:ve=A.x+A.width/2,{x:ve,y:S}}function je(A,X){var M={t:"b",b:"t",l:"r",r:"l"};return A.map(function(se,ve){return ve===X?M[se]||"c":se}).join("")}function it(A,X,M,se,ve,S,c){var k=a.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ve[se]||{}}),z=(0,O.Z)(k,2),T=z[0],W=z[1],F=a.useRef(0),ee=a.useMemo(function(){return X?w(X):[]},[X]),q=a.useRef({}),ce=function(){q.current={}};A||ce();var me=(0,s.Z)(function(){if(X&&M&&A){let Bn=function(_t,dt){var kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Me,xn=jt.x+_t,Ln=jt.y+dt,ar=xn+Nn,Jn=Ln+mn,ir=Math.max(xn,kt.left),pt=Math.max(Ln,kt.top),$t=Math.min(ar,kt.right),Rn=Math.min(Jn,kt.bottom);return Math.max(0,($t-ir)*(Rn-pt))},Dt=function(){he=jt.y+Et,ue=he+mn,pe=jt.x+xt,we=pe+Nn};var Ae,Ke,rt,Ve,Be=X,Zt=Be.ownerDocument,Tt=I(Be),tt=Tt.getComputedStyle(Be),Vt=tt.width,dn=tt.height,Pt=tt.position,ut=Be.style.left,Lt=Be.style.top,ln=Be.style.right,tn=Be.style.bottom,Qt=Be.style.overflow,_n=(0,P.Z)((0,P.Z)({},ve[se]),S),wt=Zt.createElement("div");(Ae=Be.parentElement)===null||Ae===void 0||Ae.appendChild(wt),wt.style.left="".concat(Be.offsetLeft,"px"),wt.style.top="".concat(Be.offsetTop,"px"),wt.style.position=Pt,wt.style.height="".concat(Be.offsetHeight,"px"),wt.style.width="".concat(Be.offsetWidth,"px"),Be.style.left="0",Be.style.top="0",Be.style.right="auto",Be.style.bottom="auto",Be.style.overflow="hidden";var ft;if(Array.isArray(M))ft={x:M[0],y:M[1],width:0,height:0};else{var vt,Gt,Cn=M.getBoundingClientRect();Cn.x=(vt=Cn.x)!==null&&vt!==void 0?vt:Cn.left,Cn.y=(Gt=Cn.y)!==null&&Gt!==void 0?Gt:Cn.top,ft={x:Cn.x,y:Cn.y,width:Cn.width,height:Cn.height}}var jt=Be.getBoundingClientRect();jt.x=(Ke=jt.x)!==null&&Ke!==void 0?Ke:jt.left,jt.y=(rt=jt.y)!==null&&rt!==void 0?rt:jt.top;var kn=Zt.documentElement,Wn=kn.clientWidth,sn=kn.clientHeight,gn=kn.scrollWidth,Pn=kn.scrollHeight,En=kn.scrollTop,On=kn.scrollLeft,mn=jt.height,Nn=jt.width,Dn=ft.height,In=ft.width,re={left:0,top:0,right:Wn,bottom:sn},G={left:-On,top:-En,right:gn-On,bottom:Pn-En},Ge=_n.htmlRegion,De="visible",Xe="visibleFirst";Ge!=="scroll"&&Ge!==Xe&&(Ge=De);var Je=Ge===Xe,ot=y(G,ee),nt=y(re,ee),Me=Ge===De?nt:ot,Ee=Je?nt:Me;Be.style.left="auto",Be.style.top="auto",Be.style.right="0",Be.style.bottom="0";var Ne=Be.getBoundingClientRect();Be.style.left=ut,Be.style.top=Lt,Be.style.right=ln,Be.style.bottom=tn,Be.style.overflow=Qt,(Ve=Be.parentElement)===null||Ve===void 0||Ve.removeChild(wt);var $e=n(Math.round(Nn/parseFloat(Vt)*1e3)/1e3),ct=n(Math.round(mn/parseFloat(dn)*1e3)/1e3);if($e===0||ct===0||(0,$.Sh)(M)&&!(0,g.Z)(M))return;var st=_n.offset,Ht=_n.targetOffset,qe=le(jt,st),He=(0,O.Z)(qe,2),Y=He[0],de=He[1],Ce=le(ft,Ht),fe=(0,O.Z)(Ce,2),ke=fe[0],be=fe[1];ft.x-=ke,ft.y-=be;var Te=_n.points||[],Ue=(0,O.Z)(Te,2),ht=Ue[0],lt=Ue[1],mt=xe(lt),gt=xe(ht),Nt=Le(ft,mt),It=Le(jt,gt),Ot=(0,P.Z)({},_n),xt=Nt.x-It.x+Y,Et=Nt.y-It.y+de,Yt=Bn(xt,Et),Qe=Bn(xt,Et,nt),We=Le(ft,["t","l"]),at=Le(jt,["t","l"]),qt=Le(ft,["b","r"]),un=Le(jt,["b","r"]),yn=_n.overflow||{},Sn=yn.adjustX,Z=yn.adjustY,ie=yn.shiftX,ne=yn.shiftY,ae=function(dt){return typeof dt=="boolean"?dt:dt>=0},he,ue,pe,we;Dt();var Re=ae(Z),te=gt[0]===mt[0];if(Re&>[0]==="t"&&(ue>Ee.bottom||q.current.bt)){var oe=Et;te?oe-=mn-Dn:oe=We.y-un.y-de;var _e=Bn(xt,oe),Oe=Bn(xt,oe,nt);_e>Yt||_e===Yt&&(!Je||Oe>=Qe)?(q.current.bt=!0,Et=oe,de=-de,Ot.points=[je(gt,0),je(mt,0)]):q.current.bt=!1}if(Re&>[0]==="b"&&(he<Ee.top||q.current.tb)){var Se=Et;te?Se+=mn-Dn:Se=qt.y-at.y-de;var et=Bn(xt,Se),Rt=Bn(xt,Se,nt);et>Yt||et===Yt&&(!Je||Rt>=Qe)?(q.current.tb=!0,Et=Se,de=-de,Ot.points=[je(gt,0),je(mt,0)]):q.current.tb=!1}var bt=ae(Sn),At=gt[1]===mt[1];if(bt&>[1]==="l"&&(we>Ee.right||q.current.rl)){var Ct=xt;At?Ct-=Nn-In:Ct=We.x-un.x-Y;var Kt=Bn(Ct,Et),nn=Bn(Ct,Et,nt);Kt>Yt||Kt===Yt&&(!Je||nn>=Qe)?(q.current.rl=!0,xt=Ct,Y=-Y,Ot.points=[je(gt,1),je(mt,1)]):q.current.rl=!1}if(bt&>[1]==="r"&&(pe<Ee.left||q.current.lr)){var St=xt;At?St+=Nn-In:St=qt.x-at.x-Y;var rn=Bn(St,Et),Jt=Bn(St,Et,nt);rn>Yt||rn===Yt&&(!Je||Jt>=Qe)?(q.current.lr=!0,xt=St,Y=-Y,Ot.points=[je(gt,1),je(mt,1)]):q.current.lr=!1}Dt();var Xt=ie===!0?0:ie;typeof Xt=="number"&&(pe<nt.left&&(xt-=pe-nt.left-Y,ft.x+In<nt.left+Xt&&(xt+=ft.x-nt.left+In-Xt)),we>nt.right&&(xt-=we-nt.right-Y,ft.x>nt.right-Xt&&(xt+=ft.x-nt.right+Xt)));var on=ne===!0?0:ne;typeof on=="number"&&(he<nt.top&&(Et-=he-nt.top-de,ft.y+Dn<nt.top+on&&(Et+=ft.y-nt.top+Dn-on)),ue>nt.bottom&&(Et-=ue-nt.bottom-de,ft.y>nt.bottom-on&&(Et+=ft.y-nt.bottom+on)));var pn=jt.x+xt,An=pn+Nn,en=jt.y+Et,cn=en+mn,Ut=ft.x,yt=Ut+In,Wt=ft.y,Ft=Wt+Dn,bn=Math.max(pn,Ut),fn=Math.min(An,yt),wn=(bn+fn)/2,zn=wn-pn,Xn=Math.max(en,Wt),$n=Math.min(cn,Ft),tr=(Xn+$n)/2,rr=tr-en;c==null||c(X,Ot);var Gn=Ne.right-jt.x-(xt+jt.width),an=Ne.bottom-jt.y-(Et+jt.height);$e===1&&(xt=Math.round(xt),Gn=Math.round(Gn)),ct===1&&(Et=Math.round(Et),an=Math.round(an));var Tn={ready:!0,offsetX:xt/$e,offsetY:Et/ct,offsetR:Gn/$e,offsetB:an/ct,arrowX:zn/$e,arrowY:rr/ct,scaleX:$e,scaleY:ct,align:Ot};W(Tn)}}),ze=function(){F.current+=1;var Ke=F.current;Promise.resolve().then(function(){F.current===Ke&&me()})},Fe=function(){W(function(Ke){return(0,P.Z)((0,P.Z)({},Ke),{},{ready:!1})})};return(0,t.Z)(Fe,[se]),(0,t.Z)(function(){A||Fe()},[A]),[T.ready,T.offsetX,T.offsetY,T.offsetR,T.offsetB,T.arrowX,T.arrowY,T.scaleX,T.scaleY,T.align,ze]}var zt=u(80702);function ye(A,X,M,se,ve){(0,t.Z)(function(){if(A&&X&&M){let F=function(){se(),ve()};var S=X,c=M,k=w(S),z=w(c),T=I(c),W=new Set([T].concat((0,zt.Z)(k),(0,zt.Z)(z)));return W.forEach(function(ee){ee.addEventListener("scroll",F,{passive:!0})}),T.addEventListener("resize",F,{passive:!0}),se(),function(){W.forEach(function(ee){ee.removeEventListener("scroll",F),T.removeEventListener("resize",F)})}}},[A,X,M])}var Ye=u(48736);function Mt(A,X,M,se,ve,S,c,k){var z=a.useRef(A);z.current=A;var T=a.useRef(!1);a.useEffect(function(){if(X&&se&&(!ve||S)){var F=function(){T.current=!1},ee=function(rt){var Ve;z.current&&!c(((Ve=rt.composedPath)===null||Ve===void 0||(Ve=Ve.call(rt))===null||Ve===void 0?void 0:Ve[0])||rt.target)&&!T.current&&k(!1)},q=I(se);q.addEventListener("pointerdown",F,!0),q.addEventListener("mousedown",ee,!0),q.addEventListener("contextmenu",ee,!0);var ce=(0,e.A)(M);if(ce&&(ce.addEventListener("mousedown",ee,!0),ce.addEventListener("contextmenu",ee,!0)),0)var me,ze,Fe,Ae;return function(){q.removeEventListener("pointerdown",F,!0),q.removeEventListener("mousedown",ee,!0),q.removeEventListener("contextmenu",ee,!0),ce&&(ce.removeEventListener("mousedown",ee,!0),ce.removeEventListener("contextmenu",ee,!0))}}},[X,M,se,ve,S]);function W(){T.current=!0}return W}var Ie=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Pe(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Q.Z,X=a.forwardRef(function(M,se){var ve=M.prefixCls,S=ve===void 0?"rc-trigger-popup":ve,c=M.children,k=M.action,z=k===void 0?"hover":k,T=M.showAction,W=M.hideAction,F=M.popupVisible,ee=M.defaultPopupVisible,q=M.onPopupVisibleChange,ce=M.afterPopupVisibleChange,me=M.mouseEnterDelay,ze=M.mouseLeaveDelay,Fe=ze===void 0?.1:ze,Ae=M.focusDelay,Ke=M.blurDelay,rt=M.mask,Ve=M.maskClosable,Be=Ve===void 0?!0:Ve,Zt=M.getPopupContainer,Tt=M.forceRender,tt=M.autoDestroy,Vt=M.destroyPopupOnHide,dn=M.popup,Pt=M.popupClassName,ut=M.popupStyle,Lt=M.popupPlacement,ln=M.builtinPlacements,tn=ln===void 0?{}:ln,Qt=M.popupAlign,_n=M.zIndex,wt=M.stretch,ft=M.getPopupClassNameFromAlign,vt=M.fresh,Gt=M.alignPoint,Cn=M.onPopupClick,jt=M.onPopupAlign,kn=M.arrow,Wn=M.popupMotion,sn=M.maskMotion,gn=M.popupTransitionName,Pn=M.popupAnimation,En=M.maskTransitionName,On=M.maskAnimation,mn=M.className,Nn=M.getTriggerDOMNode,Dn=(0,U.Z)(M,Ie),In=tt||Vt||!1,re=a.useState(!1),G=(0,O.Z)(re,2),Ge=G[0],De=G[1];(0,t.Z)(function(){De((0,r.Z)())},[]);var Xe=a.useRef({}),Je=a.useContext(J),ot=a.useMemo(function(){return{registerSubPopup:function($t,Rn){Xe.current[$t]=Rn,Je==null||Je.registerSubPopup($t,Rn)}}},[Je]),nt=(0,f.Z)(),Me=a.useState(null),Ee=(0,O.Z)(Me,2),Ne=Ee[0],$e=Ee[1],ct=a.useRef(null),st=(0,s.Z)(function(pt){ct.current=pt,(0,$.Sh)(pt)&&Ne!==pt&&$e(pt),Je==null||Je.registerSubPopup(nt,pt)}),Ht=a.useState(null),qe=(0,O.Z)(Ht,2),He=qe[0],Y=qe[1],de=a.useRef(null),Ce=(0,s.Z)(function(pt){(0,$.Sh)(pt)&&He!==pt&&(Y(pt),de.current=pt)}),fe=a.Children.only(c),ke=(fe==null?void 0:fe.props)||{},be={},Te=(0,s.Z)(function(pt){var $t,Rn,vn=He;return(vn==null?void 0:vn.contains(pt))||(($t=(0,e.A)(vn))===null||$t===void 0?void 0:$t.host)===pt||pt===vn||(Ne==null?void 0:Ne.contains(pt))||((Rn=(0,e.A)(Ne))===null||Rn===void 0?void 0:Rn.host)===pt||pt===Ne||Object.values(Xe.current).some(function(Zn){return(Zn==null?void 0:Zn.contains(pt))||pt===Zn})}),Ue=C(S,Wn,Pn,gn),ht=C(S,sn,On,En),lt=a.useState(ee||!1),mt=(0,O.Z)(lt,2),gt=mt[0],Nt=mt[1],It=F!=null?F:gt,Ot=(0,s.Z)(function(pt){F===void 0&&Nt(pt)});(0,t.Z)(function(){Nt(F||!1)},[F]);var xt=a.useRef(It);xt.current=It;var Et=a.useRef([]);Et.current=[];var Yt=(0,s.Z)(function(pt){var $t;Ot(pt),(($t=Et.current[Et.current.length-1])!==null&&$t!==void 0?$t:It)!==pt&&(Et.current.push(pt),q==null||q(pt))}),Qe=a.useRef(),We=function(){clearTimeout(Qe.current)},at=function($t){var Rn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;We(),Rn===0?Yt($t):Qe.current=setTimeout(function(){Yt($t)},Rn*1e3)};a.useEffect(function(){return We},[]);var qt=a.useState(!1),un=(0,O.Z)(qt,2),yn=un[0],Sn=un[1];(0,t.Z)(function(pt){(!pt||It)&&Sn(!0)},[It]);var Z=a.useState(null),ie=(0,O.Z)(Z,2),ne=ie[0],ae=ie[1],he=a.useState(null),ue=(0,O.Z)(he,2),pe=ue[0],we=ue[1],Re=function($t){we([$t.clientX,$t.clientY])},te=it(It,Ne,Gt&&pe!==null?pe:He,Lt,tn,Qt,jt),oe=(0,O.Z)(te,11),_e=oe[0],Oe=oe[1],Se=oe[2],et=oe[3],Rt=oe[4],bt=oe[5],At=oe[6],Ct=oe[7],Kt=oe[8],nn=oe[9],St=oe[10],rn=ge(Ge,z,T,W),Jt=(0,O.Z)(rn,2),Xt=Jt[0],on=Jt[1],pn=Xt.has("click"),An=on.has("click")||on.has("contextMenu"),en=(0,s.Z)(function(){yn||St()}),cn=function(){xt.current&&Gt&&An&&at(!1)};ye(It,He,Ne,en,cn),(0,t.Z)(function(){en()},[pe,Lt]),(0,t.Z)(function(){It&&!(tn!=null&&tn[Lt])&&en()},[JSON.stringify(Qt)]);var Ut=a.useMemo(function(){var pt=b(tn,S,nn,Gt);return p()(pt,ft==null?void 0:ft(nn))},[nn,ft,tn,S,Gt]);a.useImperativeHandle(se,function(){return{nativeElement:de.current,popupElement:ct.current,forceAlign:en}});var yt=a.useState(0),Wt=(0,O.Z)(yt,2),Ft=Wt[0],bn=Wt[1],fn=a.useState(0),wn=(0,O.Z)(fn,2),zn=wn[0],Xn=wn[1],$n=function(){if(wt&&He){var $t=He.getBoundingClientRect();bn($t.width),Xn($t.height)}},tr=function(){$n(),en()},rr=function($t){Sn(!1),St(),ce==null||ce($t)},Gn=function(){return new Promise(function($t){$n(),ae(function(){return $t})})};(0,t.Z)(function(){ne&&(St(),ne(),ae(null))},[ne]);function an(pt,$t,Rn,vn){be[pt]=function(Zn){var lr;vn==null||vn(Zn),at($t,Rn);for(var jn=arguments.length,ur=new Array(jn>1?jn-1:0),hr=1;hr<jn;hr++)ur[hr-1]=arguments[hr];(lr=ke[pt])===null||lr===void 0||lr.call.apply(lr,[ke,Zn].concat(ur))}}(pn||An)&&(be.onClick=function(pt){var $t;xt.current&&An?at(!1):!xt.current&&pn&&(Re(pt),at(!0));for(var Rn=arguments.length,vn=new Array(Rn>1?Rn-1:0),Zn=1;Zn<Rn;Zn++)vn[Zn-1]=arguments[Zn];($t=ke.onClick)===null||$t===void 0||$t.call.apply($t,[ke,pt].concat(vn))});var Tn=Mt(It,An,He,Ne,rt,Be,Te,at),Bn=Xt.has("hover"),Dt=on.has("hover"),_t,dt;Bn&&(an("onMouseEnter",!0,me,function(pt){Re(pt)}),an("onPointerEnter",!0,me,function(pt){Re(pt)}),_t=function($t){(It||yn)&&Ne!==null&&Ne!==void 0&&Ne.contains($t.target)&&at(!0,me)},Gt&&(be.onMouseMove=function(pt){var $t;($t=ke.onMouseMove)===null||$t===void 0||$t.call(ke,pt)})),Dt&&(an("onMouseLeave",!1,Fe),an("onPointerLeave",!1,Fe),dt=function(){at(!1,Fe)}),Xt.has("focus")&&an("onFocus",!0,Ae),on.has("focus")&&an("onBlur",!1,Ke),Xt.has("contextMenu")&&(be.onContextMenu=function(pt){var $t;xt.current&&on.has("contextMenu")?at(!1):(Re(pt),at(!0)),pt.preventDefault();for(var Rn=arguments.length,vn=new Array(Rn>1?Rn-1:0),Zn=1;Zn<Rn;Zn++)vn[Zn-1]=arguments[Zn];($t=ke.onContextMenu)===null||$t===void 0||$t.call.apply($t,[ke,pt].concat(vn))}),mn&&(be.className=p()(ke.className,mn));var kt=(0,P.Z)((0,P.Z)({},ke),be),xn={},Ln=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Ln.forEach(function(pt){Dn[pt]&&(xn[pt]=function(){for(var $t,Rn=arguments.length,vn=new Array(Rn),Zn=0;Zn<Rn;Zn++)vn[Zn]=arguments[Zn];($t=kt[pt])===null||$t===void 0||$t.call.apply($t,[kt].concat(vn)),Dn[pt].apply(Dn,vn)})});var ar=a.cloneElement(fe,(0,P.Z)((0,P.Z)({},kt),xn)),Jn={x:bt,y:At},ir=kn?(0,P.Z)({},kn!==!0?kn:{}):null;return a.createElement(a.Fragment,null,a.createElement(H.Z,{disabled:!It,ref:Ce,onResize:tr},a.createElement(L,{getTriggerDOMNode:Nn},ar)),a.createElement(J.Provider,{value:ot},a.createElement(N,{portal:A,ref:st,prefixCls:S,popup:dn,className:p()(Pt,Ut),style:ut,target:He,onMouseEnter:_t,onMouseLeave:dt,onPointerEnter:_t,zIndex:_n,open:It,keepDom:yn,fresh:vt,onClick:Cn,onPointerDownCapture:Tn,mask:rt,motion:Ue,maskMotion:ht,onVisibleChanged:rr,onPrepare:Gn,forceRender:Tt,autoDestroy:In,getPopupContainer:Zt,align:nn,arrow:ir,arrowPos:Jn,ready:_e,offsetX:Oe,offsetY:Se,offsetR:et,offsetB:Rt,onAlign:en,stretch:wt,targetWidth:Ft/Ct,targetHeight:zn/Kt})))});return X}var D=Pe(Q.Z)},8797:function(Bt,Ze,u){"use strict";var P=u(59301),O=u(93314),U=u(99571),Q=Object.defineProperty,V=Object.defineProperties,p=Object.getOwnPropertyDescriptors,H=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(a,o,m)=>o in a?Q(a,o,{enumerable:!0,configurable:!0,writable:!0,value:m}):a[o]=m,f=(a,o)=>{for(var m in o||(o={}))$.call(o,m)&&s(a,m,o[m]);if(H)for(var m of H(o))e.call(o,m)&&s(a,m,o[m]);return a},t=(a,o)=>V(a,p(o));const r=({img:a,buttonProps:o={},styles:m={},customText:x,ButtonText:E,ButtonClick:_,Buttonclass:v,ButtonTwo:d,imgStyles:l,loading:N=!1,className:R=""})=>P.createElement("section",{className:`tc animated fadeIn ${R}`,style:f({color:"#999",margin:"100px auto",visibility:N?"hidden":"visible"},m)},P.createElement("img",{src:a||O,style:t(f({},l),{pointerEvents:"none",userSelect:"none"})}),P.createElement("p",{className:"mt20 font14"},x||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),E&&P.createElement(U.ZP,f({className:v,onClick:_},o),E),d&&d);Ze.Z=r},23210:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return v}});var P=u(59301),O={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},U=u(99571),Q=u(70557),V=u(23954),p=u(25399),H=u(955),$=u(94941),e=u(8797),s=u(3294),f=u(19381),t=u(59301),r=Object.defineProperty,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,x=(d,l,N)=>l in d?r(d,l,{enumerable:!0,configurable:!0,writable:!0,value:N}):d[l]=N,E=(d,l)=>{for(var N in l||(l={}))o.call(l,N)&&x(d,N,l[N]);if(a)for(var N of a(l))m.call(l,N)&&x(d,N,l[N]);return d},_=(d,l,N)=>new Promise((R,L)=>{var j=ge=>{try{B(N.next(ge))}catch(g){L(g)}},J=ge=>{try{B(N.throw(ge))}catch(g){L(g)}},B=ge=>ge.done?R(ge.value):Promise.resolve(ge.value).then(j,J);B((N=N.apply(d,l)).next())}),v=({editOffice:d="view",data:l,theme:N,type:R,filename:L,monacoEditor:j,className:J,style:B,close:ge,onClose:g,hasMask:h,disabledDownload:b,onImgDimensions:C,showNodata:I,recordInfo:w})=>{const[n,i]=(0,P.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[y,K]=(0,P.useState)(""),[le,xe]=(0,P.useState)(),Le=window.ENV==="build"?"/react/build":"",je=location.host.startsWith("localhost")?s.Z.PROXY_SERVER:s.Z.API_SERVER,zt=10*(1024*1024),ye=(0,P.useRef)();l!=null&&l.startsWith("/api")&&R!=="txt"&&(l=s.Z.API_SERVER+l);const Ye=D=>D.substring(D.lastIndexOf("/")+1).split(".").pop();L&&j&&(j.filename=L),(0,P.useEffect)(()=>{var D,A;const X=(A=(D=document.cookie)==null?void 0:D.replace(/\s/g,""))==null?void 0:A.split(";");X==null||X.map(M=>{let se=M.split("=");se[0]==="_educoder_session"&&K(se[1])})},[]),(0,P.useEffect)(()=>{R==="office"&&(l.indexOf("bigfilescdn.")>-1||l.indexOf("bigfiles1")>-1?xe({url:l,fileType:Ye(l),model:l.indexOf("model=edit")?"edit":"view"}):Mt())},[R,l]);const Mt=()=>_(void 0,null,function*(){console.log("data:",l);let D=l;l.startsWith("http")||(D=location.origin+D);let A=new URL(D).pathname.split("/").pop();const X=yield(0,$.gJ)({attachment_id:A});X.url=je+X.url,xe(X)}),Ie=()=>{if(l.startsWith("http")||l.startsWith("blob:")){Pe();return}(0,H.Sv)(L||"educoder",l,L)},Pe=()=>{w&&(0,f.fc)({id:w==null?void 0:w.id,watch_type:1,course_id:w==null?void 0:w.course_id}),(0,H.Nd)(L||"educoder",decodeURIComponent(l))};return t.createElement("div",{style:E({},B||{}),className:`${h&&O.bgBlack} ${R?O.wrp:"hide"}`},ge&&t.createElement("div",{className:O.close,ref:ye},!!C&&t.createElement(p.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>ye.current},t.createElement("span",{onClick:()=>{g(),C()}},t.createElement("i",{className:"icon-yulanpizhu"}))),!b&&t.createElement(p.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>ye.current},t.createElement("span",{onClick:Pe},t.createElement("i",{className:"icon-quxiaozhiding"}))),t.createElement(p.Z,{title:"\u5173\u95ED",getPopupContainer:()=>ye.current},t.createElement("span",{className:"",onClick:g},t.createElement("i",{className:"icon-guanbi1"})))),t.createElement("div",{className:`${O[J]} ${J} ${O.monaco} ${R==="txt"?"show":"hide"}`},R==="txt"&&t.createElement(t.Fragment,null,t.createElement(V.ZP,E({},j)))),R==="audio"&&t.createElement("audio",{src:`${(l==null?void 0:l.indexOf("http://"))>-1||(l==null?void 0:l.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${l}`,autoPlay:!0}),R==="video"&&t.createElement(t.Fragment,null,(l==null?void 0:l.indexOf("http"))>-1?t.createElement("video",{controls:!0,src:`${l}`,autoPlay:!0}):t.createElement("video",{controls:!0,src:`data:video/mp4;base64,${l}`,autoPlay:!0})),R==="office"&&le&&t.createElement("iframe",{src:`${Le}/office.html?key=${le.key}&url=${btoa(le.url)}&callbackUrl=${je+(le.callbackUrl||"")}&fileType=${le.fileType}&title=${le.title||""}&model=${d}&officeServer=${s.Z.ONLYOFFICE}&disabledDownload=${!!b}`}),R==="html"&&t.createElement("iframe",{src:l+"&disposition=inline"}),R==="pdf"&&t.createElement("iframe",{src:`${Le}/js/pdfview/index.html?filename=${L||"educoder.pdf"}&url=${encodeURIComponent(l)}&disabledDownload=${!!b}`}),R==="image"&&t.createElement("img",{src:`${(l==null?void 0:l.indexOf("http://"))>-1||(l==null?void 0:l.indexOf("https://"))>-1?"":"data:image/png;base64,"}${l}`}),(R==="other"||R==="download")&&t.createElement(t.Fragment,null,I?t.createElement(e.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:t.createElement(U.ZP,{icon:t.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Ie,disabled:b},"\u4E0B\u8F7D")}):t.createElement(U.ZP,{type:"primary",size:"middle",onClick:Ie,disabled:b},t.createElement(Q.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},23954:function(Bt,Ze,u){"use strict";u.d(Ze,{SV:function(){return S},ZP:function(){return ve}});var P=u(59301),O=u(76374);const U={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},Q={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},V={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
`)}]},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(`
|
|
`)}]},H={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
`)}]};var $=u(53184),e=u.n($),s=Object.defineProperty,f=Object.defineProperties,t=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,m=(c,k,z)=>k in c?s(c,k,{enumerable:!0,configurable:!0,writable:!0,value:z}):c[k]=z,x=(c,k)=>{for(var z in k||(k={}))a.call(k,z)&&m(c,z,k[z]);if(r)for(var z of r(k))o.call(k,z)&&m(c,z,k[z]);return c},E=(c,k)=>f(c,t(k)),_=(c,k,z)=>new Promise((T,W)=>{var F=ce=>{try{q(z.next(ce))}catch(me){W(me)}},ee=ce=>{try{q(z.throw(ce))}catch(me){W(me)}},q=ce=>ce.done?T(ce.value):Promise.resolve(ce.value).then(F,ee);q((z=z.apply(c,k)).next())});const v={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"]}},d=(c,k)=>k.map(z=>({label:z,kind:c.languages.CompletionItemKind.Keyword,insertText:z})),l=c=>Object.keys(v.tables).map(k=>({label:k,kind:c.languages.CompletionItemKind.Variable,insertText:k})),N=(c,k)=>{const z=v.tables[c];return z?z.map(T=>({label:T,kind:k.languages.CompletionItemKind.Field,insertText:T})):[]};function R(c,k,z,T,W){let F=k.getWordUntilPosition(z),ee={startLineNumber:z.lineNumber,endLineNumber:z.lineNumber,startColumn:F.startColumn,endColumn:F.endColumn},q=T.map(ce=>({label:ce,kind:c.languages.CompletionItemKind.Keyword,insertText:ce,insertTextRules:c.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ee}));return W.map(ce=>{q.push(E(x({},ce),{range:ee}))}),q}var L=c=>{v.languages.map(W=>(c.languages.registerDocumentFormattingEditProvider(W,{provideDocumentFormattingEdits(F,ee,q){return _(this,null,function*(){const ce=e()(F.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:F.getFullModelRange(),text:ce}]})}}),W));const k=V.quickKey.map(W=>({label:W.label,kind:c.languages.CompletionItemKind.Method,insertText:W.content,insertTextRules:c.languages.CompletionItemInsertTextRule.InsertAsSnippet})),z=p.quickKey.map(W=>({label:W.label,kind:c.languages.CompletionItemKind.Method,insertText:W.content,insertTextRules:c.languages.CompletionItemInsertTextRule.InsertAsSnippet})),T=Q.quickKey.map(W=>({label:W.label,kind:c.languages.CompletionItemKind.Method,insertText:W.content,insertTextRules:c.languages.CompletionItemInsertTextRule.InsertAsSnippet}));c.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(W,F){var ee=W.getWordUntilPosition(F),q={startLineNumber:F.lineNumber,endLineNumber:F.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},ce=W.getLineContent(F.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...V.keywords.map(me=>({label:me,kind:c.languages.CompletionItemKind.Function,documentation:me,insertText:me,insertTextRules:c.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q})),...V.quickKey.map(me=>({label:me.label,kind:c.languages.CompletionItemKind.Function,documentation:me.content,insertText:ce.startsWith("#")?me.content.replace(/#/,""):me.content,insertTextRules:c.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q}))]}}}),c.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(W,F){var ee=W.getWordUntilPosition(F),q={startLineNumber:F.lineNumber,endLineNumber:F.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn};return{suggestions:[...U.keywords.map(ce=>({label:ce,kind:c.languages.CompletionItemKind.Function,documentation:ce,insertText:ce,insertTextRules:c.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q}))]}}}),c.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(W,F){var ee=W.getWordUntilPosition(F),q={startLineNumber:F.lineNumber,endLineNumber:F.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},ce=W.getLineContent(F.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...Q.keywords.map(me=>({label:me,kind:c.languages.CompletionItemKind.Function,documentation:me,insertText:me,insertTextRules:c.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q})),...Q.quickKey.map(me=>({label:me.label,kind:c.languages.CompletionItemKind.Function,documentation:me.content,insertText:ce.startsWith("#")?me.content.replace(/#/,""):me.content,insertTextRules:c.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q}))]}}}),c.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(W,F){var ee=W.getWordUntilPosition(F),q={startLineNumber:F.lineNumber,endLineNumber:F.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},ce=W.getLineContent(F.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...H.keywords.map(me=>({label:me,kind:c.languages.CompletionItemKind.Function,documentation:me,insertText:me,insertTextRules:c.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q})),...H.quickKey.map(me=>({label:me.label,kind:c.languages.CompletionItemKind.Function,documentation:me.content,insertText:ce.startsWith("#")?me.content.replace(/#/,""):me.content,insertTextRules:c.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q}))]}}}),c.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(W,F){var ee=W.getWordUntilPosition(F),q={startLineNumber:F.lineNumber,endLineNumber:F.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},ce=W.getLineContent(F.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...p.keywords.map(me=>({label:me,kind:c.languages.CompletionItemKind.Function,documentation:me,insertText:me,insertTextRules:c.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q})),...p.quickKey.map(me=>({label:me.label,kind:c.languages.CompletionItemKind.Function,documentation:me.content,insertText:ce.startsWith("#")?me.content.replace(/#/,""):me.content,insertTextRules:c.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q}))]}}})};const j="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var J=Object.defineProperty,B=(c,k,z)=>k in c?J(c,k,{enumerable:!0,configurable:!0,writable:!0,value:z}):c[k]=z,ge=(c,k,z)=>B(c,typeof k!="symbol"?k+"":k,z);const g=class yi{constructor(k,z,T){this.placeholder=k,this.editor=z,this.monaco=T,z.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return yi.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};ge(g,"ID","editor.widget.placeholderHint");var b=g,C=u(96236),I=u(6767),w=u(25399),n=u(89392),i=u(34604),y=u(56102),K=Object.defineProperty,le=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,it=Object.prototype.propertyIsEnumerable,zt=(c,k,z)=>k in c?K(c,k,{enumerable:!0,configurable:!0,writable:!0,value:z}):c[k]=z,ye=(c,k)=>{for(var z in k||(k={}))je.call(k,z)&&zt(c,z,k[z]);if(Le)for(var z of Le(k))it.call(k,z)&&zt(c,z,k[z]);return c},Ye=(c,k)=>le(c,xe(k)),Mt=(c,k)=>{var z={};for(var T in c)je.call(c,T)&&k.indexOf(T)<0&&(z[T]=c[T]);if(c!=null&&Le)for(var T of Le(c))k.indexOf(T)<0&&it.call(c,T)&&(z[T]=c[T]);return z},Ie=(c,k,z)=>new Promise((T,W)=>{var F=ce=>{try{q(z.next(ce))}catch(me){W(me)}},ee=ce=>{try{q(z.throw(ce))}catch(me){W(me)}},q=ce=>ce.done?T(ce.value):Promise.resolve(ce.value).then(F,ee);q((z=z.apply(c,k)).next())});function Pe(c){return/^\d+$/.test(c)?`${c}px`:c}function D(){}let A=!1;const X={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function M(c=[]){let k=c;if(Array.isArray(c)){for(let z=0;z<c.length;z++){let T=X[c[z]];if(T)return T}return k[0]}return X[k]||k}let se=null;var ve=c=>{var k=c,{width:z="100%",height:T="100%",value:W,language:F="javascript",style:ee={},options:q={},overrideServices:ce={},theme:me="vs-dark",onEditBlur:ze,isCopy:Fe=!1,onSave:Ae,autoHeight:Ke=!1,forbidCopy:rt=!1,onChange:Ve=D,editorDidMount:Be=D,onFocus:Zt=D,onBreakPoint:Tt=D,breakPointValue:tt=[],filename:Vt="educoder.txt",errorLine:dn,errorContent:Pt="",highlightLine:ut,openBreakPoint:Lt=!1,placeholder:ln="",showMiniMap:tn=!0}=k,Qt=Mt(k,["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 _n=(0,P.useRef)(),wt=(0,P.useRef)({}),ft=(0,P.useRef)(),vt=(0,P.useRef)(),Gt=(0,P.useRef)([]),Cn=(0,P.useRef)(!1),jt=(0,P.useRef)(),kn=(0,P.useRef)(),Wn=(0,P.useRef)(!1),[sn,gn]=(0,P.useState)(!1);function Pn(){let Me;return _n.current&&(Me=new O.Z(Ee=>{for(let Ne of Ee)(Ne.target.offsetHeight>0||Ne.target.offsetWidth>0)&&wt.current.instance.layout()}),Me.observe(_n.current)),Me}function En(){I.ZP.warning({content:decodeURIComponent(j),key:"monaco-editor-tip"})}const On=()=>{let Me=wt.current.instance;if(W!=null&&Me&&sn){const Ee=Me.getModel();Ee&&W!==Ee.getValue()&&(A=!0,Ee.setValue(W),Me.layout(),A=!1)}};(0,P.useEffect)(()=>{const Me=i.Z.subscribe("formatDocument",Ee=>{var Ne;let $e=wt.current.instance;(Ne=$e==null?void 0:$e.getAction)==null||Ne.call($e,"editor.action.formatDocument").run()});return window.updateMonacoValue=Ee=>{Ve(Ee)},Me},[]),(0,P.useEffect)(()=>{var Me;let Ee=wt.current.instance;vt.current&&clearTimeout(vt.current),vt.current=setTimeout(()=>{On()},500),W&&(W!=null&&W.length)&&((Me=Ee==null?void 0:Ee.updateOptions)==null||Me.call(Ee,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(W.split(/\r\n|\r|\n/g).length))+3,5)}))},[W,sn,wt.current]),(0,P.useEffect)(()=>{if(dn&&wt.current&&wt.current.instance){let Ee=wt.current.instance;Ee.changeViewZones(function(Ne){var $e=document.createElement("div");$e.style.padding="10px 20px",$e.style.width="calc(100% - 20px)",$e.className="my-error-line-wrp",$e.innerHTML=Pt,Ne.addZone({afterLineNumber:dn||11,heightInLines:3,domNode:$e})});var Me={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}};Ee.addOverlayWidget(Me),Ee.revealPositionInCenter({lineNumber:20,column:1})}},[dn,wt.current,sn]);const mn=(Me="",Ee)=>{if(!Me||Me.trim()==="")return!0;const $e=wt.current.instance.getModel().getLineTokens(Ee);let ct=!1;for(let st=0;st<2;st++)$e.getStandardTokenType(st)===1&&(ct=!0);return ct};(0,P.useEffect)(()=>{var Me;const Ee=(Me=wt.current)==null?void 0:Me.instance;if(Ee&&sn&&rt){const Ne=Ee.onDidBlurEditorWidget(()=>{Wn.current=!1}),$e=Ee.onDidFocusEditorText(()=>{Wn.current=!0});return()=>{Ne.dispose(),$e.dispose()}}},[wt.current,sn,rt]),(0,P.useEffect)(()=>{var Me;if((Me=wt.current)!=null&&Me.instance&&sn&&Lt){let Ee=wt.current.instance,Ne=Ee.getModel();if(!Ne)return;(()=>{var be;let Te=[],Ue=[];const ht=Ne.getAllDecorations();for(let mt of ht)mt.options.className==="highlighted-line"&&(Te.push((be=mt==null?void 0:mt.range)==null?void 0:be.startLineNumber),Ue.push(mt==null?void 0:mt.id));if(ut===Te[0])return;Ne.deltaDecorations(Ue,[]);const lt=Ne.getLineCount();ut&&ut<=lt&&(Ee.deltaDecorations([],[{range:new se.Range(ut,1,ut,Ne.getLineMaxColumn(ut)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Ee.revealLineInCenter(ut))})();const ct=(be=!1)=>{var Te;let Ue=[],ht=[];const lt=Ne.getAllDecorations();for(let mt of lt)mt.options.linesDecorationsClassName==="breakpoints-select"&&(Ue.push((Te=mt==null?void 0:mt.range)==null?void 0:Te.startLineNumber),ht.push(mt==null?void 0:mt.id));if(be)return{lines:Ue,ids:ht};Tt(Ue)},st=be=>Ie(void 0,null,function*(){let Te={range:new se.Range(be,1,be,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Ne.deltaDecorations([],[Te]),ct()}),Ht=be=>Ie(void 0,null,function*(){let Te=[];const Ue=Ee.getLineDecorations(be);for(let ht of Ue)ht.options.linesDecorationsClassName==="breakpoints-select"&&Te.push(ht.id);yield Ne.deltaDecorations(Te,[]),ct()}),qe=be=>{let Te=Ee.getLineDecorations(be);for(let Ue of Te)if(Ue.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,n.isEqual)(tt,ct(!0).lines)){Ne.deltaDecorations(ct(!0).ids,[]);const be=tt.map(Te=>({range:new se.Range(Te,1,Te,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Ne.deltaDecorations([],be)}const He=Ee.onDidChangeModelContent(be=>{let Te=Ee.getPosition();if(Te){let Ue=Te.lineNumber;clearTimeout(kn.current),kn.current=setTimeout(()=>{mn(Ne.getLineContent(Ue),Ue)?Ht(Ue):qe(Ue)?(Ht(Ue),st(Ue)):ct()},100)}}),Y=Ee.onMouseDown(be=>{var Te,Ue,ht;if(be.target.detail&&((ht=(Ue=(Te=be.target)==null?void 0:Te.element)==null?void 0:Ue.className)!=null&&ht.includes("line-numbers"))){let lt=be.target.position.lineNumber;if(mn(Ne.getLineContent(lt),lt))return;qe(lt)?Ht(lt):st(lt)}}),de=be=>{let Te={range:new se.Range(be,1,be,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Gt.current=Ee.deltaDecorations(Gt.current,[Te])},Ce=()=>{Gt.current=Ee.deltaDecorations(Gt.current,[])},fe=Ee.onMouseMove(be=>{var Te,Ue,ht;if(Ce(),be.target.detail&&((ht=(Ue=(Te=be.target)==null?void 0:Te.element)==null?void 0:Ue.className)!=null&&ht.includes("line-numbers"))){let lt=be.target.position.lineNumber;if(mn(Ne.getLineContent(lt),lt))return;de(lt)}}),ke=Ee.onMouseLeave(()=>{Ce()});return()=>{He.dispose(),Y.dispose(),fe.dispose(),ke.dispose()}}},[wt.current,sn,tt,ut,Lt,F]),(0,P.useEffect)(()=>{var Me;(Me=wt.current)!=null&&Me.instance&&Lt&&wt.current.instance.setPosition({lineNumber:0,column:0})},[ut]);function Nn(){let Me=wt.current.instance;if(Me){const Ee=Me.getSelection(),Ne=wt.current.pastePos||{},$e=new se.Range(Ne.startLineNumber||Ee.endLineNumber,Ne.startColumn||Ee.endColumn,Ne.endLineNumber||Ee.endLineNumber,Ne.endColumn||Ee.endColumn);setTimeout(()=>{Me.executeEdits("",[{range:$e,text:""}])},300)}}function Dn(Me){(window.navigator.platform.match("Mac")?Me.metaKey:Me.ctrlKey)&&Me.keyCode==83&&(Me.preventDefault(),Ae())}const In=()=>{if(Ke&&wt.current.instance){const Me=wt.current.instance.getContentHeight();ot(Me<T?T:Me)}else ot(T)};function re(Me){var Ee=document.createEvent("MouseEvents");Ee.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Me.dispatchEvent(Ee)}const G=Me=>{if(!Wn.current)return;const{keyCode:Ee,ctrlKey:Ne,metaKey:$e,target:ct,type:st}=Me;return(st==="paste"||(Ee===67||Ee===86)&&($e||Ne))&&ct.nodeName==="TEXTAREA"&&(En(),Me.preventDefault()),!1};function Ge(Me,Ee){var Ne=window.URL||window.webkitURL||window,$e=new Blob([Ee]),ct=document.createElementNS("http://www.w3.org/1999/xhtml","a");ct.href=Ne.createObjectURL($e),ct.download=Me,re(ct)}(0,P.useEffect)(()=>{In()},[In]),(0,P.useEffect)(()=>{_n.current&&!sn&&Promise.all([u.e(8909),u.e(3267)]).then(u.bind(u,71448)).then(Me=>{try{se=Me,wt.current.instance=se.editor.create(_n.current,{value:W,language:M(F),theme:me,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:tn||!1}},ce);const Ee=wt.current.instance;let ct=[...C.BH._menuItems].find(He=>He[0]._debugName=="EditorContext")[1],st=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Ht=(He,Y)=>{var de,Ce;let fe=He._first;do Y.includes((Ce=(de=fe.element)==null?void 0:de.command)==null?void 0:Ce.id)&&He._remove(fe);while(fe=fe.next)};if(Be(Ee,se),setTimeout(()=>{In(),wt.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Ge(Vt||"educoder.txt",Ee.getValue())}})},500),wt.current.subscription=Ee.onDidChangeModelContent(He=>{Cn.current?clearTimeout(jt.current):(In(),Ve(Ee.getValue(),He)),jt.current=setTimeout(()=>{Cn.current=!1},500)}),window.Monaco||L(se,M(F)),rt&&(Ht(ct,st),_n.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",G),window.removeEventListener("paste",G),window.addEventListener("keydown",G),window.addEventListener("paste",G)),window.Monaco=se,ze&&Ee.onDidBlurEditorWidget(()=>{ze(Ee.getValue())}),Zt&&Ee.onDidFocusEditorText(()=>{Zt(Ee.getValue())}),rt)try{Ee.onDidPaste(He=>{const Y=Ee.getSelection(),de=wt.current.pastePos||{},Ce=new se.Range(de.startLineNumber||Y.endLineNumber,de.startColumn||Y.endColumn,de.endLineNumber||Y.endLineNumber,de.endColumn||Y.endColumn);Ee.executeEdits("",[{range:He.range,text:""}])})}catch(He){}let qe=Pn();return ln&&typeof ln=="string"&&new b(ln,Ee,se),gn(!0),()=>{const He=wt.current.instance;He.dispose();const Y=He.getModel();Y&&Y.dispose(),wt.current.subscription&&wt.current.subscription.dispose(),qe.unobserve(_n.current)}}catch(Ee){}})},[]),(0,P.useEffect)(()=>{if(wt.current.instance&&sn)return document.addEventListener("keydown",Dn,!1),()=>{document.removeEventListener("keydown",Dn)}},[Ae,sn]),(0,P.useEffect)(()=>{let Me=wt.current.instance;if(Me&&sn){let Ee=M(F);se.editor.setModelLanguage(Me.getModel(),Ee)}},[F,sn]),(0,P.useEffect)(()=>{wt.current.instance&&sn&&se.editor.setTheme(me)},[me,sn]),(0,P.useEffect)(()=>{let Me=wt.current.instance;ft.current=q,Me&&sn&&(Me.updateOptions(ye({},q)),setTimeout(()=>{Me.getModel().updateOptions(ye({},q))},200))},[JSON.stringify(q),sn]),(0,P.useEffect)(()=>{let Me=wt.current.instance;Me&&sn&&Me.layout()},[z,T,sn]);const[De,Xe]=(0,P.useState)(Pe(z)),[Je,ot]=(0,P.useState)(Pe(T)),nt=Ye(ye({},ee),{width:De,height:Je,position:"relative"});return P.createElement("div",{className:"my-monaco-editor",ref:_n,style:nt},Fe&&P.createElement(y.CopyToClipboard,{text:W,onCopy:()=>I.ZP.success("\u590D\u5236\u6210\u529F")},P.createElement(w.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 S({width:c="100%",height:k="100%",original:z,modified:T,language:W,options:F={}}){const ee=(0,P.useRef)(),[q,ce]=(0,P.useState)(null);function me(Ke){let rt;return ee.current&&(rt=new O.Z(Ve=>{for(let Be of Ve)(Be.target.offsetHeight>0||Be.target.offsetWidth>0)&&Ke.layout()}),rt.observe(ee.current)),rt}(0,P.useEffect)(()=>(ee.current&&Promise.all([u.e(8909),u.e(9404)]).then(u.bind(u,2550)).then(Ke=>{se=Ke;const rt=se.editor.createDiffEditor(ee.current,Ye(ye({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},F),{wordWrap:!0}));ce(rt);let Ve=me(rt);return()=>{rt.dispose();const Be=rt.getModel();Be&&Be.dispose(),Ve.unobserve(ee.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,P.useEffect)(()=>{q&&q.setModel({original:se.editor.createModel(z,W),modified:se.editor.createModel(T,W)})},[z,T,W,q]);const ze=Pe(c),Fe=Pe(k),Ae={width:ze,height:Fe};return P.createElement("div",{className:"my-diff-editor",ref:ee,style:Ae})}},3681:function(Bt,Ze,u){"use strict";u.r(Ze),u.d(Ze,{default:function(){return J}});var P=u(59301),O={flex_box_center:"flex_box_center___3dsSw",flex_space_between:"flex_space_between___UViQa",flex_box_vertical_center:"flex_box_vertical_center___VRHmE",flex_box_center_end:"flex_box_center_end___Sap6p",flex_box_column:"flex_box_column___cXZm0",wrap:"wrap___JbEle",title:"title___PD779",control:"control___xPMqa",label:"label___JqmpT",customTable:"customTable___YjprJ"},U=u(89070),Q=u(6767),V=u(25399),p=u(62957),H=u(82326),$=u(99571),e=u(54172),s=u(87169),f=u(78297),t=u(99064),r=u(65576),a=u(99309),o=u(23210),m=Object.defineProperty,x=Object.defineProperties,E=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,l=(B,ge,g)=>ge in B?m(B,ge,{enumerable:!0,configurable:!0,writable:!0,value:g}):B[ge]=g,N=(B,ge)=>{for(var g in ge||(ge={}))v.call(ge,g)&&l(B,g,ge[g]);if(_)for(var g of _(ge))d.call(ge,g)&&l(B,g,ge[g]);return B},R=(B,ge)=>x(B,E(ge)),L=(B,ge,g)=>new Promise((h,b)=>{var C=n=>{try{w(g.next(n))}catch(i){b(i)}},I=n=>{try{w(g.throw(n))}catch(i){b(i)}},w=n=>n.done?h(n.value):Promise.resolve(n.value).then(C,I);w((g=g.apply(B,ge)).next())});const j=({user:B})=>{var ge;const g={page:1,per_page:20,total:0,ec_major_school_id:0,ec_year_id:0,category:1,sort_by:null,sort_direction:null,school_id:null};let[h,b]=(0,P.useState)(g);const[C,I]=(0,P.useState)(!0),[w,n]=(0,P.useState)([]),[i,y]=(0,P.useState)([]),[K,le]=(0,P.useState)([]),[xe,Le]=(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}}}),je=Ie=>L(void 0,null,function*(){var Pe;I(!0),Ie.school_id=(Pe=B==null?void 0:B.userInfo)==null?void 0:Pe.school_id;let D=yield(0,t.ZP)(`/api/ec_major_schools/${(Ie==null?void 0:Ie.ec_major_school_id)||0}/ec_years.json`,{method:"get",params:R(N({},Ie),{year:(Ie==null?void 0:Ie.ec_year_id)===0?null:Ie==null?void 0:Ie.ec_year_id,ec_year_id:((Ie==null?void 0:Ie.ec_year_id)===0,null)})});D&&(n(D==null?void 0:D.ec_years),I(!1),h.total=D==null?void 0:D.count,b(N({},h)))});(0,P.useEffect)(()=>{var Ie;(Ie=B.userInfo)!=null&&Ie.school_id&&(it(),zt(),je(h))},[(ge=B==null?void 0:B.userInfo)==null?void 0:ge.school_id]);function it(){return L(this,null,function*(){var Ie;let Pe=yield(0,t.ZP)(`/api/schools/${(Ie=B==null?void 0:B.userInfo)==null?void 0:Ie.school_id}/ec_majors/get_major_list.json`,{method:"get"});y(Pe==null?void 0:Pe.data)})}function zt(){return L(this,null,function*(){let Ie=yield(0,t.ZP)("/api/ec_major_schools/1/ec_years/select_year.json",{method:"get"});le(Ie==null?void 0:Ie.year_arr)})}const ye=(Ie,Pe)=>{h.page=1,h[Pe]=typeof Ie=="number"?Ie:null,b(N({},h)),je(h)},Ye=(Ie,Pe,D)=>{h.page=Ie==null?void 0:Ie.current,h.per_page=Ie==null?void 0:Ie.pageSize,D!=null&&D.order?(h.sort_by=D==null?void 0:D.field,h.sort_direction=(D==null?void 0:D.order)==="ascend"?"asc":"desc"):(h.sort_by=null,h.sort_direction=null),b(N({},h)),je(h)},Mt=[{title:"\u5E8F\u53F7",dataIndex:"index",width:54,render:(Ie,Pe,D)=>h.per_page*(h.page-1)+D+1},{title:"\u57F9\u517B\u65B9\u6848",dataIndex:"name",width:"17%",ellipsis:!0,key:"name",render:(Ie,Pe,D)=>P.createElement(U.Link,{to:`/engineering/training/program/edit?ec_year_id=${Pe==null?void 0:Pe.id}`},Ie)},{title:"\u57F9\u517B\u65B9\u6848\u6587\u4EF6",dataIndex:"file_name",width:"10%",ellipsis:!0,key:"name",render:(Ie,Pe,D)=>P.createElement("a",{onClick:()=>{if(["xlsx","docx","pptx"].includes(Pe==null?void 0:Pe.type))xe.editOffice="edit",Le(R(N({},xe),{type:Pe.file_type,data:`/api/attachments/${Pe.attachment_id}`}));else{Q.ZP.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}}},Ie||"- -")},{title:"\u5C4A\u522B",width:"5%",dataIndex:"year",render:(Ie,Pe,D)=>Ie+"\u5C4A"},{title:"\u57F9\u517B\u76EE\u6807\uFF08\u9879\uFF09",width:"8%",dataIndex:"training_subitem_count",render:(Ie,Pe,D)=>Ie||P.createElement("a",{href:`/engineering/training/objectives?ids=${Pe==null?void 0:Pe.ec_major_school_id},${Pe==null?void 0:Pe.id}`},"\u8BBE\u7F6E")},{title:"\u6BD5\u4E1A\u8981\u6C42\uFF08\u9879\uFF09",width:"8%",dataIndex:"graduation_requirement_count",render:(Ie,Pe,D)=>Ie||P.createElement("a",{href:`/engineering/graduated/index?ec_major_school_id=${Pe==null?void 0:Pe.ec_major_school_id}&ec_year_id=${Pe==null?void 0:Pe.id}`},"\u8BBE\u7F6E")},{title:"\u6388\u8BFE\u6559\u5E08/\u5B66\u751F\uFF08\u4EBA\uFF09",width:"10%",dataIndex:"teacher_count",render:(Ie,Pe,D)=>Ie+"/"+(Pe==null?void 0:Pe.student_count)},{title:"\u8BFE\u7A0B\uFF08\u95E8\uFF09",width:"7%",dataIndex:"course_count",render:(Ie,Pe,D)=>Ie||P.createElement("a",{href:`/engineering/course/list?ec_major_school_id=${Pe==null?void 0:Pe.ec_major_school_id}&ec_year_id=${Pe==null?void 0:Pe.id}`},"\u8BBE\u7F6E")},{title:"\u8BFE\u7A0B\u8FBE\u6210\u5EA6",width:"9%",dataIndex:"achieved_graduation_course_count",render:(Ie,Pe,D)=>P.createElement(V.Z,{title:`\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\uFF1A${Ie} / \u8BFE\u7A0B\u603B\u6570\uFF1A${Pe==null?void 0:Pe.course_count}`},P.createElement("span",{style:{color:Pe!=null&&Pe.course_count?parseInt(Ie)===parseInt(Pe==null?void 0:Pe.course_count)?"#07C160":"#E30000":""}},Pe!=null&&Pe.course_count?Ie+"/"+(Pe==null?void 0:Pe.course_count):"- -"))},{title:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u5EA6",width:"8%",dataIndex:"achieved_graduation_objective_count",render:(Ie,Pe,D)=>P.createElement(V.Z,{title:`\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42\u6570\uFF1A${Ie} / \u6BD5\u4E1A\u8981\u6C42\u603B\u6570\uFF1A${Pe==null?void 0:Pe.graduation_requirement_count}`},P.createElement("span",{style:{color:Pe!=null&&Pe.graduation_requirement_count?parseInt(Ie)===parseInt(Pe==null?void 0:Pe.graduation_requirement_count)?"#07C160":"#E30000":""}},Pe!=null&&Pe.graduation_requirement_count?Ie+"/"+(Pe==null?void 0:Pe.graduation_requirement_count):"- -"))},{title:"\u8BC4\u4EF7\u7ED3\u679C",width:"7%",dataIndex:"status",render:(Ie,Pe,D)=>P.createElement("span",{style:{color:Ie==="achieved"?"#E30000":"#07C160"}},Ie==="achieved"?"\u672A\u8FBE\u6210":"\u8FBE\u6210")},{title:"\u64CD\u4F5C",dataIndex:"id",width:64,render:(Ie,Pe,D)=>P.createElement("div",{style:{display:"flex"}},P.createElement("i",{onClick:()=>L(void 0,null,function*(){U.history.push(`/engineering/training/program/edit?ec_year_id=${Pe==null?void 0:Pe.id}`)}),style:{color:"#0152d9",cursor:"pointer",marginRight:"5px"},className:"iconfont icon-bianji6"}),P.createElement("i",{onClick:()=>{p.default.confirm({title:"\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F",icon:P.createElement(s.Z,null),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>L(void 0,null,function*(){var A;(yield(0,t.ZP)(`/api/ec_major_schools/1/ec_years/${Ie}`,{method:"delete"}))&&(a.U.clear((A=B==null?void 0:B.userInfo)==null?void 0:A.login),Q.ZP.info("\u5220\u9664\u6210\u529F"),je(h))}),onCancel(){}})},style:{marginRight:"5px",color:"#0152d9",cursor:"pointer"},className:"iconfont icon-shanchu9"}),P.createElement("i",{onClick:()=>L(void 0,null,function*(){var A;(0,f.xm)({ec_year_id:Ie,school_id:(A=B==null?void 0:B.userInfo)==null?void 0:A.school_id})}),style:{color:"#0152d9",cursor:"pointer"},className:"iconfont icon-daochubeifen"}))}];return P.createElement("div",{className:O.wrap},P.createElement(r.p,{title:"\u57F9\u517B\u65B9\u6848",style:{padding:"12px 0 0 20px"}}),P.createElement("div",{style:{clear:"both"}}),P.createElement("div",{className:O.control},P.createElement("div",{className:O.label},"\u8BA4\u8BC1\u4E13\u4E1A"),P.createElement(H.default,{style:{width:240},allowClear:!0,placeholder:"\u4E13\u4E1A",value:h==null?void 0:h.ec_major_school_id,onChange:Ie=>ye(Ie,"ec_major_school_id")},P.createElement(H.default.Option,{value:0},"\u5168\u90E8"),i==null?void 0:i.map((Ie,Pe)=>P.createElement(H.default.Option,{value:Ie==null?void 0:Ie.ec_major_school_id},Ie==null?void 0:Ie.name))),P.createElement("div",{className:O.label},"\u8BA4\u8BC1\u5C4A\u522B"),P.createElement(H.default,{style:{width:140},allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:h==null?void 0:h.ec_year_id,onChange:Ie=>ye(Ie,"ec_year_id")},P.createElement(H.default.Option,{value:0},"\u5168\u90E8"),K==null?void 0:K.map((Ie,Pe)=>P.createElement(H.default.Option,{value:Ie},Ie,"\u5C4A"))),P.createElement("div",{style:{flex:1,textAlign:"end"}},P.createElement($.ZP,{onClick:()=>{U.history.push("/engineering/training/program/add")},style:{height:"30px",width:"135px"},type:"primary"},P.createElement("i",{style:{marginRight:"7px"},className:"iconfont icon-xinzeng"}),"\u65B0\u589E\u57F9\u517B\u65B9\u6848"))),P.createElement(e.default,{className:O.customTable,dataSource:w,bordered:!1,rowKey:Ie=>Ie.id,columns:Mt,rowClassName:O.row,loading:C,onChange:Ye,pagination:{pageSize:h.per_page,total:h.total,current:h.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,size:"default",position:["bottomCenter"],showTotal:Ie=>P.createElement("span",{className:"mr10"},"\u5171",P.createElement("span",{className:"c-orange"},Ie),"\u6761\u6570\u636E")}}),P.createElement(o.Z,R(N({},xe),{onClose:()=>{Le(R(N({},xe),{type:""}))}})))};var J=(0,U.connect)(({user:B})=>({user:B}))(j)},65576:function(Bt,Ze,u){"use strict";u.d(Ze,{p:function(){return Q},v:function(){return H}});var P=u(59301),O={panelTitleContainer:"panelTitleContainer___Ypuh_"},Q=({title:$,style:e={}})=>P.createElement("div",{className:O.panelTitleContainer,style:e},P.createElement("div",null,$)),V={selectWrapContainer:"selectWrapContainer___qocIH"},H=({title:$,children:e})=>P.createElement("div",{className:V.selectWrapContainer},P.createElement("span",null,$),e)},78297:function(Bt,Ze,u){"use strict";u.d(Ze,{AD:function(){return b},D9:function(){return y},Hp:function(){return N},IM:function(){return le},Iy:function(){return L},KM:function(){return Pe},MJ:function(){return R},Ne:function(){return K},ON:function(){return zt},Uj:function(){return Mt},VY:function(){return je},YO:function(){return Ye},YX:function(){return ye},Zn:function(){return o},_g:function(){return v},_k:function(){return n},c6:function(){return g},cr:function(){return m},eV:function(){return h},fi:function(){return x},gh:function(){return B},hS:function(){return xe},iA:function(){return E},j6:function(){return d},je:function(){return w},jj:function(){return l},kS:function(){return it},o6:function(){return ge},pO:function(){return Ie},rQ:function(){return C},sA:function(){return J},xm:function(){return i},xo:function(){return Le},y8:function(){return I},yd:function(){return _}});var P=u(92365),O=u(89070),U=u(955),Q=u(6767),V=u(3294),p=Object.defineProperty,H=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(D,A,X)=>A in D?p(D,A,{enumerable:!0,configurable:!0,writable:!0,value:X}):D[A]=X,f=(D,A)=>{for(var X in A||(A={}))$.call(A,X)&&s(D,X,A[X]);if(H)for(var X of H(A))e.call(A,X)&&s(D,X,A[X]);return D},t=(D,A,X)=>new Promise((M,se)=>{var ve=k=>{try{c(X.next(k))}catch(z){se(z)}},S=k=>{try{c(X.throw(k))}catch(z){se(z)}},c=k=>k.done?M(k.value):Promise.resolve(k.value).then(ve,S);c((X=X.apply(D,A)).next())});const r=()=>{(0,O.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},a=()=>{(0,O.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},o=D=>t(void 0,null,function*(){r(),(yield(0,P.YR)(f({},D))).status===0&&(yield(0,U.QH)("",(0,U.NY)({url:V.Z.API_SERVER+`/api/courses/${D.coursesId}/export_couser_info.json`,query:D}))),a()}),m=D=>t(void 0,null,function*(){const A=yield(0,P.yS)(f({},D));if(A.status===0)Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${D.coursesId}/exportlist/course_member_act_score`);else{if(A.status===-2)return A;A.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${D.coursesId}/exportlist/course_member_act_score`))}}),x=D=>t(void 0,null,function*(){const A=yield(0,P.W0)(f({},D));if(A.status===0)Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${D.coursesId}/exportlist/course_total_score`);else{if(A.status===-4)return A;A.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${D.coursesId}/exportlist/course_total_score`))}}),E=D=>t(void 0,null,function*(){const A=yield(0,P.Nl)(f({},D));if(A.status===0)Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${D.coursesId}/exportlist/course_total_exercise_and_other`);else{if(A.status===-4)return A;A.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${D.coursesId}/exportlist/course_total_exercise_and_other`))}}),_=D=>t(void 0,null,function*(){const A=yield(0,P.IU)(f({},D));if(A.status===0)Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${D.coursesId}/exportlist/export_star_user`);else{if(A.status===-4)return A;A.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${D.coursesId}/exportlist/export_star_user`))}}),v=D=>t(void 0,null,function*(){const A=yield(0,P.td)(f({},D));if(A.status===0)Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${D.coursesId}/exportlist/course_total_exercise_and_other`);else{if(A.status===-2)return A;if(A.status===-3)(0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${D.coursesId}/exportlist/course_total_exercise_and_other`);else if(A.status===-4)return A}}),d=D=>t(void 0,null,function*(){const A=yield(0,P.QX)(f({},D));if(A.status===0)Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${D.coursesId}/exportlist/course_total_homework`);else{if(A.status===-4)return A;A.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${D.coursesId}/exportlist/course_total_homework`))}}),l=(D,A)=>t(void 0,null,function*(){const X=yield(0,P.o_)(f({},D));X.status===0?(Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),O.history.push(`/classrooms/${D.coursesId}/exportlist/${A}`)):X.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${D.coursesId}/exportlist/${A}`))}),N=(D,A)=>t(void 0,null,function*(){const X=yield(0,P.ZL)(f({},D));X.status===0?(Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),O.history.push(`/classrooms/${D.coursesId}/exportlist/${A}`)):X.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${D.coursesId}/exportlist/${A}`))}),R=(D,A)=>t(void 0,null,function*(){const X=yield(0,P.vV)(f({},D));X.status===0?(Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),O.history.push(`/classrooms/${D.coursesId}/exportlist/${A}`)):X.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${D.coursesId}/exportlist/${A}`))}),L=(D,A)=>t(void 0,null,function*(){const X=yield(0,P.aP)(f({},D));X.status===0?(Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${D.coursesId}/exportlist/${A}`)):X.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${D.coursesId}/exportlist/${A}`))}),j=D=>t(void 0,null,function*(){r(),(yield exportCourseWorkListAppendix(f({},D))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${D.categoryId}/works_list.zip`,query:D}))),a()}),J=D=>t(void 0,null,function*(){r(),yield(0,U.QH)("",V.Z.API_SERVER+`/api/polls/${D.categoryId}/commit_result.xlsx`),a()}),B=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+`/api/courses/${D.coursesId}/attendances/export_xlsx_data.xlsx`,query:D}))}),ge=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+`/api/courses/${D.coursesId}/video_study_statics.xlsx`,query:D}))}),g=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+`/api/courses/${D.coursesId}/export_video_study.xlsx`,query:D}))}),h=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+`/api/courses/${D.coursesId}/export_course_students_info.xlsx`,query:D}))}),b=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+"/api/school_manages/students.xlsx",query:D}))}),C=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+"/api/item_banks/export.xlsx",query:D}))}),I=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:D}))}),w=D=>t(void 0,null,function*(){const A=yield(0,P.Uy)(f({},D));A.status===0?(Q.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${D.coursesId}/exportlist/exercise_score,export_exercise_users`)):A.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${D.coursesId}/exportlist/exercise_score,export_exercise_users`))}),n=D=>t(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+`/api/export_records/${D.id}.xlsx`,query:D}))}),i=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:D}))}),y=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+`/api/courses/${D==null?void 0:D.coursesId}/${D.menuKey}_statistic.xlsx?${D.checkedList.map(A=>`course_group_id[]=${A}`).join("&")}`,query:D}))}),K=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+`/api/ec_years/${D==null?void 0:D.ec_year_id}/ec_training_objectives.xlsx`,query:D}))}),le=D=>t(void 0,null,function*(){yield(0,U.FH)(D==null?void 0:D.name,(0,U.NY)({url:V.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:D}))}),xe=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+`/api/ec_years/${D==null?void 0:D.ec_year_id}/ec_courses.xlsx`,query:D}))}),Le=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+`/api/ec_years/${D==null?void 0:D.ec_year_id}/ec_graduation_requirements.xlsx`,query:D}))}),je=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:D}))}),it=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:D}))}),zt=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+`/api/examination_banks/${D.id}.json`,query:D}))}),ye=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+`/api/exercises/${D.categoryId}.json`,query:D}))}),Ye=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+`/api/polls/${D==null?void 0:D.id}/commit_result.json`,query:D}))}),Mt=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+"/api/paths/get_task_pass.json",query:D}))}),Ie=(D,A)=>t(void 0,null,function*(){yield(0,U.FH)(A||"",(0,U.NY)({url:V.Z.API_SERVER+`/api/exercises/${D==null?void 0:D.exercise_id}/consult_exercise.json`,query:D}))}),Pe=D=>t(void 0,null,function*(){yield(0,U.FH)("",(0,U.NY)({url:V.Z.API_SERVER+`/api/competitions/${D==null?void 0:D.identifier}/competition_commit_records/member_works.xlsx`,query:D}))})},25769:function(Bt,Ze,u){"use strict";var P=u(98040),O={"text/plain":"Text","text/html":"Url",default:"Text"},U="Copy to clipboard: #{key}, Enter";function Q(p){var H=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return p.replace(/#{\s*key\s*}/g,H)}function V(p,H){var $,e,s,f,t,r,a=!1;H||(H={}),$=H.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(m){if(m.stopPropagation(),H.format)if(m.preventDefault(),typeof m.clipboardData=="undefined"){$&&console.warn("unable to use e.clipboardData"),$&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var x=O[H.format]||O.default;window.clipboardData.setData(x,p)}else m.clipboardData.clearData(),m.clipboardData.setData(H.format,p);H.onCopy&&(m.preventDefault(),H.onCopy(m.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");a=!0}catch(m){$&&console.error("unable to copy using execCommand: ",m),$&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(H.format||"text",p),H.onCopy&&H.onCopy(window.clipboardData),a=!0}catch(x){$&&console.error("unable to copy using clipboardData: ",x),$&&console.error("falling back to prompt"),e=Q("message"in H?H.message:U),window.prompt(e,p)}}finally{t&&(typeof t.removeRange=="function"?t.removeRange(f):t.removeAllRanges()),r&&document.body.removeChild(r),s()}return a}Bt.exports=V},53184:function(Bt,Ze,u){"use strict";var P,O;function U(Q,V,p){var H=function($,e){return Q.js_beautify($,e)};return H.js=Q.js_beautify,H.css=V.css_beautify,H.html=p.html_beautify,H.js_beautify=Q.js_beautify,H.css_beautify=V.css_beautify,H.html_beautify=p.html_beautify,H}P=[u(58553),u(87804),u(40998)],O=function(Q,V,p){return U(Q,V,p)}.apply(Ze,P),O!==void 0&&(Bt.exports=O)},87804:function(Bt,Ze){var u,P;(function(){var O;(function(){"use strict";var Q=[,,function($){function e(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},e.prototype.has_match=function(t){for(var r=this.__items.length-1;r>=0;r--)if(this.__items[r].match(t))return!0;return!1},e.prototype.set_indent=function(t,r){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=r||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var r=t.lastIndexOf(`
|
|
`);r!==-1?this.__character_count=t.length-r:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function s(t,r){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),r=r||"",t.indent_level>0&&(r=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=r,this.__base_string_length=r.length}s.prototype.get_indent_size=function(t,r){var a=this.__base_string_length;return r=r||0,t<0&&(a=0),a+=t*this.__indent_size,a+=r,a},s.prototype.get_indent_string=function(t,r){var a=this.__base_string;return r=r||0,t<0&&(t=0,a=""),r+=t*this.__indent_size,this.__ensure_cache(r),a+=this.__cache[r],a},s.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},s.prototype.__add_column=function(){var t=this.__cache.length,r=0,a="";this.__indent_size&&t>=this.__indent_size&&(r=Math.floor(t/this.__indent_size),t-=r*this.__indent_size,a=new Array(r+1).join(this.__indent_string)),t&&(a+=new Array(t+1).join(" ")),this.__cache.push(a)};function 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 a=this.__lines.join(`
|
|
`);return t!==`
|
|
`&&(a=a.replace(/[\n]/g,t)),a},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 a=this.__lines.length-2;a>=0;){var o=this.__lines[a];if(o.is_empty())break;if(o.item(0).indexOf(t)!==0&&o.item(-1)!==r){this.__lines.splice(a+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}a--}},$.exports.Output=f},,,,function($){function e(t,r){this.raw_options=s(t,r),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(t,r){var a=this.raw_options[t],o=r||[];return typeof a=="object"?a!==null&&typeof a.concat=="function"&&(o=a.concat()):typeof a=="string"&&(o=a.split(/[^a-zA-Z0-9_\/\-]+/)),o},e.prototype._get_boolean=function(t,r){var a=this.raw_options[t],o=a===void 0?!!r:!!a;return o},e.prototype._get_characters=function(t,r){var a=this.raw_options[t],o=r||"";return typeof a=="string"&&(o=a.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),o},e.prototype._get_number=function(t,r){var a=this.raw_options[t];r=parseInt(r,10),isNaN(r)&&(r=0);var o=parseInt(a,10);return isNaN(o)&&(o=r),o},e.prototype._get_selection=function(t,r,a){var o=this._get_selection_list(t,r,a);if(o.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values:
|
|
`+r+`
|
|
You passed in: '`+this.raw_options[t]+"'");return o[0]},e.prototype._get_selection_list=function(t,r,a){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(a=a||[r[0]],!this._is_valid_selection(a,r))throw new Error("Invalid Default Value!");var o=this._get_array(t,a);if(!this._is_valid_selection(o,r))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values:
|
|
`+r+`
|
|
You passed in: '`+this.raw_options[t]+"'");return o},e.prototype._is_valid_selection=function(t,r){return t.length&&r.length&&!t.some(function(a){return r.indexOf(a)===-1})};function s(t,r){var a={};t=f(t);var o;for(o in t)o!==r&&(a[o]=t[o]);if(r&&t[r])for(o in t[r])a[o]=t[r][o];return a}function f(t){var r={},a;for(a in t){var o=a.replace(/-/g,"_");r[o]=t[a]}return r}$.exports.Options=e,$.exports.normalizeOpts=f,$.exports.mergeOpts=s},,function($){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 a="",o;return f&&(o=this.match(f),o&&(a+=o[0])),t&&(o||!f)&&(a+=this.readUntil(t,r)),a},s.prototype.readUntil=function(f,t){var r="",a=this.__position;f.lastIndex=this.__position;var o=f.exec(this.__input);return o?(a=o.index,t&&(a+=o[0].length)):a=this.__input_length,r=this.__input.substring(this.__position,a),this.__position=a,r},s.prototype.readUntilAfter=function(f){return this.readUntil(f,!0)},s.prototype.get_regexp=function(f,t){var r=null,a="g";return t&&e&&(a="y"),typeof f=="string"&&f!==""?r=new RegExp(f,a):f&&(r=new RegExp(f.source,a)),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},$.exports.InputScanner=s},,,,,function($){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)},$.exports.Directives=e},,function($,e,s){var f=s(16).Beautifier,t=s(17).Options;function r(a,o){var m=new f(a,o);return m.beautify()}$.exports=r,$.exports.defaultOptions=function(){return new t}},function($,e,s){var f=s(17).Options,t=s(2).Output,r=s(8).InputScanner,a=s(13).Directives,o=new a(/\/\*/,/\*\//),m=/\r\n|[\r\n]/,x=/\r\n|[\r\n]/g,E=/\s/,_=/(?:\s|\n)+/g,v=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,d=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function l(N,R){this._source_text=N||"",this._options=new f(R),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}l.prototype.eatString=function(N){var R="";for(this._ch=this._input.next();this._ch;){if(R+=this._ch,this._ch==="\\")R+=this._input.next();else if(N.indexOf(this._ch)!==-1||this._ch===`
|
|
`)break;this._ch=this._input.next()}return R},l.prototype.eatWhitespace=function(N){for(var R=E.test(this._input.peek()),L=0;E.test(this._input.peek());)this._ch=this._input.next(),N&&this._ch===`
|
|
`&&(L===0||L<this._options.max_preserve_newlines)&&(L++,this._output.add_new_line(!0));return R},l.prototype.foundNestedPseudoClass=function(){for(var N=0,R=1,L=this._input.peek(R);L;){if(L==="{")return!0;if(L==="(")N+=1;else if(L===")"){if(N===0)return!1;N-=1}else if(L===";"||L==="}")return!1;R++,L=this._input.peek(R)}return!1},l.prototype.print_string=function(N){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(N)},l.prototype.preserveSingleSpace=function(N){N&&(this._output.space_before_token=!0)},l.prototype.indent=function(){this._indentLevel++},l.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},l.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var N=this._source_text,R=this._options.eol;R==="auto"&&(R=`
|
|
`,N&&m.test(N||"")&&(R=N.match(m)[0])),N=N.replace(x,`
|
|
`);var L=N.match(/^[\t ]*/)[0];this._output=new t(this._options,L),this._input=new r(N),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var j=0,J=!1,B=!1,ge=!1,g=!1,h=!1,b=this._ch,C=!1,I,w,n;I=this._input.read(_),w=I!=="",n=b,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),b=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var i=this._input.read(v),y=o.get_directives(i);y&&y.ignore==="start"&&(i+=o.readIgnored(this._input)),this.print_string(i),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(d)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(w),this.print_string(this._ch);var K=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);K.match(/[ :]$/)&&(K=this.eatString(": ").replace(/\s+$/,""),this.print_string(K),this._output.space_before_token=!0),j===0&&K.indexOf(":")!==-1&&(B=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(w),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var le=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);le.match(/[ :]$/)&&(le=this.eatString(": ").replace(/\s+$/,""),this.print_string(le),this._output.space_before_token=!0),j===0&&le.indexOf(":")!==-1?(B=!0,this.indent()):le in this.NESTED_AT_RULE?(this._nestedLevel+=1,le in this.CONDITIONAL_GROUP_RULE&&(ge=!0)):j===0&&!B&&(g=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(w),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")B&&(B=!1,this.outdent()),g=!1,ge?(ge=!1,J=this._indentLevel>=this._nestedLevel):J=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&J&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(n==="("?this._output.space_before_token=!1:n!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),n==="{"&&this._output.trim(!0),B&&(this.outdent(),B=!1),this.print_string(this._ch),J=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var xe=0;xe<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;xe++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[xe])){C=!0;break}(J||ge)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!g&&j===0?(this.print_string(":"),B||(B=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var Le=n==='"'||n==="'";this.preserveSingleSpace(Le||w),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")C=!1,j===0?(B&&(this.outdent(),B=!1),g=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),j++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),j&&(j--,this.outdent()));else{var je=!1;this._input.lookBack("with")&&(je=!0),this.preserveSingleSpace(w||je),this.print_string(this._ch),B&&n==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),h=!0):(this.eatWhitespace(),j++,this.indent())}else if(this._ch===")")j&&(j--,this.outdent()),h&&this._input.peek()===";"&&this._options.selector_separator_newline&&(h=!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||h)&&j===0&&!g?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!B&&j===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&E.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(w),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),E.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var it=n==='"'||n==="'";this.preserveSingleSpace(it||w),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
`&&C&&this._output.add_new_line()}var zt=this._output.get_code(R);return zt},$.exports.Beautifier=l},function($,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 a=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||a;var o=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var m=0;m<o.length;m++)o[m]!=="expand"?this.brace_style="collapse":this.brace_style=o[m]}t.prototype=new f,$.exports.Options=t}],V={};function p($){var e=V[$];if(e!==void 0)return e.exports;var s=V[$]={exports:{}};return Q[$](s,s.exports,p),s.exports}var H=p(15);O=H})();var U=O;u=[],P=function(){return{css_beautify:U}}.apply(Ze,u),P!==void 0&&(Bt.exports=P)})()},40998:function(Bt,Ze,u){var P,O;(function(){var U;(function(){"use strict";var H=[,,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 m=this.__items.length-1;m>=0;m--)if(this.__items[m].match(o))return!0;return!1},t.prototype.set_indent=function(o,m){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=m||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 m=o.lastIndexOf(`
|
|
`);m!==-1?this.__character_count=o.length-m: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,m){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)),m=m||"",o.indent_level>0&&(m=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=m,this.__base_string_length=m.length}r.prototype.get_indent_size=function(o,m){var x=this.__base_string_length;return m=m||0,o<0&&(x=0),x+=o*this.__indent_size,x+=m,x},r.prototype.get_indent_string=function(o,m){var x=this.__base_string;return m=m||0,o<0&&(o=0,x=""),m+=o*this.__indent_size,this.__ensure_cache(m),x+=this.__cache[m],x},r.prototype.__ensure_cache=function(o){for(;o>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var o=this.__cache.length,m=0,x="";this.__indent_size&&o>=this.__indent_size&&(m=Math.floor(o/this.__indent_size),o-=m*this.__indent_size,x=new Array(m+1).join(this.__indent_string)),o&&(x+=new Array(o+1).join(" ")),this.__cache.push(x)};function a(o,m){this.__indent_cache=new r(o,m),this.raw=!1,this._end_with_newline=o.end_with_newline,this.indent_size=o.indent_size,this.wrap_line_length=o.wrap_line_length,this.indent_empty_lines=o.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new t(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}a.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},a.prototype.get_line_number=function(){return this.__lines.length},a.prototype.get_indent_string=function(o,m){return this.__indent_cache.get_indent_string(o,m)},a.prototype.get_indent_size=function(o,m){return this.__indent_cache.get_indent_size(o,m)},a.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},a.prototype.add_new_line=function(o){return this.is_empty()||!o&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},a.prototype.get_code=function(o){this.trim(!0);var m=this.current_line.pop();m&&(m[m.length-1]===`
|
|
`&&(m=m.replace(/\n+$/g,"")),this.current_line.push(m)),this._end_with_newline&&this.__add_outputline();var x=this.__lines.join(`
|
|
`);return o!==`
|
|
`&&(x=x.replace(/[\n]/g,o)),x},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(o,m){return o=o||0,m=m||0,this.next_line.set_indent(o,m),this.__lines.length>1?(this.current_line.set_indent(o,m),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(o){for(var m=0;m<o.newlines;m++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(o.whitespace_before),this.current_line.push(o.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},a.prototype.add_token=function(o){this.__add_space_before_token(),this.current_line.push(o),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},a.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},a.prototype.remove_indent=function(o){for(var m=this.__lines.length;o<m;)this.__lines[o]._remove_indent(),o++;this.current_line._remove_wrap_indent()},a.prototype.trim=function(o){for(o=o===void 0?!1:o,this.current_line.trim();o&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},a.prototype.just_added_newline=function(){return this.current_line.is_empty()},a.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},a.prototype.ensure_empty_line_above=function(o,m){for(var x=this.__lines.length-2;x>=0;){var E=this.__lines[x];if(E.is_empty())break;if(E.item(0).indexOf(o)!==0&&E.item(-1)!==m){this.__lines.splice(x+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}x--}},f.exports.Output=a},function(f){function t(r,a,o,m){this.type=r,this.text=a,this.comments_before=null,this.newlines=o||0,this.whitespace_before=m||"",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,m){this.raw_options=r(o,m),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,m){var x=this.raw_options[o],E=m||[];return typeof x=="object"?x!==null&&typeof x.concat=="function"&&(E=x.concat()):typeof x=="string"&&(E=x.split(/[^a-zA-Z0-9_\/\-]+/)),E},t.prototype._get_boolean=function(o,m){var x=this.raw_options[o],E=x===void 0?!!m:!!x;return E},t.prototype._get_characters=function(o,m){var x=this.raw_options[o],E=m||"";return typeof x=="string"&&(E=x.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),E},t.prototype._get_number=function(o,m){var x=this.raw_options[o];m=parseInt(m,10),isNaN(m)&&(m=0);var E=parseInt(x,10);return isNaN(E)&&(E=m),E},t.prototype._get_selection=function(o,m,x){var E=this._get_selection_list(o,m,x);if(E.length!==1)throw new Error("Invalid Option Value: The option '"+o+`' can only be one of the following values:
|
|
`+m+`
|
|
You passed in: '`+this.raw_options[o]+"'");return E[0]},t.prototype._get_selection_list=function(o,m,x){if(!m||m.length===0)throw new Error("Selection list cannot be empty.");if(x=x||[m[0]],!this._is_valid_selection(x,m))throw new Error("Invalid Default Value!");var E=this._get_array(o,x);if(!this._is_valid_selection(E,m))throw new Error("Invalid Option Value: The option '"+o+`' can contain only the following values:
|
|
`+m+`
|
|
You passed in: '`+this.raw_options[o]+"'");return E},t.prototype._is_valid_selection=function(o,m){return o.length&&m.length&&!o.some(function(x){return m.indexOf(x)===-1})};function r(o,m){var x={};o=a(o);var E;for(E in o)E!==m&&(x[E]=o[E]);if(m&&o[m])for(E in o[m])x[E]=o[m][E];return x}function a(o){var m={},x;for(x in o){var E=x.replace(/-/g,"_");m[E]=o[x]}return m}f.exports.Options=t,f.exports.normalizeOpts=a,f.exports.mergeOpts=r},,function(f){var t=RegExp.prototype.hasOwnProperty("sticky");function r(a){this.__input=a||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var a=null;return this.hasNext()&&(a=this.__input.charAt(this.__position),this.__position+=1),a},r.prototype.peek=function(a){var o=null;return a=a||0,a+=this.__position,a>=0&&a<this.__input_length&&(o=this.__input.charAt(a)),o},r.prototype.__match=function(a,o){a.lastIndex=o;var m=a.exec(this.__input);return m&&!(t&&a.sticky)&&m.index!==o&&(m=null),m},r.prototype.test=function(a,o){return o=o||0,o+=this.__position,o>=0&&o<this.__input_length?!!this.__match(a,o):!1},r.prototype.testChar=function(a,o){var m=this.peek(o);return a.lastIndex=0,m!==null&&a.test(m)},r.prototype.match=function(a){var o=this.__match(a,this.__position);return o?this.__position+=o[0].length:o=null,o},r.prototype.read=function(a,o,m){var x="",E;return a&&(E=this.match(a),E&&(x+=E[0])),o&&(E||!a)&&(x+=this.readUntil(o,m)),x},r.prototype.readUntil=function(a,o){var m="",x=this.__position;a.lastIndex=this.__position;var E=a.exec(this.__input);return E?(x=E.index,o&&(x+=E[0].length)):x=this.__input_length,m=this.__input.substring(this.__position,x),this.__position=x,m},r.prototype.readUntilAfter=function(a){return this.readUntil(a,!0)},r.prototype.get_regexp=function(a,o){var m=null,x="g";return o&&t&&(x="y"),typeof a=="string"&&a!==""?m=new RegExp(a,x):a&&(m=new RegExp(a.source,x)),m},r.prototype.get_literal_regexp=function(a){return RegExp(a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(a){var o=this.__position,m=this.readUntilAfter(a);return this.__position=o,m},r.prototype.lookBack=function(a){var o=this.__position-1;return o>=a.length&&this.__input.substring(o-a.length,o).toLowerCase()===a},f.exports.InputScanner=r},function(f,t,r){var a=r(8).InputScanner,o=r(3).Token,m=r(10).TokenStream,x=r(11).WhitespacePattern,E={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},_=function(v,d){this._input=new a(v),this._options=d||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new x(this._input)};_.prototype.tokenize=function(){this._input.restart(),this.__tokens=new m,this._reset();for(var v,d=new o(E.START,""),l=null,N=[],R=new m;d.type!==E.EOF;){for(v=this._get_next_token(d,l);this._is_comment(v);)R.add(v),v=this._get_next_token(d,l);R.isEmpty()||(v.comments_before=R,R=new m),v.parent=l,this._is_opening(v)?(N.push(l),l=v):l&&this._is_closing(v,l)&&(v.opened=l,l.closed=v,l=N.pop(),v.parent=l),v.previous=d,d.next=v,this.__tokens.add(v),d=v}return this.__tokens},_.prototype._is_first_token=function(){return this.__tokens.isEmpty()},_.prototype._reset=function(){},_.prototype._get_next_token=function(v,d){this._readWhitespace();var l=this._input.read(/.+/g);return l?this._create_token(E.RAW,l):this._create_token(E.EOF,"")},_.prototype._is_comment=function(v){return!1},_.prototype._is_opening=function(v){return!1},_.prototype._is_closing=function(v,d){return!1},_.prototype._create_token=function(v,d){var l=new o(v,d,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return l},_.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},f.exports.Tokenizer=_,f.exports.TOKEN=E},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 a=null;return r=r||0,r+=this.__position,r>=0&&r<this.__tokens_length&&(a=this.__tokens[r]),a},t.prototype.add=function(r){this.__parent_token&&(r.parent=this.__parent_token),this.__tokens.push(r),this.__tokens_length+=1},f.exports.TokenStream=t},function(f,t,r){var a=r(12).Pattern;function o(m,x){a.call(this,m,x),x?this._line_regexp=this._input.get_regexp(x._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}o.prototype=new a,o.prototype.__set_whitespace_patterns=function(m,x){m+="\\t ",x+="\\n\\r",this._match_pattern=this._input.get_regexp("["+m+x+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+x+"]")},o.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var m=this._input.read(this._match_pattern);if(m===" ")this.whitespace_before_token=" ";else if(m){var x=this.__split(this._newline_regexp,m);this.newline_count=x.length-1,this.whitespace_before_token=x[this.newline_count]}return m},o.prototype.matching=function(m,x){var E=this._create();return E.__set_whitespace_patterns(m,x),E._update(),E},o.prototype._create=function(){return new o(this._input,this)},o.prototype.__split=function(m,x){m.lastIndex=0;for(var E=0,_=[],v=m.exec(x);v;)_.push(x.substring(E,v.index)),E=v.index+v[0].length,v=m.exec(x);return E<x.length?_.push(x.substring(E,x.length)):_.push(""),_},f.exports.WhitespacePattern=o},function(f){function t(r,a){this._input=r,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,a&&(this._starting_pattern=this._input.get_regexp(a._starting_pattern,!0),this._match_pattern=this._input.get_regexp(a._match_pattern,!0),this._until_pattern=this._input.get_regexp(a._until_pattern),this._until_after=a._until_after)}t.prototype.read=function(){var r=this._input.read(this._starting_pattern);return(!this._starting_pattern||r)&&(r+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),r},t.prototype.read_match=function(){return this._input.match(this._match_pattern)},t.prototype.until_after=function(r){var a=this._create();return a._until_after=!0,a._until_pattern=this._input.get_regexp(r),a._update(),a},t.prototype.until=function(r){var a=this._create();return a._until_after=!1,a._until_pattern=this._input.get_regexp(r),a._update(),a},t.prototype.starting_with=function(r){var a=this._create();return a._starting_pattern=this._input.get_regexp(r,!0),a._update(),a},t.prototype.matching=function(r){var a=this._create();return a._match_pattern=this._input.get_regexp(r,!0),a._update(),a},t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){},f.exports.Pattern=t},function(f){function t(r,a){r=typeof r=="string"?r:r.source,a=typeof a=="string"?a:a.source,this.__directives_block_pattern=new RegExp(r+/ beautify( \w+[:]\w+)+ /.source+a,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(r+/\sbeautify\signore:end\s/.source+a,"g")}t.prototype.get_directives=function(r){if(!r.match(this.__directives_block_pattern))return null;var a={};this.__directive_pattern.lastIndex=0;for(var o=this.__directive_pattern.exec(r);o;)a[o[1]]=o[2],o=this.__directive_pattern.exec(r);return a},t.prototype.readIgnored=function(r){return r.readUntilAfter(this.__directives_end_ignore_pattern)},f.exports.Directives=t},function(f,t,r){var a=r(12).Pattern,o={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function m(x,E){a.call(this,x,E),this.__template_pattern=null,this._disabled=Object.assign({},o),this._excluded=Object.assign({},o),E&&(this.__template_pattern=this._input.get_regexp(E.__template_pattern),this._excluded=Object.assign(this._excluded,E._excluded),this._disabled=Object.assign(this._disabled,E._disabled));var _=new a(x);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}/)}}m.prototype=new a,m.prototype._create=function(){return new m(this._input,this)},m.prototype._update=function(){this.__set_templated_pattern()},m.prototype.disable=function(x){var E=this._create();return E._disabled[x]=!0,E._update(),E},m.prototype.read_options=function(x){var E=this._create();for(var _ in o)E._disabled[_]=x.templating.indexOf(_)===-1;return E._update(),E},m.prototype.exclude=function(x){var E=this._create();return E._excluded[x]=!0,E._update(),E},m.prototype.read=function(){var x="";this._match_pattern?x=this._input.read(this._starting_pattern):x=this._input.read(this._starting_pattern,this.__template_pattern);for(var E=this._read_template();E;)this._match_pattern?E+=this._input.read(this._match_pattern):E+=this._input.readUntil(this.__template_pattern),x+=E,E=this._read_template();return this._until_after&&(x+=this._input.readUntilAfter(this._until_pattern)),x},m.prototype.__set_templated_pattern=function(){var x=[];this._disabled.php||x.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||x.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||x.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||x.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(x.push(this.__patterns.django._starting_pattern.source),x.push(this.__patterns.django_value._starting_pattern.source),x.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||x.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&x.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+x.join("|")+")")},m.prototype._read_template=function(){var x="",E=this._input.peek();if(E==="<"){var _=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&_==="?"&&(x=x||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&_==="%"&&(x=x||this.__patterns.erb.read())}else E==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(x=x||this.__patterns.handlebars_comment.read(),x=x||this.__patterns.handlebars_unescaped.read(),x=x||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(x=x||this.__patterns.django_value.read()),this._excluded.django||(x=x||this.__patterns.django_comment.read(),x=x||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(x=x||this.__patterns.smarty_comment.read(),x=x||this.__patterns.smarty_literal.read(),x=x||this.__patterns.smarty.read()));return x},f.exports.TemplatablePattern=m},,,,function(f,t,r){var a=r(19).Beautifier,o=r(20).Options;function m(x,E,_,v){var d=new a(x,E,_,v);return d.beautify()}f.exports=m,f.exports.defaultOptions=function(){return new o}},function(f,t,r){var a=r(20).Options,o=r(2).Output,m=r(21).Tokenizer,x=r(21).TOKEN,E=/\r\n|[\r\n]/,_=/\r\n|[\r\n]/g,v=function(g,h){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=g.max_preserve_newlines,this.preserve_newlines=g.preserve_newlines,this._output=new o(g,h)};v.prototype.current_line_has_match=function(g){return this._output.current_line.has_match(g)},v.prototype.set_space_before_token=function(g,h){this._output.space_before_token=g,this._output.non_breaking_space=h},v.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},v.prototype.add_raw_token=function(g){this._output.add_raw_token(g)},v.prototype.print_preserved_newlines=function(g){var h=0;g.type!==x.TEXT&&g.previous.type!==x.TEXT&&(h=g.newlines?1:0),this.preserve_newlines&&(h=g.newlines<this.max_preserve_newlines+1?g.newlines:this.max_preserve_newlines+1);for(var b=0;b<h;b++)this.print_newline(b>0);return h!==0},v.prototype.traverse_whitespace=function(g){return g.whitespace_before||g.newlines?(this.print_preserved_newlines(g)||(this._output.space_before_token=!0),!0):!1},v.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},v.prototype.print_newline=function(g){this._output.add_new_line(g)},v.prototype.print_token=function(g){g.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(g.text))},v.prototype.indent=function(){this.indent_level++},v.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},v.prototype.get_full_indent=function(g){return g=this.indent_level+(g||0),g<1?"":this._output.get_indent_string(g)};var d=function(g){for(var h=null,b=g.next;b.type!==x.EOF&&g.closed!==b;){if(b.type===x.ATTRIBUTE&&b.text==="type"){b.next&&b.next.type===x.EQUALS&&b.next.next&&b.next.next.type===x.VALUE&&(h=b.next.next.text);break}b=b.next}return h},l=function(g,h){var b=null,C=null;return h.closed?(g==="script"?b="text/javascript":g==="style"&&(b="text/css"),b=d(h)||b,b.search("text/css")>-1?C="css":b.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?C="javascript":b.search(/(text|application|dojo)\/(x-)?(html)/)>-1?C="html":b.search(/test\/null/)>-1&&(C="null"),C):null};function N(g,h){return h.indexOf(g)!==-1}function R(g,h,b){this.parent=g||null,this.tag=h?h.tag_name:"",this.indent_level=b||0,this.parser_token=h||null}function L(g){this._printer=g,this._current_frame=null}L.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},L.prototype.record_tag=function(g){var h=new R(this._current_frame,g,this._printer.indent_level);this._current_frame=h},L.prototype._try_pop_frame=function(g){var h=null;return g&&(h=g.parser_token,this._printer.indent_level=g.indent_level,this._current_frame=g.parent),h},L.prototype._get_frame=function(g,h){for(var b=this._current_frame;b&&g.indexOf(b.tag)===-1;){if(h&&h.indexOf(b.tag)!==-1){b=null;break}b=b.parent}return b},L.prototype.try_pop=function(g,h){var b=this._get_frame([g],h);return this._try_pop_frame(b)},L.prototype.indent_to_tag=function(g){var h=this._get_frame(g);h&&(this._printer.indent_level=h.indent_level)};function j(g,h,b,C){this._source_text=g||"",h=h||{},this._js_beautify=b,this._css_beautify=C,this._tag_stack=null;var I=new a(h,"html");this._options=I,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}j.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var g=this._source_text,h=this._options.eol;this._options.eol==="auto"&&(h=`
|
|
`,g&&E.test(g)&&(h=g.match(E)[0])),g=g.replace(_,`
|
|
`);var b=g.match(/^[\t ]*/)[0],C={text:"",type:""},I=new J(this._options),w=new v(this._options,b),n=new m(g,this._options).tokenize();this._tag_stack=new L(w);for(var i=null,y=n.next();y.type!==x.EOF;)y.type===x.TAG_OPEN||y.type===x.COMMENT?(i=this._handle_tag_open(w,y,I,C,n),I=i):y.type===x.ATTRIBUTE||y.type===x.EQUALS||y.type===x.VALUE||y.type===x.TEXT&&!I.tag_complete?i=this._handle_inside_tag(w,y,I,C):y.type===x.TAG_CLOSE?i=this._handle_tag_close(w,y,I):y.type===x.TEXT?i=this._handle_text(w,y,I):y.type===x.CONTROL_FLOW_OPEN?i=this._handle_control_flow_open(w,y):y.type===x.CONTROL_FLOW_CLOSE?i=this._handle_control_flow_close(w,y):w.add_raw_token(y),C=i,y=n.next();var K=w._output.get_code(h);return K},j.prototype._handle_control_flow_open=function(g,h){var b={text:h.text,type:h.type};return g.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),h.newlines?g.print_preserved_newlines(h):g.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),g.print_token(h),g.indent(),b},j.prototype._handle_control_flow_close=function(g,h){var b={text:h.text,type:h.type};return g.deindent(),h.newlines?g.print_preserved_newlines(h):g.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),g.print_token(h),b},j.prototype._handle_tag_close=function(g,h,b){var C={text:h.text,type:h.type};return g.alignment_size=0,b.tag_complete=!0,g.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),b.is_unformatted?g.add_raw_token(h):(b.tag_start_char==="<"&&(g.set_space_before_token(h.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&b.has_wrapped_attrs&&g.print_newline(!1)),g.print_token(h)),b.indent_content&&!(b.is_unformatted||b.is_content_unformatted)&&(g.indent(),b.indent_content=!1),!b.is_inline_element&&!(b.is_unformatted||b.is_content_unformatted)&&g.set_wrap_point(),C},j.prototype._handle_inside_tag=function(g,h,b,C){var I=b.has_wrapped_attrs,w={text:h.text,type:h.type};return g.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),b.is_unformatted?g.add_raw_token(h):b.tag_start_char==="{"&&h.type===x.TEXT?g.print_preserved_newlines(h)?(h.newlines=0,g.add_raw_token(h)):g.print_token(h):(h.type===x.ATTRIBUTE?g.set_space_before_token(!0):(h.type===x.EQUALS||h.type===x.VALUE&&h.previous.type===x.EQUALS)&&g.set_space_before_token(!1),h.type===x.ATTRIBUTE&&b.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(g.traverse_whitespace(h),I=I||h.newlines!==0),this._is_wrap_attributes_force&&b.attr_count>=this._options.wrap_attributes_min_attrs&&(C.type!==x.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(g.print_newline(!1),I=!0)),g.print_token(h),I=I||g.previous_token_wrapped(),b.has_wrapped_attrs=I),w},j.prototype._handle_text=function(g,h,b){var C={text:h.text,type:"TK_CONTENT"};return b.custom_beautifier_name?this._print_custom_beatifier_text(g,h,b):b.is_unformatted||b.is_content_unformatted?g.add_raw_token(h):(g.traverse_whitespace(h),g.print_token(h)),C},j.prototype._print_custom_beatifier_text=function(g,h,b){var C=this;if(h.text!==""){var I=h.text,w,n=1,i="",y="";b.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?w=this._js_beautify:b.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?w=this._css_beautify:b.custom_beautifier_name==="html"&&(w=function(it,zt){var ye=new j(it,zt,C._js_beautify,C._css_beautify);return ye.beautify()}),this._options.indent_scripts==="keep"?n=0:this._options.indent_scripts==="separate"&&(n=-g.indent_level);var K=g.get_full_indent(n);if(I=I.replace(/\n[ \t]*$/,""),b.custom_beautifier_name!=="html"&&I[0]==="<"&&I.match(/^(<!--|<!\[CDATA\[)/)){var le=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(I);if(!le){g.add_raw_token(h);return}i=K+le[1]+`
|
|
`,I=le[4],le[5]&&(y=K+le[5]),I=I.replace(/\n[ \t]*$/,""),(le[2]||le[3].indexOf(`
|
|
`)!==-1)&&(le=le[3].match(/[ \t]+$/),le&&(h.whitespace_before=le[0]))}if(I)if(w){var xe=function(){this.eol=`
|
|
`};xe.prototype=this._options.raw_options;var Le=new xe;I=w(K+I,Le)}else{var je=h.whitespace_before;je&&(I=I.replace(new RegExp(`
|
|
(`+je+")?","g"),`
|
|
`)),I=K+I.replace(/\n/g,`
|
|
`+K)}i&&(I?I=i+I+`
|
|
`+y:I=i+y),g.print_newline(!1),I&&(h.text=I,h.whitespace_before="",h.newlines=0,g.add_raw_token(h),g.print_newline(!0))}},j.prototype._handle_tag_open=function(g,h,b,C,I){var w=this._get_tag_open_token(h);if((b.is_unformatted||b.is_content_unformatted)&&!b.is_empty_element&&h.type===x.TAG_OPEN&&!w.is_start_tag?(g.add_raw_token(h),w.start_tag_token=this._tag_stack.try_pop(w.tag_name)):(g.traverse_whitespace(h),this._set_tag_position(g,h,w,b,C),w.is_inline_element||g.set_wrap_point(),g.print_token(h)),w.is_start_tag&&this._is_wrap_attributes_force){var n=0,i;do i=I.peek(n),i.type===x.ATTRIBUTE&&(w.attr_count+=1),n+=1;while(i.type!==x.EOF&&i.type!==x.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(w.alignment_size=h.text.length+1),!w.tag_complete&&!w.is_unformatted&&(g.alignment_size=w.alignment_size),w};var J=function(g,h,b){if(this.parent=h||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!b)this.tag_complete=!0;else{var C;this.tag_start_char=b.text[0],this.text=b.text,this.tag_start_char==="<"?(C=b.text.match(/^<([^\s>]*)/),this.tag_check=C?C[1]:""):(C=b.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=C?C[1]:"",(b.text.startsWith("{{#>")||b.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&b.next!==null?this.tag_check=b.next.text.split(" ")[0]:this.tag_check=b.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),b.type===x.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||b.closed&&b.closed.text==="/>";var I=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(I=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!g.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(I)))}};j.prototype._get_tag_open_token=function(g){var h=new J(this._options,this._tag_stack.get_parser_token(),g);return h.alignment_size=this._options.wrap_attributes_indent_size,h.is_end_tag=h.is_end_tag||N(h.tag_check,this._options.void_elements),h.is_empty_element=h.tag_complete||h.is_start_tag&&h.is_end_tag,h.is_unformatted=!h.tag_complete&&N(h.tag_check,this._options.unformatted),h.is_content_unformatted=!h.is_empty_element&&N(h.tag_check,this._options.content_unformatted),h.is_inline_element=N(h.tag_name,this._options.inline)||this._options.inline_custom_elements&&h.tag_name.includes("-")||h.tag_start_char==="{",h},j.prototype._set_tag_position=function(g,h,b,C,I){if(b.is_empty_element||(b.is_end_tag?b.start_tag_token=this._tag_stack.try_pop(b.tag_name):(this._do_optional_end_element(b)&&(b.is_inline_element||g.print_newline(!1)),this._tag_stack.record_tag(b),(b.tag_name==="script"||b.tag_name==="style")&&!(b.is_unformatted||b.is_content_unformatted)&&(b.custom_beautifier_name=l(b.tag_check,h)))),N(b.tag_check,this._options.extra_liners)&&(g.print_newline(!1),g._output.just_added_blankline()||g.print_newline(!0)),b.is_empty_element){if(b.tag_start_char==="{"&&b.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),b.indent_content=!0;var w=g.current_line_has_match(/{{#if/);w||g.print_newline(!1)}b.tag_name==="!--"&&I.type===x.TAG_CLOSE&&C.is_end_tag&&b.text.indexOf(`
|
|
`)===-1||(b.is_inline_element||b.is_unformatted||g.print_newline(!1),this._calcluate_parent_multiline(g,b))}else if(b.is_end_tag){var n=!1;n=b.start_tag_token&&b.start_tag_token.multiline_content,n=n||!b.is_inline_element&&!(C.is_inline_element||C.is_unformatted)&&!(I.type===x.TAG_CLOSE&&b.start_tag_token===C)&&I.type!=="TK_CONTENT",(b.is_content_unformatted||b.is_unformatted)&&(n=!1),n&&g.print_newline(!1)}else b.indent_content=!b.custom_beautifier_name,b.tag_start_char==="<"&&(b.tag_name==="html"?b.indent_content=this._options.indent_inner_html:b.tag_name==="head"?b.indent_content=this._options.indent_head_inner_html:b.tag_name==="body"&&(b.indent_content=this._options.indent_body_inner_html)),!(b.is_inline_element||b.is_unformatted)&&(I.type!=="TK_CONTENT"||b.is_content_unformatted)&&g.print_newline(!1),this._calcluate_parent_multiline(g,b)},j.prototype._calcluate_parent_multiline=function(g,h){h.parent&&g._output.just_added_newline()&&!((h.is_inline_element||h.is_unformatted)&&h.parent.is_inline_element)&&(h.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"],ge=["a","audio","del","ins","map","noscript","video"];j.prototype._do_optional_end_element=function(g){var h=null;if(!(g.is_empty_element||!g.is_start_tag||!g.parent)){if(g.tag_name==="body")h=h||this._tag_stack.try_pop("head");else if(g.tag_name==="li")h=h||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(g.tag_name==="dd"||g.tag_name==="dt")h=h||this._tag_stack.try_pop("dt",["dl"]),h=h||this._tag_stack.try_pop("dd",["dl"]);else if(g.parent.tag_name==="p"&&B.indexOf(g.tag_name)!==-1){var b=g.parent.parent;(!b||ge.indexOf(b.tag_name)===-1)&&(h=h||this._tag_stack.try_pop("p"))}else g.tag_name==="rp"||g.tag_name==="rt"?(h=h||this._tag_stack.try_pop("rt",["ruby","rtc"]),h=h||this._tag_stack.try_pop("rp",["ruby","rtc"])):g.tag_name==="optgroup"?h=h||this._tag_stack.try_pop("optgroup",["select"]):g.tag_name==="option"?h=h||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):g.tag_name==="colgroup"?h=h||this._tag_stack.try_pop("caption",["table"]):g.tag_name==="thead"?(h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"])):g.tag_name==="tbody"||g.tag_name==="tfoot"?(h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]),h=h||this._tag_stack.try_pop("thead",["table"]),h=h||this._tag_stack.try_pop("tbody",["table"])):g.tag_name==="tr"?(h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"]),h=h||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(g.tag_name==="th"||g.tag_name==="td")&&(h=h||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),h=h||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return g.parent=this._tag_stack.get_parser_token(),h}},f.exports.Beautifier=j},function(f,t,r){var a=r(6).Options;function o(m){a.call(this,m,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}o.prototype=new a,f.exports.Options=o},function(f,t,r){var a=r(9).Tokenizer,o=r(9).TOKEN,m=r(13).Directives,x=r(14).TemplatablePattern,E=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},v=new m(/<\!--/,/-->/),d=function(l,N){a.call(this,l,N),this._current_tag_name="";var R=new x(this._input).read_options(this._options),L=new E(this._input);if(this.__patterns={word:R.until(/[\n\r\t <]/),word_control_flow_close_excluded:R.until(/[\n\r\t <}]/),single_quote:R.until_after(/'/),double_quote:R.until_after(/"/),attribute:R.until(/[\n\r\t =>]|\/>/),element_name:R.until(/[\n\r\t >\/]/),angular_control_flow_start:L.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:L.starting_with(/{{!--/).until_after(/--}}/),handlebars:L.starting_with(/{{/).until_after(/}}/),handlebars_open:L.until(/[\n\r\t }]/),handlebars_raw_close:L.until(/}}/),comment:L.starting_with(/<!--/).until_after(/-->/),cdata:L.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:L.starting_with(/<!\[/).until_after(/]>/),processing:L.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var j=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=L.matching(j).until_after(j)}};d.prototype=new a,d.prototype._is_comment=function(l){return!1},d.prototype._is_opening=function(l){return l.type===_.TAG_OPEN||l.type===_.CONTROL_FLOW_OPEN},d.prototype._is_closing=function(l,N){return l.type===_.TAG_CLOSE&&N&&((l.text===">"||l.text==="/>")&&N.text[0]==="<"||l.text==="}}"&&N.text[0]==="{"&&N.text[1]==="{")||l.type===_.CONTROL_FLOW_CLOSE&&l.text==="}"&&N.text.endsWith("{")},d.prototype._reset=function(){this._current_tag_name=""},d.prototype._get_next_token=function(l,N){var R=null;this._readWhitespace();var L=this._input.peek();return L===null?this._create_token(_.EOF,""):(R=R||this._read_open_handlebars(L,N),R=R||this._read_attribute(L,l,N),R=R||this._read_close(L,N),R=R||this._read_script_and_style(L,l),R=R||this._read_control_flows(L,N),R=R||this._read_raw_content(L,l,N),R=R||this._read_content_word(L,N),R=R||this._read_comment_or_cdata(L),R=R||this._read_processing(L),R=R||this._read_open(L,N),R=R||this._create_token(_.UNKNOWN,this._input.next()),R)},d.prototype._read_comment_or_cdata=function(l){var N=null,R=null,L=null;if(l==="<"){var j=this._input.peek(1);j==="!"&&(R=this.__patterns.comment.read(),R?(L=v.get_directives(R),L&&L.ignore==="start"&&(R+=v.readIgnored(this._input))):R=this.__patterns.cdata.read()),R&&(N=this._create_token(_.COMMENT,R),N.directives=L)}return N},d.prototype._read_processing=function(l){var N=null,R=null,L=null;if(l==="<"){var j=this._input.peek(1);(j==="!"||j==="?")&&(R=this.__patterns.conditional_comment.read(),R=R||this.__patterns.processing.read()),R&&(N=this._create_token(_.COMMENT,R),N.directives=L)}return N},d.prototype._read_open=function(l,N){var R=null,L=null;return(!N||N.type===_.CONTROL_FLOW_OPEN)&&l==="<"&&(R=this._input.next(),this._input.peek()==="/"&&(R+=this._input.next()),R+=this.__patterns.element_name.read(),L=this._create_token(_.TAG_OPEN,R)),L},d.prototype._read_open_handlebars=function(l,N){var R=null,L=null;return(!N||N.type===_.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&l==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(R=this.__patterns.handlebars_comment.read(),R=R||this.__patterns.handlebars.read(),L=this._create_token(_.COMMENT,R)):(R=this.__patterns.handlebars_open.read(),L=this._create_token(_.TAG_OPEN,R))),L},d.prototype._read_control_flows=function(l,N){var R="",L=null;if(!this._options.templating.includes("angular"))return L;if(l==="@"){if(R=this.__patterns.angular_control_flow_start.read(),R==="")return L;for(var j=R.endsWith("(")?1:0,J=0;!(R.endsWith("{")&&j===J);){var B=this._input.next();if(B===null)break;B==="("?j++:B===")"&&J++,R+=B}L=this._create_token(_.CONTROL_FLOW_OPEN,R)}else l==="}"&&N&&N.type===_.CONTROL_FLOW_OPEN&&(R=this._input.next(),L=this._create_token(_.CONTROL_FLOW_CLOSE,R));return L},d.prototype._read_close=function(l,N){var R=null,L=null;return N&&N.type===_.TAG_OPEN&&(N.text[0]==="<"&&(l===">"||l==="/"&&this._input.peek(1)===">")?(R=this._input.next(),l==="/"&&(R+=this._input.next()),L=this._create_token(_.TAG_CLOSE,R)):N.text[0]==="{"&&l==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),L=this._create_token(_.TAG_CLOSE,"}}"))),L},d.prototype._read_attribute=function(l,N,R){var L=null,j="";if(R&&R.text[0]==="<")if(l==="=")L=this._create_token(_.EQUALS,this._input.next());else if(l==='"'||l==="'"){var J=this._input.next();l==='"'?J+=this.__patterns.double_quote.read():J+=this.__patterns.single_quote.read(),L=this._create_token(_.VALUE,J)}else j=this.__patterns.attribute.read(),j&&(N.type===_.EQUALS?L=this._create_token(_.VALUE,j):L=this._create_token(_.ATTRIBUTE,j));return L},d.prototype._is_content_unformatted=function(l){return this._options.void_elements.indexOf(l)===-1&&(this._options.content_unformatted.indexOf(l)!==-1||this._options.unformatted.indexOf(l)!==-1)},d.prototype._read_raw_content=function(l,N,R){var L="";if(R&&R.text[0]==="{")L=this.__patterns.handlebars_raw_close.read();else if(N.type===_.TAG_CLOSE&&N.opened.text[0]==="<"&&N.text[0]!=="/"){var j=N.opened.text.substr(1).toLowerCase();this._is_content_unformatted(j)&&(L=this._input.readUntil(new RegExp("</"+j+"[\\n\\r\\t ]*?>","ig")))}return L?this._create_token(_.TEXT,L):null},d.prototype._read_script_and_style=function(l,N){if(N.type===_.TAG_CLOSE&&N.opened.text[0]==="<"&&N.text[0]!=="/"){var R=N.opened.text.substr(1).toLowerCase();if(R==="script"||R==="style"){var L=this._read_comment_or_cdata(l);if(L)return L.type=_.TEXT,L;var j=this._input.readUntil(new RegExp("</"+R+"[\\n\\r\\t ]*?>","ig"));if(j)return this._create_token(_.TEXT,j)}}return null},d.prototype._read_content_word=function(l,N){var R="";return this._options.unformatted_content_delimiter&&l===this._options.unformatted_content_delimiter[0]&&(R=this.__patterns.unformatted_content_delimiter.read()),R||(R=N&&N.type===_.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),R?this._create_token(_.TEXT,R):null},f.exports.Tokenizer=d,f.exports.TOKEN=_}],$={};function e(f){var t=$[f];if(t!==void 0)return t.exports;var r=$[f]={exports:{}};return H[f](r,r.exports,e),r.exports}var s=e(18);U=s})();var Q=U;if(1)P=[u,u(58553),u(87804)],O=function(H){var $=u(58553),e=u(87804);return{html_beautify:function(s,f){return Q(s,f,$.js_beautify,e.css_beautify)}}}.apply(Ze,P),O!==void 0&&(Bt.exports=O);else var V,p})()},58553:function(Bt,Ze){var u,P;(function(){var O;(function(){"use strict";var Q=[function($,e,s){var f=s(1).Beautifier,t=s(5).Options;function r(a,o){var m=new f(a,o);return m.beautify()}$.exports=r,$.exports.defaultOptions=function(){return new t}},function($,e,s){var f=s(2).Output,t=s(3).Token,r=s(4),a=s(5).Options,o=s(7).Tokenizer,m=s(7).line_starters,x=s(7).positionable_operators,E=s(7).TOKEN;function _(i,y){return y.indexOf(i)!==-1}function v(i){return i.replace(/^\s+/g,"")}function d(i){for(var y={},K=0;K<i.length;K++)y[i[K].replace(/-/g,"_")]=i[K];return y}function l(i,y){return i&&i.type===E.RESERVED&&i.text===y}function N(i,y){return i&&i.type===E.RESERVED&&_(i.text,y)}var R=["case","return","do","if","throw","else","await","break","continue","async"],L=["before-newline","after-newline","preserve-newline"],j=d(L),J=[j.before_newline,j.preserve_newline],B={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ge(i,y){y.multiline_frame||y.mode===B.ForInitializer||y.mode===B.Conditional||i.remove_indent(y.start_line_index)}function g(i){i=i.replace(r.allLineBreaks,`
|
|
`);for(var y=[],K=i.indexOf(`
|
|
`);K!==-1;)y.push(i.substring(0,K)),i=i.substring(K+1),K=i.indexOf(`
|
|
`);return i.length&&y.push(i),y}function h(i){return i===B.ArrayLiteral}function b(i){return _(i,[B.Expression,B.ForInitializer,B.Conditional])}function C(i,y){for(var K=0;K<i.length;K++){var le=i[K].trim();if(le.charAt(0)!==y)return!1}return!0}function I(i,y){for(var K=0,le=i.length,xe;K<le;K++)if(xe=i[K],xe&&xe.indexOf(y)!==0)return!1;return!0}function w(i,y){y=y||{},this._source_text=i||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new a(y)}w.prototype.create_flags=function(i,y){var K=0;i&&(K=i.indentation_level,!this._output.just_added_newline()&&i.line_indent_level>K&&(K=i.line_indent_level));var le={mode:y,parent:i,last_token:i?i.last_token:new t(E.START_BLOCK,""),last_word:i?i.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:K,alignment:0,line_indent_level:i?i.line_indent_level:K,start_line_index:this._output.get_line_number(),ternary_depth:0};return le},w.prototype._reset=function(i){var y=i.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new f(this._options,y),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(B.BlockStatement);var K=new o(i,this._options);return this._tokens=K.tokenize(),i},w.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var i,y=this._reset(this._source_text),K=this._options.eol;this._options.eol==="auto"&&(K=`
|
|
`,y&&r.lineBreak.test(y||"")&&(K=y.match(r.lineBreak)[0]));for(var le=this._tokens.next();le;)this.handle_token(le),this._last_last_text=this._flags.last_token.text,this._flags.last_token=le,le=this._tokens.next();return i=this._output.get_code(K),i},w.prototype.handle_token=function(i,y){i.type===E.START_EXPR?this.handle_start_expr(i):i.type===E.END_EXPR?this.handle_end_expr(i):i.type===E.START_BLOCK?this.handle_start_block(i):i.type===E.END_BLOCK?this.handle_end_block(i):i.type===E.WORD?this.handle_word(i):i.type===E.RESERVED?this.handle_word(i):i.type===E.SEMICOLON?this.handle_semicolon(i):i.type===E.STRING?this.handle_string(i):i.type===E.EQUALS?this.handle_equals(i):i.type===E.OPERATOR?this.handle_operator(i):i.type===E.COMMA?this.handle_comma(i):i.type===E.BLOCK_COMMENT?this.handle_block_comment(i,y):i.type===E.COMMENT?this.handle_comment(i,y):i.type===E.DOT?this.handle_dot(i):i.type===E.EOF?this.handle_eof(i):i.type===E.UNKNOWN?this.handle_unknown(i,y):this.handle_unknown(i,y)},w.prototype.handle_whitespace_and_comments=function(i,y){var K=i.newlines,le=this._options.keep_array_indentation&&h(this._flags.mode);if(i.comments_before)for(var xe=i.comments_before.next();xe;)this.handle_whitespace_and_comments(xe,y),this.handle_token(xe,y),xe=i.comments_before.next();if(le)for(var Le=0;Le<K;Le+=1)this.print_newline(Le>0,y);else if(this._options.max_preserve_newlines&&K>this._options.max_preserve_newlines&&(K=this._options.max_preserve_newlines),this._options.preserve_newlines&&K>1){this.print_newline(!1,y);for(var je=1;je<K;je+=1)this.print_newline(!0,y)}};var n=["async","break","continue","return","throw","yield"];w.prototype.allow_wrap_or_preserved_newline=function(i,y){if(y=y===void 0?!1:y,!this._output.just_added_newline()){var K=this._options.preserve_newlines&&i.newlines||y,le=_(this._flags.last_token.text,x)||_(i.text,x);if(le){var xe=_(this._flags.last_token.text,x)&&_(this._options.operator_position,J)||_(i.text,x);K=K&&xe}if(K)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(N(this._flags.last_token,n))return;this._output.set_wrap_point()}}},w.prototype.print_newline=function(i,y){if(!y&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==E.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var K=this._tokens.peek();this._flags.mode===B.Statement&&!(this._flags.if_block&&l(K,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(i)&&(this._flags.multiline_frame=!0)},w.prototype.print_token_line_indentation=function(i){this._output.just_added_newline()&&(this._options.keep_array_indentation&&i.newlines&&(i.text==="["||h(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(i.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},w.prototype.print_token=function(i){if(this._output.raw){this._output.add_raw_token(i);return}if(this._options.comma_first&&i.previous&&i.previous.type===E.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var y=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(y),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(i),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(i),this._output.non_breaking_space=!0,this._output.add_token(i.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},w.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},w.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},w.prototype.set_mode=function(i){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,i),this._flags=this.create_flags(this._previous_flags,i),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},w.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===B.Statement&&ge(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},w.prototype.start_of_object_property=function(){return this._flags.parent.mode===B.ObjectLiteral&&this._flags.mode===B.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||N(this._flags.last_token,["get","set"]))},w.prototype.start_of_statement=function(i){var y=!1;return y=y||N(this._flags.last_token,["var","let","const"])&&i.type===E.WORD,y=y||l(this._flags.last_token,"do"),y=y||!(this._flags.parent.mode===B.ObjectLiteral&&this._flags.mode===B.Statement)&&N(this._flags.last_token,n)&&!i.newlines,y=y||l(this._flags.last_token,"else")&&!(l(i,"if")&&!i.comments_before),y=y||this._flags.last_token.type===E.END_EXPR&&(this._previous_flags.mode===B.ForInitializer||this._previous_flags.mode===B.Conditional),y=y||this._flags.last_token.type===E.WORD&&this._flags.mode===B.BlockStatement&&!this._flags.in_case&&!(i.text==="--"||i.text==="++")&&this._last_last_text!=="function"&&i.type!==E.WORD&&i.type!==E.RESERVED,y=y||this._flags.mode===B.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||N(this._flags.last_token,["get","set"])),y?(this.set_mode(B.Statement),this.indent(),this.handle_whitespace_and_comments(i,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i,N(i,["do","for","if","while"])),!0):!1},w.prototype.handle_start_expr=function(i){this.start_of_statement(i)||this.handle_whitespace_and_comments(i);var y=B.Expression;if(i.text==="["){if(this._flags.last_token.type===E.WORD||this._flags.last_token.text===")"){N(this._flags.last_token,m)&&(this._output.space_before_token=!0),this.print_token(i),this.set_mode(y),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}y=B.ArrayLiteral,h(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,[E.START_EXPR,E.END_EXPR,E.WORD,E.OPERATOR,E.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===E.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,y=B.ForInitializer):_(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,y=B.Conditional):_(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&i.whitespace_before===""?this._output.space_before_token=!1:(_(this._flags.last_token.text,m)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i);else if(this._flags.last_token.type===E.WORD){this._output.space_before_token=!1;var K=this._tokens.peek(-3);if(this._options.space_after_named_function&&K){var le=this._tokens.peek(-4);N(K,["async","function"])||K.text==="*"&&N(le,["async","function"])?this._output.space_before_token=!0:this._flags.mode===B.ObjectLiteral?(K.text==="{"||K.text===","||K.text==="*"&&(le.text==="{"||le.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(i);(this._flags.last_token.type===E.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(_(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===E.START_BLOCK?this.print_newline():(this._flags.last_token.type===E.END_EXPR||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===E.COMMA)&&this.allow_wrap_or_preserved_newline(i,i.newlines),this.print_token(i),this.set_mode(y),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},w.prototype.handle_end_expr=function(i){for(;this._flags.mode===B.Statement;)this.restore_mode();this.handle_whitespace_and_comments(i),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(i,i.text==="]"&&h(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===E.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(i),this.restore_mode(),ge(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===B.Conditional&&(this._previous_flags.mode=B.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},w.prototype.handle_start_block=function(i){this.handle_whitespace_and_comments(i);var y=this._tokens.peek(),K=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===E.END_EXPR?(this.set_mode(B.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(B.BlockStatement):K&&(_(K.text,[":",","])&&_(y.type,[E.STRING,E.WORD,E.RESERVED])||_(y.text,["get","set","..."])&&_(K.type,[E.WORD,E.RESERVED]))?_(this._last_last_text,["class","interface"])&&!_(K.text,[":",","])?this.set_mode(B.BlockStatement):this.set_mode(B.ObjectLiteral):this._flags.last_token.type===E.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(B.BlockStatement):_(this._flags.last_token.type,[E.EQUALS,E.START_EXPR,E.COMMA,E.OPERATOR])||N(this._flags.last_token,["return","throw","import","default"])?this.set_mode(B.ObjectLiteral):this.set_mode(B.BlockStatement),this._flags.last_token&&N(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var le=!y.comments_before&&y.text==="}",xe=le&&this._flags.last_word==="function"&&this._flags.last_token.type===E.END_EXPR;if(this._options.brace_preserve_inline){var Le=0,je=null;this._flags.inline_frame=!0;do if(Le+=1,je=this._tokens.peek(Le-1),je.newlines){this._flags.inline_frame=!1;break}while(je.type!==E.EOF&&!(je.type===E.END_BLOCK&&je.opened===i))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&i.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==E.OPERATOR&&(xe||this._flags.last_token.type===E.EQUALS||N(this._flags.last_token,R)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(h(this._previous_flags.mode)&&(this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.COMMA)&&((this._flags.last_token.type===E.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(i),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==E.OPERATOR&&this._flags.last_token.type!==E.START_EXPR&&(_(this._flags.last_token.type,[E.START_BLOCK,E.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(i),this.indent(),!le&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},w.prototype.handle_end_block=function(i){for(this.handle_whitespace_and_comments(i);this._flags.mode===B.Statement;)this.restore_mode();var y=this._flags.last_token.type===E.START_BLOCK;this._flags.inline_frame&&!y?this._output.space_before_token=!0:this._options.brace_style==="expand"?y||this.print_newline():y||(h(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(i)},w.prototype.handle_word=function(i){if(i.type===E.RESERVED){if(_(i.text,["set","get"])&&this._flags.mode!==B.ObjectLiteral)i.type=E.WORD;else if(i.text==="import"&&_(this._tokens.peek().text,["(","."]))i.type=E.WORD;else if(_(i.text,["as","from"])&&!this._flags.import_block)i.type=E.WORD;else if(this._flags.mode===B.ObjectLiteral){var y=this._tokens.peek();y.text===":"&&(i.type=E.WORD)}}if(this.start_of_statement(i)?N(this._flags.last_token,["var","let","const"])&&i.type===E.WORD&&(this._flags.declaration_statement=!0):i.newlines&&!b(this._flags.mode)&&(this._flags.last_token.type!==E.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==E.EQUALS&&(this._options.preserve_newlines||!N(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(i),this.print_newline()):this.handle_whitespace_and_comments(i),this._flags.do_block&&!this._flags.do_while)if(l(i,"while")){this._output.space_before_token=!0,this.print_token(i),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&l(i,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===B.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&N(i,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(i),this._flags.in_case=!0;return}if((this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR)&&!this.start_of_object_property()&&!(_(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===B.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(i),l(i,"function")){(_(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(_(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===E.OPERATOR))&&!this._output.just_added_blankline()&&!i.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD?N(this._flags.last_token,["get","set","new","export"])||N(this._flags.last_token,n)?this._output.space_before_token=!0:l(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===E.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(b(this._flags.mode)||h(this._flags.mode))||this.print_newline(),this.print_token(i),this._flags.last_word=i.text;return}var K="NONE";if(this._flags.last_token.type===E.END_BLOCK?this._previous_flags.inline_frame?K="SPACE":N(i,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&i.newlines?K="NEWLINE":(K="SPACE",this._output.space_before_token=!0):K="NEWLINE":this._flags.last_token.type===E.SEMICOLON&&this._flags.mode===B.BlockStatement?K="NEWLINE":this._flags.last_token.type===E.SEMICOLON&&b(this._flags.mode)?K="SPACE":this._flags.last_token.type===E.STRING?K="NEWLINE":this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD||this._flags.last_token.text==="*"&&(_(this._last_last_text,["function","yield"])||this._flags.mode===B.ObjectLiteral&&_(this._last_last_text,["{",","]))?K="SPACE":this._flags.last_token.type===E.START_BLOCK?this._flags.inline_frame?K="SPACE":K="NEWLINE":this._flags.last_token.type===E.END_EXPR&&(this._output.space_before_token=!0,K="NEWLINE"),N(i,m)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?K="SPACE":K="NEWLINE"),N(i,["else","catch","finally"]))if((!(this._flags.last_token.type===E.END_BLOCK&&this._previous_flags.mode===B.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&i.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var le=this._output.current_line;le.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else K==="NEWLINE"?N(this._flags.last_token,R)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&N(i,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==E.END_EXPR?(this._flags.last_token.type!==E.START_EXPR||!N(i,["var","let","const"]))&&this._flags.last_token.text!==":"&&(l(i,"if")&&l(i.previous,"else")?this._output.space_before_token=!0:this.print_newline()):N(i,m)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&h(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():K==="SPACE"&&(this._output.space_before_token=!0);i.previous&&(i.previous.type===E.WORD||i.previous.type===E.RESERVED)&&(this._output.space_before_token=!0),this.print_token(i),this._flags.last_word=i.text,i.type===E.RESERVED&&(i.text==="do"?this._flags.do_block=!0:i.text==="if"?this._flags.if_block=!0:i.text==="import"?this._flags.import_block=!0:this._flags.import_block&&l(i,"from")&&(this._flags.import_block=!1))},w.prototype.handle_semicolon=function(i){this.start_of_statement(i)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(i);for(var y=this._tokens.peek();this._flags.mode===B.Statement&&!(this._flags.if_block&&l(y,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(i)},w.prototype.handle_string=function(i){i.text.startsWith("`")&&i.newlines===0&&i.whitespace_before===""&&(i.previous.text===")"||this._flags.last_token.type===E.WORD)||(this.start_of_statement(i)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(i),this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i):i.text.startsWith("`")&&this._flags.last_token.type===E.END_EXPR&&(i.previous.text==="]"||i.previous.text===")")&&i.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(i)},w.prototype.handle_equals=function(i){this.start_of_statement(i)||this.handle_whitespace_and_comments(i),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(i),this._output.space_before_token=!0},w.prototype.handle_comma=function(i){this.handle_whitespace_and_comments(i,!0),this.print_token(i),this._output.space_before_token=!0,this._flags.declaration_statement?(b(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(i)):this._flags.mode===B.ObjectLiteral||this._flags.mode===B.Statement&&this._flags.parent.mode===B.ObjectLiteral?(this._flags.mode===B.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(i)},w.prototype.handle_operator=function(i){var y=i.text==="*"&&(N(this._flags.last_token,["function","yield"])||_(this._flags.last_token.type,[E.START_BLOCK,E.COMMA,E.END_BLOCK,E.SEMICOLON])),K=_(i.text,["-","+"])&&(_(this._flags.last_token.type,[E.START_BLOCK,E.START_EXPR,E.EQUALS,E.OPERATOR])||_(this._flags.last_token.text,m)||this._flags.last_token.text===",");if(!this.start_of_statement(i)){var le=!y;this.handle_whitespace_and_comments(i,le)}if(i.text==="*"&&this._flags.last_token.type===E.DOT){this.print_token(i);return}if(i.text==="::"){this.print_token(i);return}if(_(i.text,["-","+"])&&this.start_of_object_property()){this.print_token(i);return}if(this._flags.last_token.type===E.OPERATOR&&_(this._options.operator_position,J)&&this.allow_wrap_or_preserved_newline(i),i.text===":"&&this._flags.in_case){this.print_token(i),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==E.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var xe=!0,Le=!0,je=!1;if(i.text===":"?this._flags.ternary_depth===0?xe=!1:(this._flags.ternary_depth-=1,je=!0):i.text==="?"&&(this._flags.ternary_depth+=1),!K&&!y&&this._options.preserve_newlines&&_(i.text,x)){var it=i.text===":",zt=it&&je,ye=it&&!je;switch(this._options.operator_position){case j.before_newline:this._output.space_before_token=!ye,this.print_token(i),(!it||zt)&&this.allow_wrap_or_preserved_newline(i),this._output.space_before_token=!0;return;case j.after_newline:this._output.space_before_token=!0,!it||zt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(i):this._output.space_before_token=!1,this.print_token(i),this._output.space_before_token=!0;return;case j.preserve_newline:ye||this.allow_wrap_or_preserved_newline(i),xe=!(this._output.just_added_newline()||ye),this._output.space_before_token=xe,this.print_token(i),this._output.space_before_token=!0;return}}if(y){this.allow_wrap_or_preserved_newline(i),xe=!1;var Ye=this._tokens.peek();Le=Ye&&_(Ye.type,[E.WORD,E.RESERVED])}else if(i.text==="...")this.allow_wrap_or_preserved_newline(i),xe=this._flags.last_token.type===E.START_BLOCK,Le=!1;else if(_(i.text,["--","++","!","~"])||K){if((this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR)&&this.allow_wrap_or_preserved_newline(i),xe=!1,Le=!1,i.newlines&&(i.text==="--"||i.text==="++"||i.text==="~")){var Mt=N(this._flags.last_token,R)&&i.newlines;Mt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Mt,!0)}this._flags.last_token.text===";"&&b(this._flags.mode)&&(xe=!0),this._flags.last_token.type===E.RESERVED?xe=!0:this._flags.last_token.type===E.END_EXPR?xe=!(this._flags.last_token.text==="]"&&(i.text==="--"||i.text==="++")):this._flags.last_token.type===E.OPERATOR&&(xe=_(i.text,["--","-","++","+"])&&_(this._flags.last_token.text,["--","-","++","+"]),_(i.text,["+","-"])&&_(this._flags.last_token.text,["--","++"])&&(Le=!0)),(this._flags.mode===B.BlockStatement&&!this._flags.inline_frame||this._flags.mode===B.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||xe,this.print_token(i),this._output.space_before_token=Le},w.prototype.handle_block_comment=function(i,y){if(this._output.raw){this._output.add_raw_token(i),i.directives&&i.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(i.directives){this.print_newline(!1,y),this.print_token(i),i.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!r.newline.test(i.text)&&!i.newlines){this._output.space_before_token=!0,this.print_token(i),this._output.space_before_token=!0;return}else this.print_block_commment(i,y)},w.prototype.print_block_commment=function(i,y){var K=g(i.text),le,xe=!1,Le=!1,je=i.whitespace_before,it=je.length;if(this.print_newline(!1,y),this.print_token_line_indentation(i),this._output.add_token(K[0]),this.print_newline(!1,y),K.length>1){for(K=K.slice(1),xe=C(K,"*"),Le=I(K,je),xe&&(this._flags.alignment=1),le=0;le<K.length;le++)xe?(this.print_token_line_indentation(i),this._output.add_token(v(K[le]))):Le&&K[le]?(this.print_token_line_indentation(i),this._output.add_token(K[le].substring(it))):(this._output.current_line.set_indent(-1),this._output.add_token(K[le])),this.print_newline(!1,y);this._flags.alignment=0}},w.prototype.handle_comment=function(i,y){i.newlines?this.print_newline(!1,y):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(i),this.print_newline(!1,y)},w.prototype.handle_dot=function(i){this.start_of_statement(i)||this.handle_whitespace_and_comments(i,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),N(this._flags.last_token,R)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(i,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(i)},w.prototype.handle_unknown=function(i,y){this.print_token(i),i.text[i.text.length-1]===`
|
|
`&&this.print_newline(!1,y)},w.prototype.handle_eof=function(i){for(;this._flags.mode===B.Statement;)this.restore_mode();this.handle_whitespace_and_comments(i)},$.exports.Beautifier=w},function($){function e(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},e.prototype.has_match=function(t){for(var r=this.__items.length-1;r>=0;r--)if(this.__items[r].match(t))return!0;return!1},e.prototype.set_indent=function(t,r){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=r||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var r=t.lastIndexOf(`
|
|
`);r!==-1?this.__character_count=t.length-r:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function s(t,r){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),r=r||"",t.indent_level>0&&(r=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=r,this.__base_string_length=r.length}s.prototype.get_indent_size=function(t,r){var a=this.__base_string_length;return r=r||0,t<0&&(a=0),a+=t*this.__indent_size,a+=r,a},s.prototype.get_indent_string=function(t,r){var a=this.__base_string;return r=r||0,t<0&&(t=0,a=""),r+=t*this.__indent_size,this.__ensure_cache(r),a+=this.__cache[r],a},s.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},s.prototype.__add_column=function(){var t=this.__cache.length,r=0,a="";this.__indent_size&&t>=this.__indent_size&&(r=Math.floor(t/this.__indent_size),t-=r*this.__indent_size,a=new Array(r+1).join(this.__indent_string)),t&&(a+=new Array(t+1).join(" ")),this.__cache.push(a)};function 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 a=this.__lines.join(`
|
|
`);return t!==`
|
|
`&&(a=a.replace(/[\n]/g,t)),a},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 a=this.__lines.length-2;a>=0;){var o=this.__lines[a];if(o.is_empty())break;if(o.item(0).indexOf(t)!==0&&o.item(-1)!==r){this.__lines.splice(a+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}a--}},$.exports.Output=f},function($){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}$.exports.Token=e},function($,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",a="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",o="(?:"+a+"|["+s+t+"])",m="(?:"+a+"|["+f+t+r+"])*";e.identifier=new RegExp(o+m,"g"),e.identifierStart=new RegExp(o),e.identifierMatch=new RegExp("(?:"+a+"|["+f+t+r+"])+");var x=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp(`\r
|
|
|`+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")},function($,e,s){var f=s(6).Options,t=["before-newline","after-newline","preserve-newline"];function r(a){f.call(this,a,"js");var o=this.raw_options.brace_style||null;o==="expand-strict"?this.raw_options.brace_style="expand":o==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var m=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var x=0;x<m.length;x++)m[x]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=m[x];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",t),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}r.prototype=new f,$.exports.Options=r},function($){function e(t,r){this.raw_options=s(t,r),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(t,r){var a=this.raw_options[t],o=r||[];return typeof a=="object"?a!==null&&typeof a.concat=="function"&&(o=a.concat()):typeof a=="string"&&(o=a.split(/[^a-zA-Z0-9_\/\-]+/)),o},e.prototype._get_boolean=function(t,r){var a=this.raw_options[t],o=a===void 0?!!r:!!a;return o},e.prototype._get_characters=function(t,r){var a=this.raw_options[t],o=r||"";return typeof a=="string"&&(o=a.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),o},e.prototype._get_number=function(t,r){var a=this.raw_options[t];r=parseInt(r,10),isNaN(r)&&(r=0);var o=parseInt(a,10);return isNaN(o)&&(o=r),o},e.prototype._get_selection=function(t,r,a){var o=this._get_selection_list(t,r,a);if(o.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values:
|
|
`+r+`
|
|
You passed in: '`+this.raw_options[t]+"'");return o[0]},e.prototype._get_selection_list=function(t,r,a){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(a=a||[r[0]],!this._is_valid_selection(a,r))throw new Error("Invalid Default Value!");var o=this._get_array(t,a);if(!this._is_valid_selection(o,r))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values:
|
|
`+r+`
|
|
You passed in: '`+this.raw_options[t]+"'");return o},e.prototype._is_valid_selection=function(t,r){return t.length&&r.length&&!t.some(function(a){return r.indexOf(a)===-1})};function s(t,r){var a={};t=f(t);var o;for(o in t)o!==r&&(a[o]=t[o]);if(r&&t[r])for(o in t[r])a[o]=t[r][o];return a}function f(t){var r={},a;for(a in t){var o=a.replace(/-/g,"_");r[o]=t[a]}return r}$.exports.Options=e,$.exports.normalizeOpts=f,$.exports.mergeOpts=s},function($,e,s){var f=s(8).InputScanner,t=s(9).Tokenizer,r=s(9).TOKEN,a=s(13).Directives,o=s(4),m=s(12).Pattern,x=s(14).TemplatablePattern;function E(C,I){return I.indexOf(C)!==-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},v=new a(/\/\*/,/\*\//),d=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,l=/[0-9]/,N=/[^\d\.]/,R=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),L=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";L=L.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),L="\\?\\.(?!\\d) "+L,L=L.replace(/ /g,"|");var j=new RegExp(L),J="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),B=J.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),ge=new RegExp("^(?:"+B.join("|")+")$"),g,h=function(C,I){t.call(this,C,I),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var w=new m(this._input),n=new x(this._input).read_options(this._options);this.__patterns={template:n,identifier:n.starting_with(o.identifier).matching(o.identifierMatch),number:w.matching(d),punct:w.matching(j),comment:w.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:w.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:w.matching(/<!--/),html_comment_end:w.matching(/-->/),include:w.starting_with(/#include/).until_after(o.lineBreak),shebang:w.starting_with(/#!/).until_after(o.lineBreak),xml:w.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:n.until(/['\\\n\r\u2028\u2029]/),double_quote:n.until(/["\\\n\r\u2028\u2029]/),template_text:n.until(/[`\\$]/),template_expression:n.until(/[`}\\]/)}};h.prototype=new t,h.prototype._is_comment=function(C){return C.type===_.COMMENT||C.type===_.BLOCK_COMMENT||C.type===_.UNKNOWN},h.prototype._is_opening=function(C){return C.type===_.START_BLOCK||C.type===_.START_EXPR},h.prototype._is_closing=function(C,I){return(C.type===_.END_BLOCK||C.type===_.END_EXPR)&&I&&(C.text==="]"&&I.text==="["||C.text===")"&&I.text==="("||C.text==="}"&&I.text==="{")},h.prototype._reset=function(){g=!1},h.prototype._get_next_token=function(C,I){var w=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(_.EOF,""):(w=w||this._read_non_javascript(n),w=w||this._read_string(n),w=w||this._read_pair(n,this._input.peek(1)),w=w||this._read_word(C),w=w||this._read_singles(n),w=w||this._read_comment(n),w=w||this._read_regexp(n,C),w=w||this._read_xml(n,C),w=w||this._read_punctuation(),w=w||this._create_token(_.UNKNOWN,this._input.next()),w)},h.prototype._read_word=function(C){var I;if(I=this.__patterns.identifier.read(),I!=="")return I=I.replace(o.allLineBreaks,`
|
|
`),!(C.type===_.DOT||C.type===_.RESERVED&&(C.text==="set"||C.text==="get"))&&ge.test(I)?(I==="in"||I==="of")&&(C.type===_.WORD||C.type===_.STRING)?this._create_token(_.OPERATOR,I):this._create_token(_.RESERVED,I):this._create_token(_.WORD,I);if(I=this.__patterns.number.read(),I!=="")return this._create_token(_.WORD,I)},h.prototype._read_singles=function(C){var I=null;return C==="("||C==="["?I=this._create_token(_.START_EXPR,C):C===")"||C==="]"?I=this._create_token(_.END_EXPR,C):C==="{"?I=this._create_token(_.START_BLOCK,C):C==="}"?I=this._create_token(_.END_BLOCK,C):C===";"?I=this._create_token(_.SEMICOLON,C):C==="."&&N.test(this._input.peek(1))?I=this._create_token(_.DOT,C):C===","&&(I=this._create_token(_.COMMA,C)),I&&this._input.next(),I},h.prototype._read_pair=function(C,I){var w=null;return C==="#"&&I==="{"&&(w=this._create_token(_.START_BLOCK,C+I)),w&&(this._input.next(),this._input.next()),w},h.prototype._read_punctuation=function(){var C=this.__patterns.punct.read();if(C!=="")return C==="="?this._create_token(_.EQUALS,C):C==="?."?this._create_token(_.DOT,C):this._create_token(_.OPERATOR,C)},h.prototype._read_non_javascript=function(C){var I="";if(C==="#"){if(this._is_first_token()&&(I=this.__patterns.shebang.read(),I))return this._create_token(_.UNKNOWN,I.trim()+`
|
|
`);if(I=this.__patterns.include.read(),I)return this._create_token(_.UNKNOWN,I.trim()+`
|
|
`);C=this._input.next();var w="#";if(this._input.hasNext()&&this._input.testChar(l)){do C=this._input.next(),w+=C;while(this._input.hasNext()&&C!=="#"&&C!=="=");return C==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(w+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(w+="{}",this._input.next(),this._input.next())),this._create_token(_.WORD,w)}this._input.back()}else if(C==="<"&&this._is_first_token()){if(I=this.__patterns.html_comment_start.read(),I){for(;this._input.hasNext()&&!this._input.testChar(o.newline);)I+=this._input.next();return g=!0,this._create_token(_.COMMENT,I)}}else if(g&&C==="-"&&(I=this.__patterns.html_comment_end.read(),I))return g=!1,this._create_token(_.COMMENT,I);return null},h.prototype._read_comment=function(C){var I=null;if(C==="/"){var w="";if(this._input.peek(1)==="*"){w=this.__patterns.block_comment.read();var n=v.get_directives(w);n&&n.ignore==="start"&&(w+=v.readIgnored(this._input)),w=w.replace(o.allLineBreaks,`
|
|
`),I=this._create_token(_.BLOCK_COMMENT,w),I.directives=n}else this._input.peek(1)==="/"&&(w=this.__patterns.comment.read(),I=this._create_token(_.COMMENT,w))}return I},h.prototype._read_string=function(C){if(C==="`"||C==="'"||C==='"'){var I=this._input.next();return this.has_char_escapes=!1,C==="`"?I+=this._read_string_recursive("`",!0,"${"):I+=this._read_string_recursive(C),this.has_char_escapes&&this._options.unescape_strings&&(I=b(I)),this._input.peek()===C&&(I+=this._input.next()),I=I.replace(o.allLineBreaks,`
|
|
`),this._create_token(_.STRING,I)}return null},h.prototype._allow_regexp_or_xml=function(C){return C.type===_.RESERVED&&E(C.text,["return","case","throw","else","do","typeof","yield"])||C.type===_.END_EXPR&&C.text===")"&&C.opened.previous.type===_.RESERVED&&E(C.opened.previous.text,["if","while","for"])||E(C.type,[_.COMMENT,_.START_EXPR,_.START_BLOCK,_.START,_.END_BLOCK,_.OPERATOR,_.EQUALS,_.EOF,_.SEMICOLON,_.COMMA])},h.prototype._read_regexp=function(C,I){if(C==="/"&&this._allow_regexp_or_xml(I)){for(var w=this._input.next(),n=!1,i=!1;this._input.hasNext()&&(n||i||this._input.peek()!==C)&&!this._input.testChar(o.newline);)w+=this._input.peek(),n?n=!1:(n=this._input.peek()==="\\",this._input.peek()==="["?i=!0:this._input.peek()==="]"&&(i=!1)),this._input.next();return this._input.peek()===C&&(w+=this._input.next(),w+=this._input.read(o.identifier)),this._create_token(_.STRING,w)}return null},h.prototype._read_xml=function(C,I){if(this._options.e4x&&C==="<"&&this._allow_regexp_or_xml(I)){var w="",n=this.__patterns.xml.read_match();if(n){for(var i=n[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),y=i.indexOf("{")===0,K=0;n;){var le=!!n[1],xe=n[2],Le=!!n[n.length-1]||xe.slice(0,8)==="![CDATA[";if(!Le&&(xe===i||y&&xe.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(le?--K:++K),w+=n[0],K<=0)break;n=this.__patterns.xml.read_match()}return n||(w+=this._input.match(/[\s\S]*/g)[0]),w=w.replace(o.allLineBreaks,`
|
|
`),this._create_token(_.STRING,w)}}return null};function b(C){for(var I="",w=0,n=new f(C),i=null;n.hasNext();)if(i=n.match(/([\s]|[^\\]|\\\\)+/g),i&&(I+=i[0]),n.peek()==="\\"){if(n.next(),n.peek()==="x")i=n.match(/x([0-9A-Fa-f]{2})/g);else if(n.peek()==="u")i=n.match(/u([0-9A-Fa-f]{4})/g),i||(i=n.match(/u\{([0-9A-Fa-f]+)\}/g));else{I+="\\",n.hasNext()&&(I+=n.next());continue}if(!i||(w=parseInt(i[1],16),w>126&&w<=255&&i[0].indexOf("x")===0))return C;w>=0&&w<32||w>1114111?I+="\\"+i[0]:w===34||w===39||w===92?I+="\\"+String.fromCharCode(w):I+=String.fromCharCode(w)}return I}h.prototype._read_string_recursive=function(C,I,w){var n,i;C==="'"?i=this.__patterns.single_quote:C==='"'?i=this.__patterns.double_quote:C==="`"?i=this.__patterns.template_text:C==="}"&&(i=this.__patterns.template_expression);for(var y=i.read(),K="";this._input.hasNext();){if(K=this._input.next(),K===C||!I&&o.newline.test(K)){this._input.back();break}else K==="\\"&&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(),K+=this._input.next()):w&&(w==="${"&&K==="$"&&this._input.peek()==="{"&&(K+=this._input.next()),w===K&&(C==="`"?K+=this._read_string_recursive("}",I,"`"):K+=this._read_string_recursive("`",I,"${"),this._input.hasNext()&&(K+=this._input.next())));K+=i.read(),y+=K}return y},$.exports.Tokenizer=h,$.exports.TOKEN=_,$.exports.positionable_operators=R.slice(),$.exports.line_starters=J.slice()},function($){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 a="",o;return f&&(o=this.match(f),o&&(a+=o[0])),t&&(o||!f)&&(a+=this.readUntil(t,r)),a},s.prototype.readUntil=function(f,t){var r="",a=this.__position;f.lastIndex=this.__position;var o=f.exec(this.__input);return o?(a=o.index,t&&(a+=o[0].length)):a=this.__input_length,r=this.__input.substring(this.__position,a),this.__position=a,r},s.prototype.readUntilAfter=function(f){return this.readUntil(f,!0)},s.prototype.get_regexp=function(f,t){var r=null,a="g";return t&&e&&(a="y"),typeof f=="string"&&f!==""?r=new RegExp(f,a):f&&(r=new RegExp(f.source,a)),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},$.exports.InputScanner=s},function($,e,s){var f=s(8).InputScanner,t=s(3).Token,r=s(10).TokenStream,a=s(11).WhitespacePattern,o={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},m=function(x,E){this._input=new f(x),this._options=E||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)};m.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var x,E=new t(o.START,""),_=null,v=[],d=new r;E.type!==o.EOF;){for(x=this._get_next_token(E,_);this._is_comment(x);)d.add(x),x=this._get_next_token(E,_);d.isEmpty()||(x.comments_before=d,d=new r),x.parent=_,this._is_opening(x)?(v.push(_),_=x):_&&this._is_closing(x,_)&&(x.opened=_,_.closed=x,_=v.pop(),x.parent=_),x.previous=E,E.next=x,this.__tokens.add(x),E=x}return this.__tokens},m.prototype._is_first_token=function(){return this.__tokens.isEmpty()},m.prototype._reset=function(){},m.prototype._get_next_token=function(x,E){this._readWhitespace();var _=this._input.read(/.+/g);return _?this._create_token(o.RAW,_):this._create_token(o.EOF,"")},m.prototype._is_comment=function(x){return!1},m.prototype._is_opening=function(x){return!1},m.prototype._is_closing=function(x,E){return!1},m.prototype._create_token=function(x,E){var _=new t(x,E,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return _},m.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},$.exports.Tokenizer=m,$.exports.TOKEN=o},function($){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},$.exports.TokenStream=e},function($,e,s){var f=s(12).Pattern;function t(r,a){f.call(this,r,a),a?this._line_regexp=this._input.get_regexp(a._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}t.prototype=new f,t.prototype.__set_whitespace_patterns=function(r,a){r+="\\t ",a+="\\n\\r",this._match_pattern=this._input.get_regexp("["+r+a+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+a+"]")},t.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var r=this._input.read(this._match_pattern);if(r===" ")this.whitespace_before_token=" ";else if(r){var a=this.__split(this._newline_regexp,r);this.newline_count=a.length-1,this.whitespace_before_token=a[this.newline_count]}return r},t.prototype.matching=function(r,a){var o=this._create();return o.__set_whitespace_patterns(r,a),o._update(),o},t.prototype._create=function(){return new t(this._input,this)},t.prototype.__split=function(r,a){r.lastIndex=0;for(var o=0,m=[],x=r.exec(a);x;)m.push(a.substring(o,x.index)),o=x.index+x[0].length,x=r.exec(a);return o<a.length?m.push(a.substring(o,a.length)):m.push(""),m},$.exports.WhitespacePattern=t},function($){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(){},$.exports.Pattern=e},function($){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)},$.exports.Directives=e},function($,e,s){var f=s(12).Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(a,o){f.call(this,a,o),this.__template_pattern=null,this._disabled=Object.assign({},t),this._excluded=Object.assign({},t),o&&(this.__template_pattern=this._input.get_regexp(o.__template_pattern),this._excluded=Object.assign(this._excluded,o._excluded),this._disabled=Object.assign(this._disabled,o._disabled));var m=new f(a);this.__patterns={handlebars_comment:m.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:m.starting_with(/{{{/).until_after(/}}}/),handlebars:m.starting_with(/{{/).until_after(/}}/),php:m.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:m.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:m.starting_with(/{%/).until_after(/%}/),django_value:m.starting_with(/{{/).until_after(/}}/),django_comment:m.starting_with(/{#/).until_after(/#}/),smarty:m.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:m.starting_with(/{\*/).until_after(/\*}/),smarty_literal:m.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(a){var o=this._create();return o._disabled[a]=!0,o._update(),o},r.prototype.read_options=function(a){var o=this._create();for(var m in t)o._disabled[m]=a.templating.indexOf(m)===-1;return o._update(),o},r.prototype.exclude=function(a){var o=this._create();return o._excluded[a]=!0,o._update(),o},r.prototype.read=function(){var a="";this._match_pattern?a=this._input.read(this._starting_pattern):a=this._input.read(this._starting_pattern,this.__template_pattern);for(var o=this._read_template();o;)this._match_pattern?o+=this._input.read(this._match_pattern):o+=this._input.readUntil(this.__template_pattern),a+=o,o=this._read_template();return this._until_after&&(a+=this._input.readUntilAfter(this._until_pattern)),a},r.prototype.__set_templated_pattern=function(){var a=[];this._disabled.php||a.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||a.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||a.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||a.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(a.push(this.__patterns.django._starting_pattern.source),a.push(this.__patterns.django_value._starting_pattern.source),a.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||a.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&a.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+a.join("|")+")")},r.prototype._read_template=function(){var a="",o=this._input.peek();if(o==="<"){var m=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&m==="?"&&(a=a||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&m==="%"&&(a=a||this.__patterns.erb.read())}else o==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(a=a||this.__patterns.handlebars_comment.read(),a=a||this.__patterns.handlebars_unescaped.read(),a=a||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(a=a||this.__patterns.django_value.read()),this._excluded.django||(a=a||this.__patterns.django_comment.read(),a=a||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(a=a||this.__patterns.smarty_comment.read(),a=a||this.__patterns.smarty_literal.read(),a=a||this.__patterns.smarty.read()));return a},$.exports.TemplatablePattern=r}],V={};function p($){var e=V[$];if(e!==void 0)return e.exports;var s=V[$]={exports:{}};return Q[$](s,s.exports,p),s.exports}var H=p(0);O=H})();var U=O;u=[],P=function(){return{js_beautify:U}}.apply(Ze,u),P!==void 0&&(Bt.exports=P)})()},75918:function(Bt,Ze,u){"use strict";u.d(Ze,{Wi:function(){return p},Z0:function(){return H},aU:function(){return V},eZ:function(){return e},wY:function(){return $}});var P=u(4348),O=u(69323),U=u(13268),Q=function(s,f,t,r){function a(o){return o instanceof t?o:new t(function(m){m(o)})}return new(t||(t=Promise))(function(o,m){function x(v){try{_(r.next(v))}catch(d){m(d)}}function E(v){try{_(r.throw(v))}catch(d){m(d)}}function _(v){v.done?o(v.value):a(v.value).then(x,E)}_((r=r.apply(s,f||[])).next())})};class V extends O.JT{constructor(f,t="",r="",a=!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=a,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 Q(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(f))})}}class p extends O.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 Q(this,void 0,void 0,function*(){if(!f.enabled)return;this._onBeforeRun.fire({action:f});let r;try{yield this.runAction(f,t)}catch(a){r=a}this._onDidRun.fire({action:f,error:r})})}runAction(f,t){return Q(this,void 0,void 0,function*(){yield f.run(t)})}}class H extends V{constructor(f){super(H.ID,f,f?"separator text":"separator"),this.checked=!1,this.enabled=!1}}H.ID="vs.actions.separator";class ${constructor(f,t,r,a){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=f,this.label=t,this.class=a,this._actions=r}get actions(){return this._actions}dispose(){}run(){return Q(this,void 0,void 0,function*(){})}}class e extends V{constructor(){super(e.ID,U.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(Bt,Ze,u){"use strict";u.d(Ze,{ok:function(){return P}});function P(O,U){if(!O)throw new Error(U?`Assertion failed (${U})`:"Assertion Failed")}},52615:function(Bt,Ze,u){"use strict";u.d(Ze,{CM:function(){return V},JL:function(){return p},dT:function(){return $},fK:function(){return Q},lA:function(){return H}});var P=u(4348);class O{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 U=new O,Q=U;function V(e,s){return new H(e,s)}function p(e){return e?e.replace(/\$\((.*?)\)/g,(s,f)=>` ${f} `).trim():""}class H{constructor(s,f,t){this.id=s,this.definition=f,this.description=t,U.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var $;(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(a){if(a instanceof H)return["codicon","codicon-"+a.id];const o=s.exec(a.id);if(!o)return f(H.error);let[,m,x]=o;const E=["codicon","codicon-"+m];return x&&E.push("codicon-modifier-"+x.substr(1)),E}e.asClassNameArray=f;function t(a){return f(a).join(" ")}e.asClassName=t;function r(a){return"."+f(a).join(".")}e.asCSSSelector=r})($||($={})),function(e){e.add=new e("add",{fontCharacter:"\\ea60"}),e.plus=new e("plus",e.add.definition),e.gistNew=new e("gist-new",e.add.definition),e.repoCreate=new e("repo-create",e.add.definition),e.lightbulb=new e("lightbulb",{fontCharacter:"\\ea61"}),e.lightBulb=new e("light-bulb",{fontCharacter:"\\ea61"}),e.repo=new e("repo",{fontCharacter:"\\ea62"}),e.repoDelete=new e("repo-delete",{fontCharacter:"\\ea62"}),e.gistFork=new e("gist-fork",{fontCharacter:"\\ea63"}),e.repoForked=new e("repo-forked",{fontCharacter:"\\ea63"}),e.gitPullRequest=new e("git-pull-request",{fontCharacter:"\\ea64"}),e.gitPullRequestAbandoned=new e("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),e.recordKeys=new e("record-keys",{fontCharacter:"\\ea65"}),e.keyboard=new e("keyboard",{fontCharacter:"\\ea65"}),e.tag=new e("tag",{fontCharacter:"\\ea66"}),e.tagAdd=new e("tag-add",{fontCharacter:"\\ea66"}),e.tagRemove=new e("tag-remove",{fontCharacter:"\\ea66"}),e.person=new e("person",{fontCharacter:"\\ea67"}),e.personFollow=new e("person-follow",{fontCharacter:"\\ea67"}),e.personOutline=new e("person-outline",{fontCharacter:"\\ea67"}),e.personFilled=new e("person-filled",{fontCharacter:"\\ea67"}),e.gitBranch=new e("git-branch",{fontCharacter:"\\ea68"}),e.gitBranchCreate=new e("git-branch-create",{fontCharacter:"\\ea68"}),e.gitBranchDelete=new e("git-branch-delete",{fontCharacter:"\\ea68"}),e.sourceControl=new e("source-control",{fontCharacter:"\\ea68"}),e.mirror=new e("mirror",{fontCharacter:"\\ea69"}),e.mirrorPublic=new e("mirror-public",{fontCharacter:"\\ea69"}),e.star=new e("star",{fontCharacter:"\\ea6a"}),e.starAdd=new e("star-add",{fontCharacter:"\\ea6a"}),e.starDelete=new e("star-delete",{fontCharacter:"\\ea6a"}),e.starEmpty=new e("star-empty",{fontCharacter:"\\ea6a"}),e.comment=new e("comment",{fontCharacter:"\\ea6b"}),e.commentAdd=new e("comment-add",{fontCharacter:"\\ea6b"}),e.alert=new e("alert",{fontCharacter:"\\ea6c"}),e.warning=new e("warning",{fontCharacter:"\\ea6c"}),e.search=new e("search",{fontCharacter:"\\ea6d"}),e.searchSave=new e("search-save",{fontCharacter:"\\ea6d"}),e.logOut=new e("log-out",{fontCharacter:"\\ea6e"}),e.signOut=new e("sign-out",{fontCharacter:"\\ea6e"}),e.logIn=new e("log-in",{fontCharacter:"\\ea6f"}),e.signIn=new e("sign-in",{fontCharacter:"\\ea6f"}),e.eye=new e("eye",{fontCharacter:"\\ea70"}),e.eyeUnwatch=new e("eye-unwatch",{fontCharacter:"\\ea70"}),e.eyeWatch=new e("eye-watch",{fontCharacter:"\\ea70"}),e.circleFilled=new e("circle-filled",{fontCharacter:"\\ea71"}),e.primitiveDot=new e("primitive-dot",{fontCharacter:"\\ea71"}),e.closeDirty=new e("close-dirty",{fontCharacter:"\\ea71"}),e.debugBreakpoint=new e("debug-breakpoint",{fontCharacter:"\\ea71"}),e.debugBreakpointDisabled=new e("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),e.debugHint=new e("debug-hint",{fontCharacter:"\\ea71"}),e.primitiveSquare=new e("primitive-square",{fontCharacter:"\\ea72"}),e.edit=new e("edit",{fontCharacter:"\\ea73"}),e.pencil=new e("pencil",{fontCharacter:"\\ea73"}),e.info=new e("info",{fontCharacter:"\\ea74"}),e.issueOpened=new e("issue-opened",{fontCharacter:"\\ea74"}),e.gistPrivate=new e("gist-private",{fontCharacter:"\\ea75"}),e.gitForkPrivate=new e("git-fork-private",{fontCharacter:"\\ea75"}),e.lock=new e("lock",{fontCharacter:"\\ea75"}),e.mirrorPrivate=new e("mirror-private",{fontCharacter:"\\ea75"}),e.close=new e("close",{fontCharacter:"\\ea76"}),e.removeClose=new e("remove-close",{fontCharacter:"\\ea76"}),e.x=new e("x",{fontCharacter:"\\ea76"}),e.repoSync=new e("repo-sync",{fontCharacter:"\\ea77"}),e.sync=new e("sync",{fontCharacter:"\\ea77"}),e.clone=new e("clone",{fontCharacter:"\\ea78"}),e.desktopDownload=new e("desktop-download",{fontCharacter:"\\ea78"}),e.beaker=new e("beaker",{fontCharacter:"\\ea79"}),e.microscope=new e("microscope",{fontCharacter:"\\ea79"}),e.vm=new e("vm",{fontCharacter:"\\ea7a"}),e.deviceDesktop=new e("device-desktop",{fontCharacter:"\\ea7a"}),e.file=new e("file",{fontCharacter:"\\ea7b"}),e.fileText=new e("file-text",{fontCharacter:"\\ea7b"}),e.more=new e("more",{fontCharacter:"\\ea7c"}),e.ellipsis=new e("ellipsis",{fontCharacter:"\\ea7c"}),e.kebabHorizontal=new e("kebab-horizontal",{fontCharacter:"\\ea7c"}),e.mailReply=new e("mail-reply",{fontCharacter:"\\ea7d"}),e.reply=new e("reply",{fontCharacter:"\\ea7d"}),e.organization=new e("organization",{fontCharacter:"\\ea7e"}),e.organizationFilled=new e("organization-filled",{fontCharacter:"\\ea7e"}),e.organizationOutline=new e("organization-outline",{fontCharacter:"\\ea7e"}),e.newFile=new e("new-file",{fontCharacter:"\\ea7f"}),e.fileAdd=new e("file-add",{fontCharacter:"\\ea7f"}),e.newFolder=new e("new-folder",{fontCharacter:"\\ea80"}),e.fileDirectoryCreate=new e("file-directory-create",{fontCharacter:"\\ea80"}),e.trash=new e("trash",{fontCharacter:"\\ea81"}),e.trashcan=new e("trashcan",{fontCharacter:"\\ea81"}),e.history=new e("history",{fontCharacter:"\\ea82"}),e.clock=new e("clock",{fontCharacter:"\\ea82"}),e.folder=new e("folder",{fontCharacter:"\\ea83"}),e.fileDirectory=new e("file-directory",{fontCharacter:"\\ea83"}),e.symbolFolder=new e("symbol-folder",{fontCharacter:"\\ea83"}),e.logoGithub=new e("logo-github",{fontCharacter:"\\ea84"}),e.markGithub=new e("mark-github",{fontCharacter:"\\ea84"}),e.github=new e("github",{fontCharacter:"\\ea84"}),e.terminal=new e("terminal",{fontCharacter:"\\ea85"}),e.console=new e("console",{fontCharacter:"\\ea85"}),e.repl=new e("repl",{fontCharacter:"\\ea85"}),e.zap=new e("zap",{fontCharacter:"\\ea86"}),e.symbolEvent=new e("symbol-event",{fontCharacter:"\\ea86"}),e.error=new e("error",{fontCharacter:"\\ea87"}),e.stop=new e("stop",{fontCharacter:"\\ea87"}),e.variable=new e("variable",{fontCharacter:"\\ea88"}),e.symbolVariable=new e("symbol-variable",{fontCharacter:"\\ea88"}),e.array=new e("array",{fontCharacter:"\\ea8a"}),e.symbolArray=new e("symbol-array",{fontCharacter:"\\ea8a"}),e.symbolModule=new e("symbol-module",{fontCharacter:"\\ea8b"}),e.symbolPackage=new e("symbol-package",{fontCharacter:"\\ea8b"}),e.symbolNamespace=new e("symbol-namespace",{fontCharacter:"\\ea8b"}),e.symbolObject=new e("symbol-object",{fontCharacter:"\\ea8b"}),e.symbolMethod=new e("symbol-method",{fontCharacter:"\\ea8c"}),e.symbolFunction=new e("symbol-function",{fontCharacter:"\\ea8c"}),e.symbolConstructor=new e("symbol-constructor",{fontCharacter:"\\ea8c"}),e.symbolBoolean=new e("symbol-boolean",{fontCharacter:"\\ea8f"}),e.symbolNull=new e("symbol-null",{fontCharacter:"\\ea8f"}),e.symbolNumeric=new e("symbol-numeric",{fontCharacter:"\\ea90"}),e.symbolNumber=new e("symbol-number",{fontCharacter:"\\ea90"}),e.symbolStructure=new e("symbol-structure",{fontCharacter:"\\ea91"}),e.symbolStruct=new e("symbol-struct",{fontCharacter:"\\ea91"}),e.symbolParameter=new e("symbol-parameter",{fontCharacter:"\\ea92"}),e.symbolTypeParameter=new e("symbol-type-parameter",{fontCharacter:"\\ea92"}),e.symbolKey=new e("symbol-key",{fontCharacter:"\\ea93"}),e.symbolText=new e("symbol-text",{fontCharacter:"\\ea93"}),e.symbolReference=new e("symbol-reference",{fontCharacter:"\\ea94"}),e.goToFile=new e("go-to-file",{fontCharacter:"\\ea94"}),e.symbolEnum=new e("symbol-enum",{fontCharacter:"\\ea95"}),e.symbolValue=new e("symbol-value",{fontCharacter:"\\ea95"}),e.symbolRuler=new e("symbol-ruler",{fontCharacter:"\\ea96"}),e.symbolUnit=new e("symbol-unit",{fontCharacter:"\\ea96"}),e.activateBreakpoints=new e("activate-breakpoints",{fontCharacter:"\\ea97"}),e.archive=new e("archive",{fontCharacter:"\\ea98"}),e.arrowBoth=new e("arrow-both",{fontCharacter:"\\ea99"}),e.arrowDown=new e("arrow-down",{fontCharacter:"\\ea9a"}),e.arrowLeft=new e("arrow-left",{fontCharacter:"\\ea9b"}),e.arrowRight=new e("arrow-right",{fontCharacter:"\\ea9c"}),e.arrowSmallDown=new e("arrow-small-down",{fontCharacter:"\\ea9d"}),e.arrowSmallLeft=new e("arrow-small-left",{fontCharacter:"\\ea9e"}),e.arrowSmallRight=new e("arrow-small-right",{fontCharacter:"\\ea9f"}),e.arrowSmallUp=new e("arrow-small-up",{fontCharacter:"\\eaa0"}),e.arrowUp=new e("arrow-up",{fontCharacter:"\\eaa1"}),e.bell=new e("bell",{fontCharacter:"\\eaa2"}),e.bold=new e("bold",{fontCharacter:"\\eaa3"}),e.book=new e("book",{fontCharacter:"\\eaa4"}),e.bookmark=new e("bookmark",{fontCharacter:"\\eaa5"}),e.debugBreakpointConditionalUnverified=new e("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),e.debugBreakpointConditional=new e("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),e.debugBreakpointConditionalDisabled=new e("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),e.debugBreakpointDataUnverified=new e("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),e.debugBreakpointData=new e("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),e.debugBreakpointDataDisabled=new e("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),e.debugBreakpointLogUnverified=new e("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),e.debugBreakpointLog=new e("debug-breakpoint-log",{fontCharacter:"\\eaab"}),e.debugBreakpointLogDisabled=new e("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),e.briefcase=new e("briefcase",{fontCharacter:"\\eaac"}),e.broadcast=new e("broadcast",{fontCharacter:"\\eaad"}),e.browser=new e("browser",{fontCharacter:"\\eaae"}),e.bug=new e("bug",{fontCharacter:"\\eaaf"}),e.calendar=new e("calendar",{fontCharacter:"\\eab0"}),e.caseSensitive=new e("case-sensitive",{fontCharacter:"\\eab1"}),e.check=new e("check",{fontCharacter:"\\eab2"}),e.checklist=new e("checklist",{fontCharacter:"\\eab3"}),e.chevronDown=new e("chevron-down",{fontCharacter:"\\eab4"}),e.dropDownButton=new e("drop-down-button",e.chevronDown.definition),e.chevronLeft=new e("chevron-left",{fontCharacter:"\\eab5"}),e.chevronRight=new e("chevron-right",{fontCharacter:"\\eab6"}),e.chevronUp=new e("chevron-up",{fontCharacter:"\\eab7"}),e.chromeClose=new e("chrome-close",{fontCharacter:"\\eab8"}),e.chromeMaximize=new e("chrome-maximize",{fontCharacter:"\\eab9"}),e.chromeMinimize=new e("chrome-minimize",{fontCharacter:"\\eaba"}),e.chromeRestore=new e("chrome-restore",{fontCharacter:"\\eabb"}),e.circleOutline=new e("circle-outline",{fontCharacter:"\\eabc"}),e.debugBreakpointUnverified=new e("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),e.circleSlash=new e("circle-slash",{fontCharacter:"\\eabd"}),e.circuitBoard=new e("circuit-board",{fontCharacter:"\\eabe"}),e.clearAll=new e("clear-all",{fontCharacter:"\\eabf"}),e.clippy=new e("clippy",{fontCharacter:"\\eac0"}),e.closeAll=new e("close-all",{fontCharacter:"\\eac1"}),e.cloudDownload=new e("cloud-download",{fontCharacter:"\\eac2"}),e.cloudUpload=new e("cloud-upload",{fontCharacter:"\\eac3"}),e.code=new e("code",{fontCharacter:"\\eac4"}),e.collapseAll=new e("collapse-all",{fontCharacter:"\\eac5"}),e.colorMode=new e("color-mode",{fontCharacter:"\\eac6"}),e.commentDiscussion=new e("comment-discussion",{fontCharacter:"\\eac7"}),e.compareChanges=new e("compare-changes",{fontCharacter:"\\eafd"}),e.creditCard=new e("credit-card",{fontCharacter:"\\eac9"}),e.dash=new e("dash",{fontCharacter:"\\eacc"}),e.dashboard=new e("dashboard",{fontCharacter:"\\eacd"}),e.database=new e("database",{fontCharacter:"\\eace"}),e.debugContinue=new e("debug-continue",{fontCharacter:"\\eacf"}),e.debugDisconnect=new e("debug-disconnect",{fontCharacter:"\\ead0"}),e.debugPause=new e("debug-pause",{fontCharacter:"\\ead1"}),e.debugRestart=new e("debug-restart",{fontCharacter:"\\ead2"}),e.debugStart=new e("debug-start",{fontCharacter:"\\ead3"}),e.debugStepInto=new e("debug-step-into",{fontCharacter:"\\ead4"}),e.debugStepOut=new e("debug-step-out",{fontCharacter:"\\ead5"}),e.debugStepOver=new e("debug-step-over",{fontCharacter:"\\ead6"}),e.debugStop=new e("debug-stop",{fontCharacter:"\\ead7"}),e.debug=new e("debug",{fontCharacter:"\\ead8"}),e.deviceCameraVideo=new e("device-camera-video",{fontCharacter:"\\ead9"}),e.deviceCamera=new e("device-camera",{fontCharacter:"\\eada"}),e.deviceMobile=new e("device-mobile",{fontCharacter:"\\eadb"}),e.diffAdded=new e("diff-added",{fontCharacter:"\\eadc"}),e.diffIgnored=new e("diff-ignored",{fontCharacter:"\\eadd"}),e.diffModified=new e("diff-modified",{fontCharacter:"\\eade"}),e.diffRemoved=new e("diff-removed",{fontCharacter:"\\eadf"}),e.diffRenamed=new e("diff-renamed",{fontCharacter:"\\eae0"}),e.diff=new e("diff",{fontCharacter:"\\eae1"}),e.discard=new e("discard",{fontCharacter:"\\eae2"}),e.editorLayout=new e("editor-layout",{fontCharacter:"\\eae3"}),e.emptyWindow=new e("empty-window",{fontCharacter:"\\eae4"}),e.exclude=new e("exclude",{fontCharacter:"\\eae5"}),e.extensions=new e("extensions",{fontCharacter:"\\eae6"}),e.eyeClosed=new e("eye-closed",{fontCharacter:"\\eae7"}),e.fileBinary=new e("file-binary",{fontCharacter:"\\eae8"}),e.fileCode=new e("file-code",{fontCharacter:"\\eae9"}),e.fileMedia=new e("file-media",{fontCharacter:"\\eaea"}),e.filePdf=new e("file-pdf",{fontCharacter:"\\eaeb"}),e.fileSubmodule=new e("file-submodule",{fontCharacter:"\\eaec"}),e.fileSymlinkDirectory=new e("file-symlink-directory",{fontCharacter:"\\eaed"}),e.fileSymlinkFile=new e("file-symlink-file",{fontCharacter:"\\eaee"}),e.fileZip=new e("file-zip",{fontCharacter:"\\eaef"}),e.files=new e("files",{fontCharacter:"\\eaf0"}),e.filter=new e("filter",{fontCharacter:"\\eaf1"}),e.flame=new e("flame",{fontCharacter:"\\eaf2"}),e.foldDown=new e("fold-down",{fontCharacter:"\\eaf3"}),e.foldUp=new e("fold-up",{fontCharacter:"\\eaf4"}),e.fold=new e("fold",{fontCharacter:"\\eaf5"}),e.folderActive=new e("folder-active",{fontCharacter:"\\eaf6"}),e.folderOpened=new e("folder-opened",{fontCharacter:"\\eaf7"}),e.gear=new e("gear",{fontCharacter:"\\eaf8"}),e.gift=new e("gift",{fontCharacter:"\\eaf9"}),e.gistSecret=new e("gist-secret",{fontCharacter:"\\eafa"}),e.gist=new e("gist",{fontCharacter:"\\eafb"}),e.gitCommit=new e("git-commit",{fontCharacter:"\\eafc"}),e.gitCompare=new e("git-compare",{fontCharacter:"\\eafd"}),e.gitMerge=new e("git-merge",{fontCharacter:"\\eafe"}),e.githubAction=new e("github-action",{fontCharacter:"\\eaff"}),e.githubAlt=new e("github-alt",{fontCharacter:"\\eb00"}),e.globe=new e("globe",{fontCharacter:"\\eb01"}),e.grabber=new e("grabber",{fontCharacter:"\\eb02"}),e.graph=new e("graph",{fontCharacter:"\\eb03"}),e.gripper=new e("gripper",{fontCharacter:"\\eb04"}),e.heart=new e("heart",{fontCharacter:"\\eb05"}),e.home=new e("home",{fontCharacter:"\\eb06"}),e.horizontalRule=new e("horizontal-rule",{fontCharacter:"\\eb07"}),e.hubot=new e("hubot",{fontCharacter:"\\eb08"}),e.inbox=new e("inbox",{fontCharacter:"\\eb09"}),e.issueClosed=new e("issue-closed",{fontCharacter:"\\eba4"}),e.issueReopened=new e("issue-reopened",{fontCharacter:"\\eb0b"}),e.issues=new e("issues",{fontCharacter:"\\eb0c"}),e.italic=new e("italic",{fontCharacter:"\\eb0d"}),e.jersey=new e("jersey",{fontCharacter:"\\eb0e"}),e.json=new e("json",{fontCharacter:"\\eb0f"}),e.kebabVertical=new e("kebab-vertical",{fontCharacter:"\\eb10"}),e.key=new e("key",{fontCharacter:"\\eb11"}),e.law=new e("law",{fontCharacter:"\\eb12"}),e.lightbulbAutofix=new e("lightbulb-autofix",{fontCharacter:"\\eb13"}),e.linkExternal=new e("link-external",{fontCharacter:"\\eb14"}),e.link=new e("link",{fontCharacter:"\\eb15"}),e.listOrdered=new e("list-ordered",{fontCharacter:"\\eb16"}),e.listUnordered=new e("list-unordered",{fontCharacter:"\\eb17"}),e.liveShare=new e("live-share",{fontCharacter:"\\eb18"}),e.loading=new e("loading",{fontCharacter:"\\eb19"}),e.location=new e("location",{fontCharacter:"\\eb1a"}),e.mailRead=new e("mail-read",{fontCharacter:"\\eb1b"}),e.mail=new e("mail",{fontCharacter:"\\eb1c"}),e.markdown=new e("markdown",{fontCharacter:"\\eb1d"}),e.megaphone=new e("megaphone",{fontCharacter:"\\eb1e"}),e.mention=new e("mention",{fontCharacter:"\\eb1f"}),e.milestone=new e("milestone",{fontCharacter:"\\eb20"}),e.mortarBoard=new e("mortar-board",{fontCharacter:"\\eb21"}),e.move=new e("move",{fontCharacter:"\\eb22"}),e.multipleWindows=new e("multiple-windows",{fontCharacter:"\\eb23"}),e.mute=new e("mute",{fontCharacter:"\\eb24"}),e.noNewline=new e("no-newline",{fontCharacter:"\\eb25"}),e.note=new e("note",{fontCharacter:"\\eb26"}),e.octoface=new e("octoface",{fontCharacter:"\\eb27"}),e.openPreview=new e("open-preview",{fontCharacter:"\\eb28"}),e.package_=new e("package",{fontCharacter:"\\eb29"}),e.paintcan=new e("paintcan",{fontCharacter:"\\eb2a"}),e.pin=new e("pin",{fontCharacter:"\\eb2b"}),e.play=new e("play",{fontCharacter:"\\eb2c"}),e.run=new e("run",{fontCharacter:"\\eb2c"}),e.plug=new e("plug",{fontCharacter:"\\eb2d"}),e.preserveCase=new e("preserve-case",{fontCharacter:"\\eb2e"}),e.preview=new e("preview",{fontCharacter:"\\eb2f"}),e.project=new e("project",{fontCharacter:"\\eb30"}),e.pulse=new e("pulse",{fontCharacter:"\\eb31"}),e.question=new e("question",{fontCharacter:"\\eb32"}),e.quote=new e("quote",{fontCharacter:"\\eb33"}),e.radioTower=new e("radio-tower",{fontCharacter:"\\eb34"}),e.reactions=new e("reactions",{fontCharacter:"\\eb35"}),e.references=new e("references",{fontCharacter:"\\eb36"}),e.refresh=new e("refresh",{fontCharacter:"\\eb37"}),e.regex=new e("regex",{fontCharacter:"\\eb38"}),e.remoteExplorer=new e("remote-explorer",{fontCharacter:"\\eb39"}),e.remote=new e("remote",{fontCharacter:"\\eb3a"}),e.remove=new e("remove",{fontCharacter:"\\eb3b"}),e.replaceAll=new e("replace-all",{fontCharacter:"\\eb3c"}),e.replace=new e("replace",{fontCharacter:"\\eb3d"}),e.repoClone=new e("repo-clone",{fontCharacter:"\\eb3e"}),e.repoForcePush=new e("repo-force-push",{fontCharacter:"\\eb3f"}),e.repoPull=new e("repo-pull",{fontCharacter:"\\eb40"}),e.repoPush=new e("repo-push",{fontCharacter:"\\eb41"}),e.report=new e("report",{fontCharacter:"\\eb42"}),e.requestChanges=new e("request-changes",{fontCharacter:"\\eb43"}),e.rocket=new e("rocket",{fontCharacter:"\\eb44"}),e.rootFolderOpened=new e("root-folder-opened",{fontCharacter:"\\eb45"}),e.rootFolder=new e("root-folder",{fontCharacter:"\\eb46"}),e.rss=new e("rss",{fontCharacter:"\\eb47"}),e.ruby=new e("ruby",{fontCharacter:"\\eb48"}),e.saveAll=new e("save-all",{fontCharacter:"\\eb49"}),e.saveAs=new e("save-as",{fontCharacter:"\\eb4a"}),e.save=new e("save",{fontCharacter:"\\eb4b"}),e.screenFull=new e("screen-full",{fontCharacter:"\\eb4c"}),e.screenNormal=new e("screen-normal",{fontCharacter:"\\eb4d"}),e.searchStop=new e("search-stop",{fontCharacter:"\\eb4e"}),e.server=new e("server",{fontCharacter:"\\eb50"}),e.settingsGear=new e("settings-gear",{fontCharacter:"\\eb51"}),e.settings=new e("settings",{fontCharacter:"\\eb52"}),e.shield=new e("shield",{fontCharacter:"\\eb53"}),e.smiley=new e("smiley",{fontCharacter:"\\eb54"}),e.sortPrecedence=new e("sort-precedence",{fontCharacter:"\\eb55"}),e.splitHorizontal=new e("split-horizontal",{fontCharacter:"\\eb56"}),e.splitVertical=new e("split-vertical",{fontCharacter:"\\eb57"}),e.squirrel=new e("squirrel",{fontCharacter:"\\eb58"}),e.starFull=new e("star-full",{fontCharacter:"\\eb59"}),e.starHalf=new e("star-half",{fontCharacter:"\\eb5a"}),e.symbolClass=new e("symbol-class",{fontCharacter:"\\eb5b"}),e.symbolColor=new e("symbol-color",{fontCharacter:"\\eb5c"}),e.symbolConstant=new e("symbol-constant",{fontCharacter:"\\eb5d"}),e.symbolEnumMember=new e("symbol-enum-member",{fontCharacter:"\\eb5e"}),e.symbolField=new e("symbol-field",{fontCharacter:"\\eb5f"}),e.symbolFile=new e("symbol-file",{fontCharacter:"\\eb60"}),e.symbolInterface=new e("symbol-interface",{fontCharacter:"\\eb61"}),e.symbolKeyword=new e("symbol-keyword",{fontCharacter:"\\eb62"}),e.symbolMisc=new e("symbol-misc",{fontCharacter:"\\eb63"}),e.symbolOperator=new e("symbol-operator",{fontCharacter:"\\eb64"}),e.symbolProperty=new e("symbol-property",{fontCharacter:"\\eb65"}),e.wrench=new e("wrench",{fontCharacter:"\\eb65"}),e.wrenchSubaction=new e("wrench-subaction",{fontCharacter:"\\eb65"}),e.symbolSnippet=new e("symbol-snippet",{fontCharacter:"\\eb66"}),e.tasklist=new e("tasklist",{fontCharacter:"\\eb67"}),e.telescope=new e("telescope",{fontCharacter:"\\eb68"}),e.textSize=new e("text-size",{fontCharacter:"\\eb69"}),e.threeBars=new e("three-bars",{fontCharacter:"\\eb6a"}),e.thumbsdown=new e("thumbsdown",{fontCharacter:"\\eb6b"}),e.thumbsup=new e("thumbsup",{fontCharacter:"\\eb6c"}),e.tools=new e("tools",{fontCharacter:"\\eb6d"}),e.triangleDown=new e("triangle-down",{fontCharacter:"\\eb6e"}),e.triangleLeft=new e("triangle-left",{fontCharacter:"\\eb6f"}),e.triangleRight=new e("triangle-right",{fontCharacter:"\\eb70"}),e.triangleUp=new e("triangle-up",{fontCharacter:"\\eb71"}),e.twitter=new e("twitter",{fontCharacter:"\\eb72"}),e.unfold=new e("unfold",{fontCharacter:"\\eb73"}),e.unlock=new e("unlock",{fontCharacter:"\\eb74"}),e.unmute=new e("unmute",{fontCharacter:"\\eb75"}),e.unverified=new e("unverified",{fontCharacter:"\\eb76"}),e.verified=new e("verified",{fontCharacter:"\\eb77"}),e.versions=new e("versions",{fontCharacter:"\\eb78"}),e.vmActive=new e("vm-active",{fontCharacter:"\\eb79"}),e.vmOutline=new e("vm-outline",{fontCharacter:"\\eb7a"}),e.vmRunning=new e("vm-running",{fontCharacter:"\\eb7b"}),e.watch=new e("watch",{fontCharacter:"\\eb7c"}),e.whitespace=new e("whitespace",{fontCharacter:"\\eb7d"}),e.wholeWord=new e("whole-word",{fontCharacter:"\\eb7e"}),e.window=new e("window",{fontCharacter:"\\eb7f"}),e.wordWrap=new e("word-wrap",{fontCharacter:"\\eb80"}),e.zoomIn=new e("zoom-in",{fontCharacter:"\\eb81"}),e.zoomOut=new e("zoom-out",{fontCharacter:"\\eb82"}),e.listFilter=new e("list-filter",{fontCharacter:"\\eb83"}),e.listFlat=new e("list-flat",{fontCharacter:"\\eb84"}),e.listSelection=new e("list-selection",{fontCharacter:"\\eb85"}),e.selection=new e("selection",{fontCharacter:"\\eb85"}),e.listTree=new e("list-tree",{fontCharacter:"\\eb86"}),e.debugBreakpointFunctionUnverified=new e("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),e.debugBreakpointFunction=new e("debug-breakpoint-function",{fontCharacter:"\\eb88"}),e.debugBreakpointFunctionDisabled=new e("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),e.debugStackframeActive=new e("debug-stackframe-active",{fontCharacter:"\\eb89"}),e.debugStackframeDot=new e("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),e.debugStackframe=new e("debug-stackframe",{fontCharacter:"\\eb8b"}),e.debugStackframeFocused=new e("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),e.debugBreakpointUnsupported=new e("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),e.symbolString=new e("symbol-string",{fontCharacter:"\\eb8d"}),e.debugReverseContinue=new e("debug-reverse-continue",{fontCharacter:"\\eb8e"}),e.debugStepBack=new e("debug-step-back",{fontCharacter:"\\eb8f"}),e.debugRestartFrame=new e("debug-restart-frame",{fontCharacter:"\\eb90"}),e.callIncoming=new e("call-incoming",{fontCharacter:"\\eb92"}),e.callOutgoing=new e("call-outgoing",{fontCharacter:"\\eb93"}),e.menu=new e("menu",{fontCharacter:"\\eb94"}),e.expandAll=new e("expand-all",{fontCharacter:"\\eb95"}),e.feedback=new e("feedback",{fontCharacter:"\\eb96"}),e.groupByRefType=new e("group-by-ref-type",{fontCharacter:"\\eb97"}),e.ungroupByRefType=new e("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),e.account=new e("account",{fontCharacter:"\\eb99"}),e.bellDot=new e("bell-dot",{fontCharacter:"\\eb9a"}),e.debugConsole=new e("debug-console",{fontCharacter:"\\eb9b"}),e.library=new e("library",{fontCharacter:"\\eb9c"}),e.output=new e("output",{fontCharacter:"\\eb9d"}),e.runAll=new e("run-all",{fontCharacter:"\\eb9e"}),e.syncIgnored=new e("sync-ignored",{fontCharacter:"\\eb9f"}),e.pinned=new e("pinned",{fontCharacter:"\\eba0"}),e.githubInverted=new e("github-inverted",{fontCharacter:"\\eba1"}),e.debugAlt=new e("debug-alt",{fontCharacter:"\\eb91"}),e.serverProcess=new e("server-process",{fontCharacter:"\\eba2"}),e.serverEnvironment=new e("server-environment",{fontCharacter:"\\eba3"}),e.pass=new e("pass",{fontCharacter:"\\eba4"}),e.stopCircle=new e("stop-circle",{fontCharacter:"\\eba5"}),e.playCircle=new e("play-circle",{fontCharacter:"\\eba6"}),e.record=new e("record",{fontCharacter:"\\eba7"}),e.debugAltSmall=new e("debug-alt-small",{fontCharacter:"\\eba8"}),e.vmConnect=new e("vm-connect",{fontCharacter:"\\eba9"}),e.cloud=new e("cloud",{fontCharacter:"\\ebaa"}),e.merge=new e("merge",{fontCharacter:"\\ebab"}),e.exportIcon=new e("export",{fontCharacter:"\\ebac"}),e.graphLeft=new e("graph-left",{fontCharacter:"\\ebad"}),e.magnet=new e("magnet",{fontCharacter:"\\ebae"}),e.notebook=new e("notebook",{fontCharacter:"\\ebaf"}),e.redo=new e("redo",{fontCharacter:"\\ebb0"}),e.checkAll=new e("check-all",{fontCharacter:"\\ebb1"}),e.pinnedDirty=new e("pinned-dirty",{fontCharacter:"\\ebb2"}),e.passFilled=new e("pass-filled",{fontCharacter:"\\ebb3"}),e.circleLargeFilled=new e("circle-large-filled",{fontCharacter:"\\ebb4"}),e.circleLargeOutline=new e("circle-large-outline",{fontCharacter:"\\ebb5"}),e.combine=new e("combine",{fontCharacter:"\\ebb6"}),e.gather=new e("gather",{fontCharacter:"\\ebb6"}),e.table=new e("table",{fontCharacter:"\\ebb7"}),e.variableGroup=new e("variable-group",{fontCharacter:"\\ebb8"}),e.typeHierarchy=new e("type-hierarchy",{fontCharacter:"\\ebb9"}),e.typeHierarchySub=new e("type-hierarchy-sub",{fontCharacter:"\\ebba"}),e.typeHierarchySuper=new e("type-hierarchy-super",{fontCharacter:"\\ebbb"}),e.gitPullRequestCreate=new e("git-pull-request-create",{fontCharacter:"\\ebbc"}),e.runAbove=new e("run-above",{fontCharacter:"\\ebbd"}),e.runBelow=new e("run-below",{fontCharacter:"\\ebbe"}),e.notebookTemplate=new e("notebook-template",{fontCharacter:"\\ebbf"}),e.debugRerun=new e("debug-rerun",{fontCharacter:"\\ebc0"}),e.workspaceTrusted=new e("workspace-trusted",{fontCharacter:"\\ebc1"}),e.workspaceUntrusted=new e("workspace-untrusted",{fontCharacter:"\\ebc2"}),e.workspaceUnspecified=new e("workspace-unspecified",{fontCharacter:"\\ebc3"}),e.terminalCmd=new e("terminal-cmd",{fontCharacter:"\\ebc4"}),e.terminalDebian=new e("terminal-debian",{fontCharacter:"\\ebc5"}),e.terminalLinux=new e("terminal-linux",{fontCharacter:"\\ebc6"}),e.terminalPowershell=new e("terminal-powershell",{fontCharacter:"\\ebc7"}),e.terminalTmux=new e("terminal-tmux",{fontCharacter:"\\ebc8"}),e.terminalUbuntu=new e("terminal-ubuntu",{fontCharacter:"\\ebc9"}),e.terminalBash=new e("terminal-bash",{fontCharacter:"\\ebca"}),e.arrowSwap=new e("arrow-swap",{fontCharacter:"\\ebcb"}),e.copy=new e("copy",{fontCharacter:"\\ebcc"}),e.personAdd=new e("person-add",{fontCharacter:"\\ebcd"}),e.filterFilled=new e("filter-filled",{fontCharacter:"\\ebce"}),e.wand=new e("wand",{fontCharacter:"\\ebcf"}),e.debugLineByLine=new e("debug-line-by-line",{fontCharacter:"\\ebd0"}),e.inspect=new e("inspect",{fontCharacter:"\\ebd1"}),e.layers=new e("layers",{fontCharacter:"\\ebd2"}),e.layersDot=new e("layers-dot",{fontCharacter:"\\ebd3"}),e.layersActive=new e("layers-active",{fontCharacter:"\\ebd4"}),e.compass=new e("compass",{fontCharacter:"\\ebd5"}),e.compassDot=new e("compass-dot",{fontCharacter:"\\ebd6"}),e.compassActive=new e("compass-active",{fontCharacter:"\\ebd7"}),e.azure=new e("azure",{fontCharacter:"\\ebd8"}),e.issueDraft=new e("issue-draft",{fontCharacter:"\\ebd9"}),e.gitPullRequestClosed=new e("git-pull-request-closed",{fontCharacter:"\\ebda"}),e.gitPullRequestDraft=new e("git-pull-request-draft",{fontCharacter:"\\ebdb"}),e.debugAll=new e("debug-all",{fontCharacter:"\\ebdc"}),e.debugCoverage=new e("debug-coverage",{fontCharacter:"\\ebdd"}),e.runErrors=new e("run-errors",{fontCharacter:"\\ebde"}),e.folderLibrary=new e("folder-library",{fontCharacter:"\\ebdf"}),e.debugContinueSmall=new e("debug-continue-small",{fontCharacter:"\\ebe0"}),e.beakerStop=new e("beaker-stop",{fontCharacter:"\\ebe1"}),e.graphLine=new e("graph-line",{fontCharacter:"\\ebe2"}),e.graphScatter=new e("graph-scatter",{fontCharacter:"\\ebe3"}),e.pieChart=new e("pie-chart",{fontCharacter:"\\ebe4"}),e.bracket=new e("bracket",e.json.definition),e.bracketDot=new e("bracket-dot",{fontCharacter:"\\ebe5"}),e.bracketError=new e("bracket-error",{fontCharacter:"\\ebe6"}),e.lockSmall=new e("lock-small",{fontCharacter:"\\ebe7"}),e.azureDevops=new e("azure-devops",{fontCharacter:"\\ebe8"}),e.verifiedFilled=new e("verified-filled",{fontCharacter:"\\ebe9"})}(H||(H={}))},79881:function(Bt,Ze,u){"use strict";u.d(Ze,{B8:function(){return f},Cp:function(){return Q},F0:function(){return $},L6:function(){return s},VV:function(){return H},b1:function(){return e},dL:function(){return U},ri:function(){return V}});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(a=>{a(r)})}onUnexpectedError(r){this.unexpectedErrorHandler(r),this.emit(r)}onUnexpectedExternalError(r){this.unexpectedErrorHandler(r)}}const O=new P;function U(t){H(t)||O.onUnexpectedError(t)}function Q(t){H(t)||O.onUnexpectedExternalError(t)}function V(t){if(t instanceof Error){let{name:r,message:a}=t;const o=t.stacktrace||t.stack;return{$isError:!0,name:r,message:a,stack:o}}return t}const p="Canceled";function H(t){return t instanceof Error&&t.name===p&&t.message===p}function $(){const t=new Error(p);return t.name=t.message,t}function e(t){return t?new Error(`Illegal argument: ${t}`):new Error("Illegal argument")}function s(t){return t?new Error(`Illegal state: ${t}`):new Error("Illegal state")}class f extends Error{constructor(r){super("NotSupported"),r&&(this.message=r)}}},4348:function(Bt,Ze,u){"use strict";u.d(Ze,{D0:function(){return f},E7:function(){return t},K3:function(){return s},Q5:function(){return e},ZD:function(){return r},ju:function(){return V}});var P=u(79881),O=u(69323),U=u(34502),Q=u(95830),V;(function(a){a.None=()=>O.JT.None;function o(b){return(C,I=null,w)=>{let n=!1,i;return i=b(y=>{if(!n)return i?i.dispose():n=!0,C.call(I,y)},null,w),n&&i.dispose(),i}}a.once=o;function m(b,C){return l((I,w=null,n)=>b(i=>I.call(w,C(i)),null,n))}a.map=m;function x(b,C){return l((I,w=null,n)=>b(i=>{C(i),I.call(w,i)},null,n))}a.forEach=x;function E(b,C){return l((I,w=null,n)=>b(i=>C(i)&&I.call(w,i),null,n))}a.filter=E;function _(b){return b}a.signal=_;function v(...b){return(C,I=null,w)=>(0,O.F8)(...b.map(n=>n(i=>C.call(I,i),null,w)))}a.any=v;function d(b,C,I){let w=I;return m(b,n=>(w=C(w,n),w))}a.reduce=d;function l(b){let C;const I=new e({onFirstListenerAdd(){C=b(I.fire,I)},onLastListenerRemove(){C.dispose()}});return I.event}function N(b,C,I=100,w=!1,n){let i,y,K,le=0;const xe=new e({leakWarningThreshold:n,onFirstListenerAdd(){i=b(Le=>{le++,y=C(y,Le),w&&!K&&(xe.fire(y),y=void 0),clearTimeout(K),K=setTimeout(()=>{const je=y;y=void 0,K=void 0,(!w||le>1)&&xe.fire(je),le=0},I)})},onLastListenerRemove(){i.dispose()}});return xe.event}a.debounce=N;function R(b,C=(I,w)=>I===w){let I=!0,w;return E(b,n=>{const i=I||!C(n,w);return I=!1,w=n,i})}a.latch=R;function L(b,C){return[a.filter(b,C),a.filter(b,I=>!C(I))]}a.split=L;function j(b,C=!1,I=[]){let w=I.slice(),n=b(K=>{w?w.push(K):y.fire(K)});const i=()=>{w&&w.forEach(K=>y.fire(K)),w=null},y=new e({onFirstListenerAdd(){n||(n=b(K=>y.fire(K)))},onFirstListenerDidAdd(){w&&(C?setTimeout(i):i())},onLastListenerRemove(){n&&n.dispose(),n=null}});return y.event}a.buffer=j;class J{constructor(C){this.event=C}map(C){return new J(m(this.event,C))}forEach(C){return new J(x(this.event,C))}filter(C){return new J(E(this.event,C))}reduce(C,I){return new J(d(this.event,C,I))}latch(){return new J(R(this.event))}debounce(C,I=100,w=!1,n){return new J(N(this.event,C,I,w,n))}on(C,I,w){return this.event(C,I,w)}once(C,I,w){return o(this.event)(C,I,w)}}function B(b){return new J(b)}a.chain=B;function ge(b,C,I=w=>w){const w=(...K)=>y.fire(I(...K)),n=()=>b.on(C,w),i=()=>b.removeListener(C,w),y=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return y.event}a.fromNodeEventEmitter=ge;function g(b,C,I=w=>w){const w=(...K)=>y.fire(I(...K)),n=()=>b.addEventListener(C,w),i=()=>b.removeEventListener(C,w),y=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return y.event}a.fromDOMEventEmitter=g;function h(b){return new Promise(C=>o(b)(C))}a.toPromise=h})(V||(V={}));class p{constructor(o){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${o}_${p._idPool++}`}start(o){this._stopWatch=new Q.G(!0),this._listenerCount=o}stop(){if(this._stopWatch){const o=this._stopWatch.elapsed();this._elapsedOverall+=o,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${o.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}p._idPool=0;let H=-1;class ${constructor(o,m=Math.random().toString(18).slice(2,5)){this.customThreshold=o,this.name=m,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(o){let m=H;if(typeof this.customThreshold=="number"&&(m=this.customThreshold),m<=0||o<m)return;this._stacks||(this._stacks=new Map);const x=new Error().stack.split(`
|
|
`).slice(3).join(`
|
|
`),E=this._stacks.get(x)||0;if(this._stacks.set(x,E+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=m*.5;let _,v=0;for(const[d,l]of this._stacks)(!_||v<l)&&(_=d,v=l);console.warn(`[${this.name}] potential listener LEAK detected, having ${o} listeners already. MOST frequent listener (${v}):`),console.warn(_)}return()=>{const _=this._stacks.get(x)||0;this._stacks.set(x,_-1)}}}class e{constructor(o){var m;this._disposed=!1,this._options=o,this._leakageMon=H>0?new $(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((m=this._options)===null||m===void 0)&&m._profName?new p(this._options._profName):void 0}get event(){return this._event||(this._event=(o,m,x)=>{var E;this._listeners||(this._listeners=new U.S);const _=this._listeners.isEmpty();_&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const v=this._listeners.push(m?[o,m]:o);_&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,o,m);const d=(E=this._leakageMon)===null||E===void 0?void 0:E.check(this._listeners.size),l=(0,O.OF)(()=>{d&&d(),this._disposed||(v(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return x instanceof O.SL?x.add(l):Array.isArray(x)&&x.push(l),l}),this._event}fire(o){var m,x;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new U.S);for(let E of this._listeners)this._deliveryQueue.push([E,o]);for((m=this._perfMon)===null||m===void 0||m.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[E,_]=this._deliveryQueue.shift();try{typeof E=="function"?E.call(void 0,_):E[0].call(E[1],_)}catch(v){(0,P.dL)(v)}}(x=this._perfMon)===null||x===void 0||x.stop()}}dispose(){var o,m,x,E,_;this._disposed||(this._disposed=!0,(o=this._listeners)===null||o===void 0||o.clear(),(m=this._deliveryQueue)===null||m===void 0||m.clear(),(E=(x=this._options)===null||x===void 0?void 0:x.onLastListenerRemove)===null||E===void 0||E.call(x),(_=this._leakageMon)===null||_===void 0||_.dispose())}}class s extends e{constructor(o){super(o),this._isPaused=0,this._eventQueue=new U.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 m;super(o),this._delay=(m=o.delay)!==null&&m!==void 0?m: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(m,x,E)=>o(_=>{const v=this.buffers[this.buffers.length-1];v?v.push(()=>m.call(x,_)):m.call(x,_)},void 0,E)}bufferEvents(o){const m=[];this.buffers.push(m);const x=o();return this.buffers.pop(),m.forEach(E=>E()),x}}class r{constructor(){this.listening=!1,this.inputEvent=V.None,this.inputEventListener=O.JT.None,this.emitter=new e({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(o){this.inputEvent=o,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=o(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(Bt,Ze,u){"use strict";u.d(Ze,{I:function(){return P}});function P(O){const U=this;let Q=!1,V;return function(){return Q||(Q=!0,V=O.apply(U,arguments)),V}}},88226:function(Bt,Ze,u){"use strict";u.d(Ze,{$:function(){return P}});var P;(function(O){function U(v){return v&&typeof v=="object"&&typeof v[Symbol.iterator]=="function"}O.is=U;const Q=Object.freeze([]);function V(){return Q}O.empty=V;function*p(v){yield v}O.single=p;function H(v){return v||Q}O.from=H;function $(v){return!v||v[Symbol.iterator]().next().done===!0}O.isEmpty=$;function e(v){return v[Symbol.iterator]().next().value}O.first=e;function s(v,d){for(const l of v)if(d(l))return!0;return!1}O.some=s;function f(v,d){for(const l of v)if(d(l))return l}O.find=f;function*t(v,d){for(const l of v)d(l)&&(yield l)}O.filter=t;function*r(v,d){let l=0;for(const N of v)yield d(N,l++)}O.map=r;function*a(...v){for(const d of v)for(const l of d)yield l}O.concat=a;function*o(v){for(const d of v)for(const l of d)yield l}O.concatNested=o;function m(v,d,l){let N=l;for(const R of v)N=d(N,R);return N}O.reduce=m;function*x(v,d,l=v.length){for(d<0&&(d+=v.length),l<0?l+=v.length:l>v.length&&(l=v.length);d<l;d++)yield v[d]}O.slice=x;function E(v,d=Number.POSITIVE_INFINITY){const l=[];if(d===0)return[l,v];const N=v[Symbol.iterator]();for(let R=0;R<d;R++){const L=N.next();if(L.done)return[l,O.empty()];l.push(L.value)}return[l,{[Symbol.iterator](){return N}}]}O.consume=E;function _(v,d,l=(N,R)=>N===R){const N=v[Symbol.iterator](),R=d[Symbol.iterator]();for(;;){const L=N.next(),j=R.next();if(L.done!==j.done)return!1;if(L.done)return!0;if(!l(L.value,j.value))return!1}}O.equals=_})(P||(P={}))},69323:function(Bt,Ze,u){"use strict";u.d(Ze,{B9:function(){return r},F8:function(){return a},JT:function(){return x},Jz:function(){return _},OF:function(){return o},SL:function(){return m},Wf:function(){return t},XK:function(){return E},dk:function(){return s}});var P=u(17845),O=u(88226);const U=!1;let Q=null;function V(v){Q=v}if(U){const v="__is_disposable_tracked__";V(new class{trackDisposable(d){const l=new Error("Potentially leaked disposable").stack;setTimeout(()=>{d[v]||console.log(l)},3e3)}setParent(d,l){if(d&&d!==x.None)try{d[v]=!0}catch(N){}}markAsDisposed(d){if(d&&d!==x.None)try{d[v]=!0}catch(l){}}markAsSingleton(d){}})}function p(v){return Q==null||Q.trackDisposable(v),v}function H(v){Q==null||Q.markAsDisposed(v)}function $(v,d){Q==null||Q.setParent(v,d)}function e(v,d){if(Q)for(const l of v)Q.setParent(l,d)}function s(v){return Q==null||Q.markAsSingleton(v),v}class f extends Error{constructor(d){super(`Encountered errors while disposing of store. Errors: [${d.join(", ")}]`),this.errors=d}}function t(v){return typeof v.dispose=="function"&&v.dispose.length===0}function r(v){if(O.$.is(v)){let d=[];for(const l of v)if(l)try{l.dispose()}catch(N){d.push(N)}if(d.length===1)throw d[0];if(d.length>1)throw new f(d);return Array.isArray(v)?[]:v}else if(v)return v.dispose(),v}function a(...v){const d=o(()=>r(v));return e(v,d),d}function o(v){const d=p({dispose:(0,P.I)(()=>{H(d),v()})});return d}class m{constructor(){this._toDispose=new Set,this._isDisposed=!1,p(this)}dispose(){this._isDisposed||(H(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 $(d,this),this._isDisposed?m.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}}m.DISABLE_DISPOSED_WARNING=!1;class x{constructor(){this._store=new m,p(this),$(this._store,this)}dispose(){H(this),this._store.dispose()}_register(d){if(d===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(d)}}x.None=Object.freeze({dispose(){}});class E{constructor(){this._isDisposed=!1,p(this)}get value(){return this._isDisposed?void 0:this._value}set value(d){var l;this._isDisposed||d===this._value||((l=this._value)===null||l===void 0||l.dispose(),d&&$(d,this),this._value=d)}clear(){this.value=void 0}dispose(){var d;this._isDisposed=!0,H(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&&$(d,null),d}}class _{constructor(d){this.object=d}dispose(){}}},34502:function(Bt,Ze,u){"use strict";u.d(Ze,{S:function(){return O}});class P{constructor(Q){this.element=Q,this.next=P.Undefined,this.prev=P.Undefined}}P.Undefined=new P(void 0);class O{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 Q=this._first;for(;Q!==P.Undefined;){const V=Q.next;Q.prev=P.Undefined,Q.next=P.Undefined,Q=V}this._first=P.Undefined,this._last=P.Undefined,this._size=0}unshift(Q){return this._insert(Q,!1)}push(Q){return this._insert(Q,!0)}_insert(Q,V){const p=new P(Q);if(this._first===P.Undefined)this._first=p,this._last=p;else if(V){const $=this._last;this._last=p,p.prev=$,$.next=p}else{const $=this._first;this._first=p,p.next=$,$.prev=p}this._size+=1;let H=!1;return()=>{H||(H=!0,this._remove(p))}}shift(){if(this._first!==P.Undefined){const Q=this._first.element;return this._remove(this._first),Q}}pop(){if(this._last!==P.Undefined){const Q=this._last.element;return this._remove(this._last),Q}}_remove(Q){if(Q.prev!==P.Undefined&&Q.next!==P.Undefined){const V=Q.prev;V.next=Q.next,Q.next.prev=V}else Q.prev===P.Undefined&&Q.next===P.Undefined?(this._first=P.Undefined,this._last=P.Undefined):Q.next===P.Undefined?(this._last=this._last.prev,this._last.next=P.Undefined):Q.prev===P.Undefined&&(this._first=this._first.next,this._first.prev=P.Undefined);this._size-=1}*[Symbol.iterator](){let Q=this._first;for(;Q!==P.Undefined;)yield Q.element,Q=Q.next}}},23345:function(Bt,Ze,u){"use strict";u.d(Ze,{$L:function(){return N},ED:function(){return _},IJ:function(){return d},OS:function(){return J},WE:function(){return L},dz:function(){return v},gn:function(){return R},li:function(){return o},r:function(){return g},tY:function(){return l},xS:function(){return j}});var P=u(97671),O;const U="en";let Q=!1,V=!1,p=!1,H=!1,$=!1,e=!1,s=!1,f,t=null,r=null,a;const o=typeof self=="object"?self:typeof u.g=="object"?u.g:{};let m;typeof o.vscode!="undefined"&&typeof o.vscode.process!="undefined"?m=o.vscode.process:typeof P!="undefined"&&(m=P);const x=typeof((O=m==null?void 0:m.versions)===null||O===void 0?void 0:O.electron)=="string"&&m.type==="renderer";if(typeof navigator=="object"&&!x)a=navigator.userAgent,Q=a.indexOf("Windows")>=0,V=a.indexOf("Macintosh")>=0,s=(a.indexOf("Macintosh")>=0||a.indexOf("iPad")>=0||a.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,p=a.indexOf("Linux")>=0,e=!0,f=navigator.language,t=f;else if(typeof m=="object"){Q=m.platform==="win32",V=m.platform==="darwin",p=m.platform==="linux",H=p&&!!m.env.SNAP&&!!m.env.SNAP_REVISION,f=U,t=U;const h=m.env.VSCODE_NLS_CONFIG;if(h)try{const b=JSON.parse(h),C=b.availableLanguages["*"];f=b.locale,t=C||U,r=b._translationsConfigFile}catch(b){}$=!0}else console.error("Unable to resolve platform.");let E=0;V?E=1:Q?E=3:p&&(E=2);const _=Q,v=V,d=p,l=$,N=e,R=s,L=a,j=function(){if(o.setImmediate)return o.setImmediate.bind(o);if(typeof o.postMessage=="function"&&!o.importScripts){let C=[];o.addEventListener("message",w=>{if(w.data&&w.data.vscodeSetImmediateId)for(let n=0,i=C.length;n<i;n++){const y=C[n];if(y.id===w.data.vscodeSetImmediateId){C.splice(n,1),y.callback();return}}});let I=0;return w=>{const n=++I;C.push({id:n,callback:w}),o.postMessage({vscodeSetImmediateId:n},"*")}}if(typeof(m==null?void 0:m.nextTick)=="function")return m.nextTick.bind(m);const b=Promise.resolve();return C=>b.then(C)}(),J=V||s?2:Q?1:3;let B=!0,ge=!1;function g(){if(!ge){ge=!0;const h=new Uint8Array(2);h[0]=1,h[1]=2,B=new Uint16Array(h.buffer)[0]===513}return B}},95830:function(Bt,Ze,u){"use strict";u.d(Ze,{G:function(){return U}});var P=u(23345);const O=P.li.performance&&typeof P.li.performance.now=="function";class U{constructor(V){this._highResolution=O&&V,this._startTime=this._now(),this._stopTime=-1}static create(V=!0){return new U(V)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?P.li.performance.now():Date.now()}}},82983:function(Bt,Ze,u){"use strict";u.d(Ze,{$i:function(){return le},C8:function(){return zt},GF:function(){return f},HO:function(){return I},IO:function(){return t},K7:function(){return it},Kw:function(){return Mt},LC:function(){return o},Mh:function(){return j},P1:function(){return J},PJ:function(){return Ie},Qe:function(){return xe},R1:function(){return s},RP:function(){return y},S6:function(){return Pe},TT:function(){return _},Ut:function(){return n},V8:function(){return m},WU:function(){return U},YK:function(){return ge},YU:function(){return Q},ZG:function(){return B},ZH:function(){return h},ab:function(){return Le},c1:function(){return ye},df:function(){return N},ec:function(){return V},fi:function(){return D},fy:function(){return p},j3:function(){return H},j_:function(){return d},m5:function(){return P},mK:function(){return l},mr:function(){return r},oH:function(){return M},oL:function(){return $},ok:function(){return L},ow:function(){return x},qq:function(){return R},qu:function(){return E},rL:function(){return g},uS:function(){return Ye},un:function(){return e},uq:function(){return a},vH:function(){return C},xe:function(){return je},zY:function(){return v}});function P(c){return!c||typeof c!="string"?!0:c.trim().length===0}const O=/{(\d+)}/g;function U(c,...k){return k.length===0?c:c.replace(O,function(z,T){const W=parseInt(T,10);return isNaN(W)||W<0||W>=k.length?z:k[W]})}function Q(c){return c.replace(/[<>&]/g,function(k){switch(k){case"<":return"<";case">":return">";case"&":return"&";default:return k}})}function V(c){return c.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function p(c,k=" "){const z=H(c,k);return $(z,k)}function H(c,k){if(!c||!k)return c;const z=k.length;if(z===0||c.length===0)return c;let T=0;for(;c.indexOf(k,T)===T;)T=T+z;return c.substring(T)}function $(c,k){if(!c||!k)return c;const z=k.length,T=c.length;if(z===0||T===0)return c;let W=T,F=-1;for(;F=c.lastIndexOf(k,W-1),!(F===-1||F+z!==W);){if(F===0)return"";W=F}return c.substring(0,W)}function e(c){return c.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function s(c){return c.replace(/\*/g,"")}function f(c,k,z={}){if(!c)throw new Error("Cannot create regex from empty string");k||(c=V(c)),z.wholeWord&&(/\B/.test(c.charAt(0))||(c="\\b"+c),/\B/.test(c.charAt(c.length-1))||(c=c+"\\b"));let T="";return z.global&&(T+="g"),z.matchCase||(T+="i"),z.multiline&&(T+="m"),z.unicode&&(T+="u"),new RegExp(c,T)}function t(c){return c.source==="^"||c.source==="^$"||c.source==="$"||c.source==="^\\s*$"?!1:!!(c.exec("")&&c.lastIndex===0)}function r(c){return(c.global?"g":"")+(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")}function a(c){return c.split(/\r\n|\r|\n/)}function o(c){for(let k=0,z=c.length;k<z;k++){const T=c.charCodeAt(k);if(T!==32&&T!==9)return k}return-1}function m(c,k=0,z=c.length){for(let T=k;T<z;T++){const W=c.charCodeAt(T);if(W!==32&&W!==9)return c.substring(k,T)}return c.substring(k,z)}function x(c,k=c.length-1){for(let z=k;z>=0;z--){const T=c.charCodeAt(z);if(T!==32&&T!==9)return z}return-1}function E(c,k){return c<k?-1:c>k?1:0}function _(c,k,z=0,T=c.length,W=0,F=k.length){for(;z<T&&W<F;z++,W++){let ce=c.charCodeAt(z),me=k.charCodeAt(W);if(ce<me)return-1;if(ce>me)return 1}const ee=T-z,q=F-W;return ee<q?-1:ee>q?1:0}function v(c,k){return d(c,k,0,c.length,0,k.length)}function d(c,k,z=0,T=c.length,W=0,F=k.length){for(;z<T&&W<F;z++,W++){let ce=c.charCodeAt(z),me=k.charCodeAt(W);if(ce===me)continue;if(ce>=128||me>=128)return _(c.toLowerCase(),k.toLowerCase(),z,T,W,F);l(ce)&&(ce-=32),l(me)&&(me-=32);const ze=ce-me;if(ze!==0)return ze}const ee=T-z,q=F-W;return ee<q?-1:ee>q?1:0}function l(c){return c>=97&&c<=122}function N(c){return c>=65&&c<=90}function R(c,k){return c.length===k.length&&d(c,k)===0}function L(c,k){const z=k.length;return k.length>c.length?!1:d(c,k,0,z)===0}function j(c,k){let z,T=Math.min(c.length,k.length);for(z=0;z<T;z++)if(c.charCodeAt(z)!==k.charCodeAt(z))return z;return T}function J(c,k){let z,T=Math.min(c.length,k.length);const W=c.length-1,F=k.length-1;for(z=0;z<T;z++)if(c.charCodeAt(W-z)!==k.charCodeAt(F-z))return z;return T}function B(c){return 55296<=c&&c<=56319}function ge(c){return 56320<=c&&c<=57343}function g(c,k){return(c-55296<<10)+(k-56320)+65536}function h(c,k,z){const T=c.charCodeAt(z);if(B(T)&&z+1<k){const W=c.charCodeAt(z+1);if(ge(W))return g(T,W)}return T}function b(c,k){const z=c.charCodeAt(k-1);if(ge(z)&&k>1){const T=c.charCodeAt(k-2);if(B(T))return g(T,z)}return z}function C(c,k){const z=A.getInstance(),T=k,W=c.length,F=h(c,W,k);k+=F>=65536?2:1;let ee=z.getGraphemeBreakType(F);for(;k<W;){const q=h(c,W,k),ce=z.getGraphemeBreakType(q);if(D(ee,ce))break;k+=q>=65536?2:1,ee=ce}return k-T}function I(c,k){const z=A.getInstance(),T=k,W=b(c,k);k-=W>=65536?2:1;let F=z.getGraphemeBreakType(W);for(;k>0;){const ee=b(c,k),q=z.getGraphemeBreakType(ee);if(D(q,F))break;k-=ee>=65536?2:1,F=q}return T-k}const w=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function n(c){return w.test(c)}const i=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function y(c){return i.test(c)}const K=/^[\t\n\r\x20-\x7E]*$/;function le(c){return K.test(c)}const xe=/[\u2028\u2029]/;function Le(c){return xe.test(c)}function je(c){for(let k=0,z=c.length;k<z;k++)if(it(c.charCodeAt(k)))return!0;return!1}function it(c){return c=+c,c>=11904&&c<=55215||c>=63744&&c<=64255||c>=65281&&c<=65374}function zt(c){return c>=127462&&c<=127487||c===8986||c===8987||c===9200||c===9203||c>=9728&&c<=10175||c===11088||c===11093||c>=127744&&c<=128591||c>=128640&&c<=128764||c>=128992&&c<=129003||c>=129280&&c<=129535||c>=129648&&c<=129750}const ye="\uFEFF";function Ye(c){return!!(c&&c.length>0&&c.charCodeAt(0)===65279)}function Mt(c,k=!1){return c?(k&&(c=c.replace(/\\./g,"")),c.toLowerCase()!==c):!1}function Ie(c){return c=c%(2*26),c<26?String.fromCharCode(97+c):String.fromCharCode(65+c-26)}function Pe(c){return A.getInstance().getGraphemeBreakType(c)}function D(c,k){return c===0?k!==5&&k!==7:c===2&&k===3?!1:c===4||c===2||c===3||k===4||k===2||k===3?!0:!(c===8&&(k===8||k===9||k===11||k===12)||(c===11||c===9)&&(k===9||k===10)||(c===12||c===10)&&k===10||k===5||k===13||k===7||c===1||c===13&&k===14||c===6&&k===6)}class A{constructor(){this._data=X()}static getInstance(){return A._INSTANCE||(A._INSTANCE=new A),A._INSTANCE}getGraphemeBreakType(k){if(k<32)return k===10?3:k===13?2:4;if(k<127)return 0;const z=this._data,T=z.length/3;let W=1;for(;W<=T;)if(k<z[3*W])W=2*W;else if(k>z[3*W+1])W=2*W+1;else return z[3*W+2];return 0}}A._INSTANCE=null;function X(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function M(c,k){if(c===0)return 0;const z=se(c,k);if(z!==void 0)return z;const T=b(k,c);return c-=ve(T),c}function se(c,k){let z=b(k,c);for(c-=ve(z);S(z)||z===65039||z===8419;){if(c===0)return;z=b(k,c),c-=ve(z)}if(zt(z)){if(c>=0){const T=b(k,c);T===8205&&(c-=ve(T))}return c}}function ve(c){return c>=65536?2:1}function S(c){return 127995<=c&&c<=127999}},72999:function(Bt,Ze,u){"use strict";u.d(Ze,{$E:function(){return o},$K:function(){return H},D8:function(){return t},HD:function(){return O},IU:function(){return m},Jp:function(){return $},Kn:function(){return U},cW:function(){return s},f6:function(){return x},hj:function(){return Q},jn:function(){return V},kJ:function(){return P},mf:function(){return f},o8:function(){return p},p_:function(){return e},vE:function(){return E}});function P(_){return Array.isArray(_)}function O(_){return typeof _=="string"}function U(_){return typeof _=="object"&&_!==null&&!Array.isArray(_)&&!(_ instanceof RegExp)&&!(_ instanceof Date)}function Q(_){return typeof _=="number"&&!isNaN(_)}function V(_){return _===!0||_===!1}function p(_){return typeof _=="undefined"}function H(_){return!$(_)}function $(_){return p(_)||_===null}function e(_,v){if(!_)throw new Error(v?`Unexpected type, expected '${v}'`:"Unexpected type")}function s(_){if($(_))throw new Error("Assertion Failed: argument is undefined or null");return _}function f(_){return typeof _=="function"}function t(_,v){const d=Math.min(_.length,v.length);for(let l=0;l<d;l++)r(_[l],v[l])}function r(_,v){if(O(v)){if(typeof _!==v)throw new Error(`argument does not match constraint: typeof ${v}`)}else if(f(v)){try{if(_ instanceof v)return}catch(d){}if(!$(_)&&_.constructor===v||v.length===1&&v.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 a(_){let v=[],d=Object.getPrototypeOf(_);for(;Object.prototype!==d;)v=v.concat(Object.getOwnPropertyNames(d)),d=Object.getPrototypeOf(d);return v}function o(_){const v=[];for(const d of a(_))typeof _[d]=="function"&&v.push(d);return v}function m(_,v){const d=N=>function(){const R=Array.prototype.slice.call(arguments,0);return v(N,R)};let l={};for(const N of _)l[N]=d(N);return l}function x(_){return _===null?void 0:_}function E(_,v="Unreachable"){throw new Error(v)}},13268:function(Bt,Ze,u){"use strict";u.d(Ze,{N:function(){return O}});function P(U,Q){let V;return Q.length===0?V=U:V=U.replace(/\{(\d+)\}/g,function(p,H){const $=H[0];return typeof Q[$]!="undefined"?Q[$]:p}),V}function O(U,Q,...V){return P(Q,V)}},96236:function(Bt,Ze,u){"use strict";u.d(Ze,{BH:function(){return m},NZ:function(){return x},U8:function(){return E},co:function(){return o},eH:function(){return a},vr:function(){return r}});var P=u(75918),O=u(52615),U=u(4348),Q=u(88226),V=u(69323),p=u(34502),H=u(35884),$=u(90689),e=u(16925),s=u(49055),f=function(_,v,d,l){var N=arguments.length,R=N<3?v:l===null?l=Object.getOwnPropertyDescriptor(v,d):l,L;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")R=Reflect.decorate(_,v,d,l);else for(var j=_.length-1;j>=0;j--)(L=_[j])&&(R=(N<3?L(R):N>3?L(v,d,R):L(v,d))||R);return N>3&&R&&Object.defineProperty(v,d,R),R},t=function(_,v){return function(d,l){v(d,l,_)}};function r(_){return _.command!==void 0}class a{constructor(v){this.id=a._idPool++,this._debugName=v}}a._idPool=0,a.CommandPalette=new a("CommandPalette"),a.EditorContext=new a("EditorContext"),a.SimpleEditorContext=new a("SimpleEditorContext"),a.EditorContextCopy=new a("EditorContextCopy"),a.EditorContextPeek=new a("EditorContextPeek"),a.MenubarEditMenu=new a("MenubarEditMenu"),a.MenubarCopy=new a("MenubarCopy"),a.MenubarGoMenu=new a("MenubarGoMenu"),a.MenubarSelectionMenu=new a("MenubarSelectionMenu"),a.InlineCompletionsActions=new a("InlineCompletionsActions");const o=(0,e.yh)("menuService"),m=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new U.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:_=>_===a.CommandPalette}}addCommand(_){return this.addCommands(Q.$.single(_))}addCommands(_){for(const v of _)this._commands.set(v.id,v);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,V.OF)(()=>{let v=!1;for(const d of _)v=this._commands.delete(d.id)||v;v&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(_){return this._commands.get(_)}getCommands(){const _=new Map;return this._commands.forEach((v,d)=>_.set(d,v)),_}appendMenuItem(_,v){return this.appendMenuItems(Q.$.single({id:_,item:v}))}appendMenuItems(_){const v=new Set,d=new p.S;for(const{id:l,item:N}of _){let R=this._menuItems.get(l);R||(R=new p.S,this._menuItems.set(l,R)),d.push(R.push(N)),v.add(l)}return this._onDidChangeMenu.fire(v),(0,V.OF)(()=>{if(d.size>0){for(let l of d)l();this._onDidChangeMenu.fire(v),d.clear()}})}getMenuItems(_){let v;return this._menuItems.has(_)?v=[...this._menuItems.get(_)]:v=[],_===a.CommandPalette&&this._appendImplicitItems(v),v}_appendImplicitItems(_){const v=new Set;for(const d of _)r(d)&&(v.add(d.command.id),d.alt&&v.add(d.alt.id));this._commands.forEach((d,l)=>{v.has(l)||_.push({command:d})})}};class x extends P.wY{constructor(v,d,l,N){super(`submenuitem.${v.submenu.id}`,typeof v.title=="string"?v.title:v.title.value,[],"submenu"),this.item=v,this._menuService=d,this._contextKeyService=l,this._options=N}get actions(){const v=[],d=this._menuService.createMenu(this.item.submenu,this._contextKeyService),l=d.getActions(this._options);d.dispose();for(const[,N]of l)N.length>0&&(v.push(...N),v.push(new P.Z0));return v.length&&v.pop(),v}}let E=class bi{constructor(v,d,l,N,R){var L,j;if(this._commandService=R,this.id=v.id,this.label=l!=null&&l.renderShortTitle&&v.shortTitle?typeof v.shortTitle=="string"?v.shortTitle:v.shortTitle.value:typeof v.title=="string"?v.title:v.title.value,this.tooltip=(j=typeof v.tooltip=="string"?v.tooltip:(L=v.tooltip)===null||L===void 0?void 0:L.value)!==null&&j!==void 0?j:"",this.enabled=!v.precondition||N.contextMatchesRules(v.precondition),this.checked=void 0,v.toggled){const J=v.toggled.condition?v.toggled:{condition:v.toggled};this.checked=N.contextMatchesRules(J.condition),this.checked&&J.tooltip&&(this.tooltip=typeof J.tooltip=="string"?J.tooltip:J.tooltip.value),J.title&&(this.label=typeof J.title=="string"?J.title:J.title.value)}this.item=v,this.alt=d?new bi(d,void 0,l,N,R):void 0,this._options=l,s.kS.isThemeIcon(v.icon)&&(this.class=O.dT.asClassName(v.icon))}dispose(){}run(...v){var d,l;let N=[];return!((d=this._options)===null||d===void 0)&&d.arg&&(N=[...N,this._options.arg]),!((l=this._options)===null||l===void 0)&&l.shouldForwardArgs&&(N=[...N,...v]),this._commandService.executeCommand(this.id,...N)}};E=f([t(3,$.i6),t(4,H.H)],E)},35884:function(Bt,Ze,u){"use strict";u.d(Ze,{H:function(){return H},P:function(){return $}});var P=u(4348),O=u(88226),U=u(69323),Q=u(34502),V=u(72999),p=u(16925);const H=(0,p.yh)("commandService"),$=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 x of e.description.args)o.push(x.constraint);const m=e.handler;e.handler=function(x,...E){return(0,V.D8)(E,o),m(x,...E)}}const{id:f}=e;let t=this._commands.get(f);t||(t=new Q.S,this._commands.set(f,t));let r=t.unshift(e),a=(0,U.OF)(()=>{r();const o=this._commands.get(f);o!=null&&o.isEmpty()&&this._commands.delete(f)});return this._onDidRegisterCommand.fire(f),a}registerCommandAlias(e,s){return $.registerCommand(e,(f,...t)=>f.get(H).executeCommand(s,...t))}getCommand(e){const s=this._commands.get(e);if(!(!s||s.isEmpty()))return O.$.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}};$.registerCommand("noop",()=>{})},90689:function(Bt,Ze,u){"use strict";u.d(Ze,{Ao:function(){return H},Eq:function(){return g},Fb:function(){return $},K8:function(){return C},i6:function(){return ge},uy:function(){return B}});var P=u(23345),O=u(82983),U=u(16925);let Q=P.WE||"";const V=new Map;V.set("false",!1),V.set("true",!0),V.set("isMac",P.dz),V.set("isLinux",P.IJ),V.set("isWindows",P.ED),V.set("isWeb",P.$L),V.set("isMacNative",P.dz&&!P.$L),V.set("isEdge",Q.indexOf("Edg/")>=0),V.set("isFirefox",Q.indexOf("Firefox")>=0),V.set("isChrome",Q.indexOf("Chrome")>=0),V.set("isSafari",Q.indexOf("Safari")>=0);const p=Object.prototype.hasOwnProperty;class H{static has(n){return t.create(n)}static equals(n,i){return r.create(n,i)}static regex(n,i){return N.create(n,i)}static not(n){return x.create(n)}static and(...n){return j.create(n,null)}static or(...n){return J.create(n,null,!0)}static deserialize(n,i=!1){if(n)return this._deserializeOrExpression(n,i)}static _deserializeOrExpression(n,i){let y=n.split("||");return J.create(y.map(K=>this._deserializeAndExpression(K,i)),null,!0)}static _deserializeAndExpression(n,i){let y=n.split("&&");return j.create(y.map(K=>this._deserializeOne(K,i)),null)}static _deserializeOne(n,i){if(n=n.trim(),n.indexOf("!=")>=0){let y=n.split("!=");return m.create(y[0].trim(),this._deserializeValue(y[1],i))}if(n.indexOf("==")>=0){let y=n.split("==");return r.create(y[0].trim(),this._deserializeValue(y[1],i))}if(n.indexOf("=~")>=0){let y=n.split("=~");return N.create(y[0].trim(),this._deserializeRegexValue(y[1],i))}if(n.indexOf(" in ")>=0){let y=n.split(" in ");return a.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(n)){const y=n.split(">=");return v.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(n)){const y=n.split(">");return _.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(n)){const y=n.split("<=");return l.create(y[0].trim(),y[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(n)){const y=n.split("<");return d.create(y[0].trim(),y[1].trim())}return/^\!\s*/.test(n)?x.create(n.substr(1).trim()):t.create(n)}static _deserializeValue(n,i){if(n=n.trim(),n==="true")return!0;if(n==="false")return!1;let y=/^'([^']*)'$/.exec(n);return y?y[1].trim():n}static _deserializeRegexValue(n,i){if((0,O.m5)(n)){if(i)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let y=n.indexOf("/"),K=n.lastIndexOf("/");if(y===K||y<0){if(i)throw new Error(`bad regexp-value '${n}', missing /-enclosure`);return console.warn(`bad regexp-value '${n}', missing /-enclosure`),null}let le=n.slice(y+1,K),xe=n[K+1]==="i"?"i":"";try{return new RegExp(le,xe)}catch(Le){if(i)throw new Error(`bad regexp-value '${n}', parse error: ${Le}`);return console.warn(`bad regexp-value '${n}', parse error: ${Le}`),null}}}function $(w,n){const i=w?w.substituteConstants():void 0,y=n?n.substituteConstants():void 0;return!i&&!y?!0:!i||!y?!1:i.equals(y)}function e(w,n){return w.cmp(n)}class s{constructor(){this.type=0}cmp(n){return this.type-n.type}equals(n){return n.type===this.type}substituteConstants(){return this}evaluate(n){return!1}serialize(){return"false"}keys(){return[]}negate(){return 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,i){this.key=n,this.negated=i,this.type=2}static create(n,i=null){const y=V.get(n);return typeof y=="boolean"?y?f.INSTANCE:s.INSTANCE:new t(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:h(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=V.get(this.key);return typeof n=="boolean"?n?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=x.create(this.key,this)),this.negated}}class r{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=4}static create(n,i,y=null){if(typeof i=="boolean")return i?t.create(n,y):x.create(n,y);const K=V.get(n);return typeof K=="boolean"?i===(K?"true":"false")?f.INSTANCE:s.INSTANCE:new r(n,i,y)}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){const n=V.get(this.key);if(typeof n=="boolean"){const i=n?"true":"false";return this.value===i?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=m.create(this.key,this.value,this)),this.negated}}class a{constructor(n,i){this.key=n,this.valueKey=i,this.type=10,this.negated=null}static create(n,i){return new a(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.valueKey,n.key,n.valueKey)}equals(n){return n.type===this.type?this.key===n.key&&this.valueKey===n.valueKey:!1}substituteConstants(){return this}evaluate(n){const i=n.getValue(this.valueKey),y=n.getValue(this.key);return Array.isArray(i)?i.indexOf(y)>=0:typeof y=="string"&&typeof i=="object"&&i!==null?p.call(i,y):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=o.create(this)),this.negated}}class o{constructor(n){this._actual=n,this.type=11}static create(n){return new o(n)}cmp(n){return n.type!==this.type?this.type-n.type:this._actual.cmp(n._actual)}equals(n){return n.type===this.type?this._actual.equals(n._actual):!1}substituteConstants(){return this}evaluate(n){return!this._actual.evaluate(n)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class m{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=5}static create(n,i,y=null){if(typeof i=="boolean")return i?x.create(n,y):t.create(n,y);const K=V.get(n);return typeof K=="boolean"?i===(K?"true":"false")?s.INSTANCE:f.INSTANCE:new m(n,i,y)}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){const n=V.get(this.key);if(typeof n=="boolean"){const i=n?"true":"false";return this.value===i?s.INSTANCE: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 x{constructor(n,i){this.key=n,this.negated=i,this.type=3}static create(n,i=null){const y=V.get(n);return typeof y=="boolean"?y?s.INSTANCE:f.INSTANCE:new x(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:h(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=V.get(this.key);return typeof n=="boolean"?n?s.INSTANCE: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 E(w,n){if(typeof w=="string"){const i=parseFloat(w);isNaN(i)||(w=i)}return typeof w=="string"||typeof w=="number"?n(w):s.INSTANCE}class _{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=12}static create(n,i,y=null){return E(i,K=>new _(n,K,y))}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=l.create(this.key,this.value,this)),this.negated}}class v{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=13}static create(n,i,y=null){return E(i,K=>new v(n,K,y))}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=d.create(this.key,this.value,this)),this.negated}}class d{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=14}static create(n,i,y=null){return E(i,K=>new d(n,K,y))}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.create(this.key,this.value,this)),this.negated}}class l{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=15}static create(n,i,y=null){return E(i,K=>new l(n,K,y))}cmp(n){return n.type!==this.type?this.type-n.type:b(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=_.create(this.key,this.value,this)),this.negated}}class N{constructor(n,i){this.key=n,this.regexp=i,this.type=7,this.negated=null}static create(n,i){return new N(n,i)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.key<n.key)return-1;if(this.key>n.key)return 1;const i=this.regexp?this.regexp.source:"",y=n.regexp?n.regexp.source:"";return i<y?-1:i>y?1:0}equals(n){if(n.type===this.type){const i=this.regexp?this.regexp.source:"",y=n.regexp?n.regexp.source:"";return this.key===n.key&&i===y}return!1}substituteConstants(){return this}evaluate(n){let i=n.getValue(this.key);return this.regexp?this.regexp.test(i):!1}serialize(){const n=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${n}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=R.create(this)),this.negated}}class R{constructor(n){this._actual=n,this.type=8}static create(n){return new R(n)}cmp(n){return n.type!==this.type?this.type-n.type:this._actual.cmp(n._actual)}equals(n){return n.type===this.type?this._actual.equals(n._actual):!1}substituteConstants(){return this}evaluate(n){return!this._actual.evaluate(n)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function L(w){let n=null;for(let i=0,y=w.length;i<y;i++){const K=w[i].substituteConstants();if(w[i]!==K&&n===null){n=[];for(let le=0;le<i;le++)n[le]=w[le]}n!==null&&(n[i]=K)}return n===null?w:n}class j{constructor(n,i){this.expr=n,this.negated=i,this.type=6}static create(n,i){return j._normalizeArr(n,i)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.expr.length<n.expr.length)return-1;if(this.expr.length>n.expr.length)return 1;for(let i=0,y=this.expr.length;i<y;i++){const K=e(this.expr[i],n.expr[i]);if(K!==0)return K}return 0}equals(n){if(n.type===this.type){if(this.expr.length!==n.expr.length)return!1;for(let i=0,y=this.expr.length;i<y;i++)if(!this.expr[i].equals(n.expr[i]))return!1;return!0}return!1}substituteConstants(){const n=L(this.expr);return n===this.expr?this:j.create(n,this.negated)}evaluate(n){for(let i=0,y=this.expr.length;i<y;i++)if(!this.expr[i].evaluate(n))return!1;return!0}static _normalizeArr(n,i){const y=[];let K=!1;for(const le of n)if(le){if(le.type===1){K=!0;continue}if(le.type===0)return s.INSTANCE;if(le.type===6){y.push(...le.expr);continue}y.push(le)}if(y.length===0&&K)return f.INSTANCE;if(y.length!==0){if(y.length===1)return y[0];y.sort(e);for(let le=1;le<y.length;le++)y[le-1].equals(y[le])&&(y.splice(le,1),le--);if(y.length===1)return y[0];for(;y.length>1;){const le=y[y.length-1];if(le.type!==9)break;y.pop();const xe=y.pop(),Le=y.length===0,je=J.create(le.expr.map(it=>j.create([it,xe],null)),null,Le);je&&(y.push(je),y.sort(e))}return y.length===1?y[0]:new j(y,i)}}serialize(){return this.expr.map(n=>n.serialize()).join(" && ")}keys(){const n=[];for(let i of this.expr)n.push(...i.keys());return n}negate(){if(!this.negated){const n=[];for(let i of this.expr)n.push(i.negate());this.negated=J.create(n,this,!0)}return this.negated}}class J{constructor(n,i){this.expr=n,this.negated=i,this.type=9}static create(n,i,y){return J._normalizeArr(n,i,y)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.expr.length<n.expr.length)return-1;if(this.expr.length>n.expr.length)return 1;for(let i=0,y=this.expr.length;i<y;i++){const K=e(this.expr[i],n.expr[i]);if(K!==0)return K}return 0}equals(n){if(n.type===this.type){if(this.expr.length!==n.expr.length)return!1;for(let i=0,y=this.expr.length;i<y;i++)if(!this.expr[i].equals(n.expr[i]))return!1;return!0}return!1}substituteConstants(){const n=L(this.expr);return n===this.expr?this:J.create(n,this.negated,!1)}evaluate(n){for(let i=0,y=this.expr.length;i<y;i++)if(this.expr[i].evaluate(n))return!0;return!1}static _normalizeArr(n,i,y){let K=[],le=!1;if(n){for(let xe=0,Le=n.length;xe<Le;xe++){const je=n[xe];if(je){if(je.type===0){le=!0;continue}if(je.type===1)return f.INSTANCE;if(je.type===9){K=K.concat(je.expr);continue}K.push(je)}}if(K.length===0&&le)return s.INSTANCE;K.sort(e)}if(K.length!==0){if(K.length===1)return K[0];for(let xe=1;xe<K.length;xe++)K[xe-1].equals(K[xe])&&(K.splice(xe,1),xe--);if(K.length===1)return K[0];if(y){for(let xe=0;xe<K.length;xe++)for(let Le=xe+1;Le<K.length;Le++)C(K[xe],K[Le])&&(K.splice(Le,1),Le--);if(K.length===1)return K[0]}return new J(K,i)}}serialize(){return this.expr.map(n=>n.serialize()).join(" || ")}keys(){const n=[];for(let i of this.expr)n.push(...i.keys());return n}negate(){if(!this.negated){let n=[];for(let i of this.expr)n.push(i.negate());for(;n.length>1;){const i=n.shift(),y=n.shift(),K=[];for(const xe of I(i))for(const Le of I(y))K.push(j.create([xe,Le],null));const le=n.length===0;n.unshift(J.create(K,null,le))}this.negated=n[0]}return this.negated}}class B extends t{constructor(n,i,y){super(n,null),this._defaultValue=i,typeof y=="object"?B._info.push(Object.assign(Object.assign({},y),{key:n})):y!==!0&&B._info.push({key:n,description:y,type:i!=null?typeof i:void 0})}static all(){return B._info.values()}bindTo(n){return n.createKey(this.key,this._defaultValue)}getValue(n){return n.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(n){return r.create(this.key,n)}}B._info=[];const ge=(0,U.yh)("contextKeyService"),g="setContext";function h(w,n){return w<n?-1:w>n?1:0}function b(w,n,i,y){return w<i?-1:w>i?1:n<y?-1:n>y?1:0}function C(w,n){if(n.type===6&&w.type!==9&&w.type!==6){for(const K of n.expr)if(w.equals(K))return!0}const i=w.negate(),y=I(i).concat(I(n));y.sort(e);for(let K=0;K<y.length;K++){const xe=y[K].negate();for(let Le=K+1;Le<y.length;Le++){const je=y[Le];if(xe.equals(je))return!0}}return!1}function I(w){return w.type===9?w.expr:[w]}},16925:function(Bt,Ze,u){"use strict";u.d(Ze,{I8:function(){return P},TG:function(){return O},jt:function(){return V},yh:function(){return Q}});var P;(function(p){p.serviceIds=new Map,p.DI_TARGET="$di$target",p.DI_DEPENDENCIES="$di$dependencies";function H($){return $[p.DI_DEPENDENCIES]||[]}p.getServiceDependencies=H})(P||(P={}));const O=Q("instantiationService");function U(p,H,$,e){H[P.DI_TARGET]===H?H[P.DI_DEPENDENCIES].push({id:p,index:$,optional:e}):(H[P.DI_DEPENDENCIES]=[{id:p,index:$,optional:e}],H[P.DI_TARGET]=H)}function Q(p){if(P.serviceIds.has(p))return P.serviceIds.get(p);const H=function($,e,s){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");U(H,$,s,!1)};return H.toString=()=>p,P.serviceIds.set(p,H),H}function V(p){return function(H,$,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");U(p,H,e,!0)}}},44650:function(Bt,Ze,u){"use strict";u.d(Ze,{B:function(){return Q}});var P=u(76068),O=u(72999);class U{constructor(){this.data=new Map}add(p,H){P.ok(O.HD(p)),P.ok(O.Kn(H)),P.ok(!this.data.has(p),"There is already an extension with this id"),this.data.set(p,H)}as(p){return this.data.get(p)||null}}const Q=new U},66213:function(Bt,Ze,u){"use strict";u.d(Ze,{e:function(){return P}});var P;(function(O){O.DARK="dark",O.LIGHT="light",O.HIGH_CONTRAST="hc"})(P||(P={}))},49055:function(Bt,Ze,u){"use strict";u.d(Ze,{EN:function(){return e},IP:function(){return t},Ic:function(){return o},XE:function(){return H},bB:function(){return m},kS:function(){return s},m6:function(){return f}});var P=u(52615),O=u(4348),U=u(69323),Q=u(16925),V=u(44650),p=u(66213);const H=(0,Q.yh)("themeService");var $;(function(x){function E(_){return _&&typeof _=="object"&&typeof _.id=="string"}x.isThemeColor=E})($||($={}));function e(x){return{id:x}}var s;(function(x){function E(R){return R&&typeof R=="object"&&typeof R.id=="string"&&(typeof R.color=="undefined"||$.isThemeColor(R.color))}x.isThemeIcon=E;const _=new RegExp(`^\\$\\((${P.dT.iconNameExpression}(?:${P.dT.iconModifierExpression})?)\\)$`);function v(R){const L=_.exec(R);if(!L)return;let[,j]=L;return{id:j}}x.fromString=v;function d(R,L){let j=R.id;const J=j.lastIndexOf("~");return J!==-1&&(j=j.substring(0,J)),L&&(j=`${j}~${L}`),{id:j}}x.modify=d;function l(R,L){var j,J;return R.id===L.id&&((j=R.color)===null||j===void 0?void 0:j.id)===((J=L.color)===null||J===void 0?void 0:J.id)}x.isEqual=l;function N(R,L){return{id:R.id,color:L?e(L):void 0}}x.asThemeIcon=N,x.asClassNameArray=P.dT.asClassNameArray,x.asClassName=P.dT.asClassName,x.asCSSSelector=P.dT.asCSSSelector})(s||(s={}));function f(x){switch(x){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 O.Q5}onColorThemeChange(E){return this.themingParticipants.push(E),this.onThemingParticipantAddedEmitter.fire(E),(0,U.OF)(()=>{const _=this.themingParticipants.indexOf(E);this.themingParticipants.splice(_,1)})}getThemingParticipants(){return this.themingParticipants}}let a=new r;V.B.add(t.ThemingContribution,a);function o(x){return a.onColorThemeChange(x)}class m extends U.JT{constructor(E){super(),this.themeService=E,this.theme=E.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(_=>this.onThemeChange(_)))}onThemeChange(E){this.theme=E,this.updateStyles()}updateStyles(){}}},16632:function(Bt,Ze,u){"use strict";var P=u(72308),O=u(77321),U=u(49618),Q=u(52487),V=u(74416),p=u(92310),H=u.n(p),$=u(18929),e=u(59301),s=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],f=(0,e.forwardRef)(function(t,r){var a=t.prefixCls,o=a===void 0?"rc-checkbox":a,m=t.className,x=t.style,E=t.checked,_=t.disabled,v=t.defaultChecked,d=v===void 0?!1:v,l=t.type,N=l===void 0?"checkbox":l,R=t.title,L=t.onChange,j=(0,V.Z)(t,s),J=(0,e.useRef)(null),B=(0,e.useRef)(null),ge=(0,$.Z)(d,{value:E}),g=(0,Q.Z)(ge,2),h=g[0],b=g[1];(0,e.useImperativeHandle)(r,function(){return{focus:function(n){var i;(i=J.current)===null||i===void 0||i.focus(n)},blur:function(){var n;(n=J.current)===null||n===void 0||n.blur()},input:J.current,nativeElement:B.current}});var C=H()(o,m,(0,U.Z)((0,U.Z)({},"".concat(o,"-checked"),h),"".concat(o,"-disabled"),_)),I=function(n){_||("checked"in t||b(n.target.checked),L==null||L({target:(0,O.Z)((0,O.Z)({},t),{},{type:N,checked:n.target.checked}),stopPropagation:function(){n.stopPropagation()},preventDefault:function(){n.preventDefault()},nativeEvent:n.nativeEvent}))};return e.createElement("span",{className:C,title:R,style:x,ref:B},e.createElement("input",(0,P.Z)({},j,{className:"".concat(o,"-input"),ref:J,onChange:I,disabled:_,checked:!!h,type:N})),e.createElement("span",{className:"".concat(o,"-inner")}))});Ze.Z=f},96478:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return R}});var P=u(72308),O=u(49618),U=u(52487),Q=u(74416),V=u(65352),p=u(92310),H=u.n(p),$=u(8654),e=u(59301),s=u(10228),f=u(16089),t=s.Z.ESC,r=s.Z.TAB;function a(L){var j=L.visible,J=L.triggerRef,B=L.onVisibleChange,ge=L.autoFocus,g=L.overlayRef,h=e.useRef(!1),b=function(){if(j){var n,i;(n=J.current)===null||n===void 0||(i=n.focus)===null||i===void 0||i.call(n),B==null||B(!1)}},C=function(){var n;return(n=g.current)!==null&&n!==void 0&&n.focus?(g.current.focus(),h.current=!0,!0):!1},I=function(n){switch(n.keyCode){case t:b();break;case r:{var i=!1;h.current||(i=C()),i?n.preventDefault():b();break}}};e.useEffect(function(){return j?(window.addEventListener("keydown",I),ge&&(0,f.Z)(C,3),function(){window.removeEventListener("keydown",I),h.current=!1}):function(){h.current=!1}},[j])}var o=(0,e.forwardRef)(function(L,j){var J=L.overlay,B=L.arrow,ge=L.prefixCls,g=(0,e.useMemo)(function(){var b;return typeof J=="function"?b=J():b=J,b},[J]),h=(0,$.sQ)(j,(0,$.C4)(g));return e.createElement(e.Fragment,null,B&&e.createElement("div",{className:"".concat(ge,"-arrow")}),e.cloneElement(g,{ref:(0,$.Yr)(g)?h:void 0}))}),m=o,x={adjustX:1,adjustY:1},E=[0,0],_={topLeft:{points:["bl","tl"],overflow:x,offset:[0,-4],targetOffset:E},top:{points:["bc","tc"],overflow:x,offset:[0,-4],targetOffset:E},topRight:{points:["br","tr"],overflow:x,offset:[0,-4],targetOffset:E},bottomLeft:{points:["tl","bl"],overflow:x,offset:[0,4],targetOffset:E},bottom:{points:["tc","bc"],overflow:x,offset:[0,4],targetOffset:E},bottomRight:{points:["tr","br"],overflow:x,offset:[0,4],targetOffset:E}},v=_,d=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function l(L,j){var J,B=L.arrow,ge=B===void 0?!1:B,g=L.prefixCls,h=g===void 0?"rc-dropdown":g,b=L.transitionName,C=L.animation,I=L.align,w=L.placement,n=w===void 0?"bottomLeft":w,i=L.placements,y=i===void 0?v:i,K=L.getPopupContainer,le=L.showAction,xe=L.hideAction,Le=L.overlayClassName,je=L.overlayStyle,it=L.visible,zt=L.trigger,ye=zt===void 0?["hover"]:zt,Ye=L.autoFocus,Mt=L.overlay,Ie=L.children,Pe=L.onVisibleChange,D=(0,Q.Z)(L,d),A=e.useState(),X=(0,U.Z)(A,2),M=X[0],se=X[1],ve="visible"in L?it:M,S=e.useRef(null),c=e.useRef(null),k=e.useRef(null);e.useImperativeHandle(j,function(){return S.current});var z=function(Fe){se(Fe),Pe==null||Pe(Fe)};a({visible:ve,triggerRef:k,onVisibleChange:z,autoFocus:Ye,overlayRef:c});var T=function(Fe){var Ae=L.onOverlayClick;se(!1),Ae&&Ae(Fe)},W=function(){return e.createElement(m,{ref:c,overlay:Mt,prefixCls:h,arrow:ge})},F=function(){return typeof Mt=="function"?W:W()},ee=function(){var Fe=L.minOverlayWidthMatchTrigger,Ae=L.alignPoint;return"minOverlayWidthMatchTrigger"in L?Fe:!Ae},q=function(){var Fe=L.openClassName;return Fe!==void 0?Fe:"".concat(h,"-open")},ce=e.cloneElement(Ie,{className:H()((J=Ie.props)===null||J===void 0?void 0:J.className,ve&&q()),ref:(0,$.Yr)(Ie)?(0,$.sQ)(k,(0,$.C4)(Ie)):void 0}),me=xe;return!me&&ye.indexOf("contextMenu")!==-1&&(me=["click"]),e.createElement(V.Z,(0,P.Z)({builtinPlacements:y},D,{prefixCls:h,ref:S,popupClassName:H()(Le,(0,O.Z)({},"".concat(h,"-show-arrow"),ge)),popupStyle:je,action:ye,showAction:le,hideAction:me,popupPlacement:n,popupAlign:I,popupTransitionName:b,popupAnimation:C,popupVisible:ve,stretch:ee()?"minWidth":"",popup:F(),onPopupVisibleChange:z,onPopupClick:T,getPopupContainer:K}),ce)}var N=e.forwardRef(l),R=N},66003:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return H}});var P=u(74416),O=u(77321),U=u(62853),Q=u(59301),V=["show"];function p($,e){if(!e.max)return!0;var s=e.strategy($);return s<=e.max}function H($,e){return Q.useMemo(function(){var s={};e&&(s.show=(0,U.Z)(e)==="object"&&e.formatter?e.formatter:!!e),s=(0,O.Z)((0,O.Z)({},s),$);var f=s,t=f.show,r=(0,P.Z)(f,V);return(0,O.Z)((0,O.Z)({},r),{},{show:!!t,showFormatter:typeof t=="function"?t:void 0,strategy:r.strategy||function(a){return a.length}})},[$,e])}},36901:function(Bt,Ze,u){"use strict";u.r(Ze),u.d(Ze,{BaseInput:function(){return s},default:function(){return v}});var P=u(77321),O=u(72308),U=u(49618),Q=u(62853),V=u(92310),p=u.n(V),H=u(59301),$=u(30292),e=H.forwardRef(function(d,l){var N,R,L,j=d.inputElement,J=d.children,B=d.prefixCls,ge=d.prefix,g=d.suffix,h=d.addonBefore,b=d.addonAfter,C=d.className,I=d.style,w=d.disabled,n=d.readOnly,i=d.focused,y=d.triggerFocus,K=d.allowClear,le=d.value,xe=d.handleReset,Le=d.hidden,je=d.classes,it=d.classNames,zt=d.dataAttrs,ye=d.styles,Ye=d.components,Mt=d.onClear,Ie=J!=null?J:j,Pe=(Ye==null?void 0:Ye.affixWrapper)||"span",D=(Ye==null?void 0:Ye.groupWrapper)||"span",A=(Ye==null?void 0:Ye.wrapper)||"span",X=(Ye==null?void 0:Ye.groupAddon)||"span",M=(0,H.useRef)(null),se=function(rt){var Ve;(Ve=M.current)!==null&&Ve!==void 0&&Ve.contains(rt.target)&&(y==null||y())},ve=(0,$.X3)(d),S=(0,H.cloneElement)(Ie,{value:le,className:p()((N=Ie.props)===null||N===void 0?void 0:N.className,!ve&&(it==null?void 0:it.variant))||null}),c=(0,H.useRef)(null);if(H.useImperativeHandle(l,function(){return{nativeElement:c.current||M.current}}),ve){var k=null;if(K){var z=!w&&!n&&le,T="".concat(B,"-clear-icon"),W=(0,Q.Z)(K)==="object"&&K!==null&&K!==void 0&&K.clearIcon?K.clearIcon:"\u2716";k=H.createElement("button",{type:"button",tabIndex:-1,onClick:function(rt){xe==null||xe(rt),Mt==null||Mt()},onMouseDown:function(rt){return rt.preventDefault()},className:p()(T,(0,U.Z)((0,U.Z)({},"".concat(T,"-hidden"),!z),"".concat(T,"-has-suffix"),!!g))},W)}var F="".concat(B,"-affix-wrapper"),ee=p()(F,(0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)({},"".concat(B,"-disabled"),w),"".concat(F,"-disabled"),w),"".concat(F,"-focused"),i),"".concat(F,"-readonly"),n),"".concat(F,"-input-with-clear-btn"),g&&K&&le),je==null?void 0:je.affixWrapper,it==null?void 0:it.affixWrapper,it==null?void 0:it.variant),q=(g||K)&&H.createElement("span",{className:p()("".concat(B,"-suffix"),it==null?void 0:it.suffix),style:ye==null?void 0:ye.suffix},k,g);S=H.createElement(Pe,(0,O.Z)({className:ee,style:ye==null?void 0:ye.affixWrapper,onClick:se},zt==null?void 0:zt.affixWrapper,{ref:M}),ge&&H.createElement("span",{className:p()("".concat(B,"-prefix"),it==null?void 0:it.prefix),style:ye==null?void 0:ye.prefix},ge),S,q)}if((0,$.He)(d)){var ce="".concat(B,"-group"),me="".concat(ce,"-addon"),ze="".concat(ce,"-wrapper"),Fe=p()("".concat(B,"-wrapper"),ce,je==null?void 0:je.wrapper,it==null?void 0:it.wrapper),Ae=p()(ze,(0,U.Z)({},"".concat(ze,"-disabled"),w),je==null?void 0:je.group,it==null?void 0:it.groupWrapper);S=H.createElement(D,{className:Ae,ref:c},H.createElement(A,{className:Fe},h&&H.createElement(X,{className:me},h),S,b&&H.createElement(X,{className:me},b)))}return H.cloneElement(S,{className:p()((R=S.props)===null||R===void 0?void 0:R.className,C)||null,style:(0,P.Z)((0,P.Z)({},(L=S.props)===null||L===void 0?void 0:L.style),I),hidden:Le})}),s=e,f=u(80702),t=u(52487),r=u(74416),a=u(18929),o=u(2738),m=u(66003),x=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],E=(0,H.forwardRef)(function(d,l){var N=d.autoComplete,R=d.onChange,L=d.onFocus,j=d.onBlur,J=d.onPressEnter,B=d.onKeyDown,ge=d.onKeyUp,g=d.prefixCls,h=g===void 0?"rc-input":g,b=d.disabled,C=d.htmlSize,I=d.className,w=d.maxLength,n=d.suffix,i=d.showCount,y=d.count,K=d.type,le=K===void 0?"text":K,xe=d.classes,Le=d.classNames,je=d.styles,it=d.onCompositionStart,zt=d.onCompositionEnd,ye=(0,r.Z)(d,x),Ye=(0,H.useState)(!1),Mt=(0,t.Z)(Ye,2),Ie=Mt[0],Pe=Mt[1],D=(0,H.useRef)(!1),A=(0,H.useRef)(!1),X=(0,H.useRef)(null),M=(0,H.useRef)(null),se=function(ut){X.current&&(0,$.nH)(X.current,ut)},ve=(0,a.Z)(d.defaultValue,{value:d.value}),S=(0,t.Z)(ve,2),c=S[0],k=S[1],z=c==null?"":String(c),T=(0,H.useState)(null),W=(0,t.Z)(T,2),F=W[0],ee=W[1],q=(0,m.Z)(y,i),ce=q.max||w,me=q.strategy(z),ze=!!ce&&me>ce;(0,H.useImperativeHandle)(l,function(){var Pt;return{focus:se,blur:function(){var Lt;(Lt=X.current)===null||Lt===void 0||Lt.blur()},setSelectionRange:function(Lt,ln,tn){var Qt;(Qt=X.current)===null||Qt===void 0||Qt.setSelectionRange(Lt,ln,tn)},select:function(){var Lt;(Lt=X.current)===null||Lt===void 0||Lt.select()},input:X.current,nativeElement:((Pt=M.current)===null||Pt===void 0?void 0:Pt.nativeElement)||X.current}}),(0,H.useEffect)(function(){A.current&&(A.current=!1),Pe(function(Pt){return Pt&&b?!1:Pt})},[b]);var Fe=function(ut,Lt,ln){var tn=Lt;if(!D.current&&q.exceedFormatter&&q.max&&q.strategy(Lt)>q.max){if(tn=q.exceedFormatter(Lt,{max:q.max}),Lt!==tn){var Qt,_n;ee([((Qt=X.current)===null||Qt===void 0?void 0:Qt.selectionStart)||0,((_n=X.current)===null||_n===void 0?void 0:_n.selectionEnd)||0])}}else if(ln.source==="compositionEnd")return;k(tn),X.current&&(0,$.rJ)(X.current,ut,R,tn)};(0,H.useEffect)(function(){if(F){var Pt;(Pt=X.current)===null||Pt===void 0||Pt.setSelectionRange.apply(Pt,(0,f.Z)(F))}},[F]);var Ae=function(ut){Fe(ut,ut.target.value,{source:"change"})},Ke=function(ut){D.current=!1,Fe(ut,ut.currentTarget.value,{source:"compositionEnd"}),zt==null||zt(ut)},rt=function(ut){J&&ut.key==="Enter"&&!A.current&&(A.current=!0,J(ut)),B==null||B(ut)},Ve=function(ut){ut.key==="Enter"&&(A.current=!1),ge==null||ge(ut)},Be=function(ut){Pe(!0),L==null||L(ut)},Zt=function(ut){A.current&&(A.current=!1),Pe(!1),j==null||j(ut)},Tt=function(ut){k(""),se(),X.current&&(0,$.rJ)(X.current,ut,R)},tt=ze&&"".concat(h,"-out-of-range"),Vt=function(){var ut=(0,o.Z)(d,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return H.createElement("input",(0,O.Z)({autoComplete:N},ut,{onChange:Ae,onFocus:Be,onBlur:Zt,onKeyDown:rt,onKeyUp:Ve,className:p()(h,(0,U.Z)({},"".concat(h,"-disabled"),b),Le==null?void 0:Le.input),style:je==null?void 0:je.input,ref:X,size:C,type:le,onCompositionStart:function(ln){D.current=!0,it==null||it(ln)},onCompositionEnd:Ke}))},dn=function(){var ut=Number(ce)>0;if(n||q.show){var Lt=q.showFormatter?q.showFormatter({value:z,count:me,maxLength:ce}):"".concat(me).concat(ut?" / ".concat(ce):"");return H.createElement(H.Fragment,null,q.show&&H.createElement("span",{className:p()("".concat(h,"-show-count-suffix"),(0,U.Z)({},"".concat(h,"-show-count-has-suffix"),!!n),Le==null?void 0:Le.count),style:(0,P.Z)({},je==null?void 0:je.count)},Lt),n)}return null};return H.createElement(s,(0,O.Z)({},ye,{prefixCls:h,className:p()(I,tt),handleReset:Tt,value:z,focused:Ie,triggerFocus:se,suffix:dn(),disabled:b,classes:xe,classNames:Le,styles:je}),Vt())}),_=E,v=_},30292:function(Bt,Ze,u){"use strict";u.d(Ze,{He:function(){return P},X3:function(){return O},nH:function(){return V},rJ:function(){return Q}});function P(p){return!!(p.addonBefore||p.addonAfter)}function O(p){return!!(p.prefix||p.suffix||p.allowClear)}function U(p,H,$){var e=H.cloneNode(!0),s=Object.create(p,{target:{value:e},currentTarget:{value:e}});return e.value=$,typeof H.selectionStart=="number"&&typeof H.selectionEnd=="number"&&(e.selectionStart=H.selectionStart,e.selectionEnd=H.selectionEnd),e.setSelectionRange=function(){H.setSelectionRange.apply(H,arguments)},s}function Q(p,H,$,e){if($){var s=H;if(H.type==="click"){s=U(H,p,""),$(s);return}if(p.type!=="file"&&e!==void 0){s=U(H,p,e),$(s);return}$(s)}}function V(p,H){if(p){p.focus(H);var $=H||{},e=$.cursor;if(e){var s=p.value.length;switch(e){case"start":p.setSelectionRange(0,0);break;case"end":p.setSelectionRange(s,s);break;default:p.setSelectionRange(0,s)}}}}},28321:function(Bt,Ze,u){"use strict";u.d(Ze,{iz:function(){return De},ck:function(){return tn},BW:function(){return nt},sN:function(){return tn},Wd:function(){return G},ZP:function(){return He},Xl:function(){return J}});var P=u(72308),O=u(49618),U=u(77321),Q=u(80702),V=u(52487),p=u(74416),H=u(92310),$=u.n(H),e=u(11780),s=u(18929),f=u(13697),t=u(48736),r=u(59301),a=u(4676),o=r.createContext(null);function m(Y,de){return Y===void 0?null:"".concat(Y,"-").concat(de)}function x(Y){var de=r.useContext(o);return m(de,Y)}var E=u(80547),_=["children","locked"],v=r.createContext(null);function d(Y,de){var Ce=(0,U.Z)({},Y);return Object.keys(de).forEach(function(fe){var ke=de[fe];ke!==void 0&&(Ce[fe]=ke)}),Ce}function l(Y){var de=Y.children,Ce=Y.locked,fe=(0,p.Z)(Y,_),ke=r.useContext(v),be=(0,E.Z)(function(){return d(ke,fe)},[ke,fe],function(Te,Ue){return!Ce&&(Te[0]!==Ue[0]||!(0,f.Z)(Te[1],Ue[1],!0))});return r.createElement(v.Provider,{value:be},de)}var N=[],R=r.createContext(null);function L(){return r.useContext(R)}var j=r.createContext(N);function J(Y){var de=r.useContext(j);return r.useMemo(function(){return Y!==void 0?[].concat((0,Q.Z)(de),[Y]):de},[de,Y])}var B=r.createContext(null),ge=r.createContext({}),g=ge,h=u(29194);function b(Y){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,h.Z)(Y)){var Ce=Y.nodeName.toLowerCase(),fe=["input","select","textarea","button"].includes(Ce)||Y.isContentEditable||Ce==="a"&&!!Y.getAttribute("href"),ke=Y.getAttribute("tabindex"),be=Number(ke),Te=null;return ke&&!Number.isNaN(be)?Te=be:fe&&Te===null&&(Te=0),fe&&Y.disabled&&(Te=null),Te!==null&&(Te>=0||de&&Te<0)}return!1}function C(Y){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ce=(0,Q.Z)(Y.querySelectorAll("*")).filter(function(fe){return b(fe,de)});return b(Y,de)&&Ce.unshift(Y),Ce}var I=null;function w(){I=document.activeElement}function n(){I=null}function i(){if(I)try{I.focus()}catch(Y){}}function y(Y,de){if(de.keyCode===9){var Ce=C(Y),fe=Ce[de.shiftKey?0:Ce.length-1],ke=fe===document.activeElement||Y===document.activeElement;if(ke){var be=Ce[de.shiftKey?Ce.length-1:0];be.focus(),de.preventDefault()}}}var K=u(10228),le=u(16089),xe=K.Z.LEFT,Le=K.Z.RIGHT,je=K.Z.UP,it=K.Z.DOWN,zt=K.Z.ENTER,ye=K.Z.ESC,Ye=K.Z.HOME,Mt=K.Z.END,Ie=[je,it,xe,Le];function Pe(Y,de,Ce,fe){var ke,be="prev",Te="next",Ue="children",ht="parent";if(Y==="inline"&&fe===zt)return{inlineTrigger:!0};var lt=(0,O.Z)((0,O.Z)({},je,be),it,Te),mt=(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},xe,Ce?Te:be),Le,Ce?be:Te),it,Ue),zt,Ue),gt=(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},je,be),it,Te),zt,Ue),ye,ht),xe,Ce?Ue:ht),Le,Ce?ht:Ue),Nt={inline:lt,horizontal:mt,vertical:gt,inlineSub:lt,horizontalSub:gt,verticalSub:gt},It=(ke=Nt["".concat(Y).concat(de?"":"Sub")])===null||ke===void 0?void 0:ke[fe];switch(It){case be:return{offset:-1,sibling:!0};case Te:return{offset:1,sibling:!0};case ht:return{offset:-1,sibling:!1};case Ue:return{offset:1,sibling:!1};default:return null}}function D(Y){for(var de=Y;de;){if(de.getAttribute("data-menu-list"))return de;de=de.parentElement}return null}function A(Y,de){for(var Ce=Y||document.activeElement;Ce;){if(de.has(Ce))return Ce;Ce=Ce.parentElement}return null}function X(Y,de){var Ce=C(Y,!0);return Ce.filter(function(fe){return de.has(fe)})}function M(Y,de,Ce){var fe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Y)return null;var ke=X(Y,de),be=ke.length,Te=ke.findIndex(function(Ue){return Ce===Ue});return fe<0?Te===-1?Te=be-1:Te-=1:fe>0&&(Te+=1),Te=(Te+be)%be,ke[Te]}var se=function(de,Ce){var fe=new Set,ke=new Map,be=new Map;return de.forEach(function(Te){var Ue=document.querySelector("[data-menu-id='".concat(m(Ce,Te),"']"));Ue&&(fe.add(Ue),be.set(Ue,Te),ke.set(Te,Ue))}),{elements:fe,key2element:ke,element2key:be}};function ve(Y,de,Ce,fe,ke,be,Te,Ue,ht,lt){var mt=r.useRef(),gt=r.useRef();gt.current=de;var Nt=function(){le.Z.cancel(mt.current)};return r.useEffect(function(){return function(){Nt()}},[]),function(It){var Ot=It.which;if([].concat(Ie,[zt,ye,Ye,Mt]).includes(Ot)){var xt=be(),Et=se(xt,fe),Yt=Et,Qe=Yt.elements,We=Yt.key2element,at=Yt.element2key,qt=We.get(de),un=A(qt,Qe),yn=at.get(un),Sn=Pe(Y,Te(yn,!0).length===1,Ce,Ot);if(!Sn&&Ot!==Ye&&Ot!==Mt)return;(Ie.includes(Ot)||[Ye,Mt].includes(Ot))&&It.preventDefault();var Z=function(Re){if(Re){var te=Re,oe=Re.querySelector("a");oe!=null&&oe.getAttribute("href")&&(te=oe);var _e=at.get(Re);Ue(_e),Nt(),mt.current=(0,le.Z)(function(){gt.current===_e&&te.focus()})}};if([Ye,Mt].includes(Ot)||Sn.sibling||!un){var ie;!un||Y==="inline"?ie=ke.current:ie=D(un);var ne,ae=X(ie,Qe);Ot===Ye?ne=ae[0]:Ot===Mt?ne=ae[ae.length-1]:ne=M(ie,Qe,un,Sn.offset),Z(ne)}else if(Sn.inlineTrigger)ht(yn);else if(Sn.offset>0)ht(yn,!0),Nt(),mt.current=(0,le.Z)(function(){Et=se(xt,fe);var we=un.getAttribute("aria-controls"),Re=document.getElementById(we),te=M(Re,Et.elements);Z(te)},5);else if(Sn.offset<0){var he=Te(yn,!0),ue=he[he.length-2],pe=We.get(ue);ht(ue,!1),Z(pe)}}lt==null||lt(It)}}function S(Y){Promise.resolve().then(Y)}var c="__RC_UTIL_PATH_SPLIT__",k=function(de){return de.join(c)},z=function(de){return de.split(c)},T="rc-menu-more";function W(){var Y=r.useState({}),de=(0,V.Z)(Y,2),Ce=de[1],fe=(0,r.useRef)(new Map),ke=(0,r.useRef)(new Map),be=r.useState([]),Te=(0,V.Z)(be,2),Ue=Te[0],ht=Te[1],lt=(0,r.useRef)(0),mt=(0,r.useRef)(!1),gt=function(){mt.current||Ce({})},Nt=(0,r.useCallback)(function(We,at){var qt=k(at);ke.current.set(qt,We),fe.current.set(We,qt),lt.current+=1;var un=lt.current;S(function(){un===lt.current&>()})},[]),It=(0,r.useCallback)(function(We,at){var qt=k(at);ke.current.delete(qt),fe.current.delete(We)},[]),Ot=(0,r.useCallback)(function(We){ht(We)},[]),xt=(0,r.useCallback)(function(We,at){var qt=fe.current.get(We)||"",un=z(qt);return at&&Ue.includes(un[0])&&un.unshift(T),un},[Ue]),Et=(0,r.useCallback)(function(We,at){return We.filter(function(qt){return qt!==void 0}).some(function(qt){var un=xt(qt,!0);return un.includes(at)})},[xt]),Yt=function(){var at=(0,Q.Z)(fe.current.keys());return Ue.length&&at.push(T),at},Qe=(0,r.useCallback)(function(We){var at="".concat(fe.current.get(We)).concat(c),qt=new Set;return(0,Q.Z)(ke.current.keys()).forEach(function(un){un.startsWith(at)&&qt.add(ke.current.get(un))}),qt},[]);return r.useEffect(function(){return function(){mt.current=!0}},[]),{registerPath:Nt,unregisterPath:It,refreshOverflowKeys:Ot,isSubPathKey:Et,getKeyPath:xt,getKeys:Yt,getSubPathKeys:Qe}}function F(Y){var de=r.useRef(Y);de.current=Y;var Ce=r.useCallback(function(){for(var fe,ke=arguments.length,be=new Array(ke),Te=0;Te<ke;Te++)be[Te]=arguments[Te];return(fe=de.current)===null||fe===void 0?void 0:fe.call.apply(fe,[de].concat(be))},[]);return Y?Ce:void 0}var ee=Math.random().toFixed(5).toString().slice(2),q=0;function ce(Y){var de=(0,s.Z)(Y,{value:Y}),Ce=(0,V.Z)(de,2),fe=Ce[0],ke=Ce[1];return r.useEffect(function(){q+=1;var be="".concat(ee,"-").concat(q);ke("rc-menu-uuid-".concat(be))},[]),fe}var me=u(96949),ze=u(55090),Fe=u(77205),Ae=u(38793),Ke=u(2738),rt=u(8654);function Ve(Y,de,Ce,fe){var ke=r.useContext(v),be=ke.activeKey,Te=ke.onActive,Ue=ke.onInactive,ht={active:be===Y};return de||(ht.onMouseEnter=function(lt){Ce==null||Ce({key:Y,domEvent:lt}),Te(Y)},ht.onMouseLeave=function(lt){fe==null||fe({key:Y,domEvent:lt}),Ue(Y)}),ht}function Be(Y){var de=r.useContext(v),Ce=de.mode,fe=de.rtl,ke=de.inlineIndent;if(Ce!=="inline")return null;var be=Y;return fe?{paddingRight:be*ke}:{paddingLeft:be*ke}}function Zt(Y){var de=Y.icon,Ce=Y.props,fe=Y.children,ke;return de===null||de===!1?null:(typeof de=="function"?ke=r.createElement(de,(0,U.Z)({},Ce)):typeof de!="boolean"&&(ke=de),ke||fe||null)}var Tt=["item"];function tt(Y){var de=Y.item,Ce=(0,p.Z)(Y,Tt);return Object.defineProperty(Ce,"item",{get:function(){return(0,t.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),de}}),Ce}var Vt=["title","attribute","elementRef"],dn=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Pt=["active"],ut=function(Y){(0,Fe.Z)(Ce,Y);var de=(0,Ae.Z)(Ce);function Ce(){return(0,me.Z)(this,Ce),de.apply(this,arguments)}return(0,ze.Z)(Ce,[{key:"render",value:function(){var ke=this.props,be=ke.title,Te=ke.attribute,Ue=ke.elementRef,ht=(0,p.Z)(ke,Vt),lt=(0,Ke.Z)(ht,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,t.ZP)(!Te,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(e.Z.Item,(0,P.Z)({},Te,{title:typeof be=="string"?be:void 0},lt,{ref:Ue}))}}]),Ce}(r.Component),Lt=r.forwardRef(function(Y,de){var Ce=Y.style,fe=Y.className,ke=Y.eventKey,be=Y.warnKey,Te=Y.disabled,Ue=Y.itemIcon,ht=Y.children,lt=Y.role,mt=Y.onMouseEnter,gt=Y.onMouseLeave,Nt=Y.onClick,It=Y.onKeyDown,Ot=Y.onFocus,xt=(0,p.Z)(Y,dn),Et=x(ke),Yt=r.useContext(v),Qe=Yt.prefixCls,We=Yt.onItemClick,at=Yt.disabled,qt=Yt.overflowDisabled,un=Yt.itemIcon,yn=Yt.selectedKeys,Sn=Yt.onActive,Z=r.useContext(g),ie=Z._internalRenderMenuItem,ne="".concat(Qe,"-item"),ae=r.useRef(),he=r.useRef(),ue=at||Te,pe=(0,rt.x1)(de,he),we=J(ke),Re=function(St){return{key:ke,keyPath:(0,Q.Z)(we).reverse(),item:ae.current,domEvent:St}},te=Ue||un,oe=Ve(ke,ue,mt,gt),_e=oe.active,Oe=(0,p.Z)(oe,Pt),Se=yn.includes(ke),et=Be(we.length),Rt=function(St){if(!ue){var rn=Re(St);Nt==null||Nt(tt(rn)),We(rn)}},bt=function(St){if(It==null||It(St),St.which===K.Z.ENTER){var rn=Re(St);Nt==null||Nt(tt(rn)),We(rn)}},At=function(St){Sn(ke),Ot==null||Ot(St)},Ct={};Y.role==="option"&&(Ct["aria-selected"]=Se);var Kt=r.createElement(ut,(0,P.Z)({ref:ae,elementRef:pe,role:lt===null?"none":lt||"menuitem",tabIndex:Te?null:-1,"data-menu-id":qt&&Et?null:Et},(0,Ke.Z)(xt,["extra"]),Oe,Ct,{component:"li","aria-disabled":Te,style:(0,U.Z)((0,U.Z)({},et),Ce),className:$()(ne,(0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(ne,"-active"),_e),"".concat(ne,"-selected"),Se),"".concat(ne,"-disabled"),ue),fe),onClick:Rt,onKeyDown:bt,onFocus:At}),ht,r.createElement(Zt,{props:(0,U.Z)((0,U.Z)({},Y),{},{isSelected:Se}),icon:te}));return ie&&(Kt=ie(Kt,Y,{selected:Se})),Kt});function ln(Y,de){var Ce=Y.eventKey,fe=L(),ke=J(Ce);return r.useEffect(function(){if(fe)return fe.registerPath(Ce,ke),function(){fe.unregisterPath(Ce,ke)}},[ke]),fe?null:r.createElement(Lt,(0,P.Z)({},Y,{ref:de}))}var tn=r.forwardRef(ln),Qt=["className","children"],_n=function(de,Ce){var fe=de.className,ke=de.children,be=(0,p.Z)(de,Qt),Te=r.useContext(v),Ue=Te.prefixCls,ht=Te.mode,lt=Te.rtl;return r.createElement("ul",(0,P.Z)({className:$()(Ue,lt&&"".concat(Ue,"-rtl"),"".concat(Ue,"-sub"),"".concat(Ue,"-").concat(ht==="inline"?"inline":"vertical"),fe),role:"menu"},be,{"data-menu-list":!0,ref:Ce}),ke)},wt=r.forwardRef(_n);wt.displayName="SubMenuList";var ft=wt,vt=u(11592);function Gt(Y,de){return(0,vt.Z)(Y).map(function(Ce,fe){if(r.isValidElement(Ce)){var ke,be,Te=Ce.key,Ue=(ke=(be=Ce.props)===null||be===void 0?void 0:be.eventKey)!==null&&ke!==void 0?ke:Te,ht=Ue==null;ht&&(Ue="tmp_key-".concat([].concat((0,Q.Z)(de),[fe]).join("-")));var lt={key:Ue,eventKey:Ue};return r.cloneElement(Ce,lt)}return Ce})}var Cn=u(65352),jt={adjustX:1,adjustY:1},kn={topLeft:{points:["bl","tl"],overflow:jt},topRight:{points:["br","tr"],overflow:jt},bottomLeft:{points:["tl","bl"],overflow:jt},bottomRight:{points:["tr","br"],overflow:jt},leftTop:{points:["tr","tl"],overflow:jt},leftBottom:{points:["br","bl"],overflow:jt},rightTop:{points:["tl","tr"],overflow:jt},rightBottom:{points:["bl","br"],overflow:jt}},Wn={topLeft:{points:["bl","tl"],overflow:jt},topRight:{points:["br","tr"],overflow:jt},bottomLeft:{points:["tl","bl"],overflow:jt},bottomRight:{points:["tr","br"],overflow:jt},rightTop:{points:["tr","tl"],overflow:jt},rightBottom:{points:["br","bl"],overflow:jt},leftTop:{points:["tl","tr"],overflow:jt},leftBottom:{points:["bl","br"],overflow:jt}},sn=null;function gn(Y,de,Ce){if(de)return de;if(Ce)return Ce[Y]||Ce.other}var Pn={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function En(Y){var de=Y.prefixCls,Ce=Y.visible,fe=Y.children,ke=Y.popup,be=Y.popupStyle,Te=Y.popupClassName,Ue=Y.popupOffset,ht=Y.disabled,lt=Y.mode,mt=Y.onVisibleChange,gt=r.useContext(v),Nt=gt.getPopupContainer,It=gt.rtl,Ot=gt.subMenuOpenDelay,xt=gt.subMenuCloseDelay,Et=gt.builtinPlacements,Yt=gt.triggerSubMenuAction,Qe=gt.forceSubMenuRender,We=gt.rootClassName,at=gt.motion,qt=gt.defaultMotions,un=r.useState(!1),yn=(0,V.Z)(un,2),Sn=yn[0],Z=yn[1],ie=It?(0,U.Z)((0,U.Z)({},Wn),Et):(0,U.Z)((0,U.Z)({},kn),Et),ne=Pn[lt],ae=gn(lt,at,qt),he=r.useRef(ae);lt!=="inline"&&(he.current=ae);var ue=(0,U.Z)((0,U.Z)({},he.current),{},{leavedClassName:"".concat(de,"-hidden"),removeOnLeave:!1,motionAppear:!0}),pe=r.useRef();return r.useEffect(function(){return pe.current=(0,le.Z)(function(){Z(Ce)}),function(){le.Z.cancel(pe.current)}},[Ce]),r.createElement(Cn.Z,{prefixCls:de,popupClassName:$()("".concat(de,"-popup"),(0,O.Z)({},"".concat(de,"-rtl"),It),Te,We),stretch:lt==="horizontal"?"minWidth":null,getPopupContainer:Nt,builtinPlacements:ie,popupPlacement:ne,popupVisible:Sn,popup:ke,popupStyle:be,popupAlign:Ue&&{offset:Ue},action:ht?[]:[Yt],mouseEnterDelay:Ot,mouseLeaveDelay:xt,onPopupVisibleChange:mt,forceRender:Qe,popupMotion:ue,fresh:!0},fe)}var On=u(77900);function mn(Y){var de=Y.id,Ce=Y.open,fe=Y.keyPath,ke=Y.children,be="inline",Te=r.useContext(v),Ue=Te.prefixCls,ht=Te.forceSubMenuRender,lt=Te.motion,mt=Te.defaultMotions,gt=Te.mode,Nt=r.useRef(!1);Nt.current=gt===be;var It=r.useState(!Nt.current),Ot=(0,V.Z)(It,2),xt=Ot[0],Et=Ot[1],Yt=Nt.current?Ce:!1;r.useEffect(function(){Nt.current&&Et(!1)},[gt]);var Qe=(0,U.Z)({},gn(be,lt,mt));fe.length>1&&(Qe.motionAppear=!1);var We=Qe.onVisibleChanged;return Qe.onVisibleChanged=function(at){return!Nt.current&&!at&&Et(!0),We==null?void 0:We(at)},xt?null:r.createElement(l,{mode:be,locked:!Nt.current},r.createElement(On.default,(0,P.Z)({visible:Yt},Qe,{forceRender:ht,removeOnLeave:!1,leavedClassName:"".concat(Ue,"-hidden")}),function(at){var qt=at.className,un=at.style;return r.createElement(ft,{id:de,className:qt,style:un},ke)}))}var Nn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Dn=["active"],In=r.forwardRef(function(Y,de){var Ce=Y.style,fe=Y.className,ke=Y.title,be=Y.eventKey,Te=Y.warnKey,Ue=Y.disabled,ht=Y.internalPopupClose,lt=Y.children,mt=Y.itemIcon,gt=Y.expandIcon,Nt=Y.popupClassName,It=Y.popupOffset,Ot=Y.popupStyle,xt=Y.onClick,Et=Y.onMouseEnter,Yt=Y.onMouseLeave,Qe=Y.onTitleClick,We=Y.onTitleMouseEnter,at=Y.onTitleMouseLeave,qt=(0,p.Z)(Y,Nn),un=x(be),yn=r.useContext(v),Sn=yn.prefixCls,Z=yn.mode,ie=yn.openKeys,ne=yn.disabled,ae=yn.overflowDisabled,he=yn.activeKey,ue=yn.selectedKeys,pe=yn.itemIcon,we=yn.expandIcon,Re=yn.onItemClick,te=yn.onOpenChange,oe=yn.onActive,_e=r.useContext(g),Oe=_e._internalRenderSubMenuItem,Se=r.useContext(B),et=Se.isSubPathKey,Rt=J(),bt="".concat(Sn,"-submenu"),At=ne||Ue,Ct=r.useRef(),Kt=r.useRef(),nn=mt!=null?mt:pe,St=gt!=null?gt:we,rn=ie.includes(be),Jt=!ae&&rn,Xt=et(ue,be),on=Ve(be,At,We,at),pn=on.active,An=(0,p.Z)(on,Dn),en=r.useState(!1),cn=(0,V.Z)(en,2),Ut=cn[0],yt=cn[1],Wt=function(dt){At||yt(dt)},Ft=function(dt){Wt(!0),Et==null||Et({key:be,domEvent:dt})},bn=function(dt){Wt(!1),Yt==null||Yt({key:be,domEvent:dt})},fn=r.useMemo(function(){return pn||(Z!=="inline"?Ut||et([he],be):!1)},[Z,pn,he,Ut,be,et]),wn=Be(Rt.length),zn=function(dt){At||(Qe==null||Qe({key:be,domEvent:dt}),Z==="inline"&&te(be,!rn))},Xn=F(function(_t){xt==null||xt(tt(_t)),Re(_t)}),$n=function(dt){Z!=="inline"&&te(be,dt)},tr=function(){oe(be)},rr=un&&"".concat(un,"-popup"),Gn=r.useMemo(function(){return r.createElement(Zt,{icon:Z!=="horizontal"?St:void 0,props:(0,U.Z)((0,U.Z)({},Y),{},{isOpen:Jt,isSubMenu:!0})},r.createElement("i",{className:"".concat(bt,"-arrow")}))},[Z,St,Y,Jt,bt]),an=r.createElement("div",(0,P.Z)({role:"menuitem",style:wn,className:"".concat(bt,"-title"),tabIndex:At?null:-1,ref:Ct,title:typeof ke=="string"?ke:null,"data-menu-id":ae&&un?null:un,"aria-expanded":Jt,"aria-haspopup":!0,"aria-controls":rr,"aria-disabled":At,onClick:zn,onFocus:tr},An),ke,Gn),Tn=r.useRef(Z);if(Z!=="inline"&&Rt.length>1?Tn.current="vertical":Tn.current=Z,!ae){var Bn=Tn.current;an=r.createElement(En,{mode:Bn,prefixCls:bt,visible:!ht&&Jt&&Z!=="inline",popupClassName:Nt,popupOffset:It,popupStyle:Ot,popup:r.createElement(l,{mode:Bn==="horizontal"?"vertical":Bn},r.createElement(ft,{id:rr,ref:Kt},lt)),disabled:At,onVisibleChange:$n},an)}var Dt=r.createElement(e.Z.Item,(0,P.Z)({ref:de,role:"none"},qt,{component:"li",style:Ce,className:$()(bt,"".concat(bt,"-").concat(Z),fe,(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(bt,"-open"),Jt),"".concat(bt,"-active"),fn),"".concat(bt,"-selected"),Xt),"".concat(bt,"-disabled"),At)),onMouseEnter:Ft,onMouseLeave:bn}),an,!ae&&r.createElement(mn,{id:rr,open:Jt,keyPath:Rt},lt));return Oe&&(Dt=Oe(Dt,Y,{selected:Xt,active:fn,open:Jt,disabled:At})),r.createElement(l,{onItemClick:Xn,mode:Z==="horizontal"?"vertical":Z,itemIcon:nn,expandIcon:St},Dt)}),re=r.forwardRef(function(Y,de){var Ce=Y.eventKey,fe=Y.children,ke=J(Ce),be=Gt(fe,ke),Te=L();r.useEffect(function(){if(Te)return Te.registerPath(Ce,ke),function(){Te.unregisterPath(Ce,ke)}},[ke]);var Ue;return Te?Ue=be:Ue=r.createElement(In,(0,P.Z)({ref:de},Y),be),r.createElement(j.Provider,{value:ke},Ue)}),G=re,Ge=u(62853);function De(Y){var de=Y.className,Ce=Y.style,fe=r.useContext(v),ke=fe.prefixCls,be=L();return be?null:r.createElement("li",{role:"separator",className:$()("".concat(ke,"-item-divider"),de),style:Ce})}var Xe=["className","title","eventKey","children"],Je=r.forwardRef(function(Y,de){var Ce=Y.className,fe=Y.title,ke=Y.eventKey,be=Y.children,Te=(0,p.Z)(Y,Xe),Ue=r.useContext(v),ht=Ue.prefixCls,lt="".concat(ht,"-item-group");return r.createElement("li",(0,P.Z)({ref:de,role:"presentation"},Te,{onClick:function(gt){return gt.stopPropagation()},className:$()(lt,Ce)}),r.createElement("div",{role:"presentation",className:"".concat(lt,"-title"),title:typeof fe=="string"?fe:void 0},fe),r.createElement("ul",{role:"group",className:"".concat(lt,"-list")},be))}),ot=r.forwardRef(function(Y,de){var Ce=Y.eventKey,fe=Y.children,ke=J(Ce),be=Gt(fe,ke),Te=L();return Te?be:r.createElement(Je,(0,P.Z)({ref:de},(0,Ke.Z)(Y,["warnKey"])),be)}),nt=ot,Me=["label","children","key","type","extra"];function Ee(Y,de,Ce){var fe=de.item,ke=de.group,be=de.submenu,Te=de.divider;return(Y||[]).map(function(Ue,ht){if(Ue&&(0,Ge.Z)(Ue)==="object"){var lt=Ue,mt=lt.label,gt=lt.children,Nt=lt.key,It=lt.type,Ot=lt.extra,xt=(0,p.Z)(lt,Me),Et=Nt!=null?Nt:"tmp-".concat(ht);return gt||It==="group"?It==="group"?r.createElement(ke,(0,P.Z)({key:Et},xt,{title:mt}),Ee(gt,de,Ce)):r.createElement(be,(0,P.Z)({key:Et},xt,{title:mt}),Ee(gt,de,Ce)):It==="divider"?r.createElement(Te,(0,P.Z)({key:Et},xt)):r.createElement(fe,(0,P.Z)({key:Et},xt,{extra:Ot}),mt,(!!Ot||Ot===0)&&r.createElement("span",{className:"".concat(Ce,"-item-extra")},Ot))}return null}).filter(function(Ue){return Ue})}function Ne(Y,de,Ce,fe,ke){var be=Y,Te=(0,U.Z)({divider:De,item:tn,group:nt,submenu:G},fe);return de&&(be=Ee(de,Te,ke)),Gt(be,Ce)}var $e=["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"],ct=[],st=r.forwardRef(function(Y,de){var Ce,fe=Y,ke=fe.prefixCls,be=ke===void 0?"rc-menu":ke,Te=fe.rootClassName,Ue=fe.style,ht=fe.className,lt=fe.tabIndex,mt=lt===void 0?0:lt,gt=fe.items,Nt=fe.children,It=fe.direction,Ot=fe.id,xt=fe.mode,Et=xt===void 0?"vertical":xt,Yt=fe.inlineCollapsed,Qe=fe.disabled,We=fe.disabledOverflow,at=fe.subMenuOpenDelay,qt=at===void 0?.1:at,un=fe.subMenuCloseDelay,yn=un===void 0?.1:un,Sn=fe.forceSubMenuRender,Z=fe.defaultOpenKeys,ie=fe.openKeys,ne=fe.activeKey,ae=fe.defaultActiveFirst,he=fe.selectable,ue=he===void 0?!0:he,pe=fe.multiple,we=pe===void 0?!1:pe,Re=fe.defaultSelectedKeys,te=fe.selectedKeys,oe=fe.onSelect,_e=fe.onDeselect,Oe=fe.inlineIndent,Se=Oe===void 0?24:Oe,et=fe.motion,Rt=fe.defaultMotions,bt=fe.triggerSubMenuAction,At=bt===void 0?"hover":bt,Ct=fe.builtinPlacements,Kt=fe.itemIcon,nn=fe.expandIcon,St=fe.overflowedIndicator,rn=St===void 0?"...":St,Jt=fe.overflowedIndicatorPopupClassName,Xt=fe.getPopupContainer,on=fe.onClick,pn=fe.onOpenChange,An=fe.onKeyDown,en=fe.openAnimation,cn=fe.openTransitionName,Ut=fe._internalRenderMenuItem,yt=fe._internalRenderSubMenuItem,Wt=fe._internalComponents,Ft=(0,p.Z)(fe,$e),bn=r.useMemo(function(){return[Ne(Nt,gt,ct,Wt,be),Ne(Nt,gt,ct,{},be)]},[Nt,gt,Wt]),fn=(0,V.Z)(bn,2),wn=fn[0],zn=fn[1],Xn=r.useState(!1),$n=(0,V.Z)(Xn,2),tr=$n[0],rr=$n[1],Gn=r.useRef(),an=ce(Ot),Tn=It==="rtl",Bn=(0,s.Z)(Z,{value:ie,postState:function(Vn){return Vn||ct}}),Dt=(0,V.Z)(Bn,2),_t=Dt[0],dt=Dt[1],kt=function(Vn){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function _r(){dt(Vn),pn==null||pn(Vn)}Yn?(0,a.flushSync)(_r):_r()},xn=r.useState(_t),Ln=(0,V.Z)(xn,2),ar=Ln[0],Jn=Ln[1],ir=r.useRef(!1),pt=r.useMemo(function(){return(Et==="inline"||Et==="vertical")&&Yt?["vertical",Yt]:[Et,!1]},[Et,Yt]),$t=(0,V.Z)(pt,2),Rn=$t[0],vn=$t[1],Zn=Rn==="inline",lr=r.useState(Rn),jn=(0,V.Z)(lr,2),ur=jn[0],hr=jn[1],Pr=r.useState(vn),Hn=(0,V.Z)(Pr,2),Lr=Hn[0],Kr=Hn[1];r.useEffect(function(){hr(Rn),Kr(vn),ir.current&&(Zn?dt(ar):kt(ct))},[Rn,vn]);var Vr=r.useState(0),Nr=(0,V.Z)(Vr,2),Cr=Nr[0],xr=Nr[1],Or=Cr>=wn.length-1||ur!=="horizontal"||We;r.useEffect(function(){Zn&&Jn(_t)},[_t]),r.useEffect(function(){return ir.current=!0,function(){ir.current=!1}},[]);var mr=W(),kr=mr.registerPath,Er=mr.unregisterPath,Fr=mr.refreshOverflowKeys,Dr=mr.isSubPathKey,Hr=mr.getKeyPath,Br=mr.getKeys,$r=mr.getSubPathKeys,Tr=r.useMemo(function(){return{registerPath:kr,unregisterPath:Er}},[kr,Er]),Sr=r.useMemo(function(){return{isSubPathKey:Dr}},[Dr]);r.useEffect(function(){Fr(Or?ct:wn.slice(Cr+1).map(function(nr){return nr.key}))},[Cr,Or]);var Mn=(0,s.Z)(ne||ae&&((Ce=wn[0])===null||Ce===void 0?void 0:Ce.key),{value:ne}),hn=(0,V.Z)(Mn,2),Un=hn[0],Qn=hn[1],qn=F(function(nr){Qn(nr)}),er=F(function(){Qn(void 0)});(0,r.useImperativeHandle)(de,function(){return{list:Gn.current,focus:function(Vn){var Yn,_r=Br(),cr=se(_r,an),br=cr.elements,Xr=cr.key2element,ei=cr.element2key,ti=X(Gn.current,br),Jr=Un!=null?Un:ti[0]?ei.get(ti[0]):(Yn=wn.find(function(Wr){return!Wr.props.disabled}))===null||Yn===void 0?void 0:Yn.key,Ar=Xr.get(Jr);if(Jr&&Ar){var jr;Ar==null||(jr=Ar.focus)===null||jr===void 0||jr.call(Ar,Vn)}}}});var sr=(0,s.Z)(Re||[],{value:te,postState:function(Vn){return Array.isArray(Vn)?Vn:Vn==null?ct:[Vn]}}),pr=(0,V.Z)(sr,2),vr=pr[0],wr=pr[1],yr=function(Vn){if(ue){var Yn=Vn.key,_r=vr.includes(Yn),cr;we?_r?cr=vr.filter(function(Xr){return Xr!==Yn}):cr=[].concat((0,Q.Z)(vr),[Yn]):cr=[Yn],wr(cr);var br=(0,U.Z)((0,U.Z)({},Vn),{},{selectedKeys:cr});_r?_e==null||_e(br):oe==null||oe(br)}!we&&_t.length&&ur!=="inline"&&kt(ct)},Rr=F(function(nr){on==null||on(tt(nr)),yr(nr)}),or=F(function(nr,Vn){var Yn=_t.filter(function(cr){return cr!==nr});if(Vn)Yn.push(nr);else if(ur!=="inline"){var _r=$r(nr);Yn=Yn.filter(function(cr){return!_r.has(cr)})}(0,f.Z)(_t,Yn,!0)||kt(Yn,!0)}),Ir=function(Vn,Yn){var _r=Yn!=null?Yn:!_t.includes(Vn);or(Vn,_r)},Gr=ve(ur,Un,Tn,an,Gn,Br,Hr,Qn,Ir,An);r.useEffect(function(){rr(!0)},[]);var zr=r.useMemo(function(){return{_internalRenderMenuItem:Ut,_internalRenderSubMenuItem:yt}},[Ut,yt]),Yr=ur!=="horizontal"||We?wn:wn.map(function(nr,Vn){return r.createElement(l,{key:nr.key,overflowDisabled:Vn>Cr},nr)}),qr=r.createElement(e.Z,(0,P.Z)({id:Ot,ref:Gn,prefixCls:"".concat(be,"-overflow"),component:"ul",itemComponent:tn,className:$()(be,"".concat(be,"-root"),"".concat(be,"-").concat(ur),ht,(0,O.Z)((0,O.Z)({},"".concat(be,"-inline-collapsed"),Lr),"".concat(be,"-rtl"),Tn),Te),dir:It,style:Ue,role:"menu",tabIndex:mt,data:Yr,renderRawItem:function(Vn){return Vn},renderRawRest:function(Vn){var Yn=Vn.length,_r=Yn?wn.slice(-Yn):null;return r.createElement(G,{eventKey:T,title:rn,disabled:Or,internalPopupClose:Yn===0,popupClassName:Jt},_r)},maxCount:ur!=="horizontal"||We?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Vn){xr(Vn)},onKeyDown:Gr},Ft));return r.createElement(g.Provider,{value:zr},r.createElement(o.Provider,{value:an},r.createElement(l,{prefixCls:be,rootClassName:Te,mode:ur,openKeys:_t,rtl:Tn,disabled:Qe,motion:tr?et:null,defaultMotions:tr?Rt:null,activeKey:Un,onActive:qn,onInactive:er,selectedKeys:vr,inlineIndent:Se,subMenuOpenDelay:qt,subMenuCloseDelay:yn,forceSubMenuRender:Sn,builtinPlacements:Ct,triggerSubMenuAction:At,getPopupContainer:Xt,itemIcon:Kt,expandIcon:nn,onItemClick:Rr,onOpenChange:or},r.createElement(B.Provider,{value:Sr},qr),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(R.Provider,{value:Tr},zn)))))}),Ht=st,qe=Ht;qe.Item=tn,qe.SubMenu=G,qe.ItemGroup=nt,qe.Divider=De;var He=qe},11780:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return w}});var P=u(72308),O=u(77321),U=u(52487),Q=u(74416),V=u(59301),p=u(92310),H=u.n(p),$=u(29301),e=u(34280),s=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],f=void 0;function t(n,i){var y=n.prefixCls,K=n.invalidate,le=n.item,xe=n.renderItem,Le=n.responsive,je=n.responsiveDisabled,it=n.registerSize,zt=n.itemKey,ye=n.className,Ye=n.style,Mt=n.children,Ie=n.display,Pe=n.order,D=n.component,A=D===void 0?"div":D,X=(0,Q.Z)(n,s),M=Le&&!Ie;function se(z){it(zt,z)}V.useEffect(function(){return function(){se(null)}},[]);var ve=xe&&le!==f?xe(le,{index:Pe}):Mt,S;K||(S={opacity:M?0:1,height:M?0:f,overflowY:M?"hidden":f,order:Le?Pe:f,pointerEvents:M?"none":f,position:M?"absolute":f});var c={};M&&(c["aria-hidden"]=!0);var k=V.createElement(A,(0,P.Z)({className:H()(!K&&y,ye),style:(0,O.Z)((0,O.Z)({},S),Ye)},c,X,{ref:i}),ve);return Le&&(k=V.createElement($.Z,{onResize:function(T){var W=T.offsetWidth;se(W)},disabled:je},k)),k}var r=V.forwardRef(t);r.displayName="Item";var a=r,o=u(6089),m=u(4676),x=u(16089);function E(n){if(typeof MessageChannel=="undefined")(0,x.Z)(n);else{var i=new MessageChannel;i.port1.onmessage=function(){return n()},i.port2.postMessage(void 0)}}function _(){var n=V.useRef(null),i=function(K){n.current||(n.current=[],E(function(){(0,m.unstable_batchedUpdates)(function(){n.current.forEach(function(le){le()}),n.current=null})})),n.current.push(K)};return i}function v(n,i){var y=V.useState(i),K=(0,U.Z)(y,2),le=K[0],xe=K[1],Le=(0,o.Z)(function(je){n(function(){xe(je)})});return[le,Le]}var d=V.createContext(null),l=["component"],N=["className"],R=["className"],L=function(i,y){var K=V.useContext(d);if(!K){var le=i.component,xe=le===void 0?"div":le,Le=(0,Q.Z)(i,l);return V.createElement(xe,(0,P.Z)({},Le,{ref:y}))}var je=K.className,it=(0,Q.Z)(K,N),zt=i.className,ye=(0,Q.Z)(i,R);return V.createElement(d.Provider,{value:null},V.createElement(a,(0,P.Z)({ref:y,className:H()(je,zt)},it,ye)))},j=V.forwardRef(L);j.displayName="RawItem";var J=j,B=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ge="responsive",g="invalidate";function h(n){return"+ ".concat(n.length," ...")}function b(n,i){var y=n.prefixCls,K=y===void 0?"rc-overflow":y,le=n.data,xe=le===void 0?[]:le,Le=n.renderItem,je=n.renderRawItem,it=n.itemKey,zt=n.itemWidth,ye=zt===void 0?10:zt,Ye=n.ssr,Mt=n.style,Ie=n.className,Pe=n.maxCount,D=n.renderRest,A=n.renderRawRest,X=n.suffix,M=n.component,se=M===void 0?"div":M,ve=n.itemComponent,S=n.onVisibleChange,c=(0,Q.Z)(n,B),k=Ye==="full",z=_(),T=v(z,null),W=(0,U.Z)(T,2),F=W[0],ee=W[1],q=F||0,ce=v(z,new Map),me=(0,U.Z)(ce,2),ze=me[0],Fe=me[1],Ae=v(z,0),Ke=(0,U.Z)(Ae,2),rt=Ke[0],Ve=Ke[1],Be=v(z,0),Zt=(0,U.Z)(Be,2),Tt=Zt[0],tt=Zt[1],Vt=v(z,0),dn=(0,U.Z)(Vt,2),Pt=dn[0],ut=dn[1],Lt=(0,V.useState)(null),ln=(0,U.Z)(Lt,2),tn=ln[0],Qt=ln[1],_n=(0,V.useState)(null),wt=(0,U.Z)(_n,2),ft=wt[0],vt=wt[1],Gt=V.useMemo(function(){return ft===null&&k?Number.MAX_SAFE_INTEGER:ft||0},[ft,F]),Cn=(0,V.useState)(!1),jt=(0,U.Z)(Cn,2),kn=jt[0],Wn=jt[1],sn="".concat(K,"-item"),gn=Math.max(rt,Tt),Pn=Pe===ge,En=xe.length&&Pn,On=Pe===g,mn=En||typeof Pe=="number"&&xe.length>Pe,Nn=(0,V.useMemo)(function(){var qe=xe;return En?F===null&&k?qe=xe:qe=xe.slice(0,Math.min(xe.length,q/ye)):typeof Pe=="number"&&(qe=xe.slice(0,Pe)),qe},[xe,ye,F,Pe,En]),Dn=(0,V.useMemo)(function(){return En?xe.slice(Gt+1):xe.slice(Nn.length)},[xe,Nn,En,Gt]),In=(0,V.useCallback)(function(qe,He){var Y;return typeof it=="function"?it(qe):(Y=it&&(qe==null?void 0:qe[it]))!==null&&Y!==void 0?Y:He},[it]),re=(0,V.useCallback)(Le||function(qe){return qe},[Le]);function G(qe,He,Y){ft===qe&&(He===void 0||He===tn)||(vt(qe),Y||(Wn(qe<xe.length-1),S==null||S(qe)),He!==void 0&&Qt(He))}function Ge(qe,He){ee(He.clientWidth)}function De(qe,He){Fe(function(Y){var de=new Map(Y);return He===null?de.delete(qe):de.set(qe,He),de})}function Xe(qe,He){tt(He),Ve(Tt)}function Je(qe,He){ut(He)}function ot(qe){return ze.get(In(Nn[qe],qe))}(0,e.Z)(function(){if(q&&typeof gn=="number"&&Nn){var qe=Pt,He=Nn.length,Y=He-1;if(!He){G(0,null);return}for(var de=0;de<He;de+=1){var Ce=ot(de);if(k&&(Ce=Ce||0),Ce===void 0){G(de-1,void 0,!0);break}if(qe+=Ce,Y===0&&qe<=q||de===Y-1&&qe+ot(Y)<=q){G(Y,null);break}else if(qe+gn>q){G(de-1,qe-Ce-Pt+Tt);break}}X&&ot(0)+Pt>q&&Qt(null)}},[q,ze,Tt,Pt,In,Nn]);var nt=kn&&!!Dn.length,Me={};tn!==null&&En&&(Me={position:"absolute",left:tn,top:0});var Ee={prefixCls:sn,responsive:En,component:ve,invalidate:On},Ne=je?function(qe,He){var Y=In(qe,He);return V.createElement(d.Provider,{key:Y,value:(0,O.Z)((0,O.Z)({},Ee),{},{order:He,item:qe,itemKey:Y,registerSize:De,display:He<=Gt})},je(qe,He))}:function(qe,He){var Y=In(qe,He);return V.createElement(a,(0,P.Z)({},Ee,{order:He,key:Y,item:qe,renderItem:re,itemKey:Y,registerSize:De,display:He<=Gt}))},$e={order:nt?Gt:Number.MAX_SAFE_INTEGER,className:"".concat(sn,"-rest"),registerSize:Xe,display:nt},ct=D||h,st=A?V.createElement(d.Provider,{value:(0,O.Z)((0,O.Z)({},Ee),$e)},A(Dn)):V.createElement(a,(0,P.Z)({},Ee,$e),typeof ct=="function"?ct(Dn):ct),Ht=V.createElement(se,(0,P.Z)({className:H()(!On&&K,Ie),style:Mt,ref:i},c),Nn.map(Ne),mn?st:null,X&&V.createElement(a,(0,P.Z)({},Ee,{responsive:Pn,responsiveDisabled:!En,order:Gt,className:"".concat(sn,"-suffix"),registerSize:Je,display:!0,style:Me}),X));return Pn?V.createElement($.Z,{onResize:Ge,disabled:!En},Ht):Ht}var C=V.forwardRef(b);C.displayName="Overflow",C.Item=J,C.RESPONSIVE=ge,C.INVALIDATE=g;var I=C,w=I},23425:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return R}});var P=u(49618),O=u(72308),U=u(62853),Q=u(77321),V=u(52487),p=u(92310),H=u.n(p),$=u(18929),e=u(10228),s=u(26112),f=u(48736),t=u(59301),r=u(17119),a=[10,20,50,100],o=function(j){var J=j.pageSizeOptions,B=J===void 0?a:J,ge=j.locale,g=j.changeSize,h=j.pageSize,b=j.goButton,C=j.quickGo,I=j.rootPrefixCls,w=j.disabled,n=j.buildOptionText,i=j.showSizeChanger,y=j.sizeChangerRender,K=t.useState(""),le=(0,V.Z)(K,2),xe=le[0],Le=le[1],je=function(){return!xe||Number.isNaN(xe)?void 0:Number(xe)},it=typeof n=="function"?n:function(X){return"".concat(X," ").concat(ge.items_per_page)},zt=function(M){Le(M.target.value)},ye=function(M){b||xe===""||(Le(""),!(M.relatedTarget&&(M.relatedTarget.className.indexOf("".concat(I,"-item-link"))>=0||M.relatedTarget.className.indexOf("".concat(I,"-item"))>=0))&&(C==null||C(je())))},Ye=function(M){xe!==""&&(M.keyCode===e.Z.ENTER||M.type==="click")&&(Le(""),C==null||C(je()))},Mt=function(){return B.some(function(M){return M.toString()===h.toString()})?B:B.concat([h]).sort(function(M,se){var ve=Number.isNaN(Number(M))?0:Number(M),S=Number.isNaN(Number(se))?0:Number(se);return ve-S})},Ie="".concat(I,"-options");if(!i&&!C)return null;var Pe=null,D=null,A=null;return i&&y&&(Pe=y({disabled:w,size:h,onSizeChange:function(M){g==null||g(Number(M))},"aria-label":ge.page_size,className:"".concat(Ie,"-size-changer"),options:Mt().map(function(X){return{label:it(X),value:X}})})),C&&(b&&(A=typeof b=="boolean"?t.createElement("button",{type:"button",onClick:Ye,onKeyUp:Ye,disabled:w,className:"".concat(Ie,"-quick-jumper-button")},ge.jump_to_confirm):t.createElement("span",{onClick:Ye,onKeyUp:Ye},b)),D=t.createElement("div",{className:"".concat(Ie,"-quick-jumper")},ge.jump_to,t.createElement("input",{disabled:w,type:"text",value:xe,onChange:zt,onKeyUp:Ye,onBlur:ye,"aria-label":ge.page}),ge.page,A)),t.createElement("li",{className:Ie},Pe,D)},m=o,x=function(j){var J=j.rootPrefixCls,B=j.page,ge=j.active,g=j.className,h=j.showTitle,b=j.onClick,C=j.onKeyPress,I=j.itemRender,w="".concat(J,"-item"),n=H()(w,"".concat(w,"-").concat(B),(0,P.Z)((0,P.Z)({},"".concat(w,"-active"),ge),"".concat(w,"-disabled"),!B),g),i=function(){b(B)},y=function(xe){C(xe,b,B)},K=I(B,"page",t.createElement("a",{rel:"nofollow"},B));return K?t.createElement("li",{title:h?String(B):null,className:n,onClick:i,onKeyDown:y,tabIndex:0},K):null},E=x,_=function(j,J,B){return B};function v(){}function d(L){var j=Number(L);return typeof j=="number"&&!Number.isNaN(j)&&isFinite(j)&&Math.floor(j)===j}function l(L,j,J){var B=typeof L=="undefined"?j:L;return Math.floor((J-1)/B)+1}var N=function(j){var J=j.prefixCls,B=J===void 0?"rc-pagination":J,ge=j.selectPrefixCls,g=ge===void 0?"rc-select":ge,h=j.className,b=j.current,C=j.defaultCurrent,I=C===void 0?1:C,w=j.total,n=w===void 0?0:w,i=j.pageSize,y=j.defaultPageSize,K=y===void 0?10:y,le=j.onChange,xe=le===void 0?v:le,Le=j.hideOnSinglePage,je=j.align,it=j.showPrevNextJumpers,zt=it===void 0?!0:it,ye=j.showQuickJumper,Ye=j.showLessItems,Mt=j.showTitle,Ie=Mt===void 0?!0:Mt,Pe=j.onShowSizeChange,D=Pe===void 0?v:Pe,A=j.locale,X=A===void 0?r.Z:A,M=j.style,se=j.totalBoundaryShowSizeChanger,ve=se===void 0?50:se,S=j.disabled,c=j.simple,k=j.showTotal,z=j.showSizeChanger,T=z===void 0?n>ve:z,W=j.sizeChangerRender,F=j.pageSizeOptions,ee=j.itemRender,q=ee===void 0?_:ee,ce=j.jumpPrevIcon,me=j.jumpNextIcon,ze=j.prevIcon,Fe=j.nextIcon,Ae=t.useRef(null),Ke=(0,$.Z)(10,{value:i,defaultValue:K}),rt=(0,V.Z)(Ke,2),Ve=rt[0],Be=rt[1],Zt=(0,$.Z)(1,{value:b,defaultValue:I,postState:function(We){return Math.max(1,Math.min(We,l(void 0,Ve,n)))}}),Tt=(0,V.Z)(Zt,2),tt=Tt[0],Vt=Tt[1],dn=t.useState(tt),Pt=(0,V.Z)(dn,2),ut=Pt[0],Lt=Pt[1];(0,t.useEffect)(function(){Lt(tt)},[tt]);var ln=xe!==v,tn="current"in j,Qt=Math.max(1,tt-(Ye?3:5)),_n=Math.min(l(void 0,Ve,n),tt+(Ye?3:5));function wt(Qe,We){var at=Qe||t.createElement("button",{type:"button","aria-label":We,className:"".concat(B,"-item-link")});return typeof Qe=="function"&&(at=t.createElement(Qe,(0,Q.Z)({},j))),at}function ft(Qe){var We=Qe.target.value,at=l(void 0,Ve,n),qt;return We===""?qt=We:Number.isNaN(Number(We))?qt=ut:We>=at?qt=at:qt=Number(We),qt}function vt(Qe){return d(Qe)&&Qe!==tt&&d(n)&&n>0}var Gt=n>Ve?ye:!1;function Cn(Qe){(Qe.keyCode===e.Z.UP||Qe.keyCode===e.Z.DOWN)&&Qe.preventDefault()}function jt(Qe){var We=ft(Qe);switch(We!==ut&&Lt(We),Qe.keyCode){case e.Z.ENTER:sn(We);break;case e.Z.UP:sn(We-1);break;case e.Z.DOWN:sn(We+1);break;default:break}}function kn(Qe){sn(ft(Qe))}function Wn(Qe){var We=l(Qe,Ve,n),at=tt>We&&We!==0?We:tt;Be(Qe),Lt(at),D==null||D(tt,Qe),Vt(at),xe==null||xe(at,Qe)}function sn(Qe){if(vt(Qe)&&!S){var We=l(void 0,Ve,n),at=Qe;return Qe>We?at=We:Qe<1&&(at=1),at!==ut&&Lt(at),Vt(at),xe==null||xe(at,Ve),at}return tt}var gn=tt>1,Pn=tt<l(void 0,Ve,n);function En(){gn&&sn(tt-1)}function On(){Pn&&sn(tt+1)}function mn(){sn(Qt)}function Nn(){sn(_n)}function Dn(Qe,We){if(Qe.key==="Enter"||Qe.charCode===e.Z.ENTER||Qe.keyCode===e.Z.ENTER){for(var at=arguments.length,qt=new Array(at>2?at-2:0),un=2;un<at;un++)qt[un-2]=arguments[un];We.apply(void 0,qt)}}function In(Qe){Dn(Qe,En)}function re(Qe){Dn(Qe,On)}function G(Qe){Dn(Qe,mn)}function Ge(Qe){Dn(Qe,Nn)}function De(Qe){var We=q(Qe,"prev",wt(ze,"prev page"));return t.isValidElement(We)?t.cloneElement(We,{disabled:!gn}):We}function Xe(Qe){var We=q(Qe,"next",wt(Fe,"next page"));return t.isValidElement(We)?t.cloneElement(We,{disabled:!Pn}):We}function Je(Qe){(Qe.type==="click"||Qe.keyCode===e.Z.ENTER)&&sn(ut)}var ot=null,nt=(0,s.Z)(j,{aria:!0,data:!0}),Me=k&&t.createElement("li",{className:"".concat(B,"-total-text")},k(n,[n===0?0:(tt-1)*Ve+1,tt*Ve>n?n:tt*Ve])),Ee=null,Ne=l(void 0,Ve,n);if(Le&&n<=Ve)return null;var $e=[],ct={rootPrefixCls:B,onClick:sn,onKeyPress:Dn,showTitle:Ie,itemRender:q,page:-1},st=tt-1>0?tt-1:0,Ht=tt+1<Ne?tt+1:Ne,qe=ye&&ye.goButton,He=(0,U.Z)(c)==="object"?c.readOnly:!c,Y=qe,de=null;c&&(qe&&(typeof qe=="boolean"?Y=t.createElement("button",{type:"button",onClick:Je,onKeyUp:Je},X.jump_to_confirm):Y=t.createElement("span",{onClick:Je,onKeyUp:Je},qe),Y=t.createElement("li",{title:Ie?"".concat(X.jump_to).concat(tt,"/").concat(Ne):null,className:"".concat(B,"-simple-pager")},Y)),de=t.createElement("li",{title:Ie?"".concat(tt,"/").concat(Ne):null,className:"".concat(B,"-simple-pager")},He?ut:t.createElement("input",{type:"text","aria-label":X.jump_to,value:ut,disabled:S,onKeyDown:Cn,onKeyUp:jt,onChange:jt,onBlur:kn,size:3}),t.createElement("span",{className:"".concat(B,"-slash")},"/"),Ne));var Ce=Ye?1:2;if(Ne<=3+Ce*2){Ne||$e.push(t.createElement(E,(0,O.Z)({},ct,{key:"noPager",page:1,className:"".concat(B,"-item-disabled")})));for(var fe=1;fe<=Ne;fe+=1)$e.push(t.createElement(E,(0,O.Z)({},ct,{key:fe,page:fe,active:tt===fe})))}else{var ke=Ye?X.prev_3:X.prev_5,be=Ye?X.next_3:X.next_5,Te=q(Qt,"jump-prev",wt(ce,"prev page")),Ue=q(_n,"jump-next",wt(me,"next page"));zt&&(ot=Te?t.createElement("li",{title:Ie?ke:null,key:"prev",onClick:mn,tabIndex:0,onKeyDown:G,className:H()("".concat(B,"-jump-prev"),(0,P.Z)({},"".concat(B,"-jump-prev-custom-icon"),!!ce))},Te):null,Ee=Ue?t.createElement("li",{title:Ie?be:null,key:"next",onClick:Nn,tabIndex:0,onKeyDown:Ge,className:H()("".concat(B,"-jump-next"),(0,P.Z)({},"".concat(B,"-jump-next-custom-icon"),!!me))},Ue):null);var ht=Math.max(1,tt-Ce),lt=Math.min(tt+Ce,Ne);tt-1<=Ce&&(lt=1+Ce*2),Ne-tt<=Ce&&(ht=Ne-Ce*2);for(var mt=ht;mt<=lt;mt+=1)$e.push(t.createElement(E,(0,O.Z)({},ct,{key:mt,page:mt,active:tt===mt})));if(tt-1>=Ce*2&&tt!==3&&($e[0]=t.cloneElement($e[0],{className:H()("".concat(B,"-item-after-jump-prev"),$e[0].props.className)}),$e.unshift(ot)),Ne-tt>=Ce*2&&tt!==Ne-2){var gt=$e[$e.length-1];$e[$e.length-1]=t.cloneElement(gt,{className:H()("".concat(B,"-item-before-jump-next"),gt.props.className)}),$e.push(Ee)}ht!==1&&$e.unshift(t.createElement(E,(0,O.Z)({},ct,{key:1,page:1}))),lt!==Ne&&$e.push(t.createElement(E,(0,O.Z)({},ct,{key:Ne,page:Ne})))}var Nt=De(st);if(Nt){var It=!gn||!Ne;Nt=t.createElement("li",{title:Ie?X.prev_page:null,onClick:En,tabIndex:It?null:0,onKeyDown:In,className:H()("".concat(B,"-prev"),(0,P.Z)({},"".concat(B,"-disabled"),It)),"aria-disabled":It},Nt)}var Ot=Xe(Ht);if(Ot){var xt,Et;c?(xt=!Pn,Et=gn?0:null):(xt=!Pn||!Ne,Et=xt?null:0),Ot=t.createElement("li",{title:Ie?X.next_page:null,onClick:On,tabIndex:Et,onKeyDown:re,className:H()("".concat(B,"-next"),(0,P.Z)({},"".concat(B,"-disabled"),xt)),"aria-disabled":xt},Ot)}var Yt=H()(B,h,(0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)((0,P.Z)({},"".concat(B,"-start"),je==="start"),"".concat(B,"-center"),je==="center"),"".concat(B,"-end"),je==="end"),"".concat(B,"-simple"),c),"".concat(B,"-disabled"),S));return t.createElement("ul",(0,O.Z)({className:Yt,style:M,ref:Ae},nt),Me,Nt,c?de:$e,Ot,t.createElement(m,{locale:X,rootPrefixCls:B,disabled:S,selectPrefixCls:g,changeSize:Wn,pageSize:Ve,pageSizeOptions:F,quickGo:Gt?sn:null,goButton:Y,showSizeChanger:T,sizeChangerRender:W}))},R=N},29301:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return g}});var P=u(72308),O=u(59301),U=u(11592),Q=u(48736),V=u(77321),p=u(62853),H=u(76846),$=u(8654),e=O.createContext(null);function s(h){var b=h.children,C=h.onBatchResize,I=O.useRef(0),w=O.useRef([]),n=O.useContext(e),i=O.useCallback(function(y,K,le){I.current+=1;var xe=I.current;w.current.push({size:y,element:K,data:le}),Promise.resolve().then(function(){xe===I.current&&(C==null||C(w.current),w.current=[])}),n==null||n(y,K,le)},[C,n]);return O.createElement(e.Provider,{value:i},b)}var f=u(76374),t=new Map;function r(h){h.forEach(function(b){var C,I=b.target;(C=t.get(I))===null||C===void 0||C.forEach(function(w){return w(I)})})}var a=new f.Z(r),o=null,m=null;function x(h,b){t.has(h)||(t.set(h,new Set),a.observe(h)),t.get(h).add(b)}function E(h,b){t.has(h)&&(t.get(h).delete(b),t.get(h).size||(a.unobserve(h),t.delete(h)))}var _=u(96949),v=u(55090),d=u(77205),l=u(38793),N=function(h){(0,d.Z)(C,h);var b=(0,l.Z)(C);function C(){return(0,_.Z)(this,C),b.apply(this,arguments)}return(0,v.Z)(C,[{key:"render",value:function(){return this.props.children}}]),C}(O.Component);function R(h,b){var C=h.children,I=h.disabled,w=O.useRef(null),n=O.useRef(null),i=O.useContext(e),y=typeof C=="function",K=y?C(w):C,le=O.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),xe=!y&&O.isValidElement(K)&&(0,$.Yr)(K),Le=xe?(0,$.C4)(K):null,je=(0,$.x1)(Le,w),it=function(){var Mt;return(0,H.ZP)(w.current)||(w.current&&(0,p.Z)(w.current)==="object"?(0,H.ZP)((Mt=w.current)===null||Mt===void 0?void 0:Mt.nativeElement):null)||(0,H.ZP)(n.current)};O.useImperativeHandle(b,function(){return it()});var zt=O.useRef(h);zt.current=h;var ye=O.useCallback(function(Ye){var Mt=zt.current,Ie=Mt.onResize,Pe=Mt.data,D=Ye.getBoundingClientRect(),A=D.width,X=D.height,M=Ye.offsetWidth,se=Ye.offsetHeight,ve=Math.floor(A),S=Math.floor(X);if(le.current.width!==ve||le.current.height!==S||le.current.offsetWidth!==M||le.current.offsetHeight!==se){var c={width:ve,height:S,offsetWidth:M,offsetHeight:se};le.current=c;var k=M===Math.round(A)?A:M,z=se===Math.round(X)?X:se,T=(0,V.Z)((0,V.Z)({},c),{},{offsetWidth:k,offsetHeight:z});i==null||i(T,Ye,Pe),Ie&&Promise.resolve().then(function(){Ie(T,Ye)})}},[]);return O.useEffect(function(){var Ye=it();return Ye&&!I&&x(Ye,ye),function(){return E(Ye,ye)}},[w.current,I]),O.createElement(N,{ref:n},xe?O.cloneElement(K,{ref:je}):K)}var L=O.forwardRef(R),j=L,J="rc-observer-key";function B(h,b){var C=h.children,I=typeof C=="function"?[C]:(0,U.Z)(C);return I.map(function(w,n){var i=(w==null?void 0:w.key)||"".concat(J,"-").concat(n);return O.createElement(j,(0,P.Z)({},h,{key:i,ref:n===0?b:void 0}),w)})}var ge=O.forwardRef(B);ge.Collection=s;var g=ge},69582:function(Bt,Ze,u){"use strict";u.d(Ze,{ZP:function(){return H}});var P=u(52487),O=u(59301),U=u(47273),Q=0,V=(0,U.Z)();function p(){var $;return V?($=Q,Q+=1):$="TEST_OR_SSR",$}function H($){var e=O.useState(),s=(0,P.Z)(e,2),f=s[0],t=s[1];return O.useEffect(function(){t("rc_select_".concat(p()))},[]),$||f}},45560:function(Bt,Ze,u){"use strict";u.d(Ze,{Ac:function(){return ze},Xo:function(){return Ae},Wx:function(){return rt},ZP:function(){return In},lk:function(){return v}});var P=u(72308),O=u(80702),U=u(49618),Q=u(77321),V=u(52487),p=u(74416),H=u(62853),$=u(18929),e=u(48736),s=u(59301),f=u(92310),t=u.n(f),r=u(34280),a=u(49658),o=u(8654),m=function(G){var Ge=G.className,De=G.customizeIcon,Xe=G.customizeIconProps,Je=G.children,ot=G.onMouseDown,nt=G.onClick,Me=typeof De=="function"?De(Xe):De;return s.createElement("span",{className:Ge,onMouseDown:function(Ne){Ne.preventDefault(),ot==null||ot(Ne)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:nt,"aria-hidden":!0},Me!==void 0?Me:s.createElement("span",{className:t()(Ge.split(/\s+/).map(function(Ee){return"".concat(Ee,"-icon")}))},Je))},x=m,E=function(G,Ge,De,Xe,Je){var ot=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,nt=arguments.length>6?arguments[6]:void 0,Me=arguments.length>7?arguments[7]:void 0,Ee=s.useMemo(function(){if((0,H.Z)(Xe)==="object")return Xe.clearIcon;if(Je)return Je},[Xe,Je]),Ne=s.useMemo(function(){return!!(!ot&&Xe&&(De.length||nt)&&!(Me==="combobox"&&nt===""))},[Xe,ot,De.length,nt,Me]);return{allowClear:Ne,clearIcon:s.createElement(x,{className:"".concat(G,"-clear"),onMouseDown:Ge,customizeIcon:Ee},"\xD7")}},_=s.createContext(null);function v(){return s.useContext(_)}function d(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,G=s.useState(!1),Ge=(0,V.Z)(G,2),De=Ge[0],Xe=Ge[1],Je=s.useRef(null),ot=function(){window.clearTimeout(Je.current)};s.useEffect(function(){return ot},[]);var nt=function(Ee,Ne){ot(),Je.current=window.setTimeout(function(){Xe(Ee),Ne&&Ne()},re)};return[De,nt,ot]}function l(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,G=s.useRef(null),Ge=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(Ge.current)}},[]);function De(Xe){(Xe||G.current===null)&&(G.current=Xe),window.clearTimeout(Ge.current),Ge.current=window.setTimeout(function(){G.current=null},re)}return[function(){return G.current},De]}function N(re,G,Ge,De){var Xe=s.useRef(null);Xe.current={open:G,triggerOpen:Ge,customizedTrigger:De},s.useEffect(function(){function Je(ot){var nt;if(!((nt=Xe.current)!==null&&nt!==void 0&&nt.customizedTrigger)){var Me=ot.target;Me.shadowRoot&&ot.composed&&(Me=ot.composedPath()[0]||Me),Xe.current.open&&re().filter(function(Ee){return Ee}).every(function(Ee){return!Ee.contains(Me)&&Ee!==Me})&&Xe.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Je),function(){return window.removeEventListener("mousedown",Je)}},[])}var R=u(10228);function L(re){return re&&![R.Z.ESC,R.Z.SHIFT,R.Z.BACKSPACE,R.Z.TAB,R.Z.WIN_KEY,R.Z.ALT,R.Z.META,R.Z.WIN_KEY_RIGHT,R.Z.CTRL,R.Z.SEMICOLON,R.Z.EQUALS,R.Z.CAPS_LOCK,R.Z.CONTEXT_MENU,R.Z.F1,R.Z.F2,R.Z.F3,R.Z.F4,R.Z.F5,R.Z.F6,R.Z.F7,R.Z.F8,R.Z.F9,R.Z.F10,R.Z.F11,R.Z.F12].includes(re)}var j=u(26112),J=u(11780),B=function(G,Ge){var De,Xe=G.prefixCls,Je=G.id,ot=G.inputElement,nt=G.disabled,Me=G.tabIndex,Ee=G.autoFocus,Ne=G.autoComplete,$e=G.editable,ct=G.activeDescendantId,st=G.value,Ht=G.maxLength,qe=G.onKeyDown,He=G.onMouseDown,Y=G.onChange,de=G.onPaste,Ce=G.onCompositionStart,fe=G.onCompositionEnd,ke=G.onBlur,be=G.open,Te=G.attrs,Ue=ot||s.createElement("input",null),ht=Ue,lt=ht.ref,mt=ht.props,gt=mt.onKeyDown,Nt=mt.onChange,It=mt.onMouseDown,Ot=mt.onCompositionStart,xt=mt.onCompositionEnd,Et=mt.onBlur,Yt=mt.style;return(0,e.Kp)(!("maxLength"in Ue.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Ue=s.cloneElement(Ue,(0,Q.Z)((0,Q.Z)((0,Q.Z)({type:"search"},mt),{},{id:Je,ref:(0,o.sQ)(Ge,lt),disabled:nt,tabIndex:Me,autoComplete:Ne||"off",autoFocus:Ee,className:t()("".concat(Xe,"-selection-search-input"),(De=Ue)===null||De===void 0||(De=De.props)===null||De===void 0?void 0:De.className),role:"combobox","aria-expanded":be||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Je,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Je,"_list"),"aria-activedescendant":be?ct:void 0},Te),{},{value:$e?st:"",maxLength:Ht,readOnly:!$e,unselectable:$e?null:"on",style:(0,Q.Z)((0,Q.Z)({},Yt),{},{opacity:$e?null:0}),onKeyDown:function(We){qe(We),gt&>(We)},onMouseDown:function(We){He(We),It&&It(We)},onChange:function(We){Y(We),Nt&&Nt(We)},onCompositionStart:function(We){Ce(We),Ot&&Ot(We)},onCompositionEnd:function(We){fe(We),xt&&xt(We)},onPaste:de,onBlur:function(We){ke(We),Et&&Et(We)}})),Ue},ge=s.forwardRef(B),g=ge;function h(re){return Array.isArray(re)?re:re!==void 0?[re]:[]}var b=typeof window!="undefined"&&window.document&&window.document.documentElement,C=b;function I(re){return re!=null}function w(re){return!re&&re!==0}function n(re){return["string","number"].includes((0,H.Z)(re))}function i(re){var G=void 0;return re&&(n(re.title)?G=re.title.toString():n(re.label)&&(G=re.label.toString())),G}function y(re,G){C?s.useLayoutEffect(re,G):s.useEffect(re,G)}function K(re){var G;return(G=re.key)!==null&&G!==void 0?G:re.value}var le=function(G){G.preventDefault(),G.stopPropagation()},xe=function(G){var Ge=G.id,De=G.prefixCls,Xe=G.values,Je=G.open,ot=G.searchValue,nt=G.autoClearSearchValue,Me=G.inputRef,Ee=G.placeholder,Ne=G.disabled,$e=G.mode,ct=G.showSearch,st=G.autoFocus,Ht=G.autoComplete,qe=G.activeDescendantId,He=G.tabIndex,Y=G.removeIcon,de=G.maxTagCount,Ce=G.maxTagTextLength,fe=G.maxTagPlaceholder,ke=fe===void 0?function(Re){return"+ ".concat(Re.length," ...")}:fe,be=G.tagRender,Te=G.onToggleOpen,Ue=G.onRemove,ht=G.onInputChange,lt=G.onInputPaste,mt=G.onInputKeyDown,gt=G.onInputMouseDown,Nt=G.onInputCompositionStart,It=G.onInputCompositionEnd,Ot=G.onInputBlur,xt=s.useRef(null),Et=(0,s.useState)(0),Yt=(0,V.Z)(Et,2),Qe=Yt[0],We=Yt[1],at=(0,s.useState)(!1),qt=(0,V.Z)(at,2),un=qt[0],yn=qt[1],Sn="".concat(De,"-selection"),Z=Je||$e==="multiple"&&nt===!1||$e==="tags"?ot:"",ie=$e==="tags"||$e==="multiple"&&nt===!1||ct&&(Je||un);y(function(){We(xt.current.scrollWidth)},[Z]);var ne=function(te,oe,_e,Oe,Se){return s.createElement("span",{title:i(te),className:t()("".concat(Sn,"-item"),(0,U.Z)({},"".concat(Sn,"-item-disabled"),_e))},s.createElement("span",{className:"".concat(Sn,"-item-content")},oe),Oe&&s.createElement(x,{className:"".concat(Sn,"-item-remove"),onMouseDown:le,onClick:Se,customizeIcon:Y},"\xD7"))},ae=function(te,oe,_e,Oe,Se,et){var Rt=function(At){le(At),Te(!Je)};return s.createElement("span",{onMouseDown:Rt},be({label:oe,value:te,disabled:_e,closable:Oe,onClose:Se,isMaxTag:!!et}))},he=function(te){var oe=te.disabled,_e=te.label,Oe=te.value,Se=!Ne&&!oe,et=_e;if(typeof Ce=="number"&&(typeof _e=="string"||typeof _e=="number")){var Rt=String(et);Rt.length>Ce&&(et="".concat(Rt.slice(0,Ce),"..."))}var bt=function(Ct){Ct&&Ct.stopPropagation(),Ue(te)};return typeof be=="function"?ae(Oe,et,oe,Se,bt):ne(te,et,oe,Se,bt)},ue=function(te){if(!Xe.length)return null;var oe=typeof ke=="function"?ke(te):ke;return typeof be=="function"?ae(void 0,oe,!1,!1,void 0,!0):ne({title:oe},oe,!1)},pe=s.createElement("div",{className:"".concat(Sn,"-search"),style:{width:Qe},onFocus:function(){yn(!0)},onBlur:function(){yn(!1)}},s.createElement(g,{ref:Me,open:Je,prefixCls:De,id:Ge,inputElement:null,disabled:Ne,autoFocus:st,autoComplete:Ht,editable:ie,activeDescendantId:qe,value:Z,onKeyDown:mt,onMouseDown:gt,onChange:ht,onPaste:lt,onCompositionStart:Nt,onCompositionEnd:It,onBlur:Ot,tabIndex:He,attrs:(0,j.Z)(G,!0)}),s.createElement("span",{ref:xt,className:"".concat(Sn,"-search-mirror"),"aria-hidden":!0},Z,"\xA0")),we=s.createElement(J.Z,{prefixCls:"".concat(Sn,"-overflow"),data:Xe,renderItem:he,renderRest:ue,suffix:pe,itemKey:K,maxCount:de});return s.createElement("span",{className:"".concat(Sn,"-wrap")},we,!Xe.length&&!Z&&s.createElement("span",{className:"".concat(Sn,"-placeholder")},Ee))},Le=xe,je=function(G){var Ge=G.inputElement,De=G.prefixCls,Xe=G.id,Je=G.inputRef,ot=G.disabled,nt=G.autoFocus,Me=G.autoComplete,Ee=G.activeDescendantId,Ne=G.mode,$e=G.open,ct=G.values,st=G.placeholder,Ht=G.tabIndex,qe=G.showSearch,He=G.searchValue,Y=G.activeValue,de=G.maxLength,Ce=G.onInputKeyDown,fe=G.onInputMouseDown,ke=G.onInputChange,be=G.onInputPaste,Te=G.onInputCompositionStart,Ue=G.onInputCompositionEnd,ht=G.onInputBlur,lt=G.title,mt=s.useState(!1),gt=(0,V.Z)(mt,2),Nt=gt[0],It=gt[1],Ot=Ne==="combobox",xt=Ot||qe,Et=ct[0],Yt=He||"";Ot&&Y&&!Nt&&(Yt=Y),s.useEffect(function(){Ot&&It(!1)},[Ot,Y]);var Qe=Ne!=="combobox"&&!$e&&!qe?!1:!!Yt,We=lt===void 0?i(Et):lt,at=s.useMemo(function(){return Et?null:s.createElement("span",{className:"".concat(De,"-selection-placeholder"),style:Qe?{visibility:"hidden"}:void 0},st)},[Et,Qe,st,De]);return s.createElement("span",{className:"".concat(De,"-selection-wrap")},s.createElement("span",{className:"".concat(De,"-selection-search")},s.createElement(g,{ref:Je,prefixCls:De,id:Xe,open:$e,inputElement:Ge,disabled:ot,autoFocus:nt,autoComplete:Me,editable:xt,activeDescendantId:Ee,value:Yt,onKeyDown:Ce,onMouseDown:fe,onChange:function(un){It(!0),ke(un)},onPaste:be,onCompositionStart:Te,onCompositionEnd:Ue,onBlur:ht,tabIndex:Ht,attrs:(0,j.Z)(G,!0),maxLength:Ot?de:void 0})),!Ot&&Et?s.createElement("span",{className:"".concat(De,"-selection-item"),title:We,style:Qe?{visibility:"hidden"}:void 0},Et.label):null,at)},it=je,zt=function(G,Ge){var De=(0,s.useRef)(null),Xe=(0,s.useRef)(!1),Je=G.prefixCls,ot=G.open,nt=G.mode,Me=G.showSearch,Ee=G.tokenWithEnter,Ne=G.disabled,$e=G.prefix,ct=G.autoClearSearchValue,st=G.onSearch,Ht=G.onSearchSubmit,qe=G.onToggleOpen,He=G.onInputKeyDown,Y=G.onInputBlur,de=G.domRef;s.useImperativeHandle(Ge,function(){return{focus:function(We){De.current.focus(We)},blur:function(){De.current.blur()}}});var Ce=l(0),fe=(0,V.Z)(Ce,2),ke=fe[0],be=fe[1],Te=function(We){var at=We.which,qt=De.current instanceof HTMLTextAreaElement;!qt&&ot&&(at===R.Z.UP||at===R.Z.DOWN)&&We.preventDefault(),He&&He(We),at===R.Z.ENTER&&nt==="tags"&&!Xe.current&&!ot&&(Ht==null||Ht(We.target.value)),!(qt&&!ot&&~[R.Z.UP,R.Z.DOWN,R.Z.LEFT,R.Z.RIGHT].indexOf(at))&&L(at)&&qe(!0)},Ue=function(){be(!0)},ht=(0,s.useRef)(null),lt=function(We){st(We,!0,Xe.current)!==!1&&qe(!0)},mt=function(){Xe.current=!0},gt=function(We){Xe.current=!1,nt!=="combobox"&<(We.target.value)},Nt=function(We){var at=We.target.value;if(Ee&&ht.current&&/[\r\n]/.test(ht.current)){var qt=ht.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");at=at.replace(qt,ht.current)}ht.current=null,lt(at)},It=function(We){var at=We.clipboardData,qt=at==null?void 0:at.getData("text");ht.current=qt||""},Ot=function(We){var at=We.target;if(at!==De.current){var qt=document.body.style.msTouchAction!==void 0;qt?setTimeout(function(){De.current.focus()}):De.current.focus()}},xt=function(We){var at=ke();We.target!==De.current&&!at&&!(nt==="combobox"&&Ne)&&We.preventDefault(),(nt!=="combobox"&&(!Me||!at)||!ot)&&(ot&&ct!==!1&&st("",!0,!1),qe())},Et={inputRef:De,onInputKeyDown:Te,onInputMouseDown:Ue,onInputChange:Nt,onInputPaste:It,onInputCompositionStart:mt,onInputCompositionEnd:gt,onInputBlur:Y},Yt=nt==="multiple"||nt==="tags"?s.createElement(Le,(0,P.Z)({},G,Et)):s.createElement(it,(0,P.Z)({},G,Et));return s.createElement("div",{ref:de,className:"".concat(Je,"-selector"),onClick:Ot,onMouseDown:xt},$e&&s.createElement("div",{className:"".concat(Je,"-prefix")},$e),Yt)},ye=s.forwardRef(zt),Ye=ye,Mt=u(65352),Ie=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Pe=function(G){var Ge=G===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ge,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ge,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ge,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ge,adjustY:1},htmlRegion:"scroll"}}},D=function(G,Ge){var De=G.prefixCls,Xe=G.disabled,Je=G.visible,ot=G.children,nt=G.popupElement,Me=G.animation,Ee=G.transitionName,Ne=G.dropdownStyle,$e=G.dropdownClassName,ct=G.direction,st=ct===void 0?"ltr":ct,Ht=G.placement,qe=G.builtinPlacements,He=G.dropdownMatchSelectWidth,Y=G.dropdownRender,de=G.dropdownAlign,Ce=G.getPopupContainer,fe=G.empty,ke=G.getTriggerDOMNode,be=G.onPopupVisibleChange,Te=G.onPopupMouseEnter,Ue=(0,p.Z)(G,Ie),ht="".concat(De,"-dropdown"),lt=nt;Y&&(lt=Y(nt));var mt=s.useMemo(function(){return qe||Pe(He)},[qe,He]),gt=Me?"".concat(ht,"-").concat(Me):Ee,Nt=typeof He=="number",It=s.useMemo(function(){return Nt?null:He===!1?"minWidth":"width"},[He,Nt]),Ot=Ne;Nt&&(Ot=(0,Q.Z)((0,Q.Z)({},Ot),{},{width:He}));var xt=s.useRef(null);return s.useImperativeHandle(Ge,function(){return{getPopupElement:function(){var Yt;return(Yt=xt.current)===null||Yt===void 0?void 0:Yt.popupElement}}}),s.createElement(Mt.Z,(0,P.Z)({},Ue,{showAction:be?["click"]:[],hideAction:be?["click"]:[],popupPlacement:Ht||(st==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:mt,prefixCls:ht,popupTransitionName:gt,popup:s.createElement("div",{onMouseEnter:Te},lt),ref:xt,stretch:It,popupAlign:de,popupVisible:Je,getPopupContainer:Ce,popupClassName:t()($e,(0,U.Z)({},"".concat(ht,"-empty"),fe)),popupStyle:Ot,getTriggerDOMNode:ke,onPopupVisibleChange:be}),ot)},A=s.forwardRef(D),X=A,M=u(68413);function se(re,G){var Ge=re.key,De;return"value"in re&&(De=re.value),Ge!=null?Ge:De!==void 0?De:"rc-index-key-".concat(G)}function ve(re){return typeof re!="undefined"&&!Number.isNaN(re)}function S(re,G){var Ge=re||{},De=Ge.label,Xe=Ge.value,Je=Ge.options,ot=Ge.groupLabel,nt=De||(G?"children":"label");return{label:nt,value:Xe||"value",options:Je||"options",groupLabel:ot||nt}}function c(re){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ge=G.fieldNames,De=G.childrenAsData,Xe=[],Je=S(Ge,!1),ot=Je.label,nt=Je.value,Me=Je.options,Ee=Je.groupLabel;function Ne($e,ct){Array.isArray($e)&&$e.forEach(function(st){if(ct||!(Me in st)){var Ht=st[nt];Xe.push({key:se(st,Xe.length),groupOption:ct,data:st,label:st[ot],value:Ht})}else{var qe=st[Ee];qe===void 0&&De&&(qe=st.label),Xe.push({key:se(st,Xe.length),group:!0,data:st,label:qe}),Ne(st[Me],!0)}})}return Ne(re,!1),Xe}function k(re){var G=(0,Q.Z)({},re);return"props"in G||Object.defineProperty(G,"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`."),G}}),G}var z=function(G,Ge,De){if(!Ge||!Ge.length)return null;var Xe=!1,Je=function nt(Me,Ee){var Ne=(0,M.Z)(Ee),$e=Ne[0],ct=Ne.slice(1);if(!$e)return[Me];var st=Me.split($e);return Xe=Xe||st.length>1,st.reduce(function(Ht,qe){return[].concat((0,O.Z)(Ht),(0,O.Z)(nt(qe,ct)))},[]).filter(Boolean)},ot=Je(G,Ge);return Xe?typeof De!="undefined"?ot.slice(0,De):ot:null},T=s.createContext(null),W=T;function F(re){var G=re.visible,Ge=re.values;if(!G)return null;var De=50;return s.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Ge.slice(0,De).map(function(Xe){var Je=Xe.label,ot=Xe.value;return["number","string"].includes((0,H.Z)(Je))?Je:ot}).join(", ")),Ge.length>De?", ...":null)}var ee=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],q=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],ce=function(G){return G==="tags"||G==="multiple"},me=s.forwardRef(function(re,G){var Ge,De=re.id,Xe=re.prefixCls,Je=re.className,ot=re.showSearch,nt=re.tagRender,Me=re.direction,Ee=re.omitDomProps,Ne=re.displayValues,$e=re.onDisplayValuesChange,ct=re.emptyOptions,st=re.notFoundContent,Ht=st===void 0?"Not Found":st,qe=re.onClear,He=re.mode,Y=re.disabled,de=re.loading,Ce=re.getInputElement,fe=re.getRawInputElement,ke=re.open,be=re.defaultOpen,Te=re.onDropdownVisibleChange,Ue=re.activeValue,ht=re.onActiveValueChange,lt=re.activeDescendantId,mt=re.searchValue,gt=re.autoClearSearchValue,Nt=re.onSearch,It=re.onSearchSplit,Ot=re.tokenSeparators,xt=re.allowClear,Et=re.prefix,Yt=re.suffixIcon,Qe=re.clearIcon,We=re.OptionList,at=re.animation,qt=re.transitionName,un=re.dropdownStyle,yn=re.dropdownClassName,Sn=re.dropdownMatchSelectWidth,Z=re.dropdownRender,ie=re.dropdownAlign,ne=re.placement,ae=re.builtinPlacements,he=re.getPopupContainer,ue=re.showAction,pe=ue===void 0?[]:ue,we=re.onFocus,Re=re.onBlur,te=re.onKeyUp,oe=re.onKeyDown,_e=re.onMouseDown,Oe=(0,p.Z)(re,ee),Se=ce(He),et=(ot!==void 0?ot:Se)||He==="combobox",Rt=(0,Q.Z)({},Oe);q.forEach(function(Mn){delete Rt[Mn]}),Ee==null||Ee.forEach(function(Mn){delete Rt[Mn]});var bt=s.useState(!1),At=(0,V.Z)(bt,2),Ct=At[0],Kt=At[1];s.useEffect(function(){Kt((0,a.Z)())},[]);var nn=s.useRef(null),St=s.useRef(null),rn=s.useRef(null),Jt=s.useRef(null),Xt=s.useRef(null),on=s.useRef(!1),pn=d(),An=(0,V.Z)(pn,3),en=An[0],cn=An[1],Ut=An[2];s.useImperativeHandle(G,function(){var Mn,hn;return{focus:(Mn=Jt.current)===null||Mn===void 0?void 0:Mn.focus,blur:(hn=Jt.current)===null||hn===void 0?void 0:hn.blur,scrollTo:function(Qn){var qn;return(qn=Xt.current)===null||qn===void 0?void 0:qn.scrollTo(Qn)},nativeElement:nn.current||St.current}});var yt=s.useMemo(function(){var Mn;if(He!=="combobox")return mt;var hn=(Mn=Ne[0])===null||Mn===void 0?void 0:Mn.value;return typeof hn=="string"||typeof hn=="number"?String(hn):""},[mt,He,Ne]),Wt=He==="combobox"&&typeof Ce=="function"&&Ce()||null,Ft=typeof fe=="function"&&fe(),bn=(0,o.x1)(St,Ft==null||(Ge=Ft.props)===null||Ge===void 0?void 0:Ge.ref),fn=s.useState(!1),wn=(0,V.Z)(fn,2),zn=wn[0],Xn=wn[1];(0,r.Z)(function(){Xn(!0)},[]);var $n=(0,$.Z)(!1,{defaultValue:be,value:ke}),tr=(0,V.Z)($n,2),rr=tr[0],Gn=tr[1],an=zn?rr:!1,Tn=!Ht&&ct;(Y||Tn&&an&&He==="combobox")&&(an=!1);var Bn=Tn?!1:an,Dt=s.useCallback(function(Mn){var hn=Mn!==void 0?Mn:!an;Y||(Gn(hn),an!==hn&&(Te==null||Te(hn)))},[Y,an,Gn,Te]),_t=s.useMemo(function(){return(Ot||[]).some(function(Mn){return[`
|
|
`,`\r
|
|
`].includes(Mn)})},[Ot]),dt=s.useContext(W)||{},kt=dt.maxCount,xn=dt.rawValues,Ln=function(hn,Un,Qn){if(!(Se&&ve(kt)&&(xn==null?void 0:xn.size)>=kt)){var qn=!0,er=hn;ht==null||ht(null);var sr=z(hn,Ot,ve(kt)?kt-xn.size:void 0),pr=Qn?null:sr;return He!=="combobox"&&pr&&(er="",It==null||It(pr),Dt(!1),qn=!1),Nt&&yt!==er&&Nt(er,{source:Un?"typing":"effect"}),qn}},ar=function(hn){!hn||!hn.trim()||Nt(hn,{source:"submit"})};s.useEffect(function(){!an&&!Se&&He!=="combobox"&&Ln("",!1,!1)},[an]),s.useEffect(function(){rr&&Y&&Gn(!1),Y&&!on.current&&cn(!1)},[Y]);var Jn=l(),ir=(0,V.Z)(Jn,2),pt=ir[0],$t=ir[1],Rn=s.useRef(!1),vn=function(hn){var Un=pt(),Qn=hn.key,qn=Qn==="Enter";if(qn&&(He!=="combobox"&&hn.preventDefault(),an||Dt(!0)),$t(!!yt),Qn==="Backspace"&&!Un&&Se&&!yt&&Ne.length){for(var er=(0,O.Z)(Ne),sr=null,pr=er.length-1;pr>=0;pr-=1){var vr=er[pr];if(!vr.disabled){er.splice(pr,1),sr=vr;break}}sr&&$e(er,{type:"remove",values:[sr]})}for(var wr=arguments.length,yr=new Array(wr>1?wr-1:0),Rr=1;Rr<wr;Rr++)yr[Rr-1]=arguments[Rr];if(an&&(!qn||!Rn.current)){var or;qn&&(Rn.current=!0),(or=Xt.current)===null||or===void 0||or.onKeyDown.apply(or,[hn].concat(yr))}oe==null||oe.apply(void 0,[hn].concat(yr))},Zn=function(hn){for(var Un=arguments.length,Qn=new Array(Un>1?Un-1:0),qn=1;qn<Un;qn++)Qn[qn-1]=arguments[qn];if(an){var er;(er=Xt.current)===null||er===void 0||er.onKeyUp.apply(er,[hn].concat(Qn))}hn.key==="Enter"&&(Rn.current=!1),te==null||te.apply(void 0,[hn].concat(Qn))},lr=function(hn){var Un=Ne.filter(function(Qn){return Qn!==hn});$e(Un,{type:"remove",values:[hn]})},jn=function(){Rn.current=!1},ur=s.useRef(!1),hr=function(){cn(!0),Y||(we&&!ur.current&&we.apply(void 0,arguments),pe.includes("focus")&&Dt(!0)),ur.current=!0},Pr=function(){on.current=!0,cn(!1,function(){ur.current=!1,on.current=!1,Dt(!1)}),!Y&&(yt&&(He==="tags"?Nt(yt,{source:"submit"}):He==="multiple"&&Nt("",{source:"blur"})),Re&&Re.apply(void 0,arguments))},Hn=[];s.useEffect(function(){return function(){Hn.forEach(function(Mn){return clearTimeout(Mn)}),Hn.splice(0,Hn.length)}},[]);var Lr=function(hn){var Un,Qn=hn.target,qn=(Un=rn.current)===null||Un===void 0?void 0:Un.getPopupElement();if(qn&&qn.contains(Qn)){var er=setTimeout(function(){var wr=Hn.indexOf(er);if(wr!==-1&&Hn.splice(wr,1),Ut(),!Ct&&!qn.contains(document.activeElement)){var yr;(yr=Jt.current)===null||yr===void 0||yr.focus()}});Hn.push(er)}for(var sr=arguments.length,pr=new Array(sr>1?sr-1:0),vr=1;vr<sr;vr++)pr[vr-1]=arguments[vr];_e==null||_e.apply(void 0,[hn].concat(pr))},Kr=s.useState({}),Vr=(0,V.Z)(Kr,2),Nr=Vr[1];function Cr(){Nr({})}var xr;Ft&&(xr=function(hn){Dt(hn)}),N(function(){var Mn;return[nn.current,(Mn=rn.current)===null||Mn===void 0?void 0:Mn.getPopupElement()]},Bn,Dt,!!Ft);var Or=s.useMemo(function(){return(0,Q.Z)((0,Q.Z)({},re),{},{notFoundContent:Ht,open:an,triggerOpen:Bn,id:De,showSearch:et,multiple:Se,toggleOpen:Dt})},[re,Ht,Bn,an,De,et,Se,Dt]),mr=!!Yt||de,kr;mr&&(kr=s.createElement(x,{className:t()("".concat(Xe,"-arrow"),(0,U.Z)({},"".concat(Xe,"-arrow-loading"),de)),customizeIcon:Yt,customizeIconProps:{loading:de,searchValue:yt,open:an,focused:en,showSearch:et}}));var Er=function(){var hn;qe==null||qe(),(hn=Jt.current)===null||hn===void 0||hn.focus(),$e([],{type:"clear",values:Ne}),Ln("",!1,!1)},Fr=E(Xe,Er,Ne,xt,Qe,Y,yt,He),Dr=Fr.allowClear,Hr=Fr.clearIcon,Br=s.createElement(We,{ref:Xt}),$r=t()(Xe,Je,(0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)({},"".concat(Xe,"-focused"),en),"".concat(Xe,"-multiple"),Se),"".concat(Xe,"-single"),!Se),"".concat(Xe,"-allow-clear"),xt),"".concat(Xe,"-show-arrow"),mr),"".concat(Xe,"-disabled"),Y),"".concat(Xe,"-loading"),de),"".concat(Xe,"-open"),an),"".concat(Xe,"-customize-input"),Wt),"".concat(Xe,"-show-search"),et)),Tr=s.createElement(X,{ref:rn,disabled:Y,prefixCls:Xe,visible:Bn,popupElement:Br,animation:at,transitionName:qt,dropdownStyle:un,dropdownClassName:yn,direction:Me,dropdownMatchSelectWidth:Sn,dropdownRender:Z,dropdownAlign:ie,placement:ne,builtinPlacements:ae,getPopupContainer:he,empty:ct,getTriggerDOMNode:function(hn){return St.current||hn},onPopupVisibleChange:xr,onPopupMouseEnter:Cr},Ft?s.cloneElement(Ft,{ref:bn}):s.createElement(Ye,(0,P.Z)({},re,{domRef:St,prefixCls:Xe,inputElement:Wt,ref:Jt,id:De,prefix:Et,showSearch:et,autoClearSearchValue:gt,mode:He,activeDescendantId:lt,tagRender:nt,values:Ne,open:an,onToggleOpen:Dt,activeValue:Ue,searchValue:yt,onSearch:Ln,onSearchSubmit:ar,onRemove:lr,tokenWithEnter:_t,onInputBlur:jn}))),Sr;return Ft?Sr=Tr:Sr=s.createElement("div",(0,P.Z)({className:$r},Rt,{ref:nn,onMouseDown:Lr,onKeyDown:vn,onKeyUp:Zn,onFocus:hr,onBlur:Pr}),s.createElement(F,{visible:en&&!an,values:Ne}),Tr,kr,Dr&&Hr),s.createElement(_.Provider,{value:Or},Sr)}),ze=me,Fe=function(){return null};Fe.isSelectOptGroup=!0;var Ae=Fe,Ke=function(){return null};Ke.isSelectOption=!0;var rt=Ke,Ve=u(80547),Be=u(2738),Zt=u(45680);function Tt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var tt=["disabled","title","children","style","className"];function Vt(re){return typeof re=="string"||typeof re=="number"}var dn=function(G,Ge){var De=v(),Xe=De.prefixCls,Je=De.id,ot=De.open,nt=De.multiple,Me=De.mode,Ee=De.searchValue,Ne=De.toggleOpen,$e=De.notFoundContent,ct=De.onPopupScroll,st=s.useContext(W),Ht=st.maxCount,qe=st.flattenOptions,He=st.onActiveValue,Y=st.defaultActiveFirstOption,de=st.onSelect,Ce=st.menuItemSelectedIcon,fe=st.rawValues,ke=st.fieldNames,be=st.virtual,Te=st.direction,Ue=st.listHeight,ht=st.listItemHeight,lt=st.optionRender,mt="".concat(Xe,"-item"),gt=(0,Ve.Z)(function(){return qe},[ot,qe],function(ue,pe){return pe[0]&&ue[1]!==pe[1]}),Nt=s.useRef(null),It=s.useMemo(function(){return nt&&ve(Ht)&&(fe==null?void 0:fe.size)>=Ht},[nt,Ht,fe==null?void 0:fe.size]),Ot=function(pe){pe.preventDefault()},xt=function(pe){var we;(we=Nt.current)===null||we===void 0||we.scrollTo(typeof pe=="number"?{index:pe}:pe)},Et=s.useCallback(function(ue){return Me==="combobox"?!1:fe.has(ue)},[Me,(0,O.Z)(fe).toString(),fe.size]),Yt=function(pe){for(var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Re=gt.length,te=0;te<Re;te+=1){var oe=(pe+te*we+Re)%Re,_e=gt[oe]||{},Oe=_e.group,Se=_e.data;if(!Oe&&!(Se!=null&&Se.disabled)&&(Et(Se.value)||!It))return oe}return-1},Qe=s.useState(function(){return Yt(0)}),We=(0,V.Z)(Qe,2),at=We[0],qt=We[1],un=function(pe){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;qt(pe);var Re={source:we?"keyboard":"mouse"},te=gt[pe];if(!te){He(null,-1,Re);return}He(te.value,pe,Re)};(0,s.useEffect)(function(){un(Y!==!1?Yt(0):-1)},[gt.length,Ee]);var yn=s.useCallback(function(ue){return Me==="combobox"?String(ue).toLowerCase()===Ee.toLowerCase():fe.has(ue)},[Me,Ee,(0,O.Z)(fe).toString(),fe.size]);(0,s.useEffect)(function(){var ue=setTimeout(function(){if(!nt&&ot&&fe.size===1){var we=Array.from(fe)[0],Re=gt.findIndex(function(te){var oe=te.data;return oe.value===we});Re!==-1&&(un(Re),xt(Re))}});if(ot){var pe;(pe=Nt.current)===null||pe===void 0||pe.scrollTo(void 0)}return function(){return clearTimeout(ue)}},[ot,Ee]);var Sn=function(pe){pe!==void 0&&de(pe,{selected:!fe.has(pe)}),nt||Ne(!1)};if(s.useImperativeHandle(Ge,function(){return{onKeyDown:function(pe){var we=pe.which,Re=pe.ctrlKey;switch(we){case R.Z.N:case R.Z.P:case R.Z.UP:case R.Z.DOWN:{var te=0;if(we===R.Z.UP?te=-1:we===R.Z.DOWN?te=1:Tt()&&Re&&(we===R.Z.N?te=1:we===R.Z.P&&(te=-1)),te!==0){var oe=Yt(at+te,te);xt(oe),un(oe,!0)}break}case R.Z.TAB:case R.Z.ENTER:{var _e,Oe=gt[at];Oe&&!(Oe!=null&&(_e=Oe.data)!==null&&_e!==void 0&&_e.disabled)&&!It?Sn(Oe.value):Sn(void 0),ot&&pe.preventDefault();break}case R.Z.ESC:Ne(!1),ot&&pe.stopPropagation()}},onKeyUp:function(){},scrollTo:function(pe){xt(pe)}}}),gt.length===0)return s.createElement("div",{role:"listbox",id:"".concat(Je,"_list"),className:"".concat(mt,"-empty"),onMouseDown:Ot},$e);var Z=Object.keys(ke).map(function(ue){return ke[ue]}),ie=function(pe){return pe.label};function ne(ue,pe){var we=ue.group;return{role:we?"presentation":"option",id:"".concat(Je,"_list_").concat(pe)}}var ae=function(pe){var we=gt[pe];if(!we)return null;var Re=we.data||{},te=Re.value,oe=we.group,_e=(0,j.Z)(Re,!0),Oe=ie(we);return we?s.createElement("div",(0,P.Z)({"aria-label":typeof Oe=="string"&&!oe?Oe:null},_e,{key:pe},ne(we,pe),{"aria-selected":yn(te)}),te):null},he={role:"listbox",id:"".concat(Je,"_list")};return s.createElement(s.Fragment,null,be&&s.createElement("div",(0,P.Z)({},he,{style:{height:0,width:0,overflow:"hidden"}}),ae(at-1),ae(at),ae(at+1)),s.createElement(Zt.Z,{itemKey:"key",ref:Nt,data:gt,height:Ue,itemHeight:ht,fullHeight:!1,onMouseDown:Ot,onScroll:ct,virtual:be,direction:Te,innerProps:be?null:he},function(ue,pe){var we=ue.group,Re=ue.groupOption,te=ue.data,oe=ue.label,_e=ue.value,Oe=te.key;if(we){var Se,et=(Se=te.title)!==null&&Se!==void 0?Se:Vt(oe)?oe.toString():void 0;return s.createElement("div",{className:t()(mt,"".concat(mt,"-group"),te.className),title:et},oe!==void 0?oe:Oe)}var Rt=te.disabled,bt=te.title,At=te.children,Ct=te.style,Kt=te.className,nn=(0,p.Z)(te,tt),St=(0,Be.Z)(nn,Z),rn=Et(_e),Jt=Rt||!rn&&It,Xt="".concat(mt,"-option"),on=t()(mt,Xt,Kt,(0,U.Z)((0,U.Z)((0,U.Z)((0,U.Z)({},"".concat(Xt,"-grouped"),Re),"".concat(Xt,"-active"),at===pe&&!Jt),"".concat(Xt,"-disabled"),Jt),"".concat(Xt,"-selected"),rn)),pn=ie(ue),An=!Ce||typeof Ce=="function"||rn,en=typeof pn=="number"?pn:pn||_e,cn=Vt(en)?en.toString():void 0;return bt!==void 0&&(cn=bt),s.createElement("div",(0,P.Z)({},(0,j.Z)(St),be?{}:ne(ue,pe),{"aria-selected":yn(_e),className:on,title:cn,onMouseMove:function(){at===pe||Jt||un(pe)},onClick:function(){Jt||Sn(_e)},style:Ct}),s.createElement("div",{className:"".concat(Xt,"-content")},typeof lt=="function"?lt(ue,{index:pe}):en),s.isValidElement(Ce)||rn,An&&s.createElement(x,{className:"".concat(mt,"-option-state"),customizeIcon:Ce,customizeIconProps:{value:_e,disabled:Jt,isSelected:rn}},rn?"\u2713":null))}))},Pt=s.forwardRef(dn),ut=Pt,Lt=function(re,G){var Ge=s.useRef({values:new Map,options:new Map}),De=s.useMemo(function(){var Je=Ge.current,ot=Je.values,nt=Je.options,Me=re.map(function($e){if($e.label===void 0){var ct;return(0,Q.Z)((0,Q.Z)({},$e),{},{label:(ct=ot.get($e.value))===null||ct===void 0?void 0:ct.label})}return $e}),Ee=new Map,Ne=new Map;return Me.forEach(function($e){Ee.set($e.value,$e),Ne.set($e.value,G.get($e.value)||nt.get($e.value))}),Ge.current.values=Ee,Ge.current.options=Ne,Me},[re,G]),Xe=s.useCallback(function(Je){return G.get(Je)||Ge.current.options.get(Je)},[G]);return[De,Xe]};function ln(re,G){return h(re).join("").toUpperCase().includes(G)}var tn=function(re,G,Ge,De,Xe){return s.useMemo(function(){if(!Ge||De===!1)return re;var Je=G.options,ot=G.label,nt=G.value,Me=[],Ee=typeof De=="function",Ne=Ge.toUpperCase(),$e=Ee?De:function(st,Ht){return Xe?ln(Ht[Xe],Ne):Ht[Je]?ln(Ht[ot!=="children"?ot:"label"],Ne):ln(Ht[nt],Ne)},ct=Ee?function(st){return k(st)}:function(st){return st};return re.forEach(function(st){if(st[Je]){var Ht=$e(Ge,ct(st));if(Ht)Me.push(st);else{var qe=st[Je].filter(function(He){return $e(Ge,ct(He))});qe.length&&Me.push((0,Q.Z)((0,Q.Z)({},st),{},(0,U.Z)({},Je,qe)))}return}$e(Ge,ct(st))&&Me.push(st)}),Me},[re,De,Xe,Ge,G])},Qt=u(69582),_n=u(11592),wt=["children","value"],ft=["children"];function vt(re){var G=re,Ge=G.key,De=G.props,Xe=De.children,Je=De.value,ot=(0,p.Z)(De,wt);return(0,Q.Z)({key:Ge,value:Je!==void 0?Je:Ge,children:Xe},ot)}function Gt(re){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,_n.Z)(re).map(function(Ge,De){if(!s.isValidElement(Ge)||!Ge.type)return null;var Xe=Ge,Je=Xe.type.isSelectOptGroup,ot=Xe.key,nt=Xe.props,Me=nt.children,Ee=(0,p.Z)(nt,ft);return G||!Je?vt(Ge):(0,Q.Z)((0,Q.Z)({key:"__RC_SELECT_GRP__".concat(ot===null?De:ot,"__"),label:ot},Ee),{},{options:Gt(Me)})}).filter(function(Ge){return Ge})}var Cn=function(G,Ge,De,Xe,Je){return s.useMemo(function(){var ot=G,nt=!G;nt&&(ot=Gt(Ge));var Me=new Map,Ee=new Map,Ne=function(st,Ht,qe){qe&&typeof qe=="string"&&st.set(Ht[qe],Ht)},$e=function ct(st){for(var Ht=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,qe=0;qe<st.length;qe+=1){var He=st[qe];!He[De.options]||Ht?(Me.set(He[De.value],He),Ne(Ee,He,De.label),Ne(Ee,He,Xe),Ne(Ee,He,Je)):ct(He[De.options],!0)}};return $e(ot),{options:ot,valueOptions:Me,labelOptions:Ee}},[G,Ge,De,Xe,Je])},jt=Cn;function kn(re){var G=s.useRef();G.current=re;var Ge=s.useCallback(function(){return G.current.apply(G,arguments)},[]);return Ge}function Wn(re){var G=re.mode,Ge=re.options,De=re.children,Xe=re.backfill,Je=re.allowClear,ot=re.placeholder,nt=re.getInputElement,Me=re.showSearch,Ee=re.onSearch,Ne=re.defaultOpen,$e=re.autoFocus,ct=re.labelInValue,st=re.value,Ht=re.inputValue,qe=re.optionLabelProp,He=isMultiple(G),Y=Me!==void 0?Me:He||G==="combobox",de=Ge||convertChildrenToData(De);if(warning(G!=="tags"||de.every(function(be){return!be.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),G==="tags"||G==="combobox"){var Ce=de.some(function(be){return be.options?be.options.some(function(Te){return typeof("value"in Te?Te.value:Te.key)=="number"}):typeof("value"in be?be.value:be.key)=="number"});warning(!Ce,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(G!=="combobox"||!qe,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(G==="combobox"||!Xe,"`backfill` only works with `combobox` mode."),warning(G==="combobox"||!nt,"`getInputElement` only work with `combobox` mode."),noteOnce(G!=="combobox"||!nt||!Je||!ot,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Ee&&!Y&&G!=="combobox"&&G!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Ne||$e,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),st!=null){var fe=toArray(st);warning(!ct||fe.every(function(be){return _typeof(be)==="object"&&("key"in be||"value"in be)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!He||Array.isArray(st),"`value` should be array when `mode` is `multiple` or `tags`")}if(De){var ke=null;toNodeArray(De).some(function(be){if(!React.isValidElement(be)||!be.type)return!1;var Te=be,Ue=Te.type;if(Ue.isSelectOption)return!1;if(Ue.isSelectOptGroup){var ht=toNodeArray(be.props.children).every(function(lt){return!React.isValidElement(lt)||!be.type||lt.type.isSelectOption?!0:(ke=lt.type,!1)});return!ht}return ke=Ue,!0}),ke&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ke.displayName||ke.name||ke,"`.")),warning(Ht===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function sn(re,G){if(re){var Ge=function De(Xe){for(var Je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ot=0;ot<Xe.length;ot++){var nt=Xe[ot];if(nt[G==null?void 0:G.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Je&&Array.isArray(nt[G==null?void 0:G.options])&&De(nt[G==null?void 0:G.options],!0))break}};Ge(re)}}var gn=null,Pn=["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"],En=["inputValue"];function On(re){return!re||(0,H.Z)(re)!=="object"}var mn=s.forwardRef(function(re,G){var Ge=re.id,De=re.mode,Xe=re.prefixCls,Je=Xe===void 0?"rc-select":Xe,ot=re.backfill,nt=re.fieldNames,Me=re.inputValue,Ee=re.searchValue,Ne=re.onSearch,$e=re.autoClearSearchValue,ct=$e===void 0?!0:$e,st=re.onSelect,Ht=re.onDeselect,qe=re.dropdownMatchSelectWidth,He=qe===void 0?!0:qe,Y=re.filterOption,de=re.filterSort,Ce=re.optionFilterProp,fe=re.optionLabelProp,ke=re.options,be=re.optionRender,Te=re.children,Ue=re.defaultActiveFirstOption,ht=re.menuItemSelectedIcon,lt=re.virtual,mt=re.direction,gt=re.listHeight,Nt=gt===void 0?200:gt,It=re.listItemHeight,Ot=It===void 0?20:It,xt=re.labelRender,Et=re.value,Yt=re.defaultValue,Qe=re.labelInValue,We=re.onChange,at=re.maxCount,qt=(0,p.Z)(re,Pn),un=(0,Qt.ZP)(Ge),yn=ce(De),Sn=!!(!ke&&Te),Z=s.useMemo(function(){return Y===void 0&&De==="combobox"?!1:Y},[Y,De]),ie=s.useMemo(function(){return S(nt,Sn)},[JSON.stringify(nt),Sn]),ne=(0,$.Z)("",{value:Ee!==void 0?Ee:Me,postState:function(_t){return _t||""}}),ae=(0,V.Z)(ne,2),he=ae[0],ue=ae[1],pe=jt(ke,Te,ie,Ce,fe),we=pe.valueOptions,Re=pe.labelOptions,te=pe.options,oe=s.useCallback(function(Dt){var _t=h(Dt);return _t.map(function(dt){var kt,xn,Ln,ar,Jn;if(On(dt))kt=dt;else{var ir;Ln=dt.key,xn=dt.label,kt=(ir=dt.value)!==null&&ir!==void 0?ir:Ln}var pt=we.get(kt);if(pt){var $t;if(xn===void 0&&(xn=pt==null?void 0:pt[fe||ie.label]),Ln===void 0&&(Ln=($t=pt==null?void 0:pt.key)!==null&&$t!==void 0?$t:kt),ar=pt==null?void 0:pt.disabled,Jn=pt==null?void 0:pt.title,0)var Rn}return{label:xn,value:kt,key:Ln,disabled:ar,title:Jn}})},[ie,fe,we]),_e=(0,$.Z)(Yt,{value:Et}),Oe=(0,V.Z)(_e,2),Se=Oe[0],et=Oe[1],Rt=s.useMemo(function(){var Dt,_t=yn&&Se===null?[]:Se,dt=oe(_t);return De==="combobox"&&w((Dt=dt[0])===null||Dt===void 0?void 0:Dt.value)?[]:dt},[Se,oe,De,yn]),bt=Lt(Rt,we),At=(0,V.Z)(bt,2),Ct=At[0],Kt=At[1],nn=s.useMemo(function(){if(!De&&Ct.length===1){var Dt=Ct[0];if(Dt.value===null&&(Dt.label===null||Dt.label===void 0))return[]}return Ct.map(function(_t){var dt;return(0,Q.Z)((0,Q.Z)({},_t),{},{label:(dt=typeof xt=="function"?xt(_t):_t.label)!==null&&dt!==void 0?dt:_t.value})})},[De,Ct,xt]),St=s.useMemo(function(){return new Set(Ct.map(function(Dt){return Dt.value}))},[Ct]);s.useEffect(function(){if(De==="combobox"){var Dt,_t=(Dt=Ct[0])===null||Dt===void 0?void 0:Dt.value;ue(I(_t)?String(_t):"")}},[Ct]);var rn=kn(function(Dt,_t){var dt=_t!=null?_t:Dt;return(0,U.Z)((0,U.Z)({},ie.value,Dt),ie.label,dt)}),Jt=s.useMemo(function(){if(De!=="tags")return te;var Dt=(0,O.Z)(te),_t=function(kt){return we.has(kt)};return(0,O.Z)(Ct).sort(function(dt,kt){return dt.value<kt.value?-1:1}).forEach(function(dt){var kt=dt.value;_t(kt)||Dt.push(rn(kt,dt.label))}),Dt},[rn,te,we,Ct,De]),Xt=tn(Jt,ie,he,Z,Ce),on=s.useMemo(function(){return De!=="tags"||!he||Xt.some(function(Dt){return Dt[Ce||"value"]===he})||Xt.some(function(Dt){return Dt[ie.value]===he})?Xt:[rn(he)].concat((0,O.Z)(Xt))},[rn,Ce,De,Xt,he,ie]),pn=function Dt(_t){var dt=(0,O.Z)(_t).sort(function(kt,xn){return de(kt,xn,{searchValue:he})});return dt.map(function(kt){return Array.isArray(kt.options)?(0,Q.Z)((0,Q.Z)({},kt),{},{options:kt.options.length>0?Dt(kt.options):kt.options}):kt})},An=s.useMemo(function(){return de?pn(on):on},[on,de,he]),en=s.useMemo(function(){return c(An,{fieldNames:ie,childrenAsData:Sn})},[An,ie,Sn]),cn=function(_t){var dt=oe(_t);if(et(dt),We&&(dt.length!==Ct.length||dt.some(function(Ln,ar){var Jn;return((Jn=Ct[ar])===null||Jn===void 0?void 0:Jn.value)!==(Ln==null?void 0:Ln.value)}))){var kt=Qe?dt:dt.map(function(Ln){return Ln.value}),xn=dt.map(function(Ln){return k(Kt(Ln.value))});We(yn?kt:kt[0],yn?xn:xn[0])}},Ut=s.useState(null),yt=(0,V.Z)(Ut,2),Wt=yt[0],Ft=yt[1],bn=s.useState(0),fn=(0,V.Z)(bn,2),wn=fn[0],zn=fn[1],Xn=Ue!==void 0?Ue:De!=="combobox",$n=s.useCallback(function(Dt,_t){var dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},kt=dt.source,xn=kt===void 0?"keyboard":kt;zn(_t),ot&&De==="combobox"&&Dt!==null&&xn==="keyboard"&&Ft(String(Dt))},[ot,De]),tr=function(_t,dt,kt){var xn=function(){var lr,jn=Kt(_t);return[Qe?{label:jn==null?void 0:jn[ie.label],value:_t,key:(lr=jn==null?void 0:jn.key)!==null&&lr!==void 0?lr:_t}:_t,k(jn)]};if(dt&&st){var Ln=xn(),ar=(0,V.Z)(Ln,2),Jn=ar[0],ir=ar[1];st(Jn,ir)}else if(!dt&&Ht&&kt!=="clear"){var pt=xn(),$t=(0,V.Z)(pt,2),Rn=$t[0],vn=$t[1];Ht(Rn,vn)}},rr=kn(function(Dt,_t){var dt,kt=yn?_t.selected:!0;kt?dt=yn?[].concat((0,O.Z)(Ct),[Dt]):[Dt]:dt=Ct.filter(function(xn){return xn.value!==Dt}),cn(dt),tr(Dt,kt),De==="combobox"?Ft(""):(!ce||ct)&&(ue(""),Ft(""))}),Gn=function(_t,dt){cn(_t);var kt=dt.type,xn=dt.values;(kt==="remove"||kt==="clear")&&xn.forEach(function(Ln){tr(Ln.value,!1,kt)})},an=function(_t,dt){if(ue(_t),Ft(null),dt.source==="submit"){var kt=(_t||"").trim();if(kt){var xn=Array.from(new Set([].concat((0,O.Z)(St),[kt])));cn(xn),tr(kt,!0),ue("")}return}dt.source!=="blur"&&(De==="combobox"&&cn(_t),Ne==null||Ne(_t))},Tn=function(_t){var dt=_t;De!=="tags"&&(dt=_t.map(function(xn){var Ln=Re.get(xn);return Ln==null?void 0:Ln.value}).filter(function(xn){return xn!==void 0}));var kt=Array.from(new Set([].concat((0,O.Z)(St),(0,O.Z)(dt))));cn(kt),kt.forEach(function(xn){tr(xn,!0)})},Bn=s.useMemo(function(){var Dt=lt!==!1&&He!==!1;return(0,Q.Z)((0,Q.Z)({},pe),{},{flattenOptions:en,onActiveValue:$n,defaultActiveFirstOption:Xn,onSelect:rr,menuItemSelectedIcon:ht,rawValues:St,fieldNames:ie,virtual:Dt,direction:mt,listHeight:Nt,listItemHeight:Ot,childrenAsData:Sn,maxCount:at,optionRender:be})},[at,pe,en,$n,Xn,rr,ht,St,ie,lt,He,mt,Nt,Ot,Sn,be]);return s.createElement(W.Provider,{value:Bn},s.createElement(ze,(0,P.Z)({},qt,{id:un,prefixCls:Je,ref:G,omitDomProps:En,mode:De,displayValues:nn,onDisplayValuesChange:Gn,direction:mt,searchValue:he,onSearch:an,autoClearSearchValue:ct,onSearchSplit:Tn,dropdownMatchSelectWidth:He,OptionList:ut,emptyOptions:!en.length,activeValue:Wt,activeDescendantId:"".concat(un,"_list_").concat(wn)})))}),Nn=mn;Nn.Option=rt,Nn.OptGroup=Ae;var Dn=Nn,In=Dn},67204:function(Bt,Ze,u){"use strict";u.d(Ze,{R:function(){return O},w:function(){return P}});var P={},O="rc-table-internal-hook"},78612:function(Bt,Ze,u){"use strict";u.d(Ze,{L:function(){return m},Z:function(){return d}});var P=u(52487),O=u(49618),U=u(80702),Q=u(62853),V=u(77321),p=u(74416),H=u(11592),$=u(48736),e=u(59301),s=u(67204),f=u(90494);function t(l){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof N=="number"?N:N.endsWith("%")?l*parseFloat(N)/100:null}function r(l,N,R){return e.useMemo(function(){if(N&&N>0){var L=0,j=0;l.forEach(function(I){var w=t(N,I.width);w?L+=w:j+=1});var J=Math.max(N,R),B=Math.max(J-L,j),ge=j,g=B/j,h=0,b=l.map(function(I){var w=(0,V.Z)({},I),n=t(N,w.width);if(n)w.width=n;else{var i=Math.floor(g);w.width=ge===1?B:i,B-=i,ge-=1}return h+=w.width,w});if(h<J){var C=J/h;B=J,b.forEach(function(I,w){var n=Math.floor(I.width*C);I.width=w===b.length-1?B:n,B-=n})}return[b,Math.max(h,J)]}return[l,N]},[l,N,R])}var a=["children"],o=["fixed"];function m(l){return(0,H.Z)(l).filter(function(N){return e.isValidElement(N)}).map(function(N){var R=N.key,L=N.props,j=L.children,J=(0,p.Z)(L,a),B=(0,V.Z)({key:R},J);return j&&(B.children=m(j)),B})}function x(l){return l.filter(function(N){return N&&(0,Q.Z)(N)==="object"&&!N.hidden}).map(function(N){var R=N.children;return R&&R.length>0?(0,V.Z)((0,V.Z)({},N),{},{children:x(R)}):N})}function E(l){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return l.filter(function(R){return R&&(0,Q.Z)(R)==="object"}).reduce(function(R,L,j){var J=L.fixed,B=J===!0?"left":J,ge="".concat(N,"-").concat(j),g=L.children;return g&&g.length>0?[].concat((0,U.Z)(R),(0,U.Z)(E(g,ge).map(function(h){return(0,V.Z)({fixed:B},h)}))):[].concat((0,U.Z)(R),[(0,V.Z)((0,V.Z)({key:ge},L),{},{fixed:B})])},[])}function _(l){return l.map(function(N){var R=N.fixed,L=(0,p.Z)(N,o),j=R;return R==="left"?j="right":R==="right"&&(j="left"),(0,V.Z)({fixed:j},L)})}function v(l,N){var R=l.prefixCls,L=l.columns,j=l.children,J=l.expandable,B=l.expandedKeys,ge=l.columnTitle,g=l.getRowKey,h=l.onTriggerExpand,b=l.expandIcon,C=l.rowExpandable,I=l.expandIconColumnIndex,w=l.direction,n=l.expandRowByClick,i=l.columnWidth,y=l.fixed,K=l.scrollWidth,le=l.clientWidth,xe=e.useMemo(function(){var Pe=L||m(j)||[];return x(Pe.slice())},[L,j]),Le=e.useMemo(function(){if(J){var Pe=xe.slice();if(!Pe.includes(s.w)){var D=I||0;D>=0&&(D||y==="left"||!y)&&Pe.splice(D,0,s.w),y==="right"&&Pe.splice(xe.length,0,s.w)}var A=Pe.indexOf(s.w);Pe=Pe.filter(function(ve,S){return ve!==s.w||S===A});var X=xe[A],M;y?M=y:M=X?X.fixed:null;var se=(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},f.v,{className:"".concat(R,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",ge),"fixed",M),"className","".concat(R,"-row-expand-icon-cell")),"width",i),"render",function(S,c,k){var z=g(c,k),T=B.has(z),W=C?C(c):!0,F=b({prefixCls:R,expanded:T,expandable:W,record:c,onExpand:h});return n?e.createElement("span",{onClick:function(q){return q.stopPropagation()}},F):F});return Pe.map(function(ve){return ve===s.w?se:ve})}return xe.filter(function(ve){return ve!==s.w})},[J,xe,g,B,b,w]),je=e.useMemo(function(){var Pe=Le;return N&&(Pe=N(Pe)),Pe.length||(Pe=[{render:function(){return null}}]),Pe},[N,Le,w]),it=e.useMemo(function(){return w==="rtl"?_(E(je)):E(je)},[je,w,K]),zt=e.useMemo(function(){for(var Pe=-1,D=it.length-1;D>=0;D-=1){var A=it[D].fixed;if(A==="left"||A===!0){Pe=D;break}}if(Pe>=0)for(var X=0;X<=Pe;X+=1){var M=it[X].fixed;if(M!=="left"&&M!==!0)return!0}var se=it.findIndex(function(c){var k=c.fixed;return k==="right"});if(se>=0)for(var ve=se;ve<it.length;ve+=1){var S=it[ve].fixed;if(S!=="right")return!0}return!1},[it]),ye=r(it,K,le),Ye=(0,P.Z)(ye,2),Mt=Ye[0],Ie=Ye[1];return[je,Mt,Ie,zt]}var d=v},16596:function(Bt,Ze,u){"use strict";u.d(Ze,{w2:function(){return P.w},vP:function(){return ut.v},RQ:function(){return P.R},ER:function(){return z},Q$:function(){return fe},TN:function(){return un}});var P=u(67204),O=u(52487),U=u(6089),Q=u(34280),V=u(13697),p=u(59301),H=u(4676);function $(Z){var ie=p.createContext(void 0),ne=function(he){var ue=he.value,pe=he.children,we=p.useRef(ue);we.current=ue;var Re=p.useState(function(){return{getValue:function(){return we.current},listeners:new Set}}),te=(0,O.Z)(Re,1),oe=te[0];return(0,Q.Z)(function(){(0,H.unstable_batchedUpdates)(function(){oe.listeners.forEach(function(_e){_e(ue)})})},[ue]),p.createElement(ie.Provider,{value:oe},pe)};return{Context:ie,Provider:ne,defaultValue:Z}}function e(Z,ie){var ne=(0,U.Z)(typeof ie=="function"?ie:function(_e){if(ie===void 0)return _e;if(!Array.isArray(ie))return _e[ie];var Oe={};return ie.forEach(function(Se){Oe[Se]=_e[Se]}),Oe}),ae=p.useContext(Z==null?void 0:Z.Context),he=ae||{},ue=he.listeners,pe=he.getValue,we=p.useRef();we.current=ne(ae?pe():Z==null?void 0:Z.defaultValue);var Re=p.useState({}),te=(0,O.Z)(Re,2),oe=te[1];return(0,Q.Z)(function(){if(!ae)return;function _e(Oe){var Se=ne(Oe);(0,V.Z)(we.current,Se,!0)||oe({})}return ue.add(_e),function(){ue.delete(_e)}},[ae]),we.current}var s=u(72308),f=u(8654);function t(){var Z=p.createContext(null);function ie(){return p.useContext(Z)}function ne(he,ue){var pe=(0,f.Yr)(he),we=function(te,oe){var _e=pe?{ref:oe}:{},Oe=p.useRef(0),Se=p.useRef(te),et=ie();return et!==null?p.createElement(he,(0,s.Z)({},te,_e)):((!ue||ue(Se.current,te))&&(Oe.current+=1),Se.current=te,p.createElement(Z.Provider,{value:Oe.current},p.createElement(he,(0,s.Z)({},te,_e))))};return pe?p.forwardRef(we):we}function ae(he,ue){var pe=(0,f.Yr)(he),we=function(te,oe){var _e=pe?{ref:oe}:{};return ie(),p.createElement(he,(0,s.Z)({},te,_e))};return pe?p.memo(p.forwardRef(we),ue):p.memo(we,ue)}return{makeImmutable:ne,responseImmutable:ae,useImmutableMark:ie}}var r=t(),a=r.makeImmutable,o=r.responseImmutable,m=r.useImmutableMark,x=t(),E=x.makeImmutable,_=x.responseImmutable,v=x.useImmutableMark,d=$(),l=d;function N(Z,ie){var ne=React.useRef(0);ne.current+=1;var ae=React.useRef(Z),he=[];Object.keys(Z||{}).map(function(pe){var we;(Z==null?void 0:Z[pe])!==((we=ae.current)===null||we===void 0?void 0:we[pe])&&he.push(pe)}),ae.current=Z;var ue=React.useRef([]);return he.length&&(ue.current=he),React.useDebugValue(ne.current),React.useDebugValue(ue.current.join(", ")),ie&&console.log("".concat(ie,":"),ne.current,ue.current),ne.current}var R=null,L=null,j=u(62853),J=u(77321),B=u(49618),ge=u(92310),g=u.n(ge),h=u(80547),b=u(97938),C=u(48736),I=p.createContext({renderWithProps:!1}),w=I,n="RC_TABLE_KEY";function i(Z){return Z==null?[]:Array.isArray(Z)?Z:[Z]}function y(Z){var ie=[],ne={};return Z.forEach(function(ae){for(var he=ae||{},ue=he.key,pe=he.dataIndex,we=ue||i(pe).join("-")||n;ne[we];)we="".concat(we,"_next");ne[we]=!0,ie.push(we)}),ie}function K(Z){return Z!=null}function le(Z){return typeof Z=="number"&&!Number.isNaN(Z)}function xe(Z){return Z&&(0,j.Z)(Z)==="object"&&!Array.isArray(Z)&&!p.isValidElement(Z)}function Le(Z,ie,ne,ae,he,ue){var pe=p.useContext(w),we=v(),Re=(0,h.Z)(function(){if(K(ae))return[ae];var te=ie==null||ie===""?[]:Array.isArray(ie)?ie:[ie],oe=(0,b.Z)(Z,te),_e=oe,Oe=void 0;if(he){var Se=he(oe,Z,ne);xe(Se)?(_e=Se.children,Oe=Se.props,pe.renderWithProps=!0):_e=Se}return[_e,Oe]},[we,Z,ae,ie,he,ne],function(te,oe){if(ue){var _e=(0,O.Z)(te,2),Oe=_e[1],Se=(0,O.Z)(oe,2),et=Se[1];return ue(et,Oe)}return pe.renderWithProps?!0:!(0,V.Z)(te,oe,!0)});return Re}function je(Z,ie,ne,ae){var he=Z+ie-1;return Z<=ae&&he>=ne}function it(Z,ie){return e(l,function(ne){var ae=je(Z,ie||1,ne.hoverStartRow,ne.hoverEndRow);return[ae,ne.onHover]})}var zt=u(70425),ye=function(ie){var ne=ie.ellipsis,ae=ie.rowType,he=ie.children,ue,pe=ne===!0?{showTitle:!0}:ne;return pe&&(pe.showTitle||ae==="header")&&(typeof he=="string"||typeof he=="number"?ue=he.toString():p.isValidElement(he)&&typeof he.props.children=="string"&&(ue=he.props.children)),ue};function Ye(Z){var ie,ne,ae,he,ue,pe,we,Re,te=Z.component,oe=Z.children,_e=Z.ellipsis,Oe=Z.scope,Se=Z.prefixCls,et=Z.className,Rt=Z.align,bt=Z.record,At=Z.render,Ct=Z.dataIndex,Kt=Z.renderIndex,nn=Z.shouldCellUpdate,St=Z.index,rn=Z.rowType,Jt=Z.colSpan,Xt=Z.rowSpan,on=Z.fixLeft,pn=Z.fixRight,An=Z.firstFixLeft,en=Z.lastFixLeft,cn=Z.firstFixRight,Ut=Z.lastFixRight,yt=Z.appendNode,Wt=Z.additionalProps,Ft=Wt===void 0?{}:Wt,bn=Z.isSticky,fn="".concat(Se,"-cell"),wn=e(l,["supportSticky","allColumnsFixedLeft","rowHoverable"]),zn=wn.supportSticky,Xn=wn.allColumnsFixedLeft,$n=wn.rowHoverable,tr=Le(bt,Ct,Kt,oe,At,nn),rr=(0,O.Z)(tr,2),Gn=rr[0],an=rr[1],Tn={},Bn=typeof on=="number"&&zn,Dt=typeof pn=="number"&&zn;Bn&&(Tn.position="sticky",Tn.left=on),Dt&&(Tn.position="sticky",Tn.right=pn);var _t=(ie=(ne=(ae=an==null?void 0:an.colSpan)!==null&&ae!==void 0?ae:Ft.colSpan)!==null&&ne!==void 0?ne:Jt)!==null&&ie!==void 0?ie:1,dt=(he=(ue=(pe=an==null?void 0:an.rowSpan)!==null&&pe!==void 0?pe:Ft.rowSpan)!==null&&ue!==void 0?ue:Xt)!==null&&he!==void 0?he:1,kt=it(St,dt),xn=(0,O.Z)(kt,2),Ln=xn[0],ar=xn[1],Jn=(0,zt.zX)(function(lr){var jn;bt&&ar(St,St+dt-1),Ft==null||(jn=Ft.onMouseEnter)===null||jn===void 0||jn.call(Ft,lr)}),ir=(0,zt.zX)(function(lr){var jn;bt&&ar(-1,-1),Ft==null||(jn=Ft.onMouseLeave)===null||jn===void 0||jn.call(Ft,lr)});if(_t===0||dt===0)return null;var pt=(we=Ft.title)!==null&&we!==void 0?we:ye({rowType:rn,ellipsis:_e,children:Gn}),$t=g()(fn,et,(Re={},(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)(Re,"".concat(fn,"-fix-left"),Bn&&zn),"".concat(fn,"-fix-left-first"),An&&zn),"".concat(fn,"-fix-left-last"),en&&zn),"".concat(fn,"-fix-left-all"),en&&Xn&&zn),"".concat(fn,"-fix-right"),Dt&&zn),"".concat(fn,"-fix-right-first"),cn&&zn),"".concat(fn,"-fix-right-last"),Ut&&zn),"".concat(fn,"-ellipsis"),_e),"".concat(fn,"-with-append"),yt),"".concat(fn,"-fix-sticky"),(Bn||Dt)&&bn&&zn),(0,B.Z)(Re,"".concat(fn,"-row-hover"),!an&&Ln)),Ft.className,an==null?void 0:an.className),Rn={};Rt&&(Rn.textAlign=Rt);var vn=(0,J.Z)((0,J.Z)((0,J.Z)((0,J.Z)({},an==null?void 0:an.style),Tn),Rn),Ft.style),Zn=Gn;return(0,j.Z)(Zn)==="object"&&!Array.isArray(Zn)&&!p.isValidElement(Zn)&&(Zn=null),_e&&(en||cn)&&(Zn=p.createElement("span",{className:"".concat(fn,"-content")},Zn)),p.createElement(te,(0,s.Z)({},an,Ft,{className:$t,style:vn,title:pt,scope:Oe,onMouseEnter:$n?Jn:void 0,onMouseLeave:$n?ir:void 0,colSpan:_t!==1?_t:null,rowSpan:dt!==1?dt:null}),yt,Zn)}var Mt=p.memo(Ye);function Ie(Z,ie,ne,ae,he){var ue=ne[Z]||{},pe=ne[ie]||{},we,Re;ue.fixed==="left"?we=ae.left[he==="rtl"?ie:Z]:pe.fixed==="right"&&(Re=ae.right[he==="rtl"?Z:ie]);var te=!1,oe=!1,_e=!1,Oe=!1,Se=ne[ie+1],et=ne[Z-1],Rt=Se&&!Se.fixed||et&&!et.fixed||ne.every(function(nn){return nn.fixed==="left"});if(he==="rtl"){if(we!==void 0){var bt=et&&et.fixed==="left";Oe=!bt&&Rt}else if(Re!==void 0){var At=Se&&Se.fixed==="right";_e=!At&&Rt}}else if(we!==void 0){var Ct=Se&&Se.fixed==="left";te=!Ct&&Rt}else if(Re!==void 0){var Kt=et&&et.fixed==="right";oe=!Kt&&Rt}return{fixLeft:we,fixRight:Re,lastFixLeft:te,firstFixRight:oe,lastFixRight:_e,firstFixLeft:Oe,isSticky:ae.isSticky}}var Pe=p.createContext({}),D=Pe;function A(Z){var ie=Z.className,ne=Z.index,ae=Z.children,he=Z.colSpan,ue=he===void 0?1:he,pe=Z.rowSpan,we=Z.align,Re=e(l,["prefixCls","direction"]),te=Re.prefixCls,oe=Re.direction,_e=p.useContext(D),Oe=_e.scrollColumnIndex,Se=_e.stickyOffsets,et=_e.flattenColumns,Rt=ne+ue-1,bt=Rt+1===Oe?ue+1:ue,At=Ie(ne,ne+bt-1,et,Se,oe);return p.createElement(Mt,(0,s.Z)({className:ie,index:ne,component:"td",prefixCls:te,record:null,dataIndex:null,align:we,colSpan:bt,rowSpan:pe,render:function(){return ae}},At))}var X=u(74416),M=["children"];function se(Z){var ie=Z.children,ne=(0,X.Z)(Z,M);return p.createElement("tr",ne,ie)}function ve(Z){var ie=Z.children;return ie}ve.Row=se,ve.Cell=A;var S=ve;function c(Z){var ie=Z.children,ne=Z.stickyOffsets,ae=Z.flattenColumns,he=e(l,"prefixCls"),ue=ae.length-1,pe=ae[ue],we=p.useMemo(function(){return{stickyOffsets:ne,flattenColumns:ae,scrollColumnIndex:pe!=null&&pe.scrollbar?ue:null}},[pe,ae,ue,ne]);return p.createElement(D.Provider,{value:we},p.createElement("tfoot",{className:"".concat(he,"-summary")},ie))}var k=_(c),z=S,T=u(29301),W=u(29194),F=u(24514),ee=u(75152),q=u(26112);function ce(Z,ie,ne,ae,he,ue,pe){Z.push({record:ie,indent:ne,index:pe});var we=ue(ie),Re=he==null?void 0:he.has(we);if(ie&&Array.isArray(ie[ae])&&Re)for(var te=0;te<ie[ae].length;te+=1)ce(Z,ie[ae][te],ne+1,ae,he,ue,te)}function me(Z,ie,ne,ae){var he=p.useMemo(function(){if(ne!=null&&ne.size){for(var ue=[],pe=0;pe<(Z==null?void 0:Z.length);pe+=1){var we=Z[pe];ce(ue,we,0,ie,ne,ae,pe)}return ue}return Z==null?void 0:Z.map(function(Re,te){return{record:Re,indent:0,index:te}})},[Z,ie,ne,ae]);return he}function ze(Z,ie,ne,ae){var he=e(l,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),ue=he.flattenColumns,pe=he.expandableType,we=he.expandedKeys,Re=he.childrenColumnName,te=he.onTriggerExpand,oe=he.rowExpandable,_e=he.onRow,Oe=he.expandRowByClick,Se=he.rowClassName,et=pe==="nest",Rt=pe==="row"&&(!oe||oe(Z)),bt=Rt||et,At=we&&we.has(ie),Ct=Re&&Z&&Z[Re],Kt=(0,zt.zX)(te),nn=_e==null?void 0:_e(Z,ne),St=nn==null?void 0:nn.onClick,rn=function(pn){Oe&&bt&&te(Z,pn);for(var An=arguments.length,en=new Array(An>1?An-1:0),cn=1;cn<An;cn++)en[cn-1]=arguments[cn];St==null||St.apply(void 0,[pn].concat(en))},Jt;typeof Se=="string"?Jt=Se:typeof Se=="function"&&(Jt=Se(Z,ne,ae));var Xt=y(ue);return(0,J.Z)((0,J.Z)({},he),{},{columnsKey:Xt,nestExpandable:et,expanded:At,hasNestChildren:Ct,record:Z,onTriggerExpand:Kt,rowSupportExpand:Rt,expandable:bt,rowProps:(0,J.Z)((0,J.Z)({},nn),{},{className:g()(Jt,nn==null?void 0:nn.className),onClick:rn})})}function Fe(Z){var ie=Z.prefixCls,ne=Z.children,ae=Z.component,he=Z.cellComponent,ue=Z.className,pe=Z.expanded,we=Z.colSpan,Re=Z.isEmpty,te=e(l,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),oe=te.scrollbarSize,_e=te.fixHeader,Oe=te.fixColumn,Se=te.componentWidth,et=te.horizonScroll,Rt=ne;return(Re?et&&Se:Oe)&&(Rt=p.createElement("div",{style:{width:Se-(_e&&!Re?oe:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ie,"-expanded-row-fixed")},Rt)),p.createElement(ae,{className:ue,style:{display:pe?null:"none"}},p.createElement(Mt,{component:he,prefixCls:ie,colSpan:we},Rt))}var Ae=Fe;function Ke(Z){var ie=Z.prefixCls,ne=Z.record,ae=Z.onExpand,he=Z.expanded,ue=Z.expandable,pe="".concat(ie,"-row-expand-icon");if(!ue)return p.createElement("span",{className:g()(pe,"".concat(ie,"-row-spaced"))});var we=function(te){ae(ne,te),te.stopPropagation()};return p.createElement("span",{className:g()(pe,(0,B.Z)((0,B.Z)({},"".concat(ie,"-row-expanded"),he),"".concat(ie,"-row-collapsed"),!he)),onClick:we})}function rt(Z,ie,ne){var ae=[];function he(ue){(ue||[]).forEach(function(pe,we){ae.push(ie(pe,we)),he(pe[ne])})}return he(Z),ae}function Ve(Z,ie,ne,ae){return typeof Z=="string"?Z:typeof Z=="function"?Z(ie,ne,ae):""}function Be(Z,ie,ne,ae,he){var ue=Z.record,pe=Z.prefixCls,we=Z.columnsKey,Re=Z.fixedInfoList,te=Z.expandIconColumnIndex,oe=Z.nestExpandable,_e=Z.indentSize,Oe=Z.expandIcon,Se=Z.expanded,et=Z.hasNestChildren,Rt=Z.onTriggerExpand,bt=we[ne],At=Re[ne],Ct;ne===(te||0)&&oe&&(Ct=p.createElement(p.Fragment,null,p.createElement("span",{style:{paddingLeft:"".concat(_e*ae,"px")},className:"".concat(pe,"-row-indent indent-level-").concat(ae)}),Oe({prefixCls:pe,expanded:Se,expandable:et,record:ue,onExpand:Rt})));var Kt;return ie.onCell&&(Kt=ie.onCell(ue,he)),{key:bt,fixedInfo:At,appendCellNode:Ct,additionalCellProps:Kt||{}}}function Zt(Z){var ie=Z.className,ne=Z.style,ae=Z.record,he=Z.index,ue=Z.renderIndex,pe=Z.rowKey,we=Z.indent,Re=we===void 0?0:we,te=Z.rowComponent,oe=Z.cellComponent,_e=Z.scopeCellComponent,Oe=ze(ae,pe,he,Re),Se=Oe.prefixCls,et=Oe.flattenColumns,Rt=Oe.expandedRowClassName,bt=Oe.expandedRowRender,At=Oe.rowProps,Ct=Oe.expanded,Kt=Oe.rowSupportExpand,nn=p.useRef(!1);nn.current||(nn.current=Ct);var St=Ve(Rt,ae,he,Re),rn=p.createElement(te,(0,s.Z)({},At,{"data-row-key":pe,className:g()(ie,"".concat(Se,"-row"),"".concat(Se,"-row-level-").concat(Re),At==null?void 0:At.className,(0,B.Z)({},St,Re>=1)),style:(0,J.Z)((0,J.Z)({},ne),At==null?void 0:At.style)}),et.map(function(on,pn){var An=on.render,en=on.dataIndex,cn=on.className,Ut=Be(Oe,on,pn,Re,he),yt=Ut.key,Wt=Ut.fixedInfo,Ft=Ut.appendCellNode,bn=Ut.additionalCellProps;return p.createElement(Mt,(0,s.Z)({className:cn,ellipsis:on.ellipsis,align:on.align,scope:on.rowScope,component:on.rowScope?_e:oe,prefixCls:Se,key:yt,record:ae,index:he,renderIndex:ue,dataIndex:en,render:An,shouldCellUpdate:on.shouldCellUpdate},Wt,{appendNode:Ft,additionalProps:bn}))})),Jt;if(Kt&&(nn.current||Ct)){var Xt=bt(ae,he,Re+1,Ct);Jt=p.createElement(Ae,{expanded:Ct,className:g()("".concat(Se,"-expanded-row"),"".concat(Se,"-expanded-row-level-").concat(Re+1),St),prefixCls:Se,component:te,cellComponent:oe,colSpan:et.length,isEmpty:!1},Xt)}return p.createElement(p.Fragment,null,rn,Jt)}var Tt=_(Zt);function tt(Z){var ie=Z.columnKey,ne=Z.onColumnResize,ae=p.useRef();return p.useEffect(function(){ae.current&&ne(ie,ae.current.offsetWidth)},[]),p.createElement(T.Z,{data:ie},p.createElement("td",{ref:ae,style:{padding:0,border:0,height:0}},p.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Vt(Z){var ie=Z.prefixCls,ne=Z.columnsKey,ae=Z.onColumnResize;return p.createElement("tr",{"aria-hidden":"true",className:"".concat(ie,"-measure-row"),style:{height:0,fontSize:0}},p.createElement(T.Z.Collection,{onBatchResize:function(ue){ue.forEach(function(pe){var we=pe.data,Re=pe.size;ae(we,Re.offsetWidth)})}},ne.map(function(he){return p.createElement(tt,{key:he,columnKey:he,onColumnResize:ae})})))}function dn(Z){var ie=Z.data,ne=Z.measureColumnWidth,ae=e(l,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),he=ae.prefixCls,ue=ae.getComponent,pe=ae.onColumnResize,we=ae.flattenColumns,Re=ae.getRowKey,te=ae.expandedKeys,oe=ae.childrenColumnName,_e=ae.emptyNode,Oe=me(ie,oe,te,Re),Se=p.useRef({renderWithProps:!1}),et=ue(["body","wrapper"],"tbody"),Rt=ue(["body","row"],"tr"),bt=ue(["body","cell"],"td"),At=ue(["body","cell"],"th"),Ct;ie.length?Ct=Oe.map(function(nn,St){var rn=nn.record,Jt=nn.indent,Xt=nn.index,on=Re(rn,St);return p.createElement(Tt,{key:on,rowKey:on,record:rn,index:St,renderIndex:Xt,rowComponent:Rt,cellComponent:bt,scopeCellComponent:At,indent:Jt})}):Ct=p.createElement(Ae,{expanded:!0,className:"".concat(he,"-placeholder"),prefixCls:he,component:Rt,cellComponent:bt,colSpan:we.length,isEmpty:!0},_e);var Kt=y(we);return p.createElement(w.Provider,{value:Se.current},p.createElement(et,{className:"".concat(he,"-tbody")},ne&&p.createElement(Vt,{prefixCls:he,columnsKey:Kt,onColumnResize:pe}),Ct))}var Pt=_(dn),ut=u(90494),Lt=["columnType"];function ln(Z){for(var ie=Z.colWidths,ne=Z.columns,ae=Z.columCount,he=e(l,["tableLayout"]),ue=he.tableLayout,pe=[],we=ae||ne.length,Re=!1,te=we-1;te>=0;te-=1){var oe=ie[te],_e=ne&&ne[te],Oe=void 0,Se=void 0;if(_e&&(Oe=_e[ut.v],ue==="auto"&&(Se=_e.minWidth)),oe||Se||Oe||Re){var et=Oe||{},Rt=et.columnType,bt=(0,X.Z)(et,Lt);pe.unshift(p.createElement("col",(0,s.Z)({key:te,style:{width:oe,minWidth:Se}},bt))),Re=!0}}return p.createElement("colgroup",null,pe)}var tn=ln,Qt=u(80702),_n=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function wt(Z,ie){return(0,p.useMemo)(function(){for(var ne=[],ae=0;ae<ie;ae+=1){var he=Z[ae];if(he!==void 0)ne[ae]=he;else return null}return ne},[Z.join("_"),ie])}var ft=p.forwardRef(function(Z,ie){var ne=Z.className,ae=Z.noData,he=Z.columns,ue=Z.flattenColumns,pe=Z.colWidths,we=Z.columCount,Re=Z.stickyOffsets,te=Z.direction,oe=Z.fixHeader,_e=Z.stickyTopOffset,Oe=Z.stickyBottomOffset,Se=Z.stickyClassName,et=Z.onScroll,Rt=Z.maxContentScroll,bt=Z.children,At=(0,X.Z)(Z,_n),Ct=e(l,["prefixCls","scrollbarSize","isSticky","getComponent"]),Kt=Ct.prefixCls,nn=Ct.scrollbarSize,St=Ct.isSticky,rn=Ct.getComponent,Jt=rn(["header","table"],"table"),Xt=St&&!oe?0:nn,on=p.useRef(null),pn=p.useCallback(function(bn){(0,f.mH)(ie,bn),(0,f.mH)(on,bn)},[]);p.useEffect(function(){var bn;function fn(wn){var zn=wn,Xn=zn.currentTarget,$n=zn.deltaX;$n&&(et({currentTarget:Xn,scrollLeft:Xn.scrollLeft+$n}),wn.preventDefault())}return(bn=on.current)===null||bn===void 0||bn.addEventListener("wheel",fn,{passive:!1}),function(){var wn;(wn=on.current)===null||wn===void 0||wn.removeEventListener("wheel",fn)}},[]);var An=p.useMemo(function(){return ue.every(function(bn){return bn.width})},[ue]),en=ue[ue.length-1],cn={fixed:en?en.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Kt,"-cell-scrollbar")}}},Ut=(0,p.useMemo)(function(){return Xt?[].concat((0,Qt.Z)(he),[cn]):he},[Xt,he]),yt=(0,p.useMemo)(function(){return Xt?[].concat((0,Qt.Z)(ue),[cn]):ue},[Xt,ue]),Wt=(0,p.useMemo)(function(){var bn=Re.right,fn=Re.left;return(0,J.Z)((0,J.Z)({},Re),{},{left:te==="rtl"?[].concat((0,Qt.Z)(fn.map(function(wn){return wn+Xt})),[0]):fn,right:te==="rtl"?bn:[].concat((0,Qt.Z)(bn.map(function(wn){return wn+Xt})),[0]),isSticky:St})},[Xt,Re,St]),Ft=wt(pe,we);return p.createElement("div",{style:(0,J.Z)({overflow:"hidden"},St?{top:_e,bottom:Oe}:{}),ref:pn,className:g()(ne,(0,B.Z)({},Se,!!Se))},p.createElement(Jt,{style:{tableLayout:"fixed",visibility:ae||Ft?null:"hidden"}},(!ae||!Rt||An)&&p.createElement(tn,{colWidths:Ft?[].concat((0,Qt.Z)(Ft),[Xt]):[],columCount:we+1,columns:yt}),bt((0,J.Z)((0,J.Z)({},At),{},{stickyOffsets:Wt,columns:Ut,flattenColumns:yt}))))}),vt=p.memo(ft),Gt=function(ie){var ne=ie.cells,ae=ie.stickyOffsets,he=ie.flattenColumns,ue=ie.rowComponent,pe=ie.cellComponent,we=ie.onHeaderRow,Re=ie.index,te=e(l,["prefixCls","direction"]),oe=te.prefixCls,_e=te.direction,Oe;we&&(Oe=we(ne.map(function(et){return et.column}),Re));var Se=y(ne.map(function(et){return et.column}));return p.createElement(ue,Oe,ne.map(function(et,Rt){var bt=et.column,At=Ie(et.colStart,et.colEnd,he,ae,_e),Ct;return bt&&bt.onHeaderCell&&(Ct=et.column.onHeaderCell(bt)),p.createElement(Mt,(0,s.Z)({},et,{scope:bt.title?et.colSpan>1?"colgroup":"col":null,ellipsis:bt.ellipsis,align:bt.align,component:pe,prefixCls:oe,key:Se[Rt]},At,{additionalProps:Ct,rowType:"header"}))}))},Cn=Gt;function jt(Z){var ie=[];function ne(pe,we){var Re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ie[Re]=ie[Re]||[];var te=we,oe=pe.filter(Boolean).map(function(_e){var Oe={key:_e.key,className:_e.className||"",children:_e.title,column:_e,colStart:te},Se=1,et=_e.children;return et&&et.length>0&&(Se=ne(et,te,Re+1).reduce(function(Rt,bt){return Rt+bt},0),Oe.hasSubColumns=!0),"colSpan"in _e&&(Se=_e.colSpan),"rowSpan"in _e&&(Oe.rowSpan=_e.rowSpan),Oe.colSpan=Se,Oe.colEnd=Oe.colStart+Se-1,ie[Re].push(Oe),te+=Se,Se});return oe}ne(Z,0);for(var ae=ie.length,he=function(we){ie[we].forEach(function(Re){!("rowSpan"in Re)&&!Re.hasSubColumns&&(Re.rowSpan=ae-we)})},ue=0;ue<ae;ue+=1)he(ue);return ie}var kn=function(ie){var ne=ie.stickyOffsets,ae=ie.columns,he=ie.flattenColumns,ue=ie.onHeaderRow,pe=e(l,["prefixCls","getComponent"]),we=pe.prefixCls,Re=pe.getComponent,te=p.useMemo(function(){return jt(ae)},[ae]),oe=Re(["header","wrapper"],"thead"),_e=Re(["header","row"],"tr"),Oe=Re(["header","cell"],"th");return p.createElement(oe,{className:"".concat(we,"-thead")},te.map(function(Se,et){var Rt=p.createElement(Cn,{key:et,flattenColumns:he,cells:Se,stickyOffsets:ne,rowComponent:_e,cellComponent:Oe,onHeaderRow:ue,index:et});return Rt}))},Wn=_(kn),sn=u(78612);function gn(Z,ie,ne){var ae=(0,ut.g)(Z),he=ae.expandIcon,ue=ae.expandedRowKeys,pe=ae.defaultExpandedRowKeys,we=ae.defaultExpandAllRows,Re=ae.expandedRowRender,te=ae.onExpand,oe=ae.onExpandedRowsChange,_e=ae.childrenColumnName,Oe=he||Ke,Se=_e||"children",et=p.useMemo(function(){return Re?"row":Z.expandable&&Z.internalHooks===P.R&&Z.expandable.__PARENT_RENDER_ICON__||ie.some(function(St){return St&&(0,j.Z)(St)==="object"&&St[Se]})?"nest":!1},[!!Re,ie]),Rt=p.useState(function(){return pe||(we?rt(ie,ne,Se):[])}),bt=(0,O.Z)(Rt,2),At=bt[0],Ct=bt[1],Kt=p.useMemo(function(){return new Set(ue||At||[])},[ue,At]),nn=p.useCallback(function(St){var rn=ne(St,ie.indexOf(St)),Jt,Xt=Kt.has(rn);Xt?(Kt.delete(rn),Jt=(0,Qt.Z)(Kt)):Jt=[].concat((0,Qt.Z)(Kt),[rn]),Ct(Jt),te&&te(!Xt,St),oe&&oe(Jt)},[ne,Kt,ie,te,oe]);return[ae,et,Kt,Oe,Se,nn]}function Pn(Z,ie,ne){var ae=Z.map(function(he,ue){return Ie(ue,ue,Z,ie,ne)});return(0,h.Z)(function(){return ae},[ae],function(he,ue){return!(0,V.Z)(he,ue)})}function En(Z){var ie=(0,p.useRef)(Z),ne=(0,p.useState)({}),ae=(0,O.Z)(ne,2),he=ae[1],ue=(0,p.useRef)(null),pe=(0,p.useRef)([]);function we(Re){pe.current.push(Re);var te=Promise.resolve();ue.current=te,te.then(function(){if(ue.current===te){var oe=pe.current,_e=ie.current;pe.current=[],oe.forEach(function(Oe){ie.current=Oe(ie.current)}),ue.current=null,_e!==ie.current&&he({})}})}return(0,p.useEffect)(function(){return function(){ue.current=null}},[]),[ie.current,we]}function On(Z){var ie=(0,p.useRef)(Z||null),ne=(0,p.useRef)();function ae(){window.clearTimeout(ne.current)}function he(pe){ie.current=pe,ae(),ne.current=window.setTimeout(function(){ie.current=null,ne.current=void 0},100)}function ue(){return ie.current}return(0,p.useEffect)(function(){return ae},[]),[he,ue]}function mn(){var Z=p.useState(-1),ie=(0,O.Z)(Z,2),ne=ie[0],ae=ie[1],he=p.useState(-1),ue=(0,O.Z)(he,2),pe=ue[0],we=ue[1],Re=p.useCallback(function(te,oe){ae(te),we(oe)},[]);return[ne,pe,Re]}var Nn=u(47273),Dn=(0,Nn.Z)()?window:null;function In(Z,ie){var ne=(0,j.Z)(Z)==="object"?Z:{},ae=ne.offsetHeader,he=ae===void 0?0:ae,ue=ne.offsetSummary,pe=ue===void 0?0:ue,we=ne.offsetScroll,Re=we===void 0?0:we,te=ne.getContainer,oe=te===void 0?function(){return Dn}:te,_e=oe()||Dn,Oe=!!Z;return p.useMemo(function(){return{isSticky:Oe,stickyClassName:Oe?"".concat(ie,"-sticky-holder"):"",offsetHeader:he,offsetSummary:pe,offsetScroll:Re,container:_e}},[Oe,Re,he,pe,ie,_e])}function re(Z,ie,ne){var ae=(0,p.useMemo)(function(){var he=ie.length,ue=function(te,oe,_e){for(var Oe=[],Se=0,et=te;et!==oe;et+=_e)Oe.push(Se),ie[et].fixed&&(Se+=Z[et]||0);return Oe},pe=ue(0,he,1),we=ue(he-1,-1,-1).reverse();return ne==="rtl"?{left:we,right:pe}:{left:pe,right:we}},[Z,ie,ne]);return ae}var G=re;function Ge(Z){var ie=Z.className,ne=Z.children;return p.createElement("div",{className:ie},ne)}var De=Ge,Xe=u(8224),Je=u(16089),ot=u(76846);function nt(Z){var ie=(0,ot.bn)(Z),ne=ie.getBoundingClientRect(),ae=document.documentElement;return{left:ne.left+(window.pageXOffset||ae.scrollLeft)-(ae.clientLeft||document.body.clientLeft||0),top:ne.top+(window.pageYOffset||ae.scrollTop)-(ae.clientTop||document.body.clientTop||0)}}var Me=function(ie,ne){var ae,he,ue=ie.scrollBodyRef,pe=ie.onScroll,we=ie.offsetScroll,Re=ie.container,te=ie.direction,oe=e(l,"prefixCls"),_e=((ae=ue.current)===null||ae===void 0?void 0:ae.scrollWidth)||0,Oe=((he=ue.current)===null||he===void 0?void 0:he.clientWidth)||0,Se=_e&&Oe*(Oe/_e),et=p.useRef(),Rt=En({scrollLeft:0,isHiddenScrollBar:!0}),bt=(0,O.Z)(Rt,2),At=bt[0],Ct=bt[1],Kt=p.useRef({delta:0,x:0}),nn=p.useState(!1),St=(0,O.Z)(nn,2),rn=St[0],Jt=St[1],Xt=p.useRef(null);p.useEffect(function(){return function(){Je.Z.cancel(Xt.current)}},[]);var on=function(){Jt(!1)},pn=function(yt){yt.persist(),Kt.current.delta=yt.pageX-At.scrollLeft,Kt.current.x=0,Jt(!0),yt.preventDefault()},An=function(yt){var Wt,Ft=yt||((Wt=window)===null||Wt===void 0?void 0:Wt.event),bn=Ft.buttons;if(!rn||bn===0){rn&&Jt(!1);return}var fn=Kt.current.x+yt.pageX-Kt.current.x-Kt.current.delta,wn=te==="rtl";fn=Math.max(wn?Se-Oe:0,Math.min(wn?0:Oe-Se,fn));var zn=!wn||Math.abs(fn)+Math.abs(Se)<Oe;zn&&(pe({scrollLeft:fn/Oe*(_e+2)}),Kt.current.x=yt.pageX)},en=function(){Je.Z.cancel(Xt.current),Xt.current=(0,Je.Z)(function(){if(ue.current){var yt=nt(ue.current).top,Wt=yt+ue.current.offsetHeight,Ft=Re===window?document.documentElement.scrollTop+window.innerHeight:nt(Re).top+Re.clientHeight;Wt-(0,ee.Z)()<=Ft||yt>=Ft-we?Ct(function(bn){return(0,J.Z)((0,J.Z)({},bn),{},{isHiddenScrollBar:!0})}):Ct(function(bn){return(0,J.Z)((0,J.Z)({},bn),{},{isHiddenScrollBar:!1})})}})},cn=function(yt){Ct(function(Wt){return(0,J.Z)((0,J.Z)({},Wt),{},{scrollLeft:yt/_e*Oe||0})})};return p.useImperativeHandle(ne,function(){return{setScrollLeft:cn,checkScrollBarVisible:en}}),p.useEffect(function(){var Ut=(0,Xe.Z)(document.body,"mouseup",on,!1),yt=(0,Xe.Z)(document.body,"mousemove",An,!1);return en(),function(){Ut.remove(),yt.remove()}},[Se,rn]),p.useEffect(function(){if(ue.current){for(var Ut=[],yt=(0,ot.bn)(ue.current);yt;)Ut.push(yt),yt=yt.parentElement;return Ut.forEach(function(Wt){return Wt.addEventListener("scroll",en,!1)}),window.addEventListener("resize",en,!1),window.addEventListener("scroll",en,!1),Re.addEventListener("scroll",en,!1),function(){Ut.forEach(function(Wt){return Wt.removeEventListener("scroll",en)}),window.removeEventListener("resize",en),window.removeEventListener("scroll",en),Re.removeEventListener("scroll",en)}}},[Re]),p.useEffect(function(){At.isHiddenScrollBar||Ct(function(Ut){var yt=ue.current;return yt?(0,J.Z)((0,J.Z)({},Ut),{},{scrollLeft:yt.scrollLeft/yt.scrollWidth*yt.clientWidth}):Ut})},[At.isHiddenScrollBar]),_e<=Oe||!Se||At.isHiddenScrollBar?null:p.createElement("div",{style:{height:(0,ee.Z)(),width:Oe,bottom:we},className:"".concat(oe,"-sticky-scroll")},p.createElement("div",{onMouseDown:pn,ref:et,className:g()("".concat(oe,"-sticky-scroll-bar"),(0,B.Z)({},"".concat(oe,"-sticky-scroll-bar-active"),rn)),style:{width:"".concat(Se,"px"),transform:"translate3d(".concat(At.scrollLeft,"px, 0, 0)")}}))},Ee=p.forwardRef(Me);function Ne(Z){return null}var $e=Ne;function ct(Z){return null}var st=ct,Ht="rc-table",qe=[],He={};function Y(){return"No Data"}function de(Z,ie){var ne=(0,J.Z)({rowKey:"key",prefixCls:Ht,emptyText:Y},Z),ae=ne.prefixCls,he=ne.className,ue=ne.rowClassName,pe=ne.style,we=ne.data,Re=ne.rowKey,te=ne.scroll,oe=ne.tableLayout,_e=ne.direction,Oe=ne.title,Se=ne.footer,et=ne.summary,Rt=ne.caption,bt=ne.id,At=ne.showHeader,Ct=ne.components,Kt=ne.emptyText,nn=ne.onRow,St=ne.onHeaderRow,rn=ne.onScroll,Jt=ne.internalHooks,Xt=ne.transformColumns,on=ne.internalRefs,pn=ne.tailor,An=ne.getContainerWidth,en=ne.sticky,cn=ne.rowHoverable,Ut=cn===void 0?!0:cn,yt=we||qe,Wt=!!yt.length,Ft=Jt===P.R,bn=p.useCallback(function(Kn,Fn){return(0,b.Z)(Ct,Kn)||Fn},[Ct]),fn=p.useMemo(function(){return typeof Re=="function"?Re:function(Kn){var Fn=Kn&&Kn[Re];return Fn}},[Re]),wn=bn(["body"]),zn=mn(),Xn=(0,O.Z)(zn,3),$n=Xn[0],tr=Xn[1],rr=Xn[2],Gn=gn(ne,yt,fn),an=(0,O.Z)(Gn,6),Tn=an[0],Bn=an[1],Dt=an[2],_t=an[3],dt=an[4],kt=an[5],xn=te==null?void 0:te.x,Ln=p.useState(0),ar=(0,O.Z)(Ln,2),Jn=ar[0],ir=ar[1],pt=(0,sn.Z)((0,J.Z)((0,J.Z)((0,J.Z)({},ne),Tn),{},{expandable:!!Tn.expandedRowRender,columnTitle:Tn.columnTitle,expandedKeys:Dt,getRowKey:fn,onTriggerExpand:kt,expandIcon:_t,expandIconColumnIndex:Tn.expandIconColumnIndex,direction:_e,scrollWidth:Ft&&pn&&typeof xn=="number"?xn:null,clientWidth:Jn}),Ft?Xt:null),$t=(0,O.Z)(pt,4),Rn=$t[0],vn=$t[1],Zn=$t[2],lr=$t[3],jn=Zn!=null?Zn:xn,ur=p.useMemo(function(){return{columns:Rn,flattenColumns:vn}},[Rn,vn]),hr=p.useRef(),Pr=p.useRef(),Hn=p.useRef(),Lr=p.useRef();p.useImperativeHandle(ie,function(){return{nativeElement:hr.current,scrollTo:function(Fn){var fr;if(Hn.current instanceof HTMLElement){var gr=Fn.index,dr=Fn.top,Ur=Fn.key;if(le(dr)){var Mr;(Mr=Hn.current)===null||Mr===void 0||Mr.scrollTo({top:dr})}else{var Zr,Qr=Ur!=null?Ur:fn(yt[gr]);(Zr=Hn.current.querySelector('[data-row-key="'.concat(Qr,'"]')))===null||Zr===void 0||Zr.scrollIntoView()}}else(fr=Hn.current)!==null&&fr!==void 0&&fr.scrollTo&&Hn.current.scrollTo(Fn)}}});var Kr=p.useRef(),Vr=p.useState(!1),Nr=(0,O.Z)(Vr,2),Cr=Nr[0],xr=Nr[1],Or=p.useState(!1),mr=(0,O.Z)(Or,2),kr=mr[0],Er=mr[1],Fr=En(new Map),Dr=(0,O.Z)(Fr,2),Hr=Dr[0],Br=Dr[1],$r=y(vn),Tr=$r.map(function(Kn){return Hr.get(Kn)}),Sr=p.useMemo(function(){return Tr},[Tr.join("_")]),Mn=G(Sr,vn,_e),hn=te&&K(te.y),Un=te&&K(jn)||!!Tn.fixed,Qn=Un&&vn.some(function(Kn){var Fn=Kn.fixed;return Fn}),qn=p.useRef(),er=In(en,ae),sr=er.isSticky,pr=er.offsetHeader,vr=er.offsetSummary,wr=er.offsetScroll,yr=er.stickyClassName,Rr=er.container,or=p.useMemo(function(){return et==null?void 0:et(yt)},[et,yt]),Ir=(hn||sr)&&p.isValidElement(or)&&or.type===S&&or.props.fixed,Gr,zr,Yr;hn&&(zr={overflowY:Wt?"scroll":"auto",maxHeight:te.y}),Un&&(Gr={overflowX:"auto"},hn||(zr={overflowY:"hidden"}),Yr={width:jn===!0?"auto":jn,minWidth:"100%"});var qr=p.useCallback(function(Kn,Fn){(0,W.Z)(hr.current)&&Br(function(fr){if(fr.get(Kn)!==Fn){var gr=new Map(fr);return gr.set(Kn,Fn),gr}return fr})},[]),nr=On(null),Vn=(0,O.Z)(nr,2),Yn=Vn[0],_r=Vn[1];function cr(Kn,Fn){Fn&&(typeof Fn=="function"?Fn(Kn):Fn.scrollLeft!==Kn&&(Fn.scrollLeft=Kn,Fn.scrollLeft!==Kn&&setTimeout(function(){Fn.scrollLeft=Kn},0)))}var br=(0,U.Z)(function(Kn){var Fn=Kn.currentTarget,fr=Kn.scrollLeft,gr=_e==="rtl",dr=typeof fr=="number"?fr:Fn.scrollLeft,Ur=Fn||He;if(!_r()||_r()===Ur){var Mr;Yn(Ur),cr(dr,Pr.current),cr(dr,Hn.current),cr(dr,Kr.current),cr(dr,(Mr=qn.current)===null||Mr===void 0?void 0:Mr.setScrollLeft)}var Zr=Fn||Pr.current;if(Zr){var Qr=Ft&&pn&&typeof jn=="number"?jn:Zr.scrollWidth,oi=Zr.clientWidth;if(Qr===oi){xr(!1),Er(!1);return}gr?(xr(-dr<Qr-oi),Er(-dr>0)):(xr(dr>0),Er(dr<Qr-oi))}}),Xr=(0,U.Z)(function(Kn){br(Kn),rn==null||rn(Kn)}),ei=function(){if(Un&&Hn.current){var Fn;br({currentTarget:(0,ot.bn)(Hn.current),scrollLeft:(Fn=Hn.current)===null||Fn===void 0?void 0:Fn.scrollLeft})}else xr(!1),Er(!1)},ti=function(Fn){var fr,gr=Fn.width;(fr=qn.current)===null||fr===void 0||fr.checkScrollBarVisible();var dr=hr.current?hr.current.offsetWidth:gr;Ft&&An&&hr.current&&(dr=An(hr.current,dr)||dr),dr!==Jn&&(ei(),ir(dr))},Jr=p.useRef(!1);p.useEffect(function(){Jr.current&&ei()},[Un,we,Rn.length]),p.useEffect(function(){Jr.current=!0},[]);var Ar=p.useState(0),jr=(0,O.Z)(Ar,2),Wr=jr[0],li=jr[1],wi=p.useState(!0),ui=(0,O.Z)(wi,2),ci=ui[0],xi=ui[1];p.useEffect(function(){(!pn||!Ft)&&(Hn.current instanceof Element?li((0,ee.o)(Hn.current).width):li((0,ee.o)(Lr.current).width)),xi((0,F.G)("position","sticky"))},[]),p.useEffect(function(){Ft&&on&&(on.body.current=Hn.current)});var Ei=p.useCallback(function(Kn){return p.createElement(p.Fragment,null,p.createElement(Wn,Kn),Ir==="top"&&p.createElement(k,Kn,or))},[Ir,or]),Ci=p.useCallback(function(Kn){return p.createElement(k,Kn,or)},[or]),fi=bn(["table"],"table"),ni=p.useMemo(function(){return oe||(Qn?jn==="max-content"?"auto":"fixed":hn||sr||vn.some(function(Kn){var Fn=Kn.ellipsis;return Fn})?"fixed":"auto")},[hn,Qn,vn,oe,sr]),ri,ii={colWidths:Sr,columCount:vn.length,stickyOffsets:Mn,onHeaderRow:St,fixHeader:hn,scroll:te},di=p.useMemo(function(){return Wt?null:typeof Kt=="function"?Kt():Kt},[Wt,Kt]),hi=p.createElement(Pt,{data:yt,measureColumnWidth:hn||Un||sr}),_i=p.createElement(tn,{colWidths:vn.map(function(Kn){var Fn=Kn.width;return Fn}),columns:vn}),pi=Rt!=null?p.createElement("caption",{className:"".concat(ae,"-caption")},Rt):void 0,Si=(0,q.Z)(ne,{data:!0}),vi=(0,q.Z)(ne,{aria:!0});if(hn||sr){var ai;typeof wn=="function"?(ai=wn(yt,{scrollbarSize:Wr,ref:Hn,onScroll:br}),ii.colWidths=vn.map(function(Kn,Fn){var fr=Kn.width,gr=Fn===vn.length-1?fr-Wr:fr;return typeof gr=="number"&&!Number.isNaN(gr)?gr:0})):ai=p.createElement("div",{style:(0,J.Z)((0,J.Z)({},Gr),zr),onScroll:Xr,ref:Hn,className:g()("".concat(ae,"-body"))},p.createElement(fi,(0,s.Z)({style:(0,J.Z)((0,J.Z)({},Yr),{},{tableLayout:ni})},vi),pi,_i,hi,!Ir&&or&&p.createElement(k,{stickyOffsets:Mn,flattenColumns:vn},or)));var mi=(0,J.Z)((0,J.Z)((0,J.Z)({noData:!yt.length,maxContentScroll:Un&&jn==="max-content"},ii),ur),{},{direction:_e,stickyClassName:yr,onScroll:br});ri=p.createElement(p.Fragment,null,At!==!1&&p.createElement(vt,(0,s.Z)({},mi,{stickyTopOffset:pr,className:"".concat(ae,"-header"),ref:Pr}),Ei),ai,Ir&&Ir!=="top"&&p.createElement(vt,(0,s.Z)({},mi,{stickyBottomOffset:vr,className:"".concat(ae,"-summary"),ref:Kr}),Ci),sr&&Hn.current&&Hn.current instanceof Element&&p.createElement(Ee,{ref:qn,offsetScroll:wr,scrollBodyRef:Hn,onScroll:br,container:Rr,direction:_e}))}else ri=p.createElement("div",{style:(0,J.Z)((0,J.Z)({},Gr),zr),className:g()("".concat(ae,"-content")),onScroll:br,ref:Hn},p.createElement(fi,(0,s.Z)({style:(0,J.Z)((0,J.Z)({},Yr),{},{tableLayout:ni})},vi),pi,_i,At!==!1&&p.createElement(Wn,(0,s.Z)({},ii,ur)),hi,or&&p.createElement(k,{stickyOffsets:Mn,flattenColumns:vn},or)));var si=p.createElement("div",(0,s.Z)({className:g()(ae,he,(0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)((0,B.Z)({},"".concat(ae,"-rtl"),_e==="rtl"),"".concat(ae,"-ping-left"),Cr),"".concat(ae,"-ping-right"),kr),"".concat(ae,"-layout-fixed"),oe==="fixed"),"".concat(ae,"-fixed-header"),hn),"".concat(ae,"-fixed-column"),Qn),"".concat(ae,"-fixed-column-gapped"),Qn&&lr),"".concat(ae,"-scroll-horizontal"),Un),"".concat(ae,"-has-fix-left"),vn[0]&&vn[0].fixed),"".concat(ae,"-has-fix-right"),vn[vn.length-1]&&vn[vn.length-1].fixed==="right")),style:pe,id:bt,ref:hr},Si),Oe&&p.createElement(De,{className:"".concat(ae,"-title")},Oe(yt)),p.createElement("div",{ref:Lr,className:"".concat(ae,"-container")},ri),Se&&p.createElement(De,{className:"".concat(ae,"-footer")},Se(yt)));Un&&(si=p.createElement(T.Z,{onResize:ti},si));var gi=Pn(vn,Mn,_e),Ri=p.useMemo(function(){return{scrollX:jn,prefixCls:ae,getComponent:bn,scrollbarSize:Wr,direction:_e,fixedInfoList:gi,isSticky:sr,supportSticky:ci,componentWidth:Jn,fixHeader:hn,fixColumn:Qn,horizonScroll:Un,tableLayout:ni,rowClassName:ue,expandedRowClassName:Tn.expandedRowClassName,expandIcon:_t,expandableType:Bn,expandRowByClick:Tn.expandRowByClick,expandedRowRender:Tn.expandedRowRender,onTriggerExpand:kt,expandIconColumnIndex:Tn.expandIconColumnIndex,indentSize:Tn.indentSize,allColumnsFixedLeft:vn.every(function(Kn){return Kn.fixed==="left"}),emptyNode:di,columns:Rn,flattenColumns:vn,onColumnResize:qr,hoverStartRow:$n,hoverEndRow:tr,onHover:rr,rowExpandable:Tn.rowExpandable,onRow:nn,getRowKey:fn,expandedKeys:Dt,childrenColumnName:dt,rowHoverable:Ut}},[jn,ae,bn,Wr,_e,gi,sr,ci,Jn,hn,Qn,Un,ni,ue,Tn.expandedRowClassName,_t,Bn,Tn.expandRowByClick,Tn.expandedRowRender,kt,Tn.expandIconColumnIndex,Tn.indentSize,di,Rn,vn,qr,$n,tr,rr,Tn.rowExpandable,nn,fn,Dt,dt,Ut]);return p.createElement(l.Provider,{value:Ri},si)}var Ce=p.forwardRef(de);function fe(Z){return E(Ce,Z)}var ke=fe();ke.EXPAND_COLUMN=P.w,ke.INTERNAL_HOOKS=P.R,ke.Column=$e,ke.ColumnGroup=st,ke.Summary=z;var be=ke,Te=u(45680),Ue=$(null),ht=$(null);function lt(Z,ie,ne){var ae=ie||1;return ne[Z+ae]-(ne[Z]||0)}function mt(Z){var ie=Z.rowInfo,ne=Z.column,ae=Z.colIndex,he=Z.indent,ue=Z.index,pe=Z.component,we=Z.renderIndex,Re=Z.record,te=Z.style,oe=Z.className,_e=Z.inverse,Oe=Z.getHeight,Se=ne.render,et=ne.dataIndex,Rt=ne.className,bt=ne.width,At=e(ht,["columnsOffset"]),Ct=At.columnsOffset,Kt=Be(ie,ne,ae,he,ue),nn=Kt.key,St=Kt.fixedInfo,rn=Kt.appendCellNode,Jt=Kt.additionalCellProps,Xt=Jt.style,on=Jt.colSpan,pn=on===void 0?1:on,An=Jt.rowSpan,en=An===void 0?1:An,cn=ae-1,Ut=lt(cn,pn,Ct),yt=pn>1?bt-Ut:0,Wt=(0,J.Z)((0,J.Z)((0,J.Z)({},Xt),te),{},{flex:"0 0 ".concat(Ut,"px"),width:"".concat(Ut,"px"),marginRight:yt,pointerEvents:"auto"}),Ft=p.useMemo(function(){return _e?en<=1:pn===0||en===0||en>1},[en,pn,_e]);Ft?Wt.visibility="hidden":_e&&(Wt.height=Oe==null?void 0:Oe(en));var bn=Ft?function(){return null}:Se,fn={};return(en===0||pn===0)&&(fn.rowSpan=1,fn.colSpan=1),p.createElement(Mt,(0,s.Z)({className:g()(Rt,oe),ellipsis:ne.ellipsis,align:ne.align,scope:ne.rowScope,component:pe,prefixCls:ie.prefixCls,key:nn,record:Re,index:ue,renderIndex:we,dataIndex:et,render:bn,shouldCellUpdate:ne.shouldCellUpdate},St,{appendNode:rn,additionalProps:(0,J.Z)((0,J.Z)({},Jt),{},{style:Wt},fn)}))}var gt=mt,Nt=["data","index","className","rowKey","style","extra","getHeight"],It=p.forwardRef(function(Z,ie){var ne=Z.data,ae=Z.index,he=Z.className,ue=Z.rowKey,pe=Z.style,we=Z.extra,Re=Z.getHeight,te=(0,X.Z)(Z,Nt),oe=ne.record,_e=ne.indent,Oe=ne.index,Se=e(l,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),et=Se.scrollX,Rt=Se.flattenColumns,bt=Se.prefixCls,At=Se.fixColumn,Ct=Se.componentWidth,Kt=e(Ue,["getComponent"]),nn=Kt.getComponent,St=ze(oe,ue,ae,_e),rn=nn(["body","row"],"div"),Jt=nn(["body","cell"],"div"),Xt=St.rowSupportExpand,on=St.expanded,pn=St.rowProps,An=St.expandedRowRender,en=St.expandedRowClassName,cn;if(Xt&&on){var Ut=An(oe,ae,_e+1,on),yt=Ve(en,oe,ae,_e),Wt={};At&&(Wt={style:(0,B.Z)({},"--virtual-width","".concat(Ct,"px"))});var Ft="".concat(bt,"-expanded-row-cell");cn=p.createElement(rn,{className:g()("".concat(bt,"-expanded-row"),"".concat(bt,"-expanded-row-level-").concat(_e+1),yt)},p.createElement(Mt,{component:Jt,prefixCls:bt,className:g()(Ft,(0,B.Z)({},"".concat(Ft,"-fixed"),At)),additionalProps:Wt},Ut))}var bn=(0,J.Z)((0,J.Z)({},pe),{},{width:et});we&&(bn.position="absolute",bn.pointerEvents="none");var fn=p.createElement(rn,(0,s.Z)({},pn,te,{"data-row-key":ue,ref:Xt?null:ie,className:g()(he,"".concat(bt,"-row"),pn==null?void 0:pn.className,(0,B.Z)({},"".concat(bt,"-row-extra"),we)),style:(0,J.Z)((0,J.Z)({},bn),pn==null?void 0:pn.style)}),Rt.map(function(wn,zn){return p.createElement(gt,{key:zn,component:Jt,rowInfo:St,column:wn,colIndex:zn,indent:_e,index:ae,renderIndex:Oe,record:oe,inverse:we,getHeight:Re})}));return Xt?p.createElement("div",{ref:ie},fn,cn):fn}),Ot=_(It),xt=Ot,Et=p.forwardRef(function(Z,ie){var ne=Z.data,ae=Z.onScroll,he=e(l,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),ue=he.flattenColumns,pe=he.onColumnResize,we=he.getRowKey,Re=he.expandedKeys,te=he.prefixCls,oe=he.childrenColumnName,_e=he.scrollX,Oe=he.direction,Se=e(Ue),et=Se.sticky,Rt=Se.scrollY,bt=Se.listItemHeight,At=Se.getComponent,Ct=Se.onScroll,Kt=p.useRef(),nn=me(ne,oe,Re,we),St=p.useMemo(function(){var cn=0;return ue.map(function(Ut){var yt=Ut.width,Wt=Ut.key;return cn+=yt,[Wt,yt,cn]})},[ue]),rn=p.useMemo(function(){return St.map(function(cn){return cn[2]})},[St]);p.useEffect(function(){St.forEach(function(cn){var Ut=(0,O.Z)(cn,2),yt=Ut[0],Wt=Ut[1];pe(yt,Wt)})},[St]),p.useImperativeHandle(ie,function(){var cn,Ut={scrollTo:function(Wt){var Ft;(Ft=Kt.current)===null||Ft===void 0||Ft.scrollTo(Wt)},nativeElement:(cn=Kt.current)===null||cn===void 0?void 0:cn.nativeElement};return Object.defineProperty(Ut,"scrollLeft",{get:function(){var Wt;return((Wt=Kt.current)===null||Wt===void 0?void 0:Wt.getScrollInfo().x)||0},set:function(Wt){var Ft;(Ft=Kt.current)===null||Ft===void 0||Ft.scrollTo({left:Wt})}}),Ut});var Jt=function(Ut,yt){var Wt,Ft=(Wt=nn[yt])===null||Wt===void 0?void 0:Wt.record,bn=Ut.onCell;if(bn){var fn,wn=bn(Ft,yt);return(fn=wn==null?void 0:wn.rowSpan)!==null&&fn!==void 0?fn:1}return 1},Xt=function(Ut){var yt=Ut.start,Wt=Ut.end,Ft=Ut.getSize,bn=Ut.offsetY;if(Wt<0)return null;for(var fn=ue.filter(function(_t){return Jt(_t,yt)===0}),wn=yt,zn=function(dt){if(fn=fn.filter(function(kt){return Jt(kt,dt)===0}),!fn.length)return wn=dt,1},Xn=yt;Xn>=0&&!zn(Xn);Xn-=1);for(var $n=ue.filter(function(_t){return Jt(_t,Wt)!==1}),tr=Wt,rr=function(dt){if($n=$n.filter(function(kt){return Jt(kt,dt)!==1}),!$n.length)return tr=Math.max(dt-1,Wt),1},Gn=Wt;Gn<nn.length&&!rr(Gn);Gn+=1);for(var an=[],Tn=function(dt){var kt=nn[dt];if(!kt)return 1;ue.some(function(xn){return Jt(xn,dt)>1})&&an.push(dt)},Bn=wn;Bn<=tr;Bn+=1)Tn(Bn);var Dt=an.map(function(_t){var dt=nn[_t],kt=we(dt.record,_t),xn=function(Jn){var ir=_t+Jn-1,pt=we(nn[ir].record,ir),$t=Ft(kt,pt);return $t.bottom-$t.top},Ln=Ft(kt);return p.createElement(xt,{key:_t,data:dt,rowKey:kt,index:_t,style:{top:-bn+Ln.top},extra:!0,getHeight:xn})});return Dt},on=p.useMemo(function(){return{columnsOffset:rn}},[rn]),pn="".concat(te,"-tbody"),An=At(["body","wrapper"]),en={};return et&&(en.position="sticky",en.bottom=0,(0,j.Z)(et)==="object"&&et.offsetScroll&&(en.bottom=et.offsetScroll)),p.createElement(ht.Provider,{value:on},p.createElement(Te.Z,{fullHeight:!1,ref:Kt,prefixCls:"".concat(pn,"-virtual"),styles:{horizontalScrollBar:en},className:pn,height:Rt,itemHeight:bt||24,data:nn,itemKey:function(Ut){return we(Ut.record)},component:An,scrollWidth:_e,direction:Oe,onVirtualScroll:function(Ut){var yt,Wt=Ut.x;ae({currentTarget:(yt=Kt.current)===null||yt===void 0?void 0:yt.nativeElement,scrollLeft:Wt})},onScroll:Ct,extraRender:Xt},function(cn,Ut,yt){var Wt=we(cn.record,Ut);return p.createElement(xt,{data:cn,rowKey:Wt,index:Ut,style:yt.style})}))}),Yt=_(Et),Qe=Yt,We=function(ie,ne){var ae=ne.ref,he=ne.onScroll;return p.createElement(Qe,{ref:ae,data:ie,onScroll:he})};function at(Z,ie){var ne=Z.data,ae=Z.columns,he=Z.scroll,ue=Z.sticky,pe=Z.prefixCls,we=pe===void 0?Ht:pe,Re=Z.className,te=Z.listItemHeight,oe=Z.components,_e=Z.onScroll,Oe=he||{},Se=Oe.x,et=Oe.y;typeof Se!="number"&&(Se=1),typeof et!="number"&&(et=500);var Rt=(0,zt.zX)(function(Ct,Kt){return(0,b.Z)(oe,Ct)||Kt}),bt=(0,zt.zX)(_e),At=p.useMemo(function(){return{sticky:ue,scrollY:et,listItemHeight:te,getComponent:Rt,onScroll:bt}},[ue,et,te,Rt,bt]);return p.createElement(Ue.Provider,{value:At},p.createElement(be,(0,s.Z)({},Z,{className:g()(Re,"".concat(we,"-virtual")),scroll:(0,J.Z)((0,J.Z)({},he),{},{x:Se}),components:(0,J.Z)((0,J.Z)({},oe),{},{body:ne!=null&&ne.length?We:void 0}),columns:ae,internalHooks:P.R,tailor:!0,ref:ie})))}var qt=p.forwardRef(at);function un(Z){return E(qt,Z)}var yn=un(),Sn=null},90494:function(Bt,Ze,u){"use strict";u.d(Ze,{g:function(){return p},v:function(){return V}});var P=u(77321),O=u(74416),U=u(48736),Q=["expandable"],V="RC_TABLE_INTERNAL_COL_DEFINE";function p(H){var $=H.expandable,e=(0,O.Z)(H,Q),s;return"expandable"in H?s=(0,P.Z)((0,P.Z)({},e),$):s=e,s.showExpandColumn===!1&&(s.expandIconColumnIndex=-1),s}},29125:function(Bt,Ze,u){"use strict";u.d(Ze,{G:function(){return Q},Z:function(){return E}});var P=u(92310),O=u.n(P),U=u(59301);function Q(_){var v=_.children,d=_.prefixCls,l=_.id,N=_.overlayInnerStyle,R=_.bodyClassName,L=_.className,j=_.style;return U.createElement("div",{className:O()("".concat(d,"-content"),L),style:j},U.createElement("div",{className:O()("".concat(d,"-inner"),R),id:l,role:"tooltip",style:N},typeof v=="function"?v():v))}var V=u(72308),p=u(77321),H=u(74416),$=u(65352),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,a=u(80402),o=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],m=function(v,d){var l=v.overlayClassName,N=v.trigger,R=N===void 0?["hover"]:N,L=v.mouseEnterDelay,j=L===void 0?0:L,J=v.mouseLeaveDelay,B=J===void 0?.1:J,ge=v.overlayStyle,g=v.prefixCls,h=g===void 0?"rc-tooltip":g,b=v.children,C=v.onVisibleChange,I=v.afterVisibleChange,w=v.transitionName,n=v.animation,i=v.motion,y=v.placement,K=y===void 0?"right":y,le=v.align,xe=le===void 0?{}:le,Le=v.destroyTooltipOnHide,je=Le===void 0?!1:Le,it=v.defaultVisible,zt=v.getTooltipContainer,ye=v.overlayInnerStyle,Ye=v.arrowContent,Mt=v.overlay,Ie=v.id,Pe=v.showArrow,D=Pe===void 0?!0:Pe,A=v.classNames,X=v.styles,M=(0,H.Z)(v,o),se=(0,a.Z)(Ie),ve=(0,U.useRef)(null);(0,U.useImperativeHandle)(d,function(){return ve.current});var S=(0,p.Z)({},M);"visible"in v&&(S.popupVisible=v.visible);var c=function(){return U.createElement(Q,{key:"content",prefixCls:h,id:se,bodyClassName:A==null?void 0:A.body,overlayInnerStyle:(0,p.Z)((0,p.Z)({},ye),X==null?void 0:X.body)},Mt)},k=function(){var T=U.Children.only(b),W=(T==null?void 0:T.props)||{},F=(0,p.Z)((0,p.Z)({},W),{},{"aria-describedby":Mt?se:null});return U.cloneElement(b,F)};return U.createElement($.Z,(0,V.Z)({popupClassName:O()(l,A==null?void 0:A.root),prefixCls:h,popup:c,action:R,builtinPlacements:t,popupPlacement:K,ref:ve,popupAlign:xe,getPopupContainer:zt,onPopupVisibleChange:C,afterPopupVisibleChange:I,popupTransitionName:w,popupAnimation:n,popupMotion:i,defaultPopupVisible:it,autoDestroy:je,mouseLeaveDelay:B,popupStyle:(0,p.Z)((0,p.Z)({},ge),X==null?void 0:X.root),mouseEnterDelay:j,arrow:D},S),k())},x=(0,U.forwardRef)(m),E=x},639:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return v}});var P=u(72308),O=u(49618),U=u(77321),Q=u(52487),V=u(74416),p=u(59301),H=u(92310),$=u.n(H),e=u(26112),s=u(30699),f=function(l){for(var N=l.prefixCls,R=l.level,L=l.isStart,j=l.isEnd,J="".concat(N,"-indent-unit"),B=[],ge=0;ge<R;ge+=1)B.push(p.createElement("span",{key:ge,className:$()(J,(0,O.Z)((0,O.Z)({},"".concat(J,"-start"),L[ge]),"".concat(J,"-end"),j[ge]))}));return p.createElement("span",{"aria-hidden":"true",className:"".concat(N,"-indent")},B)},t=p.memo(f),r=u(65065),a=u(34061),o=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],m="open",x="close",E="---",_=function(l){var N,R,L,j=l.eventKey,J=l.className,B=l.style,ge=l.dragOver,g=l.dragOverGapTop,h=l.dragOverGapBottom,b=l.isLeaf,C=l.isStart,I=l.isEnd,w=l.expanded,n=l.selected,i=l.checked,y=l.halfChecked,K=l.loading,le=l.domRef,xe=l.active,Le=l.data,je=l.onMouseMove,it=l.selectable,zt=(0,V.Z)(l,o),ye=p.useContext(s.k),Ye=p.useContext(s.y),Mt=p.useRef(null),Ie=p.useState(!1),Pe=(0,Q.Z)(Ie,2),D=Pe[0],A=Pe[1],X=!!(ye.disabled||l.disabled||(N=Ye.nodeDisabled)!==null&&N!==void 0&&N.call(Ye,Le)),M=p.useMemo(function(){return!ye.checkable||l.checkable===!1?!1:ye.checkable},[ye.checkable,l.checkable]),se=function(vt){X||ye.onNodeSelect(vt,(0,a.F)(l))},ve=function(vt){X||!M||l.disableCheckbox||ye.onNodeCheck(vt,(0,a.F)(l),!i)},S=p.useMemo(function(){return typeof it=="boolean"?it:ye.selectable},[it,ye.selectable]),c=function(vt){ye.onNodeClick(vt,(0,a.F)(l)),S?se(vt):ve(vt)},k=function(vt){ye.onNodeDoubleClick(vt,(0,a.F)(l))},z=function(vt){ye.onNodeMouseEnter(vt,(0,a.F)(l))},T=function(vt){ye.onNodeMouseLeave(vt,(0,a.F)(l))},W=function(vt){ye.onNodeContextMenu(vt,(0,a.F)(l))},F=p.useMemo(function(){return!!(ye.draggable&&(!ye.draggable.nodeDraggable||ye.draggable.nodeDraggable(Le)))},[ye.draggable,Le]),ee=function(vt){vt.stopPropagation(),A(!0),ye.onNodeDragStart(vt,l);try{vt.dataTransfer.setData("text/plain","")}catch(Gt){}},q=function(vt){vt.preventDefault(),vt.stopPropagation(),ye.onNodeDragEnter(vt,l)},ce=function(vt){vt.preventDefault(),vt.stopPropagation(),ye.onNodeDragOver(vt,l)},me=function(vt){vt.stopPropagation(),ye.onNodeDragLeave(vt,l)},ze=function(vt){vt.stopPropagation(),A(!1),ye.onNodeDragEnd(vt,l)},Fe=function(vt){vt.preventDefault(),vt.stopPropagation(),A(!1),ye.onNodeDrop(vt,l)},Ae=function(vt){K||ye.onNodeExpand(vt,(0,a.F)(l))},Ke=p.useMemo(function(){var ft=(0,r.Z)(ye.keyEntities,j)||{},vt=ft.children;return!!(vt||[]).length},[ye.keyEntities,j]),rt=p.useMemo(function(){return b===!1?!1:b||!ye.loadData&&!Ke||ye.loadData&&l.loaded&&!Ke},[b,ye.loadData,Ke,l.loaded]);p.useEffect(function(){K||typeof ye.loadData=="function"&&w&&!rt&&!l.loaded&&ye.onNodeLoad((0,a.F)(l))},[K,ye.loadData,ye.onNodeLoad,w,rt,l]);var Ve=p.useMemo(function(){var ft;return(ft=ye.draggable)!==null&&ft!==void 0&&ft.icon?p.createElement("span",{className:"".concat(ye.prefixCls,"-draggable-icon")},ye.draggable.icon):null},[ye.draggable]),Be=function(vt){var Gt=l.switcherIcon||ye.switcherIcon;return typeof Gt=="function"?Gt((0,U.Z)((0,U.Z)({},l),{},{isLeaf:vt})):Gt},Zt=function(){if(rt){var vt=Be(!0);return vt!==!1?p.createElement("span",{className:$()("".concat(ye.prefixCls,"-switcher"),"".concat(ye.prefixCls,"-switcher-noop"))},vt):null}var Gt=Be(!1);return Gt!==!1?p.createElement("span",{onClick:Ae,className:$()("".concat(ye.prefixCls,"-switcher"),"".concat(ye.prefixCls,"-switcher_").concat(w?m:x))},Gt):null},Tt=p.useMemo(function(){if(!M)return null;var ft=typeof M!="boolean"?M:null;return p.createElement("span",{className:$()("".concat(ye.prefixCls,"-checkbox"),(0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(ye.prefixCls,"-checkbox-checked"),i),"".concat(ye.prefixCls,"-checkbox-indeterminate"),!i&&y),"".concat(ye.prefixCls,"-checkbox-disabled"),X||l.disableCheckbox)),onClick:ve,role:"checkbox","aria-checked":y?"mixed":i,"aria-disabled":X||l.disableCheckbox,"aria-label":"Select ".concat(typeof l.title=="string"?l.title:"tree node")},ft)},[M,i,y,X,l.disableCheckbox,l.title]),tt=p.useMemo(function(){return rt?null:w?m:x},[rt,w]),Vt=p.useMemo(function(){return p.createElement("span",{className:$()("".concat(ye.prefixCls,"-iconEle"),"".concat(ye.prefixCls,"-icon__").concat(tt||"docu"),(0,O.Z)({},"".concat(ye.prefixCls,"-icon_loading"),K))})},[ye.prefixCls,tt,K]),dn=p.useMemo(function(){var ft=!!ye.draggable,vt=!l.disabled&&ft&&ye.dragOverNodeKey===j;return vt?ye.dropIndicatorRender({dropPosition:ye.dropPosition,dropLevelOffset:ye.dropLevelOffset,indent:ye.indent,prefixCls:ye.prefixCls,direction:ye.direction}):null},[ye.dropPosition,ye.dropLevelOffset,ye.indent,ye.prefixCls,ye.direction,ye.draggable,ye.dragOverNodeKey,ye.dropIndicatorRender]),Pt=p.useMemo(function(){var ft=l.title,vt=ft===void 0?E:ft,Gt="".concat(ye.prefixCls,"-node-content-wrapper"),Cn;if(ye.showIcon){var jt=l.icon||ye.icon;Cn=jt?p.createElement("span",{className:$()("".concat(ye.prefixCls,"-iconEle"),"".concat(ye.prefixCls,"-icon__customize"))},typeof jt=="function"?jt(l):jt):Vt}else ye.loadData&&K&&(Cn=Vt);var kn;return typeof vt=="function"?kn=vt(Le):ye.titleRender?kn=ye.titleRender(Le):kn=vt,p.createElement("span",{ref:Mt,title:typeof vt=="string"?vt:"",className:$()(Gt,"".concat(Gt,"-").concat(tt||"normal"),(0,O.Z)({},"".concat(ye.prefixCls,"-node-selected"),!X&&(n||D))),onMouseEnter:z,onMouseLeave:T,onContextMenu:W,onClick:c,onDoubleClick:k},Cn,p.createElement("span",{className:"".concat(ye.prefixCls,"-title")},kn),dn)},[ye.prefixCls,ye.showIcon,l,ye.icon,Vt,ye.titleRender,Le,tt,z,T,W,c,k]),ut=(0,e.Z)(zt,{aria:!0,data:!0}),Lt=(0,r.Z)(ye.keyEntities,j)||{},ln=Lt.level,tn=I[I.length-1],Qt=!X&&F,_n=ye.draggingNodeKey===j,wt=it!==void 0?{"aria-selected":!!it}:void 0;return p.createElement("div",(0,P.Z)({ref:le,role:"treeitem","aria-expanded":b?void 0:w,className:$()(J,"".concat(ye.prefixCls,"-treenode"),(L={},(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)(L,"".concat(ye.prefixCls,"-treenode-disabled"),X),"".concat(ye.prefixCls,"-treenode-switcher-").concat(w?"open":"close"),!b),"".concat(ye.prefixCls,"-treenode-checkbox-checked"),i),"".concat(ye.prefixCls,"-treenode-checkbox-indeterminate"),y),"".concat(ye.prefixCls,"-treenode-selected"),n),"".concat(ye.prefixCls,"-treenode-loading"),K),"".concat(ye.prefixCls,"-treenode-active"),xe),"".concat(ye.prefixCls,"-treenode-leaf-last"),tn),"".concat(ye.prefixCls,"-treenode-draggable"),F),"dragging",_n),(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)(L,"drop-target",ye.dropTargetKey===j),"drop-container",ye.dropContainerKey===j),"drag-over",!X&&ge),"drag-over-gap-top",!X&&g),"drag-over-gap-bottom",!X&&h),"filter-node",(R=ye.filterTreeNode)===null||R===void 0?void 0:R.call(ye,(0,a.F)(l))),"".concat(ye.prefixCls,"-treenode-leaf"),rt))),style:B,draggable:Qt,onDragStart:Qt?ee:void 0,onDragEnter:F?q:void 0,onDragOver:F?ce:void 0,onDragLeave:F?me:void 0,onDrop:F?Fe:void 0,onDragEnd:F?ze:void 0,onMouseMove:je},wt,ut),p.createElement(t,{prefixCls:ye.prefixCls,level:ln,isStart:C,isEnd:I}),Ve,Zt(),Tt,Pt)};_.isTreeNode=1;var v=_},30699:function(Bt,Ze,u){"use strict";u.d(Ze,{k:function(){return O},y:function(){return U}});var P=u(59301),O=P.createContext(null),U=P.createContext({})},15018:function(Bt,Ze,u){"use strict";u.d(Ze,{OF:function(){return j.Z},y6:function(){return x.y},ZP:function(){return X}});var P=u(72308),O=u(62853),U=u(77321),Q=u(80702),V=u(96949),p=u(55090),H=u(80237),$=u(77205),e=u(38793),s=u(49618),f=u(92310),t=u.n(f),r=u(10228),a=u(26112),o=u(48736),m=u(59301),x=u(30699),E=function(se){var ve=se.dropPosition,S=se.dropLevelOffset,c=se.indent,k={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(ve){case-1:k.top=0,k.left=-S*c;break;case 1:k.bottom=0,k.left=-S*c;break;case 0:k.bottom=0,k.left=c;break}return m.createElement("div",{style:k})},_=E;function v(M){if(M==null)throw new TypeError("Cannot destructure "+M)}var d=u(52487),l=u(74416),N=u(34280),R=u(45680),L=u(77900),j=u(639);function J(M,se){var ve=m.useState(!1),S=(0,d.Z)(ve,2),c=S[0],k=S[1];(0,N.Z)(function(){if(c)return M(),function(){se()}},[c]),(0,N.Z)(function(){return k(!0),function(){k(!1)}},[])}var B=J,ge=u(34061),g=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],h=m.forwardRef(function(M,se){var ve=M.className,S=M.style,c=M.motion,k=M.motionNodes,z=M.motionType,T=M.onMotionStart,W=M.onMotionEnd,F=M.active,ee=M.treeNodeRequiredProps,q=(0,l.Z)(M,g),ce=m.useState(!0),me=(0,d.Z)(ce,2),ze=me[0],Fe=me[1],Ae=m.useContext(x.k),Ke=Ae.prefixCls,rt=k&&z!=="hide";(0,N.Z)(function(){k&&rt!==ze&&Fe(rt)},[k]);var Ve=function(){k&&T()},Be=m.useRef(!1),Zt=function(){k&&!Be.current&&(Be.current=!0,W())};B(Ve,Zt);var Tt=function(Vt){rt===Vt&&Zt()};return k?m.createElement(L.default,(0,P.Z)({ref:se,visible:ze},c,{motionAppear:z==="show",onVisibleChanged:Tt}),function(tt,Vt){var dn=tt.className,Pt=tt.style;return m.createElement("div",{ref:Vt,className:t()("".concat(Ke,"-treenode-motion"),dn),style:Pt},k.map(function(ut){var Lt=Object.assign({},(v(ut.data),ut.data)),ln=ut.title,tn=ut.key,Qt=ut.isStart,_n=ut.isEnd;delete Lt.children;var wt=(0,ge.H8)(tn,ee);return m.createElement(j.Z,(0,P.Z)({},Lt,wt,{title:ln,active:F,data:ut.data,key:tn,isStart:Qt,isEnd:_n}))}))}):m.createElement(j.Z,(0,P.Z)({domRef:se,className:ve,style:S},q,{active:F}))}),b=h;function C(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ve=M.length,S=se.length;if(Math.abs(ve-S)!==1)return{add:!1,key:null};function c(k,z){var T=new Map;k.forEach(function(F){T.set(F,!0)});var W=z.filter(function(F){return!T.has(F)});return W.length===1?W[0]:null}return ve<S?{add:!0,key:c(M,se)}:{add:!1,key:c(se,M)}}function I(M,se,ve){var S=M.findIndex(function(T){return T.key===ve}),c=M[S+1],k=se.findIndex(function(T){return T.key===ve});if(c){var z=se.findIndex(function(T){return T.key===c.key});return se.slice(k+1,z)}return se.slice(k+1)}var w=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","scrollWidth","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],n={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},i=function(){},y="RC_TREE_MOTION_".concat(Math.random()),K={key:y},le={key:y,level:0,index:0,pos:"0",node:K,nodes:[K]},xe={parent:null,children:[],pos:le.pos,data:K,title:null,key:y,isStart:[],isEnd:[]};function Le(M,se,ve,S){return se===!1||!ve?M:M.slice(0,Math.ceil(ve/S)+1)}function je(M){var se=M.key,ve=M.pos;return(0,ge.km)(se,ve)}function it(M){for(var se=String(M.data.key),ve=M;ve.parent;)ve=ve.parent,se="".concat(ve.data.key," > ").concat(se);return se}var zt=m.forwardRef(function(M,se){var ve=M.prefixCls,S=M.data,c=M.selectable,k=M.checkable,z=M.expandedKeys,T=M.selectedKeys,W=M.checkedKeys,F=M.loadedKeys,ee=M.loadingKeys,q=M.halfCheckedKeys,ce=M.keyEntities,me=M.disabled,ze=M.dragging,Fe=M.dragOverNodeKey,Ae=M.dropPosition,Ke=M.motion,rt=M.height,Ve=M.itemHeight,Be=M.virtual,Zt=M.scrollWidth,Tt=M.focusable,tt=M.activeItem,Vt=M.focused,dn=M.tabIndex,Pt=M.onKeyDown,ut=M.onFocus,Lt=M.onBlur,ln=M.onActiveChange,tn=M.onListChangeStart,Qt=M.onListChangeEnd,_n=(0,l.Z)(M,w),wt=m.useRef(null),ft=m.useRef(null);m.useImperativeHandle(se,function(){return{scrollTo:function(Ne){wt.current.scrollTo(Ne)},getIndentWidth:function(){return ft.current.offsetWidth}}});var vt=m.useState(z),Gt=(0,d.Z)(vt,2),Cn=Gt[0],jt=Gt[1],kn=m.useState(S),Wn=(0,d.Z)(kn,2),sn=Wn[0],gn=Wn[1],Pn=m.useState(S),En=(0,d.Z)(Pn,2),On=En[0],mn=En[1],Nn=m.useState([]),Dn=(0,d.Z)(Nn,2),In=Dn[0],re=Dn[1],G=m.useState(null),Ge=(0,d.Z)(G,2),De=Ge[0],Xe=Ge[1],Je=m.useRef(S);Je.current=S;function ot(){var Ee=Je.current;gn(Ee),mn(Ee),re([]),Xe(null),Qt()}(0,N.Z)(function(){jt(z);var Ee=C(Cn,z);if(Ee.key!==null)if(Ee.add){var Ne=sn.findIndex(function(He){var Y=He.key;return Y===Ee.key}),$e=Le(I(sn,S,Ee.key),Be,rt,Ve),ct=sn.slice();ct.splice(Ne+1,0,xe),mn(ct),re($e),Xe("show")}else{var st=S.findIndex(function(He){var Y=He.key;return Y===Ee.key}),Ht=Le(I(S,sn,Ee.key),Be,rt,Ve),qe=S.slice();qe.splice(st+1,0,xe),mn(qe),re(Ht),Xe("hide")}else sn!==S&&(gn(S),mn(S))},[z,S]),m.useEffect(function(){ze||ot()},[ze]);var nt=Ke?On:S,Me={expandedKeys:z,selectedKeys:T,loadedKeys:F,loadingKeys:ee,checkedKeys:W,halfCheckedKeys:q,dragOverNodeKey:Fe,dropPosition:Ae,keyEntities:ce};return m.createElement(m.Fragment,null,Vt&&tt&&m.createElement("span",{style:n,"aria-live":"assertive"},it(tt)),m.createElement("div",null,m.createElement("input",{style:n,disabled:Tt===!1||me,tabIndex:Tt!==!1?dn:null,onKeyDown:Pt,onFocus:ut,onBlur:Lt,value:"",onChange:i,"aria-label":"for screen reader"})),m.createElement("div",{className:"".concat(ve,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},m.createElement("div",{className:"".concat(ve,"-indent")},m.createElement("div",{ref:ft,className:"".concat(ve,"-indent-unit")}))),m.createElement(R.Z,(0,P.Z)({},_n,{data:nt,itemKey:je,height:rt,fullHeight:!1,virtual:Be,itemHeight:Ve,scrollWidth:Zt,prefixCls:"".concat(ve,"-list"),ref:wt,role:"tree",onVisibleChange:function(Ne){Ne.every(function($e){return je($e)!==y})&&ot()}}),function(Ee){var Ne=Ee.pos,$e=Object.assign({},(v(Ee.data),Ee.data)),ct=Ee.title,st=Ee.key,Ht=Ee.isStart,qe=Ee.isEnd,He=(0,ge.km)(st,Ne);delete $e.key,delete $e.children;var Y=(0,ge.H8)(He,Me);return m.createElement(b,(0,P.Z)({},$e,Y,{title:ct,active:!!tt&&st===tt.key,pos:Ne,data:Ee.data,isStart:Ht,isEnd:qe,motion:Ke,motionNodes:st===y?In:null,motionType:De,onMotionStart:tn,onMotionEnd:ot,treeNodeRequiredProps:Me,onMouseMove:function(){ln(null)}}))}))}),ye=zt,Ye=u(82661),Mt=u(34643),Ie=u(65065),Pe=10,D=function(M){(0,$.Z)(ve,M);var se=(0,e.Z)(ve);function ve(){var S;(0,V.Z)(this,ve);for(var c=arguments.length,k=new Array(c),z=0;z<c;z++)k[z]=arguments[z];return S=se.call.apply(se,[this].concat(k)),(0,s.Z)((0,H.Z)(S),"destroyed",!1),(0,s.Z)((0,H.Z)(S),"delayedDragEnterLogic",void 0),(0,s.Z)((0,H.Z)(S),"loadingRetryTimes",{}),(0,s.Z)((0,H.Z)(S),"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,ge.w$)()}),(0,s.Z)((0,H.Z)(S),"dragStartMousePosition",null),(0,s.Z)((0,H.Z)(S),"dragNodeProps",null),(0,s.Z)((0,H.Z)(S),"currentMouseOverDroppableNodeKey",null),(0,s.Z)((0,H.Z)(S),"listRef",m.createRef()),(0,s.Z)((0,H.Z)(S),"onNodeDragStart",function(T,W){var F=S.state,ee=F.expandedKeys,q=F.keyEntities,ce=S.props.onDragStart,me=W.eventKey;S.dragNodeProps=W,S.dragStartMousePosition={x:T.clientX,y:T.clientY};var ze=(0,Ye._5)(ee,me);S.setState({draggingNodeKey:me,dragChildrenKeys:(0,Ye.wA)(me,q),indent:S.listRef.current.getIndentWidth()}),S.setExpandedKeys(ze),window.addEventListener("dragend",S.onWindowDragEnd),ce==null||ce({event:T,node:(0,ge.F)(W)})}),(0,s.Z)((0,H.Z)(S),"onNodeDragEnter",function(T,W){var F=S.state,ee=F.expandedKeys,q=F.keyEntities,ce=F.dragChildrenKeys,me=F.flattenNodes,ze=F.indent,Fe=S.props,Ae=Fe.onDragEnter,Ke=Fe.onExpand,rt=Fe.allowDrop,Ve=Fe.direction,Be=W.pos,Zt=W.eventKey;if(S.currentMouseOverDroppableNodeKey!==Zt&&(S.currentMouseOverDroppableNodeKey=Zt),!S.dragNodeProps){S.resetDragState();return}var Tt=(0,Ye.OM)(T,S.dragNodeProps,W,ze,S.dragStartMousePosition,rt,me,q,ee,Ve),tt=Tt.dropPosition,Vt=Tt.dropLevelOffset,dn=Tt.dropTargetKey,Pt=Tt.dropContainerKey,ut=Tt.dropTargetPos,Lt=Tt.dropAllowed,ln=Tt.dragOverNodeKey;if(ce.includes(dn)||!Lt){S.resetDragState();return}if(S.delayedDragEnterLogic||(S.delayedDragEnterLogic={}),Object.keys(S.delayedDragEnterLogic).forEach(function(tn){clearTimeout(S.delayedDragEnterLogic[tn])}),S.dragNodeProps.eventKey!==W.eventKey&&(T.persist(),S.delayedDragEnterLogic[Be]=window.setTimeout(function(){if(S.state.draggingNodeKey!==null){var tn=(0,Q.Z)(ee),Qt=(0,Ie.Z)(q,W.eventKey);Qt&&(Qt.children||[]).length&&(tn=(0,Ye.L0)(ee,W.eventKey)),S.props.hasOwnProperty("expandedKeys")||S.setExpandedKeys(tn),Ke==null||Ke(tn,{node:(0,ge.F)(W),expanded:!0,nativeEvent:T.nativeEvent})}},800)),S.dragNodeProps.eventKey===dn&&Vt===0){S.resetDragState();return}S.setState({dragOverNodeKey:ln,dropPosition:tt,dropLevelOffset:Vt,dropTargetKey:dn,dropContainerKey:Pt,dropTargetPos:ut,dropAllowed:Lt}),Ae==null||Ae({event:T,node:(0,ge.F)(W),expandedKeys:ee})}),(0,s.Z)((0,H.Z)(S),"onNodeDragOver",function(T,W){var F=S.state,ee=F.dragChildrenKeys,q=F.flattenNodes,ce=F.keyEntities,me=F.expandedKeys,ze=F.indent,Fe=S.props,Ae=Fe.onDragOver,Ke=Fe.allowDrop,rt=Fe.direction;if(S.dragNodeProps){var Ve=(0,Ye.OM)(T,S.dragNodeProps,W,ze,S.dragStartMousePosition,Ke,q,ce,me,rt),Be=Ve.dropPosition,Zt=Ve.dropLevelOffset,Tt=Ve.dropTargetKey,tt=Ve.dropContainerKey,Vt=Ve.dropTargetPos,dn=Ve.dropAllowed,Pt=Ve.dragOverNodeKey;ee.includes(Tt)||!dn||(S.dragNodeProps.eventKey===Tt&&Zt===0?S.state.dropPosition===null&&S.state.dropLevelOffset===null&&S.state.dropTargetKey===null&&S.state.dropContainerKey===null&&S.state.dropTargetPos===null&&S.state.dropAllowed===!1&&S.state.dragOverNodeKey===null||S.resetDragState():Be===S.state.dropPosition&&Zt===S.state.dropLevelOffset&&Tt===S.state.dropTargetKey&&tt===S.state.dropContainerKey&&Vt===S.state.dropTargetPos&&dn===S.state.dropAllowed&&Pt===S.state.dragOverNodeKey||S.setState({dropPosition:Be,dropLevelOffset:Zt,dropTargetKey:Tt,dropContainerKey:tt,dropTargetPos:Vt,dropAllowed:dn,dragOverNodeKey:Pt}),Ae==null||Ae({event:T,node:(0,ge.F)(W)}))}}),(0,s.Z)((0,H.Z)(S),"onNodeDragLeave",function(T,W){S.currentMouseOverDroppableNodeKey===W.eventKey&&!T.currentTarget.contains(T.relatedTarget)&&(S.resetDragState(),S.currentMouseOverDroppableNodeKey=null);var F=S.props.onDragLeave;F==null||F({event:T,node:(0,ge.F)(W)})}),(0,s.Z)((0,H.Z)(S),"onWindowDragEnd",function(T){S.onNodeDragEnd(T,null,!0),window.removeEventListener("dragend",S.onWindowDragEnd)}),(0,s.Z)((0,H.Z)(S),"onNodeDragEnd",function(T,W){var F=S.props.onDragEnd;S.setState({dragOverNodeKey:null}),S.cleanDragState(),F==null||F({event:T,node:(0,ge.F)(W)}),S.dragNodeProps=null,window.removeEventListener("dragend",S.onWindowDragEnd)}),(0,s.Z)((0,H.Z)(S),"onNodeDrop",function(T,W){var F,ee=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,q=S.state,ce=q.dragChildrenKeys,me=q.dropPosition,ze=q.dropTargetKey,Fe=q.dropTargetPos,Ae=q.dropAllowed;if(Ae){var Ke=S.props.onDrop;if(S.setState({dragOverNodeKey:null}),S.cleanDragState(),ze!==null){var rt=(0,U.Z)((0,U.Z)({},(0,ge.H8)(ze,S.getTreeNodeRequiredProps())),{},{active:((F=S.getActiveItem())===null||F===void 0?void 0:F.key)===ze,data:(0,Ie.Z)(S.state.keyEntities,ze).node}),Ve=ce.includes(ze);(0,o.ZP)(!Ve,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Be=(0,Ye.yx)(Fe),Zt={event:T,node:(0,ge.F)(rt),dragNode:S.dragNodeProps?(0,ge.F)(S.dragNodeProps):null,dragNodesKeys:[S.dragNodeProps.eventKey].concat(ce),dropToGap:me!==0,dropPosition:me+Number(Be[Be.length-1])};ee||Ke==null||Ke(Zt),S.dragNodeProps=null}}}),(0,s.Z)((0,H.Z)(S),"cleanDragState",function(){var T=S.state.draggingNodeKey;T!==null&&S.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),S.dragStartMousePosition=null,S.currentMouseOverDroppableNodeKey=null}),(0,s.Z)((0,H.Z)(S),"triggerExpandActionExpand",function(T,W){var F=S.state,ee=F.expandedKeys,q=F.flattenNodes,ce=W.expanded,me=W.key,ze=W.isLeaf;if(!(ze||T.shiftKey||T.metaKey||T.ctrlKey)){var Fe=q.filter(function(Ke){return Ke.key===me})[0],Ae=(0,ge.F)((0,U.Z)((0,U.Z)({},(0,ge.H8)(me,S.getTreeNodeRequiredProps())),{},{data:Fe.data}));S.setExpandedKeys(ce?(0,Ye._5)(ee,me):(0,Ye.L0)(ee,me)),S.onNodeExpand(T,Ae)}}),(0,s.Z)((0,H.Z)(S),"onNodeClick",function(T,W){var F=S.props,ee=F.onClick,q=F.expandAction;q==="click"&&S.triggerExpandActionExpand(T,W),ee==null||ee(T,W)}),(0,s.Z)((0,H.Z)(S),"onNodeDoubleClick",function(T,W){var F=S.props,ee=F.onDoubleClick,q=F.expandAction;q==="doubleClick"&&S.triggerExpandActionExpand(T,W),ee==null||ee(T,W)}),(0,s.Z)((0,H.Z)(S),"onNodeSelect",function(T,W){var F=S.state.selectedKeys,ee=S.state,q=ee.keyEntities,ce=ee.fieldNames,me=S.props,ze=me.onSelect,Fe=me.multiple,Ae=W.selected,Ke=W[ce.key],rt=!Ae;rt?Fe?F=(0,Ye.L0)(F,Ke):F=[Ke]:F=(0,Ye._5)(F,Ke);var Ve=F.map(function(Be){var Zt=(0,Ie.Z)(q,Be);return Zt?Zt.node:null}).filter(Boolean);S.setUncontrolledState({selectedKeys:F}),ze==null||ze(F,{event:"select",selected:rt,node:W,selectedNodes:Ve,nativeEvent:T.nativeEvent})}),(0,s.Z)((0,H.Z)(S),"onNodeCheck",function(T,W,F){var ee=S.state,q=ee.keyEntities,ce=ee.checkedKeys,me=ee.halfCheckedKeys,ze=S.props,Fe=ze.checkStrictly,Ae=ze.onCheck,Ke=W.key,rt,Ve={event:"check",node:W,checked:F,nativeEvent:T.nativeEvent};if(Fe){var Be=F?(0,Ye.L0)(ce,Ke):(0,Ye._5)(ce,Ke),Zt=(0,Ye._5)(me,Ke);rt={checked:Be,halfChecked:Zt},Ve.checkedNodes=Be.map(function(ut){return(0,Ie.Z)(q,ut)}).filter(Boolean).map(function(ut){return ut.node}),S.setUncontrolledState({checkedKeys:Be})}else{var Tt=(0,Mt.S)([].concat((0,Q.Z)(ce),[Ke]),!0,q),tt=Tt.checkedKeys,Vt=Tt.halfCheckedKeys;if(!F){var dn=new Set(tt);dn.delete(Ke);var Pt=(0,Mt.S)(Array.from(dn),{checked:!1,halfCheckedKeys:Vt},q);tt=Pt.checkedKeys,Vt=Pt.halfCheckedKeys}rt=tt,Ve.checkedNodes=[],Ve.checkedNodesPositions=[],Ve.halfCheckedKeys=Vt,tt.forEach(function(ut){var Lt=(0,Ie.Z)(q,ut);if(Lt){var ln=Lt.node,tn=Lt.pos;Ve.checkedNodes.push(ln),Ve.checkedNodesPositions.push({node:ln,pos:tn})}}),S.setUncontrolledState({checkedKeys:tt},!1,{halfCheckedKeys:Vt})}Ae==null||Ae(rt,Ve)}),(0,s.Z)((0,H.Z)(S),"onNodeLoad",function(T){var W,F=T.key,ee=S.state.keyEntities,q=(0,Ie.Z)(ee,F);if(!(q!=null&&(W=q.children)!==null&&W!==void 0&&W.length)){var ce=new Promise(function(me,ze){S.setState(function(Fe){var Ae=Fe.loadedKeys,Ke=Ae===void 0?[]:Ae,rt=Fe.loadingKeys,Ve=rt===void 0?[]:rt,Be=S.props,Zt=Be.loadData,Tt=Be.onLoad;if(!Zt||Ke.includes(F)||Ve.includes(F))return null;var tt=Zt(T);return tt.then(function(){var Vt=S.state.loadedKeys,dn=(0,Ye.L0)(Vt,F);Tt==null||Tt(dn,{event:"load",node:T}),S.setUncontrolledState({loadedKeys:dn}),S.setState(function(Pt){return{loadingKeys:(0,Ye._5)(Pt.loadingKeys,F)}}),me()}).catch(function(Vt){if(S.setState(function(Pt){return{loadingKeys:(0,Ye._5)(Pt.loadingKeys,F)}}),S.loadingRetryTimes[F]=(S.loadingRetryTimes[F]||0)+1,S.loadingRetryTimes[F]>=Pe){var dn=S.state.loadedKeys;(0,o.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),S.setUncontrolledState({loadedKeys:(0,Ye.L0)(dn,F)}),me()}ze(Vt)}),{loadingKeys:(0,Ye.L0)(Ve,F)}})});return ce.catch(function(){}),ce}}),(0,s.Z)((0,H.Z)(S),"onNodeMouseEnter",function(T,W){var F=S.props.onMouseEnter;F==null||F({event:T,node:W})}),(0,s.Z)((0,H.Z)(S),"onNodeMouseLeave",function(T,W){var F=S.props.onMouseLeave;F==null||F({event:T,node:W})}),(0,s.Z)((0,H.Z)(S),"onNodeContextMenu",function(T,W){var F=S.props.onRightClick;F&&(T.preventDefault(),F({event:T,node:W}))}),(0,s.Z)((0,H.Z)(S),"onFocus",function(){var T=S.props.onFocus;S.setState({focused:!0});for(var W=arguments.length,F=new Array(W),ee=0;ee<W;ee++)F[ee]=arguments[ee];T==null||T.apply(void 0,F)}),(0,s.Z)((0,H.Z)(S),"onBlur",function(){var T=S.props.onBlur;S.setState({focused:!1}),S.onActiveChange(null);for(var W=arguments.length,F=new Array(W),ee=0;ee<W;ee++)F[ee]=arguments[ee];T==null||T.apply(void 0,F)}),(0,s.Z)((0,H.Z)(S),"getTreeNodeRequiredProps",function(){var T=S.state,W=T.expandedKeys,F=T.selectedKeys,ee=T.loadedKeys,q=T.loadingKeys,ce=T.checkedKeys,me=T.halfCheckedKeys,ze=T.dragOverNodeKey,Fe=T.dropPosition,Ae=T.keyEntities;return{expandedKeys:W||[],selectedKeys:F||[],loadedKeys:ee||[],loadingKeys:q||[],checkedKeys:ce||[],halfCheckedKeys:me||[],dragOverNodeKey:ze,dropPosition:Fe,keyEntities:Ae}}),(0,s.Z)((0,H.Z)(S),"setExpandedKeys",function(T){var W=S.state,F=W.treeData,ee=W.fieldNames,q=(0,ge.oH)(F,T,ee);S.setUncontrolledState({expandedKeys:T,flattenNodes:q},!0)}),(0,s.Z)((0,H.Z)(S),"onNodeExpand",function(T,W){var F=S.state.expandedKeys,ee=S.state,q=ee.listChanging,ce=ee.fieldNames,me=S.props,ze=me.onExpand,Fe=me.loadData,Ae=W.expanded,Ke=W[ce.key];if(!q){var rt=F.includes(Ke),Ve=!Ae;if((0,o.ZP)(Ae&&rt||!Ae&&!rt,"Expand state not sync with index check"),F=Ve?(0,Ye.L0)(F,Ke):(0,Ye._5)(F,Ke),S.setExpandedKeys(F),ze==null||ze(F,{node:W,expanded:Ve,nativeEvent:T.nativeEvent}),Ve&&Fe){var Be=S.onNodeLoad(W);Be&&Be.then(function(){var Zt=(0,ge.oH)(S.state.treeData,F,ce);S.setUncontrolledState({flattenNodes:Zt})}).catch(function(){var Zt=S.state.expandedKeys,Tt=(0,Ye._5)(Zt,Ke);S.setExpandedKeys(Tt)})}}}),(0,s.Z)((0,H.Z)(S),"onListChangeStart",function(){S.setUncontrolledState({listChanging:!0})}),(0,s.Z)((0,H.Z)(S),"onListChangeEnd",function(){setTimeout(function(){S.setUncontrolledState({listChanging:!1})})}),(0,s.Z)((0,H.Z)(S),"onActiveChange",function(T){var W=S.state.activeKey,F=S.props,ee=F.onActiveChange,q=F.itemScrollOffset,ce=q===void 0?0:q;W!==T&&(S.setState({activeKey:T}),T!==null&&S.scrollTo({key:T,offset:ce}),ee==null||ee(T))}),(0,s.Z)((0,H.Z)(S),"getActiveItem",function(){var T=S.state,W=T.activeKey,F=T.flattenNodes;return W===null?null:F.find(function(ee){var q=ee.key;return q===W})||null}),(0,s.Z)((0,H.Z)(S),"offsetActiveKey",function(T){var W=S.state,F=W.flattenNodes,ee=W.activeKey,q=F.findIndex(function(ze){var Fe=ze.key;return Fe===ee});q===-1&&T<0&&(q=F.length),q=(q+T+F.length)%F.length;var ce=F[q];if(ce){var me=ce.key;S.onActiveChange(me)}else S.onActiveChange(null)}),(0,s.Z)((0,H.Z)(S),"onKeyDown",function(T){var W=S.state,F=W.activeKey,ee=W.expandedKeys,q=W.checkedKeys,ce=W.fieldNames,me=S.props,ze=me.onKeyDown,Fe=me.checkable,Ae=me.selectable;switch(T.which){case r.Z.UP:{S.offsetActiveKey(-1),T.preventDefault();break}case r.Z.DOWN:{S.offsetActiveKey(1),T.preventDefault();break}}var Ke=S.getActiveItem();if(Ke&&Ke.data){var rt=S.getTreeNodeRequiredProps(),Ve=Ke.data.isLeaf===!1||!!(Ke.data[ce.children]||[]).length,Be=(0,ge.F)((0,U.Z)((0,U.Z)({},(0,ge.H8)(F,rt)),{},{data:Ke.data,active:!0}));switch(T.which){case r.Z.LEFT:{Ve&&ee.includes(F)?S.onNodeExpand({},Be):Ke.parent&&S.onActiveChange(Ke.parent.key),T.preventDefault();break}case r.Z.RIGHT:{Ve&&!ee.includes(F)?S.onNodeExpand({},Be):Ke.children&&Ke.children.length&&S.onActiveChange(Ke.children[0].key),T.preventDefault();break}case r.Z.ENTER:case r.Z.SPACE:{Fe&&!Be.disabled&&Be.checkable!==!1&&!Be.disableCheckbox?S.onNodeCheck({},Be,!q.includes(F)):!Fe&&Ae&&!Be.disabled&&Be.selectable!==!1&&S.onNodeSelect({},Be);break}}}ze==null||ze(T)}),(0,s.Z)((0,H.Z)(S),"setUncontrolledState",function(T){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!S.destroyed){var ee=!1,q=!0,ce={};Object.keys(T).forEach(function(me){if(S.props.hasOwnProperty(me)){q=!1;return}ee=!0,ce[me]=T[me]}),ee&&(!W||q)&&S.setState((0,U.Z)((0,U.Z)({},ce),F))}}),(0,s.Z)((0,H.Z)(S),"scrollTo",function(T){S.listRef.current.scrollTo(T)}),S}return(0,p.Z)(ve,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var c=this.props,k=c.activeKey,z=c.itemScrollOffset,T=z===void 0?0:z;k!==void 0&&k!==this.state.activeKey&&(this.setState({activeKey:k}),k!==null&&this.scrollTo({key:k,offset:T}))}},{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 c=this.state,k=c.focused,z=c.flattenNodes,T=c.keyEntities,W=c.draggingNodeKey,F=c.activeKey,ee=c.dropLevelOffset,q=c.dropContainerKey,ce=c.dropTargetKey,me=c.dropPosition,ze=c.dragOverNodeKey,Fe=c.indent,Ae=this.props,Ke=Ae.prefixCls,rt=Ae.className,Ve=Ae.style,Be=Ae.showLine,Zt=Ae.focusable,Tt=Ae.tabIndex,tt=Tt===void 0?0:Tt,Vt=Ae.selectable,dn=Ae.showIcon,Pt=Ae.icon,ut=Ae.switcherIcon,Lt=Ae.draggable,ln=Ae.checkable,tn=Ae.checkStrictly,Qt=Ae.disabled,_n=Ae.motion,wt=Ae.loadData,ft=Ae.filterTreeNode,vt=Ae.height,Gt=Ae.itemHeight,Cn=Ae.scrollWidth,jt=Ae.virtual,kn=Ae.titleRender,Wn=Ae.dropIndicatorRender,sn=Ae.onContextMenu,gn=Ae.onScroll,Pn=Ae.direction,En=Ae.rootClassName,On=Ae.rootStyle,mn=(0,a.Z)(this.props,{aria:!0,data:!0}),Nn;Lt&&((0,O.Z)(Lt)==="object"?Nn=Lt:typeof Lt=="function"?Nn={nodeDraggable:Lt}:Nn={});var Dn={prefixCls:Ke,selectable:Vt,showIcon:dn,icon:Pt,switcherIcon:ut,draggable:Nn,draggingNodeKey:W,checkable:ln,checkStrictly:tn,disabled:Qt,keyEntities:T,dropLevelOffset:ee,dropContainerKey:q,dropTargetKey:ce,dropPosition:me,dragOverNodeKey:ze,indent:Fe,direction:Pn,dropIndicatorRender:Wn,loadData:wt,filterTreeNode:ft,titleRender:kn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return m.createElement(x.k.Provider,{value:Dn},m.createElement("div",{className:t()(Ke,rt,En,(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(Ke,"-show-line"),Be),"".concat(Ke,"-focused"),k),"".concat(Ke,"-active-focused"),F!==null)),style:On},m.createElement(ye,(0,P.Z)({ref:this.listRef,prefixCls:Ke,style:Ve,data:z,disabled:Qt,selectable:Vt,checkable:!!ln,motion:_n,dragging:W!==null,height:vt,itemHeight:Gt,virtual:jt,focusable:Zt,focused:k,tabIndex:tt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:sn,onScroll:gn,scrollWidth:Cn},this.getTreeNodeRequiredProps(),mn))))}}],[{key:"getDerivedStateFromProps",value:function(c,k){var z=k.prevProps,T={prevProps:c};function W(tt){return!z&&c.hasOwnProperty(tt)||z&&z[tt]!==c[tt]}var F,ee=k.fieldNames;if(W("fieldNames")&&(ee=(0,ge.w$)(c.fieldNames),T.fieldNames=ee),W("treeData")?F=c.treeData:W("children")&&((0,o.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),F=(0,ge.zn)(c.children)),F){T.treeData=F;var q=(0,ge.I8)(F,{fieldNames:ee});T.keyEntities=(0,U.Z)((0,s.Z)({},y,le),q.keyEntities)}var ce=T.keyEntities||k.keyEntities;if(W("expandedKeys")||z&&W("autoExpandParent"))T.expandedKeys=c.autoExpandParent||!z&&c.defaultExpandParent?(0,Ye.r7)(c.expandedKeys,ce):c.expandedKeys;else if(!z&&c.defaultExpandAll){var me=(0,U.Z)({},ce);delete me[y];var ze=[];Object.keys(me).forEach(function(tt){var Vt=me[tt];Vt.children&&Vt.children.length&&ze.push(Vt.key)}),T.expandedKeys=ze}else!z&&c.defaultExpandedKeys&&(T.expandedKeys=c.autoExpandParent||c.defaultExpandParent?(0,Ye.r7)(c.defaultExpandedKeys,ce):c.defaultExpandedKeys);if(T.expandedKeys||delete T.expandedKeys,F||T.expandedKeys){var Fe=(0,ge.oH)(F||k.treeData,T.expandedKeys||k.expandedKeys,ee);T.flattenNodes=Fe}if(c.selectable&&(W("selectedKeys")?T.selectedKeys=(0,Ye.BT)(c.selectedKeys,c):!z&&c.defaultSelectedKeys&&(T.selectedKeys=(0,Ye.BT)(c.defaultSelectedKeys,c))),c.checkable){var Ae;if(W("checkedKeys")?Ae=(0,Ye.E6)(c.checkedKeys)||{}:!z&&c.defaultCheckedKeys?Ae=(0,Ye.E6)(c.defaultCheckedKeys)||{}:F&&(Ae=(0,Ye.E6)(c.checkedKeys)||{checkedKeys:k.checkedKeys,halfCheckedKeys:k.halfCheckedKeys}),Ae){var Ke=Ae,rt=Ke.checkedKeys,Ve=rt===void 0?[]:rt,Be=Ke.halfCheckedKeys,Zt=Be===void 0?[]:Be;if(!c.checkStrictly){var Tt=(0,Mt.S)(Ve,!0,ce);Ve=Tt.checkedKeys,Zt=Tt.halfCheckedKeys}T.checkedKeys=Ve,T.halfCheckedKeys=Zt}}return W("loadedKeys")&&(T.loadedKeys=c.loadedKeys),T}}]),ve}(m.Component);(0,s.Z)(D,"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)(D,"TreeNode",j.Z);var A=D,X=A},82661:function(Bt,Ze,u){"use strict";u.d(Ze,{BT:function(){return m},E6:function(){return _},L0:function(){return s},OM:function(){return o},_5:function(){return e},r7:function(){return v},wA:function(){return t},yx:function(){return f}});var P=u(80702),O=u(62853),U=u(48736),Q=u(59301),V=u(639),p=u(65065),H=u(34061),$=null;function e(d,l){if(!d)return[];var N=d.slice(),R=N.indexOf(l);return R>=0&&N.splice(R,1),N}function s(d,l){var N=(d||[]).slice();return N.indexOf(l)===-1&&N.push(l),N}function f(d){return d.split("-")}function t(d,l){var N=[],R=(0,p.Z)(l,d);function L(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];j.forEach(function(J){var B=J.key,ge=J.children;N.push(B),L(ge)})}return L(R.children),N}function r(d){if(d.parent){var l=f(d.pos);return Number(l[l.length-1])===d.parent.children.length-1}return!1}function a(d){var l=f(d.pos);return Number(l[l.length-1])===0}function o(d,l,N,R,L,j,J,B,ge,g){var h,b=d.clientX,C=d.clientY,I=d.target.getBoundingClientRect(),w=I.top,n=I.height,i=(g==="rtl"?-1:1)*(((L==null?void 0:L.x)||0)-b),y=(i-12)/R,K=ge.filter(function(X){var M;return(M=B[X])===null||M===void 0||(M=M.children)===null||M===void 0?void 0:M.length}),le=(0,p.Z)(B,N.eventKey);if(C<w+n/2){var xe=J.findIndex(function(X){return X.key===le.key}),Le=xe<=0?0:xe-1,je=J[Le].key;le=(0,p.Z)(B,je)}var it=le.key,zt=le,ye=le.key,Ye=0,Mt=0;if(!K.includes(it))for(var Ie=0;Ie<y&&r(le);Ie+=1)le=le.parent,Mt+=1;var Pe=l.data,D=le.node,A=!0;return a(le)&&le.level===0&&C<w+n/2&&j({dragNode:Pe,dropNode:D,dropPosition:-1})&&le.key===N.eventKey?Ye=-1:(zt.children||[]).length&&K.includes(ye)?j({dragNode:Pe,dropNode:D,dropPosition:0})?Ye=0:A=!1:Mt===0?y>-1.5?j({dragNode:Pe,dropNode:D,dropPosition:1})?Ye=1:A=!1:j({dragNode:Pe,dropNode:D,dropPosition:0})?Ye=0:j({dragNode:Pe,dropNode:D,dropPosition:1})?Ye=1:A=!1:j({dragNode:Pe,dropNode:D,dropPosition:1})?Ye=1:A=!1,{dropPosition:Ye,dropLevelOffset:Mt,dropTargetKey:le.key,dropTargetPos:le.pos,dragOverNodeKey:ye,dropContainerKey:Ye===0?null:((h=le.parent)===null||h===void 0?void 0:h.key)||null,dropAllowed:A}}function m(d,l){if(d){var N=l.multiple;return N?d.slice():d.length?[d[0]]:d}}var x=function(l){return l};function E(d,l){if(!d)return[];var N=l||{},R=N.processProps,L=R===void 0?x:R,j=Array.isArray(d)?d:[d];return j.map(function(J){var B=J.children,ge=_objectWithoutProperties(J,$),g=E(B,l);return React.createElement(TreeNode,_extends({key:ge.key},L(ge)),g)})}function _(d){if(!d)return null;var l;if(Array.isArray(d))l={checkedKeys:d,halfCheckedKeys:void 0};else if((0,O.Z)(d)==="object")l={checkedKeys:d.checked||void 0,halfCheckedKeys:d.halfChecked||void 0};else return(0,U.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return l}function v(d,l){var N=new Set;function R(L){if(!N.has(L)){var j=(0,p.Z)(l,L);if(j){N.add(L);var J=j.parent,B=j.node;B.disabled||J&&R(J.key)}}}return(d||[]).forEach(function(L){R(L)}),(0,P.Z)(N)}},34643:function(Bt,Ze,u){"use strict";u.d(Ze,{S:function(){return H}});var P=u(48736),O=u(65065);function U($,e){var s=new Set;return $.forEach(function(f){e.has(f)||s.add(f)}),s}function Q($){var e=$||{},s=e.disabled,f=e.disableCheckbox,t=e.checkable;return!!(s||f)||t===!1}function V($,e,s,f){for(var t=new Set($),r=new Set,a=0;a<=s;a+=1){var o=e.get(a)||new Set;o.forEach(function(_){var v=_.key,d=_.node,l=_.children,N=l===void 0?[]:l;t.has(v)&&!f(d)&&N.filter(function(R){return!f(R.node)}).forEach(function(R){t.add(R.key)})})}for(var m=new Set,x=s;x>=0;x-=1){var E=e.get(x)||new Set;E.forEach(function(_){var v=_.parent,d=_.node;if(!(f(d)||!_.parent||m.has(_.parent.key))){if(f(_.parent.node)){m.add(v.key);return}var l=!0,N=!1;(v.children||[]).filter(function(R){return!f(R.node)}).forEach(function(R){var L=R.key,j=t.has(L);l&&!j&&(l=!1),!N&&(j||r.has(L))&&(N=!0)}),l&&t.add(v.key),N&&r.add(v.key),m.add(v.key)}})}return{checkedKeys:Array.from(t),halfCheckedKeys:Array.from(U(r,t))}}function p($,e,s,f,t){for(var r=new Set($),a=new Set(e),o=0;o<=f;o+=1){var m=s.get(o)||new Set;m.forEach(function(v){var d=v.key,l=v.node,N=v.children,R=N===void 0?[]:N;!r.has(d)&&!a.has(d)&&!t(l)&&R.filter(function(L){return!t(L.node)}).forEach(function(L){r.delete(L.key)})})}a=new Set;for(var x=new Set,E=f;E>=0;E-=1){var _=s.get(E)||new Set;_.forEach(function(v){var d=v.parent,l=v.node;if(!(t(l)||!v.parent||x.has(v.parent.key))){if(t(v.parent.node)){x.add(d.key);return}var N=!0,R=!1;(d.children||[]).filter(function(L){return!t(L.node)}).forEach(function(L){var j=L.key,J=r.has(j);N&&!J&&(N=!1),!R&&(J||a.has(j))&&(R=!0)}),N||r.delete(d.key),R&&a.add(d.key),x.add(d.key)}})}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(U(a,r))}}function H($,e,s,f){var t=[],r;f?r=f:r=Q;var a=new Set($.filter(function(E){var _=!!(0,O.Z)(s,E);return _||t.push(E),_})),o=new Map,m=0;Object.keys(s).forEach(function(E){var _=s[E],v=_.level,d=o.get(v);d||(d=new Set,o.set(v,d)),d.add(_),m=Math.max(m,v)}),(0,P.ZP)(!t.length,"Tree missing follow keys: ".concat(t.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var x;return e===!0?x=V(a,o,m,r):x=p(a,e.halfCheckedKeys,o,m,r),x}},65065:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return P}});function P(O,U){return O[U]}},34061:function(Bt,Ze,u){"use strict";u.d(Ze,{F:function(){return v},H8:function(){return _},I8:function(){return E},km:function(){return t},oH:function(){return m},w$:function(){return r},zn:function(){return o}});var P=u(62853),O=u(80702),U=u(77321),Q=u(74416),V=u(11592),p=u(2738),H=u(48736),$=u(65065),e=["children"];function s(d,l){return"".concat(d,"-").concat(l)}function f(d){return d&&d.type&&d.type.isTreeNode}function t(d,l){return d!=null?d:l}function r(d){var l=d||{},N=l.title,R=l._title,L=l.key,j=l.children,J=N||"title";return{title:J,_title:R||[J],key:L||"key",children:j||"children"}}function a(d,l){var N=new Map;function R(L){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(L||[]).forEach(function(J){var B=J[l.key],ge=J[l.children];warning(B!=null,"Tree node must have a certain key: [".concat(j).concat(B,"]"));var g=String(B);warning(!N.has(g)||B===null||B===void 0,"Same 'key' exist in the Tree: ".concat(g)),N.set(g,!0),R(ge,"".concat(j).concat(g," > "))})}R(d)}function o(d){function l(N){var R=(0,V.Z)(N);return R.map(function(L){if(!f(L))return(0,H.ZP)(!L,"Tree/TreeNode can only accept TreeNode as children."),null;var j=L.key,J=L.props,B=J.children,ge=(0,Q.Z)(J,e),g=(0,U.Z)({key:j},ge),h=l(B);return h.length&&(g.children=h),g}).filter(function(L){return L})}return l(d)}function m(d,l,N){var R=r(N),L=R._title,j=R.key,J=R.children,B=new Set(l===!0?[]:l),ge=[];function g(h){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return h.map(function(C,I){for(var w=s(b?b.pos:"0",I),n=t(C[j],w),i,y=0;y<L.length;y+=1){var K=L[y];if(C[K]!==void 0){i=C[K];break}}var le=Object.assign((0,p.Z)(C,[].concat((0,O.Z)(L),[j,J])),{title:i,key:n,parent:b,pos:w,children:null,data:C,isStart:[].concat((0,O.Z)(b?b.isStart:[]),[I===0]),isEnd:[].concat((0,O.Z)(b?b.isEnd:[]),[I===h.length-1])});return ge.push(le),l===!0||B.has(n)?le.children=g(C[J]||[],le):le.children=[],le})}return g(d),ge}function x(d,l,N){var R={};(0,P.Z)(N)==="object"?R=N:R={externalGetKey:N},R=R||{};var L=R,j=L.childrenPropName,J=L.externalGetKey,B=L.fieldNames,ge=r(B),g=ge.key,h=ge.children,b=j||h,C;J?typeof J=="string"?C=function(n){return n[J]}:typeof J=="function"&&(C=function(n){return J(n)}):C=function(n,i){return t(n[g],i)};function I(w,n,i,y){var K=w?w[b]:d,le=w?s(i.pos,n):"0",xe=w?[].concat((0,O.Z)(y),[w]):[];if(w){var Le=C(w,le),je={node:w,index:n,pos:le,key:Le,parentPos:i.node?i.pos:null,level:i.level+1,nodes:xe};l(je)}K&&K.forEach(function(it,zt){I(it,zt,{node:w,pos:le,level:i?i.level+1:-1},xe)})}I(null)}function E(d){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},N=l.initWrapper,R=l.processEntity,L=l.onProcessFinished,j=l.externalGetKey,J=l.childrenPropName,B=l.fieldNames,ge=arguments.length>2?arguments[2]:void 0,g=j||ge,h={},b={},C={posEntities:h,keyEntities:b};return N&&(C=N(C)||C),x(d,function(I){var w=I.node,n=I.index,i=I.pos,y=I.key,K=I.parentPos,le=I.level,xe=I.nodes,Le={node:w,nodes:xe,index:n,key:y,pos:i,level:le},je=t(y,i);h[i]=Le,b[je]=Le,Le.parent=h[K],Le.parent&&(Le.parent.children=Le.parent.children||[],Le.parent.children.push(Le)),R&&R(Le,C)},{externalGetKey:g,childrenPropName:J,fieldNames:B}),L&&L(C),C}function _(d,l){var N=l.expandedKeys,R=l.selectedKeys,L=l.loadedKeys,j=l.loadingKeys,J=l.checkedKeys,B=l.halfCheckedKeys,ge=l.dragOverNodeKey,g=l.dropPosition,h=l.keyEntities,b=(0,$.Z)(h,d),C={eventKey:d,expanded:N.indexOf(d)!==-1,selected:R.indexOf(d)!==-1,loaded:L.indexOf(d)!==-1,loading:j.indexOf(d)!==-1,checked:J.indexOf(d)!==-1,halfChecked:B.indexOf(d)!==-1,pos:String(b?b.pos:""),dragOver:ge===d&&g===0,dragOverGapTop:ge===d&&g===-1,dragOverGapBottom:ge===d&&g===1};return C}function v(d){var l=d.data,N=d.expanded,R=d.selected,L=d.checked,j=d.loaded,J=d.loading,B=d.halfChecked,ge=d.dragOver,g=d.dragOverGapTop,h=d.dragOverGapBottom,b=d.pos,C=d.active,I=d.eventKey,w=(0,U.Z)((0,U.Z)({},l),{},{expanded:N,selected:R,checked:L,loaded:j,loading:J,halfChecked:B,dragOver:ge,dragOverGapTop:g,dragOverGapBottom:h,pos:b,active:C,key:I});return"props"in w||Object.defineProperty(w,"props",{get:function(){return(0,H.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),d}}),w}},8224:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return O}});var P=u(4676);function O(U,Q,V,p){var H=P.unstable_batchedUpdates?function(e){P.unstable_batchedUpdates(V,e)}:V;return U!=null&&U.addEventListener&&U.addEventListener(Q,H,p),{remove:function(){U!=null&&U.removeEventListener&&U.removeEventListener(Q,H,p)}}}},24514:function(Bt,Ze,u){"use strict";u.d(Ze,{G:function(){return Q}});var P=u(47273),O=function(p){if((0,P.Z)()&&window.document.documentElement){var H=Array.isArray(p)?p:[p],$=window.document.documentElement;return H.some(function(e){return e in $.style})}return!1},U=function(p,H){if(!O(p))return!1;var $=document.createElement("div"),e=$.style[p];return $.style[p]=H,$.style[p]!==e};function Q(V,p){return!Array.isArray(V)&&p!==void 0?U(V,p):O(V)}},49658:function(Bt,Ze){"use strict";Ze.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var u=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(u)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(u==null?void 0:u.substr(0,4))}},45680:function(Bt,Ze,u){"use strict";u.d(Ze,{Z:function(){return Pe}});var P=u(72308),O=u(62853),U=u(77321),Q=u(49618),V=u(52487),p=u(74416),H=u(92310),$=u.n(H),e=u(29301),s=u(70425),f=u(34280),t=u(59301),r=u(4676),a=t.forwardRef(function(D,A){var X=D.height,M=D.offsetY,se=D.offsetX,ve=D.children,S=D.prefixCls,c=D.onInnerResize,k=D.innerProps,z=D.rtl,T=D.extra,W={},F={display:"flex",flexDirection:"column"};return M!==void 0&&(W={height:X,position:"relative",overflow:"hidden"},F=(0,U.Z)((0,U.Z)({},F),{},(0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)((0,Q.Z)({transform:"translateY(".concat(M,"px)")},z?"marginRight":"marginLeft",-se),"position","absolute"),"left",0),"right",0),"top",0))),t.createElement("div",{style:W},t.createElement(e.Z,{onResize:function(q){var ce=q.offsetHeight;ce&&c&&c()}},t.createElement("div",(0,P.Z)({style:F,className:$()((0,Q.Z)({},"".concat(S,"-holder-inner"),S)),ref:A},k),ve,T)))});a.displayName="Filler";var o=a;function m(D){var A=D.children,X=D.setRef,M=t.useCallback(function(se){X(se)},[]);return t.cloneElement(A,{ref:M})}function x(D,A,X,M,se,ve,S,c){var k=c.getKey;return D.slice(A,X+1).map(function(z,T){var W=A+T,F=S(z,W,{style:{width:M},offsetX:se}),ee=k(z);return t.createElement(m,{key:ee,setRef:function(ce){return ve(z,ce)}},F)})}function E(D,A,X,M){var se=X-D,ve=A-X,S=Math.min(se,ve)*2;if(M<=S){var c=Math.floor(M/2);return M%2?X+c+1:X-c}return se>ve?X-(M-ve):X+(M-se)}function _(D,A,X){var M=D.length,se=A.length,ve,S;if(M===0&&se===0)return null;M<se?(ve=D,S=A):(ve=A,S=D);var c={__EMPTY_ITEM__:!0};function k(q){return q!==void 0?X(q):c}for(var z=null,T=Math.abs(M-se)!==1,W=0;W<S.length;W+=1){var F=k(ve[W]),ee=k(S[W]);if(F!==ee){z=W,T=T||F!==k(S[W+1]);break}}return z===null?null:{index:z,multiple:T}}function v(D,A,X){var M=t.useState(D),se=(0,V.Z)(M,2),ve=se[0],S=se[1],c=t.useState(null),k=(0,V.Z)(c,2),z=k[0],T=k[1];return t.useEffect(function(){var W=_(ve||[],D||[],A);(W==null?void 0:W.index)!==void 0&&(X==null||X(W.index),T(D[W.index])),S(D)},[D]),[z]}var d=u(16089),l=(typeof navigator=="undefined"?"undefined":(0,O.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),N=l,R=function(D,A,X,M){var se=(0,t.useRef)(!1),ve=(0,t.useRef)(null);function S(){clearTimeout(ve.current),se.current=!0,ve.current=setTimeout(function(){se.current=!1},50)}var c=(0,t.useRef)({top:D,bottom:A,left:X,right:M});return c.current.top=D,c.current.bottom=A,c.current.left=X,c.current.right=M,function(k,z){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,W=k?z<0&&c.current.left||z>0&&c.current.right:z<0&&c.current.top||z>0&&c.current.bottom;return T&&W?(clearTimeout(ve.current),se.current=!1):(!W||se.current)&&S(),!se.current&&W}};function L(D,A,X,M,se,ve,S){var c=(0,t.useRef)(0),k=(0,t.useRef)(null),z=(0,t.useRef)(null),T=(0,t.useRef)(!1),W=R(A,X,M,se);function F(Fe,Ae){if(d.Z.cancel(k.current),!W(!1,Ae)){var Ke=Fe;if(!Ke._virtualHandled)Ke._virtualHandled=!0;else return;c.current+=Ae,z.current=Ae,N||Ke.preventDefault(),k.current=(0,d.Z)(function(){var rt=T.current?10:1;S(c.current*rt,!1),c.current=0})}}function ee(Fe,Ae){S(Ae,!0),N||Fe.preventDefault()}var q=(0,t.useRef)(null),ce=(0,t.useRef)(null);function me(Fe){if(D){d.Z.cancel(ce.current),ce.current=(0,d.Z)(function(){q.current=null},2);var Ae=Fe.deltaX,Ke=Fe.deltaY,rt=Fe.shiftKey,Ve=Ae,Be=Ke;(q.current==="sx"||!q.current&&rt&&Ke&&!Ae)&&(Ve=Ke,Be=0,q.current="sx");var Zt=Math.abs(Ve),Tt=Math.abs(Be);q.current===null&&(q.current=ve&&Zt>Tt?"x":"y"),q.current==="y"?F(Fe,Be):ee(Fe,Ve)}}function ze(Fe){D&&(T.current=Fe.detail===z.current)}return[me,ze]}function j(D,A,X,M){var se=t.useMemo(function(){return[new Map,[]]},[D,X.id,M]),ve=(0,V.Z)(se,2),S=ve[0],c=ve[1],k=function(T){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:T,F=S.get(T),ee=S.get(W);if(F===void 0||ee===void 0)for(var q=D.length,ce=c.length;ce<q;ce+=1){var me,ze=D[ce],Fe=A(ze);S.set(Fe,ce);var Ae=(me=X.get(Fe))!==null&&me!==void 0?me:M;if(c[ce]=(c[ce-1]||0)+Ae,Fe===T&&(F=ce),Fe===W&&(ee=ce),F!==void 0&&ee!==void 0)break}return{top:c[F-1]||0,bottom:c[ee]}};return k}var J=u(96949),B=u(55090),ge=function(){function D(){(0,J.Z)(this,D),(0,Q.Z)(this,"maps",void 0),(0,Q.Z)(this,"id",0),(0,Q.Z)(this,"diffKeys",new Set),this.maps=Object.create(null)}return(0,B.Z)(D,[{key:"set",value:function(X,M){this.maps[X]=M,this.id+=1,this.diffKeys.add(X)}},{key:"get",value:function(X){return this.maps[X]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),D}(),g=ge;function h(D){var A=parseFloat(D);return isNaN(A)?0:A}function b(D,A,X){var M=t.useState(0),se=(0,V.Z)(M,2),ve=se[0],S=se[1],c=(0,t.useRef)(new Map),k=(0,t.useRef)(new g),z=(0,t.useRef)(0);function T(){z.current+=1}function W(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;T();var q=function(){var ze=!1;c.current.forEach(function(Fe,Ae){if(Fe&&Fe.offsetParent){var Ke=Fe.offsetHeight,rt=getComputedStyle(Fe),Ve=rt.marginTop,Be=rt.marginBottom,Zt=h(Ve),Tt=h(Be),tt=Ke+Zt+Tt;k.current.get(Ae)!==tt&&(k.current.set(Ae,tt),ze=!0)}}),ze&&S(function(Fe){return Fe+1})};if(ee)q();else{z.current+=1;var ce=z.current;Promise.resolve().then(function(){ce===z.current&&q()})}}function F(ee,q){var ce=D(ee),me=c.current.get(ce);q?(c.current.set(ce,q),W()):c.current.delete(ce),!me!=!q&&(q?A==null||A(ee):X==null||X(ee))}return(0,t.useEffect)(function(){return T},[]),[F,W,k.current,ve]}var C=14/15;function I(D,A,X){var M=(0,t.useRef)(!1),se=(0,t.useRef)(0),ve=(0,t.useRef)(0),S=(0,t.useRef)(null),c=(0,t.useRef)(null),k,z=function(ee){if(M.current){var q=Math.ceil(ee.touches[0].pageX),ce=Math.ceil(ee.touches[0].pageY),me=se.current-q,ze=ve.current-ce,Fe=Math.abs(me)>Math.abs(ze);Fe?se.current=q:ve.current=ce;var Ae=X(Fe,Fe?me:ze,!1,ee);Ae&&ee.preventDefault(),clearInterval(c.current),Ae&&(c.current=setInterval(function(){Fe?me*=C:ze*=C;var Ke=Math.floor(Fe?me:ze);(!X(Fe,Ke,!0)||Math.abs(Ke)<=.1)&&clearInterval(c.current)},16))}},T=function(){M.current=!1,k()},W=function(ee){k(),ee.touches.length===1&&!M.current&&(M.current=!0,se.current=Math.ceil(ee.touches[0].pageX),ve.current=Math.ceil(ee.touches[0].pageY),S.current=ee.target,S.current.addEventListener("touchmove",z,{passive:!1}),S.current.addEventListener("touchend",T,{passive:!0}))};k=function(){S.current&&(S.current.removeEventListener("touchmove",z),S.current.removeEventListener("touchend",T))},(0,f.Z)(function(){return D&&A.current.addEventListener("touchstart",W,{passive:!0}),function(){var F;(F=A.current)===null||F===void 0||F.removeEventListener("touchstart",W),k(),clearInterval(c.current)}},[D])}function w(D){return Math.floor(Math.pow(D,.5))}function n(D,A){var X="touches"in D?D.touches[0]:D;return X[A?"pageX":"pageY"]-window[A?"scrollX":"scrollY"]}function i(D,A,X){t.useEffect(function(){var M=A.current;if(D&&M){var se=!1,ve,S,c=function(){d.Z.cancel(ve)},k=function F(){c(),ve=(0,d.Z)(function(){X(S),F()})},z=function(ee){if(!(ee.target.draggable||ee.button!==0)){var q=ee;q._virtualHandled||(q._virtualHandled=!0,se=!0)}},T=function(){se=!1,c()},W=function(ee){if(se){var q=n(ee,!1),ce=M.getBoundingClientRect(),me=ce.top,ze=ce.bottom;if(q<=me){var Fe=me-q;S=-w(Fe),k()}else if(q>=ze){var Ae=q-ze;S=w(Ae),k()}else c()}};return M.addEventListener("mousedown",z),M.ownerDocument.addEventListener("mouseup",T),M.ownerDocument.addEventListener("mousemove",W),function(){M.removeEventListener("mousedown",z),M.ownerDocument.removeEventListener("mouseup",T),M.ownerDocument.removeEventListener("mousemove",W),c()}}},[D])}var y=10;function K(D,A,X,M,se,ve,S,c){var k=t.useRef(),z=t.useState(null),T=(0,V.Z)(z,2),W=T[0],F=T[1];return(0,f.Z)(function(){if(W&&W.times<y){if(!D.current){F(function(_n){return(0,U.Z)({},_n)});return}ve();var ee=W.targetAlign,q=W.originAlign,ce=W.index,me=W.offset,ze=D.current.clientHeight,Fe=!1,Ae=ee,Ke=null;if(ze){for(var rt=ee||q,Ve=0,Be=0,Zt=0,Tt=Math.min(A.length-1,ce),tt=0;tt<=Tt;tt+=1){var Vt=se(A[tt]);Be=Ve;var dn=X.get(Vt);Zt=Be+(dn===void 0?M:dn),Ve=Zt}for(var Pt=rt==="top"?me:ze-me,ut=Tt;ut>=0;ut-=1){var Lt=se(A[ut]),ln=X.get(Lt);if(ln===void 0){Fe=!0;break}if(Pt-=ln,Pt<=0)break}switch(rt){case"top":Ke=Be-me;break;case"bottom":Ke=Zt-ze+me;break;default:{var tn=D.current.scrollTop,Qt=tn+ze;Be<tn?Ae="top":Zt>Qt&&(Ae="bottom")}}Ke!==null&&S(Ke),Ke!==W.lastTop&&(Fe=!0)}Fe&&F((0,U.Z)((0,U.Z)({},W),{},{times:W.times+1,targetAlign:Ae,lastTop:Ke}))}},[W,D.current]),function(ee){if(ee==null){c();return}if(d.Z.cancel(k.current),typeof ee=="number")S(ee);else if(ee&&(0,O.Z)(ee)==="object"){var q,ce=ee.align;"index"in ee?q=ee.index:q=A.findIndex(function(Fe){return se(Fe)===ee.key});var me=ee.offset,ze=me===void 0?0:me;F({times:0,index:q,offset:ze,originAlign:ce})}}}var le=t.forwardRef(function(D,A){var X=D.prefixCls,M=D.rtl,se=D.scrollOffset,ve=D.scrollRange,S=D.onStartMove,c=D.onStopMove,k=D.onScroll,z=D.horizontal,T=D.spinSize,W=D.containerSize,F=D.style,ee=D.thumbStyle,q=D.showScrollBar,ce=t.useState(!1),me=(0,V.Z)(ce,2),ze=me[0],Fe=me[1],Ae=t.useState(null),Ke=(0,V.Z)(Ae,2),rt=Ke[0],Ve=Ke[1],Be=t.useState(null),Zt=(0,V.Z)(Be,2),Tt=Zt[0],tt=Zt[1],Vt=!M,dn=t.useRef(),Pt=t.useRef(),ut=t.useState(q),Lt=(0,V.Z)(ut,2),ln=Lt[0],tn=Lt[1],Qt=t.useRef(),_n=function(){q===!0||q===!1||(clearTimeout(Qt.current),tn(!0),Qt.current=setTimeout(function(){tn(!1)},3e3))},wt=ve-W||0,ft=W-T||0,vt=t.useMemo(function(){if(se===0||wt===0)return 0;var En=se/wt;return En*ft},[se,wt,ft]),Gt=function(On){On.stopPropagation(),On.preventDefault()},Cn=t.useRef({top:vt,dragging:ze,pageY:rt,startTop:Tt});Cn.current={top:vt,dragging:ze,pageY:rt,startTop:Tt};var jt=function(On){Fe(!0),Ve(n(On,z)),tt(Cn.current.top),S(),On.stopPropagation(),On.preventDefault()};t.useEffect(function(){var En=function(Dn){Dn.preventDefault()},On=dn.current,mn=Pt.current;return On.addEventListener("touchstart",En,{passive:!1}),mn.addEventListener("touchstart",jt,{passive:!1}),function(){On.removeEventListener("touchstart",En),mn.removeEventListener("touchstart",jt)}},[]);var kn=t.useRef();kn.current=wt;var Wn=t.useRef();Wn.current=ft,t.useEffect(function(){if(ze){var En,On=function(Dn){var In=Cn.current,re=In.dragging,G=In.pageY,Ge=In.startTop;d.Z.cancel(En);var De=dn.current.getBoundingClientRect(),Xe=W/(z?De.width:De.height);if(re){var Je=(n(Dn,z)-G)*Xe,ot=Ge;!Vt&&z?ot-=Je:ot+=Je;var nt=kn.current,Me=Wn.current,Ee=Me?ot/Me:0,Ne=Math.ceil(Ee*nt);Ne=Math.max(Ne,0),Ne=Math.min(Ne,nt),En=(0,d.Z)(function(){k(Ne,z)})}},mn=function(){Fe(!1),c()};return window.addEventListener("mousemove",On,{passive:!0}),window.addEventListener("touchmove",On,{passive:!0}),window.addEventListener("mouseup",mn,{passive:!0}),window.addEventListener("touchend",mn,{passive:!0}),function(){window.removeEventListener("mousemove",On),window.removeEventListener("touchmove",On),window.removeEventListener("mouseup",mn),window.removeEventListener("touchend",mn),d.Z.cancel(En)}}},[ze]),t.useEffect(function(){return _n(),function(){clearTimeout(Qt.current)}},[se]),t.useImperativeHandle(A,function(){return{delayHidden:_n}});var sn="".concat(X,"-scrollbar"),gn={position:"absolute",visibility:ln?null:"hidden"},Pn={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return z?(gn.height=8,gn.left=0,gn.right=0,gn.bottom=0,Pn.height="100%",Pn.width=T,Vt?Pn.left=vt:Pn.right=vt):(gn.width=8,gn.top=0,gn.bottom=0,Vt?gn.right=0:gn.left=0,Pn.width="100%",Pn.height=T,Pn.top=vt),t.createElement("div",{ref:dn,className:$()(sn,(0,Q.Z)((0,Q.Z)((0,Q.Z)({},"".concat(sn,"-horizontal"),z),"".concat(sn,"-vertical"),!z),"".concat(sn,"-visible"),ln)),style:(0,U.Z)((0,U.Z)({},gn),F),onMouseDown:Gt,onMouseMove:_n},t.createElement("div",{ref:Pt,className:$()("".concat(sn,"-thumb"),(0,Q.Z)({},"".concat(sn,"-thumb-moving"),ze)),style:(0,U.Z)((0,U.Z)({},Pn),ee),onMouseDown:jt}))}),xe=le,Le=20;function je(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,X=D/A*D;return isNaN(X)&&(X=0),X=Math.max(X,Le),Math.floor(X)}var it=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],zt=[],ye={overflowY:"auto",overflowAnchor:"none"};function Ye(D,A){var X=D.prefixCls,M=X===void 0?"rc-virtual-list":X,se=D.className,ve=D.height,S=D.itemHeight,c=D.fullHeight,k=c===void 0?!0:c,z=D.style,T=D.data,W=D.children,F=D.itemKey,ee=D.virtual,q=D.direction,ce=D.scrollWidth,me=D.component,ze=me===void 0?"div":me,Fe=D.onScroll,Ae=D.onVirtualScroll,Ke=D.onVisibleChange,rt=D.innerProps,Ve=D.extraRender,Be=D.styles,Zt=D.showScrollBar,Tt=Zt===void 0?"optional":Zt,tt=(0,p.Z)(D,it),Vt=t.useCallback(function(te){return typeof F=="function"?F(te):te==null?void 0:te[F]},[F]),dn=b(Vt,null,null),Pt=(0,V.Z)(dn,4),ut=Pt[0],Lt=Pt[1],ln=Pt[2],tn=Pt[3],Qt=!!(ee!==!1&&ve&&S),_n=t.useMemo(function(){return Object.values(ln.maps).reduce(function(te,oe){return te+oe},0)},[ln.id,ln.maps]),wt=Qt&&T&&(Math.max(S*T.length,_n)>ve||!!ce),ft=q==="rtl",vt=$()(M,(0,Q.Z)({},"".concat(M,"-rtl"),ft),se),Gt=T||zt,Cn=(0,t.useRef)(),jt=(0,t.useRef)(),kn=(0,t.useRef)(),Wn=(0,t.useState)(0),sn=(0,V.Z)(Wn,2),gn=sn[0],Pn=sn[1],En=(0,t.useState)(0),On=(0,V.Z)(En,2),mn=On[0],Nn=On[1],Dn=(0,t.useState)(!1),In=(0,V.Z)(Dn,2),re=In[0],G=In[1],Ge=function(){G(!0)},De=function(){G(!1)},Xe={getKey:Vt};function Je(te){Pn(function(oe){var _e;typeof te=="function"?_e=te(oe):_e=te;var Oe=mt(_e);return Cn.current.scrollTop=Oe,Oe})}var ot=(0,t.useRef)({start:0,end:Gt.length}),nt=(0,t.useRef)(),Me=v(Gt,Vt),Ee=(0,V.Z)(Me,1),Ne=Ee[0];nt.current=Ne;var $e=t.useMemo(function(){if(!Qt)return{scrollHeight:void 0,start:0,end:Gt.length-1,offset:void 0};if(!wt){var te;return{scrollHeight:((te=jt.current)===null||te===void 0?void 0:te.offsetHeight)||0,start:0,end:Gt.length-1,offset:void 0}}for(var oe=0,_e,Oe,Se,et=Gt.length,Rt=0;Rt<et;Rt+=1){var bt=Gt[Rt],At=Vt(bt),Ct=ln.get(At),Kt=oe+(Ct===void 0?S:Ct);Kt>=gn&&_e===void 0&&(_e=Rt,Oe=oe),Kt>gn+ve&&Se===void 0&&(Se=Rt),oe=Kt}return _e===void 0&&(_e=0,Oe=0,Se=Math.ceil(ve/S)),Se===void 0&&(Se=Gt.length-1),Se=Math.min(Se+1,Gt.length-1),{scrollHeight:oe,start:_e,end:Se,offset:Oe}},[wt,Qt,gn,Gt,tn,ve]),ct=$e.scrollHeight,st=$e.start,Ht=$e.end,qe=$e.offset;ot.current.start=st,ot.current.end=Ht,t.useLayoutEffect(function(){var te=ln.getRecord();if(te.size===1){var oe=Array.from(te)[0],_e=Gt[st];if(_e){var Oe=Vt(_e);if(Oe===oe){var Se=ln.get(oe),et=Se-S;Je(function(Rt){return Rt+et})}}}ln.resetRecord()},[ct]);var He=t.useState({width:0,height:ve}),Y=(0,V.Z)(He,2),de=Y[0],Ce=Y[1],fe=function(oe){Ce({width:oe.offsetWidth,height:oe.offsetHeight})},ke=(0,t.useRef)(),be=(0,t.useRef)(),Te=t.useMemo(function(){return je(de.width,ce)},[de.width,ce]),Ue=t.useMemo(function(){return je(de.height,ct)},[de.height,ct]),ht=ct-ve,lt=(0,t.useRef)(ht);lt.current=ht;function mt(te){var oe=te;return Number.isNaN(lt.current)||(oe=Math.min(oe,lt.current)),oe=Math.max(oe,0),oe}var gt=gn<=0,Nt=gn>=ht,It=mn<=0,Ot=mn>=ce,xt=R(gt,Nt,It,Ot),Et=function(){return{x:ft?-mn:mn,y:gn}},Yt=(0,t.useRef)(Et()),Qe=(0,s.zX)(function(te){if(Ae){var oe=(0,U.Z)((0,U.Z)({},Et()),te);(Yt.current.x!==oe.x||Yt.current.y!==oe.y)&&(Ae(oe),Yt.current=oe)}});function We(te,oe){var _e=te;oe?((0,r.flushSync)(function(){Nn(_e)}),Qe()):Je(_e)}function at(te){var oe=te.currentTarget.scrollTop;oe!==gn&&Je(oe),Fe==null||Fe(te),Qe()}var qt=function(oe){var _e=oe,Oe=ce?ce-de.width:0;return _e=Math.max(_e,0),_e=Math.min(_e,Oe),_e},un=(0,s.zX)(function(te,oe){oe?((0,r.flushSync)(function(){Nn(function(_e){var Oe=_e+(ft?-te:te);return qt(Oe)})}),Qe()):Je(function(_e){var Oe=_e+te;return Oe})}),yn=L(Qt,gt,Nt,It,Ot,!!ce,un),Sn=(0,V.Z)(yn,2),Z=Sn[0],ie=Sn[1];I(Qt,Cn,function(te,oe,_e,Oe){var Se=Oe;return xt(te,oe,_e)?!1:!Se||!Se._virtualHandled?(Se&&(Se._virtualHandled=!0),Z({preventDefault:function(){},deltaX:te?oe:0,deltaY:te?0:oe}),!0):!1}),i(wt,Cn,function(te){Je(function(oe){return oe+te})}),(0,f.Z)(function(){function te(_e){var Oe=gt&&_e.detail<0,Se=Nt&&_e.detail>0;Qt&&!Oe&&!Se&&_e.preventDefault()}var oe=Cn.current;return oe.addEventListener("wheel",Z,{passive:!1}),oe.addEventListener("DOMMouseScroll",ie,{passive:!0}),oe.addEventListener("MozMousePixelScroll",te,{passive:!1}),function(){oe.removeEventListener("wheel",Z),oe.removeEventListener("DOMMouseScroll",ie),oe.removeEventListener("MozMousePixelScroll",te)}},[Qt,gt,Nt]),(0,f.Z)(function(){if(ce){var te=qt(mn);Nn(te),Qe({x:te})}},[de.width,ce]);var ne=function(){var oe,_e;(oe=ke.current)===null||oe===void 0||oe.delayHidden(),(_e=be.current)===null||_e===void 0||_e.delayHidden()},ae=K(Cn,Gt,ln,S,Vt,function(){return Lt(!0)},Je,ne);t.useImperativeHandle(A,function(){return{nativeElement:kn.current,getScrollInfo:Et,scrollTo:function(oe){function _e(Oe){return Oe&&(0,O.Z)(Oe)==="object"&&("left"in Oe||"top"in Oe)}_e(oe)?(oe.left!==void 0&&Nn(qt(oe.left)),ae(oe.top)):ae(oe)}}}),(0,f.Z)(function(){if(Ke){var te=Gt.slice(st,Ht+1);Ke(te,Gt)}},[st,Ht,Gt]);var he=j(Gt,Vt,ln,S),ue=Ve==null?void 0:Ve({start:st,end:Ht,virtual:wt,offsetX:mn,offsetY:qe,rtl:ft,getSize:he}),pe=x(Gt,st,Ht,ce,mn,ut,W,Xe),we=null;ve&&(we=(0,U.Z)((0,Q.Z)({},k?"height":"maxHeight",ve),ye),Qt&&(we.overflowY="hidden",ce&&(we.overflowX="hidden"),re&&(we.pointerEvents="none")));var Re={};return ft&&(Re.dir="rtl"),t.createElement("div",(0,P.Z)({ref:kn,style:(0,U.Z)((0,U.Z)({},z),{},{position:"relative"}),className:vt},Re,tt),t.createElement(e.Z,{onResize:fe},t.createElement(ze,{className:"".concat(M,"-holder"),style:we,ref:Cn,onScroll:at,onMouseEnter:ne},t.createElement(o,{prefixCls:M,height:ct,offsetX:mn,offsetY:qe,scrollWidth:ce,onInnerResize:Lt,ref:jt,innerProps:rt,rtl:ft,extra:ue},pe))),wt&&ct>ve&&t.createElement(xe,{ref:ke,prefixCls:M,scrollOffset:gn,scrollRange:ct,rtl:ft,onScroll:We,onStartMove:Ge,onStopMove:De,spinSize:Ue,containerSize:de.height,style:Be==null?void 0:Be.verticalScrollBar,thumbStyle:Be==null?void 0:Be.verticalScrollBarThumb,showScrollBar:Tt}),wt&&ce>de.width&&t.createElement(xe,{ref:be,prefixCls:M,scrollOffset:mn,scrollRange:ce,rtl:ft,onScroll:We,onStartMove:Ge,onStopMove:De,spinSize:Te,containerSize:de.width,horizontal:!0,style:Be==null?void 0:Be.horizontalScrollBar,thumbStyle:Be==null?void 0:Be.horizontalScrollBarThumb,showScrollBar:Tt}))}var Mt=t.forwardRef(Ye);Mt.displayName="List";var Ie=Mt,Pe=Ie},83145:function(Bt,Ze,u){"use strict";Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.CopyToClipboard=void 0;var P=U(u(59301)),O=U(u(25769));function U(_){return _&&_.__esModule?_:{default:_}}function Q(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Q=function(d){return typeof d}:Q=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},Q(_)}function V(_,v){var d=Object.keys(_);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(_);v&&(l=l.filter(function(N){return Object.getOwnPropertyDescriptor(_,N).enumerable})),d.push.apply(d,l)}return d}function p(_){for(var v=1;v<arguments.length;v++){var d=arguments[v]!=null?arguments[v]:{};v%2?V(d,!0).forEach(function(l){x(_,l,d[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(d)):V(d).forEach(function(l){Object.defineProperty(_,l,Object.getOwnPropertyDescriptor(d,l))})}return _}function H(_,v){if(_==null)return{};var d=$(_,v),l,N;if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(_);for(N=0;N<R.length;N++)l=R[N],!(v.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(_,l)&&(d[l]=_[l])}return d}function $(_,v){if(_==null)return{};var d={},l=Object.keys(_),N,R;for(R=0;R<l.length;R++)N=l[R],!(v.indexOf(N)>=0)&&(d[N]=_[N]);return d}function e(_,v){if(!(_ instanceof v))throw new TypeError("Cannot call a class as a function")}function s(_,v){for(var d=0;d<v.length;d++){var l=v[d];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(_,l.key,l)}}function f(_,v,d){return v&&s(_.prototype,v),d&&s(_,d),_}function t(_,v){return v&&(Q(v)==="object"||typeof v=="function")?v:a(_)}function r(_){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)},r(_)}function a(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function o(_,v){if(typeof v!="function"&&v!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(v&&v.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),v&&m(_,v)}function m(_,v){return m=Object.setPrototypeOf||function(l,N){return l.__proto__=N,l},m(_,v)}function x(_,v,d){return v in _?Object.defineProperty(_,v,{value:d,enumerable:!0,configurable:!0,writable:!0}):_[v]=d,_}var E=function(_){o(v,_);function v(){var d,l;e(this,v);for(var N=arguments.length,R=new Array(N),L=0;L<N;L++)R[L]=arguments[L];return l=t(this,(d=r(v)).call.apply(d,[this].concat(R))),x(a(l),"onClick",function(j){var J=l.props,B=J.text,ge=J.onCopy,g=J.children,h=J.options,b=P.default.Children.only(g),C=(0,O.default)(B,h);ge&&ge(B,C),b&&b.props&&typeof b.props.onClick=="function"&&b.props.onClick(j)}),l}return f(v,[{key:"render",value:function(){var l=this.props,N=l.text,R=l.onCopy,L=l.options,j=l.children,J=H(l,["text","onCopy","options","children"]),B=P.default.Children.only(j);return P.default.cloneElement(B,p({},J,{onClick:this.onClick}))}}]),v}(P.default.PureComponent);Ze.CopyToClipboard=E,x(E,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Bt,Ze,u){"use strict";var P=u(83145),O=P.CopyToClipboard;O.CopyToClipboard=O,Bt.exports=O},76374:function(Bt,Ze,u){"use strict";var P=function(){if(typeof Map!="undefined")return Map;function g(h,b){var C=-1;return h.some(function(I,w){return I[0]===b?(C=w,!0):!1}),C}return function(){function h(){this.__entries__=[]}return Object.defineProperty(h.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),h.prototype.get=function(b){var C=g(this.__entries__,b),I=this.__entries__[C];return I&&I[1]},h.prototype.set=function(b,C){var I=g(this.__entries__,b);~I?this.__entries__[I][1]=C:this.__entries__.push([b,C])},h.prototype.delete=function(b){var C=this.__entries__,I=g(C,b);~I&&C.splice(I,1)},h.prototype.has=function(b){return!!~g(this.__entries__,b)},h.prototype.clear=function(){this.__entries__.splice(0)},h.prototype.forEach=function(b,C){C===void 0&&(C=null);for(var I=0,w=this.__entries__;I<w.length;I++){var n=w[I];b.call(C,n[1],n[0])}},h}()}(),O=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,U=function(){return typeof u.g!="undefined"&&u.g.Math===Math?u.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),Q=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(U):function(g){return setTimeout(function(){return g(Date.now())},1e3/60)}}(),V=2;function p(g,h){var b=!1,C=!1,I=0;function w(){b&&(b=!1,g()),C&&i()}function n(){Q(w)}function i(){var y=Date.now();if(b){if(y-I<V)return;C=!0}else b=!0,C=!1,setTimeout(n,h);I=y}return i}var H=20,$=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",s=function(){function g(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=p(this.refresh.bind(this),H)}return g.prototype.addObserver=function(h){~this.observers_.indexOf(h)||this.observers_.push(h),this.connected_||this.connect_()},g.prototype.removeObserver=function(h){var b=this.observers_,C=b.indexOf(h);~C&&b.splice(C,1),!b.length&&this.connected_&&this.disconnect_()},g.prototype.refresh=function(){var h=this.updateObservers_();h&&this.refresh()},g.prototype.updateObservers_=function(){var h=this.observers_.filter(function(b){return b.gatherActive(),b.hasActive()});return h.forEach(function(b){return b.broadcastActive()}),h.length>0},g.prototype.connect_=function(){!O||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),e?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},g.prototype.disconnect_=function(){!O||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},g.prototype.onTransitionEnd_=function(h){var b=h.propertyName,C=b===void 0?"":b,I=$.some(function(w){return!!~C.indexOf(w)});I&&this.refresh()},g.getInstance=function(){return this.instance_||(this.instance_=new g),this.instance_},g.instance_=null,g}(),f=function(g,h){for(var b=0,C=Object.keys(h);b<C.length;b++){var I=C[b];Object.defineProperty(g,I,{value:h[I],enumerable:!1,writable:!1,configurable:!0})}return g},t=function(g){var h=g&&g.ownerDocument&&g.ownerDocument.defaultView;return h||U},r=N(0,0,0,0);function a(g){return parseFloat(g)||0}function o(g){for(var h=[],b=1;b<arguments.length;b++)h[b-1]=arguments[b];return h.reduce(function(C,I){var w=g["border-"+I+"-width"];return C+a(w)},0)}function m(g){for(var h=["top","right","bottom","left"],b={},C=0,I=h;C<I.length;C++){var w=I[C],n=g["padding-"+w];b[w]=a(n)}return b}function x(g){var h=g.getBBox();return N(0,0,h.width,h.height)}function E(g){var h=g.clientWidth,b=g.clientHeight;if(!h&&!b)return r;var C=t(g).getComputedStyle(g),I=m(C),w=I.left+I.right,n=I.top+I.bottom,i=a(C.width),y=a(C.height);if(C.boxSizing==="border-box"&&(Math.round(i+w)!==h&&(i-=o(C,"left","right")+w),Math.round(y+n)!==b&&(y-=o(C,"top","bottom")+n)),!v(g)){var K=Math.round(i+w)-h,le=Math.round(y+n)-b;Math.abs(K)!==1&&(i-=K),Math.abs(le)!==1&&(y-=le)}return N(I.left,I.top,i,y)}var _=function(){return typeof SVGGraphicsElement!="undefined"?function(g){return g instanceof t(g).SVGGraphicsElement}:function(g){return g instanceof t(g).SVGElement&&typeof g.getBBox=="function"}}();function v(g){return g===t(g).document.documentElement}function d(g){return O?_(g)?x(g):E(g):r}function l(g){var h=g.x,b=g.y,C=g.width,I=g.height,w=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,n=Object.create(w.prototype);return f(n,{x:h,y:b,width:C,height:I,top:b,right:h+C,bottom:I+b,left:h}),n}function N(g,h,b,C){return{x:g,y:h,width:b,height:C}}var R=function(){function g(h){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=N(0,0,0,0),this.target=h}return g.prototype.isActive=function(){var h=d(this.target);return this.contentRect_=h,h.width!==this.broadcastWidth||h.height!==this.broadcastHeight},g.prototype.broadcastRect=function(){var h=this.contentRect_;return this.broadcastWidth=h.width,this.broadcastHeight=h.height,h},g}(),L=function(){function g(h,b){var C=l(b);f(this,{target:h,contentRect:C})}return g}(),j=function(){function g(h,b,C){if(this.activeObservations_=[],this.observations_=new P,typeof h!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=h,this.controller_=b,this.callbackCtx_=C}return g.prototype.observe=function(h){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(h instanceof t(h).Element))throw new TypeError('parameter 1 is not of type "Element".');var b=this.observations_;b.has(h)||(b.set(h,new R(h)),this.controller_.addObserver(this),this.controller_.refresh())}},g.prototype.unobserve=function(h){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(h instanceof t(h).Element))throw new TypeError('parameter 1 is not of type "Element".');var b=this.observations_;b.has(h)&&(b.delete(h),b.size||this.controller_.removeObserver(this))}},g.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},g.prototype.gatherActive=function(){var h=this;this.clearActive(),this.observations_.forEach(function(b){b.isActive()&&h.activeObservations_.push(b)})},g.prototype.broadcastActive=function(){if(this.hasActive()){var h=this.callbackCtx_,b=this.activeObservations_.map(function(C){return new L(C.target,C.broadcastRect())});this.callback_.call(h,b,h),this.clearActive()}},g.prototype.clearActive=function(){this.activeObservations_.splice(0)},g.prototype.hasActive=function(){return this.activeObservations_.length>0},g}(),J=typeof WeakMap!="undefined"?new WeakMap:new P,B=function(){function g(h){if(!(this instanceof g))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var b=s.getInstance(),C=new j(h,b,this);J.set(this,C)}return g}();["observe","unobserve","disconnect"].forEach(function(g){B.prototype[g]=function(){var h;return(h=J.get(this))[g].apply(h,arguments)}});var ge=function(){return typeof U.ResizeObserver!="undefined"?U.ResizeObserver:B}();Ze.Z=ge},98040:function(Bt){Bt.exports=function(){var Ze=document.getSelection();if(!Ze.rangeCount)return function(){};for(var u=document.activeElement,P=[],O=0;O<Ze.rangeCount;O++)P.push(Ze.getRangeAt(O));switch(u.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":u.blur();break;default:u=null;break}return Ze.removeAllRanges(),function(){Ze.type==="Caret"&&Ze.removeAllRanges(),Ze.rangeCount||P.forEach(function(U){Ze.addRange(U)}),u&&u.focus()}}},93314:function(Bt){"use strict";Bt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="}}]);
|