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

83 lines
549 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[9649],{65030:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return re}});var N=u(33885),O=u(42978),K=u(75931),Y=u(43403),j=u(92310),p=u.n(j),U=u(29301),$=u(76846),e=u(96452),s=u(6089),d=u(80402),t=u(34280),r=u(49658),a=u(59301),o=u(54476),g=u(77900),E=u(8654);function S(W){var Q=W.prefixCls,c=W.align,B=W.arrow,q=W.arrowPos,C=B||{},v=C.className,F=C.content,ee=q.x,Z=ee===void 0?0:ee,V=q.y,z=V===void 0?0:V,fe=a.useRef();if(!c||!c.points)return null;var se={position:"absolute"};if(c.autoArrow!==!1){var Ce=c.points[0],Ae=c.points[1],Xe=Ce[0],Le=Ce[1],Me=Ae[0],ke=Ae[1];Xe===Me||!["t","b"].includes(Xe)?se.top=z:Xe==="t"?se.top=0:se.bottom=0,Le===ke||!["l","r"].includes(Le)?se.left=Z:Le==="l"?se.left=0:se.right=0}return a.createElement("div",{ref:fe,className:p()("".concat(Q,"-arrow"),v),style:se},F)}function _(W){var Q=W.prefixCls,c=W.open,B=W.zIndex,q=W.mask,C=W.motion;return q?a.createElement(g.default,(0,o.Z)({},C,{motionAppear:!0,visible:c,removeOnLeave:!0}),function(v){var F=v.className;return a.createElement("div",{style:{zIndex:B},className:p()("".concat(Q,"-mask"),F)})}):null}var m=a.memo(function(W){var Q=W.children;return Q},function(W,Q){return Q.cache}),f=m,l=a.forwardRef(function(W,Q){var c=W.popup,B=W.className,q=W.prefixCls,C=W.style,v=W.target,F=W.onVisibleChanged,ee=W.open,Z=W.keepDom,V=W.fresh,z=W.onClick,fe=W.mask,se=W.arrow,Ce=W.arrowPos,Ae=W.align,Xe=W.motion,Le=W.maskMotion,Me=W.forceRender,ke=W.getPopupContainer,st=W.autoDestroy,Je=W.portal,He=W.zIndex,Kt=W.onMouseEnter,St=W.onMouseLeave,De=W.onPointerEnter,Vt=W.onPointerDownCapture,dn=W.ready,Rt=W.offsetX,dt=W.offsetY,Ft=W.offsetR,un=W.offsetB,Ut=W.onAlign,mt=W.onPrepare,Qt=W.stretch,bn=W.targetWidth,Tt=W.targetHeight,ft=typeof c=="function"?c():c,yt=ee||Z,Bn=(ke==null?void 0:ke.length)>0,mn=a.useState(!ke||!Bn),Ln=(0,O.Z)(mn,2),Wn=Ln[0],wn=Ln[1];if((0,t.Z)(function(){!Wn&&Bn&&v&&wn(!0)},[Wn,Bn,v]),!Wn)return null;var Rn="auto",Kn={left:"-1000vw",top:"-1000vh",right:Rn,bottom:Rn};if(dn||!ee){var Nn,In=Ae.points,En=Ae.dynamicInset||((Nn=Ae._experimental)===null||Nn===void 0?void 0:Nn.dynamicInset),Tn=En&&In[0][1]==="r",at=En&&In[0][0]==="b";Tn?(Kn.right=Ft,Kn.left=Rn):(Kn.left=Rt,Kn.right=Rn),at?(Kn.bottom=un,Kn.top=Rn):(Kn.top=dt,Kn.bottom=Rn)}var it={};return Qt&&(Qt.includes("height")&&Tt?it.height=Tt:Qt.includes("minHeight")&&Tt&&(it.minHeight=Tt),Qt.includes("width")&&bn?it.width=bn:Qt.includes("minWidth")&&bn&&(it.minWidth=bn)),ee||(it.pointerEvents="none"),a.createElement(Je,{open:Me||yt,getContainer:ke&&function(){return ke(v)},autoDestroy:st},a.createElement(_,{prefixCls:q,open:ee,zIndex:He,mask:fe,motion:Le}),a.createElement(U.Z,{onResize:Ut,disabled:!ee},function(en){return a.createElement(g.default,(0,o.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Me,leavedClassName:"".concat(q,"-hidden")},Xe,{onAppearPrepare:mt,onEnterPrepare:mt,visible:ee,onVisibleChanged:function(An){var J;Xe==null||(J=Xe.onVisibleChanged)===null||J===void 0||J.call(Xe,An),F(An)}}),function(pn,An){var J=pn.className,X=pn.style,Ke=p()(q,J,B);return a.createElement("div",{ref:(0,E.sQ)(en,Q,An),className:Ke,style:(0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)({"--arrow-x":"".concat(Ce.x||0,"px"),"--arrow-y":"".concat(Ce.y||0,"px")},Kn),it),X),{},{boxSizing:"border-box",zIndex:He},C),onMouseEnter:Kt,onMouseLeave:St,onPointerEnter:De,onClick:z,onPointerDownCapture:Vt},se&&a.createElement(S,{prefixCls:q,arrow:se,arrowPos:Ce,align:Ae}),a.createElement(f,{cache:!ee&&!V},ft))})}))}),P=l,k=a.forwardRef(function(W,Q){var c=W.children,B=W.getTriggerDOMNode,q=(0,E.Yr)(c),C=a.useCallback(function(F){(0,E.mH)(Q,B?B(F):F)},[B]),v=(0,E.x1)(C,(0,E.C4)(c));return q?a.cloneElement(c,{ref:v}):c}),M=k,I=a.createContext(null),G=I;function L(W){return W?Array.isArray(W)?W:[W]:[]}function ge(W,Q,c,B){return a.useMemo(function(){var q=L(c!=null?c:Q),C=L(B!=null?B:Q),v=new Set(q),F=new Set(C);return W&&(v.has("hover")&&(v.delete("hover"),v.add("click")),F.has("hover")&&(F.delete("hover"),F.add("click"))),[v,F]},[W,Q,c,B])}var b=u(29194);function h(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],c=arguments.length>2?arguments[2]:void 0;return c?W[0]===Q[0]:W[0]===Q[0]&&W[1]===Q[1]}function w(W,Q,c,B){for(var q=c.points,C=Object.keys(W),v=0;v<C.length;v+=1){var F,ee=C[v];if(h((F=W[ee])===null||F===void 0?void 0:F.points,q,B))return"".concat(Q,"-placement-").concat(ee)}return""}function R(W,Q,c,B){return Q||(c?{motionName:"".concat(W,"-").concat(c)}:B?{motionName:B}:null)}function D(W){return W.ownerDocument.defaultView}function x(W){for(var Q=[],c=W==null?void 0:W.parentElement,B=["hidden","scroll","clip","auto"];c;){var q=D(c).getComputedStyle(c),C=q.overflowX,v=q.overflowY,F=q.overflow;[C,v,F].some(function(ee){return B.includes(ee)})&&Q.push(c),c=c.parentElement}return Q}function n(W){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(W)?Q:W}function i(W){return n(parseFloat(W),0)}function y(W,Q){var c=(0,N.Z)({},W);return(Q||[]).forEach(function(B){if(!(B instanceof HTMLBodyElement||B instanceof HTMLHtmlElement)){var q=D(B).getComputedStyle(B),C=q.overflow,v=q.overflowClipMargin,F=q.borderTopWidth,ee=q.borderBottomWidth,Z=q.borderLeftWidth,V=q.borderRightWidth,z=B.getBoundingClientRect(),fe=B.offsetHeight,se=B.clientHeight,Ce=B.offsetWidth,Ae=B.clientWidth,Xe=i(F),Le=i(ee),Me=i(Z),ke=i(V),st=n(Math.round(z.width/Ce*1e3)/1e3),Je=n(Math.round(z.height/fe*1e3)/1e3),He=(Ce-Ae-Me-ke)*st,Kt=(fe-se-Xe-Le)*Je,St=Xe*Je,De=Le*Je,Vt=Me*st,dn=ke*st,Rt=0,dt=0;if(C==="clip"){var Ft=i(v);Rt=Ft*st,dt=Ft*Je}var un=z.x+Vt-Rt,Ut=z.y+St-dt,mt=un+z.width+2*Rt-Vt-dn-He,Qt=Ut+z.height+2*dt-St-De-Kt;c.left=Math.max(c.left,un),c.top=Math.max(c.top,Ut),c.right=Math.min(c.right,mt),c.bottom=Math.min(c.bottom,Qt)}}),c}function A(W){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,c="".concat(Q),B=c.match(/^(.*)\%$/);return B?W*(parseFloat(B[1])/100):parseFloat(c)}function le(W,Q){var c=Q||[],B=(0,O.Z)(c,2),q=B[0],C=B[1];return[A(W.width,q),A(W.height,C)]}function we(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[W[0],W[1]]}function Oe(W,Q){var c=Q[0],B=Q[1],q,C;return c==="t"?C=W.y:c==="b"?C=W.y+W.height:C=W.y+W.height/2,B==="l"?q=W.x:B==="r"?q=W.x+W.width:q=W.x+W.width/2,{x:q,y:C}}function je(W,Q){var c={t:"b",b:"t",l:"r",r:"l"};return W.map(function(B,q){return q===Q?c[B]||"c":B}).join("")}function Ye(W,Q,c,B,q,C,v){var F=a.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:q[B]||{}}),ee=(0,O.Z)(F,2),Z=ee[0],V=ee[1],z=a.useRef(0),fe=a.useMemo(function(){return Q?x(Q):[]},[Q]),se=a.useRef({}),Ce=function(){se.current={}};W||Ce();var Ae=(0,s.Z)(function(){if(Q&&c&&W){let xn=function(Cn,Ct){var Jt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Be,qt=yt.x+Cn,nn=yt.y+Ct,Pn=qt+at,Zn=nn+Tn,ar=Math.max(qt,Jt.left),gt=Math.max(nn,Jt.top),Wt=Math.min(Pn,Jt.right),Zt=Math.min(Zn,Jt.bottom);return Math.max(0,(Wt-ar)*(Zt-gt))},yn=function(){ye=yt.y+Pt,Ne=ye+Tn,Re=yt.x+xt,be=Re+at};var Me,ke,st,Je,He=Q,Kt=He.ownerDocument,St=D(He),De=St.getComputedStyle(He),Vt=De.position,dn=He.style.left,Rt=He.style.top,dt=He.style.right,Ft=He.style.bottom,un=He.style.overflow,Ut=(0,N.Z)((0,N.Z)({},q[B]),C),mt=Kt.createElement("div");(Me=He.parentElement)===null||Me===void 0||Me.appendChild(mt),mt.style.left="".concat(He.offsetLeft,"px"),mt.style.top="".concat(He.offsetTop,"px"),mt.style.position=Vt,mt.style.height="".concat(He.offsetHeight,"px"),mt.style.width="".concat(He.offsetWidth,"px"),He.style.left="0",He.style.top="0",He.style.right="auto",He.style.bottom="auto",He.style.overflow="hidden";var Qt;if(Array.isArray(c))Qt={x:c[0],y:c[1],width:0,height:0};else{var bn,Tt,ft=c.getBoundingClientRect();ft.x=(bn=ft.x)!==null&&bn!==void 0?bn:ft.left,ft.y=(Tt=ft.y)!==null&&Tt!==void 0?Tt:ft.top,Qt={x:ft.x,y:ft.y,width:ft.width,height:ft.height}}var yt=He.getBoundingClientRect(),Bn=St.getComputedStyle(He),mn=Bn.height,Ln=Bn.width;yt.x=(ke=yt.x)!==null&&ke!==void 0?ke:yt.left,yt.y=(st=yt.y)!==null&&st!==void 0?st:yt.top;var Wn=Kt.documentElement,wn=Wn.clientWidth,Rn=Wn.clientHeight,Kn=Wn.scrollWidth,Nn=Wn.scrollHeight,In=Wn.scrollTop,En=Wn.scrollLeft,Tn=yt.height,at=yt.width,it=Qt.height,en=Qt.width,pn={left:0,top:0,right:wn,bottom:Rn},An={left:-En,top:-In,right:Kn-En,bottom:Nn-In},J=Ut.htmlRegion,X="visible",Ke="visibleFirst";J!=="scroll"&&J!==Ke&&(J=X);var Se=J===Ke,ze=y(An,fe),Ge=y(pn,fe),Be=J===X?Ge:ze,Fe=Se?Ge:Be;He.style.left="auto",He.style.top="auto",He.style.right="0",He.style.bottom="0";var nt=He.getBoundingClientRect();He.style.left=dn,He.style.top=Rt,He.style.right=dt,He.style.bottom=Ft,He.style.overflow=un,(Je=He.parentElement)===null||Je===void 0||Je.removeChild(mt);var We=n(Math.round(at/parseFloat(Ln)*1e3)/1e3),et=n(Math.round(Tn/parseFloat(mn)*1e3)/1e3);if(We===0||et===0||(0,$.Sh)(c)&&!(0,b.Z)(c))return;var lt=Ut.offset,Qe=Ut.targetOffset,Ie=le(yt,lt),H=(0,O.Z)(Ie,2),ce=H[0],he=H[1],ve=le(Qt,Qe),Pe=(0,O.Z)(ve,2),Ue=Pe[0],$e=Pe[1];Qt.x-=Ue,Qt.y-=$e;var ot=Ut.points||[],_t=(0,O.Z)(ot,2),bt=_t[0],on=_t[1],wt=we(on),Et=we(bt),Mt=Oe(Qt,wt),Ht=Oe(yt,Et),zt=(0,N.Z)({},Ut),xt=Mt.x-Ht.x+ce,Pt=Mt.y-Ht.y+he,tt=xn(xt,Pt),ut=xn(xt,Pt,Ge),ht=Oe(Qt,["t","l"]),$t=Oe(yt,["t","l"]),kt=Oe(Qt,["b","r"]),jt=Oe(yt,["b","r"]),On=Ut.overflow||{},T=On.adjustX,ae=On.adjustY,te=On.shiftX,ie=On.shiftY,_e=function(Ct){return typeof Ct=="boolean"?Ct:Ct>=0},ye,Ne,Re,be;yn();var ne=_e(ae),oe=Et[0]===wt[0];if(ne&&Et[0]==="t"&&(Ne>Fe.bottom||se.current.bt)){var de=Pt;oe?de-=Tn-it:de=ht.y-jt.y-he;var me=xn(xt,de),Ee=xn(xt,de,Ge);me>tt||me===tt&&(!Se||Ee>=ut)?(se.current.bt=!0,Pt=de,he=-he,zt.points=[je(Et,0),je(wt,0)]):se.current.bt=!1}if(ne&&Et[0]==="b"&&(ye<Fe.top||se.current.tb)){var Ve=Pt;oe?Ve+=Tn-it:Ve=kt.y-$t.y-he;var ct=xn(xt,Ve),rt=xn(xt,Ve,Ge);ct>tt||ct===tt&&(!Se||rt>=ut)?(se.current.tb=!0,Pt=Ve,he=-he,zt.points=[je(Et,0),je(wt,0)]):se.current.tb=!1}var Nt=_e(T),Bt=Et[1]===wt[1];if(Nt&&Et[1]==="l"&&(be>Fe.right||se.current.rl)){var Ot=xt;Bt?Ot-=at-en:Ot=ht.x-jt.x-ce;var Yt=xn(Ot,Pt),pt=xn(Ot,Pt,Ge);Yt>tt||Yt===tt&&(!Se||pt>=ut)?(se.current.rl=!0,xt=Ot,ce=-ce,zt.points=[je(Et,1),je(wt,1)]):se.current.rl=!1}if(Nt&&Et[1]==="r"&&(Re<Fe.left||se.current.lr)){var hn=xt;Bt?hn+=at-en:hn=kt.x-$t.x-ce;var rn=xn(hn,Pt),_n=xn(hn,Pt,Ge);rn>tt||rn===tt&&(!Se||_n>=ut)?(se.current.lr=!0,xt=hn,ce=-ce,zt.points=[je(Et,1),je(wt,1)]):se.current.lr=!1}yn();var Gt=te===!0?0:te;typeof Gt=="number"&&(Re<Ge.left&&(xt-=Re-Ge.left-ce,Qt.x+en<Ge.left+Gt&&(xt+=Qt.x-Ge.left+en-Gt)),be>Ge.right&&(xt-=be-Ge.right-ce,Qt.x>Ge.right-Gt&&(xt+=Qt.x-Ge.right+Gt)));var tn=ie===!0?0:ie;typeof tn=="number"&&(ye<Ge.top&&(Pt-=ye-Ge.top-he,Qt.y+it<Ge.top+tn&&(Pt+=Qt.y-Ge.top+it-tn)),Ne>Ge.bottom&&(Pt-=Ne-Ge.bottom-he,Qt.y>Ge.bottom-tn&&(Pt+=Qt.y-Ge.bottom+tn)));var vn=yt.x+xt,an=vn+at,cn=yt.y+Pt,It=cn+Tn,vt=Qt.x,Dt=vt+en,Xt=Qt.y,fn=Xt+it,sn=Math.max(vn,vt),ln=Math.min(an,Dt),Un=(sn+ln)/2,Xn=Un-vn,$n=Math.max(cn,Xt),or=Math.min(It,fn),ir=($n+or)/2,qn=ir-cn;v==null||v(Q,zt);var gn=nt.right-yt.x-(xt+yt.width),kn=nt.bottom-yt.y-(Pt+yt.height);We===1&&(xt=Math.round(xt),gn=Math.round(gn)),et===1&&(Pt=Math.round(Pt),kn=Math.round(kn));var Gn={ready:!0,offsetX:xt/We,offsetY:Pt/et,offsetR:gn/We,offsetB:kn/et,arrowX:Xn/We,arrowY:qn/et,scaleX:We,scaleY:et,align:zt};V(Gn)}}),Xe=function(){z.current+=1;var ke=z.current;Promise.resolve().then(function(){z.current===ke&&Ae()})},Le=function(){V(function(ke){return(0,N.Z)((0,N.Z)({},ke),{},{ready:!1})})};return(0,t.Z)(Le,[B]),(0,t.Z)(function(){W||Le()},[W]),[Z.ready,Z.offsetX,Z.offsetY,Z.offsetR,Z.offsetB,Z.arrowX,Z.arrowY,Z.scaleX,Z.scaleY,Z.align,Xe]}var At=u(94480);function xe(W,Q,c,B,q){(0,t.Z)(function(){if(W&&Q&&c){let z=function(){B(),q()};var C=Q,v=c,F=x(C),ee=x(v),Z=D(v),V=new Set([Z].concat((0,At.Z)(F),(0,At.Z)(ee)));return V.forEach(function(fe){fe.addEventListener("scroll",z,{passive:!0})}),Z.addEventListener("resize",z,{passive:!0}),B(),function(){V.forEach(function(fe){fe.removeEventListener("scroll",z),Z.removeEventListener("resize",z)})}}},[W,Q,c])}var qe=u(48736);function Ze(W,Q,c,B,q,C,v,F){var ee=a.useRef(W);ee.current=W;var Z=a.useRef(!1);a.useEffect(function(){if(Q&&B&&(!q||C)){var z=function(){Z.current=!1},fe=function(st){var Je;ee.current&&!v(((Je=st.composedPath)===null||Je===void 0||(Je=Je.call(st))===null||Je===void 0?void 0:Je[0])||st.target)&&!Z.current&&F(!1)},se=D(B);se.addEventListener("pointerdown",z,!0),se.addEventListener("mousedown",fe,!0),se.addEventListener("contextmenu",fe,!0);var Ce=(0,e.A)(c);if(Ce&&(Ce.addEventListener("mousedown",fe,!0),Ce.addEventListener("contextmenu",fe,!0)),0)var Ae,Xe,Le,Me;return function(){se.removeEventListener("pointerdown",z,!0),se.removeEventListener("mousedown",fe,!0),se.removeEventListener("contextmenu",fe,!0),Ce&&(Ce.removeEventListener("mousedown",fe,!0),Ce.removeEventListener("contextmenu",fe,!0))}}},[Q,c,B,q,C]);function V(){Z.current=!0}return V}var pe=["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 ue(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Y.Z,Q=a.forwardRef(function(c,B){var q=c.prefixCls,C=q===void 0?"rc-trigger-popup":q,v=c.children,F=c.action,ee=F===void 0?"hover":F,Z=c.showAction,V=c.hideAction,z=c.popupVisible,fe=c.defaultPopupVisible,se=c.onPopupVisibleChange,Ce=c.afterPopupVisibleChange,Ae=c.mouseEnterDelay,Xe=c.mouseLeaveDelay,Le=Xe===void 0?.1:Xe,Me=c.focusDelay,ke=c.blurDelay,st=c.mask,Je=c.maskClosable,He=Je===void 0?!0:Je,Kt=c.getPopupContainer,St=c.forceRender,De=c.autoDestroy,Vt=c.destroyPopupOnHide,dn=c.popup,Rt=c.popupClassName,dt=c.popupStyle,Ft=c.popupPlacement,un=c.builtinPlacements,Ut=un===void 0?{}:un,mt=c.popupAlign,Qt=c.zIndex,bn=c.stretch,Tt=c.getPopupClassNameFromAlign,ft=c.fresh,yt=c.alignPoint,Bn=c.onPopupClick,mn=c.onPopupAlign,Ln=c.arrow,Wn=c.popupMotion,wn=c.maskMotion,Rn=c.popupTransitionName,Kn=c.popupAnimation,Nn=c.maskTransitionName,In=c.maskAnimation,En=c.className,Tn=c.getTriggerDOMNode,at=(0,K.Z)(c,pe),it=De||Vt||!1,en=a.useState(!1),pn=(0,O.Z)(en,2),An=pn[0],J=pn[1];(0,t.Z)(function(){J((0,r.Z)())},[]);var X=a.useRef({}),Ke=a.useContext(G),Se=a.useMemo(function(){return{registerSubPopup:function(Wt,Zt){X.current[Wt]=Zt,Ke==null||Ke.registerSubPopup(Wt,Zt)}}},[Ke]),ze=(0,d.Z)(),Ge=a.useState(null),Be=(0,O.Z)(Ge,2),Fe=Be[0],nt=Be[1],We=a.useRef(null),et=(0,s.Z)(function(gt){We.current=gt,(0,$.Sh)(gt)&&Fe!==gt&&nt(gt),Ke==null||Ke.registerSubPopup(ze,gt)}),lt=a.useState(null),Qe=(0,O.Z)(lt,2),Ie=Qe[0],H=Qe[1],ce=a.useRef(null),he=(0,s.Z)(function(gt){(0,$.Sh)(gt)&&Ie!==gt&&(H(gt),ce.current=gt)}),ve=a.Children.only(v),Pe=(ve==null?void 0:ve.props)||{},Ue={},$e=(0,s.Z)(function(gt){var Wt,Zt,Mn=Ie;return(Mn==null?void 0:Mn.contains(gt))||((Wt=(0,e.A)(Mn))===null||Wt===void 0?void 0:Wt.host)===gt||gt===Mn||(Fe==null?void 0:Fe.contains(gt))||((Zt=(0,e.A)(Fe))===null||Zt===void 0?void 0:Zt.host)===gt||gt===Fe||Object.values(X.current).some(function(zn){return(zn==null?void 0:zn.contains(gt))||gt===zn})}),ot=R(C,Wn,Kn,Rn),_t=R(C,wn,In,Nn),bt=a.useState(fe||!1),on=(0,O.Z)(bt,2),wt=on[0],Et=on[1],Mt=z!=null?z:wt,Ht=(0,s.Z)(function(gt){z===void 0&&Et(gt)});(0,t.Z)(function(){Et(z||!1)},[z]);var zt=a.useRef(Mt);zt.current=Mt;var xt=a.useRef([]);xt.current=[];var Pt=(0,s.Z)(function(gt){var Wt;Ht(gt),((Wt=xt.current[xt.current.length-1])!==null&&Wt!==void 0?Wt:Mt)!==gt&&(xt.current.push(gt),se==null||se(gt))}),tt=a.useRef(),ut=function(){clearTimeout(tt.current)},ht=function(Wt){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;ut(),Zt===0?Pt(Wt):tt.current=setTimeout(function(){Pt(Wt)},Zt*1e3)};a.useEffect(function(){return ut},[]);var $t=a.useState(!1),kt=(0,O.Z)($t,2),jt=kt[0],On=kt[1];(0,t.Z)(function(gt){(!gt||Mt)&&On(!0)},[Mt]);var T=a.useState(null),ae=(0,O.Z)(T,2),te=ae[0],ie=ae[1],_e=a.useState(null),ye=(0,O.Z)(_e,2),Ne=ye[0],Re=ye[1],be=function(Wt){Re([Wt.clientX,Wt.clientY])},ne=Ye(Mt,Fe,yt&&Ne!==null?Ne:Ie,Ft,Ut,mt,mn),oe=(0,O.Z)(ne,11),de=oe[0],me=oe[1],Ee=oe[2],Ve=oe[3],ct=oe[4],rt=oe[5],Nt=oe[6],Bt=oe[7],Ot=oe[8],Yt=oe[9],pt=oe[10],hn=ge(An,ee,Z,V),rn=(0,O.Z)(hn,2),_n=rn[0],Gt=rn[1],tn=_n.has("click"),vn=Gt.has("click")||Gt.has("contextMenu"),an=(0,s.Z)(function(){jt||pt()}),cn=function(){zt.current&&yt&&vn&&ht(!1)};xe(Mt,Ie,Fe,an,cn),(0,t.Z)(function(){an()},[Ne,Ft]),(0,t.Z)(function(){Mt&&!(Ut!=null&&Ut[Ft])&&an()},[JSON.stringify(mt)]);var It=a.useMemo(function(){var gt=w(Ut,C,Yt,yt);return p()(gt,Tt==null?void 0:Tt(Yt))},[Yt,Tt,Ut,C,yt]);a.useImperativeHandle(B,function(){return{nativeElement:ce.current,popupElement:We.current,forceAlign:an}});var vt=a.useState(0),Dt=(0,O.Z)(vt,2),Xt=Dt[0],fn=Dt[1],sn=a.useState(0),ln=(0,O.Z)(sn,2),Un=ln[0],Xn=ln[1],$n=function(){if(bn&&Ie){var Wt=Ie.getBoundingClientRect();fn(Wt.width),Xn(Wt.height)}},or=function(){$n(),an()},ir=function(Wt){On(!1),pt(),Ce==null||Ce(Wt)},qn=function(){return new Promise(function(Wt){$n(),ie(function(){return Wt})})};(0,t.Z)(function(){te&&(pt(),te(),ie(null))},[te]);function gn(gt,Wt,Zt,Mn){Ue[gt]=function(zn){var Hn;Mn==null||Mn(zn),ht(Wt,Zt);for(var cr=arguments.length,dr=new Array(cr>1?cr-1:0),lr=1;lr<cr;lr++)dr[lr-1]=arguments[lr];(Hn=Pe[gt])===null||Hn===void 0||Hn.call.apply(Hn,[Pe,zn].concat(dr))}}(tn||vn)&&(Ue.onClick=function(gt){var Wt;zt.current&&vn?ht(!1):!zt.current&&tn&&(be(gt),ht(!0));for(var Zt=arguments.length,Mn=new Array(Zt>1?Zt-1:0),zn=1;zn<Zt;zn++)Mn[zn-1]=arguments[zn];(Wt=Pe.onClick)===null||Wt===void 0||Wt.call.apply(Wt,[Pe,gt].concat(Mn))});var kn=Ze(Mt,vn,Ie,Fe,st,He,$e,ht),Gn=_n.has("hover"),xn=Gt.has("hover"),yn,Cn;Gn&&(gn("onMouseEnter",!0,Ae,function(gt){be(gt)}),gn("onPointerEnter",!0,Ae,function(gt){be(gt)}),yn=function(Wt){(Mt||jt)&&Fe!==null&&Fe!==void 0&&Fe.contains(Wt.target)&&ht(!0,Ae)},yt&&(Ue.onMouseMove=function(gt){var Wt;(Wt=Pe.onMouseMove)===null||Wt===void 0||Wt.call(Pe,gt)})),xn&&(gn("onMouseLeave",!1,Le),gn("onPointerLeave",!1,Le),Cn=function(){ht(!1,Le)}),_n.has("focus")&&gn("onFocus",!0,Me),Gt.has("focus")&&gn("onBlur",!1,ke),_n.has("contextMenu")&&(Ue.onContextMenu=function(gt){var Wt;zt.current&&Gt.has("contextMenu")?ht(!1):(be(gt),ht(!0)),gt.preventDefault();for(var Zt=arguments.length,Mn=new Array(Zt>1?Zt-1:0),zn=1;zn<Zt;zn++)Mn[zn-1]=arguments[zn];(Wt=Pe.onContextMenu)===null||Wt===void 0||Wt.call.apply(Wt,[Pe,gt].concat(Mn))}),En&&(Ue.className=p()(Pe.className,En));var Ct=a.useRef(!1);Ct.current||(Ct.current=St||Mt||jt);var Jt=(0,N.Z)((0,N.Z)({},Pe),Ue),qt={},nn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];nn.forEach(function(gt){at[gt]&&(qt[gt]=function(){for(var Wt,Zt=arguments.length,Mn=new Array(Zt),zn=0;zn<Zt;zn++)Mn[zn]=arguments[zn];(Wt=Jt[gt])===null||Wt===void 0||Wt.call.apply(Wt,[Jt].concat(Mn)),at[gt].apply(at,Mn)})});var Pn=a.cloneElement(ve,(0,N.Z)((0,N.Z)({},Jt),qt)),Zn={x:rt,y:Nt},ar=Ln?(0,N.Z)({},Ln!==!0?Ln:{}):null;return a.createElement(a.Fragment,null,a.createElement(U.Z,{disabled:!Mt,ref:he,onResize:or},a.createElement(M,{getTriggerDOMNode:Tn},Pn)),Ct.current&&a.createElement(G.Provider,{value:Se},a.createElement(P,{portal:W,ref:et,prefixCls:C,popup:dn,className:p()(Rt,It),style:dt,target:Ie,onMouseEnter:yn,onMouseLeave:Cn,onPointerEnter:yn,zIndex:Qt,open:Mt,keepDom:jt,fresh:ft,onClick:Bn,onPointerDownCapture:kn,mask:st,motion:ot,maskMotion:_t,onVisibleChanged:ir,onPrepare:qn,forceRender:St,autoDestroy:it,getPopupContainer:Kt,align:Yt,arrow:ar,arrowPos:Zn,ready:de,offsetX:me,offsetY:Ee,offsetR:Ve,offsetB:ct,onAlign:an,stretch:bn,targetWidth:Xt/Bt,targetHeight:Un/Ot})))});return Q}var re=ue(Y.Z)},57884:function(Lt,Te,u){"use strict";var N=u(59301),O=u(93314),K=u(99571),Y=Object.defineProperty,j=Object.defineProperties,p=Object.getOwnPropertyDescriptors,U=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(a,o,g)=>o in a?Y(a,o,{enumerable:!0,configurable:!0,writable:!0,value:g}):a[o]=g,d=(a,o)=>{for(var g in o||(o={}))$.call(o,g)&&s(a,g,o[g]);if(U)for(var g of U(o))e.call(o,g)&&s(a,g,o[g]);return a},t=(a,o)=>j(a,p(o));const r=({img:a,buttonProps:o={},styles:g={},customText:E,ButtonText:S,ButtonClick:_,Buttonclass:m,ButtonTwo:f,imgStyles:l,loading:P=!1,className:k=""})=>N.createElement("section",{className:`tc animated fadeIn ${k}`,style:d({color:"#999",margin:"100px auto",visibility:P?"hidden":"visible"},g)},N.createElement("img",{src:a||O,style:t(d({},l),{pointerEvents:"none",userSelect:"none"})}),N.createElement("p",{className:"mt20 font14"},E||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),S&&N.createElement(K.ZP,d({className:m,onClick:_},o),S),f&&f);Te.Z=r},41550:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return m}});var N=u(59301),O={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},K=u(99571),Y=u(70557),j=u(51124),p=u(25399),U=u(49661),$=u(72664),e=u(57884),s=u(90524),d=u(14794),t=u(59301),r=Object.defineProperty,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,E=(f,l,P)=>l in f?r(f,l,{enumerable:!0,configurable:!0,writable:!0,value:P}):f[l]=P,S=(f,l)=>{for(var P in l||(l={}))o.call(l,P)&&E(f,P,l[P]);if(a)for(var P of a(l))g.call(l,P)&&E(f,P,l[P]);return f},_=(f,l,P)=>new Promise((k,M)=>{var I=ge=>{try{L(P.next(ge))}catch(b){M(b)}},G=ge=>{try{L(P.throw(ge))}catch(b){M(b)}},L=ge=>ge.done?k(ge.value):Promise.resolve(ge.value).then(I,G);L((P=P.apply(f,l)).next())}),m=({editOffice:f="view",data:l,issaver:P,onSaver:k,theme:M,type:I,filename:G,monacoEditor:L,className:ge,style:b,close:h,onClose:w,hasMask:R,disabledDownload:D,onImgDimensions:x,showNodata:n,recordInfo:i})=>{const[y,A]=(0,N.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[le,we]=(0,N.useState)(""),[Oe,je]=(0,N.useState)(),Ye=window.ENV==="build"?"/react/build":"",At=location.host.startsWith("localhost")?s.Z.PROXY_SERVER:s.Z.API_SERVER,qe=10*(1024*1024),Ze=(0,N.useRef)();l!=null&&l.startsWith("/api")&&I!=="txt"&&(l=s.Z.API_SERVER+l);const pe=c=>c.substring(c.lastIndexOf("/")+1).split(".").pop();G&&L&&(L.filename=G),(0,N.useEffect)(()=>{var c,B;const q=(B=(c=document.cookie)==null?void 0:c.replace(/\s/g,""))==null?void 0:B.split(";");q==null||q.map(C=>{let v=C.split("=");v[0]==="_educoder_session"&&we(v[1])})},[]),(0,N.useEffect)(()=>{I==="office"&&(l.indexOf("bigfilescdn.")>-1||l.indexOf("bigfiles1")>-1?je({url:l,fileType:pe(l),model:l.indexOf("model=edit")?"edit":"view"}):re())},[I,l]);function ue(c){return _(this,null,function*(){c.data.type==="pdfdata"&&(k(c.data.data),window.removeEventListener("message",ue,!1)),console.log("mess---:",c.data)})}const re=()=>_(void 0,null,function*(){console.log("data:",l);let c=l;l.startsWith("http")||(c=location.origin+c);let B=new URL(c).pathname.split("/").pop();const q=yield(0,$.gJ)({attachment_id:B});q.url=At+q.url,je(q)}),W=()=>{if(l.startsWith("http")||l.startsWith("blob:")){Q();return}(0,U.Sv)(G||"educoder",l,G)},Q=()=>{i&&(0,d.fc)({id:i==null?void 0:i.id,watch_type:1,course_id:i==null?void 0:i.course_id}),(0,U.Nd)(G||"educoder",decodeURIComponent(l))};return t.createElement("div",{style:S({},b||{}),className:`${R&&O.bgBlack} ${I?O.wrp:"hide"}`},h&&t.createElement("div",{className:O.close,ref:Ze},!!x&&t.createElement(p.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ze.current},t.createElement("span",{onClick:()=>{w(),x()}},t.createElement("i",{className:"icon-yulanpizhu"}))),!D&&t.createElement(p.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ze.current},t.createElement("span",{onClick:Q},t.createElement("i",{className:"icon-quxiaozhiding"}))),P&&t.createElement(p.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Ze.current},t.createElement("span",{className:"",onClick:()=>{const c=document.getElementById("pdfiframe");window.addEventListener("message",ue,!1),setTimeout(()=>{c.contentWindow.postMessage("getData","*")},300)}},t.createElement("i",{className:"icon-baocun"}))),t.createElement(p.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ze.current},t.createElement("span",{className:"",onClick:()=>{w()}},t.createElement("i",{className:"icon-guanbi1"})))),t.createElement("div",{className:`${O[ge]} ${ge} ${O.monaco} ${I==="txt"?"show":"hide"}`},I==="txt"&&t.createElement(t.Fragment,null,t.createElement(j.ZP,S({},L)))),I==="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}),I==="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})),I==="office"&&Oe&&t.createElement("iframe",{src:`${Ye}/office.html?key=${Oe.key}&url=${btoa(Oe.url)}&callbackUrl=${At+(Oe.callbackUrl||"")}&fileType=${Oe.fileType}&title=${Oe.title||""}&model=${f}&officeServer=${s.Z.ONLYOFFICE}&disabledDownload=${!!D}`}),I==="html"&&t.createElement("iframe",{src:l+"&disposition=inline"}),I==="pdf"&&t.createElement("iframe",{id:"pdfiframe",src:`${Ye}/js/pdfview/index.html?filename=${G||"educoder.pdf"}&url=${encodeURIComponent(l)}&disabledDownload=${!!D}&model=${f}`}),I==="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}`}),(I==="other"||I==="download")&&t.createElement(t.Fragment,null,n?t.createElement(e.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:t.createElement(K.ZP,{icon:t.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:W,disabled:D},"\u4E0B\u8F7D")}):t.createElement(K.ZP,{type:"primary",size:"middle",onClick:W,disabled:D},t.createElement(Y.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),I==="flowChart"&&t.createElement("div",{className:"embed"},t.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${l||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},51124:function(Lt,Te,u){"use strict";u.d(Te,{SV:function(){return qe},ZP:function(){return xe}});var N=u(59301),O=u(76374);const K={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},Y={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},j={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
`)},{label:"if",content:["if () {"," $0","}"].join(`
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
`)},{label:"include <vector>",content:["#include <vector>"].join(`
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
`)},{label:"include <map>",content:["#include <map>"].join(`
`)},{label:"include <string>",content:["#include <string>"].join(`
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
`)}]},p={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
`)}]},U={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=(Ze,pe,ue)=>new Promise((re,W)=>{var Q=q=>{try{B(ue.next(q))}catch(C){W(C)}},c=q=>{try{B(ue.throw(q))}catch(C){W(C)}},B=q=>q.done?re(q.value):Promise.resolve(q.value).then(Q,c);B((ue=ue.apply(Ze,pe)).next())});const d={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},t=(Ze,pe,ue,re)=>{const W=pe.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:ue.lineNumber,endColumn:ue.column});return Array.from(new Set(W.match(/\b\w{2,}\b/g)||[])).map(c=>({label:c,kind:Ze.languages.CompletionItemKind.Text,insertText:c,range:re}))},r=(Ze,pe,ue,re)=>{Ze.languages.registerCompletionItemProvider(pe,{provideCompletionItems(W,Q){const c=W.getWordUntilPosition(Q),B={startLineNumber:Q.lineNumber,endLineNumber:Q.lineNumber,startColumn:c.startColumn,endColumn:c.endColumn},q=W.getLineContent(Q.lineNumber).substring(c.startColumn-2,c.endColumn);return{suggestions:[...t(Ze,W,Q,B),...ue.map(v=>({label:v,kind:Ze.languages.CompletionItemKind.Keyword,documentation:v,insertText:v,insertTextRules:Ze.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:B})),...re.map(v=>({label:v.label,kind:Ze.languages.CompletionItemKind.Snippet,documentation:v.content,insertText:q.startsWith("#")?v.content.replace(/#/,""):v.content,insertTextRules:Ze.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:B}))]}}})};var a=Ze=>{d.languages.forEach(pe=>{Ze.languages.registerDocumentFormattingEditProvider(pe,{provideDocumentFormattingEdits(ue){return s(this,null,function*(){const re=e()(ue.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:ue.getFullModelRange(),text:re}]})}})}),r(Ze,"java",Y.keywords,Y.quickKey),r(Ze,"cpp",j.keywords,j.quickKey),r(Ze,"c",K.keywords,[]),r(Ze,"python",p.keywords,p.quickKey),r(Ze,"scala",U.keywords,U.quickKey)};const o="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var g=Object.defineProperty,E=(Ze,pe,ue)=>pe in Ze?g(Ze,pe,{enumerable:!0,configurable:!0,writable:!0,value:ue}):Ze[pe]=ue,S=(Ze,pe,ue)=>E(Ze,typeof pe!="symbol"?pe+"":pe,ue);const _=class yi{constructor(pe,ue,re){this.placeholder=pe,this.editor=ue,this.monaco=re,ue.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)}};S(_,"ID","editor.widget.placeholderHint");var f=_,l=u(96236),P=u(6767),k=u(25399),M=u(89392),I=u(33796),G=u(56102),L=Object.defineProperty,ge=Object.defineProperties,b=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,D=(Ze,pe,ue)=>pe in Ze?L(Ze,pe,{enumerable:!0,configurable:!0,writable:!0,value:ue}):Ze[pe]=ue,x=(Ze,pe)=>{for(var ue in pe||(pe={}))w.call(pe,ue)&&D(Ze,ue,pe[ue]);if(h)for(var ue of h(pe))R.call(pe,ue)&&D(Ze,ue,pe[ue]);return Ze},n=(Ze,pe)=>ge(Ze,b(pe)),i=(Ze,pe)=>{var ue={};for(var re in Ze)w.call(Ze,re)&&pe.indexOf(re)<0&&(ue[re]=Ze[re]);if(Ze!=null&&h)for(var re of h(Ze))pe.indexOf(re)<0&&R.call(Ze,re)&&(ue[re]=Ze[re]);return ue},y=(Ze,pe,ue)=>new Promise((re,W)=>{var Q=q=>{try{B(ue.next(q))}catch(C){W(C)}},c=q=>{try{B(ue.throw(q))}catch(C){W(C)}},B=q=>q.done?re(q.value):Promise.resolve(q.value).then(Q,c);B((ue=ue.apply(Ze,pe)).next())});function A(Ze){return/^\d+$/.test(Ze)?`${Ze}px`:Ze}function le(){}let we=!1;const Oe={"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 je(Ze=[]){let pe=Ze;if(Array.isArray(Ze)){for(let ue=0;ue<Ze.length;ue++){let re=Oe[Ze[ue]];if(re)return re}return pe[0]}return Oe[pe]||pe}let Ye=null;const At=()=>y(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Ze){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Ze)}});var xe=Ze=>{var pe=Ze,{width:ue="100%",height:re="100%",value:W,language:Q="javascript",style:c={},options:B={},overrideServices:q={},theme:C="vs-dark",onEditBlur:v,isCopy:F=!1,onSave:ee,autoHeight:Z=!1,forbidCopy:V=!1,onChange:z=le,editorDidMount:fe=le,onFocus:se=le,onBreakPoint:Ce=le,breakPointValue:Ae=[],filename:Xe="educoder.txt",errorLine:Le,errorContent:Me="",highlightLine:ke,openBreakPoint:st=!1,placeholder:Je="",showMiniMap:He=!0}=pe,Kt=i(pe,["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 St=(0,N.useRef)(),De=(0,N.useRef)({}),Vt=(0,N.useRef)(),dn=(0,N.useRef)(),Rt=(0,N.useRef)([]),dt=(0,N.useRef)(!1),Ft=(0,N.useRef)(),un=(0,N.useRef)(),Ut=(0,N.useRef)(!1),[mt,Qt]=(0,N.useState)(!1);function bn(){let at;return St.current&&(at=new O.Z(it=>{for(let en of it)(en.target.offsetHeight>0||en.target.offsetWidth>0)&&De.current.instance.layout()}),at.observe(St.current)),at}function Tt(){P.ZP.warning({content:decodeURIComponent(o),key:"monaco-editor-tip"})}const ft=()=>{let at=De.current.instance;if(W!=null&&at&&mt){const it=at.getModel();it&&W!==it.getValue()&&(we=!0,it.setValue(W),at.layout(),we=!1)}};(0,N.useEffect)(()=>{const at=I.Z.subscribe("formatDocument",it=>{var en;let pn=De.current.instance;(en=pn==null?void 0:pn.getAction)==null||en.call(pn,"editor.action.formatDocument").run()});return window.updateMonacoValue=it=>{z(it)},at},[]),(0,N.useEffect)(()=>{var at;let it=De.current.instance;dn.current&&clearTimeout(dn.current),dn.current=setTimeout(()=>{ft()},500),W&&(W!=null&&W.length)&&((at=it==null?void 0:it.updateOptions)==null||at.call(it,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(W.split(/\r\n|\r|\n/g).length))+3,5)}))},[W,mt,De.current]),(0,N.useEffect)(()=>{if(Le&&De.current&&De.current.instance){let it=De.current.instance;it.changeViewZones(function(en){var pn=document.createElement("div");pn.style.padding="10px 20px",pn.style.width="calc(100% - 20px)",pn.className="my-error-line-wrp",pn.innerHTML=Me,en.addZone({afterLineNumber:Le||11,heightInLines:3,domNode:pn})});var at={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}};it.addOverlayWidget(at),it.revealPositionInCenter({lineNumber:20,column:1})}},[Le,De.current,mt]);const yt=(at="",it)=>{if(!at||at.trim()==="")return!0;const pn=De.current.instance.getModel().getLineTokens(it);let An=!1;for(let J=0;J<2;J++)pn.getStandardTokenType(J)===1&&(An=!0);return An};(0,N.useEffect)(()=>{var at;const it=(at=De.current)==null?void 0:at.instance;if(it&&mt&&V){const en=it.onDidBlurEditorWidget(()=>{Ut.current=!1}),pn=it.onDidFocusEditorText(()=>{Ut.current=!0});return()=>{en.dispose(),pn.dispose()}}},[De.current,mt,V]),(0,N.useEffect)(()=>{var at;if((at=De.current)!=null&&at.instance&&mt&&st){let it=De.current.instance,en=it.getModel();if(!en)return;(()=>{var We;let et=[],lt=[];const Qe=en.getAllDecorations();for(let H of Qe)H.options.className==="highlighted-line"&&(et.push((We=H==null?void 0:H.range)==null?void 0:We.startLineNumber),lt.push(H==null?void 0:H.id));if(ke===et[0])return;en.deltaDecorations(lt,[]);const Ie=en.getLineCount();ke&&ke<=Ie&&(it.deltaDecorations([],[{range:new Ye.Range(ke,1,ke,en.getLineMaxColumn(ke)),options:{isWholeLine:!0,className:"highlighted-line"}}]),it.revealLineInCenter(ke))})();const An=(We=!1)=>{var et;let lt=[],Qe=[];const Ie=en.getAllDecorations();for(let H of Ie)H.options.linesDecorationsClassName==="breakpoints-select"&&(lt.push((et=H==null?void 0:H.range)==null?void 0:et.startLineNumber),Qe.push(H==null?void 0:H.id));if(We)return{lines:lt,ids:Qe};Ce(lt)},J=We=>y(void 0,null,function*(){let et={range:new Ye.Range(We,1,We,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield en.deltaDecorations([],[et]),An()}),X=We=>y(void 0,null,function*(){let et=[];const lt=it.getLineDecorations(We);for(let Qe of lt)Qe.options.linesDecorationsClassName==="breakpoints-select"&&et.push(Qe.id);yield en.deltaDecorations(et,[]),An()}),Ke=We=>{let et=it.getLineDecorations(We);for(let lt of et)if(lt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,M.isEqual)(Ae,An(!0).lines)){en.deltaDecorations(An(!0).ids,[]);const We=Ae.map(et=>({range:new Ye.Range(et,1,et,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));en.deltaDecorations([],We)}const Se=it.onDidChangeModelContent(We=>{let et=it.getPosition();if(et){let lt=et.lineNumber;clearTimeout(un.current),un.current=setTimeout(()=>{yt(en.getLineContent(lt),lt)?X(lt):Ke(lt)?(X(lt),J(lt)):An()},100)}}),ze=it.onMouseDown(We=>{var et,lt,Qe;if(We.target.detail&&((Qe=(lt=(et=We.target)==null?void 0:et.element)==null?void 0:lt.className)!=null&&Qe.includes("line-numbers"))){let Ie=We.target.position.lineNumber;if(yt(en.getLineContent(Ie),Ie))return;Ke(Ie)?X(Ie):J(Ie)}}),Ge=We=>{let et={range:new Ye.Range(We,1,We,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Rt.current=it.deltaDecorations(Rt.current,[et])},Be=()=>{Rt.current=it.deltaDecorations(Rt.current,[])},Fe=it.onMouseMove(We=>{var et,lt,Qe;if(Be(),We.target.detail&&((Qe=(lt=(et=We.target)==null?void 0:et.element)==null?void 0:lt.className)!=null&&Qe.includes("line-numbers"))){let Ie=We.target.position.lineNumber;if(yt(en.getLineContent(Ie),Ie))return;Ge(Ie)}}),nt=it.onMouseLeave(()=>{Be()});return()=>{Se.dispose(),ze.dispose(),Fe.dispose(),nt.dispose()}}},[De.current,mt,Ae,ke,st,Q]),(0,N.useEffect)(()=>{var at;(at=De.current)!=null&&at.instance&&st&&De.current.instance.setPosition({lineNumber:0,column:0})},[ke]);function Bn(){let at=De.current.instance;if(at){const it=at.getSelection(),en=De.current.pastePos||{},pn=new Ye.Range(en.startLineNumber||it.endLineNumber,en.startColumn||it.endColumn,en.endLineNumber||it.endLineNumber,en.endColumn||it.endColumn);setTimeout(()=>{at.executeEdits("",[{range:pn,text:""}])},300)}}function mn(at){(window.navigator.platform.match("Mac")?at.metaKey:at.ctrlKey)&&at.keyCode==83&&(at.preventDefault(),ee())}const Ln=()=>{if(Z&&De.current.instance){const at=De.current.instance.getContentHeight();En(at<re?re:at)}else En(re)};function Wn(at){var it=document.createEvent("MouseEvents");it.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),at.dispatchEvent(it)}const wn=at=>{if(!Ut.current)return;const{keyCode:it,ctrlKey:en,metaKey:pn,target:An,type:J}=at;return(J==="paste"||(it===67||it===86)&&(pn||en))&&An.nodeName==="TEXTAREA"&&(Tt(),at.preventDefault()),!1};function Rn(at,it){var en=window.URL||window.webkitURL||window,pn=new Blob([it]),An=document.createElementNS("http://www.w3.org/1999/xhtml","a");An.href=en.createObjectURL(pn),An.download=at,Wn(An)}(0,N.useEffect)(()=>{Ln()},[Ln]),(0,N.useEffect)(()=>{St.current&&!mt&&Promise.all([u.e(8909),u.e(5028)]).then(u.bind(u,71448)).then(at=>{try{Ye=at,De.current.instance=Ye.editor.create(St.current,{value:W,language:je(Q),theme:C,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:He||!1}},q);const it=De.current.instance;let An=[...l.BH._menuItems].find(Se=>Se[0]._debugName=="EditorContext")[1],J=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],X=(Se,ze)=>{var Ge,Be;let Fe=Se._first;do ze.includes((Be=(Ge=Fe.element)==null?void 0:Ge.command)==null?void 0:Be.id)&&Se._remove(Fe);while(Fe=Fe.next)};if(fe(it,Ye),setTimeout(()=>{Ln(),De.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Rn(Xe||"educoder.txt",it.getValue())}})},500),De.current.subscription=it.onDidChangeModelContent(Se=>{dt.current?clearTimeout(Ft.current):(Ln(),z(it.getValue(),Se)),Ft.current=setTimeout(()=>{dt.current=!1},500)}),window.Monaco||a(Ye,je(Q)),V&&(X(An,J),St.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",wn),window.removeEventListener("paste",wn),window.addEventListener("keydown",wn),window.addEventListener("paste",wn)),window.Monaco=Ye,v&&it.onDidBlurEditorWidget(()=>{v(it.getValue())}),se&&it.onDidFocusEditorText(()=>{V&&At(),se(it.getValue())}),V){At();try{it.onDidPaste(Se=>{const ze=it.getSelection(),Ge=De.current.pastePos||{},Be=new Ye.Range(Ge.startLineNumber||ze.endLineNumber,Ge.startColumn||ze.endColumn,Ge.endLineNumber||ze.endLineNumber,Ge.endColumn||ze.endColumn);it.executeEdits("",[{range:Se.range,text:""}])})}catch(Se){}}let Ke=bn();return Je&&typeof Je=="string"&&new f(Je,it,Ye),Qt(!0),()=>{const Se=De.current.instance;Se.dispose();const ze=Se.getModel();ze&&ze.dispose(),De.current.subscription&&De.current.subscription.dispose(),Ke.unobserve(St.current)}}catch(it){}})},[]),(0,N.useEffect)(()=>{if(De.current.instance&&mt)return document.addEventListener("keydown",mn,!1),()=>{document.removeEventListener("keydown",mn)}},[ee,mt]),(0,N.useEffect)(()=>{let at=De.current.instance;if(at&&mt){let it=je(Q);Ye.editor.setModelLanguage(at.getModel(),it)}},[Q,mt]),(0,N.useEffect)(()=>{De.current.instance&&mt&&Ye.editor.setTheme(C)},[C,mt]),(0,N.useEffect)(()=>{let at=De.current.instance;Vt.current=B,at&&mt&&(at.updateOptions(x({},B)),setTimeout(()=>{at.getModel().updateOptions(x({},B))},200))},[JSON.stringify(B),mt]),(0,N.useEffect)(()=>{let at=De.current.instance;at&&mt&&at.layout()},[ue,re,mt]);const[Kn,Nn]=(0,N.useState)(A(ue)),[In,En]=(0,N.useState)(A(re)),Tn=n(x({},c),{width:Kn,height:In,position:"relative"});return N.createElement("div",{className:"my-monaco-editor",ref:St,style:Tn},F&&N.createElement(G.CopyToClipboard,{text:W,onCopy:()=>P.ZP.success("\u590D\u5236\u6210\u529F")},N.createElement(k.Z,{title:"\u590D\u5236\u4EE3\u7801"},N.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},N.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function qe({width:Ze="100%",height:pe="100%",original:ue,modified:re,language:W,options:Q={}}){const c=(0,N.useRef)(),[B,q]=(0,N.useState)(null);function C(Z){let V;return c.current&&(V=new O.Z(z=>{for(let fe of z)(fe.target.offsetHeight>0||fe.target.offsetWidth>0)&&Z.layout()}),V.observe(c.current)),V}(0,N.useEffect)(()=>(c.current&&Promise.all([u.e(8909),u.e(9404)]).then(u.bind(u,2550)).then(Z=>{Ye=Z;const V=Ye.editor.createDiffEditor(c.current,n(x({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},Q),{wordWrap:!0}));q(V);let z=C(V);return()=>{V.dispose();const fe=V.getModel();fe&&fe.dispose(),z.unobserve(c.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,N.useEffect)(()=>{B&&B.setModel({original:Ye.editor.createModel(ue,W),modified:Ye.editor.createModel(re,W)})},[ue,re,W,B]);const v=A(Ze),F=A(pe),ee={width:v,height:F};return N.createElement("div",{className:"my-diff-editor",ref:c,style:ee})}},93477:function(Lt,Te,u){"use strict";u.r(Te),u.d(Te,{default:function(){return G}});var N=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"},K=u(76560),Y=u(6767),j=u(25399),p=u(62957),U=u(82326),$=u(99571),e=u(54172),s=u(87169),d=u(30975),t=u(82093),r=u(1697),a=u(56854),o=u(41550),g=Object.defineProperty,E=Object.defineProperties,S=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(L,ge,b)=>ge in L?g(L,ge,{enumerable:!0,configurable:!0,writable:!0,value:b}):L[ge]=b,P=(L,ge)=>{for(var b in ge||(ge={}))m.call(ge,b)&&l(L,b,ge[b]);if(_)for(var b of _(ge))f.call(ge,b)&&l(L,b,ge[b]);return L},k=(L,ge)=>E(L,S(ge)),M=(L,ge,b)=>new Promise((h,w)=>{var R=n=>{try{x(b.next(n))}catch(i){w(i)}},D=n=>{try{x(b.throw(n))}catch(i){w(i)}},x=n=>n.done?h(n.value):Promise.resolve(n.value).then(R,D);x((b=b.apply(L,ge)).next())});const I=({user:L})=>{var ge;const b={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,w]=(0,N.useState)(b);const[R,D]=(0,N.useState)(!0),[x,n]=(0,N.useState)([]),[i,y]=(0,N.useState)([]),[A,le]=(0,N.useState)([]),[we,Oe]=(0,N.useState)({filename:"",editOffice:"view",type:"",className:"",data:"",close:!0,hasMask:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}}),je=pe=>M(void 0,null,function*(){var ue;D(!0),pe.school_id=(ue=L==null?void 0:L.userInfo)==null?void 0:ue.school_id;let re=yield(0,t.ZP)(`/api/ec_major_schools/${(pe==null?void 0:pe.ec_major_school_id)||0}/ec_years.json`,{method:"get",params:k(P({},pe),{year:(pe==null?void 0:pe.ec_year_id)===0?null:pe==null?void 0:pe.ec_year_id,ec_year_id:((pe==null?void 0:pe.ec_year_id)===0,null)})});re&&(n(re==null?void 0:re.ec_years),D(!1),h.total=re==null?void 0:re.count,w(P({},h)))});(0,N.useEffect)(()=>{var pe;(pe=L.userInfo)!=null&&pe.school_id&&(Ye(),At(),je(h))},[(ge=L==null?void 0:L.userInfo)==null?void 0:ge.school_id]);function Ye(){return M(this,null,function*(){var pe;let ue=yield(0,t.ZP)(`/api/schools/${(pe=L==null?void 0:L.userInfo)==null?void 0:pe.school_id}/ec_majors/get_major_list.json`,{method:"get"});y(ue==null?void 0:ue.data)})}function At(){return M(this,null,function*(){let pe=yield(0,t.ZP)("/api/ec_major_schools/1/ec_years/select_year.json",{method:"get"});le(pe==null?void 0:pe.year_arr)})}const xe=(pe,ue)=>{h.page=1,h[ue]=typeof pe=="number"?pe:null,w(P({},h)),je(h)},qe=(pe,ue,re)=>{h.page=pe==null?void 0:pe.current,h.per_page=pe==null?void 0:pe.pageSize,re!=null&&re.order?(h.sort_by=re==null?void 0:re.field,h.sort_direction=(re==null?void 0:re.order)==="ascend"?"asc":"desc"):(h.sort_by=null,h.sort_direction=null),w(P({},h)),je(h)},Ze=[{title:"\u5E8F\u53F7",dataIndex:"index",width:54,render:(pe,ue,re)=>h.per_page*(h.page-1)+re+1},{title:"\u57F9\u517B\u65B9\u6848",dataIndex:"name",width:"17%",ellipsis:!0,key:"name",render:(pe,ue,re)=>N.createElement(K.Link,{to:`/engineering/training/program/edit?ec_year_id=${ue==null?void 0:ue.id}`},pe)},{title:"\u57F9\u517B\u65B9\u6848\u6587\u4EF6",dataIndex:"file_name",width:"10%",ellipsis:!0,key:"name",render:(pe,ue,re)=>N.createElement("a",{onClick:()=>{if(["xlsx","docx","pptx"].includes(ue==null?void 0:ue.type))we.editOffice="edit",Oe(k(P({},we),{type:ue.file_type,data:`/api/attachments/${ue.attachment_id}`}));else{Y.ZP.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}}},pe||"- -")},{title:"\u5C4A\u522B",width:"5%",dataIndex:"year",render:(pe,ue,re)=>pe+"\u5C4A"},{title:"\u57F9\u517B\u76EE\u6807\uFF08\u9879\uFF09",width:"8%",dataIndex:"training_subitem_count",render:(pe,ue,re)=>pe||N.createElement("a",{href:`/engineering/training/objectives?ids=${ue==null?void 0:ue.ec_major_school_id},${ue==null?void 0:ue.id}`},"\u8BBE\u7F6E")},{title:"\u6BD5\u4E1A\u8981\u6C42\uFF08\u9879\uFF09",width:"8%",dataIndex:"graduation_requirement_count",render:(pe,ue,re)=>pe||N.createElement("a",{href:`/engineering/graduated/index?ec_major_school_id=${ue==null?void 0:ue.ec_major_school_id}&ec_year_id=${ue==null?void 0:ue.id}`},"\u8BBE\u7F6E")},{title:"\u6388\u8BFE\u6559\u5E08/\u5B66\u751F\uFF08\u4EBA\uFF09",width:"10%",dataIndex:"teacher_count",render:(pe,ue,re)=>pe+"/"+(ue==null?void 0:ue.student_count)},{title:"\u8BFE\u7A0B\uFF08\u95E8\uFF09",width:"7%",dataIndex:"course_count",render:(pe,ue,re)=>pe||N.createElement("a",{href:`/engineering/course/list?ec_major_school_id=${ue==null?void 0:ue.ec_major_school_id}&ec_year_id=${ue==null?void 0:ue.id}`},"\u8BBE\u7F6E")},{title:"\u8BFE\u7A0B\u8FBE\u6210\u5EA6",width:"9%",dataIndex:"achieved_graduation_course_count",render:(pe,ue,re)=>N.createElement(j.Z,{title:`\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\uFF1A${pe} / \u8BFE\u7A0B\u603B\u6570\uFF1A${ue==null?void 0:ue.course_count}`},N.createElement("span",{style:{color:ue!=null&&ue.course_count?parseInt(pe)===parseInt(ue==null?void 0:ue.course_count)?"#07C160":"#E30000":""}},ue!=null&&ue.course_count?pe+"/"+(ue==null?void 0:ue.course_count):"- -"))},{title:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u5EA6",width:"8%",dataIndex:"achieved_graduation_objective_count",render:(pe,ue,re)=>N.createElement(j.Z,{title:`\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42\u6570\uFF1A${pe} / \u6BD5\u4E1A\u8981\u6C42\u603B\u6570\uFF1A${ue==null?void 0:ue.graduation_requirement_count}`},N.createElement("span",{style:{color:ue!=null&&ue.graduation_requirement_count?parseInt(pe)===parseInt(ue==null?void 0:ue.graduation_requirement_count)?"#07C160":"#E30000":""}},ue!=null&&ue.graduation_requirement_count?pe+"/"+(ue==null?void 0:ue.graduation_requirement_count):"- -"))},{title:"\u8BC4\u4EF7\u7ED3\u679C",width:"7%",dataIndex:"status",render:(pe,ue,re)=>N.createElement("span",{style:{color:pe==="achieved"?"#E30000":"#07C160"}},pe==="achieved"?"\u672A\u8FBE\u6210":"\u8FBE\u6210")},{title:"\u64CD\u4F5C",dataIndex:"id",width:64,render:(pe,ue,re)=>N.createElement("div",{style:{display:"flex"}},N.createElement("i",{onClick:()=>M(void 0,null,function*(){K.history.push(`/engineering/training/program/edit?ec_year_id=${ue==null?void 0:ue.id}`)}),style:{color:"#0152d9",cursor:"pointer",marginRight:"5px"},className:"iconfont icon-bianji6"}),N.createElement("i",{onClick:()=>{p.default.confirm({title:"\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F",icon:N.createElement(s.Z,null),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>M(void 0,null,function*(){var W;(yield(0,t.ZP)(`/api/ec_major_schools/1/ec_years/${pe}`,{method:"delete"}))&&(a.U.clear((W=L==null?void 0:L.userInfo)==null?void 0:W.login),Y.ZP.info("\u5220\u9664\u6210\u529F"),je(h))}),onCancel(){}})},style:{marginRight:"5px",color:"#0152d9",cursor:"pointer"},className:"iconfont icon-shanchu9"}),N.createElement("i",{onClick:()=>M(void 0,null,function*(){var W;(0,d.xm)({ec_year_id:pe,school_id:(W=L==null?void 0:L.userInfo)==null?void 0:W.school_id})}),style:{color:"#0152d9",cursor:"pointer"},className:"iconfont icon-daochubeifen"}))}];return N.createElement("div",{className:O.wrap},N.createElement(r.p,{title:"\u57F9\u517B\u65B9\u6848",style:{padding:"12px 0 0 20px"}}),N.createElement("div",{style:{clear:"both"}}),N.createElement("div",{className:O.control},N.createElement("div",{className:O.label},"\u8BA4\u8BC1\u4E13\u4E1A"),N.createElement(U.default,{style:{width:240},allowClear:!0,placeholder:"\u4E13\u4E1A",value:h==null?void 0:h.ec_major_school_id,onChange:pe=>xe(pe,"ec_major_school_id")},N.createElement(U.default.Option,{value:0},"\u5168\u90E8"),i==null?void 0:i.map((pe,ue)=>N.createElement(U.default.Option,{value:pe==null?void 0:pe.ec_major_school_id},pe==null?void 0:pe.name))),N.createElement("div",{className:O.label},"\u8BA4\u8BC1\u5C4A\u522B"),N.createElement(U.default,{style:{width:140},allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:h==null?void 0:h.ec_year_id,onChange:pe=>xe(pe,"ec_year_id")},N.createElement(U.default.Option,{value:0},"\u5168\u90E8"),A==null?void 0:A.map((pe,ue)=>N.createElement(U.default.Option,{value:pe},pe,"\u5C4A"))),N.createElement("div",{style:{flex:1,textAlign:"end"}},N.createElement($.ZP,{onClick:()=>{K.history.push("/engineering/training/program/add")},style:{height:"30px",width:"135px"},type:"primary"},N.createElement("i",{style:{marginRight:"7px"},className:"iconfont icon-xinzeng"}),"\u65B0\u589E\u57F9\u517B\u65B9\u6848"))),N.createElement(e.default,{className:O.customTable,dataSource:x,bordered:!1,rowKey:pe=>pe.id,columns:Ze,rowClassName:O.row,loading:R,onChange:qe,pagination:{pageSize:h.per_page,total:h.total,current:h.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,size:"default",position:["bottomCenter"],showTotal:pe=>N.createElement("span",{className:"mr10"},"\u5171",N.createElement("span",{className:"c-orange"},pe),"\u6761\u6570\u636E")}}),N.createElement(o.Z,k(P({},we),{onClose:()=>{Oe(k(P({},we),{type:""}))}})))};var G=(0,K.connect)(({user:L})=>({user:L}))(I)},1697:function(Lt,Te,u){"use strict";u.d(Te,{p:function(){return Y},v:function(){return U}});var N=u(59301),O={panelTitleContainer:"panelTitleContainer___Ypuh_"},Y=({title:$,style:e={}})=>N.createElement("div",{className:O.panelTitleContainer,style:e},N.createElement("div",null,$)),j={selectWrapContainer:"selectWrapContainer___qocIH"},U=({title:$,children:e})=>N.createElement("div",{className:j.selectWrapContainer},N.createElement("span",null,$),e)},30975:function(Lt,Te,u){"use strict";u.d(Te,{AD:function(){return w},BA:function(){return Q},D9:function(){return A},Hp:function(){return P},IM:function(){return we},Iy:function(){return M},KM:function(){return W},KU:function(){return At},MJ:function(){return k},Ne:function(){return le},ON:function(){return qe},Uj:function(){return ue},VY:function(){return Ye},YO:function(){return pe},YX:function(){return Ze},Zn:function(){return o},_g:function(){return m},_k:function(){return i},c6:function(){return b},cr:function(){return g},eV:function(){return h},fi:function(){return E},gh:function(){return L},hS:function(){return Oe},iA:function(){return S},j6:function(){return f},je:function(){return x},jj:function(){return l},kS:function(){return xe},lS:function(){return n},o6:function(){return ge},pO:function(){return re},rQ:function(){return R},sA:function(){return G},xm:function(){return y},xo:function(){return je},y8:function(){return D},yd:function(){return _}});var N=u(64948),O=u(76560),K=u(49661),Y=u(6767),j=u(90524),p=Object.defineProperty,U=Object.getOwnPropertySymbols,$=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,s=(c,B,q)=>B in c?p(c,B,{enumerable:!0,configurable:!0,writable:!0,value:q}):c[B]=q,d=(c,B)=>{for(var q in B||(B={}))$.call(B,q)&&s(c,q,B[q]);if(U)for(var q of U(B))e.call(B,q)&&s(c,q,B[q]);return c},t=(c,B,q)=>new Promise((C,v)=>{var F=V=>{try{Z(q.next(V))}catch(z){v(z)}},ee=V=>{try{Z(q.throw(V))}catch(z){v(z)}},Z=V=>V.done?C(V.value):Promise.resolve(V.value).then(F,ee);Z((q=q.apply(c,B)).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=c=>t(void 0,null,function*(){r(),(yield(0,N.YR)(d({},c))).status===0&&(yield(0,K.QH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/courses/${c.coursesId}/export_couser_info.json`,query:c}))),a()}),g=c=>t(void 0,null,function*(){const B=yield(0,N.yS)(d({},c));if(B.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_member_act_score`);else{if(B.status===-2)return B;B.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_member_act_score`))}}),E=c=>t(void 0,null,function*(){const B=yield(0,N.W0)(d({},c));if(B.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_score`);else{if(B.status===-4)return B;B.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_score`))}}),S=c=>t(void 0,null,function*(){const B=yield(0,N.Nl)(d({},c));if(B.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_exercise_and_other`);else{if(B.status===-4)return B;B.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_exercise_and_other`))}}),_=c=>t(void 0,null,function*(){const B=yield(0,N.IU)(d({},c));if(B.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/export_star_user`);else{if(B.status===-4)return B;B.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/export_star_user`))}}),m=c=>t(void 0,null,function*(){const B=yield(0,N.td)(d({},c));if(B.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_exercise_and_other`);else{if(B.status===-2)return B;if(B.status===-3)(0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_exercise_and_other`);else if(B.status===-4)return B}}),f=c=>t(void 0,null,function*(){const B=yield(0,N.QX)(d({},c));if(B.status===0)Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_homework`);else{if(B.status===-4)return B;B.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/course_total_homework`))}}),l=(c,B)=>t(void 0,null,function*(){const q=yield(0,N.o_)(d({},c));q.status===0?(Y.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/${c.coursesId}/exportlist/${B}`)):q.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/${B}`))}),P=(c,B)=>t(void 0,null,function*(){const q=yield(0,N.ZL)(d({},c));q.status===0?(Y.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/${c.coursesId}/exportlist/${B}`)):q.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/${B}`))}),k=(c,B)=>t(void 0,null,function*(){const q=yield(0,N.vV)(d({},c));q.status===0?(Y.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/${c.coursesId}/exportlist/${B}`)):q.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/${B}`))}),M=(c,B)=>t(void 0,null,function*(){const q=yield(0,N.aP)(d({},c));q.status===0?(Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/${B}`)):q.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/${B}`))}),I=c=>t(void 0,null,function*(){r(),(yield exportCourseWorkListAppendix(d({},c))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${c.categoryId}/works_list.zip`,query:c}))),a()}),G=c=>t(void 0,null,function*(){r(),yield(0,K.FH)("",j.Z.API_SERVER+`/api/polls/${c.categoryId}/commit_result.xlsx`),a()}),L=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/courses/${c.coursesId}/attendances/export_xlsx_data.xlsx`,query:c}))}),ge=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/courses/${c.coursesId}/video_study_statics.xlsx`,query:c}))}),b=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/courses/${c.coursesId}/export_video_study.xlsx`,query:c}))}),h=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/courses/${c.coursesId}/export_course_students_info.xlsx`,query:c}))}),w=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+"/api/school_manages/students.xlsx",query:c}))}),R=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+"/api/item_banks/export.xlsx",query:c}))}),D=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:c}))}),x=c=>t(void 0,null,function*(){const B=yield(0,N.Uy)(d({},c));B.status===0?(Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/exercise_score,export_exercise_users`)):B.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/exercise_score,export_exercise_users`))}),n=c=>t(void 0,null,function*(){const B=yield(0,N.tg)(d({},c));B.status===0?(Y.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),O.history.push(`/classrooms/${c.coursesId}/exportlist/exercise_score,export_exercise_report`)):B.status===-3&&((0,O.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),O.history.push(`/classrooms/${c.coursesId}/exportlist/exercise_score,export_exercise_report`))}),i=c=>t(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/export_records/${c.id}.xlsx`,query:c}))}),y=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:c}))}),A=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/courses/${c==null?void 0:c.coursesId}/${c.menuKey}_statistic.xlsx?${c.checkedList.map(B=>`course_group_id[]=${B}`).join("&")}`,query:c}))}),le=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/ec_years/${c==null?void 0:c.ec_year_id}/ec_training_objectives.xlsx`,query:c}))}),we=c=>t(void 0,null,function*(){yield(0,K.FH)(c==null?void 0:c.name,(0,K.NY)({url:j.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:c}))}),Oe=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/ec_years/${c==null?void 0:c.ec_year_id}/ec_courses.xlsx`,query:c}))}),je=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/ec_years/${c==null?void 0:c.ec_year_id}/ec_graduation_requirements.xlsx`,query:c}))}),Ye=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:c}))}),At=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/exercises/${c.categoryId}/rank_list.xlsx`,query:c}))}),xe=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:c}))}),qe=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/examination_banks/${c.id}.json`,query:c}))}),Ze=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/exercises/${c.categoryId}.json`,query:c}))}),pe=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/polls/${c==null?void 0:c.id}/commit_result.json`,query:c}))}),ue=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+"/api/paths/get_task_pass.json",query:c}))}),re=(c,B)=>t(void 0,null,function*(){yield(0,K.FH)(B||"",(0,K.NY)({url:j.Z.API_SERVER+`/api/exercises/${c==null?void 0:c.exercise_id}/consult_exercise.json`,query:c}))}),W=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/competitions/${c==null?void 0:c.identifier}/competition_commit_records/member_works.xlsx`,query:c}))}),Q=c=>t(void 0,null,function*(){yield(0,K.FH)("",(0,K.NY)({url:j.Z.API_SERVER+`/api/courses/${c==null?void 0:c.coursesId}/group_homeworks/import_group_template.xlsx`,query:c}))})},25769:function(Lt,Te,u){"use strict";var N=u(98040),O={"text/plain":"Text","text/html":"Url",default:"Text"},K="Copy to clipboard: #{key}, Enter";function Y(p){var U=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return p.replace(/#{\s*key\s*}/g,U)}function j(p,U){var $,e,s,d,t,r,a=!1;U||(U={}),$=U.debug||!1;try{s=N(),d=document.createRange(),t=document.getSelection(),r=document.createElement("span"),r.textContent=p,r.ariaHidden="true",r.style.all="unset",r.style.position="fixed",r.style.top=0,r.style.clip="rect(0, 0, 0, 0)",r.style.whiteSpace="pre",r.style.webkitUserSelect="text",r.style.MozUserSelect="text",r.style.msUserSelect="text",r.style.userSelect="text",r.addEventListener("copy",function(g){if(g.stopPropagation(),U.format)if(g.preventDefault(),typeof g.clipboardData=="undefined"){$&&console.warn("unable to use e.clipboardData"),$&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var E=O[U.format]||O.default;window.clipboardData.setData(E,p)}else g.clipboardData.clearData(),g.clipboardData.setData(U.format,p);U.onCopy&&(g.preventDefault(),U.onCopy(g.clipboardData))}),document.body.appendChild(r),d.selectNodeContents(r),t.addRange(d);var o=document.execCommand("copy");if(!o)throw new Error("copy command was unsuccessful");a=!0}catch(g){$&&console.error("unable to copy using execCommand: ",g),$&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(U.format||"text",p),U.onCopy&&U.onCopy(window.clipboardData),a=!0}catch(E){$&&console.error("unable to copy using clipboardData: ",E),$&&console.error("falling back to prompt"),e=Y("message"in U?U.message:K),window.prompt(e,p)}}finally{t&&(typeof t.removeRange=="function"?t.removeRange(d):t.removeAllRanges()),r&&document.body.removeChild(r),s()}return a}Lt.exports=j},53184:function(Lt,Te,u){"use strict";var N,O;function K(Y,j,p){var U=function($,e){return Y.js_beautify($,e)};return U.js=Y.js_beautify,U.css=j.css_beautify,U.html=p.html_beautify,U.js_beautify=Y.js_beautify,U.css_beautify=j.css_beautify,U.html_beautify=p.html_beautify,U}N=[u(58553),u(87804),u(40998)],O=function(Y,j,p){return K(Y,j,p)}.apply(Te,N),O!==void 0&&(Lt.exports=O)},87804:function(Lt,Te){var u,N;(function(){var O;(function(){"use strict";var Y=[,,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 d(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()}d.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},d.prototype.get_line_number=function(){return this.__lines.length},d.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},d.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},d.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},d.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},d.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},d.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},d.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)},d.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},d.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()},d.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(" "))},d.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()},d.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},d.prototype.just_added_newline=function(){return this.current_line.is_empty()},d.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},d.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=d},,,,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=d(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 d(t){var r={},a;for(a in t){var o=a.replace(/-/g,"_");r[o]=t[a]}return r}$.exports.Options=e,$.exports.normalizeOpts=d,$.exports.mergeOpts=s},,function($){var e=RegExp.prototype.hasOwnProperty("sticky");function s(d){this.__input=d||"",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 d=null;return this.hasNext()&&(d=this.__input.charAt(this.__position),this.__position+=1),d},s.prototype.peek=function(d){var t=null;return d=d||0,d+=this.__position,d>=0&&d<this.__input_length&&(t=this.__input.charAt(d)),t},s.prototype.__match=function(d,t){d.lastIndex=t;var r=d.exec(this.__input);return r&&!(e&&d.sticky)&&r.index!==t&&(r=null),r},s.prototype.test=function(d,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(d,t):!1},s.prototype.testChar=function(d,t){var r=this.peek(t);return d.lastIndex=0,r!==null&&d.test(r)},s.prototype.match=function(d){var t=this.__match(d,this.__position);return t?this.__position+=t[0].length:t=null,t},s.prototype.read=function(d,t,r){var a="",o;return d&&(o=this.match(d),o&&(a+=o[0])),t&&(o||!d)&&(a+=this.readUntil(t,r)),a},s.prototype.readUntil=function(d,t){var r="",a=this.__position;d.lastIndex=this.__position;var o=d.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(d){return this.readUntil(d,!0)},s.prototype.get_regexp=function(d,t){var r=null,a="g";return t&&e&&(a="y"),typeof d=="string"&&d!==""?r=new RegExp(d,a):d&&(r=new RegExp(d.source,a)),r},s.prototype.get_literal_regexp=function(d){return RegExp(d.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(d){var t=this.__position,r=this.readUntilAfter(d);return this.__position=t,r},s.prototype.lookBack=function(d){var t=this.__position-1;return t>=d.length&&this.__input.substring(t-d.length,t).toLowerCase()===d},$.exports.InputScanner=s},,,,,function($){function e(s,d){s=typeof s=="string"?s:s.source,d=typeof d=="string"?d:d.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+d,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+d,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var d={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)d[t[1]]=t[2],t=this.__directive_pattern.exec(s);return d},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},$.exports.Directives=e},,function($,e,s){var d=s(16).Beautifier,t=s(17).Options;function r(a,o){var g=new d(a,o);return g.beautify()}$.exports=r,$.exports.defaultOptions=function(){return new t}},function($,e,s){var d=s(17).Options,t=s(2).Output,r=s(8).InputScanner,a=s(13).Directives,o=new a(/\/\*/,/\*\//),g=/\r\n|[\r\n]/,E=/\r\n|[\r\n]/g,S=/\s/,_=/(?:\s|\n)+/g,m=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,f=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function l(P,k){this._source_text=P||"",this._options=new d(k),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}l.prototype.eatString=function(P){var k="";for(this._ch=this._input.next();this._ch;){if(k+=this._ch,this._ch==="\\")k+=this._input.next();else if(P.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return k},l.prototype.eatWhitespace=function(P){for(var k=S.test(this._input.peek()),M=0;S.test(this._input.peek());)this._ch=this._input.next(),P&&this._ch===`
`&&(M===0||M<this._options.max_preserve_newlines)&&(M++,this._output.add_new_line(!0));return k},l.prototype.foundNestedPseudoClass=function(){for(var P=0,k=1,M=this._input.peek(k);M;){if(M==="{")return!0;if(M==="(")P+=1;else if(M===")"){if(P===0)return!1;P-=1}else if(M===";"||M==="}")return!1;k++,M=this._input.peek(k)}return!1},l.prototype.print_string=function(P){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(P)},l.prototype.preserveSingleSpace=function(P){P&&(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 P=this._source_text,k=this._options.eol;k==="auto"&&(k=`
`,P&&g.test(P||"")&&(k=P.match(g)[0])),P=P.replace(E,`
`);var M=P.match(/^[\t ]*/)[0];this._output=new t(this._options,M),this._input=new r(P),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var I=0,G=!1,L=!1,ge=!1,b=!1,h=!1,w=this._ch,R=!1,D,x,n;D=this._input.read(_),x=D!=="",n=w,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),w=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var i=this._input.read(m),y=o.get_directives(i);y&&y.ignore==="start"&&(i+=o.readIgnored(this._input)),this.print_string(i),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(f)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(x),this.print_string(this._ch);var A=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);A.match(/[ :]$/)&&(A=this.eatString(": ").replace(/\s+$/,""),this.print_string(A),this._output.space_before_token=!0),I===0&&A.indexOf(":")!==-1&&(L=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(x),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),I===0&&le.indexOf(":")!==-1?(L=!0,this.indent()):le in this.NESTED_AT_RULE?(this._nestedLevel+=1,le in this.CONDITIONAL_GROUP_RULE&&(ge=!0)):I===0&&!L&&(b=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(x),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")L&&(L=!1,this.outdent()),b=!1,ge?(ge=!1,G=this._indentLevel>=this._nestedLevel):G=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&G&&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),L&&(this.outdent(),L=!1),this.print_string(this._ch),G=!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 we=0;we<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;we++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[we])){R=!0;break}(G||ge)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!b&&I===0?(this.print_string(":"),L||(L=!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 Oe=n==='"'||n==="'";this.preserveSingleSpace(Oe||x),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")R=!1,I===0?(L&&(this.outdent(),L=!1),b=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),I++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),I&&(I--,this.outdent()));else{var je=!1;this._input.lookBack("with")&&(je=!0),this.preserveSingleSpace(x||je),this.print_string(this._ch),L&&n==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),h=!0):(this.eatWhitespace(),I++,this.indent())}else if(this._ch===")")I&&(I--,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&&(!L||h)&&I===0&&!b?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!L&&I===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&S.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(x),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),S.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 Ye=n==='"'||n==="'";this.preserveSingleSpace(Ye||x),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&R&&this._output.add_new_line()}var At=this._output.get_code(k);return At},$.exports.Beautifier=l},function($,e,s){var d=s(6).Options;function t(r){d.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 g=0;g<o.length;g++)o[g]!=="expand"?this.brace_style="collapse":this.brace_style=o[g]}t.prototype=new d,$.exports.Options=t}],j={};function p($){var e=j[$];if(e!==void 0)return e.exports;var s=j[$]={exports:{}};return Y[$](s,s.exports,p),s.exports}var U=p(15);O=U})();var K=O;u=[],N=function(){return{css_beautify:K}}.apply(Te,u),N!==void 0&&(Lt.exports=N)})()},40998:function(Lt,Te,u){var N,O;(function(){var K;(function(){"use strict";var U=[,,function(d){function t(o){this.__parent=o,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}t.prototype.clone_empty=function(){var o=new t(this.__parent);return o.set_indent(this.__indent_count,this.__alignment_count),o},t.prototype.item=function(o){return o<0?this.__items[this.__items.length+o]:this.__items[o]},t.prototype.has_match=function(o){for(var g=this.__items.length-1;g>=0;g--)if(this.__items[g].match(o))return!0;return!1},t.prototype.set_indent=function(o,g){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=g||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},t.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},t.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},t.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===" "&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},t.prototype.is_empty=function(){return this.__items.length===0},t.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},t.prototype.push=function(o){this.__items.push(o);var g=o.lastIndexOf(`
`);g!==-1?this.__character_count=o.length-g:this.__character_count+=o.length},t.prototype.pop=function(){var o=null;return this.is_empty()||(o=this.__items.pop(),this.__character_count-=o.length),o},t.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},t.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},t.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},t.prototype.toString=function(){var o="";return this.is_empty()?this.__parent.indent_empty_lines&&(o=this.__parent.get_indent_string(this.__indent_count)):(o=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),o+=this.__items.join("")),o};function r(o,g){this.__cache=[""],this.__indent_size=o.indent_size,this.__indent_string=o.indent_char,o.indent_with_tabs||(this.__indent_string=new Array(o.indent_size+1).join(o.indent_char)),g=g||"",o.indent_level>0&&(g=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=g,this.__base_string_length=g.length}r.prototype.get_indent_size=function(o,g){var E=this.__base_string_length;return g=g||0,o<0&&(E=0),E+=o*this.__indent_size,E+=g,E},r.prototype.get_indent_string=function(o,g){var E=this.__base_string;return g=g||0,o<0&&(o=0,E=""),g+=o*this.__indent_size,this.__ensure_cache(g),E+=this.__cache[g],E},r.prototype.__ensure_cache=function(o){for(;o>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var o=this.__cache.length,g=0,E="";this.__indent_size&&o>=this.__indent_size&&(g=Math.floor(o/this.__indent_size),o-=g*this.__indent_size,E=new Array(g+1).join(this.__indent_string)),o&&(E+=new Array(o+1).join(" ")),this.__cache.push(E)};function a(o,g){this.__indent_cache=new r(o,g),this.raw=!1,this._end_with_newline=o.end_with_newline,this.indent_size=o.indent_size,this.wrap_line_length=o.wrap_line_length,this.indent_empty_lines=o.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new t(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}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,g){return this.__indent_cache.get_indent_string(o,g)},a.prototype.get_indent_size=function(o,g){return this.__indent_cache.get_indent_size(o,g)},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 g=this.current_line.pop();g&&(g[g.length-1]===`
`&&(g=g.replace(/\n+$/g,"")),this.current_line.push(g)),this._end_with_newline&&this.__add_outputline();var E=this.__lines.join(`
`);return o!==`
`&&(E=E.replace(/[\n]/g,o)),E},a.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},a.prototype.set_indent=function(o,g){return o=o||0,g=g||0,this.next_line.set_indent(o,g),this.__lines.length>1?(this.current_line.set_indent(o,g),!0):(this.current_line.set_indent(),!1)},a.prototype.add_raw_token=function(o){for(var g=0;g<o.newlines;g++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(o.whitespace_before),this.current_line.push(o.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},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 g=this.__lines.length;o<g;)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,g){for(var E=this.__lines.length-2;E>=0;){var S=this.__lines[E];if(S.is_empty())break;if(S.item(0).indexOf(o)!==0&&S.item(-1)!==g){this.__lines.splice(E+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}E--}},d.exports.Output=a},function(d){function t(r,a,o,g){this.type=r,this.text=a,this.comments_before=null,this.newlines=o||0,this.whitespace_before=g||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}d.exports.Token=t},,,function(d){function t(o,g){this.raw_options=r(o,g),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}t.prototype._get_array=function(o,g){var E=this.raw_options[o],S=g||[];return typeof E=="object"?E!==null&&typeof E.concat=="function"&&(S=E.concat()):typeof E=="string"&&(S=E.split(/[^a-zA-Z0-9_\/\-]+/)),S},t.prototype._get_boolean=function(o,g){var E=this.raw_options[o],S=E===void 0?!!g:!!E;return S},t.prototype._get_characters=function(o,g){var E=this.raw_options[o],S=g||"";return typeof E=="string"&&(S=E.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),S},t.prototype._get_number=function(o,g){var E=this.raw_options[o];g=parseInt(g,10),isNaN(g)&&(g=0);var S=parseInt(E,10);return isNaN(S)&&(S=g),S},t.prototype._get_selection=function(o,g,E){var S=this._get_selection_list(o,g,E);if(S.length!==1)throw new Error("Invalid Option Value: The option '"+o+`' can only be one of the following values:
`+g+`
You passed in: '`+this.raw_options[o]+"'");return S[0]},t.prototype._get_selection_list=function(o,g,E){if(!g||g.length===0)throw new Error("Selection list cannot be empty.");if(E=E||[g[0]],!this._is_valid_selection(E,g))throw new Error("Invalid Default Value!");var S=this._get_array(o,E);if(!this._is_valid_selection(S,g))throw new Error("Invalid Option Value: The option '"+o+`' can contain only the following values:
`+g+`
You passed in: '`+this.raw_options[o]+"'");return S},t.prototype._is_valid_selection=function(o,g){return o.length&&g.length&&!o.some(function(E){return g.indexOf(E)===-1})};function r(o,g){var E={};o=a(o);var S;for(S in o)S!==g&&(E[S]=o[S]);if(g&&o[g])for(S in o[g])E[S]=o[g][S];return E}function a(o){var g={},E;for(E in o){var S=E.replace(/-/g,"_");g[S]=o[E]}return g}d.exports.Options=t,d.exports.normalizeOpts=a,d.exports.mergeOpts=r},,function(d){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 g=a.exec(this.__input);return g&&!(t&&a.sticky)&&g.index!==o&&(g=null),g},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 g=this.peek(o);return a.lastIndex=0,g!==null&&a.test(g)},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,g){var E="",S;return a&&(S=this.match(a),S&&(E+=S[0])),o&&(S||!a)&&(E+=this.readUntil(o,g)),E},r.prototype.readUntil=function(a,o){var g="",E=this.__position;a.lastIndex=this.__position;var S=a.exec(this.__input);return S?(E=S.index,o&&(E+=S[0].length)):E=this.__input_length,g=this.__input.substring(this.__position,E),this.__position=E,g},r.prototype.readUntilAfter=function(a){return this.readUntil(a,!0)},r.prototype.get_regexp=function(a,o){var g=null,E="g";return o&&t&&(E="y"),typeof a=="string"&&a!==""?g=new RegExp(a,E):a&&(g=new RegExp(a.source,E)),g},r.prototype.get_literal_regexp=function(a){return RegExp(a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(a){var o=this.__position,g=this.readUntilAfter(a);return this.__position=o,g},r.prototype.lookBack=function(a){var o=this.__position-1;return o>=a.length&&this.__input.substring(o-a.length,o).toLowerCase()===a},d.exports.InputScanner=r},function(d,t,r){var a=r(8).InputScanner,o=r(3).Token,g=r(10).TokenStream,E=r(11).WhitespacePattern,S={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},_=function(m,f){this._input=new a(m),this._options=f||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new E(this._input)};_.prototype.tokenize=function(){this._input.restart(),this.__tokens=new g,this._reset();for(var m,f=new o(S.START,""),l=null,P=[],k=new g;f.type!==S.EOF;){for(m=this._get_next_token(f,l);this._is_comment(m);)k.add(m),m=this._get_next_token(f,l);k.isEmpty()||(m.comments_before=k,k=new g),m.parent=l,this._is_opening(m)?(P.push(l),l=m):l&&this._is_closing(m,l)&&(m.opened=l,l.closed=m,l=P.pop(),m.parent=l),m.previous=f,f.next=m,this.__tokens.add(m),f=m}return this.__tokens},_.prototype._is_first_token=function(){return this.__tokens.isEmpty()},_.prototype._reset=function(){},_.prototype._get_next_token=function(m,f){this._readWhitespace();var l=this._input.read(/.+/g);return l?this._create_token(S.RAW,l):this._create_token(S.EOF,"")},_.prototype._is_comment=function(m){return!1},_.prototype._is_opening=function(m){return!1},_.prototype._is_closing=function(m,f){return!1},_.prototype._create_token=function(m,f){var l=new o(m,f,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return l},_.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},d.exports.Tokenizer=_,d.exports.TOKEN=S},function(d){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},d.exports.TokenStream=t},function(d,t,r){var a=r(12).Pattern;function o(g,E){a.call(this,g,E),E?this._line_regexp=this._input.get_regexp(E._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}o.prototype=new a,o.prototype.__set_whitespace_patterns=function(g,E){g+="\\t ",E+="\\n\\r",this._match_pattern=this._input.get_regexp("["+g+E+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+E+"]")},o.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var g=this._input.read(this._match_pattern);if(g===" ")this.whitespace_before_token=" ";else if(g){var E=this.__split(this._newline_regexp,g);this.newline_count=E.length-1,this.whitespace_before_token=E[this.newline_count]}return g},o.prototype.matching=function(g,E){var S=this._create();return S.__set_whitespace_patterns(g,E),S._update(),S},o.prototype._create=function(){return new o(this._input,this)},o.prototype.__split=function(g,E){g.lastIndex=0;for(var S=0,_=[],m=g.exec(E);m;)_.push(E.substring(S,m.index)),S=m.index+m[0].length,m=g.exec(E);return S<E.length?_.push(E.substring(S,E.length)):_.push(""),_},d.exports.WhitespacePattern=o},function(d){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(){},d.exports.Pattern=t},function(d){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)},d.exports.Directives=t},function(d,t,r){var a=r(12).Pattern,o={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function g(E,S){a.call(this,E,S),this.__template_pattern=null,this._disabled=Object.assign({},o),this._excluded=Object.assign({},o),S&&(this.__template_pattern=this._input.get_regexp(S.__template_pattern),this._excluded=Object.assign(this._excluded,S._excluded),this._disabled=Object.assign(this._disabled,S._disabled));var _=new a(E);this.__patterns={handlebars_comment:_.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:_.starting_with(/{{{/).until_after(/}}}/),handlebars:_.starting_with(/{{/).until_after(/}}/),php:_.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:_.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:_.starting_with(/{%/).until_after(/%}/),django_value:_.starting_with(/{{/).until_after(/}}/),django_comment:_.starting_with(/{#/).until_after(/#}/),smarty:_.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:_.starting_with(/{\*/).until_after(/\*}/),smarty_literal:_.starting_with(/{literal}/).until_after(/{\/literal}/)}}g.prototype=new a,g.prototype._create=function(){return new g(this._input,this)},g.prototype._update=function(){this.__set_templated_pattern()},g.prototype.disable=function(E){var S=this._create();return S._disabled[E]=!0,S._update(),S},g.prototype.read_options=function(E){var S=this._create();for(var _ in o)S._disabled[_]=E.templating.indexOf(_)===-1;return S._update(),S},g.prototype.exclude=function(E){var S=this._create();return S._excluded[E]=!0,S._update(),S},g.prototype.read=function(){var E="";this._match_pattern?E=this._input.read(this._starting_pattern):E=this._input.read(this._starting_pattern,this.__template_pattern);for(var S=this._read_template();S;)this._match_pattern?S+=this._input.read(this._match_pattern):S+=this._input.readUntil(this.__template_pattern),E+=S,S=this._read_template();return this._until_after&&(E+=this._input.readUntilAfter(this._until_pattern)),E},g.prototype.__set_templated_pattern=function(){var E=[];this._disabled.php||E.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||E.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||E.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||E.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(E.push(this.__patterns.django._starting_pattern.source),E.push(this.__patterns.django_value._starting_pattern.source),E.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||E.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&E.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+E.join("|")+")")},g.prototype._read_template=function(){var E="",S=this._input.peek();if(S==="<"){var _=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&_==="?"&&(E=E||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&_==="%"&&(E=E||this.__patterns.erb.read())}else S==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(E=E||this.__patterns.handlebars_comment.read(),E=E||this.__patterns.handlebars_unescaped.read(),E=E||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(E=E||this.__patterns.django_value.read()),this._excluded.django||(E=E||this.__patterns.django_comment.read(),E=E||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(E=E||this.__patterns.smarty_comment.read(),E=E||this.__patterns.smarty_literal.read(),E=E||this.__patterns.smarty.read()));return E},d.exports.TemplatablePattern=g},,,,function(d,t,r){var a=r(19).Beautifier,o=r(20).Options;function g(E,S,_,m){var f=new a(E,S,_,m);return f.beautify()}d.exports=g,d.exports.defaultOptions=function(){return new o}},function(d,t,r){var a=r(20).Options,o=r(2).Output,g=r(21).Tokenizer,E=r(21).TOKEN,S=/\r\n|[\r\n]/,_=/\r\n|[\r\n]/g,m=function(b,h){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=b.max_preserve_newlines,this.preserve_newlines=b.preserve_newlines,this._output=new o(b,h)};m.prototype.current_line_has_match=function(b){return this._output.current_line.has_match(b)},m.prototype.set_space_before_token=function(b,h){this._output.space_before_token=b,this._output.non_breaking_space=h},m.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},m.prototype.add_raw_token=function(b){this._output.add_raw_token(b)},m.prototype.print_preserved_newlines=function(b){var h=0;b.type!==E.TEXT&&b.previous.type!==E.TEXT&&(h=b.newlines?1:0),this.preserve_newlines&&(h=b.newlines<this.max_preserve_newlines+1?b.newlines:this.max_preserve_newlines+1);for(var w=0;w<h;w++)this.print_newline(w>0);return h!==0},m.prototype.traverse_whitespace=function(b){return b.whitespace_before||b.newlines?(this.print_preserved_newlines(b)||(this._output.space_before_token=!0),!0):!1},m.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},m.prototype.print_newline=function(b){this._output.add_new_line(b)},m.prototype.print_token=function(b){b.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(b.text))},m.prototype.indent=function(){this.indent_level++},m.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},m.prototype.get_full_indent=function(b){return b=this.indent_level+(b||0),b<1?"":this._output.get_indent_string(b)};var f=function(b){for(var h=null,w=b.next;w.type!==E.EOF&&b.closed!==w;){if(w.type===E.ATTRIBUTE&&w.text==="type"){w.next&&w.next.type===E.EQUALS&&w.next.next&&w.next.next.type===E.VALUE&&(h=w.next.next.text);break}w=w.next}return h},l=function(b,h){var w=null,R=null;return h.closed?(b==="script"?w="text/javascript":b==="style"&&(w="text/css"),w=f(h)||w,w.search("text/css")>-1?R="css":w.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?R="javascript":w.search(/(text|application|dojo)\/(x-)?(html)/)>-1?R="html":w.search(/test\/null/)>-1&&(R="null"),R):null};function P(b,h){return h.indexOf(b)!==-1}function k(b,h,w){this.parent=b||null,this.tag=h?h.tag_name:"",this.indent_level=w||0,this.parser_token=h||null}function M(b){this._printer=b,this._current_frame=null}M.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},M.prototype.record_tag=function(b){var h=new k(this._current_frame,b,this._printer.indent_level);this._current_frame=h},M.prototype._try_pop_frame=function(b){var h=null;return b&&(h=b.parser_token,this._printer.indent_level=b.indent_level,this._current_frame=b.parent),h},M.prototype._get_frame=function(b,h){for(var w=this._current_frame;w&&b.indexOf(w.tag)===-1;){if(h&&h.indexOf(w.tag)!==-1){w=null;break}w=w.parent}return w},M.prototype.try_pop=function(b,h){var w=this._get_frame([b],h);return this._try_pop_frame(w)},M.prototype.indent_to_tag=function(b){var h=this._get_frame(b);h&&(this._printer.indent_level=h.indent_level)};function I(b,h,w,R){this._source_text=b||"",h=h||{},this._js_beautify=w,this._css_beautify=R,this._tag_stack=null;var D=new a(h,"html");this._options=D,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}I.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var b=this._source_text,h=this._options.eol;this._options.eol==="auto"&&(h=`
`,b&&S.test(b)&&(h=b.match(S)[0])),b=b.replace(_,`
`);var w=b.match(/^[\t ]*/)[0],R={text:"",type:""},D=new G(this._options),x=new m(this._options,w),n=new g(b,this._options).tokenize();this._tag_stack=new M(x);for(var i=null,y=n.next();y.type!==E.EOF;)y.type===E.TAG_OPEN||y.type===E.COMMENT?(i=this._handle_tag_open(x,y,D,R,n),D=i):y.type===E.ATTRIBUTE||y.type===E.EQUALS||y.type===E.VALUE||y.type===E.TEXT&&!D.tag_complete?i=this._handle_inside_tag(x,y,D,R):y.type===E.TAG_CLOSE?i=this._handle_tag_close(x,y,D):y.type===E.TEXT?i=this._handle_text(x,y,D):y.type===E.CONTROL_FLOW_OPEN?i=this._handle_control_flow_open(x,y):y.type===E.CONTROL_FLOW_CLOSE?i=this._handle_control_flow_close(x,y):x.add_raw_token(y),R=i,y=n.next();var A=x._output.get_code(h);return A},I.prototype._handle_control_flow_open=function(b,h){var w={text:h.text,type:h.type};return b.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),h.newlines?b.print_preserved_newlines(h):b.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),b.print_token(h),b.indent(),w},I.prototype._handle_control_flow_close=function(b,h){var w={text:h.text,type:h.type};return b.deindent(),h.newlines?b.print_preserved_newlines(h):b.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),b.print_token(h),w},I.prototype._handle_tag_close=function(b,h,w){var R={text:h.text,type:h.type};return b.alignment_size=0,w.tag_complete=!0,b.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),w.is_unformatted?b.add_raw_token(h):(w.tag_start_char==="<"&&(b.set_space_before_token(h.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&w.has_wrapped_attrs&&b.print_newline(!1)),b.print_token(h)),w.indent_content&&!(w.is_unformatted||w.is_content_unformatted)&&(b.indent(),w.indent_content=!1),!w.is_inline_element&&!(w.is_unformatted||w.is_content_unformatted)&&b.set_wrap_point(),R},I.prototype._handle_inside_tag=function(b,h,w,R){var D=w.has_wrapped_attrs,x={text:h.text,type:h.type};return b.set_space_before_token(h.newlines||h.whitespace_before!=="",!0),w.is_unformatted?b.add_raw_token(h):w.tag_start_char==="{"&&h.type===E.TEXT?b.print_preserved_newlines(h)?(h.newlines=0,b.add_raw_token(h)):b.print_token(h):(h.type===E.ATTRIBUTE?b.set_space_before_token(!0):(h.type===E.EQUALS||h.type===E.VALUE&&h.previous.type===E.EQUALS)&&b.set_space_before_token(!1),h.type===E.ATTRIBUTE&&w.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(b.traverse_whitespace(h),D=D||h.newlines!==0),this._is_wrap_attributes_force&&w.attr_count>=this._options.wrap_attributes_min_attrs&&(R.type!==E.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(b.print_newline(!1),D=!0)),b.print_token(h),D=D||b.previous_token_wrapped(),w.has_wrapped_attrs=D),x},I.prototype._handle_text=function(b,h,w){var R={text:h.text,type:"TK_CONTENT"};return w.custom_beautifier_name?this._print_custom_beatifier_text(b,h,w):w.is_unformatted||w.is_content_unformatted?b.add_raw_token(h):(b.traverse_whitespace(h),b.print_token(h)),R},I.prototype._print_custom_beatifier_text=function(b,h,w){var R=this;if(h.text!==""){var D=h.text,x,n=1,i="",y="";w.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?x=this._js_beautify:w.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?x=this._css_beautify:w.custom_beautifier_name==="html"&&(x=function(Ye,At){var xe=new I(Ye,At,R._js_beautify,R._css_beautify);return xe.beautify()}),this._options.indent_scripts==="keep"?n=0:this._options.indent_scripts==="separate"&&(n=-b.indent_level);var A=b.get_full_indent(n);if(D=D.replace(/\n[ \t]*$/,""),w.custom_beautifier_name!=="html"&&D[0]==="<"&&D.match(/^(<!--|<!\[CDATA\[)/)){var le=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(D);if(!le){b.add_raw_token(h);return}i=A+le[1]+`
`,D=le[4],le[5]&&(y=A+le[5]),D=D.replace(/\n[ \t]*$/,""),(le[2]||le[3].indexOf(`
`)!==-1)&&(le=le[3].match(/[ \t]+$/),le&&(h.whitespace_before=le[0]))}if(D)if(x){var we=function(){this.eol=`
`};we.prototype=this._options.raw_options;var Oe=new we;D=x(A+D,Oe)}else{var je=h.whitespace_before;je&&(D=D.replace(new RegExp(`
(`+je+")?","g"),`
`)),D=A+D.replace(/\n/g,`
`+A)}i&&(D?D=i+D+`
`+y:D=i+y),b.print_newline(!1),D&&(h.text=D,h.whitespace_before="",h.newlines=0,b.add_raw_token(h),b.print_newline(!0))}},I.prototype._handle_tag_open=function(b,h,w,R,D){var x=this._get_tag_open_token(h);if((w.is_unformatted||w.is_content_unformatted)&&!w.is_empty_element&&h.type===E.TAG_OPEN&&!x.is_start_tag?(b.add_raw_token(h),x.start_tag_token=this._tag_stack.try_pop(x.tag_name)):(b.traverse_whitespace(h),this._set_tag_position(b,h,x,w,R),x.is_inline_element||b.set_wrap_point(),b.print_token(h)),x.is_start_tag&&this._is_wrap_attributes_force){var n=0,i;do i=D.peek(n),i.type===E.ATTRIBUTE&&(x.attr_count+=1),n+=1;while(i.type!==E.EOF&&i.type!==E.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(x.alignment_size=h.text.length+1),!x.tag_complete&&!x.is_unformatted&&(b.alignment_size=x.alignment_size),x};var G=function(b,h,w){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="",!w)this.tag_complete=!0;else{var R;this.tag_start_char=w.text[0],this.text=w.text,this.tag_start_char==="<"?(R=w.text.match(/^<([^\s>]*)/),this.tag_check=R?R[1]:""):(R=w.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=R?R[1]:"",(w.text.startsWith("{{#>")||w.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&w.next!==null?this.tag_check=w.next.text.split(" ")[0]:this.tag_check=w.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),w.type===E.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||w.closed&&w.closed.text==="/>";var D=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(D=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!b.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(D)))}};I.prototype._get_tag_open_token=function(b){var h=new G(this._options,this._tag_stack.get_parser_token(),b);return h.alignment_size=this._options.wrap_attributes_indent_size,h.is_end_tag=h.is_end_tag||P(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&&P(h.tag_check,this._options.unformatted),h.is_content_unformatted=!h.is_empty_element&&P(h.tag_check,this._options.content_unformatted),h.is_inline_element=P(h.tag_name,this._options.inline)||this._options.inline_custom_elements&&h.tag_name.includes("-")||h.tag_start_char==="{",h},I.prototype._set_tag_position=function(b,h,w,R,D){if(w.is_empty_element||(w.is_end_tag?w.start_tag_token=this._tag_stack.try_pop(w.tag_name):(this._do_optional_end_element(w)&&(w.is_inline_element||b.print_newline(!1)),this._tag_stack.record_tag(w),(w.tag_name==="script"||w.tag_name==="style")&&!(w.is_unformatted||w.is_content_unformatted)&&(w.custom_beautifier_name=l(w.tag_check,h)))),P(w.tag_check,this._options.extra_liners)&&(b.print_newline(!1),b._output.just_added_blankline()||b.print_newline(!0)),w.is_empty_element){if(w.tag_start_char==="{"&&w.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),w.indent_content=!0;var x=b.current_line_has_match(/{{#if/);x||b.print_newline(!1)}w.tag_name==="!--"&&D.type===E.TAG_CLOSE&&R.is_end_tag&&w.text.indexOf(`
`)===-1||(w.is_inline_element||w.is_unformatted||b.print_newline(!1),this._calcluate_parent_multiline(b,w))}else if(w.is_end_tag){var n=!1;n=w.start_tag_token&&w.start_tag_token.multiline_content,n=n||!w.is_inline_element&&!(R.is_inline_element||R.is_unformatted)&&!(D.type===E.TAG_CLOSE&&w.start_tag_token===R)&&D.type!=="TK_CONTENT",(w.is_content_unformatted||w.is_unformatted)&&(n=!1),n&&b.print_newline(!1)}else w.indent_content=!w.custom_beautifier_name,w.tag_start_char==="<"&&(w.tag_name==="html"?w.indent_content=this._options.indent_inner_html:w.tag_name==="head"?w.indent_content=this._options.indent_head_inner_html:w.tag_name==="body"&&(w.indent_content=this._options.indent_body_inner_html)),!(w.is_inline_element||w.is_unformatted)&&(D.type!=="TK_CONTENT"||w.is_content_unformatted)&&b.print_newline(!1),this._calcluate_parent_multiline(b,w)},I.prototype._calcluate_parent_multiline=function(b,h){h.parent&&b._output.just_added_newline()&&!((h.is_inline_element||h.is_unformatted)&&h.parent.is_inline_element)&&(h.parent.multiline_content=!0)};var L=["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"];I.prototype._do_optional_end_element=function(b){var h=null;if(!(b.is_empty_element||!b.is_start_tag||!b.parent)){if(b.tag_name==="body")h=h||this._tag_stack.try_pop("head");else if(b.tag_name==="li")h=h||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(b.tag_name==="dd"||b.tag_name==="dt")h=h||this._tag_stack.try_pop("dt",["dl"]),h=h||this._tag_stack.try_pop("dd",["dl"]);else if(b.parent.tag_name==="p"&&L.indexOf(b.tag_name)!==-1){var w=b.parent.parent;(!w||ge.indexOf(w.tag_name)===-1)&&(h=h||this._tag_stack.try_pop("p"))}else b.tag_name==="rp"||b.tag_name==="rt"?(h=h||this._tag_stack.try_pop("rt",["ruby","rtc"]),h=h||this._tag_stack.try_pop("rp",["ruby","rtc"])):b.tag_name==="optgroup"?h=h||this._tag_stack.try_pop("optgroup",["select"]):b.tag_name==="option"?h=h||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):b.tag_name==="colgroup"?h=h||this._tag_stack.try_pop("caption",["table"]):b.tag_name==="thead"?(h=h||this._tag_stack.try_pop("caption",["table"]),h=h||this._tag_stack.try_pop("colgroup",["table"])):b.tag_name==="tbody"||b.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"])):b.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"])):(b.tag_name==="th"||b.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 b.parent=this._tag_stack.get_parser_token(),h}},d.exports.Beautifier=I},function(d,t,r){var a=r(6).Options;function o(g){a.call(this,g,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}o.prototype=new a,d.exports.Options=o},function(d,t,r){var a=r(9).Tokenizer,o=r(9).TOKEN,g=r(13).Directives,E=r(14).TemplatablePattern,S=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},m=new g(/<\!--/,/-->/),f=function(l,P){a.call(this,l,P),this._current_tag_name="";var k=new E(this._input).read_options(this._options),M=new S(this._input);if(this.__patterns={word:k.until(/[\n\r\t <]/),word_control_flow_close_excluded:k.until(/[\n\r\t <}]/),single_quote:k.until_after(/'/),double_quote:k.until_after(/"/),attribute:k.until(/[\n\r\t =>]|\/>/),element_name:k.until(/[\n\r\t >\/]/),angular_control_flow_start:M.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:M.starting_with(/{{!--/).until_after(/--}}/),handlebars:M.starting_with(/{{/).until_after(/}}/),handlebars_open:M.until(/[\n\r\t }]/),handlebars_raw_close:M.until(/}}/),comment:M.starting_with(/<!--/).until_after(/-->/),cdata:M.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:M.starting_with(/<!\[/).until_after(/]>/),processing:M.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var I=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=M.matching(I).until_after(I)}};f.prototype=new a,f.prototype._is_comment=function(l){return!1},f.prototype._is_opening=function(l){return l.type===_.TAG_OPEN||l.type===_.CONTROL_FLOW_OPEN},f.prototype._is_closing=function(l,P){return l.type===_.TAG_CLOSE&&P&&((l.text===">"||l.text==="/>")&&P.text[0]==="<"||l.text==="}}"&&P.text[0]==="{"&&P.text[1]==="{")||l.type===_.CONTROL_FLOW_CLOSE&&l.text==="}"&&P.text.endsWith("{")},f.prototype._reset=function(){this._current_tag_name=""},f.prototype._get_next_token=function(l,P){var k=null;this._readWhitespace();var M=this._input.peek();return M===null?this._create_token(_.EOF,""):(k=k||this._read_open_handlebars(M,P),k=k||this._read_attribute(M,l,P),k=k||this._read_close(M,P),k=k||this._read_script_and_style(M,l),k=k||this._read_control_flows(M,P),k=k||this._read_raw_content(M,l,P),k=k||this._read_content_word(M,P),k=k||this._read_comment_or_cdata(M),k=k||this._read_processing(M),k=k||this._read_open(M,P),k=k||this._create_token(_.UNKNOWN,this._input.next()),k)},f.prototype._read_comment_or_cdata=function(l){var P=null,k=null,M=null;if(l==="<"){var I=this._input.peek(1);I==="!"&&(k=this.__patterns.comment.read(),k?(M=m.get_directives(k),M&&M.ignore==="start"&&(k+=m.readIgnored(this._input))):k=this.__patterns.cdata.read()),k&&(P=this._create_token(_.COMMENT,k),P.directives=M)}return P},f.prototype._read_processing=function(l){var P=null,k=null,M=null;if(l==="<"){var I=this._input.peek(1);(I==="!"||I==="?")&&(k=this.__patterns.conditional_comment.read(),k=k||this.__patterns.processing.read()),k&&(P=this._create_token(_.COMMENT,k),P.directives=M)}return P},f.prototype._read_open=function(l,P){var k=null,M=null;return(!P||P.type===_.CONTROL_FLOW_OPEN)&&l==="<"&&(k=this._input.next(),this._input.peek()==="/"&&(k+=this._input.next()),k+=this.__patterns.element_name.read(),M=this._create_token(_.TAG_OPEN,k)),M},f.prototype._read_open_handlebars=function(l,P){var k=null,M=null;return(!P||P.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)==="!"?(k=this.__patterns.handlebars_comment.read(),k=k||this.__patterns.handlebars.read(),M=this._create_token(_.COMMENT,k)):(k=this.__patterns.handlebars_open.read(),M=this._create_token(_.TAG_OPEN,k))),M},f.prototype._read_control_flows=function(l,P){var k="",M=null;if(!this._options.templating.includes("angular"))return M;if(l==="@"){if(k=this.__patterns.angular_control_flow_start.read(),k==="")return M;for(var I=k.endsWith("(")?1:0,G=0;!(k.endsWith("{")&&I===G);){var L=this._input.next();if(L===null)break;L==="("?I++:L===")"&&G++,k+=L}M=this._create_token(_.CONTROL_FLOW_OPEN,k)}else l==="}"&&P&&P.type===_.CONTROL_FLOW_OPEN&&(k=this._input.next(),M=this._create_token(_.CONTROL_FLOW_CLOSE,k));return M},f.prototype._read_close=function(l,P){var k=null,M=null;return P&&P.type===_.TAG_OPEN&&(P.text[0]==="<"&&(l===">"||l==="/"&&this._input.peek(1)===">")?(k=this._input.next(),l==="/"&&(k+=this._input.next()),M=this._create_token(_.TAG_CLOSE,k)):P.text[0]==="{"&&l==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),M=this._create_token(_.TAG_CLOSE,"}}"))),M},f.prototype._read_attribute=function(l,P,k){var M=null,I="";if(k&&k.text[0]==="<")if(l==="=")M=this._create_token(_.EQUALS,this._input.next());else if(l==='"'||l==="'"){var G=this._input.next();l==='"'?G+=this.__patterns.double_quote.read():G+=this.__patterns.single_quote.read(),M=this._create_token(_.VALUE,G)}else I=this.__patterns.attribute.read(),I&&(P.type===_.EQUALS?M=this._create_token(_.VALUE,I):M=this._create_token(_.ATTRIBUTE,I));return M},f.prototype._is_content_unformatted=function(l){return this._options.void_elements.indexOf(l)===-1&&(this._options.content_unformatted.indexOf(l)!==-1||this._options.unformatted.indexOf(l)!==-1)},f.prototype._read_raw_content=function(l,P,k){var M="";if(k&&k.text[0]==="{")M=this.__patterns.handlebars_raw_close.read();else if(P.type===_.TAG_CLOSE&&P.opened.text[0]==="<"&&P.text[0]!=="/"){var I=P.opened.text.substr(1).toLowerCase();this._is_content_unformatted(I)&&(M=this._input.readUntil(new RegExp("</"+I+"[\\n\\r\\t ]*?>","ig")))}return M?this._create_token(_.TEXT,M):null},f.prototype._read_script_and_style=function(l,P){if(P.type===_.TAG_CLOSE&&P.opened.text[0]==="<"&&P.text[0]!=="/"){var k=P.opened.text.substr(1).toLowerCase();if(k==="script"||k==="style"){var M=this._read_comment_or_cdata(l);if(M)return M.type=_.TEXT,M;var I=this._input.readUntil(new RegExp("</"+k+"[\\n\\r\\t ]*?>","ig"));if(I)return this._create_token(_.TEXT,I)}}return null},f.prototype._read_content_word=function(l,P){var k="";return this._options.unformatted_content_delimiter&&l===this._options.unformatted_content_delimiter[0]&&(k=this.__patterns.unformatted_content_delimiter.read()),k||(k=P&&P.type===_.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),k?this._create_token(_.TEXT,k):null},d.exports.Tokenizer=f,d.exports.TOKEN=_}],$={};function e(d){var t=$[d];if(t!==void 0)return t.exports;var r=$[d]={exports:{}};return U[d](r,r.exports,e),r.exports}var s=e(18);K=s})();var Y=K;if(1)N=[u,u(58553),u(87804)],O=function(U){var $=u(58553),e=u(87804);return{html_beautify:function(s,d){return Y(s,d,$.js_beautify,e.css_beautify)}}}.apply(Te,N),O!==void 0&&(Lt.exports=O);else var j,p})()},58553:function(Lt,Te){var u,N;(function(){var O;(function(){"use strict";var Y=[function($,e,s){var d=s(1).Beautifier,t=s(5).Options;function r(a,o){var g=new d(a,o);return g.beautify()}$.exports=r,$.exports.defaultOptions=function(){return new t}},function($,e,s){var d=s(2).Output,t=s(3).Token,r=s(4),a=s(5).Options,o=s(7).Tokenizer,g=s(7).line_starters,E=s(7).positionable_operators,S=s(7).TOKEN;function _(i,y){return y.indexOf(i)!==-1}function m(i){return i.replace(/^\s+/g,"")}function f(i){for(var y={},A=0;A<i.length;A++)y[i[A].replace(/-/g,"_")]=i[A];return y}function l(i,y){return i&&i.type===S.RESERVED&&i.text===y}function P(i,y){return i&&i.type===S.RESERVED&&_(i.text,y)}var k=["case","return","do","if","throw","else","await","break","continue","async"],M=["before-newline","after-newline","preserve-newline"],I=f(M),G=[I.before_newline,I.preserve_newline],L={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ge(i,y){y.multiline_frame||y.mode===L.ForInitializer||y.mode===L.Conditional||i.remove_indent(y.start_line_index)}function b(i){i=i.replace(r.allLineBreaks,`
`);for(var y=[],A=i.indexOf(`
`);A!==-1;)y.push(i.substring(0,A)),i=i.substring(A+1),A=i.indexOf(`
`);return i.length&&y.push(i),y}function h(i){return i===L.ArrayLiteral}function w(i){return _(i,[L.Expression,L.ForInitializer,L.Conditional])}function R(i,y){for(var A=0;A<i.length;A++){var le=i[A].trim();if(le.charAt(0)!==y)return!1}return!0}function D(i,y){for(var A=0,le=i.length,we;A<le;A++)if(we=i[A],we&&we.indexOf(y)!==0)return!1;return!0}function x(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)}x.prototype.create_flags=function(i,y){var A=0;i&&(A=i.indentation_level,!this._output.just_added_newline()&&i.line_indent_level>A&&(A=i.line_indent_level));var le={mode:y,parent:i,last_token:i?i.last_token:new t(S.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:A,alignment:0,line_indent_level:i?i.line_indent_level:A,start_line_index:this._output.get_line_number(),ternary_depth:0};return le},x.prototype._reset=function(i){var y=i.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new d(this._options,y),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(L.BlockStatement);var A=new o(i,this._options);return this._tokens=A.tokenize(),i},x.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var i,y=this._reset(this._source_text),A=this._options.eol;this._options.eol==="auto"&&(A=`
`,y&&r.lineBreak.test(y||"")&&(A=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(A),i},x.prototype.handle_token=function(i,y){i.type===S.START_EXPR?this.handle_start_expr(i):i.type===S.END_EXPR?this.handle_end_expr(i):i.type===S.START_BLOCK?this.handle_start_block(i):i.type===S.END_BLOCK?this.handle_end_block(i):i.type===S.WORD?this.handle_word(i):i.type===S.RESERVED?this.handle_word(i):i.type===S.SEMICOLON?this.handle_semicolon(i):i.type===S.STRING?this.handle_string(i):i.type===S.EQUALS?this.handle_equals(i):i.type===S.OPERATOR?this.handle_operator(i):i.type===S.COMMA?this.handle_comma(i):i.type===S.BLOCK_COMMENT?this.handle_block_comment(i,y):i.type===S.COMMENT?this.handle_comment(i,y):i.type===S.DOT?this.handle_dot(i):i.type===S.EOF?this.handle_eof(i):i.type===S.UNKNOWN?this.handle_unknown(i,y):this.handle_unknown(i,y)},x.prototype.handle_whitespace_and_comments=function(i,y){var A=i.newlines,le=this._options.keep_array_indentation&&h(this._flags.mode);if(i.comments_before)for(var we=i.comments_before.next();we;)this.handle_whitespace_and_comments(we,y),this.handle_token(we,y),we=i.comments_before.next();if(le)for(var Oe=0;Oe<A;Oe+=1)this.print_newline(Oe>0,y);else if(this._options.max_preserve_newlines&&A>this._options.max_preserve_newlines&&(A=this._options.max_preserve_newlines),this._options.preserve_newlines&&A>1){this.print_newline(!1,y);for(var je=1;je<A;je+=1)this.print_newline(!0,y)}};var n=["async","break","continue","return","throw","yield"];x.prototype.allow_wrap_or_preserved_newline=function(i,y){if(y=y===void 0?!1:y,!this._output.just_added_newline()){var A=this._options.preserve_newlines&&i.newlines||y,le=_(this._flags.last_token.text,E)||_(i.text,E);if(le){var we=_(this._flags.last_token.text,E)&&_(this._options.operator_position,G)||_(i.text,E);A=A&&we}if(A)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(P(this._flags.last_token,n))return;this._output.set_wrap_point()}}},x.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!==S.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var A=this._tokens.peek();this._flags.mode===L.Statement&&!(this._flags.if_block&&l(A,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(i)&&(this._flags.multiline_frame=!0)},x.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))},x.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===S.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)},x.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},x.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))},x.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)},x.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===L.Statement&&ge(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},x.prototype.start_of_object_property=function(){return this._flags.parent.mode===L.ObjectLiteral&&this._flags.mode===L.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||P(this._flags.last_token,["get","set"]))},x.prototype.start_of_statement=function(i){var y=!1;return y=y||P(this._flags.last_token,["var","let","const"])&&i.type===S.WORD,y=y||l(this._flags.last_token,"do"),y=y||!(this._flags.parent.mode===L.ObjectLiteral&&this._flags.mode===L.Statement)&&P(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===S.END_EXPR&&(this._previous_flags.mode===L.ForInitializer||this._previous_flags.mode===L.Conditional),y=y||this._flags.last_token.type===S.WORD&&this._flags.mode===L.BlockStatement&&!this._flags.in_case&&!(i.text==="--"||i.text==="++")&&this._last_last_text!=="function"&&i.type!==S.WORD&&i.type!==S.RESERVED,y=y||this._flags.mode===L.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||P(this._flags.last_token,["get","set"])),y?(this.set_mode(L.Statement),this.indent(),this.handle_whitespace_and_comments(i,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i,P(i,["do","for","if","while"])),!0):!1},x.prototype.handle_start_expr=function(i){this.start_of_statement(i)||this.handle_whitespace_and_comments(i);var y=L.Expression;if(i.text==="["){if(this._flags.last_token.type===S.WORD||this._flags.last_token.text===")"){P(this._flags.last_token,g)&&(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=L.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,[S.START_EXPR,S.END_EXPR,S.WORD,S.OPERATOR,S.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===S.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,y=L.ForInitializer):_(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,y=L.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,g)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===S.EQUALS||this._flags.last_token.type===S.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i);else if(this._flags.last_token.type===S.WORD){this._output.space_before_token=!1;var A=this._tokens.peek(-3);if(this._options.space_after_named_function&&A){var le=this._tokens.peek(-4);P(A,["async","function"])||A.text==="*"&&P(le,["async","function"])?this._output.space_before_token=!0:this._flags.mode===L.ObjectLiteral?(A.text==="{"||A.text===","||A.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===S.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===L.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===S.START_BLOCK?this.print_newline():(this._flags.last_token.type===S.END_EXPR||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===S.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()},x.prototype.handle_end_expr=function(i){for(;this._flags.mode===L.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===S.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===L.Conditional&&(this._previous_flags.mode=L.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},x.prototype.handle_start_block=function(i){this.handle_whitespace_and_comments(i);var y=this._tokens.peek(),A=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===S.END_EXPR?(this.set_mode(L.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(L.BlockStatement):A&&(_(A.text,[":",","])&&_(y.type,[S.STRING,S.WORD,S.RESERVED])||_(y.text,["get","set","..."])&&_(A.type,[S.WORD,S.RESERVED]))?_(this._last_last_text,["class","interface"])&&!_(A.text,[":",","])?this.set_mode(L.BlockStatement):this.set_mode(L.ObjectLiteral):this._flags.last_token.type===S.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(L.BlockStatement):_(this._flags.last_token.type,[S.EQUALS,S.START_EXPR,S.COMMA,S.OPERATOR])||P(this._flags.last_token,["return","throw","import","default"])?this.set_mode(L.ObjectLiteral):this.set_mode(L.BlockStatement),this._flags.last_token&&P(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var le=!y.comments_before&&y.text==="}",we=le&&this._flags.last_word==="function"&&this._flags.last_token.type===S.END_EXPR;if(this._options.brace_preserve_inline){var Oe=0,je=null;this._flags.inline_frame=!0;do if(Oe+=1,je=this._tokens.peek(Oe-1),je.newlines){this._flags.inline_frame=!1;break}while(je.type!==S.EOF&&!(je.type===S.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!==S.OPERATOR&&(we||this._flags.last_token.type===S.EQUALS||P(this._flags.last_token,k)&&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===S.START_EXPR||this._flags.last_token.type===S.COMMA)&&((this._flags.last_token.type===S.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.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!==S.OPERATOR&&this._flags.last_token.type!==S.START_EXPR&&(_(this._flags.last_token.type,[S.START_BLOCK,S.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()},x.prototype.handle_end_block=function(i){for(this.handle_whitespace_and_comments(i);this._flags.mode===L.Statement;)this.restore_mode();var y=this._flags.last_token.type===S.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)},x.prototype.handle_word=function(i){if(i.type===S.RESERVED){if(_(i.text,["set","get"])&&this._flags.mode!==L.ObjectLiteral)i.type=S.WORD;else if(i.text==="import"&&_(this._tokens.peek().text,["(","."]))i.type=S.WORD;else if(_(i.text,["as","from"])&&!this._flags.import_block)i.type=S.WORD;else if(this._flags.mode===L.ObjectLiteral){var y=this._tokens.peek();y.text===":"&&(i.type=S.WORD)}}if(this.start_of_statement(i)?P(this._flags.last_token,["var","let","const"])&&i.type===S.WORD&&(this._flags.declaration_statement=!0):i.newlines&&!w(this._flags.mode)&&(this._flags.last_token.type!==S.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==S.EQUALS&&(this._options.preserve_newlines||!P(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===L.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&P(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===S.COMMA||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.EQUALS||this._flags.last_token.type===S.OPERATOR)&&!this.start_of_object_property()&&!(_(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===L.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===S.OPERATOR))&&!this._output.just_added_blankline()&&!i.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD?P(this._flags.last_token,["get","set","new","export"])||P(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===S.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(w(this._flags.mode)||h(this._flags.mode))||this.print_newline(),this.print_token(i),this._flags.last_word=i.text;return}var A="NONE";if(this._flags.last_token.type===S.END_BLOCK?this._previous_flags.inline_frame?A="SPACE":P(i,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&i.newlines?A="NEWLINE":(A="SPACE",this._output.space_before_token=!0):A="NEWLINE":this._flags.last_token.type===S.SEMICOLON&&this._flags.mode===L.BlockStatement?A="NEWLINE":this._flags.last_token.type===S.SEMICOLON&&w(this._flags.mode)?A="SPACE":this._flags.last_token.type===S.STRING?A="NEWLINE":this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD||this._flags.last_token.text==="*"&&(_(this._last_last_text,["function","yield"])||this._flags.mode===L.ObjectLiteral&&_(this._last_last_text,["{",","]))?A="SPACE":this._flags.last_token.type===S.START_BLOCK?this._flags.inline_frame?A="SPACE":A="NEWLINE":this._flags.last_token.type===S.END_EXPR&&(this._output.space_before_token=!0,A="NEWLINE"),P(i,g)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?A="SPACE":A="NEWLINE"),P(i,["else","catch","finally"]))if((!(this._flags.last_token.type===S.END_BLOCK&&this._previous_flags.mode===L.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 A==="NEWLINE"?P(this._flags.last_token,k)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&P(i,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==S.END_EXPR?(this._flags.last_token.type!==S.START_EXPR||!P(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()):P(i,g)&&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():A==="SPACE"&&(this._output.space_before_token=!0);i.previous&&(i.previous.type===S.WORD||i.previous.type===S.RESERVED)&&(this._output.space_before_token=!0),this.print_token(i),this._flags.last_word=i.text,i.type===S.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))},x.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===L.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)},x.prototype.handle_string=function(i){i.text.startsWith("`")&&i.newlines===0&&i.whitespace_before===""&&(i.previous.text===")"||this._flags.last_token.type===S.WORD)||(this.start_of_statement(i)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(i),this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.EQUALS||this._flags.last_token.type===S.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i):i.text.startsWith("`")&&this._flags.last_token.type===S.END_EXPR&&(i.previous.text==="]"||i.previous.text===")")&&i.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(i)},x.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},x.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?(w(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===L.ObjectLiteral||this._flags.mode===L.Statement&&this._flags.parent.mode===L.ObjectLiteral?(this._flags.mode===L.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(i)},x.prototype.handle_operator=function(i){var y=i.text==="*"&&(P(this._flags.last_token,["function","yield"])||_(this._flags.last_token.type,[S.START_BLOCK,S.COMMA,S.END_BLOCK,S.SEMICOLON])),A=_(i.text,["-","+"])&&(_(this._flags.last_token.type,[S.START_BLOCK,S.START_EXPR,S.EQUALS,S.OPERATOR])||_(this._flags.last_token.text,g)||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===S.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===S.OPERATOR&&_(this._options.operator_position,G)&&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!==S.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 we=!0,Oe=!0,je=!1;if(i.text===":"?this._flags.ternary_depth===0?we=!1:(this._flags.ternary_depth-=1,je=!0):i.text==="?"&&(this._flags.ternary_depth+=1),!A&&!y&&this._options.preserve_newlines&&_(i.text,E)){var Ye=i.text===":",At=Ye&&je,xe=Ye&&!je;switch(this._options.operator_position){case I.before_newline:this._output.space_before_token=!xe,this.print_token(i),(!Ye||At)&&this.allow_wrap_or_preserved_newline(i),this._output.space_before_token=!0;return;case I.after_newline:this._output.space_before_token=!0,!Ye||At?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 I.preserve_newline:xe||this.allow_wrap_or_preserved_newline(i),we=!(this._output.just_added_newline()||xe),this._output.space_before_token=we,this.print_token(i),this._output.space_before_token=!0;return}}if(y){this.allow_wrap_or_preserved_newline(i),we=!1;var qe=this._tokens.peek();Oe=qe&&_(qe.type,[S.WORD,S.RESERVED])}else if(i.text==="...")this.allow_wrap_or_preserved_newline(i),we=this._flags.last_token.type===S.START_BLOCK,Oe=!1;else if(_(i.text,["--","++","!","~"])||A){if((this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR)&&this.allow_wrap_or_preserved_newline(i),we=!1,Oe=!1,i.newlines&&(i.text==="--"||i.text==="++"||i.text==="~")){var Ze=P(this._flags.last_token,k)&&i.newlines;Ze&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Ze,!0)}this._flags.last_token.text===";"&&w(this._flags.mode)&&(we=!0),this._flags.last_token.type===S.RESERVED?we=!0:this._flags.last_token.type===S.END_EXPR?we=!(this._flags.last_token.text==="]"&&(i.text==="--"||i.text==="++")):this._flags.last_token.type===S.OPERATOR&&(we=_(i.text,["--","-","++","+"])&&_(this._flags.last_token.text,["--","-","++","+"]),_(i.text,["+","-"])&&_(this._flags.last_token.text,["--","++"])&&(Oe=!0)),(this._flags.mode===L.BlockStatement&&!this._flags.inline_frame||this._flags.mode===L.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||we,this.print_token(i),this._output.space_before_token=Oe},x.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)},x.prototype.print_block_commment=function(i,y){var A=b(i.text),le,we=!1,Oe=!1,je=i.whitespace_before,Ye=je.length;if(this.print_newline(!1,y),this.print_token_line_indentation(i),this._output.add_token(A[0]),this.print_newline(!1,y),A.length>1){for(A=A.slice(1),we=R(A,"*"),Oe=D(A,je),we&&(this._flags.alignment=1),le=0;le<A.length;le++)we?(this.print_token_line_indentation(i),this._output.add_token(m(A[le]))):Oe&&A[le]?(this.print_token_line_indentation(i),this._output.add_token(A[le].substring(Ye))):(this._output.current_line.set_indent(-1),this._output.add_token(A[le])),this.print_newline(!1,y);this._flags.alignment=0}},x.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)},x.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),P(this._flags.last_token,k)?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)},x.prototype.handle_unknown=function(i,y){this.print_token(i),i.text[i.text.length-1]===`
`&&this.print_newline(!1,y)},x.prototype.handle_eof=function(i){for(;this._flags.mode===L.Statement;)this.restore_mode();this.handle_whitespace_and_comments(i)},$.exports.Beautifier=x},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 d(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()}d.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},d.prototype.get_line_number=function(){return this.__lines.length},d.prototype.get_indent_string=function(t,r){return this.__indent_cache.get_indent_string(t,r)},d.prototype.get_indent_size=function(t,r){return this.__indent_cache.get_indent_size(t,r)},d.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},d.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},d.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},d.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},d.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)},d.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},d.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()},d.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(" "))},d.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()},d.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},d.prototype.just_added_newline=function(){return this.current_line.is_empty()},d.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},d.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=d},function($){function e(s,d,t,r){this.type=s,this.text=d,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",d="\\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+"])",g="(?:"+a+"|["+d+t+r+"])*";e.identifier=new RegExp(o+g,"g"),e.identifierStart=new RegExp(o),e.identifierMatch=new RegExp("(?:"+a+"|["+d+t+r+"])+");var E=/[\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 d=s(6).Options,t=["before-newline","after-newline","preserve-newline"];function r(a){d.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 g=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var E=0;E<g.length;E++)g[E]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=g[E];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 d,$.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=d(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 d(t){var r={},a;for(a in t){var o=a.replace(/-/g,"_");r[o]=t[a]}return r}$.exports.Options=e,$.exports.normalizeOpts=d,$.exports.mergeOpts=s},function($,e,s){var d=s(8).InputScanner,t=s(9).Tokenizer,r=s(9).TOKEN,a=s(13).Directives,o=s(4),g=s(12).Pattern,E=s(14).TemplatablePattern;function S(R,D){return D.indexOf(R)!==-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},m=new a(/\/\*/,/\*\//),f=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,l=/[0-9]/,P=/[^\d\.]/,k=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),M=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";M=M.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),M="\\?\\.(?!\\d) "+M,M=M.replace(/ /g,"|");var I=new RegExp(M),G="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),L=G.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),ge=new RegExp("^(?:"+L.join("|")+")$"),b,h=function(R,D){t.call(this,R,D),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var x=new g(this._input),n=new E(this._input).read_options(this._options);this.__patterns={template:n,identifier:n.starting_with(o.identifier).matching(o.identifierMatch),number:x.matching(f),punct:x.matching(I),comment:x.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:x.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:x.matching(/<!--/),html_comment_end:x.matching(/-->/),include:x.starting_with(/#include/).until_after(o.lineBreak),shebang:x.starting_with(/#!/).until_after(o.lineBreak),xml:x.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(R){return R.type===_.COMMENT||R.type===_.BLOCK_COMMENT||R.type===_.UNKNOWN},h.prototype._is_opening=function(R){return R.type===_.START_BLOCK||R.type===_.START_EXPR},h.prototype._is_closing=function(R,D){return(R.type===_.END_BLOCK||R.type===_.END_EXPR)&&D&&(R.text==="]"&&D.text==="["||R.text===")"&&D.text==="("||R.text==="}"&&D.text==="{")},h.prototype._reset=function(){b=!1},h.prototype._get_next_token=function(R,D){var x=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(_.EOF,""):(x=x||this._read_non_javascript(n),x=x||this._read_string(n),x=x||this._read_pair(n,this._input.peek(1)),x=x||this._read_word(R),x=x||this._read_singles(n),x=x||this._read_comment(n),x=x||this._read_regexp(n,R),x=x||this._read_xml(n,R),x=x||this._read_punctuation(),x=x||this._create_token(_.UNKNOWN,this._input.next()),x)},h.prototype._read_word=function(R){var D;if(D=this.__patterns.identifier.read(),D!=="")return D=D.replace(o.allLineBreaks,`
`),!(R.type===_.DOT||R.type===_.RESERVED&&(R.text==="set"||R.text==="get"))&&ge.test(D)?(D==="in"||D==="of")&&(R.type===_.WORD||R.type===_.STRING)?this._create_token(_.OPERATOR,D):this._create_token(_.RESERVED,D):this._create_token(_.WORD,D);if(D=this.__patterns.number.read(),D!=="")return this._create_token(_.WORD,D)},h.prototype._read_singles=function(R){var D=null;return R==="("||R==="["?D=this._create_token(_.START_EXPR,R):R===")"||R==="]"?D=this._create_token(_.END_EXPR,R):R==="{"?D=this._create_token(_.START_BLOCK,R):R==="}"?D=this._create_token(_.END_BLOCK,R):R===";"?D=this._create_token(_.SEMICOLON,R):R==="."&&P.test(this._input.peek(1))?D=this._create_token(_.DOT,R):R===","&&(D=this._create_token(_.COMMA,R)),D&&this._input.next(),D},h.prototype._read_pair=function(R,D){var x=null;return R==="#"&&D==="{"&&(x=this._create_token(_.START_BLOCK,R+D)),x&&(this._input.next(),this._input.next()),x},h.prototype._read_punctuation=function(){var R=this.__patterns.punct.read();if(R!=="")return R==="="?this._create_token(_.EQUALS,R):R==="?."?this._create_token(_.DOT,R):this._create_token(_.OPERATOR,R)},h.prototype._read_non_javascript=function(R){var D="";if(R==="#"){if(this._is_first_token()&&(D=this.__patterns.shebang.read(),D))return this._create_token(_.UNKNOWN,D.trim()+`
`);if(D=this.__patterns.include.read(),D)return this._create_token(_.UNKNOWN,D.trim()+`
`);R=this._input.next();var x="#";if(this._input.hasNext()&&this._input.testChar(l)){do R=this._input.next(),x+=R;while(this._input.hasNext()&&R!=="#"&&R!=="=");return R==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(x+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(x+="{}",this._input.next(),this._input.next())),this._create_token(_.WORD,x)}this._input.back()}else if(R==="<"&&this._is_first_token()){if(D=this.__patterns.html_comment_start.read(),D){for(;this._input.hasNext()&&!this._input.testChar(o.newline);)D+=this._input.next();return b=!0,this._create_token(_.COMMENT,D)}}else if(b&&R==="-"&&(D=this.__patterns.html_comment_end.read(),D))return b=!1,this._create_token(_.COMMENT,D);return null},h.prototype._read_comment=function(R){var D=null;if(R==="/"){var x="";if(this._input.peek(1)==="*"){x=this.__patterns.block_comment.read();var n=m.get_directives(x);n&&n.ignore==="start"&&(x+=m.readIgnored(this._input)),x=x.replace(o.allLineBreaks,`
`),D=this._create_token(_.BLOCK_COMMENT,x),D.directives=n}else this._input.peek(1)==="/"&&(x=this.__patterns.comment.read(),D=this._create_token(_.COMMENT,x))}return D},h.prototype._read_string=function(R){if(R==="`"||R==="'"||R==='"'){var D=this._input.next();return this.has_char_escapes=!1,R==="`"?D+=this._read_string_recursive("`",!0,"${"):D+=this._read_string_recursive(R),this.has_char_escapes&&this._options.unescape_strings&&(D=w(D)),this._input.peek()===R&&(D+=this._input.next()),D=D.replace(o.allLineBreaks,`
`),this._create_token(_.STRING,D)}return null},h.prototype._allow_regexp_or_xml=function(R){return R.type===_.RESERVED&&S(R.text,["return","case","throw","else","do","typeof","yield"])||R.type===_.END_EXPR&&R.text===")"&&R.opened.previous.type===_.RESERVED&&S(R.opened.previous.text,["if","while","for"])||S(R.type,[_.COMMENT,_.START_EXPR,_.START_BLOCK,_.START,_.END_BLOCK,_.OPERATOR,_.EQUALS,_.EOF,_.SEMICOLON,_.COMMA])},h.prototype._read_regexp=function(R,D){if(R==="/"&&this._allow_regexp_or_xml(D)){for(var x=this._input.next(),n=!1,i=!1;this._input.hasNext()&&(n||i||this._input.peek()!==R)&&!this._input.testChar(o.newline);)x+=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()===R&&(x+=this._input.next(),x+=this._input.read(o.identifier)),this._create_token(_.STRING,x)}return null},h.prototype._read_xml=function(R,D){if(this._options.e4x&&R==="<"&&this._allow_regexp_or_xml(D)){var x="",n=this.__patterns.xml.read_match();if(n){for(var i=n[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),y=i.indexOf("{")===0,A=0;n;){var le=!!n[1],we=n[2],Oe=!!n[n.length-1]||we.slice(0,8)==="![CDATA[";if(!Oe&&(we===i||y&&we.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(le?--A:++A),x+=n[0],A<=0)break;n=this.__patterns.xml.read_match()}return n||(x+=this._input.match(/[\s\S]*/g)[0]),x=x.replace(o.allLineBreaks,`
`),this._create_token(_.STRING,x)}}return null};function w(R){for(var D="",x=0,n=new d(R),i=null;n.hasNext();)if(i=n.match(/([\s]|[^\\]|\\\\)+/g),i&&(D+=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{D+="\\",n.hasNext()&&(D+=n.next());continue}if(!i||(x=parseInt(i[1],16),x>126&&x<=255&&i[0].indexOf("x")===0))return R;x>=0&&x<32||x>1114111?D+="\\"+i[0]:x===34||x===39||x===92?D+="\\"+String.fromCharCode(x):D+=String.fromCharCode(x)}return D}h.prototype._read_string_recursive=function(R,D,x){var n,i;R==="'"?i=this.__patterns.single_quote:R==='"'?i=this.__patterns.double_quote:R==="`"?i=this.__patterns.template_text:R==="}"&&(i=this.__patterns.template_expression);for(var y=i.read(),A="";this._input.hasNext();){if(A=this._input.next(),A===R||!D&&o.newline.test(A)){this._input.back();break}else A==="\\"&&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(),A+=this._input.next()):x&&(x==="${"&&A==="$"&&this._input.peek()==="{"&&(A+=this._input.next()),x===A&&(R==="`"?A+=this._read_string_recursive("}",D,"`"):A+=this._read_string_recursive("`",D,"${"),this._input.hasNext()&&(A+=this._input.next())));A+=i.read(),y+=A}return y},$.exports.Tokenizer=h,$.exports.TOKEN=_,$.exports.positionable_operators=k.slice(),$.exports.line_starters=G.slice()},function($){var e=RegExp.prototype.hasOwnProperty("sticky");function s(d){this.__input=d||"",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 d=null;return this.hasNext()&&(d=this.__input.charAt(this.__position),this.__position+=1),d},s.prototype.peek=function(d){var t=null;return d=d||0,d+=this.__position,d>=0&&d<this.__input_length&&(t=this.__input.charAt(d)),t},s.prototype.__match=function(d,t){d.lastIndex=t;var r=d.exec(this.__input);return r&&!(e&&d.sticky)&&r.index!==t&&(r=null),r},s.prototype.test=function(d,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(d,t):!1},s.prototype.testChar=function(d,t){var r=this.peek(t);return d.lastIndex=0,r!==null&&d.test(r)},s.prototype.match=function(d){var t=this.__match(d,this.__position);return t?this.__position+=t[0].length:t=null,t},s.prototype.read=function(d,t,r){var a="",o;return d&&(o=this.match(d),o&&(a+=o[0])),t&&(o||!d)&&(a+=this.readUntil(t,r)),a},s.prototype.readUntil=function(d,t){var r="",a=this.__position;d.lastIndex=this.__position;var o=d.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(d){return this.readUntil(d,!0)},s.prototype.get_regexp=function(d,t){var r=null,a="g";return t&&e&&(a="y"),typeof d=="string"&&d!==""?r=new RegExp(d,a):d&&(r=new RegExp(d.source,a)),r},s.prototype.get_literal_regexp=function(d){return RegExp(d.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},s.prototype.peekUntilAfter=function(d){var t=this.__position,r=this.readUntilAfter(d);return this.__position=t,r},s.prototype.lookBack=function(d){var t=this.__position-1;return t>=d.length&&this.__input.substring(t-d.length,t).toLowerCase()===d},$.exports.InputScanner=s},function($,e,s){var d=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"},g=function(E,S){this._input=new d(E),this._options=S||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new a(this._input)};g.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var E,S=new t(o.START,""),_=null,m=[],f=new r;S.type!==o.EOF;){for(E=this._get_next_token(S,_);this._is_comment(E);)f.add(E),E=this._get_next_token(S,_);f.isEmpty()||(E.comments_before=f,f=new r),E.parent=_,this._is_opening(E)?(m.push(_),_=E):_&&this._is_closing(E,_)&&(E.opened=_,_.closed=E,_=m.pop(),E.parent=_),E.previous=S,S.next=E,this.__tokens.add(E),S=E}return this.__tokens},g.prototype._is_first_token=function(){return this.__tokens.isEmpty()},g.prototype._reset=function(){},g.prototype._get_next_token=function(E,S){this._readWhitespace();var _=this._input.read(/.+/g);return _?this._create_token(o.RAW,_):this._create_token(o.EOF,"")},g.prototype._is_comment=function(E){return!1},g.prototype._is_opening=function(E){return!1},g.prototype._is_closing=function(E,S){return!1},g.prototype._create_token=function(E,S){var _=new t(E,S,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return _},g.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},$.exports.Tokenizer=g,$.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 d=null;return s=s||0,s+=this.__position,s>=0&&s<this.__tokens_length&&(d=this.__tokens[s]),d},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 d=s(12).Pattern;function t(r,a){d.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 d,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,g=[],E=r.exec(a);E;)g.push(a.substring(o,E.index)),o=E.index+E[0].length,E=r.exec(a);return o<a.length?g.push(a.substring(o,a.length)):g.push(""),g},$.exports.WhitespacePattern=t},function($){function e(s,d){this._input=s,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,d&&(this._starting_pattern=this._input.get_regexp(d._starting_pattern,!0),this._match_pattern=this._input.get_regexp(d._match_pattern,!0),this._until_pattern=this._input.get_regexp(d._until_pattern),this._until_after=d._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 d=this._create();return d._until_after=!0,d._until_pattern=this._input.get_regexp(s),d._update(),d},e.prototype.until=function(s){var d=this._create();return d._until_after=!1,d._until_pattern=this._input.get_regexp(s),d._update(),d},e.prototype.starting_with=function(s){var d=this._create();return d._starting_pattern=this._input.get_regexp(s,!0),d._update(),d},e.prototype.matching=function(s){var d=this._create();return d._match_pattern=this._input.get_regexp(s,!0),d._update(),d},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},$.exports.Pattern=e},function($){function e(s,d){s=typeof s=="string"?s:s.source,d=typeof d=="string"?d:d.source,this.__directives_block_pattern=new RegExp(s+/ beautify( \w+[:]\w+)+ /.source+d,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(s+/\sbeautify\signore:end\s/.source+d,"g")}e.prototype.get_directives=function(s){if(!s.match(this.__directives_block_pattern))return null;var d={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(s);t;)d[t[1]]=t[2],t=this.__directive_pattern.exec(s);return d},e.prototype.readIgnored=function(s){return s.readUntilAfter(this.__directives_end_ignore_pattern)},$.exports.Directives=e},function($,e,s){var d=s(12).Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(a,o){d.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 g=new d(a);this.__patterns={handlebars_comment:g.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:g.starting_with(/{{{/).until_after(/}}}/),handlebars:g.starting_with(/{{/).until_after(/}}/),php:g.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:g.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:g.starting_with(/{%/).until_after(/%}/),django_value:g.starting_with(/{{/).until_after(/}}/),django_comment:g.starting_with(/{#/).until_after(/#}/),smarty:g.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:g.starting_with(/{\*/).until_after(/\*}/),smarty_literal:g.starting_with(/{literal}/).until_after(/{\/literal}/)}}r.prototype=new d,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 g in t)o._disabled[g]=a.templating.indexOf(g)===-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 g=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&g==="?"&&(a=a||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&g==="%"&&(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}],j={};function p($){var e=j[$];if(e!==void 0)return e.exports;var s=j[$]={exports:{}};return Y[$](s,s.exports,p),s.exports}var U=p(0);O=U})();var K=O;u=[],N=function(){return{js_beautify:K}}.apply(Te,u),N!==void 0&&(Lt.exports=N)})()},75918:function(Lt,Te,u){"use strict";u.d(Te,{Wi:function(){return p},Z0:function(){return U},aU:function(){return j},eZ:function(){return e},wY:function(){return $}});var N=u(4348),O=u(69323),K=u(13268),Y=function(s,d,t,r){function a(o){return o instanceof t?o:new t(function(g){g(o)})}return new(t||(t=Promise))(function(o,g){function E(m){try{_(r.next(m))}catch(f){g(f)}}function S(m){try{_(r.throw(m))}catch(f){g(f)}}function _(m){m.done?o(m.value):a(m.value).then(E,S)}_((r=r.apply(s,d||[])).next())})};class j extends O.JT{constructor(d,t="",r="",a=!0,o){super(),this._onDidChange=this._register(new N.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=d,this._label=t,this._cssClass=r,this._enabled=a,this._actionCallback=o}get id(){return this._id}get label(){return this._label}set label(d){this._setLabel(d)}_setLabel(d){this._label!==d&&(this._label=d,this._onDidChange.fire({label:d}))}get tooltip(){return this._tooltip||""}set tooltip(d){this._setTooltip(d)}_setTooltip(d){this._tooltip!==d&&(this._tooltip=d,this._onDidChange.fire({tooltip:d}))}get class(){return this._cssClass}set class(d){this._setClass(d)}_setClass(d){this._cssClass!==d&&(this._cssClass=d,this._onDidChange.fire({class:d}))}get enabled(){return this._enabled}set enabled(d){this._setEnabled(d)}_setEnabled(d){this._enabled!==d&&(this._enabled=d,this._onDidChange.fire({enabled:d}))}get checked(){return this._checked}set checked(d){this._setChecked(d)}_setChecked(d){this._checked!==d&&(this._checked=d,this._onDidChange.fire({checked:d}))}run(d,t){return Y(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(d))})}}class p extends O.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new N.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new N.Q5),this.onDidRun=this._onDidRun.event}run(d,t){return Y(this,void 0,void 0,function*(){if(!d.enabled)return;this._onBeforeRun.fire({action:d});let r;try{yield this.runAction(d,t)}catch(a){r=a}this._onDidRun.fire({action:d,error:r})})}runAction(d,t){return Y(this,void 0,void 0,function*(){yield d.run(t)})}}class U extends j{constructor(d){super(U.ID,d,d?"separator text":"separator"),this.checked=!1,this.enabled=!1}}U.ID="vs.actions.separator";class ${constructor(d,t,r,a){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=d,this.label=t,this.class=a,this._actions=r}get actions(){return this._actions}dispose(){}run(){return Y(this,void 0,void 0,function*(){})}}class e extends j{constructor(){super(e.ID,K.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(Lt,Te,u){"use strict";u.d(Te,{ok:function(){return N}});function N(O,K){if(!O)throw new Error(K?`Assertion failed (${K})`:"Assertion Failed")}},52615:function(Lt,Te,u){"use strict";u.d(Te,{CM:function(){return j},JL:function(){return p},dT:function(){return $},fK:function(){return Y},lA:function(){return U}});var N=u(4348);class O{constructor(){this._icons=new Map,this._onDidRegister=new N.Q5}add(s){const d=this._icons.get(s.id);d?s.description?d.description=s.description:console.error(`Duplicate registration of codicon ${s.id}`):(this._icons.set(s.id,s),this._onDidRegister.fire(s))}get(s){return this._icons.get(s)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const K=new O,Y=K;function j(e,s){return new U(e,s)}function p(e){return e?e.replace(/\$\((.*?)\)/g,(s,d)=>` ${d} `).trim():""}class U{constructor(s,d,t){this.id=s,this.definition=d,this.description=t,K.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var $;(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 d(a){if(a instanceof U)return["codicon","codicon-"+a.id];const o=s.exec(a.id);if(!o)return d(U.error);let[,g,E]=o;const S=["codicon","codicon-"+g];return E&&S.push("codicon-modifier-"+E.substr(1)),S}e.asClassNameArray=d;function t(a){return d(a).join(" ")}e.asClassName=t;function r(a){return"."+d(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"})}(U||(U={}))},79881:function(Lt,Te,u){"use strict";u.d(Te,{B8:function(){return d},Cp:function(){return Y},F0:function(){return $},L6:function(){return s},VV:function(){return U},b1:function(){return e},dL:function(){return K},ri:function(){return j}});class N{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(r){setTimeout(()=>{throw r.stack?new Error(r.message+`
`+r.stack):r},0)}}emit(r){this.listeners.forEach(a=>{a(r)})}onUnexpectedError(r){this.unexpectedErrorHandler(r),this.emit(r)}onUnexpectedExternalError(r){this.unexpectedErrorHandler(r)}}const O=new N;function K(t){U(t)||O.onUnexpectedError(t)}function Y(t){U(t)||O.onUnexpectedExternalError(t)}function j(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 U(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 d extends Error{constructor(r){super("NotSupported"),r&&(this.message=r)}}},4348:function(Lt,Te,u){"use strict";u.d(Te,{D0:function(){return d},E7:function(){return t},K3:function(){return s},Q5:function(){return e},ZD:function(){return r},ju:function(){return j}});var N=u(79881),O=u(69323),K=u(34502),Y=u(95830),j;(function(a){a.None=()=>O.JT.None;function o(w){return(R,D=null,x)=>{let n=!1,i;return i=w(y=>{if(!n)return i?i.dispose():n=!0,R.call(D,y)},null,x),n&&i.dispose(),i}}a.once=o;function g(w,R){return l((D,x=null,n)=>w(i=>D.call(x,R(i)),null,n))}a.map=g;function E(w,R){return l((D,x=null,n)=>w(i=>{R(i),D.call(x,i)},null,n))}a.forEach=E;function S(w,R){return l((D,x=null,n)=>w(i=>R(i)&&D.call(x,i),null,n))}a.filter=S;function _(w){return w}a.signal=_;function m(...w){return(R,D=null,x)=>(0,O.F8)(...w.map(n=>n(i=>R.call(D,i),null,x)))}a.any=m;function f(w,R,D){let x=D;return g(w,n=>(x=R(x,n),x))}a.reduce=f;function l(w){let R;const D=new e({onFirstListenerAdd(){R=w(D.fire,D)},onLastListenerRemove(){R.dispose()}});return D.event}function P(w,R,D=100,x=!1,n){let i,y,A,le=0;const we=new e({leakWarningThreshold:n,onFirstListenerAdd(){i=w(Oe=>{le++,y=R(y,Oe),x&&!A&&(we.fire(y),y=void 0),clearTimeout(A),A=setTimeout(()=>{const je=y;y=void 0,A=void 0,(!x||le>1)&&we.fire(je),le=0},D)})},onLastListenerRemove(){i.dispose()}});return we.event}a.debounce=P;function k(w,R=(D,x)=>D===x){let D=!0,x;return S(w,n=>{const i=D||!R(n,x);return D=!1,x=n,i})}a.latch=k;function M(w,R){return[a.filter(w,R),a.filter(w,D=>!R(D))]}a.split=M;function I(w,R=!1,D=[]){let x=D.slice(),n=w(A=>{x?x.push(A):y.fire(A)});const i=()=>{x&&x.forEach(A=>y.fire(A)),x=null},y=new e({onFirstListenerAdd(){n||(n=w(A=>y.fire(A)))},onFirstListenerDidAdd(){x&&(R?setTimeout(i):i())},onLastListenerRemove(){n&&n.dispose(),n=null}});return y.event}a.buffer=I;class G{constructor(R){this.event=R}map(R){return new G(g(this.event,R))}forEach(R){return new G(E(this.event,R))}filter(R){return new G(S(this.event,R))}reduce(R,D){return new G(f(this.event,R,D))}latch(){return new G(k(this.event))}debounce(R,D=100,x=!1,n){return new G(P(this.event,R,D,x,n))}on(R,D,x){return this.event(R,D,x)}once(R,D,x){return o(this.event)(R,D,x)}}function L(w){return new G(w)}a.chain=L;function ge(w,R,D=x=>x){const x=(...A)=>y.fire(D(...A)),n=()=>w.on(R,x),i=()=>w.removeListener(R,x),y=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return y.event}a.fromNodeEventEmitter=ge;function b(w,R,D=x=>x){const x=(...A)=>y.fire(D(...A)),n=()=>w.addEventListener(R,x),i=()=>w.removeEventListener(R,x),y=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return y.event}a.fromDOMEventEmitter=b;function h(w){return new Promise(R=>o(w)(R))}a.toPromise=h})(j||(j={}));class p{constructor(o){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${o}_${p._idPool++}`}start(o){this._stopWatch=new Y.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 U=-1;class ${constructor(o,g=Math.random().toString(18).slice(2,5)){this.customThreshold=o,this.name=g,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(o){let g=U;if(typeof this.customThreshold=="number"&&(g=this.customThreshold),g<=0||o<g)return;this._stacks||(this._stacks=new Map);const E=new Error().stack.split(`
`).slice(3).join(`
`),S=this._stacks.get(E)||0;if(this._stacks.set(E,S+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=g*.5;let _,m=0;for(const[f,l]of this._stacks)(!_||m<l)&&(_=f,m=l);console.warn(`[${this.name}] potential listener LEAK detected, having ${o} listeners already. MOST frequent listener (${m}):`),console.warn(_)}return()=>{const _=this._stacks.get(E)||0;this._stacks.set(E,_-1)}}}class e{constructor(o){var g;this._disposed=!1,this._options=o,this._leakageMon=U>0?new $(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((g=this._options)===null||g===void 0)&&g._profName?new p(this._options._profName):void 0}get event(){return this._event||(this._event=(o,g,E)=>{var S;this._listeners||(this._listeners=new K.S);const _=this._listeners.isEmpty();_&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const m=this._listeners.push(g?[o,g]:o);_&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,o,g);const f=(S=this._leakageMon)===null||S===void 0?void 0:S.check(this._listeners.size),l=(0,O.OF)(()=>{f&&f(),this._disposed||(m(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return E instanceof O.SL?E.add(l):Array.isArray(E)&&E.push(l),l}),this._event}fire(o){var g,E;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new K.S);for(let S of this._listeners)this._deliveryQueue.push([S,o]);for((g=this._perfMon)===null||g===void 0||g.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[S,_]=this._deliveryQueue.shift();try{typeof S=="function"?S.call(void 0,_):S[0].call(S[1],_)}catch(m){(0,N.dL)(m)}}(E=this._perfMon)===null||E===void 0||E.stop()}}dispose(){var o,g,E,S,_;this._disposed||(this._disposed=!0,(o=this._listeners)===null||o===void 0||o.clear(),(g=this._deliveryQueue)===null||g===void 0||g.clear(),(S=(E=this._options)===null||E===void 0?void 0:E.onLastListenerRemove)===null||S===void 0||S.call(E),(_=this._leakageMon)===null||_===void 0||_.dispose())}}class s extends e{constructor(o){super(o),this._isPaused=0,this._eventQueue=new K.S,this._mergeFn=o==null?void 0:o.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const o=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(o))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(o){this._listeners&&(this._isPaused!==0?this._eventQueue.push(o):super.fire(o))}}class d extends s{constructor(o){var g;super(o),this._delay=(g=o.delay)!==null&&g!==void 0?g:100}fire(o){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(o)}}class t{constructor(){this.buffers=[]}wrapEvent(o){return(g,E,S)=>o(_=>{const m=this.buffers[this.buffers.length-1];m?m.push(()=>g.call(E,_)):g.call(E,_)},void 0,S)}bufferEvents(o){const g=[];this.buffers.push(g);const E=o();return this.buffers.pop(),g.forEach(S=>S()),E}}class r{constructor(){this.listening=!1,this.inputEvent=j.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(Lt,Te,u){"use strict";u.d(Te,{I:function(){return N}});function N(O){const K=this;let Y=!1,j;return function(){return Y||(Y=!0,j=O.apply(K,arguments)),j}}},88226:function(Lt,Te,u){"use strict";u.d(Te,{$:function(){return N}});var N;(function(O){function K(m){return m&&typeof m=="object"&&typeof m[Symbol.iterator]=="function"}O.is=K;const Y=Object.freeze([]);function j(){return Y}O.empty=j;function*p(m){yield m}O.single=p;function U(m){return m||Y}O.from=U;function $(m){return!m||m[Symbol.iterator]().next().done===!0}O.isEmpty=$;function e(m){return m[Symbol.iterator]().next().value}O.first=e;function s(m,f){for(const l of m)if(f(l))return!0;return!1}O.some=s;function d(m,f){for(const l of m)if(f(l))return l}O.find=d;function*t(m,f){for(const l of m)f(l)&&(yield l)}O.filter=t;function*r(m,f){let l=0;for(const P of m)yield f(P,l++)}O.map=r;function*a(...m){for(const f of m)for(const l of f)yield l}O.concat=a;function*o(m){for(const f of m)for(const l of f)yield l}O.concatNested=o;function g(m,f,l){let P=l;for(const k of m)P=f(P,k);return P}O.reduce=g;function*E(m,f,l=m.length){for(f<0&&(f+=m.length),l<0?l+=m.length:l>m.length&&(l=m.length);f<l;f++)yield m[f]}O.slice=E;function S(m,f=Number.POSITIVE_INFINITY){const l=[];if(f===0)return[l,m];const P=m[Symbol.iterator]();for(let k=0;k<f;k++){const M=P.next();if(M.done)return[l,O.empty()];l.push(M.value)}return[l,{[Symbol.iterator](){return P}}]}O.consume=S;function _(m,f,l=(P,k)=>P===k){const P=m[Symbol.iterator](),k=f[Symbol.iterator]();for(;;){const M=P.next(),I=k.next();if(M.done!==I.done)return!1;if(M.done)return!0;if(!l(M.value,I.value))return!1}}O.equals=_})(N||(N={}))},69323:function(Lt,Te,u){"use strict";u.d(Te,{B9:function(){return r},F8:function(){return a},JT:function(){return E},Jz:function(){return _},OF:function(){return o},SL:function(){return g},Wf:function(){return t},XK:function(){return S},dk:function(){return s}});var N=u(17845),O=u(88226);const K=!1;let Y=null;function j(m){Y=m}if(K){const m="__is_disposable_tracked__";j(new class{trackDisposable(f){const l=new Error("Potentially leaked disposable").stack;setTimeout(()=>{f[m]||console.log(l)},3e3)}setParent(f,l){if(f&&f!==E.None)try{f[m]=!0}catch(P){}}markAsDisposed(f){if(f&&f!==E.None)try{f[m]=!0}catch(l){}}markAsSingleton(f){}})}function p(m){return Y==null||Y.trackDisposable(m),m}function U(m){Y==null||Y.markAsDisposed(m)}function $(m,f){Y==null||Y.setParent(m,f)}function e(m,f){if(Y)for(const l of m)Y.setParent(l,f)}function s(m){return Y==null||Y.markAsSingleton(m),m}class d extends Error{constructor(f){super(`Encountered errors while disposing of store. Errors: [${f.join(", ")}]`),this.errors=f}}function t(m){return typeof m.dispose=="function"&&m.dispose.length===0}function r(m){if(O.$.is(m)){let f=[];for(const l of m)if(l)try{l.dispose()}catch(P){f.push(P)}if(f.length===1)throw f[0];if(f.length>1)throw new d(f);return Array.isArray(m)?[]:m}else if(m)return m.dispose(),m}function a(...m){const f=o(()=>r(m));return e(m,f),f}function o(m){const f=p({dispose:(0,N.I)(()=>{U(f),m()})});return f}class g{constructor(){this._toDispose=new Set,this._isDisposed=!1,p(this)}dispose(){this._isDisposed||(U(this),this._isDisposed=!0,this.clear())}clear(){try{r(this._toDispose.values())}finally{this._toDispose.clear()}}add(f){if(!f)return f;if(f===this)throw new Error("Cannot register a disposable on itself!");return $(f,this),this._isDisposed?g.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(f),f}}g.DISABLE_DISPOSED_WARNING=!1;class E{constructor(){this._store=new g,p(this),$(this._store,this)}dispose(){U(this),this._store.dispose()}_register(f){if(f===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(f)}}E.None=Object.freeze({dispose(){}});class S{constructor(){this._isDisposed=!1,p(this)}get value(){return this._isDisposed?void 0:this._value}set value(f){var l;this._isDisposed||f===this._value||((l=this._value)===null||l===void 0||l.dispose(),f&&$(f,this),this._value=f)}clear(){this.value=void 0}dispose(){var f;this._isDisposed=!0,U(this),(f=this._value)===null||f===void 0||f.dispose(),this._value=void 0}clearAndLeak(){const f=this._value;return this._value=void 0,f&&$(f,null),f}}class _{constructor(f){this.object=f}dispose(){}}},34502:function(Lt,Te,u){"use strict";u.d(Te,{S:function(){return O}});class N{constructor(Y){this.element=Y,this.next=N.Undefined,this.prev=N.Undefined}}N.Undefined=new N(void 0);class O{constructor(){this._first=N.Undefined,this._last=N.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===N.Undefined}clear(){let Y=this._first;for(;Y!==N.Undefined;){const j=Y.next;Y.prev=N.Undefined,Y.next=N.Undefined,Y=j}this._first=N.Undefined,this._last=N.Undefined,this._size=0}unshift(Y){return this._insert(Y,!1)}push(Y){return this._insert(Y,!0)}_insert(Y,j){const p=new N(Y);if(this._first===N.Undefined)this._first=p,this._last=p;else if(j){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 U=!1;return()=>{U||(U=!0,this._remove(p))}}shift(){if(this._first!==N.Undefined){const Y=this._first.element;return this._remove(this._first),Y}}pop(){if(this._last!==N.Undefined){const Y=this._last.element;return this._remove(this._last),Y}}_remove(Y){if(Y.prev!==N.Undefined&&Y.next!==N.Undefined){const j=Y.prev;j.next=Y.next,Y.next.prev=j}else Y.prev===N.Undefined&&Y.next===N.Undefined?(this._first=N.Undefined,this._last=N.Undefined):Y.next===N.Undefined?(this._last=this._last.prev,this._last.next=N.Undefined):Y.prev===N.Undefined&&(this._first=this._first.next,this._first.prev=N.Undefined);this._size-=1}*[Symbol.iterator](){let Y=this._first;for(;Y!==N.Undefined;)yield Y.element,Y=Y.next}}},23345:function(Lt,Te,u){"use strict";u.d(Te,{$L:function(){return P},ED:function(){return _},IJ:function(){return f},OS:function(){return G},WE:function(){return M},dz:function(){return m},gn:function(){return k},li:function(){return o},r:function(){return b},tY:function(){return l},xS:function(){return I}});var N=u(97671),O;const K="en";let Y=!1,j=!1,p=!1,U=!1,$=!1,e=!1,s=!1,d,t=null,r=null,a;const o=typeof self=="object"?self:typeof u.g=="object"?u.g:{};let g;typeof o.vscode!="undefined"&&typeof o.vscode.process!="undefined"?g=o.vscode.process:typeof N!="undefined"&&(g=N);const E=typeof((O=g==null?void 0:g.versions)===null||O===void 0?void 0:O.electron)=="string"&&g.type==="renderer";if(typeof navigator=="object"&&!E)a=navigator.userAgent,Y=a.indexOf("Windows")>=0,j=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,d=navigator.language,t=d;else if(typeof g=="object"){Y=g.platform==="win32",j=g.platform==="darwin",p=g.platform==="linux",U=p&&!!g.env.SNAP&&!!g.env.SNAP_REVISION,d=K,t=K;const h=g.env.VSCODE_NLS_CONFIG;if(h)try{const w=JSON.parse(h),R=w.availableLanguages["*"];d=w.locale,t=R||K,r=w._translationsConfigFile}catch(w){}$=!0}else console.error("Unable to resolve platform.");let S=0;j?S=1:Y?S=3:p&&(S=2);const _=Y,m=j,f=p,l=$,P=e,k=s,M=a,I=function(){if(o.setImmediate)return o.setImmediate.bind(o);if(typeof o.postMessage=="function"&&!o.importScripts){let R=[];o.addEventListener("message",x=>{if(x.data&&x.data.vscodeSetImmediateId)for(let n=0,i=R.length;n<i;n++){const y=R[n];if(y.id===x.data.vscodeSetImmediateId){R.splice(n,1),y.callback();return}}});let D=0;return x=>{const n=++D;R.push({id:n,callback:x}),o.postMessage({vscodeSetImmediateId:n},"*")}}if(typeof(g==null?void 0:g.nextTick)=="function")return g.nextTick.bind(g);const w=Promise.resolve();return R=>w.then(R)}(),G=j||s?2:Y?1:3;let L=!0,ge=!1;function b(){if(!ge){ge=!0;const h=new Uint8Array(2);h[0]=1,h[1]=2,L=new Uint16Array(h.buffer)[0]===513}return L}},95830:function(Lt,Te,u){"use strict";u.d(Te,{G:function(){return K}});var N=u(23345);const O=N.li.performance&&typeof N.li.performance.now=="function";class K{constructor(j){this._highResolution=O&&j,this._startTime=this._now(),this._stopTime=-1}static create(j=!0){return new K(j)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?N.li.performance.now():Date.now()}}},82983:function(Lt,Te,u){"use strict";u.d(Te,{$i:function(){return le},C8:function(){return At},GF:function(){return d},HO:function(){return D},IO:function(){return t},K7:function(){return Ye},Kw:function(){return Ze},LC:function(){return o},Mh:function(){return I},P1:function(){return G},PJ:function(){return pe},Qe:function(){return we},R1:function(){return s},RP:function(){return y},S6:function(){return ue},TT:function(){return _},Ut:function(){return n},V8:function(){return g},WU:function(){return K},YK:function(){return ge},YU:function(){return Y},ZG:function(){return L},ZH:function(){return h},ab:function(){return Oe},c1:function(){return xe},df:function(){return P},ec:function(){return j},fi:function(){return re},fy:function(){return p},j3:function(){return U},j_:function(){return f},m5:function(){return N},mK:function(){return l},mr:function(){return r},oH:function(){return c},oL:function(){return $},ok:function(){return M},ow:function(){return E},qq:function(){return k},qu:function(){return S},rL:function(){return b},uS:function(){return qe},un:function(){return e},uq:function(){return a},vH:function(){return R},xe:function(){return je},zY:function(){return m}});function N(v){return!v||typeof v!="string"?!0:v.trim().length===0}const O=/{(\d+)}/g;function K(v,...F){return F.length===0?v:v.replace(O,function(ee,Z){const V=parseInt(Z,10);return isNaN(V)||V<0||V>=F.length?ee:F[V]})}function Y(v){return v.replace(/[<>&]/g,function(F){switch(F){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return F}})}function j(v){return v.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function p(v,F=" "){const ee=U(v,F);return $(ee,F)}function U(v,F){if(!v||!F)return v;const ee=F.length;if(ee===0||v.length===0)return v;let Z=0;for(;v.indexOf(F,Z)===Z;)Z=Z+ee;return v.substring(Z)}function $(v,F){if(!v||!F)return v;const ee=F.length,Z=v.length;if(ee===0||Z===0)return v;let V=Z,z=-1;for(;z=v.lastIndexOf(F,V-1),!(z===-1||z+ee!==V);){if(z===0)return"";V=z}return v.substring(0,V)}function e(v){return v.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function s(v){return v.replace(/\*/g,"")}function d(v,F,ee={}){if(!v)throw new Error("Cannot create regex from empty string");F||(v=j(v)),ee.wholeWord&&(/\B/.test(v.charAt(0))||(v="\\b"+v),/\B/.test(v.charAt(v.length-1))||(v=v+"\\b"));let Z="";return ee.global&&(Z+="g"),ee.matchCase||(Z+="i"),ee.multiline&&(Z+="m"),ee.unicode&&(Z+="u"),new RegExp(v,Z)}function t(v){return v.source==="^"||v.source==="^$"||v.source==="$"||v.source==="^\\s*$"?!1:!!(v.exec("")&&v.lastIndex===0)}function r(v){return(v.global?"g":"")+(v.ignoreCase?"i":"")+(v.multiline?"m":"")+(v.unicode?"u":"")}function a(v){return v.split(/\r\n|\r|\n/)}function o(v){for(let F=0,ee=v.length;F<ee;F++){const Z=v.charCodeAt(F);if(Z!==32&&Z!==9)return F}return-1}function g(v,F=0,ee=v.length){for(let Z=F;Z<ee;Z++){const V=v.charCodeAt(Z);if(V!==32&&V!==9)return v.substring(F,Z)}return v.substring(F,ee)}function E(v,F=v.length-1){for(let ee=F;ee>=0;ee--){const Z=v.charCodeAt(ee);if(Z!==32&&Z!==9)return ee}return-1}function S(v,F){return v<F?-1:v>F?1:0}function _(v,F,ee=0,Z=v.length,V=0,z=F.length){for(;ee<Z&&V<z;ee++,V++){let Ce=v.charCodeAt(ee),Ae=F.charCodeAt(V);if(Ce<Ae)return-1;if(Ce>Ae)return 1}const fe=Z-ee,se=z-V;return fe<se?-1:fe>se?1:0}function m(v,F){return f(v,F,0,v.length,0,F.length)}function f(v,F,ee=0,Z=v.length,V=0,z=F.length){for(;ee<Z&&V<z;ee++,V++){let Ce=v.charCodeAt(ee),Ae=F.charCodeAt(V);if(Ce===Ae)continue;if(Ce>=128||Ae>=128)return _(v.toLowerCase(),F.toLowerCase(),ee,Z,V,z);l(Ce)&&(Ce-=32),l(Ae)&&(Ae-=32);const Xe=Ce-Ae;if(Xe!==0)return Xe}const fe=Z-ee,se=z-V;return fe<se?-1:fe>se?1:0}function l(v){return v>=97&&v<=122}function P(v){return v>=65&&v<=90}function k(v,F){return v.length===F.length&&f(v,F)===0}function M(v,F){const ee=F.length;return F.length>v.length?!1:f(v,F,0,ee)===0}function I(v,F){let ee,Z=Math.min(v.length,F.length);for(ee=0;ee<Z;ee++)if(v.charCodeAt(ee)!==F.charCodeAt(ee))return ee;return Z}function G(v,F){let ee,Z=Math.min(v.length,F.length);const V=v.length-1,z=F.length-1;for(ee=0;ee<Z;ee++)if(v.charCodeAt(V-ee)!==F.charCodeAt(z-ee))return ee;return Z}function L(v){return 55296<=v&&v<=56319}function ge(v){return 56320<=v&&v<=57343}function b(v,F){return(v-55296<<10)+(F-56320)+65536}function h(v,F,ee){const Z=v.charCodeAt(ee);if(L(Z)&&ee+1<F){const V=v.charCodeAt(ee+1);if(ge(V))return b(Z,V)}return Z}function w(v,F){const ee=v.charCodeAt(F-1);if(ge(ee)&&F>1){const Z=v.charCodeAt(F-2);if(L(Z))return b(Z,ee)}return ee}function R(v,F){const ee=W.getInstance(),Z=F,V=v.length,z=h(v,V,F);F+=z>=65536?2:1;let fe=ee.getGraphemeBreakType(z);for(;F<V;){const se=h(v,V,F),Ce=ee.getGraphemeBreakType(se);if(re(fe,Ce))break;F+=se>=65536?2:1,fe=Ce}return F-Z}function D(v,F){const ee=W.getInstance(),Z=F,V=w(v,F);F-=V>=65536?2:1;let z=ee.getGraphemeBreakType(V);for(;F>0;){const fe=w(v,F),se=ee.getGraphemeBreakType(fe);if(re(se,z))break;F-=fe>=65536?2:1,z=se}return Z-F}const x=/(?:[\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(v){return x.test(v)}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(v){return i.test(v)}const A=/^[\t\n\r\x20-\x7E]*$/;function le(v){return A.test(v)}const we=/[\u2028\u2029]/;function Oe(v){return we.test(v)}function je(v){for(let F=0,ee=v.length;F<ee;F++)if(Ye(v.charCodeAt(F)))return!0;return!1}function Ye(v){return v=+v,v>=11904&&v<=55215||v>=63744&&v<=64255||v>=65281&&v<=65374}function At(v){return v>=127462&&v<=127487||v===8986||v===8987||v===9200||v===9203||v>=9728&&v<=10175||v===11088||v===11093||v>=127744&&v<=128591||v>=128640&&v<=128764||v>=128992&&v<=129003||v>=129280&&v<=129535||v>=129648&&v<=129750}const xe="\uFEFF";function qe(v){return!!(v&&v.length>0&&v.charCodeAt(0)===65279)}function Ze(v,F=!1){return v?(F&&(v=v.replace(/\\./g,"")),v.toLowerCase()!==v):!1}function pe(v){return v=v%(2*26),v<26?String.fromCharCode(97+v):String.fromCharCode(65+v-26)}function ue(v){return W.getInstance().getGraphemeBreakType(v)}function re(v,F){return v===0?F!==5&&F!==7:v===2&&F===3?!1:v===4||v===2||v===3||F===4||F===2||F===3?!0:!(v===8&&(F===8||F===9||F===11||F===12)||(v===11||v===9)&&(F===9||F===10)||(v===12||v===10)&&F===10||F===5||F===13||F===7||v===1||v===13&&F===14||v===6&&F===6)}class W{constructor(){this._data=Q()}static getInstance(){return W._INSTANCE||(W._INSTANCE=new W),W._INSTANCE}getGraphemeBreakType(F){if(F<32)return F===10?3:F===13?2:4;if(F<127)return 0;const ee=this._data,Z=ee.length/3;let V=1;for(;V<=Z;)if(F<ee[3*V])V=2*V;else if(F>ee[3*V+1])V=2*V+1;else return ee[3*V+2];return 0}}W._INSTANCE=null;function Q(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function c(v,F){if(v===0)return 0;const ee=B(v,F);if(ee!==void 0)return ee;const Z=w(F,v);return v-=q(Z),v}function B(v,F){let ee=w(F,v);for(v-=q(ee);C(ee)||ee===65039||ee===8419;){if(v===0)return;ee=w(F,v),v-=q(ee)}if(At(ee)){if(v>=0){const Z=w(F,v);Z===8205&&(v-=q(Z))}return v}}function q(v){return v>=65536?2:1}function C(v){return 127995<=v&&v<=127999}},72999:function(Lt,Te,u){"use strict";u.d(Te,{$E:function(){return o},$K:function(){return U},D8:function(){return t},HD:function(){return O},IU:function(){return g},Jp:function(){return $},Kn:function(){return K},cW:function(){return s},f6:function(){return E},hj:function(){return Y},jn:function(){return j},kJ:function(){return N},mf:function(){return d},o8:function(){return p},p_:function(){return e},vE:function(){return S}});function N(_){return Array.isArray(_)}function O(_){return typeof _=="string"}function K(_){return typeof _=="object"&&_!==null&&!Array.isArray(_)&&!(_ instanceof RegExp)&&!(_ instanceof Date)}function Y(_){return typeof _=="number"&&!isNaN(_)}function j(_){return _===!0||_===!1}function p(_){return typeof _=="undefined"}function U(_){return!$(_)}function $(_){return p(_)||_===null}function e(_,m){if(!_)throw new Error(m?`Unexpected type, expected '${m}'`:"Unexpected type")}function s(_){if($(_))throw new Error("Assertion Failed: argument is undefined or null");return _}function d(_){return typeof _=="function"}function t(_,m){const f=Math.min(_.length,m.length);for(let l=0;l<f;l++)r(_[l],m[l])}function r(_,m){if(O(m)){if(typeof _!==m)throw new Error(`argument does not match constraint: typeof ${m}`)}else if(d(m)){try{if(_ instanceof m)return}catch(f){}if(!$(_)&&_.constructor===m||m.length===1&&m.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 m=[],f=Object.getPrototypeOf(_);for(;Object.prototype!==f;)m=m.concat(Object.getOwnPropertyNames(f)),f=Object.getPrototypeOf(f);return m}function o(_){const m=[];for(const f of a(_))typeof _[f]=="function"&&m.push(f);return m}function g(_,m){const f=P=>function(){const k=Array.prototype.slice.call(arguments,0);return m(P,k)};let l={};for(const P of _)l[P]=f(P);return l}function E(_){return _===null?void 0:_}function S(_,m="Unreachable"){throw new Error(m)}},13268:function(Lt,Te,u){"use strict";u.d(Te,{N:function(){return O}});function N(K,Y){let j;return Y.length===0?j=K:j=K.replace(/\{(\d+)\}/g,function(p,U){const $=U[0];return typeof Y[$]!="undefined"?Y[$]:p}),j}function O(K,Y,...j){return N(Y,j)}},96236:function(Lt,Te,u){"use strict";u.d(Te,{BH:function(){return g},NZ:function(){return E},U8:function(){return S},co:function(){return o},eH:function(){return a},vr:function(){return r}});var N=u(75918),O=u(52615),K=u(4348),Y=u(88226),j=u(69323),p=u(34502),U=u(35884),$=u(90689),e=u(16925),s=u(49055),d=function(_,m,f,l){var P=arguments.length,k=P<3?m:l===null?l=Object.getOwnPropertyDescriptor(m,f):l,M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")k=Reflect.decorate(_,m,f,l);else for(var I=_.length-1;I>=0;I--)(M=_[I])&&(k=(P<3?M(k):P>3?M(m,f,k):M(m,f))||k);return P>3&&k&&Object.defineProperty(m,f,k),k},t=function(_,m){return function(f,l){m(f,l,_)}};function r(_){return _.command!==void 0}class a{constructor(m){this.id=a._idPool++,this._debugName=m}}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"),g=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new K.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:_=>_===a.CommandPalette}}addCommand(_){return this.addCommands(Y.$.single(_))}addCommands(_){for(const m of _)this._commands.set(m.id,m);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,j.OF)(()=>{let m=!1;for(const f of _)m=this._commands.delete(f.id)||m;m&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(_){return this._commands.get(_)}getCommands(){const _=new Map;return this._commands.forEach((m,f)=>_.set(f,m)),_}appendMenuItem(_,m){return this.appendMenuItems(Y.$.single({id:_,item:m}))}appendMenuItems(_){const m=new Set,f=new p.S;for(const{id:l,item:P}of _){let k=this._menuItems.get(l);k||(k=new p.S,this._menuItems.set(l,k)),f.push(k.push(P)),m.add(l)}return this._onDidChangeMenu.fire(m),(0,j.OF)(()=>{if(f.size>0){for(let l of f)l();this._onDidChangeMenu.fire(m),f.clear()}})}getMenuItems(_){let m;return this._menuItems.has(_)?m=[...this._menuItems.get(_)]:m=[],_===a.CommandPalette&&this._appendImplicitItems(m),m}_appendImplicitItems(_){const m=new Set;for(const f of _)r(f)&&(m.add(f.command.id),f.alt&&m.add(f.alt.id));this._commands.forEach((f,l)=>{m.has(l)||_.push({command:f})})}};class E extends N.wY{constructor(m,f,l,P){super(`submenuitem.${m.submenu.id}`,typeof m.title=="string"?m.title:m.title.value,[],"submenu"),this.item=m,this._menuService=f,this._contextKeyService=l,this._options=P}get actions(){const m=[],f=this._menuService.createMenu(this.item.submenu,this._contextKeyService),l=f.getActions(this._options);f.dispose();for(const[,P]of l)P.length>0&&(m.push(...P),m.push(new N.Z0));return m.length&&m.pop(),m}}let S=class bi{constructor(m,f,l,P,k){var M,I;if(this._commandService=k,this.id=m.id,this.label=l!=null&&l.renderShortTitle&&m.shortTitle?typeof m.shortTitle=="string"?m.shortTitle:m.shortTitle.value:typeof m.title=="string"?m.title:m.title.value,this.tooltip=(I=typeof m.tooltip=="string"?m.tooltip:(M=m.tooltip)===null||M===void 0?void 0:M.value)!==null&&I!==void 0?I:"",this.enabled=!m.precondition||P.contextMatchesRules(m.precondition),this.checked=void 0,m.toggled){const G=m.toggled.condition?m.toggled:{condition:m.toggled};this.checked=P.contextMatchesRules(G.condition),this.checked&&G.tooltip&&(this.tooltip=typeof G.tooltip=="string"?G.tooltip:G.tooltip.value),G.title&&(this.label=typeof G.title=="string"?G.title:G.title.value)}this.item=m,this.alt=f?new bi(f,void 0,l,P,k):void 0,this._options=l,s.kS.isThemeIcon(m.icon)&&(this.class=O.dT.asClassName(m.icon))}dispose(){}run(...m){var f,l;let P=[];return!((f=this._options)===null||f===void 0)&&f.arg&&(P=[...P,this._options.arg]),!((l=this._options)===null||l===void 0)&&l.shouldForwardArgs&&(P=[...P,...m]),this._commandService.executeCommand(this.id,...P)}};S=d([t(3,$.i6),t(4,U.H)],S)},35884:function(Lt,Te,u){"use strict";u.d(Te,{H:function(){return U},P:function(){return $}});var N=u(4348),O=u(88226),K=u(69323),Y=u(34502),j=u(72999),p=u(16925);const U=(0,p.yh)("commandService"),$=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new N.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,s){if(!e)throw new Error("invalid command");if(typeof e=="string"){if(!s)throw new Error("invalid command");return this.registerCommand({id:e,handler:s})}if(e.description){const o=[];for(let E of e.description.args)o.push(E.constraint);const g=e.handler;e.handler=function(E,...S){return(0,j.D8)(S,o),g(E,...S)}}const{id:d}=e;let t=this._commands.get(d);t||(t=new Y.S,this._commands.set(d,t));let r=t.unshift(e),a=(0,K.OF)(()=>{r();const o=this._commands.get(d);o!=null&&o.isEmpty()&&this._commands.delete(d)});return this._onDidRegisterCommand.fire(d),a}registerCommandAlias(e,s){return $.registerCommand(e,(d,...t)=>d.get(U).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 d=this.getCommand(s);d&&e.set(s,d)}return e}};$.registerCommand("noop",()=>{})},90689:function(Lt,Te,u){"use strict";u.d(Te,{Ao:function(){return U},Eq:function(){return b},Fb:function(){return $},K8:function(){return R},i6:function(){return ge},uy:function(){return L}});var N=u(23345),O=u(82983),K=u(16925);let Y=N.WE||"";const j=new Map;j.set("false",!1),j.set("true",!0),j.set("isMac",N.dz),j.set("isLinux",N.IJ),j.set("isWindows",N.ED),j.set("isWeb",N.$L),j.set("isMacNative",N.dz&&!N.$L),j.set("isEdge",Y.indexOf("Edg/")>=0),j.set("isFirefox",Y.indexOf("Firefox")>=0),j.set("isChrome",Y.indexOf("Chrome")>=0),j.set("isSafari",Y.indexOf("Safari")>=0);const p=Object.prototype.hasOwnProperty;class U{static has(n){return t.create(n)}static equals(n,i){return r.create(n,i)}static regex(n,i){return P.create(n,i)}static not(n){return E.create(n)}static and(...n){return I.create(n,null)}static or(...n){return G.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 G.create(y.map(A=>this._deserializeAndExpression(A,i)),null,!0)}static _deserializeAndExpression(n,i){let y=n.split("&&");return I.create(y.map(A=>this._deserializeOne(A,i)),null)}static _deserializeOne(n,i){if(n=n.trim(),n.indexOf("!=")>=0){let y=n.split("!=");return g.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 P.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 m.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 f.create(y[0].trim(),y[1].trim())}return/^\!\s*/.test(n)?E.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("/"),A=n.lastIndexOf("/");if(y===A||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,A),we=n[A+1]==="i"?"i":"";try{return new RegExp(le,we)}catch(Oe){if(i)throw new Error(`bad regexp-value '${n}', parse error: ${Oe}`);return console.warn(`bad regexp-value '${n}', parse error: ${Oe}`),null}}}function $(x,n){const i=x?x.substituteConstants():void 0,y=n?n.substituteConstants():void 0;return!i&&!y?!0:!i||!y?!1:i.equals(y)}function e(x,n){return x.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 d.INSTANCE}}s.INSTANCE=new s;class d{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}}d.INSTANCE=new d;class t{constructor(n,i){this.key=n,this.negated=i,this.type=2}static create(n,i=null){const y=j.get(n);return typeof y=="boolean"?y?d.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=j.get(this.key);return typeof n=="boolean"?n?d.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=E.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):E.create(n,y);const A=j.get(n);return typeof A=="boolean"?i===(A?"true":"false")?d.INSTANCE:s.INSTANCE:new r(n,i,y)}cmp(n){return n.type!==this.type?this.type-n.type:w(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){const n=j.get(this.key);if(typeof n=="boolean"){const i=n?"true":"false";return this.value===i?d.INSTANCE:s.INSTANCE}return this}evaluate(n){return n.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=g.create(this.key,this.value,this)),this.negated}}class 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:w(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 g{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?E.create(n,y):t.create(n,y);const A=j.get(n);return typeof A=="boolean"?i===(A?"true":"false")?s.INSTANCE:d.INSTANCE:new g(n,i,y)}cmp(n){return n.type!==this.type?this.type-n.type:w(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){const n=j.get(this.key);if(typeof n=="boolean"){const i=n?"true":"false";return this.value===i?s.INSTANCE:d.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 E{constructor(n,i){this.key=n,this.negated=i,this.type=3}static create(n,i=null){const y=j.get(n);return typeof y=="boolean"?y?s.INSTANCE:d.INSTANCE:new E(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=j.get(this.key);return typeof n=="boolean"?n?s.INSTANCE:d.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 S(x,n){if(typeof x=="string"){const i=parseFloat(x);isNaN(i)||(x=i)}return typeof x=="string"||typeof x=="number"?n(x):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 S(i,A=>new _(n,A,y))}cmp(n){return n.type!==this.type?this.type-n.type:w(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 m{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=13}static create(n,i,y=null){return S(i,A=>new m(n,A,y))}cmp(n){return n.type!==this.type?this.type-n.type:w(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=f.create(this.key,this.value,this)),this.negated}}class f{constructor(n,i,y){this.key=n,this.value=i,this.negated=y,this.type=14}static create(n,i,y=null){return S(i,A=>new f(n,A,y))}cmp(n){return n.type!==this.type?this.type-n.type:w(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=m.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 S(i,A=>new l(n,A,y))}cmp(n){return n.type!==this.type?this.type-n.type:w(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 P{constructor(n,i){this.key=n,this.regexp=i,this.type=7,this.negated=null}static create(n,i){return new P(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=k.create(this)),this.negated}}class k{constructor(n){this._actual=n,this.type=8}static create(n){return new k(n)}cmp(n){return n.type!==this.type?this.type-n.type:this._actual.cmp(n._actual)}equals(n){return n.type===this.type?this._actual.equals(n._actual):!1}substituteConstants(){return this}evaluate(n){return!this._actual.evaluate(n)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function M(x){let n=null;for(let i=0,y=x.length;i<y;i++){const A=x[i].substituteConstants();if(x[i]!==A&&n===null){n=[];for(let le=0;le<i;le++)n[le]=x[le]}n!==null&&(n[i]=A)}return n===null?x:n}class I{constructor(n,i){this.expr=n,this.negated=i,this.type=6}static create(n,i){return I._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 A=e(this.expr[i],n.expr[i]);if(A!==0)return A}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=M(this.expr);return n===this.expr?this:I.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 A=!1;for(const le of n)if(le){if(le.type===1){A=!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&&A)return d.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 we=y.pop(),Oe=y.length===0,je=G.create(le.expr.map(Ye=>I.create([Ye,we],null)),null,Oe);je&&(y.push(je),y.sort(e))}return y.length===1?y[0]:new I(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=G.create(n,this,!0)}return this.negated}}class G{constructor(n,i){this.expr=n,this.negated=i,this.type=9}static create(n,i,y){return G._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 A=e(this.expr[i],n.expr[i]);if(A!==0)return A}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=M(this.expr);return n===this.expr?this:G.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 A=[],le=!1;if(n){for(let we=0,Oe=n.length;we<Oe;we++){const je=n[we];if(je){if(je.type===0){le=!0;continue}if(je.type===1)return d.INSTANCE;if(je.type===9){A=A.concat(je.expr);continue}A.push(je)}}if(A.length===0&&le)return s.INSTANCE;A.sort(e)}if(A.length!==0){if(A.length===1)return A[0];for(let we=1;we<A.length;we++)A[we-1].equals(A[we])&&(A.splice(we,1),we--);if(A.length===1)return A[0];if(y){for(let we=0;we<A.length;we++)for(let Oe=we+1;Oe<A.length;Oe++)R(A[we],A[Oe])&&(A.splice(Oe,1),Oe--);if(A.length===1)return A[0]}return new G(A,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(),A=[];for(const we of D(i))for(const Oe of D(y))A.push(I.create([we,Oe],null));const le=n.length===0;n.unshift(G.create(A,null,le))}this.negated=n[0]}return this.negated}}class L extends t{constructor(n,i,y){super(n,null),this._defaultValue=i,typeof y=="object"?L._info.push(Object.assign(Object.assign({},y),{key:n})):y!==!0&&L._info.push({key:n,description:y,type:i!=null?typeof i:void 0})}static all(){return L._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)}}L._info=[];const ge=(0,K.yh)("contextKeyService"),b="setContext";function h(x,n){return x<n?-1:x>n?1:0}function w(x,n,i,y){return x<i?-1:x>i?1:n<y?-1:n>y?1:0}function R(x,n){if(n.type===6&&x.type!==9&&x.type!==6){for(const A of n.expr)if(x.equals(A))return!0}const i=x.negate(),y=D(i).concat(D(n));y.sort(e);for(let A=0;A<y.length;A++){const we=y[A].negate();for(let Oe=A+1;Oe<y.length;Oe++){const je=y[Oe];if(we.equals(je))return!0}}return!1}function D(x){return x.type===9?x.expr:[x]}},16925:function(Lt,Te,u){"use strict";u.d(Te,{I8:function(){return N},TG:function(){return O},jt:function(){return j},yh:function(){return Y}});var N;(function(p){p.serviceIds=new Map,p.DI_TARGET="$di$target",p.DI_DEPENDENCIES="$di$dependencies";function U($){return $[p.DI_DEPENDENCIES]||[]}p.getServiceDependencies=U})(N||(N={}));const O=Y("instantiationService");function K(p,U,$,e){U[N.DI_TARGET]===U?U[N.DI_DEPENDENCIES].push({id:p,index:$,optional:e}):(U[N.DI_DEPENDENCIES]=[{id:p,index:$,optional:e}],U[N.DI_TARGET]=U)}function Y(p){if(N.serviceIds.has(p))return N.serviceIds.get(p);const U=function($,e,s){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");K(U,$,s,!1)};return U.toString=()=>p,N.serviceIds.set(p,U),U}function j(p){return function(U,$,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");K(p,U,e,!0)}}},44650:function(Lt,Te,u){"use strict";u.d(Te,{B:function(){return Y}});var N=u(76068),O=u(72999);class K{constructor(){this.data=new Map}add(p,U){N.ok(O.HD(p)),N.ok(O.Kn(U)),N.ok(!this.data.has(p),"There is already an extension with this id"),this.data.set(p,U)}as(p){return this.data.get(p)||null}}const Y=new K},66213:function(Lt,Te,u){"use strict";u.d(Te,{e:function(){return N}});var N;(function(O){O.DARK="dark",O.LIGHT="light",O.HIGH_CONTRAST="hc"})(N||(N={}))},49055:function(Lt,Te,u){"use strict";u.d(Te,{EN:function(){return e},IP:function(){return t},Ic:function(){return o},XE:function(){return U},bB:function(){return g},kS:function(){return s},m6:function(){return d}});var N=u(52615),O=u(4348),K=u(69323),Y=u(16925),j=u(44650),p=u(66213);const U=(0,Y.yh)("themeService");var $;(function(E){function S(_){return _&&typeof _=="object"&&typeof _.id=="string"}E.isThemeColor=S})($||($={}));function e(E){return{id:E}}var s;(function(E){function S(k){return k&&typeof k=="object"&&typeof k.id=="string"&&(typeof k.color=="undefined"||$.isThemeColor(k.color))}E.isThemeIcon=S;const _=new RegExp(`^\\$\\((${N.dT.iconNameExpression}(?:${N.dT.iconModifierExpression})?)\\)$`);function m(k){const M=_.exec(k);if(!M)return;let[,I]=M;return{id:I}}E.fromString=m;function f(k,M){let I=k.id;const G=I.lastIndexOf("~");return G!==-1&&(I=I.substring(0,G)),M&&(I=`${I}~${M}`),{id:I}}E.modify=f;function l(k,M){var I,G;return k.id===M.id&&((I=k.color)===null||I===void 0?void 0:I.id)===((G=M.color)===null||G===void 0?void 0:G.id)}E.isEqual=l;function P(k,M){return{id:k.id,color:M?e(M):void 0}}E.asThemeIcon=P,E.asClassNameArray=N.dT.asClassNameArray,E.asClassName=N.dT.asClassName,E.asCSSSelector=N.dT.asCSSSelector})(s||(s={}));function d(E){switch(E){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(S){return this.themingParticipants.push(S),this.onThemingParticipantAddedEmitter.fire(S),(0,K.OF)(()=>{const _=this.themingParticipants.indexOf(S);this.themingParticipants.splice(_,1)})}getThemingParticipants(){return this.themingParticipants}}let a=new r;j.B.add(t.ThemingContribution,a);function o(E){return a.onColorThemeChange(E)}class g extends K.JT{constructor(S){super(),this.themeService=S,this.theme=S.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(_=>this.onThemeChange(_)))}onThemeChange(S){this.theme=S,this.updateStyles()}updateStyles(){}}},16632:function(Lt,Te,u){"use strict";var N=u(54476),O=u(33885),K=u(20068),Y=u(42978),j=u(75931),p=u(92310),U=u.n(p),$=u(18929),e=u(59301),s=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],d=(0,e.forwardRef)(function(t,r){var a=t.prefixCls,o=a===void 0?"rc-checkbox":a,g=t.className,E=t.style,S=t.checked,_=t.disabled,m=t.defaultChecked,f=m===void 0?!1:m,l=t.type,P=l===void 0?"checkbox":l,k=t.title,M=t.onChange,I=(0,j.Z)(t,s),G=(0,e.useRef)(null),L=(0,e.useRef)(null),ge=(0,$.Z)(f,{value:S}),b=(0,Y.Z)(ge,2),h=b[0],w=b[1];(0,e.useImperativeHandle)(r,function(){return{focus:function(n){var i;(i=G.current)===null||i===void 0||i.focus(n)},blur:function(){var n;(n=G.current)===null||n===void 0||n.blur()},input:G.current,nativeElement:L.current}});var R=U()(o,g,(0,K.Z)((0,K.Z)({},"".concat(o,"-checked"),h),"".concat(o,"-disabled"),_)),D=function(n){_||("checked"in t||w(n.target.checked),M==null||M({target:(0,O.Z)((0,O.Z)({},t),{},{type:P,checked:n.target.checked}),stopPropagation:function(){n.stopPropagation()},preventDefault:function(){n.preventDefault()},nativeEvent:n.nativeEvent}))};return e.createElement("span",{className:R,title:k,style:E,ref:L},e.createElement("input",(0,N.Z)({},I,{className:"".concat(o,"-input"),ref:G,onChange:D,disabled:_,checked:!!h,type:P})),e.createElement("span",{className:"".concat(o,"-inner")}))});Te.Z=d},96478:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return k}});var N=u(54476),O=u(20068),K=u(42978),Y=u(75931),j=u(65030),p=u(92310),U=u.n(p),$=u(8654),e=u(59301),s=u(10228),d=u(16089),t=s.Z.ESC,r=s.Z.TAB;function a(M){var I=M.visible,G=M.triggerRef,L=M.onVisibleChange,ge=M.autoFocus,b=M.overlayRef,h=e.useRef(!1),w=function(){if(I){var n,i;(n=G.current)===null||n===void 0||(i=n.focus)===null||i===void 0||i.call(n),L==null||L(!1)}},R=function(){var n;return(n=b.current)!==null&&n!==void 0&&n.focus?(b.current.focus(),h.current=!0,!0):!1},D=function(n){switch(n.keyCode){case t:w();break;case r:{var i=!1;h.current||(i=R()),i?n.preventDefault():w();break}}};e.useEffect(function(){return I?(window.addEventListener("keydown",D),ge&&(0,d.Z)(R,3),function(){window.removeEventListener("keydown",D),h.current=!1}):function(){h.current=!1}},[I])}var o=(0,e.forwardRef)(function(M,I){var G=M.overlay,L=M.arrow,ge=M.prefixCls,b=(0,e.useMemo)(function(){var w;return typeof G=="function"?w=G():w=G,w},[G]),h=(0,$.sQ)(I,(0,$.C4)(b));return e.createElement(e.Fragment,null,L&&e.createElement("div",{className:"".concat(ge,"-arrow")}),e.cloneElement(b,{ref:(0,$.Yr)(b)?h:void 0}))}),g=o,E={adjustX:1,adjustY:1},S=[0,0],_={topLeft:{points:["bl","tl"],overflow:E,offset:[0,-4],targetOffset:S},top:{points:["bc","tc"],overflow:E,offset:[0,-4],targetOffset:S},topRight:{points:["br","tr"],overflow:E,offset:[0,-4],targetOffset:S},bottomLeft:{points:["tl","bl"],overflow:E,offset:[0,4],targetOffset:S},bottom:{points:["tc","bc"],overflow:E,offset:[0,4],targetOffset:S},bottomRight:{points:["tr","br"],overflow:E,offset:[0,4],targetOffset:S}},m=_,f=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function l(M,I){var G,L=M.arrow,ge=L===void 0?!1:L,b=M.prefixCls,h=b===void 0?"rc-dropdown":b,w=M.transitionName,R=M.animation,D=M.align,x=M.placement,n=x===void 0?"bottomLeft":x,i=M.placements,y=i===void 0?m:i,A=M.getPopupContainer,le=M.showAction,we=M.hideAction,Oe=M.overlayClassName,je=M.overlayStyle,Ye=M.visible,At=M.trigger,xe=At===void 0?["hover"]:At,qe=M.autoFocus,Ze=M.overlay,pe=M.children,ue=M.onVisibleChange,re=(0,Y.Z)(M,f),W=e.useState(),Q=(0,K.Z)(W,2),c=Q[0],B=Q[1],q="visible"in M?Ye:c,C=e.useRef(null),v=e.useRef(null),F=e.useRef(null);e.useImperativeHandle(I,function(){return C.current});var ee=function(Le){B(Le),ue==null||ue(Le)};a({visible:q,triggerRef:F,onVisibleChange:ee,autoFocus:qe,overlayRef:v});var Z=function(Le){var Me=M.onOverlayClick;B(!1),Me&&Me(Le)},V=function(){return e.createElement(g,{ref:v,overlay:Ze,prefixCls:h,arrow:ge})},z=function(){return typeof Ze=="function"?V:V()},fe=function(){var Le=M.minOverlayWidthMatchTrigger,Me=M.alignPoint;return"minOverlayWidthMatchTrigger"in M?Le:!Me},se=function(){var Le=M.openClassName;return Le!==void 0?Le:"".concat(h,"-open")},Ce=e.cloneElement(pe,{className:U()((G=pe.props)===null||G===void 0?void 0:G.className,q&&se()),ref:(0,$.Yr)(pe)?(0,$.sQ)(F,(0,$.C4)(pe)):void 0}),Ae=we;return!Ae&&xe.indexOf("contextMenu")!==-1&&(Ae=["click"]),e.createElement(j.Z,(0,N.Z)({builtinPlacements:y},re,{prefixCls:h,ref:C,popupClassName:U()(Oe,(0,O.Z)({},"".concat(h,"-show-arrow"),ge)),popupStyle:je,action:xe,showAction:le,hideAction:Ae,popupPlacement:n,popupAlign:D,popupTransitionName:w,popupAnimation:R,popupVisible:q,stretch:fe()?"minWidth":"",popup:z(),onPopupVisibleChange:ee,onPopupClick:Z,getPopupContainer:A}),Ce)}var P=e.forwardRef(l),k=P},66003:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return U}});var N=u(75931),O=u(33885),K=u(76190),Y=u(59301),j=["show"];function p($,e){if(!e.max)return!0;var s=e.strategy($);return s<=e.max}function U($,e){return Y.useMemo(function(){var s={};e&&(s.show=(0,K.Z)(e)==="object"&&e.formatter?e.formatter:!!e),s=(0,O.Z)((0,O.Z)({},s),$);var d=s,t=d.show,r=(0,N.Z)(d,j);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(Lt,Te,u){"use strict";u.r(Te),u.d(Te,{BaseInput:function(){return s},default:function(){return m}});var N=u(33885),O=u(54476),K=u(20068),Y=u(76190),j=u(92310),p=u.n(j),U=u(59301),$=u(30292),e=U.forwardRef(function(f,l){var P,k,M,I=f.inputElement,G=f.children,L=f.prefixCls,ge=f.prefix,b=f.suffix,h=f.addonBefore,w=f.addonAfter,R=f.className,D=f.style,x=f.disabled,n=f.readOnly,i=f.focused,y=f.triggerFocus,A=f.allowClear,le=f.value,we=f.handleReset,Oe=f.hidden,je=f.classes,Ye=f.classNames,At=f.dataAttrs,xe=f.styles,qe=f.components,Ze=f.onClear,pe=G!=null?G:I,ue=(qe==null?void 0:qe.affixWrapper)||"span",re=(qe==null?void 0:qe.groupWrapper)||"span",W=(qe==null?void 0:qe.wrapper)||"span",Q=(qe==null?void 0:qe.groupAddon)||"span",c=(0,U.useRef)(null),B=function(st){var Je;(Je=c.current)!==null&&Je!==void 0&&Je.contains(st.target)&&(y==null||y())},q=(0,$.X3)(f),C=(0,U.cloneElement)(pe,{value:le,className:p()((P=pe.props)===null||P===void 0?void 0:P.className,!q&&(Ye==null?void 0:Ye.variant))||null}),v=(0,U.useRef)(null);if(U.useImperativeHandle(l,function(){return{nativeElement:v.current||c.current}}),q){var F=null;if(A){var ee=!x&&!n&&le,Z="".concat(L,"-clear-icon"),V=(0,Y.Z)(A)==="object"&&A!==null&&A!==void 0&&A.clearIcon?A.clearIcon:"\u2716";F=U.createElement("button",{type:"button",tabIndex:-1,onClick:function(st){we==null||we(st),Ze==null||Ze()},onMouseDown:function(st){return st.preventDefault()},className:p()(Z,(0,K.Z)((0,K.Z)({},"".concat(Z,"-hidden"),!ee),"".concat(Z,"-has-suffix"),!!b))},V)}var z="".concat(L,"-affix-wrapper"),fe=p()(z,(0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)({},"".concat(L,"-disabled"),x),"".concat(z,"-disabled"),x),"".concat(z,"-focused"),i),"".concat(z,"-readonly"),n),"".concat(z,"-input-with-clear-btn"),b&&A&&le),je==null?void 0:je.affixWrapper,Ye==null?void 0:Ye.affixWrapper,Ye==null?void 0:Ye.variant),se=(b||A)&&U.createElement("span",{className:p()("".concat(L,"-suffix"),Ye==null?void 0:Ye.suffix),style:xe==null?void 0:xe.suffix},F,b);C=U.createElement(ue,(0,O.Z)({className:fe,style:xe==null?void 0:xe.affixWrapper,onClick:B},At==null?void 0:At.affixWrapper,{ref:c}),ge&&U.createElement("span",{className:p()("".concat(L,"-prefix"),Ye==null?void 0:Ye.prefix),style:xe==null?void 0:xe.prefix},ge),C,se)}if((0,$.He)(f)){var Ce="".concat(L,"-group"),Ae="".concat(Ce,"-addon"),Xe="".concat(Ce,"-wrapper"),Le=p()("".concat(L,"-wrapper"),Ce,je==null?void 0:je.wrapper,Ye==null?void 0:Ye.wrapper),Me=p()(Xe,(0,K.Z)({},"".concat(Xe,"-disabled"),x),je==null?void 0:je.group,Ye==null?void 0:Ye.groupWrapper);C=U.createElement(re,{className:Me,ref:v},U.createElement(W,{className:Le},h&&U.createElement(Q,{className:Ae},h),C,w&&U.createElement(Q,{className:Ae},w)))}return U.cloneElement(C,{className:p()((k=C.props)===null||k===void 0?void 0:k.className,R)||null,style:(0,N.Z)((0,N.Z)({},(M=C.props)===null||M===void 0?void 0:M.style),D),hidden:Oe})}),s=e,d=u(94480),t=u(42978),r=u(75931),a=u(18929),o=u(2738),g=u(66003),E=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],S=(0,U.forwardRef)(function(f,l){var P=f.autoComplete,k=f.onChange,M=f.onFocus,I=f.onBlur,G=f.onPressEnter,L=f.onKeyDown,ge=f.onKeyUp,b=f.prefixCls,h=b===void 0?"rc-input":b,w=f.disabled,R=f.htmlSize,D=f.className,x=f.maxLength,n=f.suffix,i=f.showCount,y=f.count,A=f.type,le=A===void 0?"text":A,we=f.classes,Oe=f.classNames,je=f.styles,Ye=f.onCompositionStart,At=f.onCompositionEnd,xe=(0,r.Z)(f,E),qe=(0,U.useState)(!1),Ze=(0,t.Z)(qe,2),pe=Ze[0],ue=Ze[1],re=(0,U.useRef)(!1),W=(0,U.useRef)(!1),Q=(0,U.useRef)(null),c=(0,U.useRef)(null),B=function(dt){Q.current&&(0,$.nH)(Q.current,dt)},q=(0,a.Z)(f.defaultValue,{value:f.value}),C=(0,t.Z)(q,2),v=C[0],F=C[1],ee=v==null?"":String(v),Z=(0,U.useState)(null),V=(0,t.Z)(Z,2),z=V[0],fe=V[1],se=(0,g.Z)(y,i),Ce=se.max||x,Ae=se.strategy(ee),Xe=!!Ce&&Ae>Ce;(0,U.useImperativeHandle)(l,function(){var Rt;return{focus:B,blur:function(){var Ft;(Ft=Q.current)===null||Ft===void 0||Ft.blur()},setSelectionRange:function(Ft,un,Ut){var mt;(mt=Q.current)===null||mt===void 0||mt.setSelectionRange(Ft,un,Ut)},select:function(){var Ft;(Ft=Q.current)===null||Ft===void 0||Ft.select()},input:Q.current,nativeElement:((Rt=c.current)===null||Rt===void 0?void 0:Rt.nativeElement)||Q.current}}),(0,U.useEffect)(function(){W.current&&(W.current=!1),ue(function(Rt){return Rt&&w?!1:Rt})},[w]);var Le=function(dt,Ft,un){var Ut=Ft;if(!re.current&&se.exceedFormatter&&se.max&&se.strategy(Ft)>se.max){if(Ut=se.exceedFormatter(Ft,{max:se.max}),Ft!==Ut){var mt,Qt;fe([((mt=Q.current)===null||mt===void 0?void 0:mt.selectionStart)||0,((Qt=Q.current)===null||Qt===void 0?void 0:Qt.selectionEnd)||0])}}else if(un.source==="compositionEnd")return;F(Ut),Q.current&&(0,$.rJ)(Q.current,dt,k,Ut)};(0,U.useEffect)(function(){if(z){var Rt;(Rt=Q.current)===null||Rt===void 0||Rt.setSelectionRange.apply(Rt,(0,d.Z)(z))}},[z]);var Me=function(dt){Le(dt,dt.target.value,{source:"change"})},ke=function(dt){re.current=!1,Le(dt,dt.currentTarget.value,{source:"compositionEnd"}),At==null||At(dt)},st=function(dt){G&&dt.key==="Enter"&&!W.current&&(W.current=!0,G(dt)),L==null||L(dt)},Je=function(dt){dt.key==="Enter"&&(W.current=!1),ge==null||ge(dt)},He=function(dt){ue(!0),M==null||M(dt)},Kt=function(dt){W.current&&(W.current=!1),ue(!1),I==null||I(dt)},St=function(dt){F(""),B(),Q.current&&(0,$.rJ)(Q.current,dt,k)},De=Xe&&"".concat(h,"-out-of-range"),Vt=function(){var dt=(0,o.Z)(f,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return U.createElement("input",(0,O.Z)({autoComplete:P},dt,{onChange:Me,onFocus:He,onBlur:Kt,onKeyDown:st,onKeyUp:Je,className:p()(h,(0,K.Z)({},"".concat(h,"-disabled"),w),Oe==null?void 0:Oe.input),style:je==null?void 0:je.input,ref:Q,size:R,type:le,onCompositionStart:function(un){re.current=!0,Ye==null||Ye(un)},onCompositionEnd:ke}))},dn=function(){var dt=Number(Ce)>0;if(n||se.show){var Ft=se.showFormatter?se.showFormatter({value:ee,count:Ae,maxLength:Ce}):"".concat(Ae).concat(dt?" / ".concat(Ce):"");return U.createElement(U.Fragment,null,se.show&&U.createElement("span",{className:p()("".concat(h,"-show-count-suffix"),(0,K.Z)({},"".concat(h,"-show-count-has-suffix"),!!n),Oe==null?void 0:Oe.count),style:(0,N.Z)({},je==null?void 0:je.count)},Ft),n)}return null};return U.createElement(s,(0,O.Z)({},xe,{prefixCls:h,className:p()(D,De),handleReset:St,value:ee,focused:pe,triggerFocus:B,suffix:dn(),disabled:w,classes:we,classNames:Oe,styles:je}),Vt())}),_=S,m=_},30292:function(Lt,Te,u){"use strict";u.d(Te,{He:function(){return N},X3:function(){return O},nH:function(){return j},rJ:function(){return Y}});function N(p){return!!(p.addonBefore||p.addonAfter)}function O(p){return!!(p.prefix||p.suffix||p.allowClear)}function K(p,U,$){var e=U.cloneNode(!0),s=Object.create(p,{target:{value:e},currentTarget:{value:e}});return e.value=$,typeof U.selectionStart=="number"&&typeof U.selectionEnd=="number"&&(e.selectionStart=U.selectionStart,e.selectionEnd=U.selectionEnd),e.setSelectionRange=function(){U.setSelectionRange.apply(U,arguments)},s}function Y(p,U,$,e){if($){var s=U;if(U.type==="click"){s=K(U,p,""),$(s);return}if(p.type!=="file"&&e!==void 0){s=K(U,p,e),$(s);return}$(s)}}function j(p,U){if(p){p.focus(U);var $=U||{},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(Lt,Te,u){"use strict";u.d(Te,{iz:function(){return J},ck:function(){return Ut},BW:function(){return ze},sN:function(){return Ut},Wd:function(){return pn},ZP:function(){return Ie},Xl:function(){return G}});var N=u(54476),O=u(20068),K=u(33885),Y=u(94480),j=u(42978),p=u(75931),U=u(92310),$=u.n(U),e=u(11780),s=u(18929),d=u(13697),t=u(48736),r=u(59301),a=u(4676),o=r.createContext(null);function g(H,ce){return H===void 0?null:"".concat(H,"-").concat(ce)}function E(H){var ce=r.useContext(o);return g(ce,H)}var S=u(80547),_=["children","locked"],m=r.createContext(null);function f(H,ce){var he=(0,K.Z)({},H);return Object.keys(ce).forEach(function(ve){var Pe=ce[ve];Pe!==void 0&&(he[ve]=Pe)}),he}function l(H){var ce=H.children,he=H.locked,ve=(0,p.Z)(H,_),Pe=r.useContext(m),Ue=(0,S.Z)(function(){return f(Pe,ve)},[Pe,ve],function($e,ot){return!he&&($e[0]!==ot[0]||!(0,d.Z)($e[1],ot[1],!0))});return r.createElement(m.Provider,{value:Ue},ce)}var P=[],k=r.createContext(null);function M(){return r.useContext(k)}var I=r.createContext(P);function G(H){var ce=r.useContext(I);return r.useMemo(function(){return H!==void 0?[].concat((0,Y.Z)(ce),[H]):ce},[ce,H])}var L=r.createContext(null),ge=r.createContext({}),b=ge,h=u(29194);function w(H){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,h.Z)(H)){var he=H.nodeName.toLowerCase(),ve=["input","select","textarea","button"].includes(he)||H.isContentEditable||he==="a"&&!!H.getAttribute("href"),Pe=H.getAttribute("tabindex"),Ue=Number(Pe),$e=null;return Pe&&!Number.isNaN(Ue)?$e=Ue:ve&&$e===null&&($e=0),ve&&H.disabled&&($e=null),$e!==null&&($e>=0||ce&&$e<0)}return!1}function R(H){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,he=(0,Y.Z)(H.querySelectorAll("*")).filter(function(ve){return w(ve,ce)});return w(H,ce)&&he.unshift(H),he}var D=null;function x(){D=document.activeElement}function n(){D=null}function i(){if(D)try{D.focus()}catch(H){}}function y(H,ce){if(ce.keyCode===9){var he=R(H),ve=he[ce.shiftKey?0:he.length-1],Pe=ve===document.activeElement||H===document.activeElement;if(Pe){var Ue=he[ce.shiftKey?he.length-1:0];Ue.focus(),ce.preventDefault()}}}var A=u(10228),le=u(16089),we=A.Z.LEFT,Oe=A.Z.RIGHT,je=A.Z.UP,Ye=A.Z.DOWN,At=A.Z.ENTER,xe=A.Z.ESC,qe=A.Z.HOME,Ze=A.Z.END,pe=[je,Ye,we,Oe];function ue(H,ce,he,ve){var Pe,Ue="prev",$e="next",ot="children",_t="parent";if(H==="inline"&&ve===At)return{inlineTrigger:!0};var bt=(0,O.Z)((0,O.Z)({},je,Ue),Ye,$e),on=(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},we,he?$e:Ue),Oe,he?Ue:$e),Ye,ot),At,ot),wt=(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},je,Ue),Ye,$e),At,ot),xe,_t),we,he?ot:_t),Oe,he?_t:ot),Et={inline:bt,horizontal:on,vertical:wt,inlineSub:bt,horizontalSub:wt,verticalSub:wt},Mt=(Pe=Et["".concat(H).concat(ce?"":"Sub")])===null||Pe===void 0?void 0:Pe[ve];switch(Mt){case Ue:return{offset:-1,sibling:!0};case $e:return{offset:1,sibling:!0};case _t:return{offset:-1,sibling:!1};case ot:return{offset:1,sibling:!1};default:return null}}function re(H){for(var ce=H;ce;){if(ce.getAttribute("data-menu-list"))return ce;ce=ce.parentElement}return null}function W(H,ce){for(var he=H||document.activeElement;he;){if(ce.has(he))return he;he=he.parentElement}return null}function Q(H,ce){var he=R(H,!0);return he.filter(function(ve){return ce.has(ve)})}function c(H,ce,he){var ve=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!H)return null;var Pe=Q(H,ce),Ue=Pe.length,$e=Pe.findIndex(function(ot){return he===ot});return ve<0?$e===-1?$e=Ue-1:$e-=1:ve>0&&($e+=1),$e=($e+Ue)%Ue,Pe[$e]}var B=function(ce,he){var ve=new Set,Pe=new Map,Ue=new Map;return ce.forEach(function($e){var ot=document.querySelector("[data-menu-id='".concat(g(he,$e),"']"));ot&&(ve.add(ot),Ue.set(ot,$e),Pe.set($e,ot))}),{elements:ve,key2element:Pe,element2key:Ue}};function q(H,ce,he,ve,Pe,Ue,$e,ot,_t,bt){var on=r.useRef(),wt=r.useRef();wt.current=ce;var Et=function(){le.Z.cancel(on.current)};return r.useEffect(function(){return function(){Et()}},[]),function(Mt){var Ht=Mt.which;if([].concat(pe,[At,xe,qe,Ze]).includes(Ht)){var zt=Ue(),xt=B(zt,ve),Pt=xt,tt=Pt.elements,ut=Pt.key2element,ht=Pt.element2key,$t=ut.get(ce),kt=W($t,tt),jt=ht.get(kt),On=ue(H,$e(jt,!0).length===1,he,Ht);if(!On&&Ht!==qe&&Ht!==Ze)return;(pe.includes(Ht)||[qe,Ze].includes(Ht))&&Mt.preventDefault();var T=function(be){if(be){var ne=be,oe=be.querySelector("a");oe!=null&&oe.getAttribute("href")&&(ne=oe);var de=ht.get(be);ot(de),Et(),on.current=(0,le.Z)(function(){wt.current===de&&ne.focus()})}};if([qe,Ze].includes(Ht)||On.sibling||!kt){var ae;!kt||H==="inline"?ae=Pe.current:ae=re(kt);var te,ie=Q(ae,tt);Ht===qe?te=ie[0]:Ht===Ze?te=ie[ie.length-1]:te=c(ae,tt,kt,On.offset),T(te)}else if(On.inlineTrigger)_t(jt);else if(On.offset>0)_t(jt,!0),Et(),on.current=(0,le.Z)(function(){xt=B(zt,ve);var Re=kt.getAttribute("aria-controls"),be=document.getElementById(Re),ne=c(be,xt.elements);T(ne)},5);else if(On.offset<0){var _e=$e(jt,!0),ye=_e[_e.length-2],Ne=ut.get(ye);_t(ye,!1),T(Ne)}}bt==null||bt(Mt)}}function C(H){Promise.resolve().then(H)}var v="__RC_UTIL_PATH_SPLIT__",F=function(ce){return ce.join(v)},ee=function(ce){return ce.split(v)},Z="rc-menu-more";function V(){var H=r.useState({}),ce=(0,j.Z)(H,2),he=ce[1],ve=(0,r.useRef)(new Map),Pe=(0,r.useRef)(new Map),Ue=r.useState([]),$e=(0,j.Z)(Ue,2),ot=$e[0],_t=$e[1],bt=(0,r.useRef)(0),on=(0,r.useRef)(!1),wt=function(){on.current||he({})},Et=(0,r.useCallback)(function(ut,ht){var $t=F(ht);Pe.current.set($t,ut),ve.current.set(ut,$t),bt.current+=1;var kt=bt.current;C(function(){kt===bt.current&&wt()})},[]),Mt=(0,r.useCallback)(function(ut,ht){var $t=F(ht);Pe.current.delete($t),ve.current.delete(ut)},[]),Ht=(0,r.useCallback)(function(ut){_t(ut)},[]),zt=(0,r.useCallback)(function(ut,ht){var $t=ve.current.get(ut)||"",kt=ee($t);return ht&&ot.includes(kt[0])&&kt.unshift(Z),kt},[ot]),xt=(0,r.useCallback)(function(ut,ht){return ut.filter(function($t){return $t!==void 0}).some(function($t){var kt=zt($t,!0);return kt.includes(ht)})},[zt]),Pt=function(){var ht=(0,Y.Z)(ve.current.keys());return ot.length&&ht.push(Z),ht},tt=(0,r.useCallback)(function(ut){var ht="".concat(ve.current.get(ut)).concat(v),$t=new Set;return(0,Y.Z)(Pe.current.keys()).forEach(function(kt){kt.startsWith(ht)&&$t.add(Pe.current.get(kt))}),$t},[]);return r.useEffect(function(){return function(){on.current=!0}},[]),{registerPath:Et,unregisterPath:Mt,refreshOverflowKeys:Ht,isSubPathKey:xt,getKeyPath:zt,getKeys:Pt,getSubPathKeys:tt}}function z(H){var ce=r.useRef(H);ce.current=H;var he=r.useCallback(function(){for(var ve,Pe=arguments.length,Ue=new Array(Pe),$e=0;$e<Pe;$e++)Ue[$e]=arguments[$e];return(ve=ce.current)===null||ve===void 0?void 0:ve.call.apply(ve,[ce].concat(Ue))},[]);return H?he:void 0}var fe=Math.random().toFixed(5).toString().slice(2),se=0;function Ce(H){var ce=(0,s.Z)(H,{value:H}),he=(0,j.Z)(ce,2),ve=he[0],Pe=he[1];return r.useEffect(function(){se+=1;var Ue="".concat(fe,"-").concat(se);Pe("rc-menu-uuid-".concat(Ue))},[]),ve}var Ae=u(67732),Xe=u(83652),Le=u(42403),Me=u(158),ke=u(2738),st=u(8654);function Je(H,ce,he,ve){var Pe=r.useContext(m),Ue=Pe.activeKey,$e=Pe.onActive,ot=Pe.onInactive,_t={active:Ue===H};return ce||(_t.onMouseEnter=function(bt){he==null||he({key:H,domEvent:bt}),$e(H)},_t.onMouseLeave=function(bt){ve==null||ve({key:H,domEvent:bt}),ot(H)}),_t}function He(H){var ce=r.useContext(m),he=ce.mode,ve=ce.rtl,Pe=ce.inlineIndent;if(he!=="inline")return null;var Ue=H;return ve?{paddingRight:Ue*Pe}:{paddingLeft:Ue*Pe}}function Kt(H){var ce=H.icon,he=H.props,ve=H.children,Pe;return ce===null||ce===!1?null:(typeof ce=="function"?Pe=r.createElement(ce,(0,K.Z)({},he)):typeof ce!="boolean"&&(Pe=ce),Pe||ve||null)}var St=["item"];function De(H){var ce=H.item,he=(0,p.Z)(H,St);return Object.defineProperty(he,"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."),ce}}),he}var Vt=["title","attribute","elementRef"],dn=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Rt=["active"],dt=function(H){(0,Le.Z)(he,H);var ce=(0,Me.Z)(he);function he(){return(0,Ae.Z)(this,he),ce.apply(this,arguments)}return(0,Xe.Z)(he,[{key:"render",value:function(){var Pe=this.props,Ue=Pe.title,$e=Pe.attribute,ot=Pe.elementRef,_t=(0,p.Z)(Pe,Vt),bt=(0,ke.Z)(_t,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,t.ZP)(!$e,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(e.Z.Item,(0,N.Z)({},$e,{title:typeof Ue=="string"?Ue:void 0},bt,{ref:ot}))}}]),he}(r.Component),Ft=r.forwardRef(function(H,ce){var he=H.style,ve=H.className,Pe=H.eventKey,Ue=H.warnKey,$e=H.disabled,ot=H.itemIcon,_t=H.children,bt=H.role,on=H.onMouseEnter,wt=H.onMouseLeave,Et=H.onClick,Mt=H.onKeyDown,Ht=H.onFocus,zt=(0,p.Z)(H,dn),xt=E(Pe),Pt=r.useContext(m),tt=Pt.prefixCls,ut=Pt.onItemClick,ht=Pt.disabled,$t=Pt.overflowDisabled,kt=Pt.itemIcon,jt=Pt.selectedKeys,On=Pt.onActive,T=r.useContext(b),ae=T._internalRenderMenuItem,te="".concat(tt,"-item"),ie=r.useRef(),_e=r.useRef(),ye=ht||$e,Ne=(0,st.x1)(ce,_e),Re=G(Pe),be=function(pt){return{key:Pe,keyPath:(0,Y.Z)(Re).reverse(),item:ie.current,domEvent:pt}},ne=ot||kt,oe=Je(Pe,ye,on,wt),de=oe.active,me=(0,p.Z)(oe,Rt),Ee=jt.includes(Pe),Ve=He(Re.length),ct=function(pt){if(!ye){var hn=be(pt);Et==null||Et(De(hn)),ut(hn)}},rt=function(pt){if(Mt==null||Mt(pt),pt.which===A.Z.ENTER){var hn=be(pt);Et==null||Et(De(hn)),ut(hn)}},Nt=function(pt){On(Pe),Ht==null||Ht(pt)},Bt={};H.role==="option"&&(Bt["aria-selected"]=Ee);var Ot=r.createElement(dt,(0,N.Z)({ref:ie,elementRef:Ne,role:bt===null?"none":bt||"menuitem",tabIndex:$e?null:-1,"data-menu-id":$t&&xt?null:xt},(0,ke.Z)(zt,["extra"]),me,Bt,{component:"li","aria-disabled":$e,style:(0,K.Z)((0,K.Z)({},Ve),he),className:$()(te,(0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(te,"-active"),de),"".concat(te,"-selected"),Ee),"".concat(te,"-disabled"),ye),ve),onClick:ct,onKeyDown:rt,onFocus:Nt}),_t,r.createElement(Kt,{props:(0,K.Z)((0,K.Z)({},H),{},{isSelected:Ee}),icon:ne}));return ae&&(Ot=ae(Ot,H,{selected:Ee})),Ot});function un(H,ce){var he=H.eventKey,ve=M(),Pe=G(he);return r.useEffect(function(){if(ve)return ve.registerPath(he,Pe),function(){ve.unregisterPath(he,Pe)}},[Pe]),ve?null:r.createElement(Ft,(0,N.Z)({},H,{ref:ce}))}var Ut=r.forwardRef(un),mt=["className","children"],Qt=function(ce,he){var ve=ce.className,Pe=ce.children,Ue=(0,p.Z)(ce,mt),$e=r.useContext(m),ot=$e.prefixCls,_t=$e.mode,bt=$e.rtl;return r.createElement("ul",(0,N.Z)({className:$()(ot,bt&&"".concat(ot,"-rtl"),"".concat(ot,"-sub"),"".concat(ot,"-").concat(_t==="inline"?"inline":"vertical"),ve),role:"menu"},Ue,{"data-menu-list":!0,ref:he}),Pe)},bn=r.forwardRef(Qt);bn.displayName="SubMenuList";var Tt=bn,ft=u(11592);function yt(H,ce){return(0,ft.Z)(H).map(function(he,ve){if(r.isValidElement(he)){var Pe,Ue,$e=he.key,ot=(Pe=(Ue=he.props)===null||Ue===void 0?void 0:Ue.eventKey)!==null&&Pe!==void 0?Pe:$e,_t=ot==null;_t&&(ot="tmp_key-".concat([].concat((0,Y.Z)(ce),[ve]).join("-")));var bt={key:ot,eventKey:ot};return r.cloneElement(he,bt)}return he})}var Bn=u(65030),mn={adjustX:1,adjustY:1},Ln={topLeft:{points:["bl","tl"],overflow:mn},topRight:{points:["br","tr"],overflow:mn},bottomLeft:{points:["tl","bl"],overflow:mn},bottomRight:{points:["tr","br"],overflow:mn},leftTop:{points:["tr","tl"],overflow:mn},leftBottom:{points:["br","bl"],overflow:mn},rightTop:{points:["tl","tr"],overflow:mn},rightBottom:{points:["bl","br"],overflow:mn}},Wn={topLeft:{points:["bl","tl"],overflow:mn},topRight:{points:["br","tr"],overflow:mn},bottomLeft:{points:["tl","bl"],overflow:mn},bottomRight:{points:["tr","br"],overflow:mn},rightTop:{points:["tr","tl"],overflow:mn},rightBottom:{points:["br","bl"],overflow:mn},leftTop:{points:["tl","tr"],overflow:mn},leftBottom:{points:["bl","br"],overflow:mn}},wn=null;function Rn(H,ce,he){if(ce)return ce;if(he)return he[H]||he.other}var Kn={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Nn(H){var ce=H.prefixCls,he=H.visible,ve=H.children,Pe=H.popup,Ue=H.popupStyle,$e=H.popupClassName,ot=H.popupOffset,_t=H.disabled,bt=H.mode,on=H.onVisibleChange,wt=r.useContext(m),Et=wt.getPopupContainer,Mt=wt.rtl,Ht=wt.subMenuOpenDelay,zt=wt.subMenuCloseDelay,xt=wt.builtinPlacements,Pt=wt.triggerSubMenuAction,tt=wt.forceSubMenuRender,ut=wt.rootClassName,ht=wt.motion,$t=wt.defaultMotions,kt=r.useState(!1),jt=(0,j.Z)(kt,2),On=jt[0],T=jt[1],ae=Mt?(0,K.Z)((0,K.Z)({},Wn),xt):(0,K.Z)((0,K.Z)({},Ln),xt),te=Kn[bt],ie=Rn(bt,ht,$t),_e=r.useRef(ie);bt!=="inline"&&(_e.current=ie);var ye=(0,K.Z)((0,K.Z)({},_e.current),{},{leavedClassName:"".concat(ce,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Ne=r.useRef();return r.useEffect(function(){return Ne.current=(0,le.Z)(function(){T(he)}),function(){le.Z.cancel(Ne.current)}},[he]),r.createElement(Bn.Z,{prefixCls:ce,popupClassName:$()("".concat(ce,"-popup"),(0,O.Z)({},"".concat(ce,"-rtl"),Mt),$e,ut),stretch:bt==="horizontal"?"minWidth":null,getPopupContainer:Et,builtinPlacements:ae,popupPlacement:te,popupVisible:On,popup:Pe,popupStyle:Ue,popupAlign:ot&&{offset:ot},action:_t?[]:[Pt],mouseEnterDelay:Ht,mouseLeaveDelay:zt,onPopupVisibleChange:on,forceRender:tt,popupMotion:ye,fresh:!0},ve)}var In=u(77900);function En(H){var ce=H.id,he=H.open,ve=H.keyPath,Pe=H.children,Ue="inline",$e=r.useContext(m),ot=$e.prefixCls,_t=$e.forceSubMenuRender,bt=$e.motion,on=$e.defaultMotions,wt=$e.mode,Et=r.useRef(!1);Et.current=wt===Ue;var Mt=r.useState(!Et.current),Ht=(0,j.Z)(Mt,2),zt=Ht[0],xt=Ht[1],Pt=Et.current?he:!1;r.useEffect(function(){Et.current&&xt(!1)},[wt]);var tt=(0,K.Z)({},Rn(Ue,bt,on));ve.length>1&&(tt.motionAppear=!1);var ut=tt.onVisibleChanged;return tt.onVisibleChanged=function(ht){return!Et.current&&!ht&&xt(!0),ut==null?void 0:ut(ht)},zt?null:r.createElement(l,{mode:Ue,locked:!Et.current},r.createElement(In.default,(0,N.Z)({visible:Pt},tt,{forceRender:_t,removeOnLeave:!1,leavedClassName:"".concat(ot,"-hidden")}),function(ht){var $t=ht.className,kt=ht.style;return r.createElement(Tt,{id:ce,className:$t,style:kt},Pe)}))}var Tn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],at=["active"],it=r.forwardRef(function(H,ce){var he=H.style,ve=H.className,Pe=H.title,Ue=H.eventKey,$e=H.warnKey,ot=H.disabled,_t=H.internalPopupClose,bt=H.children,on=H.itemIcon,wt=H.expandIcon,Et=H.popupClassName,Mt=H.popupOffset,Ht=H.popupStyle,zt=H.onClick,xt=H.onMouseEnter,Pt=H.onMouseLeave,tt=H.onTitleClick,ut=H.onTitleMouseEnter,ht=H.onTitleMouseLeave,$t=(0,p.Z)(H,Tn),kt=E(Ue),jt=r.useContext(m),On=jt.prefixCls,T=jt.mode,ae=jt.openKeys,te=jt.disabled,ie=jt.overflowDisabled,_e=jt.activeKey,ye=jt.selectedKeys,Ne=jt.itemIcon,Re=jt.expandIcon,be=jt.onItemClick,ne=jt.onOpenChange,oe=jt.onActive,de=r.useContext(b),me=de._internalRenderSubMenuItem,Ee=r.useContext(L),Ve=Ee.isSubPathKey,ct=G(),rt="".concat(On,"-submenu"),Nt=te||ot,Bt=r.useRef(),Ot=r.useRef(),Yt=on!=null?on:Ne,pt=wt!=null?wt:Re,hn=ae.includes(Ue),rn=!ie&&hn,_n=Ve(ye,Ue),Gt=Je(Ue,Nt,ut,ht),tn=Gt.active,vn=(0,p.Z)(Gt,at),an=r.useState(!1),cn=(0,j.Z)(an,2),It=cn[0],vt=cn[1],Dt=function(Cn){Nt||vt(Cn)},Xt=function(Cn){Dt(!0),xt==null||xt({key:Ue,domEvent:Cn})},fn=function(Cn){Dt(!1),Pt==null||Pt({key:Ue,domEvent:Cn})},sn=r.useMemo(function(){return tn||(T!=="inline"?It||Ve([_e],Ue):!1)},[T,tn,_e,It,Ue,Ve]),ln=He(ct.length),Un=function(Cn){Nt||(tt==null||tt({key:Ue,domEvent:Cn}),T==="inline"&&ne(Ue,!hn))},Xn=z(function(yn){zt==null||zt(De(yn)),be(yn)}),$n=function(Cn){T!=="inline"&&ne(Ue,Cn)},or=function(){oe(Ue)},ir=kt&&"".concat(kt,"-popup"),qn=r.useMemo(function(){return r.createElement(Kt,{icon:T!=="horizontal"?pt:void 0,props:(0,K.Z)((0,K.Z)({},H),{},{isOpen:rn,isSubMenu:!0})},r.createElement("i",{className:"".concat(rt,"-arrow")}))},[T,pt,H,rn,rt]),gn=r.createElement("div",(0,N.Z)({role:"menuitem",style:ln,className:"".concat(rt,"-title"),tabIndex:Nt?null:-1,ref:Bt,title:typeof Pe=="string"?Pe:null,"data-menu-id":ie&&kt?null:kt,"aria-expanded":rn,"aria-haspopup":!0,"aria-controls":ir,"aria-disabled":Nt,onClick:Un,onFocus:or},vn),Pe,qn),kn=r.useRef(T);if(T!=="inline"&&ct.length>1?kn.current="vertical":kn.current=T,!ie){var Gn=kn.current;gn=r.createElement(Nn,{mode:Gn,prefixCls:rt,visible:!_t&&rn&&T!=="inline",popupClassName:Et,popupOffset:Mt,popupStyle:Ht,popup:r.createElement(l,{mode:Gn==="horizontal"?"vertical":Gn},r.createElement(Tt,{id:ir,ref:Ot},bt)),disabled:Nt,onVisibleChange:$n},gn)}var xn=r.createElement(e.Z.Item,(0,N.Z)({ref:ce,role:"none"},$t,{component:"li",style:he,className:$()(rt,"".concat(rt,"-").concat(T),ve,(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(rt,"-open"),rn),"".concat(rt,"-active"),sn),"".concat(rt,"-selected"),_n),"".concat(rt,"-disabled"),Nt)),onMouseEnter:Xt,onMouseLeave:fn}),gn,!ie&&r.createElement(En,{id:ir,open:rn,keyPath:ct},bt));return me&&(xn=me(xn,H,{selected:_n,active:sn,open:rn,disabled:Nt})),r.createElement(l,{onItemClick:Xn,mode:T==="horizontal"?"vertical":T,itemIcon:Yt,expandIcon:pt},xn)}),en=r.forwardRef(function(H,ce){var he=H.eventKey,ve=H.children,Pe=G(he),Ue=yt(ve,Pe),$e=M();r.useEffect(function(){if($e)return $e.registerPath(he,Pe),function(){$e.unregisterPath(he,Pe)}},[Pe]);var ot;return $e?ot=Ue:ot=r.createElement(it,(0,N.Z)({ref:ce},H),Ue),r.createElement(I.Provider,{value:Pe},ot)}),pn=en,An=u(76190);function J(H){var ce=H.className,he=H.style,ve=r.useContext(m),Pe=ve.prefixCls,Ue=M();return Ue?null:r.createElement("li",{role:"separator",className:$()("".concat(Pe,"-item-divider"),ce),style:he})}var X=["className","title","eventKey","children"],Ke=r.forwardRef(function(H,ce){var he=H.className,ve=H.title,Pe=H.eventKey,Ue=H.children,$e=(0,p.Z)(H,X),ot=r.useContext(m),_t=ot.prefixCls,bt="".concat(_t,"-item-group");return r.createElement("li",(0,N.Z)({ref:ce,role:"presentation"},$e,{onClick:function(wt){return wt.stopPropagation()},className:$()(bt,he)}),r.createElement("div",{role:"presentation",className:"".concat(bt,"-title"),title:typeof ve=="string"?ve:void 0},ve),r.createElement("ul",{role:"group",className:"".concat(bt,"-list")},Ue))}),Se=r.forwardRef(function(H,ce){var he=H.eventKey,ve=H.children,Pe=G(he),Ue=yt(ve,Pe),$e=M();return $e?Ue:r.createElement(Ke,(0,N.Z)({ref:ce},(0,ke.Z)(H,["warnKey"])),Ue)}),ze=Se,Ge=["label","children","key","type","extra"];function Be(H,ce,he){var ve=ce.item,Pe=ce.group,Ue=ce.submenu,$e=ce.divider;return(H||[]).map(function(ot,_t){if(ot&&(0,An.Z)(ot)==="object"){var bt=ot,on=bt.label,wt=bt.children,Et=bt.key,Mt=bt.type,Ht=bt.extra,zt=(0,p.Z)(bt,Ge),xt=Et!=null?Et:"tmp-".concat(_t);return wt||Mt==="group"?Mt==="group"?r.createElement(Pe,(0,N.Z)({key:xt},zt,{title:on}),Be(wt,ce,he)):r.createElement(Ue,(0,N.Z)({key:xt},zt,{title:on}),Be(wt,ce,he)):Mt==="divider"?r.createElement($e,(0,N.Z)({key:xt},zt)):r.createElement(ve,(0,N.Z)({key:xt},zt,{extra:Ht}),on,(!!Ht||Ht===0)&&r.createElement("span",{className:"".concat(he,"-item-extra")},Ht))}return null}).filter(function(ot){return ot})}function Fe(H,ce,he,ve,Pe){var Ue=H,$e=(0,K.Z)({divider:J,item:Ut,group:ze,submenu:pn},ve);return ce&&(Ue=Be(ce,$e,Pe)),yt(Ue,he)}var nt=["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"],We=[],et=r.forwardRef(function(H,ce){var he,ve=H,Pe=ve.prefixCls,Ue=Pe===void 0?"rc-menu":Pe,$e=ve.rootClassName,ot=ve.style,_t=ve.className,bt=ve.tabIndex,on=bt===void 0?0:bt,wt=ve.items,Et=ve.children,Mt=ve.direction,Ht=ve.id,zt=ve.mode,xt=zt===void 0?"vertical":zt,Pt=ve.inlineCollapsed,tt=ve.disabled,ut=ve.disabledOverflow,ht=ve.subMenuOpenDelay,$t=ht===void 0?.1:ht,kt=ve.subMenuCloseDelay,jt=kt===void 0?.1:kt,On=ve.forceSubMenuRender,T=ve.defaultOpenKeys,ae=ve.openKeys,te=ve.activeKey,ie=ve.defaultActiveFirst,_e=ve.selectable,ye=_e===void 0?!0:_e,Ne=ve.multiple,Re=Ne===void 0?!1:Ne,be=ve.defaultSelectedKeys,ne=ve.selectedKeys,oe=ve.onSelect,de=ve.onDeselect,me=ve.inlineIndent,Ee=me===void 0?24:me,Ve=ve.motion,ct=ve.defaultMotions,rt=ve.triggerSubMenuAction,Nt=rt===void 0?"hover":rt,Bt=ve.builtinPlacements,Ot=ve.itemIcon,Yt=ve.expandIcon,pt=ve.overflowedIndicator,hn=pt===void 0?"...":pt,rn=ve.overflowedIndicatorPopupClassName,_n=ve.getPopupContainer,Gt=ve.onClick,tn=ve.onOpenChange,vn=ve.onKeyDown,an=ve.openAnimation,cn=ve.openTransitionName,It=ve._internalRenderMenuItem,vt=ve._internalRenderSubMenuItem,Dt=ve._internalComponents,Xt=(0,p.Z)(ve,nt),fn=r.useMemo(function(){return[Fe(Et,wt,We,Dt,Ue),Fe(Et,wt,We,{},Ue)]},[Et,wt,Dt]),sn=(0,j.Z)(fn,2),ln=sn[0],Un=sn[1],Xn=r.useState(!1),$n=(0,j.Z)(Xn,2),or=$n[0],ir=$n[1],qn=r.useRef(),gn=Ce(Ht),kn=Mt==="rtl",Gn=(0,s.Z)(T,{value:ae,postState:function(Vn){return Vn||We}}),xn=(0,j.Z)(Gn,2),yn=xn[0],Cn=xn[1],Ct=function(Vn){var Yn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function vr(){Cn(Vn),tn==null||tn(Vn)}Yn?(0,a.flushSync)(vr):vr()},Jt=r.useState(yn),qt=(0,j.Z)(Jt,2),nn=qt[0],Pn=qt[1],Zn=r.useRef(!1),ar=r.useMemo(function(){return(xt==="inline"||xt==="vertical")&&Pt?["vertical",Pt]:[xt,!1]},[xt,Pt]),gt=(0,j.Z)(ar,2),Wt=gt[0],Zt=gt[1],Mn=Wt==="inline",zn=r.useState(Wt),Hn=(0,j.Z)(zn,2),cr=Hn[0],dr=Hn[1],lr=r.useState(Zt),Jn=(0,j.Z)(lr,2),Fr=Jn[0],Br=Jn[1];r.useEffect(function(){dr(Wt),Br(Zt),Zn.current&&(Mn?Cn(nn):Ct(We))},[Wt,Zt]);var Sr=r.useState(0),Tr=(0,j.Z)(Sr,2),Nr=Tr[0],Or=Tr[1],Ar=Nr>=ln.length-1||cr!=="horizontal"||ut;r.useEffect(function(){Mn&&Pn(yn)},[yn]),r.useEffect(function(){return Zn.current=!0,function(){Zn.current=!1}},[]);var br=V(),Mr=br.registerPath,Pr=br.unregisterPath,zr=br.refreshOverflowKeys,kr=br.isSubPathKey,$r=br.getKeyPath,Ir=br.getKeys,Gr=br.getSubPathKeys,jr=r.useMemo(function(){return{registerPath:Mr,unregisterPath:Pr}},[Mr,Pr]),Wr=r.useMemo(function(){return{isSubPathKey:kr}},[kr]);r.useEffect(function(){zr(Ar?We:ln.slice(Nr+1).map(function(tr){return tr.key}))},[Nr,Ar]);var Dr=(0,s.Z)(te||ie&&((he=ln[0])===null||he===void 0?void 0:he.key),{value:te}),hr=(0,j.Z)(Dr,2),ur=hr[0],Dn=hr[1],Sn=z(function(tr){Dn(tr)}),nr=z(function(){Dn(void 0)});(0,r.useImperativeHandle)(ce,function(){return{list:qn.current,focus:function(Vn){var Yn,vr=Ir(),fr=B(vr,gn),Cr=fr.elements,Xr=fr.key2element,ei=fr.element2key,ti=Q(qn.current,Cr),Jr=ur!=null?ur:ti[0]?ei.get(ti[0]):(Yn=ln.find(function(Vr){return!Vr.props.disabled}))===null||Yn===void 0?void 0:Yn.key,Zr=Xr.get(Jr);if(Jr&&Zr){var Ur;Zr==null||(Ur=Zr.focus)===null||Ur===void 0||Ur.call(Zr,Vn)}}}});var Qn=(0,s.Z)(be||[],{value:ne,postState:function(Vn){return Array.isArray(Vn)?Vn:Vn==null?We:[Vn]}}),er=(0,j.Z)(Qn,2),rr=er[0],yr=er[1],gr=function(Vn){if(ye){var Yn=Vn.key,vr=rr.includes(Yn),fr;Re?vr?fr=rr.filter(function(Xr){return Xr!==Yn}):fr=[].concat((0,Y.Z)(rr),[Yn]):fr=[Yn],yr(fr);var Cr=(0,K.Z)((0,K.Z)({},Vn),{},{selectedKeys:fr});vr?de==null||de(Cr):oe==null||oe(Cr)}!Re&&yn.length&&cr!=="inline"&&Ct(We)},xr=z(function(tr){Gt==null||Gt(De(tr)),gr(tr)}),sr=z(function(tr,Vn){var Yn=yn.filter(function(fr){return fr!==tr});if(Vn)Yn.push(tr);else if(cr!=="inline"){var vr=Gr(tr);Yn=Yn.filter(function(fr){return!vr.has(fr)})}(0,d.Z)(yn,Yn,!0)||Ct(Yn,!0)}),mr=function(Vn,Yn){var vr=Yn!=null?Yn:!yn.includes(Vn);sr(Vn,vr)},Rr=q(cr,ur,kn,gn,qn,Ir,$r,Dn,mr,vn);r.useEffect(function(){ir(!0)},[]);var Er=r.useMemo(function(){return{_internalRenderMenuItem:It,_internalRenderSubMenuItem:vt}},[It,vt]),Yr=cr!=="horizontal"||ut?ln:ln.map(function(tr,Vn){return r.createElement(l,{key:tr.key,overflowDisabled:Vn>Nr},tr)}),qr=r.createElement(e.Z,(0,N.Z)({id:Ht,ref:qn,prefixCls:"".concat(Ue,"-overflow"),component:"ul",itemComponent:Ut,className:$()(Ue,"".concat(Ue,"-root"),"".concat(Ue,"-").concat(cr),_t,(0,O.Z)((0,O.Z)({},"".concat(Ue,"-inline-collapsed"),Fr),"".concat(Ue,"-rtl"),kn),$e),dir:Mt,style:ot,role:"menu",tabIndex:on,data:Yr,renderRawItem:function(Vn){return Vn},renderRawRest:function(Vn){var Yn=Vn.length,vr=Yn?ln.slice(-Yn):null;return r.createElement(pn,{eventKey:Z,title:hn,disabled:Ar,internalPopupClose:Yn===0,popupClassName:rn},vr)},maxCount:cr!=="horizontal"||ut?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Vn){Or(Vn)},onKeyDown:Rr},Xt));return r.createElement(b.Provider,{value:Er},r.createElement(o.Provider,{value:gn},r.createElement(l,{prefixCls:Ue,rootClassName:$e,mode:cr,openKeys:yn,rtl:kn,disabled:tt,motion:or?Ve:null,defaultMotions:or?ct:null,activeKey:ur,onActive:Sn,onInactive:nr,selectedKeys:rr,inlineIndent:Ee,subMenuOpenDelay:$t,subMenuCloseDelay:jt,forceSubMenuRender:On,builtinPlacements:Bt,triggerSubMenuAction:Nt,getPopupContainer:_n,itemIcon:Ot,expandIcon:Yt,onItemClick:xr,onOpenChange:sr},r.createElement(L.Provider,{value:Wr},qr),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(k.Provider,{value:jr},Un)))))}),lt=et,Qe=lt;Qe.Item=Ut,Qe.SubMenu=pn,Qe.ItemGroup=ze,Qe.Divider=J;var Ie=Qe},11780:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return x}});var N=u(54476),O=u(33885),K=u(42978),Y=u(75931),j=u(59301),p=u(92310),U=u.n(p),$=u(29301),e=u(34280),s=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],d=void 0;function t(n,i){var y=n.prefixCls,A=n.invalidate,le=n.item,we=n.renderItem,Oe=n.responsive,je=n.responsiveDisabled,Ye=n.registerSize,At=n.itemKey,xe=n.className,qe=n.style,Ze=n.children,pe=n.display,ue=n.order,re=n.component,W=re===void 0?"div":re,Q=(0,Y.Z)(n,s),c=Oe&&!pe;function B(ee){Ye(At,ee)}j.useEffect(function(){return function(){B(null)}},[]);var q=we&&le!==d?we(le,{index:ue}):Ze,C;A||(C={opacity:c?0:1,height:c?0:d,overflowY:c?"hidden":d,order:Oe?ue:d,pointerEvents:c?"none":d,position:c?"absolute":d});var v={};c&&(v["aria-hidden"]=!0);var F=j.createElement(W,(0,N.Z)({className:U()(!A&&y,xe),style:(0,O.Z)((0,O.Z)({},C),qe)},v,Q,{ref:i}),q);return Oe&&(F=j.createElement($.Z,{onResize:function(Z){var V=Z.offsetWidth;B(V)},disabled:je},F)),F}var r=j.forwardRef(t);r.displayName="Item";var a=r,o=u(6089),g=u(4676),E=u(16089);function S(n){if(typeof MessageChannel=="undefined")(0,E.Z)(n);else{var i=new MessageChannel;i.port1.onmessage=function(){return n()},i.port2.postMessage(void 0)}}function _(){var n=j.useRef(null),i=function(A){n.current||(n.current=[],S(function(){(0,g.unstable_batchedUpdates)(function(){n.current.forEach(function(le){le()}),n.current=null})})),n.current.push(A)};return i}function m(n,i){var y=j.useState(i),A=(0,K.Z)(y,2),le=A[0],we=A[1],Oe=(0,o.Z)(function(je){n(function(){we(je)})});return[le,Oe]}var f=j.createContext(null),l=["component"],P=["className"],k=["className"],M=function(i,y){var A=j.useContext(f);if(!A){var le=i.component,we=le===void 0?"div":le,Oe=(0,Y.Z)(i,l);return j.createElement(we,(0,N.Z)({},Oe,{ref:y}))}var je=A.className,Ye=(0,Y.Z)(A,P),At=i.className,xe=(0,Y.Z)(i,k);return j.createElement(f.Provider,{value:null},j.createElement(a,(0,N.Z)({ref:y,className:U()(je,At)},Ye,xe)))},I=j.forwardRef(M);I.displayName="RawItem";var G=I,L=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ge="responsive",b="invalidate";function h(n){return"+ ".concat(n.length," ...")}function w(n,i){var y=n.prefixCls,A=y===void 0?"rc-overflow":y,le=n.data,we=le===void 0?[]:le,Oe=n.renderItem,je=n.renderRawItem,Ye=n.itemKey,At=n.itemWidth,xe=At===void 0?10:At,qe=n.ssr,Ze=n.style,pe=n.className,ue=n.maxCount,re=n.renderRest,W=n.renderRawRest,Q=n.suffix,c=n.component,B=c===void 0?"div":c,q=n.itemComponent,C=n.onVisibleChange,v=(0,Y.Z)(n,L),F=qe==="full",ee=_(),Z=m(ee,null),V=(0,K.Z)(Z,2),z=V[0],fe=V[1],se=z||0,Ce=m(ee,new Map),Ae=(0,K.Z)(Ce,2),Xe=Ae[0],Le=Ae[1],Me=m(ee,0),ke=(0,K.Z)(Me,2),st=ke[0],Je=ke[1],He=m(ee,0),Kt=(0,K.Z)(He,2),St=Kt[0],De=Kt[1],Vt=m(ee,0),dn=(0,K.Z)(Vt,2),Rt=dn[0],dt=dn[1],Ft=(0,j.useState)(null),un=(0,K.Z)(Ft,2),Ut=un[0],mt=un[1],Qt=(0,j.useState)(null),bn=(0,K.Z)(Qt,2),Tt=bn[0],ft=bn[1],yt=j.useMemo(function(){return Tt===null&&F?Number.MAX_SAFE_INTEGER:Tt||0},[Tt,z]),Bn=(0,j.useState)(!1),mn=(0,K.Z)(Bn,2),Ln=mn[0],Wn=mn[1],wn="".concat(A,"-item"),Rn=Math.max(st,St),Kn=ue===ge,Nn=we.length&&Kn,In=ue===b,En=Nn||typeof ue=="number"&&we.length>ue,Tn=(0,j.useMemo)(function(){var Qe=we;return Nn?z===null&&F?Qe=we:Qe=we.slice(0,Math.min(we.length,se/xe)):typeof ue=="number"&&(Qe=we.slice(0,ue)),Qe},[we,xe,z,ue,Nn]),at=(0,j.useMemo)(function(){return Nn?we.slice(yt+1):we.slice(Tn.length)},[we,Tn,Nn,yt]),it=(0,j.useCallback)(function(Qe,Ie){var H;return typeof Ye=="function"?Ye(Qe):(H=Ye&&(Qe==null?void 0:Qe[Ye]))!==null&&H!==void 0?H:Ie},[Ye]),en=(0,j.useCallback)(Oe||function(Qe){return Qe},[Oe]);function pn(Qe,Ie,H){Tt===Qe&&(Ie===void 0||Ie===Ut)||(ft(Qe),H||(Wn(Qe<we.length-1),C==null||C(Qe)),Ie!==void 0&&mt(Ie))}function An(Qe,Ie){fe(Ie.clientWidth)}function J(Qe,Ie){Le(function(H){var ce=new Map(H);return Ie===null?ce.delete(Qe):ce.set(Qe,Ie),ce})}function X(Qe,Ie){De(Ie),Je(St)}function Ke(Qe,Ie){dt(Ie)}function Se(Qe){return Xe.get(it(Tn[Qe],Qe))}(0,e.Z)(function(){if(se&&typeof Rn=="number"&&Tn){var Qe=Rt,Ie=Tn.length,H=Ie-1;if(!Ie){pn(0,null);return}for(var ce=0;ce<Ie;ce+=1){var he=Se(ce);if(F&&(he=he||0),he===void 0){pn(ce-1,void 0,!0);break}if(Qe+=he,H===0&&Qe<=se||ce===H-1&&Qe+Se(H)<=se){pn(H,null);break}else if(Qe+Rn>se){pn(ce-1,Qe-he-Rt+St);break}}Q&&Se(0)+Rt>se&&mt(null)}},[se,Xe,St,Rt,it,Tn]);var ze=Ln&&!!at.length,Ge={};Ut!==null&&Nn&&(Ge={position:"absolute",left:Ut,top:0});var Be={prefixCls:wn,responsive:Nn,component:q,invalidate:In},Fe=je?function(Qe,Ie){var H=it(Qe,Ie);return j.createElement(f.Provider,{key:H,value:(0,O.Z)((0,O.Z)({},Be),{},{order:Ie,item:Qe,itemKey:H,registerSize:J,display:Ie<=yt})},je(Qe,Ie))}:function(Qe,Ie){var H=it(Qe,Ie);return j.createElement(a,(0,N.Z)({},Be,{order:Ie,key:H,item:Qe,renderItem:en,itemKey:H,registerSize:J,display:Ie<=yt}))},nt={order:ze?yt:Number.MAX_SAFE_INTEGER,className:"".concat(wn,"-rest"),registerSize:X,display:ze},We=re||h,et=W?j.createElement(f.Provider,{value:(0,O.Z)((0,O.Z)({},Be),nt)},W(at)):j.createElement(a,(0,N.Z)({},Be,nt),typeof We=="function"?We(at):We),lt=j.createElement(B,(0,N.Z)({className:U()(!In&&A,pe),style:Ze,ref:i},v),Tn.map(Fe),En?et:null,Q&&j.createElement(a,(0,N.Z)({},Be,{responsive:Kn,responsiveDisabled:!Nn,order:yt,className:"".concat(wn,"-suffix"),registerSize:Ke,display:!0,style:Ge}),Q));return Kn?j.createElement($.Z,{onResize:An,disabled:!Nn},lt):lt}var R=j.forwardRef(w);R.displayName="Overflow",R.Item=G,R.RESPONSIVE=ge,R.INVALIDATE=b;var D=R,x=D},23425:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return k}});var N=u(20068),O=u(54476),K=u(76190),Y=u(33885),j=u(42978),p=u(92310),U=u.n(p),$=u(18929),e=u(10228),s=u(26112),d=u(48736),t=u(59301),r=u(17119),a=[10,20,50,100],o=function(I){var G=I.pageSizeOptions,L=G===void 0?a:G,ge=I.locale,b=I.changeSize,h=I.pageSize,w=I.goButton,R=I.quickGo,D=I.rootPrefixCls,x=I.disabled,n=I.buildOptionText,i=I.showSizeChanger,y=I.sizeChangerRender,A=t.useState(""),le=(0,j.Z)(A,2),we=le[0],Oe=le[1],je=function(){return!we||Number.isNaN(we)?void 0:Number(we)},Ye=typeof n=="function"?n:function(Q){return"".concat(Q," ").concat(ge.items_per_page)},At=function(c){Oe(c.target.value)},xe=function(c){w||we===""||(Oe(""),!(c.relatedTarget&&(c.relatedTarget.className.indexOf("".concat(D,"-item-link"))>=0||c.relatedTarget.className.indexOf("".concat(D,"-item"))>=0))&&(R==null||R(je())))},qe=function(c){we!==""&&(c.keyCode===e.Z.ENTER||c.type==="click")&&(Oe(""),R==null||R(je()))},Ze=function(){return L.some(function(c){return c.toString()===h.toString()})?L:L.concat([h]).sort(function(c,B){var q=Number.isNaN(Number(c))?0:Number(c),C=Number.isNaN(Number(B))?0:Number(B);return q-C})},pe="".concat(D,"-options");if(!i&&!R)return null;var ue=null,re=null,W=null;return i&&y&&(ue=y({disabled:x,size:h,onSizeChange:function(c){b==null||b(Number(c))},"aria-label":ge.page_size,className:"".concat(pe,"-size-changer"),options:Ze().map(function(Q){return{label:Ye(Q),value:Q}})})),R&&(w&&(W=typeof w=="boolean"?t.createElement("button",{type:"button",onClick:qe,onKeyUp:qe,disabled:x,className:"".concat(pe,"-quick-jumper-button")},ge.jump_to_confirm):t.createElement("span",{onClick:qe,onKeyUp:qe},w)),re=t.createElement("div",{className:"".concat(pe,"-quick-jumper")},ge.jump_to,t.createElement("input",{disabled:x,type:"text",value:we,onChange:At,onKeyUp:qe,onBlur:xe,"aria-label":ge.page}),ge.page,W)),t.createElement("li",{className:pe},ue,re)},g=o,E=function(I){var G=I.rootPrefixCls,L=I.page,ge=I.active,b=I.className,h=I.showTitle,w=I.onClick,R=I.onKeyPress,D=I.itemRender,x="".concat(G,"-item"),n=U()(x,"".concat(x,"-").concat(L),(0,N.Z)((0,N.Z)({},"".concat(x,"-active"),ge),"".concat(x,"-disabled"),!L),b),i=function(){w(L)},y=function(we){R(we,w,L)},A=D(L,"page",t.createElement("a",{rel:"nofollow"},L));return A?t.createElement("li",{title:h?String(L):null,className:n,onClick:i,onKeyDown:y,tabIndex:0},A):null},S=E,_=function(I,G,L){return L};function m(){}function f(M){var I=Number(M);return typeof I=="number"&&!Number.isNaN(I)&&isFinite(I)&&Math.floor(I)===I}function l(M,I,G){var L=typeof M=="undefined"?I:M;return Math.floor((G-1)/L)+1}var P=function(I){var G=I.prefixCls,L=G===void 0?"rc-pagination":G,ge=I.selectPrefixCls,b=ge===void 0?"rc-select":ge,h=I.className,w=I.current,R=I.defaultCurrent,D=R===void 0?1:R,x=I.total,n=x===void 0?0:x,i=I.pageSize,y=I.defaultPageSize,A=y===void 0?10:y,le=I.onChange,we=le===void 0?m:le,Oe=I.hideOnSinglePage,je=I.align,Ye=I.showPrevNextJumpers,At=Ye===void 0?!0:Ye,xe=I.showQuickJumper,qe=I.showLessItems,Ze=I.showTitle,pe=Ze===void 0?!0:Ze,ue=I.onShowSizeChange,re=ue===void 0?m:ue,W=I.locale,Q=W===void 0?r.Z:W,c=I.style,B=I.totalBoundaryShowSizeChanger,q=B===void 0?50:B,C=I.disabled,v=I.simple,F=I.showTotal,ee=I.showSizeChanger,Z=ee===void 0?n>q:ee,V=I.sizeChangerRender,z=I.pageSizeOptions,fe=I.itemRender,se=fe===void 0?_:fe,Ce=I.jumpPrevIcon,Ae=I.jumpNextIcon,Xe=I.prevIcon,Le=I.nextIcon,Me=t.useRef(null),ke=(0,$.Z)(10,{value:i,defaultValue:A}),st=(0,j.Z)(ke,2),Je=st[0],He=st[1],Kt=(0,$.Z)(1,{value:w,defaultValue:D,postState:function(ut){return Math.max(1,Math.min(ut,l(void 0,Je,n)))}}),St=(0,j.Z)(Kt,2),De=St[0],Vt=St[1],dn=t.useState(De),Rt=(0,j.Z)(dn,2),dt=Rt[0],Ft=Rt[1];(0,t.useEffect)(function(){Ft(De)},[De]);var un=we!==m,Ut="current"in I,mt=Math.max(1,De-(qe?3:5)),Qt=Math.min(l(void 0,Je,n),De+(qe?3:5));function bn(tt,ut){var ht=tt||t.createElement("button",{type:"button","aria-label":ut,className:"".concat(L,"-item-link")});return typeof tt=="function"&&(ht=t.createElement(tt,(0,Y.Z)({},I))),ht}function Tt(tt){var ut=tt.target.value,ht=l(void 0,Je,n),$t;return ut===""?$t=ut:Number.isNaN(Number(ut))?$t=dt:ut>=ht?$t=ht:$t=Number(ut),$t}function ft(tt){return f(tt)&&tt!==De&&f(n)&&n>0}var yt=n>Je?xe:!1;function Bn(tt){(tt.keyCode===e.Z.UP||tt.keyCode===e.Z.DOWN)&&tt.preventDefault()}function mn(tt){var ut=Tt(tt);switch(ut!==dt&&Ft(ut),tt.keyCode){case e.Z.ENTER:wn(ut);break;case e.Z.UP:wn(ut-1);break;case e.Z.DOWN:wn(ut+1);break;default:break}}function Ln(tt){wn(Tt(tt))}function Wn(tt){var ut=l(tt,Je,n),ht=De>ut&&ut!==0?ut:De;He(tt),Ft(ht),re==null||re(De,tt),Vt(ht),we==null||we(ht,tt)}function wn(tt){if(ft(tt)&&!C){var ut=l(void 0,Je,n),ht=tt;return tt>ut?ht=ut:tt<1&&(ht=1),ht!==dt&&Ft(ht),Vt(ht),we==null||we(ht,Je),ht}return De}var Rn=De>1,Kn=De<l(void 0,Je,n);function Nn(){Rn&&wn(De-1)}function In(){Kn&&wn(De+1)}function En(){wn(mt)}function Tn(){wn(Qt)}function at(tt,ut){if(tt.key==="Enter"||tt.charCode===e.Z.ENTER||tt.keyCode===e.Z.ENTER){for(var ht=arguments.length,$t=new Array(ht>2?ht-2:0),kt=2;kt<ht;kt++)$t[kt-2]=arguments[kt];ut.apply(void 0,$t)}}function it(tt){at(tt,Nn)}function en(tt){at(tt,In)}function pn(tt){at(tt,En)}function An(tt){at(tt,Tn)}function J(tt){var ut=se(tt,"prev",bn(Xe,"prev page"));return t.isValidElement(ut)?t.cloneElement(ut,{disabled:!Rn}):ut}function X(tt){var ut=se(tt,"next",bn(Le,"next page"));return t.isValidElement(ut)?t.cloneElement(ut,{disabled:!Kn}):ut}function Ke(tt){(tt.type==="click"||tt.keyCode===e.Z.ENTER)&&wn(dt)}var Se=null,ze=(0,s.Z)(I,{aria:!0,data:!0}),Ge=F&&t.createElement("li",{className:"".concat(L,"-total-text")},F(n,[n===0?0:(De-1)*Je+1,De*Je>n?n:De*Je])),Be=null,Fe=l(void 0,Je,n);if(Oe&&n<=Je)return null;var nt=[],We={rootPrefixCls:L,onClick:wn,onKeyPress:at,showTitle:pe,itemRender:se,page:-1},et=De-1>0?De-1:0,lt=De+1<Fe?De+1:Fe,Qe=xe&&xe.goButton,Ie=(0,K.Z)(v)==="object"?v.readOnly:!v,H=Qe,ce=null;v&&(Qe&&(typeof Qe=="boolean"?H=t.createElement("button",{type:"button",onClick:Ke,onKeyUp:Ke},Q.jump_to_confirm):H=t.createElement("span",{onClick:Ke,onKeyUp:Ke},Qe),H=t.createElement("li",{title:pe?"".concat(Q.jump_to).concat(De,"/").concat(Fe):null,className:"".concat(L,"-simple-pager")},H)),ce=t.createElement("li",{title:pe?"".concat(De,"/").concat(Fe):null,className:"".concat(L,"-simple-pager")},Ie?dt:t.createElement("input",{type:"text","aria-label":Q.jump_to,value:dt,disabled:C,onKeyDown:Bn,onKeyUp:mn,onChange:mn,onBlur:Ln,size:3}),t.createElement("span",{className:"".concat(L,"-slash")},"/"),Fe));var he=qe?1:2;if(Fe<=3+he*2){Fe||nt.push(t.createElement(S,(0,O.Z)({},We,{key:"noPager",page:1,className:"".concat(L,"-item-disabled")})));for(var ve=1;ve<=Fe;ve+=1)nt.push(t.createElement(S,(0,O.Z)({},We,{key:ve,page:ve,active:De===ve})))}else{var Pe=qe?Q.prev_3:Q.prev_5,Ue=qe?Q.next_3:Q.next_5,$e=se(mt,"jump-prev",bn(Ce,"prev page")),ot=se(Qt,"jump-next",bn(Ae,"next page"));At&&(Se=$e?t.createElement("li",{title:pe?Pe:null,key:"prev",onClick:En,tabIndex:0,onKeyDown:pn,className:U()("".concat(L,"-jump-prev"),(0,N.Z)({},"".concat(L,"-jump-prev-custom-icon"),!!Ce))},$e):null,Be=ot?t.createElement("li",{title:pe?Ue:null,key:"next",onClick:Tn,tabIndex:0,onKeyDown:An,className:U()("".concat(L,"-jump-next"),(0,N.Z)({},"".concat(L,"-jump-next-custom-icon"),!!Ae))},ot):null);var _t=Math.max(1,De-he),bt=Math.min(De+he,Fe);De-1<=he&&(bt=1+he*2),Fe-De<=he&&(_t=Fe-he*2);for(var on=_t;on<=bt;on+=1)nt.push(t.createElement(S,(0,O.Z)({},We,{key:on,page:on,active:De===on})));if(De-1>=he*2&&De!==3&&(nt[0]=t.cloneElement(nt[0],{className:U()("".concat(L,"-item-after-jump-prev"),nt[0].props.className)}),nt.unshift(Se)),Fe-De>=he*2&&De!==Fe-2){var wt=nt[nt.length-1];nt[nt.length-1]=t.cloneElement(wt,{className:U()("".concat(L,"-item-before-jump-next"),wt.props.className)}),nt.push(Be)}_t!==1&&nt.unshift(t.createElement(S,(0,O.Z)({},We,{key:1,page:1}))),bt!==Fe&&nt.push(t.createElement(S,(0,O.Z)({},We,{key:Fe,page:Fe})))}var Et=J(et);if(Et){var Mt=!Rn||!Fe;Et=t.createElement("li",{title:pe?Q.prev_page:null,onClick:Nn,tabIndex:Mt?null:0,onKeyDown:it,className:U()("".concat(L,"-prev"),(0,N.Z)({},"".concat(L,"-disabled"),Mt)),"aria-disabled":Mt},Et)}var Ht=X(lt);if(Ht){var zt,xt;v?(zt=!Kn,xt=Rn?0:null):(zt=!Kn||!Fe,xt=zt?null:0),Ht=t.createElement("li",{title:pe?Q.next_page:null,onClick:In,tabIndex:xt,onKeyDown:en,className:U()("".concat(L,"-next"),(0,N.Z)({},"".concat(L,"-disabled"),zt)),"aria-disabled":zt},Ht)}var Pt=U()(L,h,(0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)({},"".concat(L,"-start"),je==="start"),"".concat(L,"-center"),je==="center"),"".concat(L,"-end"),je==="end"),"".concat(L,"-simple"),v),"".concat(L,"-disabled"),C));return t.createElement("ul",(0,O.Z)({className:Pt,style:c,ref:Me},ze),Ge,Et,v?ce:nt,Ht,t.createElement(g,{locale:Q,rootPrefixCls:L,disabled:C,selectPrefixCls:b,changeSize:Wn,pageSize:Je,pageSizeOptions:z,quickGo:yt?wn:null,goButton:H,showSizeChanger:Z,sizeChangerRender:V}))},k=P},29301:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return b}});var N=u(54476),O=u(59301),K=u(11592),Y=u(48736),j=u(33885),p=u(76190),U=u(76846),$=u(8654),e=O.createContext(null);function s(h){var w=h.children,R=h.onBatchResize,D=O.useRef(0),x=O.useRef([]),n=O.useContext(e),i=O.useCallback(function(y,A,le){D.current+=1;var we=D.current;x.current.push({size:y,element:A,data:le}),Promise.resolve().then(function(){we===D.current&&(R==null||R(x.current),x.current=[])}),n==null||n(y,A,le)},[R,n]);return O.createElement(e.Provider,{value:i},w)}var d=u(76374),t=new Map;function r(h){h.forEach(function(w){var R,D=w.target;(R=t.get(D))===null||R===void 0||R.forEach(function(x){return x(D)})})}var a=new d.Z(r),o=null,g=null;function E(h,w){t.has(h)||(t.set(h,new Set),a.observe(h)),t.get(h).add(w)}function S(h,w){t.has(h)&&(t.get(h).delete(w),t.get(h).size||(a.unobserve(h),t.delete(h)))}var _=u(67732),m=u(83652),f=u(42403),l=u(158),P=function(h){(0,f.Z)(R,h);var w=(0,l.Z)(R);function R(){return(0,_.Z)(this,R),w.apply(this,arguments)}return(0,m.Z)(R,[{key:"render",value:function(){return this.props.children}}]),R}(O.Component);function k(h,w){var R=h.children,D=h.disabled,x=O.useRef(null),n=O.useRef(null),i=O.useContext(e),y=typeof R=="function",A=y?R(x):R,le=O.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),we=!y&&O.isValidElement(A)&&(0,$.Yr)(A),Oe=we?(0,$.C4)(A):null,je=(0,$.x1)(Oe,x),Ye=function(){var Ze;return(0,U.ZP)(x.current)||(x.current&&(0,p.Z)(x.current)==="object"?(0,U.ZP)((Ze=x.current)===null||Ze===void 0?void 0:Ze.nativeElement):null)||(0,U.ZP)(n.current)};O.useImperativeHandle(w,function(){return Ye()});var At=O.useRef(h);At.current=h;var xe=O.useCallback(function(qe){var Ze=At.current,pe=Ze.onResize,ue=Ze.data,re=qe.getBoundingClientRect(),W=re.width,Q=re.height,c=qe.offsetWidth,B=qe.offsetHeight,q=Math.floor(W),C=Math.floor(Q);if(le.current.width!==q||le.current.height!==C||le.current.offsetWidth!==c||le.current.offsetHeight!==B){var v={width:q,height:C,offsetWidth:c,offsetHeight:B};le.current=v;var F=c===Math.round(W)?W:c,ee=B===Math.round(Q)?Q:B,Z=(0,j.Z)((0,j.Z)({},v),{},{offsetWidth:F,offsetHeight:ee});i==null||i(Z,qe,ue),pe&&Promise.resolve().then(function(){pe(Z,qe)})}},[]);return O.useEffect(function(){var qe=Ye();return qe&&!D&&E(qe,xe),function(){return S(qe,xe)}},[x.current,D]),O.createElement(P,{ref:n},we?O.cloneElement(A,{ref:je}):A)}var M=O.forwardRef(k),I=M,G="rc-observer-key";function L(h,w){var R=h.children,D=typeof R=="function"?[R]:(0,K.Z)(R);return D.map(function(x,n){var i=(x==null?void 0:x.key)||"".concat(G,"-").concat(n);return O.createElement(I,(0,N.Z)({},h,{key:i,ref:n===0?w:void 0}),x)})}var ge=O.forwardRef(L);ge.Collection=s;var b=ge},6551:function(Lt,Te,u){"use strict";u.d(Te,{ZP:function(){return U}});var N=u(42978),O=u(59301),K=u(47273),Y=0,j=(0,K.Z)();function p(){var $;return j?($=Y,Y+=1):$="TEST_OR_SSR",$}function U($){var e=O.useState(),s=(0,N.Z)(e,2),d=s[0],t=s[1];return O.useEffect(function(){t("rc_select_".concat(p()))},[]),$||d}},37463:function(Lt,Te,u){"use strict";u.d(Te,{Ac:function(){return ke},Xo:function(){return Je},Wx:function(){return Kt},ZP:function(){return An},lk:function(){return m}});var N=u(54476),O=u(94480),K=u(20068),Y=u(33885),j=u(42978),p=u(75931),U=u(76190),$=u(18929),e=u(48736),s=u(59301),d=u(92310),t=u.n(d),r=u(34280),a=u(49658),o=u(8654),g=function(X){var Ke=X.className,Se=X.customizeIcon,ze=X.customizeIconProps,Ge=X.children,Be=X.onMouseDown,Fe=X.onClick,nt=typeof Se=="function"?Se(ze):Se;return s.createElement("span",{className:Ke,onMouseDown:function(et){et.preventDefault(),Be==null||Be(et)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Fe,"aria-hidden":!0},nt!==void 0?nt:s.createElement("span",{className:t()(Ke.split(/\s+/).map(function(We){return"".concat(We,"-icon")}))},Ge))},E=g,S=function(X,Ke,Se,ze,Ge){var Be=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Fe=arguments.length>6?arguments[6]:void 0,nt=arguments.length>7?arguments[7]:void 0,We=s.useMemo(function(){if((0,U.Z)(ze)==="object")return ze.clearIcon;if(Ge)return Ge},[ze,Ge]),et=s.useMemo(function(){return!!(!Be&&ze&&(Se.length||Fe)&&!(nt==="combobox"&&Fe===""))},[ze,Be,Se.length,Fe,nt]);return{allowClear:et,clearIcon:s.createElement(E,{className:"".concat(X,"-clear"),onMouseDown:Ke,customizeIcon:We},"\xD7")}},_=s.createContext(null);function m(){return s.useContext(_)}function f(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,X=s.useState(!1),Ke=(0,j.Z)(X,2),Se=Ke[0],ze=Ke[1],Ge=s.useRef(null),Be=function(){window.clearTimeout(Ge.current)};s.useEffect(function(){return Be},[]);var Fe=function(We,et){Be(),Ge.current=window.setTimeout(function(){ze(We),et&&et()},J)};return[Se,Fe,Be]}function l(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,X=s.useRef(null),Ke=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(Ke.current)}},[]);function Se(ze){(ze||X.current===null)&&(X.current=ze),window.clearTimeout(Ke.current),Ke.current=window.setTimeout(function(){X.current=null},J)}return[function(){return X.current},Se]}function P(J,X,Ke,Se){var ze=s.useRef(null);ze.current={open:X,triggerOpen:Ke,customizedTrigger:Se},s.useEffect(function(){function Ge(Be){var Fe;if(!((Fe=ze.current)!==null&&Fe!==void 0&&Fe.customizedTrigger)){var nt=Be.target;nt.shadowRoot&&Be.composed&&(nt=Be.composedPath()[0]||nt),ze.current.open&&J().filter(function(We){return We}).every(function(We){return!We.contains(nt)&&We!==nt})&&ze.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ge),function(){return window.removeEventListener("mousedown",Ge)}},[])}var k=u(10228);function M(J){return J&&![k.Z.ESC,k.Z.SHIFT,k.Z.BACKSPACE,k.Z.TAB,k.Z.WIN_KEY,k.Z.ALT,k.Z.META,k.Z.WIN_KEY_RIGHT,k.Z.CTRL,k.Z.SEMICOLON,k.Z.EQUALS,k.Z.CAPS_LOCK,k.Z.CONTEXT_MENU,k.Z.F1,k.Z.F2,k.Z.F3,k.Z.F4,k.Z.F5,k.Z.F6,k.Z.F7,k.Z.F8,k.Z.F9,k.Z.F10,k.Z.F11,k.Z.F12].includes(J)}var I=u(26112),G=u(11780);function L(J,X,Ke){var Se=(0,Y.Z)((0,Y.Z)({},J),Ke?X:{});return Object.keys(X).forEach(function(ze){var Ge=X[ze];typeof Ge=="function"&&(Se[ze]=function(){for(var Be,Fe=arguments.length,nt=new Array(Fe),We=0;We<Fe;We++)nt[We]=arguments[We];return Ge.apply(void 0,nt),(Be=J[ze])===null||Be===void 0?void 0:Be.call.apply(Be,[J].concat(nt))})}),Se}var ge=L,b=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],h=function(X,Ke){var Se=X.prefixCls,ze=X.id,Ge=X.inputElement,Be=X.autoFocus,Fe=X.autoComplete,nt=X.editable,We=X.activeDescendantId,et=X.value,lt=X.open,Qe=X.attrs,Ie=(0,p.Z)(X,b),H=Ge||s.createElement("input",null),ce=H,he=ce.ref,ve=ce.props;return(0,e.Kp)(!("maxLength"in H.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),H=s.cloneElement(H,(0,Y.Z)((0,Y.Z)((0,Y.Z)({type:"search"},ge(Ie,ve,!0)),{},{id:ze,ref:(0,o.sQ)(Ke,he),autoComplete:Fe||"off",autoFocus:Be,className:t()("".concat(Se,"-selection-search-input"),ve==null?void 0:ve.className),role:"combobox","aria-expanded":lt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(ze,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(ze,"_list"),"aria-activedescendant":lt?We:void 0},Qe),{},{value:nt?et:"",readOnly:!nt,unselectable:nt?null:"on",style:(0,Y.Z)((0,Y.Z)({},ve.style),{},{opacity:nt?null:0})})),H},w=s.forwardRef(h),R=w;function D(J){return Array.isArray(J)?J:J!==void 0?[J]:[]}var x=typeof window!="undefined"&&window.document&&window.document.documentElement,n=x;function i(J){return J!=null}function y(J){return!J&&J!==0}function A(J){return["string","number"].includes((0,U.Z)(J))}function le(J){var X=void 0;return J&&(A(J.title)?X=J.title.toString():A(J.label)&&(X=J.label.toString())),X}function we(J,X){n?s.useLayoutEffect(J,X):s.useEffect(J,X)}function Oe(J){var X;return(X=J.key)!==null&&X!==void 0?X:J.value}var je=function(X){X.preventDefault(),X.stopPropagation()},Ye=function(X){var Ke=X.id,Se=X.prefixCls,ze=X.values,Ge=X.open,Be=X.searchValue,Fe=X.autoClearSearchValue,nt=X.inputRef,We=X.placeholder,et=X.disabled,lt=X.mode,Qe=X.showSearch,Ie=X.autoFocus,H=X.autoComplete,ce=X.activeDescendantId,he=X.tabIndex,ve=X.removeIcon,Pe=X.maxTagCount,Ue=X.maxTagTextLength,$e=X.maxTagPlaceholder,ot=$e===void 0?function(de){return"+ ".concat(de.length," ...")}:$e,_t=X.tagRender,bt=X.onToggleOpen,on=X.onRemove,wt=X.onInputChange,Et=X.onInputPaste,Mt=X.onInputKeyDown,Ht=X.onInputMouseDown,zt=X.onInputCompositionStart,xt=X.onInputCompositionEnd,Pt=X.onInputBlur,tt=s.useRef(null),ut=(0,s.useState)(0),ht=(0,j.Z)(ut,2),$t=ht[0],kt=ht[1],jt=(0,s.useState)(!1),On=(0,j.Z)(jt,2),T=On[0],ae=On[1],te="".concat(Se,"-selection"),ie=Ge||lt==="multiple"&&Fe===!1||lt==="tags"?Be:"",_e=lt==="tags"||lt==="multiple"&&Fe===!1||Qe&&(Ge||T);we(function(){kt(tt.current.scrollWidth)},[ie]);var ye=function(me,Ee,Ve,ct,rt){return s.createElement("span",{title:le(me),className:t()("".concat(te,"-item"),(0,K.Z)({},"".concat(te,"-item-disabled"),Ve))},s.createElement("span",{className:"".concat(te,"-item-content")},Ee),ct&&s.createElement(E,{className:"".concat(te,"-item-remove"),onMouseDown:je,onClick:rt,customizeIcon:ve},"\xD7"))},Ne=function(me,Ee,Ve,ct,rt,Nt){var Bt=function(Yt){je(Yt),bt(!Ge)};return s.createElement("span",{onMouseDown:Bt},_t({label:Ee,value:me,disabled:Ve,closable:ct,onClose:rt,isMaxTag:!!Nt}))},Re=function(me){var Ee=me.disabled,Ve=me.label,ct=me.value,rt=!et&&!Ee,Nt=Ve;if(typeof Ue=="number"&&(typeof Ve=="string"||typeof Ve=="number")){var Bt=String(Nt);Bt.length>Ue&&(Nt="".concat(Bt.slice(0,Ue),"..."))}var Ot=function(pt){pt&&pt.stopPropagation(),on(me)};return typeof _t=="function"?Ne(ct,Nt,Ee,rt,Ot):ye(me,Nt,Ee,rt,Ot)},be=function(me){if(!ze.length)return null;var Ee=typeof ot=="function"?ot(me):ot;return typeof _t=="function"?Ne(void 0,Ee,!1,!1,void 0,!0):ye({title:Ee},Ee,!1)},ne=s.createElement("div",{className:"".concat(te,"-search"),style:{width:$t},onFocus:function(){ae(!0)},onBlur:function(){ae(!1)}},s.createElement(R,{ref:nt,open:Ge,prefixCls:Se,id:Ke,inputElement:null,disabled:et,autoFocus:Ie,autoComplete:H,editable:_e,activeDescendantId:ce,value:ie,onKeyDown:Mt,onMouseDown:Ht,onChange:wt,onPaste:Et,onCompositionStart:zt,onCompositionEnd:xt,onBlur:Pt,tabIndex:he,attrs:(0,I.Z)(X,!0)}),s.createElement("span",{ref:tt,className:"".concat(te,"-search-mirror"),"aria-hidden":!0},ie,"\xA0")),oe=s.createElement(G.Z,{prefixCls:"".concat(te,"-overflow"),data:ze,renderItem:Re,renderRest:be,suffix:ne,itemKey:Oe,maxCount:Pe});return s.createElement("span",{className:"".concat(te,"-wrap")},oe,!ze.length&&!ie&&s.createElement("span",{className:"".concat(te,"-placeholder")},We))},At=Ye,xe=function(X){var Ke=X.inputElement,Se=X.prefixCls,ze=X.id,Ge=X.inputRef,Be=X.disabled,Fe=X.autoFocus,nt=X.autoComplete,We=X.activeDescendantId,et=X.mode,lt=X.open,Qe=X.values,Ie=X.placeholder,H=X.tabIndex,ce=X.showSearch,he=X.searchValue,ve=X.activeValue,Pe=X.maxLength,Ue=X.onInputKeyDown,$e=X.onInputMouseDown,ot=X.onInputChange,_t=X.onInputPaste,bt=X.onInputCompositionStart,on=X.onInputCompositionEnd,wt=X.onInputBlur,Et=X.title,Mt=s.useState(!1),Ht=(0,j.Z)(Mt,2),zt=Ht[0],xt=Ht[1],Pt=et==="combobox",tt=Pt||ce,ut=Qe[0],ht=he||"";Pt&&ve&&!zt&&(ht=ve),s.useEffect(function(){Pt&&xt(!1)},[Pt,ve]);var $t=et!=="combobox"&&!lt&&!ce?!1:!!ht,kt=Et===void 0?le(ut):Et,jt=s.useMemo(function(){return ut?null:s.createElement("span",{className:"".concat(Se,"-selection-placeholder"),style:$t?{visibility:"hidden"}:void 0},Ie)},[ut,$t,Ie,Se]);return s.createElement("span",{className:"".concat(Se,"-selection-wrap")},s.createElement("span",{className:"".concat(Se,"-selection-search")},s.createElement(R,{ref:Ge,prefixCls:Se,id:ze,open:lt,inputElement:Ke,disabled:Be,autoFocus:Fe,autoComplete:nt,editable:tt,activeDescendantId:We,value:ht,onKeyDown:Ue,onMouseDown:$e,onChange:function(T){xt(!0),ot(T)},onPaste:_t,onCompositionStart:bt,onCompositionEnd:on,onBlur:wt,tabIndex:H,attrs:(0,I.Z)(X,!0),maxLength:Pt?Pe:void 0})),!Pt&&ut?s.createElement("span",{className:"".concat(Se,"-selection-item"),title:kt,style:$t?{visibility:"hidden"}:void 0},ut.label):null,jt)},qe=xe,Ze=function(X,Ke){var Se=(0,s.useRef)(null),ze=(0,s.useRef)(!1),Ge=X.prefixCls,Be=X.open,Fe=X.mode,nt=X.showSearch,We=X.tokenWithEnter,et=X.disabled,lt=X.prefix,Qe=X.autoClearSearchValue,Ie=X.onSearch,H=X.onSearchSubmit,ce=X.onToggleOpen,he=X.onInputKeyDown,ve=X.onInputBlur,Pe=X.domRef;s.useImperativeHandle(Ke,function(){return{focus:function(kt){Se.current.focus(kt)},blur:function(){Se.current.blur()}}});var Ue=l(0),$e=(0,j.Z)(Ue,2),ot=$e[0],_t=$e[1],bt=function(kt){var jt=kt.which,On=Se.current instanceof HTMLTextAreaElement;!On&&Be&&(jt===k.Z.UP||jt===k.Z.DOWN)&&kt.preventDefault(),he&&he(kt),jt===k.Z.ENTER&&Fe==="tags"&&!ze.current&&!Be&&(H==null||H(kt.target.value)),!(On&&!Be&&~[k.Z.UP,k.Z.DOWN,k.Z.LEFT,k.Z.RIGHT].indexOf(jt))&&M(jt)&&ce(!0)},on=function(){_t(!0)},wt=(0,s.useRef)(null),Et=function(kt){Ie(kt,!0,ze.current)!==!1&&ce(!0)},Mt=function(){ze.current=!0},Ht=function(kt){ze.current=!1,Fe!=="combobox"&&Et(kt.target.value)},zt=function(kt){var jt=kt.target.value;if(We&&wt.current&&/[\r\n]/.test(wt.current)){var On=wt.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");jt=jt.replace(On,wt.current)}wt.current=null,Et(jt)},xt=function(kt){var jt=kt.clipboardData,On=jt==null?void 0:jt.getData("text");wt.current=On||""},Pt=function(kt){var jt=kt.target;if(jt!==Se.current){var On=document.body.style.msTouchAction!==void 0;On?setTimeout(function(){Se.current.focus()}):Se.current.focus()}},tt=function(kt){var jt=ot();kt.target!==Se.current&&!jt&&!(Fe==="combobox"&&et)&&kt.preventDefault(),(Fe!=="combobox"&&(!nt||!jt)||!Be)&&(Be&&Qe!==!1&&Ie("",!0,!1),ce())},ut={inputRef:Se,onInputKeyDown:bt,onInputMouseDown:on,onInputChange:zt,onInputPaste:xt,onInputCompositionStart:Mt,onInputCompositionEnd:Ht,onInputBlur:ve},ht=Fe==="multiple"||Fe==="tags"?s.createElement(At,(0,N.Z)({},X,ut)):s.createElement(qe,(0,N.Z)({},X,ut));return s.createElement("div",{ref:Pe,className:"".concat(Ge,"-selector"),onClick:Pt,onMouseDown:tt},lt&&s.createElement("div",{className:"".concat(Ge,"-prefix")},lt),ht)},pe=s.forwardRef(Ze),ue=pe,re=u(65030),W=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Q=function(X){var Ke=X===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ke,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ke,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ke,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ke,adjustY:1},htmlRegion:"scroll"}}},c=function(X,Ke){var Se=X.prefixCls,ze=X.disabled,Ge=X.visible,Be=X.children,Fe=X.popupElement,nt=X.animation,We=X.transitionName,et=X.dropdownStyle,lt=X.dropdownClassName,Qe=X.direction,Ie=Qe===void 0?"ltr":Qe,H=X.placement,ce=X.builtinPlacements,he=X.dropdownMatchSelectWidth,ve=X.dropdownRender,Pe=X.dropdownAlign,Ue=X.getPopupContainer,$e=X.empty,ot=X.getTriggerDOMNode,_t=X.onPopupVisibleChange,bt=X.onPopupMouseEnter,on=(0,p.Z)(X,W),wt="".concat(Se,"-dropdown"),Et=Fe;ve&&(Et=ve(Fe));var Mt=s.useMemo(function(){return ce||Q(he)},[ce,he]),Ht=nt?"".concat(wt,"-").concat(nt):We,zt=typeof he=="number",xt=s.useMemo(function(){return zt?null:he===!1?"minWidth":"width"},[he,zt]),Pt=et;zt&&(Pt=(0,Y.Z)((0,Y.Z)({},Pt),{},{width:he}));var tt=s.useRef(null);return s.useImperativeHandle(Ke,function(){return{getPopupElement:function(){var ht;return(ht=tt.current)===null||ht===void 0?void 0:ht.popupElement}}}),s.createElement(re.Z,(0,N.Z)({},on,{showAction:_t?["click"]:[],hideAction:_t?["click"]:[],popupPlacement:H||(Ie==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Mt,prefixCls:wt,popupTransitionName:Ht,popup:s.createElement("div",{onMouseEnter:bt},Et),ref:tt,stretch:xt,popupAlign:Pe,popupVisible:Ge,getPopupContainer:Ue,popupClassName:t()(lt,(0,K.Z)({},"".concat(wt,"-empty"),$e)),popupStyle:Pt,getTriggerDOMNode:ot,onPopupVisibleChange:_t}),Be)},B=s.forwardRef(c),q=B,C=u(66712);function v(J,X){var Ke=J.key,Se;return"value"in J&&(Se=J.value),Ke!=null?Ke:Se!==void 0?Se:"rc-index-key-".concat(X)}function F(J){return typeof J!="undefined"&&!Number.isNaN(J)}function ee(J,X){var Ke=J||{},Se=Ke.label,ze=Ke.value,Ge=Ke.options,Be=Ke.groupLabel,Fe=Se||(X?"children":"label");return{label:Fe,value:ze||"value",options:Ge||"options",groupLabel:Be||Fe}}function Z(J){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ke=X.fieldNames,Se=X.childrenAsData,ze=[],Ge=ee(Ke,!1),Be=Ge.label,Fe=Ge.value,nt=Ge.options,We=Ge.groupLabel;function et(lt,Qe){Array.isArray(lt)&&lt.forEach(function(Ie){if(Qe||!(nt in Ie)){var H=Ie[Fe];ze.push({key:v(Ie,ze.length),groupOption:Qe,data:Ie,label:Ie[Be],value:H})}else{var ce=Ie[We];ce===void 0&&Se&&(ce=Ie.label),ze.push({key:v(Ie,ze.length),group:!0,data:Ie,label:ce}),et(Ie[nt],!0)}})}return et(J,!1),ze}function V(J){var X=(0,Y.Z)({},J);return"props"in X||Object.defineProperty(X,"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`."),X}}),X}var z=function(X,Ke,Se){if(!Ke||!Ke.length)return null;var ze=!1,Ge=function Fe(nt,We){var et=(0,C.Z)(We),lt=et[0],Qe=et.slice(1);if(!lt)return[nt];var Ie=nt.split(lt);return ze=ze||Ie.length>1,Ie.reduce(function(H,ce){return[].concat((0,O.Z)(H),(0,O.Z)(Fe(ce,Qe)))},[]).filter(Boolean)},Be=Ge(X,Ke);return ze?typeof Se!="undefined"?Be.slice(0,Se):Be:null},fe=s.createContext(null),se=fe;function Ce(J){var X=J.visible,Ke=J.values;if(!X)return null;var Se=50;return s.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Ke.slice(0,Se).map(function(ze){var Ge=ze.label,Be=ze.value;return["number","string"].includes((0,U.Z)(Ge))?Ge:Be}).join(", ")),Ke.length>Se?", ...":null)}var Ae=["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"],Xe=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],Le=function(X){return X==="tags"||X==="multiple"},Me=s.forwardRef(function(J,X){var Ke,Se=J.id,ze=J.prefixCls,Ge=J.className,Be=J.showSearch,Fe=J.tagRender,nt=J.direction,We=J.omitDomProps,et=J.displayValues,lt=J.onDisplayValuesChange,Qe=J.emptyOptions,Ie=J.notFoundContent,H=Ie===void 0?"Not Found":Ie,ce=J.onClear,he=J.mode,ve=J.disabled,Pe=J.loading,Ue=J.getInputElement,$e=J.getRawInputElement,ot=J.open,_t=J.defaultOpen,bt=J.onDropdownVisibleChange,on=J.activeValue,wt=J.onActiveValueChange,Et=J.activeDescendantId,Mt=J.searchValue,Ht=J.autoClearSearchValue,zt=J.onSearch,xt=J.onSearchSplit,Pt=J.tokenSeparators,tt=J.allowClear,ut=J.prefix,ht=J.suffixIcon,$t=J.clearIcon,kt=J.OptionList,jt=J.animation,On=J.transitionName,T=J.dropdownStyle,ae=J.dropdownClassName,te=J.dropdownMatchSelectWidth,ie=J.dropdownRender,_e=J.dropdownAlign,ye=J.placement,Ne=J.builtinPlacements,Re=J.getPopupContainer,be=J.showAction,ne=be===void 0?[]:be,oe=J.onFocus,de=J.onBlur,me=J.onKeyUp,Ee=J.onKeyDown,Ve=J.onMouseDown,ct=(0,p.Z)(J,Ae),rt=Le(he),Nt=(Be!==void 0?Be:rt)||he==="combobox",Bt=(0,Y.Z)({},ct);Xe.forEach(function(Dn){delete Bt[Dn]}),We==null||We.forEach(function(Dn){delete Bt[Dn]});var Ot=s.useState(!1),Yt=(0,j.Z)(Ot,2),pt=Yt[0],hn=Yt[1];s.useEffect(function(){hn((0,a.Z)())},[]);var rn=s.useRef(null),_n=s.useRef(null),Gt=s.useRef(null),tn=s.useRef(null),vn=s.useRef(null),an=s.useRef(!1),cn=f(),It=(0,j.Z)(cn,3),vt=It[0],Dt=It[1],Xt=It[2];s.useImperativeHandle(X,function(){var Dn,Sn;return{focus:(Dn=tn.current)===null||Dn===void 0?void 0:Dn.focus,blur:(Sn=tn.current)===null||Sn===void 0?void 0:Sn.blur,scrollTo:function(Qn){var er;return(er=vn.current)===null||er===void 0?void 0:er.scrollTo(Qn)},nativeElement:rn.current||_n.current}});var fn=s.useMemo(function(){var Dn;if(he!=="combobox")return Mt;var Sn=(Dn=et[0])===null||Dn===void 0?void 0:Dn.value;return typeof Sn=="string"||typeof Sn=="number"?String(Sn):""},[Mt,he,et]),sn=he==="combobox"&&typeof Ue=="function"&&Ue()||null,ln=typeof $e=="function"&&$e(),Un=(0,o.x1)(_n,ln==null||(Ke=ln.props)===null||Ke===void 0?void 0:Ke.ref),Xn=s.useState(!1),$n=(0,j.Z)(Xn,2),or=$n[0],ir=$n[1];(0,r.Z)(function(){ir(!0)},[]);var qn=(0,$.Z)(!1,{defaultValue:_t,value:ot}),gn=(0,j.Z)(qn,2),kn=gn[0],Gn=gn[1],xn=or?kn:!1,yn=!H&&Qe;(ve||yn&&xn&&he==="combobox")&&(xn=!1);var Cn=yn?!1:xn,Ct=s.useCallback(function(Dn){var Sn=Dn!==void 0?Dn:!xn;ve||(Gn(Sn),xn!==Sn&&(bt==null||bt(Sn)))},[ve,xn,Gn,bt]),Jt=s.useMemo(function(){return(Pt||[]).some(function(Dn){return[`
`,`\r
`].includes(Dn)})},[Pt]),qt=s.useContext(se)||{},nn=qt.maxCount,Pn=qt.rawValues,Zn=function(Sn,nr,Qn){if(!(rt&&F(nn)&&(Pn==null?void 0:Pn.size)>=nn)){var er=!0,rr=Sn;wt==null||wt(null);var yr=z(Sn,Pt,F(nn)?nn-Pn.size:void 0),gr=Qn?null:yr;return he!=="combobox"&&gr&&(rr="",xt==null||xt(gr),Ct(!1),er=!1),zt&&fn!==rr&&zt(rr,{source:nr?"typing":"effect"}),er}},ar=function(Sn){!Sn||!Sn.trim()||zt(Sn,{source:"submit"})};s.useEffect(function(){!xn&&!rt&&he!=="combobox"&&Zn("",!1,!1)},[xn]),s.useEffect(function(){kn&&ve&&Gn(!1),ve&&!an.current&&Dt(!1)},[ve]);var gt=l(),Wt=(0,j.Z)(gt,2),Zt=Wt[0],Mn=Wt[1],zn=s.useRef(!1),Hn=function(Sn){var nr=Zt(),Qn=Sn.key,er=Qn==="Enter";if(er&&(he!=="combobox"&&Sn.preventDefault(),xn||Ct(!0)),Mn(!!fn),Qn==="Backspace"&&!nr&&rt&&!fn&&et.length){for(var rr=(0,O.Z)(et),yr=null,gr=rr.length-1;gr>=0;gr-=1){var xr=rr[gr];if(!xr.disabled){rr.splice(gr,1),yr=xr;break}}yr&&lt(rr,{type:"remove",values:[yr]})}for(var sr=arguments.length,mr=new Array(sr>1?sr-1:0),Rr=1;Rr<sr;Rr++)mr[Rr-1]=arguments[Rr];if(xn&&(!er||!zn.current)){var Er;er&&(zn.current=!0),(Er=vn.current)===null||Er===void 0||Er.onKeyDown.apply(Er,[Sn].concat(mr))}Ee==null||Ee.apply(void 0,[Sn].concat(mr))},cr=function(Sn){for(var nr=arguments.length,Qn=new Array(nr>1?nr-1:0),er=1;er<nr;er++)Qn[er-1]=arguments[er];if(xn){var rr;(rr=vn.current)===null||rr===void 0||rr.onKeyUp.apply(rr,[Sn].concat(Qn))}Sn.key==="Enter"&&(zn.current=!1),me==null||me.apply(void 0,[Sn].concat(Qn))},dr=function(Sn){var nr=et.filter(function(Qn){return Qn!==Sn});lt(nr,{type:"remove",values:[Sn]})},lr=function(){zn.current=!1},Jn=s.useRef(!1),Fr=function(){Dt(!0),ve||(oe&&!Jn.current&&oe.apply(void 0,arguments),ne.includes("focus")&&Ct(!0)),Jn.current=!0},Br=function(){an.current=!0,Dt(!1,function(){Jn.current=!1,an.current=!1,Ct(!1)}),!ve&&(fn&&(he==="tags"?zt(fn,{source:"submit"}):he==="multiple"&&zt("",{source:"blur"})),de&&de.apply(void 0,arguments))},Sr=[];s.useEffect(function(){return function(){Sr.forEach(function(Dn){return clearTimeout(Dn)}),Sr.splice(0,Sr.length)}},[]);var Tr=function(Sn){var nr,Qn=Sn.target,er=(nr=Gt.current)===null||nr===void 0?void 0:nr.getPopupElement();if(er&&er.contains(Qn)){var rr=setTimeout(function(){var sr=Sr.indexOf(rr);if(sr!==-1&&Sr.splice(sr,1),Xt(),!pt&&!er.contains(document.activeElement)){var mr;(mr=tn.current)===null||mr===void 0||mr.focus()}});Sr.push(rr)}for(var yr=arguments.length,gr=new Array(yr>1?yr-1:0),xr=1;xr<yr;xr++)gr[xr-1]=arguments[xr];Ve==null||Ve.apply(void 0,[Sn].concat(gr))},Nr=s.useState({}),Or=(0,j.Z)(Nr,2),Ar=Or[1];function br(){Ar({})}var Mr;ln&&(Mr=function(Sn){Ct(Sn)}),P(function(){var Dn;return[rn.current,(Dn=Gt.current)===null||Dn===void 0?void 0:Dn.getPopupElement()]},Cn,Ct,!!ln);var Pr=s.useMemo(function(){return(0,Y.Z)((0,Y.Z)({},J),{},{notFoundContent:H,open:xn,triggerOpen:Cn,id:Se,showSearch:Nt,multiple:rt,toggleOpen:Ct})},[J,H,Cn,xn,Se,Nt,rt,Ct]),zr=!!ht||Pe,kr;zr&&(kr=s.createElement(E,{className:t()("".concat(ze,"-arrow"),(0,K.Z)({},"".concat(ze,"-arrow-loading"),Pe)),customizeIcon:ht,customizeIconProps:{loading:Pe,searchValue:fn,open:xn,focused:vt,showSearch:Nt}}));var $r=function(){var Sn;ce==null||ce(),(Sn=tn.current)===null||Sn===void 0||Sn.focus(),lt([],{type:"clear",values:et}),Zn("",!1,!1)},Ir=S(ze,$r,et,tt,$t,ve,fn,he),Gr=Ir.allowClear,jr=Ir.clearIcon,Wr=s.createElement(kt,{ref:vn}),Dr=t()(ze,Ge,(0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)({},"".concat(ze,"-focused"),vt),"".concat(ze,"-multiple"),rt),"".concat(ze,"-single"),!rt),"".concat(ze,"-allow-clear"),tt),"".concat(ze,"-show-arrow"),zr),"".concat(ze,"-disabled"),ve),"".concat(ze,"-loading"),Pe),"".concat(ze,"-open"),xn),"".concat(ze,"-customize-input"),sn),"".concat(ze,"-show-search"),Nt)),hr=s.createElement(q,{ref:Gt,disabled:ve,prefixCls:ze,visible:Cn,popupElement:Wr,animation:jt,transitionName:On,dropdownStyle:T,dropdownClassName:ae,direction:nt,dropdownMatchSelectWidth:te,dropdownRender:ie,dropdownAlign:_e,placement:ye,builtinPlacements:Ne,getPopupContainer:Re,empty:Qe,getTriggerDOMNode:function(Sn){return _n.current||Sn},onPopupVisibleChange:Mr,onPopupMouseEnter:br},ln?s.cloneElement(ln,{ref:Un}):s.createElement(ue,(0,N.Z)({},J,{domRef:_n,prefixCls:ze,inputElement:sn,ref:tn,id:Se,prefix:ut,showSearch:Nt,autoClearSearchValue:Ht,mode:he,activeDescendantId:Et,tagRender:Fe,values:et,open:xn,onToggleOpen:Ct,activeValue:on,searchValue:fn,onSearch:Zn,onSearchSubmit:ar,onRemove:dr,tokenWithEnter:Jt,onInputBlur:lr}))),ur;return ln?ur=hr:ur=s.createElement("div",(0,N.Z)({className:Dr},Bt,{ref:rn,onMouseDown:Tr,onKeyDown:Hn,onKeyUp:cr,onFocus:Fr,onBlur:Br}),s.createElement(Ce,{visible:vt&&!xn,values:et}),hr,kr,Gr&&jr),s.createElement(_.Provider,{value:Pr},ur)}),ke=Me,st=function(){return null};st.isSelectOptGroup=!0;var Je=st,He=function(){return null};He.isSelectOption=!0;var Kt=He,St=u(80547),De=u(2738),Vt=u(6790);function dn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Rt=["disabled","title","children","style","className"];function dt(J){return typeof J=="string"||typeof J=="number"}var Ft=function(X,Ke){var Se=m(),ze=Se.prefixCls,Ge=Se.id,Be=Se.open,Fe=Se.multiple,nt=Se.mode,We=Se.searchValue,et=Se.toggleOpen,lt=Se.notFoundContent,Qe=Se.onPopupScroll,Ie=s.useContext(se),H=Ie.maxCount,ce=Ie.flattenOptions,he=Ie.onActiveValue,ve=Ie.defaultActiveFirstOption,Pe=Ie.onSelect,Ue=Ie.menuItemSelectedIcon,$e=Ie.rawValues,ot=Ie.fieldNames,_t=Ie.virtual,bt=Ie.direction,on=Ie.listHeight,wt=Ie.listItemHeight,Et=Ie.optionRender,Mt="".concat(ze,"-item"),Ht=(0,St.Z)(function(){return ce},[Be,ce],function(be,ne){return ne[0]&&be[1]!==ne[1]}),zt=s.useRef(null),xt=s.useMemo(function(){return Fe&&F(H)&&($e==null?void 0:$e.size)>=H},[Fe,H,$e==null?void 0:$e.size]),Pt=function(ne){ne.preventDefault()},tt=function(ne){var oe;(oe=zt.current)===null||oe===void 0||oe.scrollTo(typeof ne=="number"?{index:ne}:ne)},ut=s.useCallback(function(be){return nt==="combobox"?!1:$e.has(be)},[nt,(0,O.Z)($e).toString(),$e.size]),ht=function(ne){for(var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,de=Ht.length,me=0;me<de;me+=1){var Ee=(ne+me*oe+de)%de,Ve=Ht[Ee]||{},ct=Ve.group,rt=Ve.data;if(!ct&&!(rt!=null&&rt.disabled)&&(ut(rt.value)||!xt))return Ee}return-1},$t=s.useState(function(){return ht(0)}),kt=(0,j.Z)($t,2),jt=kt[0],On=kt[1],T=function(ne){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;On(ne);var de={source:oe?"keyboard":"mouse"},me=Ht[ne];if(!me){he(null,-1,de);return}he(me.value,ne,de)};(0,s.useEffect)(function(){T(ve!==!1?ht(0):-1)},[Ht.length,We]);var ae=s.useCallback(function(be){return nt==="combobox"?String(be).toLowerCase()===We.toLowerCase():$e.has(be)},[nt,We,(0,O.Z)($e).toString(),$e.size]);(0,s.useEffect)(function(){var be=setTimeout(function(){if(!Fe&&Be&&$e.size===1){var oe=Array.from($e)[0],de=Ht.findIndex(function(me){var Ee=me.data;return We?String(Ee.value).startsWith(We):Ee.value===oe});de!==-1&&(T(de),tt(de))}});if(Be){var ne;(ne=zt.current)===null||ne===void 0||ne.scrollTo(void 0)}return function(){return clearTimeout(be)}},[Be,We]);var te=function(ne){ne!==void 0&&Pe(ne,{selected:!$e.has(ne)}),Fe||et(!1)};if(s.useImperativeHandle(Ke,function(){return{onKeyDown:function(ne){var oe=ne.which,de=ne.ctrlKey;switch(oe){case k.Z.N:case k.Z.P:case k.Z.UP:case k.Z.DOWN:{var me=0;if(oe===k.Z.UP?me=-1:oe===k.Z.DOWN?me=1:dn()&&de&&(oe===k.Z.N?me=1:oe===k.Z.P&&(me=-1)),me!==0){var Ee=ht(jt+me,me);tt(Ee),T(Ee,!0)}break}case k.Z.TAB:case k.Z.ENTER:{var Ve,ct=Ht[jt];ct&&!(ct!=null&&(Ve=ct.data)!==null&&Ve!==void 0&&Ve.disabled)&&!xt?te(ct.value):te(void 0),Be&&ne.preventDefault();break}case k.Z.ESC:et(!1),Be&&ne.stopPropagation()}},onKeyUp:function(){},scrollTo:function(ne){tt(ne)}}}),Ht.length===0)return s.createElement("div",{role:"listbox",id:"".concat(Ge,"_list"),className:"".concat(Mt,"-empty"),onMouseDown:Pt},lt);var ie=Object.keys(ot).map(function(be){return ot[be]}),_e=function(ne){return ne.label};function ye(be,ne){var oe=be.group;return{role:oe?"presentation":"option",id:"".concat(Ge,"_list_").concat(ne)}}var Ne=function(ne){var oe=Ht[ne];if(!oe)return null;var de=oe.data||{},me=de.value,Ee=oe.group,Ve=(0,I.Z)(de,!0),ct=_e(oe);return oe?s.createElement("div",(0,N.Z)({"aria-label":typeof ct=="string"&&!Ee?ct:null},Ve,{key:ne},ye(oe,ne),{"aria-selected":ae(me)}),me):null},Re={role:"listbox",id:"".concat(Ge,"_list")};return s.createElement(s.Fragment,null,_t&&s.createElement("div",(0,N.Z)({},Re,{style:{height:0,width:0,overflow:"hidden"}}),Ne(jt-1),Ne(jt),Ne(jt+1)),s.createElement(Vt.Z,{itemKey:"key",ref:zt,data:Ht,height:on,itemHeight:wt,fullHeight:!1,onMouseDown:Pt,onScroll:Qe,virtual:_t,direction:bt,innerProps:_t?null:Re},function(be,ne){var oe=be.group,de=be.groupOption,me=be.data,Ee=be.label,Ve=be.value,ct=me.key;if(oe){var rt,Nt=(rt=me.title)!==null&&rt!==void 0?rt:dt(Ee)?Ee.toString():void 0;return s.createElement("div",{className:t()(Mt,"".concat(Mt,"-group"),me.className),title:Nt},Ee!==void 0?Ee:ct)}var Bt=me.disabled,Ot=me.title,Yt=me.children,pt=me.style,hn=me.className,rn=(0,p.Z)(me,Rt),_n=(0,De.Z)(rn,ie),Gt=ut(Ve),tn=Bt||!Gt&&xt,vn="".concat(Mt,"-option"),an=t()(Mt,vn,hn,(0,K.Z)((0,K.Z)((0,K.Z)((0,K.Z)({},"".concat(vn,"-grouped"),de),"".concat(vn,"-active"),jt===ne&&!tn),"".concat(vn,"-disabled"),tn),"".concat(vn,"-selected"),Gt)),cn=_e(be),It=!Ue||typeof Ue=="function"||Gt,vt=typeof cn=="number"?cn:cn||Ve,Dt=dt(vt)?vt.toString():void 0;return Ot!==void 0&&(Dt=Ot),s.createElement("div",(0,N.Z)({},(0,I.Z)(_n),_t?{}:ye(be,ne),{"aria-selected":ae(Ve),className:an,title:Dt,onMouseMove:function(){jt===ne||tn||T(ne)},onClick:function(){tn||te(Ve)},style:pt}),s.createElement("div",{className:"".concat(vn,"-content")},typeof Et=="function"?Et(be,{index:ne}):vt),s.isValidElement(Ue)||Gt,It&&s.createElement(E,{className:"".concat(Mt,"-option-state"),customizeIcon:Ue,customizeIconProps:{value:Ve,disabled:tn,isSelected:Gt}},Gt?"\u2713":null))}))},un=s.forwardRef(Ft),Ut=un,mt=function(J,X){var Ke=s.useRef({values:new Map,options:new Map}),Se=s.useMemo(function(){var Ge=Ke.current,Be=Ge.values,Fe=Ge.options,nt=J.map(function(lt){if(lt.label===void 0){var Qe;return(0,Y.Z)((0,Y.Z)({},lt),{},{label:(Qe=Be.get(lt.value))===null||Qe===void 0?void 0:Qe.label})}return lt}),We=new Map,et=new Map;return nt.forEach(function(lt){We.set(lt.value,lt),et.set(lt.value,X.get(lt.value)||Fe.get(lt.value))}),Ke.current.values=We,Ke.current.options=et,nt},[J,X]),ze=s.useCallback(function(Ge){return X.get(Ge)||Ke.current.options.get(Ge)},[X]);return[Se,ze]};function Qt(J,X){return D(J).join("").toUpperCase().includes(X)}var bn=function(J,X,Ke,Se,ze){return s.useMemo(function(){if(!Ke||Se===!1)return J;var Ge=X.options,Be=X.label,Fe=X.value,nt=[],We=typeof Se=="function",et=Ke.toUpperCase(),lt=We?Se:function(Ie,H){return ze?Qt(H[ze],et):H[Ge]?Qt(H[Be!=="children"?Be:"label"],et):Qt(H[Fe],et)},Qe=We?function(Ie){return V(Ie)}:function(Ie){return Ie};return J.forEach(function(Ie){if(Ie[Ge]){var H=lt(Ke,Qe(Ie));if(H)nt.push(Ie);else{var ce=Ie[Ge].filter(function(he){return lt(Ke,Qe(he))});ce.length&&nt.push((0,Y.Z)((0,Y.Z)({},Ie),{},(0,K.Z)({},Ge,ce)))}return}lt(Ke,Qe(Ie))&&nt.push(Ie)}),nt},[J,Se,ze,Ke,X])},Tt=u(6551),ft=u(11592),yt=["children","value"],Bn=["children"];function mn(J){var X=J,Ke=X.key,Se=X.props,ze=Se.children,Ge=Se.value,Be=(0,p.Z)(Se,yt);return(0,Y.Z)({key:Ke,value:Ge!==void 0?Ge:Ke,children:ze},Be)}function Ln(J){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,ft.Z)(J).map(function(Ke,Se){if(!s.isValidElement(Ke)||!Ke.type)return null;var ze=Ke,Ge=ze.type.isSelectOptGroup,Be=ze.key,Fe=ze.props,nt=Fe.children,We=(0,p.Z)(Fe,Bn);return X||!Ge?mn(Ke):(0,Y.Z)((0,Y.Z)({key:"__RC_SELECT_GRP__".concat(Be===null?Se:Be,"__"),label:Be},We),{},{options:Ln(nt)})}).filter(function(Ke){return Ke})}var Wn=function(X,Ke,Se,ze,Ge){return s.useMemo(function(){var Be=X,Fe=!X;Fe&&(Be=Ln(Ke));var nt=new Map,We=new Map,et=function(Ie,H,ce){ce&&typeof ce=="string"&&Ie.set(H[ce],H)},lt=function Qe(Ie){for(var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ce=0;ce<Ie.length;ce+=1){var he=Ie[ce];!he[Se.options]||H?(nt.set(he[Se.value],he),et(We,he,Se.label),et(We,he,ze),et(We,he,Ge)):Qe(he[Se.options],!0)}};return lt(Be),{options:Be,valueOptions:nt,labelOptions:We}},[X,Ke,Se,ze,Ge])},wn=Wn;function Rn(J){var X=s.useRef();X.current=J;var Ke=s.useCallback(function(){return X.current.apply(X,arguments)},[]);return Ke}function Kn(J){var X=J.mode,Ke=J.options,Se=J.children,ze=J.backfill,Ge=J.allowClear,Be=J.placeholder,Fe=J.getInputElement,nt=J.showSearch,We=J.onSearch,et=J.defaultOpen,lt=J.autoFocus,Qe=J.labelInValue,Ie=J.value,H=J.inputValue,ce=J.optionLabelProp,he=isMultiple(X),ve=nt!==void 0?nt:he||X==="combobox",Pe=Ke||convertChildrenToData(Se);if(warning(X!=="tags"||Pe.every(function(_t){return!_t.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),X==="tags"||X==="combobox"){var Ue=Pe.some(function(_t){return _t.options?_t.options.some(function(bt){return typeof("value"in bt?bt.value:bt.key)=="number"}):typeof("value"in _t?_t.value:_t.key)=="number"});warning(!Ue,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(X!=="combobox"||!ce,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(X==="combobox"||!ze,"`backfill` only works with `combobox` mode."),warning(X==="combobox"||!Fe,"`getInputElement` only work with `combobox` mode."),noteOnce(X!=="combobox"||!Fe||!Ge||!Be,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),We&&!ve&&X!=="combobox"&&X!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!et||lt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Ie!=null){var $e=toArray(Ie);warning(!Qe||$e.every(function(_t){return _typeof(_t)==="object"&&("key"in _t||"value"in _t)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!he||Array.isArray(Ie),"`value` should be array when `mode` is `multiple` or `tags`")}if(Se){var ot=null;toNodeArray(Se).some(function(_t){if(!React.isValidElement(_t)||!_t.type)return!1;var bt=_t,on=bt.type;if(on.isSelectOption)return!1;if(on.isSelectOptGroup){var wt=toNodeArray(_t.props.children).every(function(Et){return!React.isValidElement(Et)||!_t.type||Et.type.isSelectOption?!0:(ot=Et.type,!1)});return!wt}return ot=on,!0}),ot&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ot.displayName||ot.name||ot,"`.")),warning(H===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Nn(J,X){if(J){var Ke=function Se(ze){for(var Ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Be=0;Be<ze.length;Be++){var Fe=ze[Be];if(Fe[X==null?void 0:X.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ge&&Array.isArray(Fe[X==null?void 0:X.options])&&Se(Fe[X==null?void 0:X.options],!0))break}};Ke(J)}}var In=null,En=["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"],Tn=["inputValue"];function at(J){return!J||(0,U.Z)(J)!=="object"}var it=s.forwardRef(function(J,X){var Ke=J.id,Se=J.mode,ze=J.prefixCls,Ge=ze===void 0?"rc-select":ze,Be=J.backfill,Fe=J.fieldNames,nt=J.inputValue,We=J.searchValue,et=J.onSearch,lt=J.autoClearSearchValue,Qe=lt===void 0?!0:lt,Ie=J.onSelect,H=J.onDeselect,ce=J.dropdownMatchSelectWidth,he=ce===void 0?!0:ce,ve=J.filterOption,Pe=J.filterSort,Ue=J.optionFilterProp,$e=J.optionLabelProp,ot=J.options,_t=J.optionRender,bt=J.children,on=J.defaultActiveFirstOption,wt=J.menuItemSelectedIcon,Et=J.virtual,Mt=J.direction,Ht=J.listHeight,zt=Ht===void 0?200:Ht,xt=J.listItemHeight,Pt=xt===void 0?20:xt,tt=J.labelRender,ut=J.value,ht=J.defaultValue,$t=J.labelInValue,kt=J.onChange,jt=J.maxCount,On=(0,p.Z)(J,En),T=(0,Tt.ZP)(Ke),ae=Le(Se),te=!!(!ot&&bt),ie=s.useMemo(function(){return ve===void 0&&Se==="combobox"?!1:ve},[ve,Se]),_e=s.useMemo(function(){return ee(Fe,te)},[JSON.stringify(Fe),te]),ye=(0,$.Z)("",{value:We!==void 0?We:nt,postState:function(Jt){return Jt||""}}),Ne=(0,j.Z)(ye,2),Re=Ne[0],be=Ne[1],ne=wn(ot,bt,_e,Ue,$e),oe=ne.valueOptions,de=ne.labelOptions,me=ne.options,Ee=s.useCallback(function(Ct){var Jt=D(Ct);return Jt.map(function(qt){var nn,Pn,Zn,ar,gt;if(at(qt))nn=qt;else{var Wt;Zn=qt.key,Pn=qt.label,nn=(Wt=qt.value)!==null&&Wt!==void 0?Wt:Zn}var Zt=oe.get(nn);if(Zt){var Mn;if(Pn===void 0&&(Pn=Zt==null?void 0:Zt[$e||_e.label]),Zn===void 0&&(Zn=(Mn=Zt==null?void 0:Zt.key)!==null&&Mn!==void 0?Mn:nn),ar=Zt==null?void 0:Zt.disabled,gt=Zt==null?void 0:Zt.title,0)var zn}return{label:Pn,value:nn,key:Zn,disabled:ar,title:gt}})},[_e,$e,oe]),Ve=(0,$.Z)(ht,{value:ut}),ct=(0,j.Z)(Ve,2),rt=ct[0],Nt=ct[1],Bt=s.useMemo(function(){var Ct,Jt=ae&&rt===null?[]:rt,qt=Ee(Jt);return Se==="combobox"&&y((Ct=qt[0])===null||Ct===void 0?void 0:Ct.value)?[]:qt},[rt,Ee,Se,ae]),Ot=mt(Bt,oe),Yt=(0,j.Z)(Ot,2),pt=Yt[0],hn=Yt[1],rn=s.useMemo(function(){if(!Se&&pt.length===1){var Ct=pt[0];if(Ct.value===null&&(Ct.label===null||Ct.label===void 0))return[]}return pt.map(function(Jt){var qt;return(0,Y.Z)((0,Y.Z)({},Jt),{},{label:(qt=typeof tt=="function"?tt(Jt):Jt.label)!==null&&qt!==void 0?qt:Jt.value})})},[Se,pt,tt]),_n=s.useMemo(function(){return new Set(pt.map(function(Ct){return Ct.value}))},[pt]);s.useEffect(function(){if(Se==="combobox"){var Ct,Jt=(Ct=pt[0])===null||Ct===void 0?void 0:Ct.value;be(i(Jt)?String(Jt):"")}},[pt]);var Gt=Rn(function(Ct,Jt){var qt=Jt!=null?Jt:Ct;return(0,K.Z)((0,K.Z)({},_e.value,Ct),_e.label,qt)}),tn=s.useMemo(function(){if(Se!=="tags")return me;var Ct=(0,O.Z)(me),Jt=function(nn){return oe.has(nn)};return(0,O.Z)(pt).sort(function(qt,nn){return qt.value<nn.value?-1:1}).forEach(function(qt){var nn=qt.value;Jt(nn)||Ct.push(Gt(nn,qt.label))}),Ct},[Gt,me,oe,pt,Se]),vn=bn(tn,_e,Re,ie,Ue),an=s.useMemo(function(){return Se!=="tags"||!Re||vn.some(function(Ct){return Ct[Ue||"value"]===Re})||vn.some(function(Ct){return Ct[_e.value]===Re})?vn:[Gt(Re)].concat((0,O.Z)(vn))},[Gt,Ue,Se,vn,Re,_e]),cn=function Ct(Jt){var qt=(0,O.Z)(Jt).sort(function(nn,Pn){return Pe(nn,Pn,{searchValue:Re})});return qt.map(function(nn){return Array.isArray(nn.options)?(0,Y.Z)((0,Y.Z)({},nn),{},{options:nn.options.length>0?Ct(nn.options):nn.options}):nn})},It=s.useMemo(function(){return Pe?cn(an):an},[an,Pe,Re]),vt=s.useMemo(function(){return Z(It,{fieldNames:_e,childrenAsData:te})},[It,_e,te]),Dt=function(Jt){var qt=Ee(Jt);if(Nt(qt),kt&&(qt.length!==pt.length||qt.some(function(Zn,ar){var gt;return((gt=pt[ar])===null||gt===void 0?void 0:gt.value)!==(Zn==null?void 0:Zn.value)}))){var nn=$t?qt:qt.map(function(Zn){return Zn.value}),Pn=qt.map(function(Zn){return V(hn(Zn.value))});kt(ae?nn:nn[0],ae?Pn:Pn[0])}},Xt=s.useState(null),fn=(0,j.Z)(Xt,2),sn=fn[0],ln=fn[1],Un=s.useState(0),Xn=(0,j.Z)(Un,2),$n=Xn[0],or=Xn[1],ir=on!==void 0?on:Se!=="combobox",qn=s.useCallback(function(Ct,Jt){var qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},nn=qt.source,Pn=nn===void 0?"keyboard":nn;or(Jt),Be&&Se==="combobox"&&Ct!==null&&Pn==="keyboard"&&ln(String(Ct))},[Be,Se]),gn=function(Jt,qt,nn){var Pn=function(){var dr,lr=hn(Jt);return[$t?{label:lr==null?void 0:lr[_e.label],value:Jt,key:(dr=lr==null?void 0:lr.key)!==null&&dr!==void 0?dr:Jt}:Jt,V(lr)]};if(qt&&Ie){var Zn=Pn(),ar=(0,j.Z)(Zn,2),gt=ar[0],Wt=ar[1];Ie(gt,Wt)}else if(!qt&&H&&nn!=="clear"){var Zt=Pn(),Mn=(0,j.Z)(Zt,2),zn=Mn[0],Hn=Mn[1];H(zn,Hn)}},kn=Rn(function(Ct,Jt){var qt,nn=ae?Jt.selected:!0;nn?qt=ae?[].concat((0,O.Z)(pt),[Ct]):[Ct]:qt=pt.filter(function(Pn){return Pn.value!==Ct}),Dt(qt),gn(Ct,nn),Se==="combobox"?ln(""):(!Le||Qe)&&(be(""),ln(""))}),Gn=function(Jt,qt){Dt(Jt);var nn=qt.type,Pn=qt.values;(nn==="remove"||nn==="clear")&&Pn.forEach(function(Zn){gn(Zn.value,!1,nn)})},xn=function(Jt,qt){if(be(Jt),ln(null),qt.source==="submit"){var nn=(Jt||"").trim();if(nn){var Pn=Array.from(new Set([].concat((0,O.Z)(_n),[nn])));Dt(Pn),gn(nn,!0),be("")}return}qt.source!=="blur"&&(Se==="combobox"&&Dt(Jt),et==null||et(Jt))},yn=function(Jt){var qt=Jt;Se!=="tags"&&(qt=Jt.map(function(Pn){var Zn=de.get(Pn);return Zn==null?void 0:Zn.value}).filter(function(Pn){return Pn!==void 0}));var nn=Array.from(new Set([].concat((0,O.Z)(_n),(0,O.Z)(qt))));Dt(nn),nn.forEach(function(Pn){gn(Pn,!0)})},Cn=s.useMemo(function(){var Ct=Et!==!1&&he!==!1;return(0,Y.Z)((0,Y.Z)({},ne),{},{flattenOptions:vt,onActiveValue:qn,defaultActiveFirstOption:ir,onSelect:kn,menuItemSelectedIcon:wt,rawValues:_n,fieldNames:_e,virtual:Ct,direction:Mt,listHeight:zt,listItemHeight:Pt,childrenAsData:te,maxCount:jt,optionRender:_t})},[jt,ne,vt,qn,ir,kn,wt,_n,_e,Et,he,Mt,zt,Pt,te,_t]);return s.createElement(se.Provider,{value:Cn},s.createElement(ke,(0,N.Z)({},On,{id:T,prefixCls:Ge,ref:X,omitDomProps:Tn,mode:Se,displayValues:rn,onDisplayValuesChange:Gn,direction:Mt,searchValue:Re,onSearch:xn,autoClearSearchValue:Qe,onSearchSplit:yn,dropdownMatchSelectWidth:he,OptionList:Ut,emptyOptions:!vt.length,activeValue:sn,activeDescendantId:"".concat(T,"_list_").concat($n)})))}),en=it;en.Option=Kt,en.OptGroup=Je;var pn=en,An=pn},86351:function(Lt,Te,u){"use strict";u.d(Te,{R:function(){return O},w:function(){return N}});var N={},O="rc-table-internal-hook"},97347:function(Lt,Te,u){"use strict";u.d(Te,{L:function(){return g},Z:function(){return f}});var N=u(42978),O=u(20068),K=u(94480),Y=u(76190),j=u(33885),p=u(75931),U=u(11592),$=u(48736),e=u(59301),s=u(86351),d=u(54451);function t(l){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof P=="number"?P:P.endsWith("%")?l*parseFloat(P)/100:null}function r(l,P,k){return e.useMemo(function(){if(P&&P>0){var M=0,I=0;l.forEach(function(D){var x=t(P,D.width);x?M+=x:I+=1});var G=Math.max(P,k),L=Math.max(G-M,I),ge=I,b=L/I,h=0,w=l.map(function(D){var x=(0,j.Z)({},D),n=t(P,x.width);if(n)x.width=n;else{var i=Math.floor(b);x.width=ge===1?L:i,L-=i,ge-=1}return h+=x.width,x});if(h<G){var R=G/h;L=G,w.forEach(function(D,x){var n=Math.floor(D.width*R);D.width=x===w.length-1?L:n,L-=n})}return[w,Math.max(h,G)]}return[l,P]},[l,P,k])}var a=["children"],o=["fixed"];function g(l){return(0,U.Z)(l).filter(function(P){return e.isValidElement(P)}).map(function(P){var k=P.key,M=P.props,I=M.children,G=(0,p.Z)(M,a),L=(0,j.Z)({key:k},G);return I&&(L.children=g(I)),L})}function E(l){return l.filter(function(P){return P&&(0,Y.Z)(P)==="object"&&!P.hidden}).map(function(P){var k=P.children;return k&&k.length>0?(0,j.Z)((0,j.Z)({},P),{},{children:E(k)}):P})}function S(l){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return l.filter(function(k){return k&&(0,Y.Z)(k)==="object"}).reduce(function(k,M,I){var G=M.fixed,L=G===!0?"left":G,ge="".concat(P,"-").concat(I),b=M.children;return b&&b.length>0?[].concat((0,K.Z)(k),(0,K.Z)(S(b,ge).map(function(h){return(0,j.Z)({fixed:L},h)}))):[].concat((0,K.Z)(k),[(0,j.Z)((0,j.Z)({key:ge},M),{},{fixed:L})])},[])}function _(l){return l.map(function(P){var k=P.fixed,M=(0,p.Z)(P,o),I=k;return k==="left"?I="right":k==="right"&&(I="left"),(0,j.Z)({fixed:I},M)})}function m(l,P){var k=l.prefixCls,M=l.columns,I=l.children,G=l.expandable,L=l.expandedKeys,ge=l.columnTitle,b=l.getRowKey,h=l.onTriggerExpand,w=l.expandIcon,R=l.rowExpandable,D=l.expandIconColumnIndex,x=l.direction,n=l.expandRowByClick,i=l.columnWidth,y=l.fixed,A=l.scrollWidth,le=l.clientWidth,we=e.useMemo(function(){var ue=M||g(I)||[];return E(ue.slice())},[M,I]),Oe=e.useMemo(function(){if(G){var ue=we.slice();if(!ue.includes(s.w)){var re=D||0;re>=0&&(re||y==="left"||!y)&&ue.splice(re,0,s.w),y==="right"&&ue.splice(we.length,0,s.w)}var W=ue.indexOf(s.w);ue=ue.filter(function(q,C){return q!==s.w||C===W});var Q=we[W],c;y?c=y:c=Q?Q.fixed:null;var B=(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({},d.v,{className:"".concat(k,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",ge),"fixed",c),"className","".concat(k,"-row-expand-icon-cell")),"width",i),"render",function(C,v,F){var ee=b(v,F),Z=L.has(ee),V=R?R(v):!0,z=w({prefixCls:k,expanded:Z,expandable:V,record:v,onExpand:h});return n?e.createElement("span",{onClick:function(se){return se.stopPropagation()}},z):z});return ue.map(function(q){return q===s.w?B:q})}return we.filter(function(q){return q!==s.w})},[G,we,b,L,w,x]),je=e.useMemo(function(){var ue=Oe;return P&&(ue=P(ue)),ue.length||(ue=[{render:function(){return null}}]),ue},[P,Oe,x]),Ye=e.useMemo(function(){return x==="rtl"?_(S(je)):S(je)},[je,x,A]),At=e.useMemo(function(){for(var ue=-1,re=Ye.length-1;re>=0;re-=1){var W=Ye[re].fixed;if(W==="left"||W===!0){ue=re;break}}if(ue>=0)for(var Q=0;Q<=ue;Q+=1){var c=Ye[Q].fixed;if(c!=="left"&&c!==!0)return!0}var B=Ye.findIndex(function(v){var F=v.fixed;return F==="right"});if(B>=0)for(var q=B;q<Ye.length;q+=1){var C=Ye[q].fixed;if(C!=="right")return!0}return!1},[Ye]),xe=r(Ye,A,le),qe=(0,N.Z)(xe,2),Ze=qe[0],pe=qe[1];return[je,Ze,pe,At]}var f=m},4030:function(Lt,Te,u){"use strict";u.d(Te,{w2:function(){return N.w},vP:function(){return dt.v},RQ:function(){return N.R},ER:function(){return ee},Q$:function(){return ve},TN:function(){return kt}});var N=u(86351),O=u(42978),K=u(6089),Y=u(34280),j=u(13697),p=u(59301),U=u(4676);function $(T){var ae=p.createContext(void 0),te=function(_e){var ye=_e.value,Ne=_e.children,Re=p.useRef(ye);Re.current=ye;var be=p.useState(function(){return{getValue:function(){return Re.current},listeners:new Set}}),ne=(0,O.Z)(be,1),oe=ne[0];return(0,Y.Z)(function(){(0,U.unstable_batchedUpdates)(function(){oe.listeners.forEach(function(de){de(ye)})})},[ye]),p.createElement(ae.Provider,{value:oe},Ne)};return{Context:ae,Provider:te,defaultValue:T}}function e(T,ae){var te=(0,K.Z)(typeof ae=="function"?ae:function(de){if(ae===void 0)return de;if(!Array.isArray(ae))return de[ae];var me={};return ae.forEach(function(Ee){me[Ee]=de[Ee]}),me}),ie=p.useContext(T==null?void 0:T.Context),_e=ie||{},ye=_e.listeners,Ne=_e.getValue,Re=p.useRef();Re.current=te(ie?Ne():T==null?void 0:T.defaultValue);var be=p.useState({}),ne=(0,O.Z)(be,2),oe=ne[1];return(0,Y.Z)(function(){if(!ie)return;function de(me){var Ee=te(me);(0,j.Z)(Re.current,Ee,!0)||oe({})}return ye.add(de),function(){ye.delete(de)}},[ie]),Re.current}var s=u(54476),d=u(8654);function t(){var T=p.createContext(null);function ae(){return p.useContext(T)}function te(_e,ye){var Ne=(0,d.Yr)(_e),Re=function(ne,oe){var de=Ne?{ref:oe}:{},me=p.useRef(0),Ee=p.useRef(ne),Ve=ae();return Ve!==null?p.createElement(_e,(0,s.Z)({},ne,de)):((!ye||ye(Ee.current,ne))&&(me.current+=1),Ee.current=ne,p.createElement(T.Provider,{value:me.current},p.createElement(_e,(0,s.Z)({},ne,de))))};return Ne?p.forwardRef(Re):Re}function ie(_e,ye){var Ne=(0,d.Yr)(_e),Re=function(ne,oe){var de=Ne?{ref:oe}:{};return ae(),p.createElement(_e,(0,s.Z)({},ne,de))};return Ne?p.memo(p.forwardRef(Re),ye):p.memo(Re,ye)}return{makeImmutable:te,responseImmutable:ie,useImmutableMark:ae}}var r=t(),a=r.makeImmutable,o=r.responseImmutable,g=r.useImmutableMark,E=t(),S=E.makeImmutable,_=E.responseImmutable,m=E.useImmutableMark,f=$(),l=f;function P(T,ae){var te=React.useRef(0);te.current+=1;var ie=React.useRef(T),_e=[];Object.keys(T||{}).map(function(Ne){var Re;(T==null?void 0:T[Ne])!==((Re=ie.current)===null||Re===void 0?void 0:Re[Ne])&&_e.push(Ne)}),ie.current=T;var ye=React.useRef([]);return _e.length&&(ye.current=_e),React.useDebugValue(te.current),React.useDebugValue(ye.current.join(", ")),ae&&console.log("".concat(ae,":"),te.current,ye.current),te.current}var k=null,M=null,I=u(76190),G=u(33885),L=u(20068),ge=u(92310),b=u.n(ge),h=u(80547),w=u(97938),R=u(48736),D=p.createContext({renderWithProps:!1}),x=D,n="RC_TABLE_KEY";function i(T){return T==null?[]:Array.isArray(T)?T:[T]}function y(T){var ae=[],te={};return T.forEach(function(ie){for(var _e=ie||{},ye=_e.key,Ne=_e.dataIndex,Re=ye||i(Ne).join("-")||n;te[Re];)Re="".concat(Re,"_next");te[Re]=!0,ae.push(Re)}),ae}function A(T){return T!=null}function le(T){return typeof T=="number"&&!Number.isNaN(T)}function we(T){return T&&(0,I.Z)(T)==="object"&&!Array.isArray(T)&&!p.isValidElement(T)}function Oe(T,ae,te,ie,_e,ye){var Ne=p.useContext(x),Re=m(),be=(0,h.Z)(function(){if(A(ie))return[ie];var ne=ae==null||ae===""?[]:Array.isArray(ae)?ae:[ae],oe=(0,w.Z)(T,ne),de=oe,me=void 0;if(_e){var Ee=_e(oe,T,te);we(Ee)?(de=Ee.children,me=Ee.props,Ne.renderWithProps=!0):de=Ee}return[de,me]},[Re,T,ie,ae,_e,te],function(ne,oe){if(ye){var de=(0,O.Z)(ne,2),me=de[1],Ee=(0,O.Z)(oe,2),Ve=Ee[1];return ye(Ve,me)}return Ne.renderWithProps?!0:!(0,j.Z)(ne,oe,!0)});return be}function je(T,ae,te,ie){var _e=T+ae-1;return T<=ie&&_e>=te}function Ye(T,ae){return e(l,function(te){var ie=je(T,ae||1,te.hoverStartRow,te.hoverEndRow);return[ie,te.onHover]})}var At=u(70425),xe=function(ae){var te=ae.ellipsis,ie=ae.rowType,_e=ae.children,ye,Ne=te===!0?{showTitle:!0}:te;return Ne&&(Ne.showTitle||ie==="header")&&(typeof _e=="string"||typeof _e=="number"?ye=_e.toString():p.isValidElement(_e)&&typeof _e.props.children=="string"&&(ye=_e.props.children)),ye};function qe(T){var ae,te,ie,_e,ye,Ne,Re,be,ne=T.component,oe=T.children,de=T.ellipsis,me=T.scope,Ee=T.prefixCls,Ve=T.className,ct=T.align,rt=T.record,Nt=T.render,Bt=T.dataIndex,Ot=T.renderIndex,Yt=T.shouldCellUpdate,pt=T.index,hn=T.rowType,rn=T.colSpan,_n=T.rowSpan,Gt=T.fixLeft,tn=T.fixRight,vn=T.firstFixLeft,an=T.lastFixLeft,cn=T.firstFixRight,It=T.lastFixRight,vt=T.appendNode,Dt=T.additionalProps,Xt=Dt===void 0?{}:Dt,fn=T.isSticky,sn="".concat(Ee,"-cell"),ln=e(l,["supportSticky","allColumnsFixedLeft","rowHoverable"]),Un=ln.supportSticky,Xn=ln.allColumnsFixedLeft,$n=ln.rowHoverable,or=Oe(rt,Bt,Ot,oe,Nt,Yt),ir=(0,O.Z)(or,2),qn=ir[0],gn=ir[1],kn={},Gn=typeof Gt=="number"&&Un,xn=typeof tn=="number"&&Un;Gn&&(kn.position="sticky",kn.left=Gt),xn&&(kn.position="sticky",kn.right=tn);var yn=(ae=(te=(ie=gn==null?void 0:gn.colSpan)!==null&&ie!==void 0?ie:Xt.colSpan)!==null&&te!==void 0?te:rn)!==null&&ae!==void 0?ae:1,Cn=(_e=(ye=(Ne=gn==null?void 0:gn.rowSpan)!==null&&Ne!==void 0?Ne:Xt.rowSpan)!==null&&ye!==void 0?ye:_n)!==null&&_e!==void 0?_e:1,Ct=Ye(pt,Cn),Jt=(0,O.Z)(Ct,2),qt=Jt[0],nn=Jt[1],Pn=(0,At.zX)(function(zn){var Hn;rt&&nn(pt,pt+Cn-1),Xt==null||(Hn=Xt.onMouseEnter)===null||Hn===void 0||Hn.call(Xt,zn)}),Zn=(0,At.zX)(function(zn){var Hn;rt&&nn(-1,-1),Xt==null||(Hn=Xt.onMouseLeave)===null||Hn===void 0||Hn.call(Xt,zn)});if(yn===0||Cn===0)return null;var ar=(Re=Xt.title)!==null&&Re!==void 0?Re:xe({rowType:hn,ellipsis:de,children:qn}),gt=b()(sn,Ve,(be={},(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)(be,"".concat(sn,"-fix-left"),Gn&&Un),"".concat(sn,"-fix-left-first"),vn&&Un),"".concat(sn,"-fix-left-last"),an&&Un),"".concat(sn,"-fix-left-all"),an&&Xn&&Un),"".concat(sn,"-fix-right"),xn&&Un),"".concat(sn,"-fix-right-first"),cn&&Un),"".concat(sn,"-fix-right-last"),It&&Un),"".concat(sn,"-ellipsis"),de),"".concat(sn,"-with-append"),vt),"".concat(sn,"-fix-sticky"),(Gn||xn)&&fn&&Un),(0,L.Z)(be,"".concat(sn,"-row-hover"),!gn&&qt)),Xt.className,gn==null?void 0:gn.className),Wt={};ct&&(Wt.textAlign=ct);var Zt=(0,G.Z)((0,G.Z)((0,G.Z)((0,G.Z)({},gn==null?void 0:gn.style),kn),Wt),Xt.style),Mn=qn;return(0,I.Z)(Mn)==="object"&&!Array.isArray(Mn)&&!p.isValidElement(Mn)&&(Mn=null),de&&(an||cn)&&(Mn=p.createElement("span",{className:"".concat(sn,"-content")},Mn)),p.createElement(ne,(0,s.Z)({},gn,Xt,{className:gt,style:Zt,title:ar,scope:me,onMouseEnter:$n?Pn:void 0,onMouseLeave:$n?Zn:void 0,colSpan:yn!==1?yn:null,rowSpan:Cn!==1?Cn:null}),vt,Mn)}var Ze=p.memo(qe);function pe(T,ae,te,ie,_e){var ye=te[T]||{},Ne=te[ae]||{},Re,be;ye.fixed==="left"?Re=ie.left[_e==="rtl"?ae:T]:Ne.fixed==="right"&&(be=ie.right[_e==="rtl"?T:ae]);var ne=!1,oe=!1,de=!1,me=!1,Ee=te[ae+1],Ve=te[T-1],ct=Ee&&!Ee.fixed||Ve&&!Ve.fixed||te.every(function(Yt){return Yt.fixed==="left"});if(_e==="rtl"){if(Re!==void 0){var rt=Ve&&Ve.fixed==="left";me=!rt&&ct}else if(be!==void 0){var Nt=Ee&&Ee.fixed==="right";de=!Nt&&ct}}else if(Re!==void 0){var Bt=Ee&&Ee.fixed==="left";ne=!Bt&&ct}else if(be!==void 0){var Ot=Ve&&Ve.fixed==="right";oe=!Ot&&ct}return{fixLeft:Re,fixRight:be,lastFixLeft:ne,firstFixRight:oe,lastFixRight:de,firstFixLeft:me,isSticky:ie.isSticky}}var ue=p.createContext({}),re=ue;function W(T){var ae=T.className,te=T.index,ie=T.children,_e=T.colSpan,ye=_e===void 0?1:_e,Ne=T.rowSpan,Re=T.align,be=e(l,["prefixCls","direction"]),ne=be.prefixCls,oe=be.direction,de=p.useContext(re),me=de.scrollColumnIndex,Ee=de.stickyOffsets,Ve=de.flattenColumns,ct=te+ye-1,rt=ct+1===me?ye+1:ye,Nt=pe(te,te+rt-1,Ve,Ee,oe);return p.createElement(Ze,(0,s.Z)({className:ae,index:te,component:"td",prefixCls:ne,record:null,dataIndex:null,align:Re,colSpan:rt,rowSpan:Ne,render:function(){return ie}},Nt))}var Q=u(75931),c=["children"];function B(T){var ae=T.children,te=(0,Q.Z)(T,c);return p.createElement("tr",te,ae)}function q(T){var ae=T.children;return ae}q.Row=B,q.Cell=W;var C=q;function v(T){var ae=T.children,te=T.stickyOffsets,ie=T.flattenColumns,_e=e(l,"prefixCls"),ye=ie.length-1,Ne=ie[ye],Re=p.useMemo(function(){return{stickyOffsets:te,flattenColumns:ie,scrollColumnIndex:Ne!=null&&Ne.scrollbar?ye:null}},[Ne,ie,ye,te]);return p.createElement(re.Provider,{value:Re},p.createElement("tfoot",{className:"".concat(_e,"-summary")},ae))}var F=_(v),ee=C,Z=u(29301),V=u(24514),z=u(75152),fe=u(26112);function se(T,ae,te,ie,_e,ye,Ne){T.push({record:ae,indent:te,index:Ne});var Re=ye(ae),be=_e==null?void 0:_e.has(Re);if(ae&&Array.isArray(ae[ie])&&be)for(var ne=0;ne<ae[ie].length;ne+=1)se(T,ae[ie][ne],te+1,ie,_e,ye,ne)}function Ce(T,ae,te,ie){var _e=p.useMemo(function(){if(te!=null&&te.size){for(var ye=[],Ne=0;Ne<(T==null?void 0:T.length);Ne+=1){var Re=T[Ne];se(ye,Re,0,ae,te,ie,Ne)}return ye}return T==null?void 0:T.map(function(be,ne){return{record:be,indent:0,index:ne}})},[T,ae,te,ie]);return _e}function Ae(T,ae,te,ie){var _e=e(l,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),ye=_e.flattenColumns,Ne=_e.expandableType,Re=_e.expandedKeys,be=_e.childrenColumnName,ne=_e.onTriggerExpand,oe=_e.rowExpandable,de=_e.onRow,me=_e.expandRowByClick,Ee=_e.rowClassName,Ve=Ne==="nest",ct=Ne==="row"&&(!oe||oe(T)),rt=ct||Ve,Nt=Re&&Re.has(ae),Bt=be&&T&&T[be],Ot=(0,At.zX)(ne),Yt=de==null?void 0:de(T,te),pt=Yt==null?void 0:Yt.onClick,hn=function(tn){me&&rt&&ne(T,tn);for(var vn=arguments.length,an=new Array(vn>1?vn-1:0),cn=1;cn<vn;cn++)an[cn-1]=arguments[cn];pt==null||pt.apply(void 0,[tn].concat(an))},rn;typeof Ee=="string"?rn=Ee:typeof Ee=="function"&&(rn=Ee(T,te,ie));var _n=y(ye);return(0,G.Z)((0,G.Z)({},_e),{},{columnsKey:_n,nestExpandable:Ve,expanded:Nt,hasNestChildren:Bt,record:T,onTriggerExpand:Ot,rowSupportExpand:ct,expandable:rt,rowProps:(0,G.Z)((0,G.Z)({},Yt),{},{className:b()(rn,Yt==null?void 0:Yt.className),onClick:hn})})}function Xe(T){var ae=T.prefixCls,te=T.children,ie=T.component,_e=T.cellComponent,ye=T.className,Ne=T.expanded,Re=T.colSpan,be=T.isEmpty,ne=e(l,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),oe=ne.scrollbarSize,de=ne.fixHeader,me=ne.fixColumn,Ee=ne.componentWidth,Ve=ne.horizonScroll,ct=te;return(be?Ve&&Ee:me)&&(ct=p.createElement("div",{style:{width:Ee-(de&&!be?oe:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ae,"-expanded-row-fixed")},ct)),p.createElement(ie,{className:ye,style:{display:Ne?null:"none"}},p.createElement(Ze,{component:_e,prefixCls:ae,colSpan:Re},ct))}var Le=Xe;function Me(T){var ae=T.prefixCls,te=T.record,ie=T.onExpand,_e=T.expanded,ye=T.expandable,Ne="".concat(ae,"-row-expand-icon");if(!ye)return p.createElement("span",{className:b()(Ne,"".concat(ae,"-row-spaced"))});var Re=function(ne){ie(te,ne),ne.stopPropagation()};return p.createElement("span",{className:b()(Ne,(0,L.Z)((0,L.Z)({},"".concat(ae,"-row-expanded"),_e),"".concat(ae,"-row-collapsed"),!_e)),onClick:Re})}function ke(T,ae,te){var ie=[];function _e(ye){(ye||[]).forEach(function(Ne,Re){ie.push(ae(Ne,Re)),_e(Ne[te])})}return _e(T),ie}function st(T,ae,te,ie){return typeof T=="string"?T:typeof T=="function"?T(ae,te,ie):""}function Je(T,ae,te,ie,_e){var ye=T.record,Ne=T.prefixCls,Re=T.columnsKey,be=T.fixedInfoList,ne=T.expandIconColumnIndex,oe=T.nestExpandable,de=T.indentSize,me=T.expandIcon,Ee=T.expanded,Ve=T.hasNestChildren,ct=T.onTriggerExpand,rt=Re[te],Nt=be[te],Bt;te===(ne||0)&&oe&&(Bt=p.createElement(p.Fragment,null,p.createElement("span",{style:{paddingLeft:"".concat(de*ie,"px")},className:"".concat(Ne,"-row-indent indent-level-").concat(ie)}),me({prefixCls:Ne,expanded:Ee,expandable:Ve,record:ye,onExpand:ct})));var Ot;return ae.onCell&&(Ot=ae.onCell(ye,_e)),{key:rt,fixedInfo:Nt,appendCellNode:Bt,additionalCellProps:Ot||{}}}function He(T){var ae=T.className,te=T.style,ie=T.record,_e=T.index,ye=T.renderIndex,Ne=T.rowKey,Re=T.indent,be=Re===void 0?0:Re,ne=T.rowComponent,oe=T.cellComponent,de=T.scopeCellComponent,me=Ae(ie,Ne,_e,be),Ee=me.prefixCls,Ve=me.flattenColumns,ct=me.expandedRowClassName,rt=me.expandedRowRender,Nt=me.rowProps,Bt=me.expanded,Ot=me.rowSupportExpand,Yt=p.useRef(!1);Yt.current||(Yt.current=Bt);var pt=st(ct,ie,_e,be),hn=p.createElement(ne,(0,s.Z)({},Nt,{"data-row-key":Ne,className:b()(ae,"".concat(Ee,"-row"),"".concat(Ee,"-row-level-").concat(be),Nt==null?void 0:Nt.className,(0,L.Z)({},pt,be>=1)),style:(0,G.Z)((0,G.Z)({},te),Nt==null?void 0:Nt.style)}),Ve.map(function(Gt,tn){var vn=Gt.render,an=Gt.dataIndex,cn=Gt.className,It=Je(me,Gt,tn,be,_e),vt=It.key,Dt=It.fixedInfo,Xt=It.appendCellNode,fn=It.additionalCellProps;return p.createElement(Ze,(0,s.Z)({className:cn,ellipsis:Gt.ellipsis,align:Gt.align,scope:Gt.rowScope,component:Gt.rowScope?de:oe,prefixCls:Ee,key:vt,record:ie,index:_e,renderIndex:ye,dataIndex:an,render:vn,shouldCellUpdate:Gt.shouldCellUpdate},Dt,{appendNode:Xt,additionalProps:fn}))})),rn;if(Ot&&(Yt.current||Bt)){var _n=rt(ie,_e,be+1,Bt);rn=p.createElement(Le,{expanded:Bt,className:b()("".concat(Ee,"-expanded-row"),"".concat(Ee,"-expanded-row-level-").concat(be+1),pt),prefixCls:Ee,component:ne,cellComponent:oe,colSpan:Ve.length,isEmpty:!1},_n)}return p.createElement(p.Fragment,null,hn,rn)}var Kt=_(He);function St(T){var ae=T.columnKey,te=T.onColumnResize,ie=p.useRef();return(0,Y.Z)(function(){ie.current&&te(ae,ie.current.offsetWidth)},[]),p.createElement(Z.Z,{data:ae},p.createElement("td",{ref:ie,style:{padding:0,border:0,height:0}},p.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}var De=u(29194);function Vt(T){var ae=T.prefixCls,te=T.columnsKey,ie=T.onColumnResize,_e=p.useRef(null);return p.createElement("tr",{"aria-hidden":"true",className:"".concat(ae,"-measure-row"),style:{height:0,fontSize:0},ref:_e},p.createElement(Z.Z.Collection,{onBatchResize:function(Ne){(0,De.Z)(_e.current)&&Ne.forEach(function(Re){var be=Re.data,ne=Re.size;ie(be,ne.offsetWidth)})}},te.map(function(ye){return p.createElement(St,{key:ye,columnKey:ye,onColumnResize:ie})})))}function dn(T){var ae=T.data,te=T.measureColumnWidth,ie=e(l,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),_e=ie.prefixCls,ye=ie.getComponent,Ne=ie.onColumnResize,Re=ie.flattenColumns,be=ie.getRowKey,ne=ie.expandedKeys,oe=ie.childrenColumnName,de=ie.emptyNode,me=Ce(ae,oe,ne,be),Ee=p.useRef({renderWithProps:!1}),Ve=ye(["body","wrapper"],"tbody"),ct=ye(["body","row"],"tr"),rt=ye(["body","cell"],"td"),Nt=ye(["body","cell"],"th"),Bt;ae.length?Bt=me.map(function(Yt,pt){var hn=Yt.record,rn=Yt.indent,_n=Yt.index,Gt=be(hn,pt);return p.createElement(Kt,{key:Gt,rowKey:Gt,record:hn,index:pt,renderIndex:_n,rowComponent:ct,cellComponent:rt,scopeCellComponent:Nt,indent:rn})}):Bt=p.createElement(Le,{expanded:!0,className:"".concat(_e,"-placeholder"),prefixCls:_e,component:ct,cellComponent:rt,colSpan:Re.length,isEmpty:!0},de);var Ot=y(Re);return p.createElement(x.Provider,{value:Ee.current},p.createElement(Ve,{className:"".concat(_e,"-tbody")},te&&p.createElement(Vt,{prefixCls:_e,columnsKey:Ot,onColumnResize:Ne}),Bt))}var Rt=_(dn),dt=u(54451),Ft=["columnType"];function un(T){for(var ae=T.colWidths,te=T.columns,ie=T.columCount,_e=e(l,["tableLayout"]),ye=_e.tableLayout,Ne=[],Re=ie||te.length,be=!1,ne=Re-1;ne>=0;ne-=1){var oe=ae[ne],de=te&&te[ne],me=void 0,Ee=void 0;if(de&&(me=de[dt.v],ye==="auto"&&(Ee=de.minWidth)),oe||Ee||me||be){var Ve=me||{},ct=Ve.columnType,rt=(0,Q.Z)(Ve,Ft);Ne.unshift(p.createElement("col",(0,s.Z)({key:ne,style:{width:oe,minWidth:Ee}},rt))),be=!0}}return p.createElement("colgroup",null,Ne)}var Ut=un,mt=u(94480),Qt=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function bn(T,ae){return(0,p.useMemo)(function(){for(var te=[],ie=0;ie<ae;ie+=1){var _e=T[ie];if(_e!==void 0)te[ie]=_e;else return null}return te},[T.join("_"),ae])}var Tt=p.forwardRef(function(T,ae){var te=T.className,ie=T.noData,_e=T.columns,ye=T.flattenColumns,Ne=T.colWidths,Re=T.columCount,be=T.stickyOffsets,ne=T.direction,oe=T.fixHeader,de=T.stickyTopOffset,me=T.stickyBottomOffset,Ee=T.stickyClassName,Ve=T.onScroll,ct=T.maxContentScroll,rt=T.children,Nt=(0,Q.Z)(T,Qt),Bt=e(l,["prefixCls","scrollbarSize","isSticky","getComponent"]),Ot=Bt.prefixCls,Yt=Bt.scrollbarSize,pt=Bt.isSticky,hn=Bt.getComponent,rn=hn(["header","table"],"table"),_n=pt&&!oe?0:Yt,Gt=p.useRef(null),tn=p.useCallback(function(fn){(0,d.mH)(ae,fn),(0,d.mH)(Gt,fn)},[]);p.useEffect(function(){var fn;function sn(ln){var Un=ln,Xn=Un.currentTarget,$n=Un.deltaX;$n&&(Ve({currentTarget:Xn,scrollLeft:Xn.scrollLeft+$n}),ln.preventDefault())}return(fn=Gt.current)===null||fn===void 0||fn.addEventListener("wheel",sn,{passive:!1}),function(){var ln;(ln=Gt.current)===null||ln===void 0||ln.removeEventListener("wheel",sn)}},[]);var vn=p.useMemo(function(){return ye.every(function(fn){return fn.width})},[ye]),an=ye[ye.length-1],cn={fixed:an?an.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(Ot,"-cell-scrollbar")}}},It=(0,p.useMemo)(function(){return _n?[].concat((0,mt.Z)(_e),[cn]):_e},[_n,_e]),vt=(0,p.useMemo)(function(){return _n?[].concat((0,mt.Z)(ye),[cn]):ye},[_n,ye]),Dt=(0,p.useMemo)(function(){var fn=be.right,sn=be.left;return(0,G.Z)((0,G.Z)({},be),{},{left:ne==="rtl"?[].concat((0,mt.Z)(sn.map(function(ln){return ln+_n})),[0]):sn,right:ne==="rtl"?fn:[].concat((0,mt.Z)(fn.map(function(ln){return ln+_n})),[0]),isSticky:pt})},[_n,be,pt]),Xt=bn(Ne,Re);return p.createElement("div",{style:(0,G.Z)({overflow:"hidden"},pt?{top:de,bottom:me}:{}),ref:tn,className:b()(te,(0,L.Z)({},Ee,!!Ee))},p.createElement(rn,{style:{tableLayout:"fixed",visibility:ie||Xt?null:"hidden"}},(!ie||!ct||vn)&&p.createElement(Ut,{colWidths:Xt?[].concat((0,mt.Z)(Xt),[_n]):[],columCount:Re+1,columns:vt}),rt((0,G.Z)((0,G.Z)({},Nt),{},{stickyOffsets:Dt,columns:It,flattenColumns:vt}))))}),ft=p.memo(Tt),yt=function(ae){var te=ae.cells,ie=ae.stickyOffsets,_e=ae.flattenColumns,ye=ae.rowComponent,Ne=ae.cellComponent,Re=ae.onHeaderRow,be=ae.index,ne=e(l,["prefixCls","direction"]),oe=ne.prefixCls,de=ne.direction,me;Re&&(me=Re(te.map(function(Ve){return Ve.column}),be));var Ee=y(te.map(function(Ve){return Ve.column}));return p.createElement(ye,me,te.map(function(Ve,ct){var rt=Ve.column,Nt=pe(Ve.colStart,Ve.colEnd,_e,ie,de),Bt;return rt&&rt.onHeaderCell&&(Bt=Ve.column.onHeaderCell(rt)),p.createElement(Ze,(0,s.Z)({},Ve,{scope:rt.title?Ve.colSpan>1?"colgroup":"col":null,ellipsis:rt.ellipsis,align:rt.align,component:Ne,prefixCls:oe,key:Ee[ct]},Nt,{additionalProps:Bt,rowType:"header"}))}))},Bn=yt;function mn(T){var ae=[];function te(Ne,Re){var be=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ae[be]=ae[be]||[];var ne=Re,oe=Ne.filter(Boolean).map(function(de){var me={key:de.key,className:de.className||"",children:de.title,column:de,colStart:ne},Ee=1,Ve=de.children;return Ve&&Ve.length>0&&(Ee=te(Ve,ne,be+1).reduce(function(ct,rt){return ct+rt},0),me.hasSubColumns=!0),"colSpan"in de&&(Ee=de.colSpan),"rowSpan"in de&&(me.rowSpan=de.rowSpan),me.colSpan=Ee,me.colEnd=me.colStart+Ee-1,ae[be].push(me),ne+=Ee,Ee});return oe}te(T,0);for(var ie=ae.length,_e=function(Re){ae[Re].forEach(function(be){!("rowSpan"in be)&&!be.hasSubColumns&&(be.rowSpan=ie-Re)})},ye=0;ye<ie;ye+=1)_e(ye);return ae}var Ln=function(ae){var te=ae.stickyOffsets,ie=ae.columns,_e=ae.flattenColumns,ye=ae.onHeaderRow,Ne=e(l,["prefixCls","getComponent"]),Re=Ne.prefixCls,be=Ne.getComponent,ne=p.useMemo(function(){return mn(ie)},[ie]),oe=be(["header","wrapper"],"thead"),de=be(["header","row"],"tr"),me=be(["header","cell"],"th");return p.createElement(oe,{className:"".concat(Re,"-thead")},ne.map(function(Ee,Ve){var ct=p.createElement(Bn,{key:Ve,flattenColumns:_e,cells:Ee,stickyOffsets:te,rowComponent:de,cellComponent:me,onHeaderRow:ye,index:Ve});return ct}))},Wn=_(Ln),wn=u(97347);function Rn(T,ae,te){var ie=(0,dt.g)(T),_e=ie.expandIcon,ye=ie.expandedRowKeys,Ne=ie.defaultExpandedRowKeys,Re=ie.defaultExpandAllRows,be=ie.expandedRowRender,ne=ie.onExpand,oe=ie.onExpandedRowsChange,de=ie.childrenColumnName,me=_e||Me,Ee=de||"children",Ve=p.useMemo(function(){return be?"row":T.expandable&&T.internalHooks===N.R&&T.expandable.__PARENT_RENDER_ICON__||ae.some(function(pt){return pt&&(0,I.Z)(pt)==="object"&&pt[Ee]})?"nest":!1},[!!be,ae]),ct=p.useState(function(){return Ne||(Re?ke(ae,te,Ee):[])}),rt=(0,O.Z)(ct,2),Nt=rt[0],Bt=rt[1],Ot=p.useMemo(function(){return new Set(ye||Nt||[])},[ye,Nt]),Yt=p.useCallback(function(pt){var hn=te(pt,ae.indexOf(pt)),rn,_n=Ot.has(hn);_n?(Ot.delete(hn),rn=(0,mt.Z)(Ot)):rn=[].concat((0,mt.Z)(Ot),[hn]),Bt(rn),ne&&ne(!_n,pt),oe&&oe(rn)},[te,Ot,ae,ne,oe]);return[ie,Ve,Ot,me,Ee,Yt]}function Kn(T,ae,te){var ie=T.map(function(_e,ye){return pe(ye,ye,T,ae,te)});return(0,h.Z)(function(){return ie},[ie],function(_e,ye){return!(0,j.Z)(_e,ye)})}function Nn(T){var ae=(0,p.useRef)(T),te=(0,p.useState)({}),ie=(0,O.Z)(te,2),_e=ie[1],ye=(0,p.useRef)(null),Ne=(0,p.useRef)([]);function Re(be){Ne.current.push(be);var ne=Promise.resolve();ye.current=ne,ne.then(function(){if(ye.current===ne){var oe=Ne.current,de=ae.current;Ne.current=[],oe.forEach(function(me){ae.current=me(ae.current)}),ye.current=null,de!==ae.current&&_e({})}})}return(0,p.useEffect)(function(){return function(){ye.current=null}},[]),[ae.current,Re]}function In(T){var ae=(0,p.useRef)(T||null),te=(0,p.useRef)();function ie(){window.clearTimeout(te.current)}function _e(Ne){ae.current=Ne,ie(),te.current=window.setTimeout(function(){ae.current=null,te.current=void 0},100)}function ye(){return ae.current}return(0,p.useEffect)(function(){return ie},[]),[_e,ye]}function En(){var T=p.useState(-1),ae=(0,O.Z)(T,2),te=ae[0],ie=ae[1],_e=p.useState(-1),ye=(0,O.Z)(_e,2),Ne=ye[0],Re=ye[1],be=p.useCallback(function(ne,oe){ie(ne),Re(oe)},[]);return[te,Ne,be]}var Tn=u(47273),at=(0,Tn.Z)()?window:null;function it(T,ae){var te=(0,I.Z)(T)==="object"?T:{},ie=te.offsetHeader,_e=ie===void 0?0:ie,ye=te.offsetSummary,Ne=ye===void 0?0:ye,Re=te.offsetScroll,be=Re===void 0?0:Re,ne=te.getContainer,oe=ne===void 0?function(){return at}:ne,de=oe()||at,me=!!T;return p.useMemo(function(){return{isSticky:me,stickyClassName:me?"".concat(ae,"-sticky-holder"):"",offsetHeader:_e,offsetSummary:Ne,offsetScroll:be,container:de}},[me,be,_e,Ne,ae,de])}function en(T,ae,te){var ie=(0,p.useMemo)(function(){var _e=ae.length,ye=function(ne,oe,de){for(var me=[],Ee=0,Ve=ne;Ve!==oe;Ve+=de)me.push(Ee),ae[Ve].fixed&&(Ee+=T[Ve]||0);return me},Ne=ye(0,_e,1),Re=ye(_e-1,-1,-1).reverse();return te==="rtl"?{left:Re,right:Ne}:{left:Ne,right:Re}},[T,ae,te]);return ie}var pn=en;function An(T){var ae=T.className,te=T.children;return p.createElement("div",{className:ae},te)}var J=An,X=u(8224),Ke=u(16089),Se=u(76846);function ze(T){var ae=(0,Se.bn)(T),te=ae.getBoundingClientRect(),ie=document.documentElement;return{left:te.left+(window.pageXOffset||ie.scrollLeft)-(ie.clientLeft||document.body.clientLeft||0),top:te.top+(window.pageYOffset||ie.scrollTop)-(ie.clientTop||document.body.clientTop||0)}}var Ge=function(ae,te){var ie,_e,ye=ae.scrollBodyRef,Ne=ae.onScroll,Re=ae.offsetScroll,be=ae.container,ne=ae.direction,oe=e(l,"prefixCls"),de=((ie=ye.current)===null||ie===void 0?void 0:ie.scrollWidth)||0,me=((_e=ye.current)===null||_e===void 0?void 0:_e.clientWidth)||0,Ee=de&&me*(me/de),Ve=p.useRef(),ct=Nn({scrollLeft:0,isHiddenScrollBar:!0}),rt=(0,O.Z)(ct,2),Nt=rt[0],Bt=rt[1],Ot=p.useRef({delta:0,x:0}),Yt=p.useState(!1),pt=(0,O.Z)(Yt,2),hn=pt[0],rn=pt[1],_n=p.useRef(null);p.useEffect(function(){return function(){Ke.Z.cancel(_n.current)}},[]);var Gt=function(){rn(!1)},tn=function(vt){vt.persist(),Ot.current.delta=vt.pageX-Nt.scrollLeft,Ot.current.x=0,rn(!0),vt.preventDefault()},vn=function(vt){var Dt,Xt=vt||((Dt=window)===null||Dt===void 0?void 0:Dt.event),fn=Xt.buttons;if(!hn||fn===0){hn&&rn(!1);return}var sn=Ot.current.x+vt.pageX-Ot.current.x-Ot.current.delta,ln=ne==="rtl";sn=Math.max(ln?Ee-me:0,Math.min(ln?0:me-Ee,sn));var Un=!ln||Math.abs(sn)+Math.abs(Ee)<me;Un&&(Ne({scrollLeft:sn/me*(de+2)}),Ot.current.x=vt.pageX)},an=function(){Ke.Z.cancel(_n.current),_n.current=(0,Ke.Z)(function(){if(ye.current){var vt=ze(ye.current).top,Dt=vt+ye.current.offsetHeight,Xt=be===window?document.documentElement.scrollTop+window.innerHeight:ze(be).top+be.clientHeight;Dt-(0,z.Z)()<=Xt||vt>=Xt-Re?Bt(function(fn){return(0,G.Z)((0,G.Z)({},fn),{},{isHiddenScrollBar:!0})}):Bt(function(fn){return(0,G.Z)((0,G.Z)({},fn),{},{isHiddenScrollBar:!1})})}})},cn=function(vt){Bt(function(Dt){return(0,G.Z)((0,G.Z)({},Dt),{},{scrollLeft:vt/de*me||0})})};return p.useImperativeHandle(te,function(){return{setScrollLeft:cn,checkScrollBarVisible:an}}),p.useEffect(function(){var It=(0,X.Z)(document.body,"mouseup",Gt,!1),vt=(0,X.Z)(document.body,"mousemove",vn,!1);return an(),function(){It.remove(),vt.remove()}},[Ee,hn]),p.useEffect(function(){if(ye.current){for(var It=[],vt=(0,Se.bn)(ye.current);vt;)It.push(vt),vt=vt.parentElement;return It.forEach(function(Dt){return Dt.addEventListener("scroll",an,!1)}),window.addEventListener("resize",an,!1),window.addEventListener("scroll",an,!1),be.addEventListener("scroll",an,!1),function(){It.forEach(function(Dt){return Dt.removeEventListener("scroll",an)}),window.removeEventListener("resize",an),window.removeEventListener("scroll",an),be.removeEventListener("scroll",an)}}},[be]),p.useEffect(function(){Nt.isHiddenScrollBar||Bt(function(It){var vt=ye.current;return vt?(0,G.Z)((0,G.Z)({},It),{},{scrollLeft:vt.scrollLeft/vt.scrollWidth*vt.clientWidth}):It})},[Nt.isHiddenScrollBar]),de<=me||!Ee||Nt.isHiddenScrollBar?null:p.createElement("div",{style:{height:(0,z.Z)(),width:me,bottom:Re},className:"".concat(oe,"-sticky-scroll")},p.createElement("div",{onMouseDown:tn,ref:Ve,className:b()("".concat(oe,"-sticky-scroll-bar"),(0,L.Z)({},"".concat(oe,"-sticky-scroll-bar-active"),hn)),style:{width:"".concat(Ee,"px"),transform:"translate3d(".concat(Nt.scrollLeft,"px, 0, 0)")}}))},Be=p.forwardRef(Ge);function Fe(T){return null}var nt=Fe;function We(T){return null}var et=We,lt="rc-table",Qe=[],Ie={};function H(){return"No Data"}function ce(T,ae){var te=(0,G.Z)({rowKey:"key",prefixCls:lt,emptyText:H},T),ie=te.prefixCls,_e=te.className,ye=te.rowClassName,Ne=te.style,Re=te.data,be=te.rowKey,ne=te.scroll,oe=te.tableLayout,de=te.direction,me=te.title,Ee=te.footer,Ve=te.summary,ct=te.caption,rt=te.id,Nt=te.showHeader,Bt=te.components,Ot=te.emptyText,Yt=te.onRow,pt=te.onHeaderRow,hn=te.onScroll,rn=te.internalHooks,_n=te.transformColumns,Gt=te.internalRefs,tn=te.tailor,vn=te.getContainerWidth,an=te.sticky,cn=te.rowHoverable,It=cn===void 0?!0:cn,vt=Re||Qe,Dt=!!vt.length,Xt=rn===N.R,fn=p.useCallback(function(Fn,jn){return(0,w.Z)(Bt,Fn)||jn},[Bt]),sn=p.useMemo(function(){return typeof be=="function"?be:function(Fn){var jn=Fn&&Fn[be];return jn}},[be]),ln=fn(["body"]),Un=En(),Xn=(0,O.Z)(Un,3),$n=Xn[0],or=Xn[1],ir=Xn[2],qn=Rn(te,vt,sn),gn=(0,O.Z)(qn,6),kn=gn[0],Gn=gn[1],xn=gn[2],yn=gn[3],Cn=gn[4],Ct=gn[5],Jt=ne==null?void 0:ne.x,qt=p.useState(0),nn=(0,O.Z)(qt,2),Pn=nn[0],Zn=nn[1],ar=(0,wn.Z)((0,G.Z)((0,G.Z)((0,G.Z)({},te),kn),{},{expandable:!!kn.expandedRowRender,columnTitle:kn.columnTitle,expandedKeys:xn,getRowKey:sn,onTriggerExpand:Ct,expandIcon:yn,expandIconColumnIndex:kn.expandIconColumnIndex,direction:de,scrollWidth:Xt&&tn&&typeof Jt=="number"?Jt:null,clientWidth:Pn}),Xt?_n:null),gt=(0,O.Z)(ar,4),Wt=gt[0],Zt=gt[1],Mn=gt[2],zn=gt[3],Hn=Mn!=null?Mn:Jt,cr=p.useMemo(function(){return{columns:Wt,flattenColumns:Zt}},[Wt,Zt]),dr=p.useRef(),lr=p.useRef(),Jn=p.useRef(),Fr=p.useRef();p.useImperativeHandle(ae,function(){return{nativeElement:dr.current,scrollTo:function(jn){var _r;if(Jn.current instanceof HTMLElement){var wr=jn.index,pr=jn.top,Hr=jn.key;if(le(pr)){var Lr;(Lr=Jn.current)===null||Lr===void 0||Lr.scrollTo({top:pr})}else{var Kr,Qr=Hr!=null?Hr:sn(vt[wr]);(Kr=Jn.current.querySelector('[data-row-key="'.concat(Qr,'"]')))===null||Kr===void 0||Kr.scrollIntoView()}}else(_r=Jn.current)!==null&&_r!==void 0&&_r.scrollTo&&Jn.current.scrollTo(jn)}}});var Br=p.useRef(),Sr=p.useState(!1),Tr=(0,O.Z)(Sr,2),Nr=Tr[0],Or=Tr[1],Ar=p.useState(!1),br=(0,O.Z)(Ar,2),Mr=br[0],Pr=br[1],zr=p.useState(new Map),kr=(0,O.Z)(zr,2),$r=kr[0],Ir=kr[1],Gr=y(Zt),jr=Gr.map(function(Fn){return $r.get(Fn)}),Wr=p.useMemo(function(){return jr},[jr.join("_")]),Dr=pn(Wr,Zt,de),hr=ne&&A(ne.y),ur=ne&&A(Hn)||!!kn.fixed,Dn=ur&&Zt.some(function(Fn){var jn=Fn.fixed;return jn}),Sn=p.useRef(),nr=it(an,ie),Qn=nr.isSticky,er=nr.offsetHeader,rr=nr.offsetSummary,yr=nr.offsetScroll,gr=nr.stickyClassName,xr=nr.container,sr=p.useMemo(function(){return Ve==null?void 0:Ve(vt)},[Ve,vt]),mr=(hr||Qn)&&p.isValidElement(sr)&&sr.type===C&&sr.props.fixed,Rr,Er,Yr;hr&&(Er={overflowY:Dt?"scroll":"auto",maxHeight:ne.y}),ur&&(Rr={overflowX:"auto"},hr||(Er={overflowY:"hidden"}),Yr={width:Hn===!0?"auto":Hn,minWidth:"100%"});var qr=p.useCallback(function(Fn,jn){Ir(function(_r){if(_r.get(Fn)!==jn){var wr=new Map(_r);return wr.set(Fn,jn),wr}return _r})},[]),tr=In(null),Vn=(0,O.Z)(tr,2),Yn=Vn[0],vr=Vn[1];function fr(Fn,jn){jn&&(typeof jn=="function"?jn(Fn):jn.scrollLeft!==Fn&&(jn.scrollLeft=Fn,jn.scrollLeft!==Fn&&setTimeout(function(){jn.scrollLeft=Fn},0)))}var Cr=(0,K.Z)(function(Fn){var jn=Fn.currentTarget,_r=Fn.scrollLeft,wr=de==="rtl",pr=typeof _r=="number"?_r:jn.scrollLeft,Hr=jn||Ie;if(!vr()||vr()===Hr){var Lr;Yn(Hr),fr(pr,lr.current),fr(pr,Jn.current),fr(pr,Br.current),fr(pr,(Lr=Sn.current)===null||Lr===void 0?void 0:Lr.setScrollLeft)}var Kr=jn||lr.current;if(Kr){var Qr=Xt&&tn&&typeof Hn=="number"?Hn:Kr.scrollWidth,oi=Kr.clientWidth;if(Qr===oi){Or(!1),Pr(!1);return}wr?(Or(-pr<Qr-oi),Pr(-pr>0)):(Or(pr>0),Pr(pr<Qr-oi))}}),Xr=(0,K.Z)(function(Fn){Cr(Fn),hn==null||hn(Fn)}),ei=function(){if(ur&&Jn.current){var jn;Cr({currentTarget:(0,Se.bn)(Jn.current),scrollLeft:(jn=Jn.current)===null||jn===void 0?void 0:jn.scrollLeft})}else Or(!1),Pr(!1)},ti=function(jn){var _r,wr=jn.width;(_r=Sn.current)===null||_r===void 0||_r.checkScrollBarVisible();var pr=dr.current?dr.current.offsetWidth:wr;Xt&&vn&&dr.current&&(pr=vn(dr.current,pr)||pr),pr!==Pn&&(ei(),Zn(pr))},Jr=p.useRef(!1);p.useEffect(function(){Jr.current&&ei()},[ur,Re,Wt.length]),p.useEffect(function(){Jr.current=!0},[]);var Zr=p.useState(0),Ur=(0,O.Z)(Zr,2),Vr=Ur[0],li=Ur[1],wi=p.useState(!0),ui=(0,O.Z)(wi,2),ci=ui[0],xi=ui[1];(0,Y.Z)(function(){(!tn||!Xt)&&(Jn.current instanceof Element?li((0,z.o)(Jn.current).width):li((0,z.o)(Fr.current).width)),xi((0,V.G)("position","sticky"))},[]),p.useEffect(function(){Xt&&Gt&&(Gt.body.current=Jn.current)});var Ei=p.useCallback(function(Fn){return p.createElement(p.Fragment,null,p.createElement(Wn,Fn),mr==="top"&&p.createElement(F,Fn,sr))},[mr,sr]),Ci=p.useCallback(function(Fn){return p.createElement(F,Fn,sr)},[sr]),fi=fn(["table"],"table"),ni=p.useMemo(function(){return oe||(Dn?Hn==="max-content"?"auto":"fixed":hr||Qn||Zt.some(function(Fn){var jn=Fn.ellipsis;return jn})?"fixed":"auto")},[hr,Dn,Zt,oe,Qn]),ri,ii={colWidths:Wr,columCount:Zt.length,stickyOffsets:Dr,onHeaderRow:pt,fixHeader:hr,scroll:ne},di=p.useMemo(function(){return Dt?null:typeof Ot=="function"?Ot():Ot},[Dt,Ot]),hi=p.createElement(Rt,{data:vt,measureColumnWidth:hr||ur||Qn}),_i=p.createElement(Ut,{colWidths:Zt.map(function(Fn){var jn=Fn.width;return jn}),columns:Zt}),pi=ct!=null?p.createElement("caption",{className:"".concat(ie,"-caption")},ct):void 0,Si=(0,fe.Z)(te,{data:!0}),vi=(0,fe.Z)(te,{aria:!0});if(hr||Qn){var ai;typeof ln=="function"?(ai=ln(vt,{scrollbarSize:Vr,ref:Jn,onScroll:Cr}),ii.colWidths=Zt.map(function(Fn,jn){var _r=Fn.width,wr=jn===Zt.length-1?_r-Vr:_r;return typeof wr=="number"&&!Number.isNaN(wr)?wr:0})):ai=p.createElement("div",{style:(0,G.Z)((0,G.Z)({},Rr),Er),onScroll:Xr,ref:Jn,className:b()("".concat(ie,"-body"))},p.createElement(fi,(0,s.Z)({style:(0,G.Z)((0,G.Z)({},Yr),{},{tableLayout:ni})},vi),pi,_i,hi,!mr&&sr&&p.createElement(F,{stickyOffsets:Dr,flattenColumns:Zt},sr)));var mi=(0,G.Z)((0,G.Z)((0,G.Z)({noData:!vt.length,maxContentScroll:ur&&Hn==="max-content"},ii),cr),{},{direction:de,stickyClassName:gr,onScroll:Cr});ri=p.createElement(p.Fragment,null,Nt!==!1&&p.createElement(ft,(0,s.Z)({},mi,{stickyTopOffset:er,className:"".concat(ie,"-header"),ref:lr}),Ei),ai,mr&&mr!=="top"&&p.createElement(ft,(0,s.Z)({},mi,{stickyBottomOffset:rr,className:"".concat(ie,"-summary"),ref:Br}),Ci),Qn&&Jn.current&&Jn.current instanceof Element&&p.createElement(Be,{ref:Sn,offsetScroll:yr,scrollBodyRef:Jn,onScroll:Cr,container:xr,direction:de}))}else ri=p.createElement("div",{style:(0,G.Z)((0,G.Z)({},Rr),Er),className:b()("".concat(ie,"-content")),onScroll:Cr,ref:Jn},p.createElement(fi,(0,s.Z)({style:(0,G.Z)((0,G.Z)({},Yr),{},{tableLayout:ni})},vi),pi,_i,Nt!==!1&&p.createElement(Wn,(0,s.Z)({},ii,cr)),hi,sr&&p.createElement(F,{stickyOffsets:Dr,flattenColumns:Zt},sr)));var si=p.createElement("div",(0,s.Z)({className:b()(ie,_e,(0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)((0,L.Z)({},"".concat(ie,"-rtl"),de==="rtl"),"".concat(ie,"-ping-left"),Nr),"".concat(ie,"-ping-right"),Mr),"".concat(ie,"-layout-fixed"),oe==="fixed"),"".concat(ie,"-fixed-header"),hr),"".concat(ie,"-fixed-column"),Dn),"".concat(ie,"-fixed-column-gapped"),Dn&&zn),"".concat(ie,"-scroll-horizontal"),ur),"".concat(ie,"-has-fix-left"),Zt[0]&&Zt[0].fixed),"".concat(ie,"-has-fix-right"),Zt[Zt.length-1]&&Zt[Zt.length-1].fixed==="right")),style:Ne,id:rt,ref:dr},Si),me&&p.createElement(J,{className:"".concat(ie,"-title")},me(vt)),p.createElement("div",{ref:Fr,className:"".concat(ie,"-container")},ri),Ee&&p.createElement(J,{className:"".concat(ie,"-footer")},Ee(vt)));ur&&(si=p.createElement(Z.Z,{onResize:ti},si));var gi=Kn(Zt,Dr,de),Ri=p.useMemo(function(){return{scrollX:Hn,prefixCls:ie,getComponent:fn,scrollbarSize:Vr,direction:de,fixedInfoList:gi,isSticky:Qn,supportSticky:ci,componentWidth:Pn,fixHeader:hr,fixColumn:Dn,horizonScroll:ur,tableLayout:ni,rowClassName:ye,expandedRowClassName:kn.expandedRowClassName,expandIcon:yn,expandableType:Gn,expandRowByClick:kn.expandRowByClick,expandedRowRender:kn.expandedRowRender,onTriggerExpand:Ct,expandIconColumnIndex:kn.expandIconColumnIndex,indentSize:kn.indentSize,allColumnsFixedLeft:Zt.every(function(Fn){return Fn.fixed==="left"}),emptyNode:di,columns:Wt,flattenColumns:Zt,onColumnResize:qr,hoverStartRow:$n,hoverEndRow:or,onHover:ir,rowExpandable:kn.rowExpandable,onRow:Yt,getRowKey:sn,expandedKeys:xn,childrenColumnName:Cn,rowHoverable:It}},[Hn,ie,fn,Vr,de,gi,Qn,ci,Pn,hr,Dn,ur,ni,ye,kn.expandedRowClassName,yn,Gn,kn.expandRowByClick,kn.expandedRowRender,Ct,kn.expandIconColumnIndex,kn.indentSize,di,Wt,Zt,qr,$n,or,ir,kn.rowExpandable,Yt,sn,xn,Cn,It]);return p.createElement(l.Provider,{value:Ri},si)}var he=p.forwardRef(ce);function ve(T){return S(he,T)}var Pe=ve();Pe.EXPAND_COLUMN=N.w,Pe.INTERNAL_HOOKS=N.R,Pe.Column=nt,Pe.ColumnGroup=et,Pe.Summary=ee;var Ue=Pe,$e=u(6790),ot=$(null),_t=$(null);function bt(T,ae,te){var ie=ae||1;return te[T+ie]-(te[T]||0)}function on(T){var ae=T.rowInfo,te=T.column,ie=T.colIndex,_e=T.indent,ye=T.index,Ne=T.component,Re=T.renderIndex,be=T.record,ne=T.style,oe=T.className,de=T.inverse,me=T.getHeight,Ee=te.render,Ve=te.dataIndex,ct=te.className,rt=te.width,Nt=e(_t,["columnsOffset"]),Bt=Nt.columnsOffset,Ot=Je(ae,te,ie,_e,ye),Yt=Ot.key,pt=Ot.fixedInfo,hn=Ot.appendCellNode,rn=Ot.additionalCellProps,_n=rn.style,Gt=rn.colSpan,tn=Gt===void 0?1:Gt,vn=rn.rowSpan,an=vn===void 0?1:vn,cn=ie-1,It=bt(cn,tn,Bt),vt=tn>1?rt-It:0,Dt=(0,G.Z)((0,G.Z)((0,G.Z)({},_n),ne),{},{flex:"0 0 ".concat(It,"px"),width:"".concat(It,"px"),marginRight:vt,pointerEvents:"auto"}),Xt=p.useMemo(function(){return de?an<=1:tn===0||an===0||an>1},[an,tn,de]);Xt?Dt.visibility="hidden":de&&(Dt.height=me==null?void 0:me(an));var fn=Xt?function(){return null}:Ee,sn={};return(an===0||tn===0)&&(sn.rowSpan=1,sn.colSpan=1),p.createElement(Ze,(0,s.Z)({className:b()(ct,oe),ellipsis:te.ellipsis,align:te.align,scope:te.rowScope,component:Ne,prefixCls:ae.prefixCls,key:Yt,record:be,index:ye,renderIndex:Re,dataIndex:Ve,render:fn,shouldCellUpdate:te.shouldCellUpdate},pt,{appendNode:hn,additionalProps:(0,G.Z)((0,G.Z)({},rn),{},{style:Dt},sn)}))}var wt=on,Et=["data","index","className","rowKey","style","extra","getHeight"],Mt=p.forwardRef(function(T,ae){var te=T.data,ie=T.index,_e=T.className,ye=T.rowKey,Ne=T.style,Re=T.extra,be=T.getHeight,ne=(0,Q.Z)(T,Et),oe=te.record,de=te.indent,me=te.index,Ee=e(l,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ve=Ee.scrollX,ct=Ee.flattenColumns,rt=Ee.prefixCls,Nt=Ee.fixColumn,Bt=Ee.componentWidth,Ot=e(ot,["getComponent"]),Yt=Ot.getComponent,pt=Ae(oe,ye,ie,de),hn=Yt(["body","row"],"div"),rn=Yt(["body","cell"],"div"),_n=pt.rowSupportExpand,Gt=pt.expanded,tn=pt.rowProps,vn=pt.expandedRowRender,an=pt.expandedRowClassName,cn;if(_n&&Gt){var It=vn(oe,ie,de+1,Gt),vt=st(an,oe,ie,de),Dt={};Nt&&(Dt={style:(0,L.Z)({},"--virtual-width","".concat(Bt,"px"))});var Xt="".concat(rt,"-expanded-row-cell");cn=p.createElement(hn,{className:b()("".concat(rt,"-expanded-row"),"".concat(rt,"-expanded-row-level-").concat(de+1),vt)},p.createElement(Ze,{component:rn,prefixCls:rt,className:b()(Xt,(0,L.Z)({},"".concat(Xt,"-fixed"),Nt)),additionalProps:Dt},It))}var fn=(0,G.Z)((0,G.Z)({},Ne),{},{width:Ve});Re&&(fn.position="absolute",fn.pointerEvents="none");var sn=p.createElement(hn,(0,s.Z)({},tn,ne,{"data-row-key":ye,ref:_n?null:ae,className:b()(_e,"".concat(rt,"-row"),tn==null?void 0:tn.className,(0,L.Z)({},"".concat(rt,"-row-extra"),Re)),style:(0,G.Z)((0,G.Z)({},fn),tn==null?void 0:tn.style)}),ct.map(function(ln,Un){return p.createElement(wt,{key:Un,component:rn,rowInfo:pt,column:ln,colIndex:Un,indent:de,index:ie,renderIndex:me,record:oe,inverse:Re,getHeight:be})}));return _n?p.createElement("div",{ref:ae},sn,cn):sn}),Ht=_(Mt),zt=Ht,xt=p.forwardRef(function(T,ae){var te=T.data,ie=T.onScroll,_e=e(l,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),ye=_e.flattenColumns,Ne=_e.onColumnResize,Re=_e.getRowKey,be=_e.expandedKeys,ne=_e.prefixCls,oe=_e.childrenColumnName,de=_e.scrollX,me=_e.direction,Ee=e(ot),Ve=Ee.sticky,ct=Ee.scrollY,rt=Ee.listItemHeight,Nt=Ee.getComponent,Bt=Ee.onScroll,Ot=p.useRef(),Yt=Ce(te,oe,be,Re),pt=p.useMemo(function(){var cn=0;return ye.map(function(It){var vt=It.width,Dt=It.key;return cn+=vt,[Dt,vt,cn]})},[ye]),hn=p.useMemo(function(){return pt.map(function(cn){return cn[2]})},[pt]);p.useEffect(function(){pt.forEach(function(cn){var It=(0,O.Z)(cn,2),vt=It[0],Dt=It[1];Ne(vt,Dt)})},[pt]),p.useImperativeHandle(ae,function(){var cn,It={scrollTo:function(Dt){var Xt;(Xt=Ot.current)===null||Xt===void 0||Xt.scrollTo(Dt)},nativeElement:(cn=Ot.current)===null||cn===void 0?void 0:cn.nativeElement};return Object.defineProperty(It,"scrollLeft",{get:function(){var Dt;return((Dt=Ot.current)===null||Dt===void 0?void 0:Dt.getScrollInfo().x)||0},set:function(Dt){var Xt;(Xt=Ot.current)===null||Xt===void 0||Xt.scrollTo({left:Dt})}}),It});var rn=function(It,vt){var Dt,Xt=(Dt=Yt[vt])===null||Dt===void 0?void 0:Dt.record,fn=It.onCell;if(fn){var sn,ln=fn(Xt,vt);return(sn=ln==null?void 0:ln.rowSpan)!==null&&sn!==void 0?sn:1}return 1},_n=function(It){var vt=It.start,Dt=It.end,Xt=It.getSize,fn=It.offsetY;if(Dt<0)return null;for(var sn=ye.filter(function(yn){return rn(yn,vt)===0}),ln=vt,Un=function(Cn){if(sn=sn.filter(function(Ct){return rn(Ct,Cn)===0}),!sn.length)return ln=Cn,1},Xn=vt;Xn>=0&&!Un(Xn);Xn-=1);for(var $n=ye.filter(function(yn){return rn(yn,Dt)!==1}),or=Dt,ir=function(Cn){if($n=$n.filter(function(Ct){return rn(Ct,Cn)!==1}),!$n.length)return or=Math.max(Cn-1,Dt),1},qn=Dt;qn<Yt.length&&!ir(qn);qn+=1);for(var gn=[],kn=function(Cn){var Ct=Yt[Cn];if(!Ct)return 1;ye.some(function(Jt){return rn(Jt,Cn)>1})&&gn.push(Cn)},Gn=ln;Gn<=or;Gn+=1)kn(Gn);var xn=gn.map(function(yn){var Cn=Yt[yn],Ct=Re(Cn.record,yn),Jt=function(Pn){var Zn=yn+Pn-1,ar=Re(Yt[Zn].record,Zn),gt=Xt(Ct,ar);return gt.bottom-gt.top},qt=Xt(Ct);return p.createElement(zt,{key:yn,data:Cn,rowKey:Ct,index:yn,style:{top:-fn+qt.top},extra:!0,getHeight:Jt})});return xn},Gt=p.useMemo(function(){return{columnsOffset:hn}},[hn]),tn="".concat(ne,"-tbody"),vn=Nt(["body","wrapper"]),an={};return Ve&&(an.position="sticky",an.bottom=0,(0,I.Z)(Ve)==="object"&&Ve.offsetScroll&&(an.bottom=Ve.offsetScroll)),p.createElement(_t.Provider,{value:Gt},p.createElement($e.Z,{fullHeight:!1,ref:Ot,prefixCls:"".concat(tn,"-virtual"),styles:{horizontalScrollBar:an},className:tn,height:ct,itemHeight:rt||24,data:Yt,itemKey:function(It){return Re(It.record)},component:vn,scrollWidth:de,direction:me,onVirtualScroll:function(It){var vt,Dt=It.x;ie({currentTarget:(vt=Ot.current)===null||vt===void 0?void 0:vt.nativeElement,scrollLeft:Dt})},onScroll:Bt,extraRender:_n},function(cn,It,vt){var Dt=Re(cn.record,It);return p.createElement(zt,{data:cn,rowKey:Dt,index:It,style:vt.style})}))}),Pt=_(xt),tt=Pt,ut=function(ae,te){var ie=te.ref,_e=te.onScroll;return p.createElement(tt,{ref:ie,data:ae,onScroll:_e})};function ht(T,ae){var te=T.data,ie=T.columns,_e=T.scroll,ye=T.sticky,Ne=T.prefixCls,Re=Ne===void 0?lt:Ne,be=T.className,ne=T.listItemHeight,oe=T.components,de=T.onScroll,me=_e||{},Ee=me.x,Ve=me.y;typeof Ee!="number"&&(Ee=1),typeof Ve!="number"&&(Ve=500);var ct=(0,At.zX)(function(Bt,Ot){return(0,w.Z)(oe,Bt)||Ot}),rt=(0,At.zX)(de),Nt=p.useMemo(function(){return{sticky:ye,scrollY:Ve,listItemHeight:ne,getComponent:ct,onScroll:rt}},[ye,Ve,ne,ct,rt]);return p.createElement(ot.Provider,{value:Nt},p.createElement(Ue,(0,s.Z)({},T,{className:b()(be,"".concat(Re,"-virtual")),scroll:(0,G.Z)((0,G.Z)({},_e),{},{x:Ee}),components:(0,G.Z)((0,G.Z)({},oe),{},{body:te!=null&&te.length?ut:void 0}),columns:ie,internalHooks:N.R,tailor:!0,ref:ae})))}var $t=p.forwardRef(ht);function kt(T){return S($t,T)}var jt=kt(),On=null},54451:function(Lt,Te,u){"use strict";u.d(Te,{g:function(){return p},v:function(){return j}});var N=u(33885),O=u(75931),K=u(48736),Y=["expandable"],j="RC_TABLE_INTERNAL_COL_DEFINE";function p(U){var $=U.expandable,e=(0,O.Z)(U,Y),s;return"expandable"in U?s=(0,N.Z)((0,N.Z)({},e),$):s=e,s.showExpandColumn===!1&&(s.expandIconColumnIndex=-1),s}},29125:function(Lt,Te,u){"use strict";u.d(Te,{G:function(){return Y},Z:function(){return S}});var N=u(92310),O=u.n(N),K=u(59301);function Y(_){var m=_.children,f=_.prefixCls,l=_.id,P=_.overlayInnerStyle,k=_.bodyClassName,M=_.className,I=_.style;return K.createElement("div",{className:O()("".concat(f,"-content"),M),style:I},K.createElement("div",{className:O()("".concat(f,"-inner"),k),id:l,role:"tooltip",style:P},typeof m=="function"?m():m))}var j=u(54476),p=u(33885),U=u(75931),$=u(65030),e={shiftX:64,adjustY:1},s={adjustX:1,shiftY:!0},d=[0,0],t={left:{points:["cr","cl"],overflow:s,offset:[-4,0],targetOffset:d},right:{points:["cl","cr"],overflow:s,offset:[4,0],targetOffset:d},top:{points:["bc","tc"],overflow:e,offset:[0,-4],targetOffset:d},bottom:{points:["tc","bc"],overflow:e,offset:[0,4],targetOffset:d},topLeft:{points:["bl","tl"],overflow:e,offset:[0,-4],targetOffset:d},leftTop:{points:["tr","tl"],overflow:s,offset:[-4,0],targetOffset:d},topRight:{points:["br","tr"],overflow:e,offset:[0,-4],targetOffset:d},rightTop:{points:["tl","tr"],overflow:s,offset:[4,0],targetOffset:d},bottomRight:{points:["tr","br"],overflow:e,offset:[0,4],targetOffset:d},rightBottom:{points:["bl","br"],overflow:s,offset:[4,0],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:e,offset:[0,4],targetOffset:d},leftBottom:{points:["br","bl"],overflow:s,offset:[-4,0],targetOffset:d}},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"],g=function(m,f){var l=m.overlayClassName,P=m.trigger,k=P===void 0?["hover"]:P,M=m.mouseEnterDelay,I=M===void 0?0:M,G=m.mouseLeaveDelay,L=G===void 0?.1:G,ge=m.overlayStyle,b=m.prefixCls,h=b===void 0?"rc-tooltip":b,w=m.children,R=m.onVisibleChange,D=m.afterVisibleChange,x=m.transitionName,n=m.animation,i=m.motion,y=m.placement,A=y===void 0?"right":y,le=m.align,we=le===void 0?{}:le,Oe=m.destroyTooltipOnHide,je=Oe===void 0?!1:Oe,Ye=m.defaultVisible,At=m.getTooltipContainer,xe=m.overlayInnerStyle,qe=m.arrowContent,Ze=m.overlay,pe=m.id,ue=m.showArrow,re=ue===void 0?!0:ue,W=m.classNames,Q=m.styles,c=(0,U.Z)(m,o),B=(0,a.Z)(pe),q=(0,K.useRef)(null);(0,K.useImperativeHandle)(f,function(){return q.current});var C=(0,p.Z)({},c);"visible"in m&&(C.popupVisible=m.visible);var v=function(){return K.createElement(Y,{key:"content",prefixCls:h,id:B,bodyClassName:W==null?void 0:W.body,overlayInnerStyle:(0,p.Z)((0,p.Z)({},xe),Q==null?void 0:Q.body)},Ze)},F=function(){var Z=K.Children.only(w),V=(Z==null?void 0:Z.props)||{},z=(0,p.Z)((0,p.Z)({},V),{},{"aria-describedby":Ze?B:null});return K.cloneElement(w,z)};return K.createElement($.Z,(0,j.Z)({popupClassName:O()(l,W==null?void 0:W.root),prefixCls:h,popup:v,action:k,builtinPlacements:t,popupPlacement:A,ref:q,popupAlign:we,getPopupContainer:At,onPopupVisibleChange:R,afterPopupVisibleChange:D,popupTransitionName:x,popupAnimation:n,popupMotion:i,defaultPopupVisible:Ye,autoDestroy:je,mouseLeaveDelay:L,popupStyle:(0,p.Z)((0,p.Z)({},ge),Q==null?void 0:Q.root),mouseEnterDelay:I,arrow:re},C),F())},E=(0,K.forwardRef)(g),S=E},639:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return m}});var N=u(54476),O=u(20068),K=u(33885),Y=u(42978),j=u(75931),p=u(59301),U=u(92310),$=u.n(U),e=u(26112),s=u(30699),d=function(l){for(var P=l.prefixCls,k=l.level,M=l.isStart,I=l.isEnd,G="".concat(P,"-indent-unit"),L=[],ge=0;ge<k;ge+=1)L.push(p.createElement("span",{key:ge,className:$()(G,(0,O.Z)((0,O.Z)({},"".concat(G,"-start"),M[ge]),"".concat(G,"-end"),I[ge]))}));return p.createElement("span",{"aria-hidden":"true",className:"".concat(P,"-indent")},L)},t=p.memo(d),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"],g="open",E="close",S="---",_=function(l){var P,k,M,I=l.eventKey,G=l.className,L=l.style,ge=l.dragOver,b=l.dragOverGapTop,h=l.dragOverGapBottom,w=l.isLeaf,R=l.isStart,D=l.isEnd,x=l.expanded,n=l.selected,i=l.checked,y=l.halfChecked,A=l.loading,le=l.domRef,we=l.active,Oe=l.data,je=l.onMouseMove,Ye=l.selectable,At=(0,j.Z)(l,o),xe=p.useContext(s.k),qe=p.useContext(s.y),Ze=p.useRef(null),pe=p.useState(!1),ue=(0,Y.Z)(pe,2),re=ue[0],W=ue[1],Q=!!(xe.disabled||l.disabled||(P=qe.nodeDisabled)!==null&&P!==void 0&&P.call(qe,Oe)),c=p.useMemo(function(){return!xe.checkable||l.checkable===!1?!1:xe.checkable},[xe.checkable,l.checkable]),B=function(ft){Q||xe.onNodeSelect(ft,(0,a.F)(l))},q=function(ft){Q||!c||l.disableCheckbox||xe.onNodeCheck(ft,(0,a.F)(l),!i)},C=p.useMemo(function(){return typeof Ye=="boolean"?Ye:xe.selectable},[Ye,xe.selectable]),v=function(ft){xe.onNodeClick(ft,(0,a.F)(l)),C?B(ft):q(ft)},F=function(ft){xe.onNodeDoubleClick(ft,(0,a.F)(l))},ee=function(ft){xe.onNodeMouseEnter(ft,(0,a.F)(l))},Z=function(ft){xe.onNodeMouseLeave(ft,(0,a.F)(l))},V=function(ft){xe.onNodeContextMenu(ft,(0,a.F)(l))},z=p.useMemo(function(){return!!(xe.draggable&&(!xe.draggable.nodeDraggable||xe.draggable.nodeDraggable(Oe)))},[xe.draggable,Oe]),fe=function(ft){ft.stopPropagation(),W(!0),xe.onNodeDragStart(ft,l);try{ft.dataTransfer.setData("text/plain","")}catch(yt){}},se=function(ft){ft.preventDefault(),ft.stopPropagation(),xe.onNodeDragEnter(ft,l)},Ce=function(ft){ft.preventDefault(),ft.stopPropagation(),xe.onNodeDragOver(ft,l)},Ae=function(ft){ft.stopPropagation(),xe.onNodeDragLeave(ft,l)},Xe=function(ft){ft.stopPropagation(),W(!1),xe.onNodeDragEnd(ft,l)},Le=function(ft){ft.preventDefault(),ft.stopPropagation(),W(!1),xe.onNodeDrop(ft,l)},Me=function(ft){A||xe.onNodeExpand(ft,(0,a.F)(l))},ke=p.useMemo(function(){var Tt=(0,r.Z)(xe.keyEntities,I)||{},ft=Tt.children;return!!(ft||[]).length},[xe.keyEntities,I]),st=p.useMemo(function(){return w===!1?!1:w||!xe.loadData&&!ke||xe.loadData&&l.loaded&&!ke},[w,xe.loadData,ke,l.loaded]);p.useEffect(function(){A||typeof xe.loadData=="function"&&x&&!st&&!l.loaded&&xe.onNodeLoad((0,a.F)(l))},[A,xe.loadData,xe.onNodeLoad,x,st,l]);var Je=p.useMemo(function(){var Tt;return(Tt=xe.draggable)!==null&&Tt!==void 0&&Tt.icon?p.createElement("span",{className:"".concat(xe.prefixCls,"-draggable-icon")},xe.draggable.icon):null},[xe.draggable]),He=function(ft){var yt=l.switcherIcon||xe.switcherIcon;return typeof yt=="function"?yt((0,K.Z)((0,K.Z)({},l),{},{isLeaf:ft})):yt},Kt=function(){if(st){var ft=He(!0);return ft!==!1?p.createElement("span",{className:$()("".concat(xe.prefixCls,"-switcher"),"".concat(xe.prefixCls,"-switcher-noop"))},ft):null}var yt=He(!1);return yt!==!1?p.createElement("span",{onClick:Me,className:$()("".concat(xe.prefixCls,"-switcher"),"".concat(xe.prefixCls,"-switcher_").concat(x?g:E))},yt):null},St=p.useMemo(function(){if(!c)return null;var Tt=typeof c!="boolean"?c:null;return p.createElement("span",{className:$()("".concat(xe.prefixCls,"-checkbox"),(0,O.Z)((0,O.Z)((0,O.Z)({},"".concat(xe.prefixCls,"-checkbox-checked"),i),"".concat(xe.prefixCls,"-checkbox-indeterminate"),!i&&y),"".concat(xe.prefixCls,"-checkbox-disabled"),Q||l.disableCheckbox)),onClick:q,role:"checkbox","aria-checked":y?"mixed":i,"aria-disabled":Q||l.disableCheckbox,"aria-label":"Select ".concat(typeof l.title=="string"?l.title:"tree node")},Tt)},[c,i,y,Q,l.disableCheckbox,l.title]),De=p.useMemo(function(){return st?null:x?g:E},[st,x]),Vt=p.useMemo(function(){return p.createElement("span",{className:$()("".concat(xe.prefixCls,"-iconEle"),"".concat(xe.prefixCls,"-icon__").concat(De||"docu"),(0,O.Z)({},"".concat(xe.prefixCls,"-icon_loading"),A))})},[xe.prefixCls,De,A]),dn=p.useMemo(function(){var Tt=!!xe.draggable,ft=!l.disabled&&Tt&&xe.dragOverNodeKey===I;return ft?xe.dropIndicatorRender({dropPosition:xe.dropPosition,dropLevelOffset:xe.dropLevelOffset,indent:xe.indent,prefixCls:xe.prefixCls,direction:xe.direction}):null},[xe.dropPosition,xe.dropLevelOffset,xe.indent,xe.prefixCls,xe.direction,xe.draggable,xe.dragOverNodeKey,xe.dropIndicatorRender]),Rt=p.useMemo(function(){var Tt=l.title,ft=Tt===void 0?S:Tt,yt="".concat(xe.prefixCls,"-node-content-wrapper"),Bn;if(xe.showIcon){var mn=l.icon||xe.icon;Bn=mn?p.createElement("span",{className:$()("".concat(xe.prefixCls,"-iconEle"),"".concat(xe.prefixCls,"-icon__customize"))},typeof mn=="function"?mn(l):mn):Vt}else xe.loadData&&A&&(Bn=Vt);var Ln;return typeof ft=="function"?Ln=ft(Oe):xe.titleRender?Ln=xe.titleRender(Oe):Ln=ft,p.createElement("span",{ref:Ze,title:typeof ft=="string"?ft:"",className:$()(yt,"".concat(yt,"-").concat(De||"normal"),(0,O.Z)({},"".concat(xe.prefixCls,"-node-selected"),!Q&&(n||re))),onMouseEnter:ee,onMouseLeave:Z,onContextMenu:V,onClick:v,onDoubleClick:F},Bn,p.createElement("span",{className:"".concat(xe.prefixCls,"-title")},Ln),dn)},[xe.prefixCls,xe.showIcon,l,xe.icon,Vt,xe.titleRender,Oe,De,ee,Z,V,v,F]),dt=(0,e.Z)(At,{aria:!0,data:!0}),Ft=(0,r.Z)(xe.keyEntities,I)||{},un=Ft.level,Ut=D[D.length-1],mt=!Q&&z,Qt=xe.draggingNodeKey===I,bn=Ye!==void 0?{"aria-selected":!!Ye}:void 0;return p.createElement("div",(0,N.Z)({ref:le,role:"treeitem","aria-expanded":w?void 0:x,className:$()(G,"".concat(xe.prefixCls,"-treenode"),(M={},(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)(M,"".concat(xe.prefixCls,"-treenode-disabled"),Q),"".concat(xe.prefixCls,"-treenode-switcher-").concat(x?"open":"close"),!w),"".concat(xe.prefixCls,"-treenode-checkbox-checked"),i),"".concat(xe.prefixCls,"-treenode-checkbox-indeterminate"),y),"".concat(xe.prefixCls,"-treenode-selected"),n),"".concat(xe.prefixCls,"-treenode-loading"),A),"".concat(xe.prefixCls,"-treenode-active"),we),"".concat(xe.prefixCls,"-treenode-leaf-last"),Ut),"".concat(xe.prefixCls,"-treenode-draggable"),z),"dragging",Qt),(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)(M,"drop-target",xe.dropTargetKey===I),"drop-container",xe.dropContainerKey===I),"drag-over",!Q&&ge),"drag-over-gap-top",!Q&&b),"drag-over-gap-bottom",!Q&&h),"filter-node",(k=xe.filterTreeNode)===null||k===void 0?void 0:k.call(xe,(0,a.F)(l))),"".concat(xe.prefixCls,"-treenode-leaf"),st))),style:L,draggable:mt,onDragStart:mt?fe:void 0,onDragEnter:z?se:void 0,onDragOver:z?Ce:void 0,onDragLeave:z?Ae:void 0,onDrop:z?Le:void 0,onDragEnd:z?Xe:void 0,onMouseMove:je},bn,dt),p.createElement(t,{prefixCls:xe.prefixCls,level:un,isStart:R,isEnd:D}),Je,Kt(),St,Rt)};_.isTreeNode=1;var m=_},30699:function(Lt,Te,u){"use strict";u.d(Te,{k:function(){return O},y:function(){return K}});var N=u(59301),O=N.createContext(null),K=N.createContext({})},3741:function(Lt,Te,u){"use strict";u.d(Te,{OF:function(){return I.Z},y6:function(){return E.y},ZP:function(){return Q}});var N=u(54476),O=u(76190),K=u(33885),Y=u(94480),j=u(67732),p=u(83652),U=u(31226),$=u(42403),e=u(158),s=u(20068),d=u(92310),t=u.n(d),r=u(10228),a=u(26112),o=u(48736),g=u(59301),E=u(30699),S=function(B){var q=B.dropPosition,C=B.dropLevelOffset,v=B.indent,F={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(q){case-1:F.top=0,F.left=-C*v;break;case 1:F.bottom=0,F.left=-C*v;break;case 0:F.bottom=0,F.left=v;break}return g.createElement("div",{style:F})},_=S;function m(c){if(c==null)throw new TypeError("Cannot destructure "+c)}var f=u(42978),l=u(75931),P=u(34280),k=u(6790),M=u(77900),I=u(639);function G(c,B){var q=g.useState(!1),C=(0,f.Z)(q,2),v=C[0],F=C[1];(0,P.Z)(function(){if(v)return c(),function(){B()}},[v]),(0,P.Z)(function(){return F(!0),function(){F(!1)}},[])}var L=G,ge=u(34061),b=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],h=g.forwardRef(function(c,B){var q=c.className,C=c.style,v=c.motion,F=c.motionNodes,ee=c.motionType,Z=c.onMotionStart,V=c.onMotionEnd,z=c.active,fe=c.treeNodeRequiredProps,se=(0,l.Z)(c,b),Ce=g.useState(!0),Ae=(0,f.Z)(Ce,2),Xe=Ae[0],Le=Ae[1],Me=g.useContext(E.k),ke=Me.prefixCls,st=F&&ee!=="hide";(0,P.Z)(function(){F&&st!==Xe&&Le(st)},[F]);var Je=function(){F&&Z()},He=g.useRef(!1),Kt=function(){F&&!He.current&&(He.current=!0,V())};L(Je,Kt);var St=function(Vt){st===Vt&&Kt()};return F?g.createElement(M.default,(0,N.Z)({ref:B,visible:Xe},v,{motionAppear:ee==="show",onVisibleChanged:St}),function(De,Vt){var dn=De.className,Rt=De.style;return g.createElement("div",{ref:Vt,className:t()("".concat(ke,"-treenode-motion"),dn),style:Rt},F.map(function(dt){var Ft=Object.assign({},(m(dt.data),dt.data)),un=dt.title,Ut=dt.key,mt=dt.isStart,Qt=dt.isEnd;delete Ft.children;var bn=(0,ge.H8)(Ut,fe);return g.createElement(I.Z,(0,N.Z)({},Ft,bn,{title:un,active:z,data:dt.data,key:Ut,isStart:mt,isEnd:Qt}))}))}):g.createElement(I.Z,(0,N.Z)({domRef:B,className:q,style:C},se,{active:z}))}),w=h;function R(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],q=c.length,C=B.length;if(Math.abs(q-C)!==1)return{add:!1,key:null};function v(F,ee){var Z=new Map;F.forEach(function(z){Z.set(z,!0)});var V=ee.filter(function(z){return!Z.has(z)});return V.length===1?V[0]:null}return q<C?{add:!0,key:v(c,B)}:{add:!1,key:v(B,c)}}function D(c,B,q){var C=c.findIndex(function(Z){return Z.key===q}),v=c[C+1],F=B.findIndex(function(Z){return Z.key===q});if(v){var ee=B.findIndex(function(Z){return Z.key===v.key});return B.slice(F+1,ee)}return B.slice(F+1)}var x=["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()),A={key:y},le={key:y,level:0,index:0,pos:"0",node:A,nodes:[A]},we={parent:null,children:[],pos:le.pos,data:A,title:null,key:y,isStart:[],isEnd:[]};function Oe(c,B,q,C){return B===!1||!q?c:c.slice(0,Math.ceil(q/C)+1)}function je(c){var B=c.key,q=c.pos;return(0,ge.km)(B,q)}function Ye(c){for(var B=String(c.data.key),q=c;q.parent;)q=q.parent,B="".concat(q.data.key," > ").concat(B);return B}var At=g.forwardRef(function(c,B){var q=c.prefixCls,C=c.data,v=c.selectable,F=c.checkable,ee=c.expandedKeys,Z=c.selectedKeys,V=c.checkedKeys,z=c.loadedKeys,fe=c.loadingKeys,se=c.halfCheckedKeys,Ce=c.keyEntities,Ae=c.disabled,Xe=c.dragging,Le=c.dragOverNodeKey,Me=c.dropPosition,ke=c.motion,st=c.height,Je=c.itemHeight,He=c.virtual,Kt=c.scrollWidth,St=c.focusable,De=c.activeItem,Vt=c.focused,dn=c.tabIndex,Rt=c.onKeyDown,dt=c.onFocus,Ft=c.onBlur,un=c.onActiveChange,Ut=c.onListChangeStart,mt=c.onListChangeEnd,Qt=(0,l.Z)(c,x),bn=g.useRef(null),Tt=g.useRef(null);g.useImperativeHandle(B,function(){return{scrollTo:function(Fe){bn.current.scrollTo(Fe)},getIndentWidth:function(){return Tt.current.offsetWidth}}});var ft=g.useState(ee),yt=(0,f.Z)(ft,2),Bn=yt[0],mn=yt[1],Ln=g.useState(C),Wn=(0,f.Z)(Ln,2),wn=Wn[0],Rn=Wn[1],Kn=g.useState(C),Nn=(0,f.Z)(Kn,2),In=Nn[0],En=Nn[1],Tn=g.useState([]),at=(0,f.Z)(Tn,2),it=at[0],en=at[1],pn=g.useState(null),An=(0,f.Z)(pn,2),J=An[0],X=An[1],Ke=g.useRef(C);Ke.current=C;function Se(){var Be=Ke.current;Rn(Be),En(Be),en([]),X(null),mt()}(0,P.Z)(function(){mn(ee);var Be=R(Bn,ee);if(Be.key!==null)if(Be.add){var Fe=wn.findIndex(function(Ie){var H=Ie.key;return H===Be.key}),nt=Oe(D(wn,C,Be.key),He,st,Je),We=wn.slice();We.splice(Fe+1,0,we),En(We),en(nt),X("show")}else{var et=C.findIndex(function(Ie){var H=Ie.key;return H===Be.key}),lt=Oe(D(C,wn,Be.key),He,st,Je),Qe=C.slice();Qe.splice(et+1,0,we),En(Qe),en(lt),X("hide")}else wn!==C&&(Rn(C),En(C))},[ee,C]),g.useEffect(function(){Xe||Se()},[Xe]);var ze=ke?In:C,Ge={expandedKeys:ee,selectedKeys:Z,loadedKeys:z,loadingKeys:fe,checkedKeys:V,halfCheckedKeys:se,dragOverNodeKey:Le,dropPosition:Me,keyEntities:Ce};return g.createElement(g.Fragment,null,Vt&&De&&g.createElement("span",{style:n,"aria-live":"assertive"},Ye(De)),g.createElement("div",null,g.createElement("input",{style:n,disabled:St===!1||Ae,tabIndex:St!==!1?dn:null,onKeyDown:Rt,onFocus:dt,onBlur:Ft,value:"",onChange:i,"aria-label":"for screen reader"})),g.createElement("div",{className:"".concat(q,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},g.createElement("div",{className:"".concat(q,"-indent")},g.createElement("div",{ref:Tt,className:"".concat(q,"-indent-unit")}))),g.createElement(k.Z,(0,N.Z)({},Qt,{data:ze,itemKey:je,height:st,fullHeight:!1,virtual:He,itemHeight:Je,scrollWidth:Kt,prefixCls:"".concat(q,"-list"),ref:bn,role:"tree",onVisibleChange:function(Fe){Fe.every(function(nt){return je(nt)!==y})&&Se()}}),function(Be){var Fe=Be.pos,nt=Object.assign({},(m(Be.data),Be.data)),We=Be.title,et=Be.key,lt=Be.isStart,Qe=Be.isEnd,Ie=(0,ge.km)(et,Fe);delete nt.key,delete nt.children;var H=(0,ge.H8)(Ie,Ge);return g.createElement(w,(0,N.Z)({},nt,H,{title:We,active:!!De&&et===De.key,pos:Fe,data:Be.data,isStart:lt,isEnd:Qe,motion:ke,motionNodes:et===y?it:null,motionType:J,onMotionStart:Ut,onMotionEnd:Se,treeNodeRequiredProps:Ge,onMouseMove:function(){un(null)}}))}))}),xe=At,qe=u(82661),Ze=u(34643),pe=u(65065),ue=10,re=function(c){(0,$.Z)(q,c);var B=(0,e.Z)(q);function q(){var C;(0,j.Z)(this,q);for(var v=arguments.length,F=new Array(v),ee=0;ee<v;ee++)F[ee]=arguments[ee];return C=B.call.apply(B,[this].concat(F)),(0,s.Z)((0,U.Z)(C),"destroyed",!1),(0,s.Z)((0,U.Z)(C),"delayedDragEnterLogic",void 0),(0,s.Z)((0,U.Z)(C),"loadingRetryTimes",{}),(0,s.Z)((0,U.Z)(C),"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,U.Z)(C),"dragStartMousePosition",null),(0,s.Z)((0,U.Z)(C),"dragNodeProps",null),(0,s.Z)((0,U.Z)(C),"currentMouseOverDroppableNodeKey",null),(0,s.Z)((0,U.Z)(C),"listRef",g.createRef()),(0,s.Z)((0,U.Z)(C),"onNodeDragStart",function(Z,V){var z=C.state,fe=z.expandedKeys,se=z.keyEntities,Ce=C.props.onDragStart,Ae=V.eventKey;C.dragNodeProps=V,C.dragStartMousePosition={x:Z.clientX,y:Z.clientY};var Xe=(0,qe._5)(fe,Ae);C.setState({draggingNodeKey:Ae,dragChildrenKeys:(0,qe.wA)(Ae,se),indent:C.listRef.current.getIndentWidth()}),C.setExpandedKeys(Xe),window.addEventListener("dragend",C.onWindowDragEnd),Ce==null||Ce({event:Z,node:(0,ge.F)(V)})}),(0,s.Z)((0,U.Z)(C),"onNodeDragEnter",function(Z,V){var z=C.state,fe=z.expandedKeys,se=z.keyEntities,Ce=z.dragChildrenKeys,Ae=z.flattenNodes,Xe=z.indent,Le=C.props,Me=Le.onDragEnter,ke=Le.onExpand,st=Le.allowDrop,Je=Le.direction,He=V.pos,Kt=V.eventKey;if(C.currentMouseOverDroppableNodeKey!==Kt&&(C.currentMouseOverDroppableNodeKey=Kt),!C.dragNodeProps){C.resetDragState();return}var St=(0,qe.OM)(Z,C.dragNodeProps,V,Xe,C.dragStartMousePosition,st,Ae,se,fe,Je),De=St.dropPosition,Vt=St.dropLevelOffset,dn=St.dropTargetKey,Rt=St.dropContainerKey,dt=St.dropTargetPos,Ft=St.dropAllowed,un=St.dragOverNodeKey;if(Ce.includes(dn)||!Ft){C.resetDragState();return}if(C.delayedDragEnterLogic||(C.delayedDragEnterLogic={}),Object.keys(C.delayedDragEnterLogic).forEach(function(Ut){clearTimeout(C.delayedDragEnterLogic[Ut])}),C.dragNodeProps.eventKey!==V.eventKey&&(Z.persist(),C.delayedDragEnterLogic[He]=window.setTimeout(function(){if(C.state.draggingNodeKey!==null){var Ut=(0,Y.Z)(fe),mt=(0,pe.Z)(se,V.eventKey);mt&&(mt.children||[]).length&&(Ut=(0,qe.L0)(fe,V.eventKey)),C.props.hasOwnProperty("expandedKeys")||C.setExpandedKeys(Ut),ke==null||ke(Ut,{node:(0,ge.F)(V),expanded:!0,nativeEvent:Z.nativeEvent})}},800)),C.dragNodeProps.eventKey===dn&&Vt===0){C.resetDragState();return}C.setState({dragOverNodeKey:un,dropPosition:De,dropLevelOffset:Vt,dropTargetKey:dn,dropContainerKey:Rt,dropTargetPos:dt,dropAllowed:Ft}),Me==null||Me({event:Z,node:(0,ge.F)(V),expandedKeys:fe})}),(0,s.Z)((0,U.Z)(C),"onNodeDragOver",function(Z,V){var z=C.state,fe=z.dragChildrenKeys,se=z.flattenNodes,Ce=z.keyEntities,Ae=z.expandedKeys,Xe=z.indent,Le=C.props,Me=Le.onDragOver,ke=Le.allowDrop,st=Le.direction;if(C.dragNodeProps){var Je=(0,qe.OM)(Z,C.dragNodeProps,V,Xe,C.dragStartMousePosition,ke,se,Ce,Ae,st),He=Je.dropPosition,Kt=Je.dropLevelOffset,St=Je.dropTargetKey,De=Je.dropContainerKey,Vt=Je.dropTargetPos,dn=Je.dropAllowed,Rt=Je.dragOverNodeKey;fe.includes(St)||!dn||(C.dragNodeProps.eventKey===St&&Kt===0?C.state.dropPosition===null&&C.state.dropLevelOffset===null&&C.state.dropTargetKey===null&&C.state.dropContainerKey===null&&C.state.dropTargetPos===null&&C.state.dropAllowed===!1&&C.state.dragOverNodeKey===null||C.resetDragState():He===C.state.dropPosition&&Kt===C.state.dropLevelOffset&&St===C.state.dropTargetKey&&De===C.state.dropContainerKey&&Vt===C.state.dropTargetPos&&dn===C.state.dropAllowed&&Rt===C.state.dragOverNodeKey||C.setState({dropPosition:He,dropLevelOffset:Kt,dropTargetKey:St,dropContainerKey:De,dropTargetPos:Vt,dropAllowed:dn,dragOverNodeKey:Rt}),Me==null||Me({event:Z,node:(0,ge.F)(V)}))}}),(0,s.Z)((0,U.Z)(C),"onNodeDragLeave",function(Z,V){C.currentMouseOverDroppableNodeKey===V.eventKey&&!Z.currentTarget.contains(Z.relatedTarget)&&(C.resetDragState(),C.currentMouseOverDroppableNodeKey=null);var z=C.props.onDragLeave;z==null||z({event:Z,node:(0,ge.F)(V)})}),(0,s.Z)((0,U.Z)(C),"onWindowDragEnd",function(Z){C.onNodeDragEnd(Z,null,!0),window.removeEventListener("dragend",C.onWindowDragEnd)}),(0,s.Z)((0,U.Z)(C),"onNodeDragEnd",function(Z,V){var z=C.props.onDragEnd;C.setState({dragOverNodeKey:null}),C.cleanDragState(),z==null||z({event:Z,node:(0,ge.F)(V)}),C.dragNodeProps=null,window.removeEventListener("dragend",C.onWindowDragEnd)}),(0,s.Z)((0,U.Z)(C),"onNodeDrop",function(Z,V){var z,fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,se=C.state,Ce=se.dragChildrenKeys,Ae=se.dropPosition,Xe=se.dropTargetKey,Le=se.dropTargetPos,Me=se.dropAllowed;if(Me){var ke=C.props.onDrop;if(C.setState({dragOverNodeKey:null}),C.cleanDragState(),Xe!==null){var st=(0,K.Z)((0,K.Z)({},(0,ge.H8)(Xe,C.getTreeNodeRequiredProps())),{},{active:((z=C.getActiveItem())===null||z===void 0?void 0:z.key)===Xe,data:(0,pe.Z)(C.state.keyEntities,Xe).node}),Je=Ce.includes(Xe);(0,o.ZP)(!Je,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var He=(0,qe.yx)(Le),Kt={event:Z,node:(0,ge.F)(st),dragNode:C.dragNodeProps?(0,ge.F)(C.dragNodeProps):null,dragNodesKeys:[C.dragNodeProps.eventKey].concat(Ce),dropToGap:Ae!==0,dropPosition:Ae+Number(He[He.length-1])};fe||ke==null||ke(Kt),C.dragNodeProps=null}}}),(0,s.Z)((0,U.Z)(C),"cleanDragState",function(){var Z=C.state.draggingNodeKey;Z!==null&&C.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),C.dragStartMousePosition=null,C.currentMouseOverDroppableNodeKey=null}),(0,s.Z)((0,U.Z)(C),"triggerExpandActionExpand",function(Z,V){var z=C.state,fe=z.expandedKeys,se=z.flattenNodes,Ce=V.expanded,Ae=V.key,Xe=V.isLeaf;if(!(Xe||Z.shiftKey||Z.metaKey||Z.ctrlKey)){var Le=se.filter(function(ke){return ke.key===Ae})[0],Me=(0,ge.F)((0,K.Z)((0,K.Z)({},(0,ge.H8)(Ae,C.getTreeNodeRequiredProps())),{},{data:Le.data}));C.setExpandedKeys(Ce?(0,qe._5)(fe,Ae):(0,qe.L0)(fe,Ae)),C.onNodeExpand(Z,Me)}}),(0,s.Z)((0,U.Z)(C),"onNodeClick",function(Z,V){var z=C.props,fe=z.onClick,se=z.expandAction;se==="click"&&C.triggerExpandActionExpand(Z,V),fe==null||fe(Z,V)}),(0,s.Z)((0,U.Z)(C),"onNodeDoubleClick",function(Z,V){var z=C.props,fe=z.onDoubleClick,se=z.expandAction;se==="doubleClick"&&C.triggerExpandActionExpand(Z,V),fe==null||fe(Z,V)}),(0,s.Z)((0,U.Z)(C),"onNodeSelect",function(Z,V){var z=C.state.selectedKeys,fe=C.state,se=fe.keyEntities,Ce=fe.fieldNames,Ae=C.props,Xe=Ae.onSelect,Le=Ae.multiple,Me=V.selected,ke=V[Ce.key],st=!Me;st?Le?z=(0,qe.L0)(z,ke):z=[ke]:z=(0,qe._5)(z,ke);var Je=z.map(function(He){var Kt=(0,pe.Z)(se,He);return Kt?Kt.node:null}).filter(Boolean);C.setUncontrolledState({selectedKeys:z}),Xe==null||Xe(z,{event:"select",selected:st,node:V,selectedNodes:Je,nativeEvent:Z.nativeEvent})}),(0,s.Z)((0,U.Z)(C),"onNodeCheck",function(Z,V,z){var fe=C.state,se=fe.keyEntities,Ce=fe.checkedKeys,Ae=fe.halfCheckedKeys,Xe=C.props,Le=Xe.checkStrictly,Me=Xe.onCheck,ke=V.key,st,Je={event:"check",node:V,checked:z,nativeEvent:Z.nativeEvent};if(Le){var He=z?(0,qe.L0)(Ce,ke):(0,qe._5)(Ce,ke),Kt=(0,qe._5)(Ae,ke);st={checked:He,halfChecked:Kt},Je.checkedNodes=He.map(function(dt){return(0,pe.Z)(se,dt)}).filter(Boolean).map(function(dt){return dt.node}),C.setUncontrolledState({checkedKeys:He})}else{var St=(0,Ze.S)([].concat((0,Y.Z)(Ce),[ke]),!0,se),De=St.checkedKeys,Vt=St.halfCheckedKeys;if(!z){var dn=new Set(De);dn.delete(ke);var Rt=(0,Ze.S)(Array.from(dn),{checked:!1,halfCheckedKeys:Vt},se);De=Rt.checkedKeys,Vt=Rt.halfCheckedKeys}st=De,Je.checkedNodes=[],Je.checkedNodesPositions=[],Je.halfCheckedKeys=Vt,De.forEach(function(dt){var Ft=(0,pe.Z)(se,dt);if(Ft){var un=Ft.node,Ut=Ft.pos;Je.checkedNodes.push(un),Je.checkedNodesPositions.push({node:un,pos:Ut})}}),C.setUncontrolledState({checkedKeys:De},!1,{halfCheckedKeys:Vt})}Me==null||Me(st,Je)}),(0,s.Z)((0,U.Z)(C),"onNodeLoad",function(Z){var V,z=Z.key,fe=C.state.keyEntities,se=(0,pe.Z)(fe,z);if(!(se!=null&&(V=se.children)!==null&&V!==void 0&&V.length)){var Ce=new Promise(function(Ae,Xe){C.setState(function(Le){var Me=Le.loadedKeys,ke=Me===void 0?[]:Me,st=Le.loadingKeys,Je=st===void 0?[]:st,He=C.props,Kt=He.loadData,St=He.onLoad;if(!Kt||ke.includes(z)||Je.includes(z))return null;var De=Kt(Z);return De.then(function(){var Vt=C.state.loadedKeys,dn=(0,qe.L0)(Vt,z);St==null||St(dn,{event:"load",node:Z}),C.setUncontrolledState({loadedKeys:dn}),C.setState(function(Rt){return{loadingKeys:(0,qe._5)(Rt.loadingKeys,z)}}),Ae()}).catch(function(Vt){if(C.setState(function(Rt){return{loadingKeys:(0,qe._5)(Rt.loadingKeys,z)}}),C.loadingRetryTimes[z]=(C.loadingRetryTimes[z]||0)+1,C.loadingRetryTimes[z]>=ue){var dn=C.state.loadedKeys;(0,o.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),C.setUncontrolledState({loadedKeys:(0,qe.L0)(dn,z)}),Ae()}Xe(Vt)}),{loadingKeys:(0,qe.L0)(Je,z)}})});return Ce.catch(function(){}),Ce}}),(0,s.Z)((0,U.Z)(C),"onNodeMouseEnter",function(Z,V){var z=C.props.onMouseEnter;z==null||z({event:Z,node:V})}),(0,s.Z)((0,U.Z)(C),"onNodeMouseLeave",function(Z,V){var z=C.props.onMouseLeave;z==null||z({event:Z,node:V})}),(0,s.Z)((0,U.Z)(C),"onNodeContextMenu",function(Z,V){var z=C.props.onRightClick;z&&(Z.preventDefault(),z({event:Z,node:V}))}),(0,s.Z)((0,U.Z)(C),"onFocus",function(){var Z=C.props.onFocus;C.setState({focused:!0});for(var V=arguments.length,z=new Array(V),fe=0;fe<V;fe++)z[fe]=arguments[fe];Z==null||Z.apply(void 0,z)}),(0,s.Z)((0,U.Z)(C),"onBlur",function(){var Z=C.props.onBlur;C.setState({focused:!1}),C.onActiveChange(null);for(var V=arguments.length,z=new Array(V),fe=0;fe<V;fe++)z[fe]=arguments[fe];Z==null||Z.apply(void 0,z)}),(0,s.Z)((0,U.Z)(C),"getTreeNodeRequiredProps",function(){var Z=C.state,V=Z.expandedKeys,z=Z.selectedKeys,fe=Z.loadedKeys,se=Z.loadingKeys,Ce=Z.checkedKeys,Ae=Z.halfCheckedKeys,Xe=Z.dragOverNodeKey,Le=Z.dropPosition,Me=Z.keyEntities;return{expandedKeys:V||[],selectedKeys:z||[],loadedKeys:fe||[],loadingKeys:se||[],checkedKeys:Ce||[],halfCheckedKeys:Ae||[],dragOverNodeKey:Xe,dropPosition:Le,keyEntities:Me}}),(0,s.Z)((0,U.Z)(C),"setExpandedKeys",function(Z){var V=C.state,z=V.treeData,fe=V.fieldNames,se=(0,ge.oH)(z,Z,fe);C.setUncontrolledState({expandedKeys:Z,flattenNodes:se},!0)}),(0,s.Z)((0,U.Z)(C),"onNodeExpand",function(Z,V){var z=C.state.expandedKeys,fe=C.state,se=fe.listChanging,Ce=fe.fieldNames,Ae=C.props,Xe=Ae.onExpand,Le=Ae.loadData,Me=V.expanded,ke=V[Ce.key];if(!se){var st=z.includes(ke),Je=!Me;if((0,o.ZP)(Me&&st||!Me&&!st,"Expand state not sync with index check"),z=Je?(0,qe.L0)(z,ke):(0,qe._5)(z,ke),C.setExpandedKeys(z),Xe==null||Xe(z,{node:V,expanded:Je,nativeEvent:Z.nativeEvent}),Je&&Le){var He=C.onNodeLoad(V);He&&He.then(function(){var Kt=(0,ge.oH)(C.state.treeData,z,Ce);C.setUncontrolledState({flattenNodes:Kt})}).catch(function(){var Kt=C.state.expandedKeys,St=(0,qe._5)(Kt,ke);C.setExpandedKeys(St)})}}}),(0,s.Z)((0,U.Z)(C),"onListChangeStart",function(){C.setUncontrolledState({listChanging:!0})}),(0,s.Z)((0,U.Z)(C),"onListChangeEnd",function(){setTimeout(function(){C.setUncontrolledState({listChanging:!1})})}),(0,s.Z)((0,U.Z)(C),"onActiveChange",function(Z){var V=C.state.activeKey,z=C.props,fe=z.onActiveChange,se=z.itemScrollOffset,Ce=se===void 0?0:se;V!==Z&&(C.setState({activeKey:Z}),Z!==null&&C.scrollTo({key:Z,offset:Ce}),fe==null||fe(Z))}),(0,s.Z)((0,U.Z)(C),"getActiveItem",function(){var Z=C.state,V=Z.activeKey,z=Z.flattenNodes;return V===null?null:z.find(function(fe){var se=fe.key;return se===V})||null}),(0,s.Z)((0,U.Z)(C),"offsetActiveKey",function(Z){var V=C.state,z=V.flattenNodes,fe=V.activeKey,se=z.findIndex(function(Xe){var Le=Xe.key;return Le===fe});se===-1&&Z<0&&(se=z.length),se=(se+Z+z.length)%z.length;var Ce=z[se];if(Ce){var Ae=Ce.key;C.onActiveChange(Ae)}else C.onActiveChange(null)}),(0,s.Z)((0,U.Z)(C),"onKeyDown",function(Z){var V=C.state,z=V.activeKey,fe=V.expandedKeys,se=V.checkedKeys,Ce=V.fieldNames,Ae=C.props,Xe=Ae.onKeyDown,Le=Ae.checkable,Me=Ae.selectable;switch(Z.which){case r.Z.UP:{C.offsetActiveKey(-1),Z.preventDefault();break}case r.Z.DOWN:{C.offsetActiveKey(1),Z.preventDefault();break}}var ke=C.getActiveItem();if(ke&&ke.data){var st=C.getTreeNodeRequiredProps(),Je=ke.data.isLeaf===!1||!!(ke.data[Ce.children]||[]).length,He=(0,ge.F)((0,K.Z)((0,K.Z)({},(0,ge.H8)(z,st)),{},{data:ke.data,active:!0}));switch(Z.which){case r.Z.LEFT:{Je&&fe.includes(z)?C.onNodeExpand({},He):ke.parent&&C.onActiveChange(ke.parent.key),Z.preventDefault();break}case r.Z.RIGHT:{Je&&!fe.includes(z)?C.onNodeExpand({},He):ke.children&&ke.children.length&&C.onActiveChange(ke.children[0].key),Z.preventDefault();break}case r.Z.ENTER:case r.Z.SPACE:{Le&&!He.disabled&&He.checkable!==!1&&!He.disableCheckbox?C.onNodeCheck({},He,!se.includes(z)):!Le&&Me&&!He.disabled&&He.selectable!==!1&&C.onNodeSelect({},He);break}}}Xe==null||Xe(Z)}),(0,s.Z)((0,U.Z)(C),"setUncontrolledState",function(Z){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!C.destroyed){var fe=!1,se=!0,Ce={};Object.keys(Z).forEach(function(Ae){if(C.props.hasOwnProperty(Ae)){se=!1;return}fe=!0,Ce[Ae]=Z[Ae]}),fe&&(!V||se)&&C.setState((0,K.Z)((0,K.Z)({},Ce),z))}}),(0,s.Z)((0,U.Z)(C),"scrollTo",function(Z){C.listRef.current.scrollTo(Z)}),C}return(0,p.Z)(q,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var v=this.props,F=v.activeKey,ee=v.itemScrollOffset,Z=ee===void 0?0:ee;F!==void 0&&F!==this.state.activeKey&&(this.setState({activeKey:F}),F!==null&&this.scrollTo({key:F,offset:Z}))}},{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 v=this.state,F=v.focused,ee=v.flattenNodes,Z=v.keyEntities,V=v.draggingNodeKey,z=v.activeKey,fe=v.dropLevelOffset,se=v.dropContainerKey,Ce=v.dropTargetKey,Ae=v.dropPosition,Xe=v.dragOverNodeKey,Le=v.indent,Me=this.props,ke=Me.prefixCls,st=Me.className,Je=Me.style,He=Me.showLine,Kt=Me.focusable,St=Me.tabIndex,De=St===void 0?0:St,Vt=Me.selectable,dn=Me.showIcon,Rt=Me.icon,dt=Me.switcherIcon,Ft=Me.draggable,un=Me.checkable,Ut=Me.checkStrictly,mt=Me.disabled,Qt=Me.motion,bn=Me.loadData,Tt=Me.filterTreeNode,ft=Me.height,yt=Me.itemHeight,Bn=Me.scrollWidth,mn=Me.virtual,Ln=Me.titleRender,Wn=Me.dropIndicatorRender,wn=Me.onContextMenu,Rn=Me.onScroll,Kn=Me.direction,Nn=Me.rootClassName,In=Me.rootStyle,En=(0,a.Z)(this.props,{aria:!0,data:!0}),Tn;Ft&&((0,O.Z)(Ft)==="object"?Tn=Ft:typeof Ft=="function"?Tn={nodeDraggable:Ft}:Tn={});var at={prefixCls:ke,selectable:Vt,showIcon:dn,icon:Rt,switcherIcon:dt,draggable:Tn,draggingNodeKey:V,checkable:un,checkStrictly:Ut,disabled:mt,keyEntities:Z,dropLevelOffset:fe,dropContainerKey:se,dropTargetKey:Ce,dropPosition:Ae,dragOverNodeKey:Xe,indent:Le,direction:Kn,dropIndicatorRender:Wn,loadData:bn,filterTreeNode:Tt,titleRender:Ln,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return g.createElement(E.k.Provider,{value:at},g.createElement("div",{className:t()(ke,st,Nn,(0,s.Z)((0,s.Z)((0,s.Z)({},"".concat(ke,"-show-line"),He),"".concat(ke,"-focused"),F),"".concat(ke,"-active-focused"),z!==null)),style:In},g.createElement(xe,(0,N.Z)({ref:this.listRef,prefixCls:ke,style:Je,data:ee,disabled:mt,selectable:Vt,checkable:!!un,motion:Qt,dragging:V!==null,height:ft,itemHeight:yt,virtual:mn,focusable:Kt,focused:F,tabIndex:De,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:wn,onScroll:Rn,scrollWidth:Bn},this.getTreeNodeRequiredProps(),En))))}}],[{key:"getDerivedStateFromProps",value:function(v,F){var ee=F.prevProps,Z={prevProps:v};function V(De){return!ee&&v.hasOwnProperty(De)||ee&&ee[De]!==v[De]}var z,fe=F.fieldNames;if(V("fieldNames")&&(fe=(0,ge.w$)(v.fieldNames),Z.fieldNames=fe),V("treeData")?z=v.treeData:V("children")&&((0,o.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),z=(0,ge.zn)(v.children)),z){Z.treeData=z;var se=(0,ge.I8)(z,{fieldNames:fe});Z.keyEntities=(0,K.Z)((0,s.Z)({},y,le),se.keyEntities)}var Ce=Z.keyEntities||F.keyEntities;if(V("expandedKeys")||ee&&V("autoExpandParent"))Z.expandedKeys=v.autoExpandParent||!ee&&v.defaultExpandParent?(0,qe.r7)(v.expandedKeys,Ce):v.expandedKeys;else if(!ee&&v.defaultExpandAll){var Ae=(0,K.Z)({},Ce);delete Ae[y];var Xe=[];Object.keys(Ae).forEach(function(De){var Vt=Ae[De];Vt.children&&Vt.children.length&&Xe.push(Vt.key)}),Z.expandedKeys=Xe}else!ee&&v.defaultExpandedKeys&&(Z.expandedKeys=v.autoExpandParent||v.defaultExpandParent?(0,qe.r7)(v.defaultExpandedKeys,Ce):v.defaultExpandedKeys);if(Z.expandedKeys||delete Z.expandedKeys,z||Z.expandedKeys){var Le=(0,ge.oH)(z||F.treeData,Z.expandedKeys||F.expandedKeys,fe);Z.flattenNodes=Le}if(v.selectable&&(V("selectedKeys")?Z.selectedKeys=(0,qe.BT)(v.selectedKeys,v):!ee&&v.defaultSelectedKeys&&(Z.selectedKeys=(0,qe.BT)(v.defaultSelectedKeys,v))),v.checkable){var Me;if(V("checkedKeys")?Me=(0,qe.E6)(v.checkedKeys)||{}:!ee&&v.defaultCheckedKeys?Me=(0,qe.E6)(v.defaultCheckedKeys)||{}:z&&(Me=(0,qe.E6)(v.checkedKeys)||{checkedKeys:F.checkedKeys,halfCheckedKeys:F.halfCheckedKeys}),Me){var ke=Me,st=ke.checkedKeys,Je=st===void 0?[]:st,He=ke.halfCheckedKeys,Kt=He===void 0?[]:He;if(!v.checkStrictly){var St=(0,Ze.S)(Je,!0,Ce);Je=St.checkedKeys,Kt=St.halfCheckedKeys}Z.checkedKeys=Je,Z.halfCheckedKeys=Kt}}return V("loadedKeys")&&(Z.loadedKeys=v.loadedKeys),Z}}]),q}(g.Component);(0,s.Z)(re,"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)(re,"TreeNode",I.Z);var W=re,Q=W},82661:function(Lt,Te,u){"use strict";u.d(Te,{BT:function(){return g},E6:function(){return _},L0:function(){return s},OM:function(){return o},_5:function(){return e},r7:function(){return m},wA:function(){return t},yx:function(){return d}});var N=u(94480),O=u(76190),K=u(48736),Y=u(59301),j=u(639),p=u(65065),U=u(34061),$=null;function e(f,l){if(!f)return[];var P=f.slice(),k=P.indexOf(l);return k>=0&&P.splice(k,1),P}function s(f,l){var P=(f||[]).slice();return P.indexOf(l)===-1&&P.push(l),P}function d(f){return f.split("-")}function t(f,l){var P=[],k=(0,p.Z)(l,f);function M(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];I.forEach(function(G){var L=G.key,ge=G.children;P.push(L),M(ge)})}return M(k.children),P}function r(f){if(f.parent){var l=d(f.pos);return Number(l[l.length-1])===f.parent.children.length-1}return!1}function a(f){var l=d(f.pos);return Number(l[l.length-1])===0}function o(f,l,P,k,M,I,G,L,ge,b){var h,w=f.clientX,R=f.clientY,D=f.target.getBoundingClientRect(),x=D.top,n=D.height,i=(b==="rtl"?-1:1)*(((M==null?void 0:M.x)||0)-w),y=(i-12)/k,A=ge.filter(function(Q){var c;return(c=L[Q])===null||c===void 0||(c=c.children)===null||c===void 0?void 0:c.length}),le=(0,p.Z)(L,P.eventKey);if(R<x+n/2){var we=G.findIndex(function(Q){return Q.key===le.key}),Oe=we<=0?0:we-1,je=G[Oe].key;le=(0,p.Z)(L,je)}var Ye=le.key,At=le,xe=le.key,qe=0,Ze=0;if(!A.includes(Ye))for(var pe=0;pe<y&&r(le);pe+=1)le=le.parent,Ze+=1;var ue=l.data,re=le.node,W=!0;return a(le)&&le.level===0&&R<x+n/2&&I({dragNode:ue,dropNode:re,dropPosition:-1})&&le.key===P.eventKey?qe=-1:(At.children||[]).length&&A.includes(xe)?I({dragNode:ue,dropNode:re,dropPosition:0})?qe=0:W=!1:Ze===0?y>-1.5?I({dragNode:ue,dropNode:re,dropPosition:1})?qe=1:W=!1:I({dragNode:ue,dropNode:re,dropPosition:0})?qe=0:I({dragNode:ue,dropNode:re,dropPosition:1})?qe=1:W=!1:I({dragNode:ue,dropNode:re,dropPosition:1})?qe=1:W=!1,{dropPosition:qe,dropLevelOffset:Ze,dropTargetKey:le.key,dropTargetPos:le.pos,dragOverNodeKey:xe,dropContainerKey:qe===0?null:((h=le.parent)===null||h===void 0?void 0:h.key)||null,dropAllowed:W}}function g(f,l){if(f){var P=l.multiple;return P?f.slice():f.length?[f[0]]:f}}var E=function(l){return l};function S(f,l){if(!f)return[];var P=l||{},k=P.processProps,M=k===void 0?E:k,I=Array.isArray(f)?f:[f];return I.map(function(G){var L=G.children,ge=_objectWithoutProperties(G,$),b=S(L,l);return React.createElement(TreeNode,_extends({key:ge.key},M(ge)),b)})}function _(f){if(!f)return null;var l;if(Array.isArray(f))l={checkedKeys:f,halfCheckedKeys:void 0};else if((0,O.Z)(f)==="object")l={checkedKeys:f.checked||void 0,halfCheckedKeys:f.halfChecked||void 0};else return(0,K.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return l}function m(f,l){var P=new Set;function k(M){if(!P.has(M)){var I=(0,p.Z)(l,M);if(I){P.add(M);var G=I.parent,L=I.node;L.disabled||G&&k(G.key)}}}return(f||[]).forEach(function(M){k(M)}),(0,N.Z)(P)}},34643:function(Lt,Te,u){"use strict";u.d(Te,{S:function(){return U}});var N=u(48736),O=u(65065);function K($,e){var s=new Set;return $.forEach(function(d){e.has(d)||s.add(d)}),s}function Y($){var e=$||{},s=e.disabled,d=e.disableCheckbox,t=e.checkable;return!!(s||d)||t===!1}function j($,e,s,d){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 m=_.key,f=_.node,l=_.children,P=l===void 0?[]:l;t.has(m)&&!d(f)&&P.filter(function(k){return!d(k.node)}).forEach(function(k){t.add(k.key)})})}for(var g=new Set,E=s;E>=0;E-=1){var S=e.get(E)||new Set;S.forEach(function(_){var m=_.parent,f=_.node;if(!(d(f)||!_.parent||g.has(_.parent.key))){if(d(_.parent.node)){g.add(m.key);return}var l=!0,P=!1;(m.children||[]).filter(function(k){return!d(k.node)}).forEach(function(k){var M=k.key,I=t.has(M);l&&!I&&(l=!1),!P&&(I||r.has(M))&&(P=!0)}),l&&t.add(m.key),P&&r.add(m.key),g.add(m.key)}})}return{checkedKeys:Array.from(t),halfCheckedKeys:Array.from(K(r,t))}}function p($,e,s,d,t){for(var r=new Set($),a=new Set(e),o=0;o<=d;o+=1){var g=s.get(o)||new Set;g.forEach(function(m){var f=m.key,l=m.node,P=m.children,k=P===void 0?[]:P;!r.has(f)&&!a.has(f)&&!t(l)&&k.filter(function(M){return!t(M.node)}).forEach(function(M){r.delete(M.key)})})}a=new Set;for(var E=new Set,S=d;S>=0;S-=1){var _=s.get(S)||new Set;_.forEach(function(m){var f=m.parent,l=m.node;if(!(t(l)||!m.parent||E.has(m.parent.key))){if(t(m.parent.node)){E.add(f.key);return}var P=!0,k=!1;(f.children||[]).filter(function(M){return!t(M.node)}).forEach(function(M){var I=M.key,G=r.has(I);P&&!G&&(P=!1),!k&&(G||a.has(I))&&(k=!0)}),P||r.delete(f.key),k&&a.add(f.key),E.add(f.key)}})}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(K(a,r))}}function U($,e,s,d){var t=[],r;d?r=d:r=Y;var a=new Set($.filter(function(S){var _=!!(0,O.Z)(s,S);return _||t.push(S),_})),o=new Map,g=0;Object.keys(s).forEach(function(S){var _=s[S],m=_.level,f=o.get(m);f||(f=new Set,o.set(m,f)),f.add(_),g=Math.max(g,m)}),(0,N.ZP)(!t.length,"Tree missing follow keys: ".concat(t.slice(0,100).map(function(S){return"'".concat(S,"'")}).join(", ")));var E;return e===!0?E=j(a,o,g,r):E=p(a,e.halfCheckedKeys,o,g,r),E}},65065:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return N}});function N(O,K){return O[K]}},34061:function(Lt,Te,u){"use strict";u.d(Te,{F:function(){return m},H8:function(){return _},I8:function(){return S},km:function(){return t},oH:function(){return g},w$:function(){return r},zn:function(){return o}});var N=u(76190),O=u(94480),K=u(33885),Y=u(75931),j=u(11592),p=u(2738),U=u(48736),$=u(65065),e=["children"];function s(f,l){return"".concat(f,"-").concat(l)}function d(f){return f&&f.type&&f.type.isTreeNode}function t(f,l){return f!=null?f:l}function r(f){var l=f||{},P=l.title,k=l._title,M=l.key,I=l.children,G=P||"title";return{title:G,_title:k||[G],key:M||"key",children:I||"children"}}function a(f,l){var P=new Map;function k(M){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(M||[]).forEach(function(G){var L=G[l.key],ge=G[l.children];warning(L!=null,"Tree node must have a certain key: [".concat(I).concat(L,"]"));var b=String(L);warning(!P.has(b)||L===null||L===void 0,"Same 'key' exist in the Tree: ".concat(b)),P.set(b,!0),k(ge,"".concat(I).concat(b," > "))})}k(f)}function o(f){function l(P){var k=(0,j.Z)(P);return k.map(function(M){if(!d(M))return(0,U.ZP)(!M,"Tree/TreeNode can only accept TreeNode as children."),null;var I=M.key,G=M.props,L=G.children,ge=(0,Y.Z)(G,e),b=(0,K.Z)({key:I},ge),h=l(L);return h.length&&(b.children=h),b}).filter(function(M){return M})}return l(f)}function g(f,l,P){var k=r(P),M=k._title,I=k.key,G=k.children,L=new Set(l===!0?[]:l),ge=[];function b(h){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return h.map(function(R,D){for(var x=s(w?w.pos:"0",D),n=t(R[I],x),i,y=0;y<M.length;y+=1){var A=M[y];if(R[A]!==void 0){i=R[A];break}}var le=Object.assign((0,p.Z)(R,[].concat((0,O.Z)(M),[I,G])),{title:i,key:n,parent:w,pos:x,children:null,data:R,isStart:[].concat((0,O.Z)(w?w.isStart:[]),[D===0]),isEnd:[].concat((0,O.Z)(w?w.isEnd:[]),[D===h.length-1])});return ge.push(le),l===!0||L.has(n)?le.children=b(R[G]||[],le):le.children=[],le})}return b(f),ge}function E(f,l,P){var k={};(0,N.Z)(P)==="object"?k=P:k={externalGetKey:P},k=k||{};var M=k,I=M.childrenPropName,G=M.externalGetKey,L=M.fieldNames,ge=r(L),b=ge.key,h=ge.children,w=I||h,R;G?typeof G=="string"?R=function(n){return n[G]}:typeof G=="function"&&(R=function(n){return G(n)}):R=function(n,i){return t(n[b],i)};function D(x,n,i,y){var A=x?x[w]:f,le=x?s(i.pos,n):"0",we=x?[].concat((0,O.Z)(y),[x]):[];if(x){var Oe=R(x,le),je={node:x,index:n,pos:le,key:Oe,parentPos:i.node?i.pos:null,level:i.level+1,nodes:we};l(je)}A&&A.forEach(function(Ye,At){D(Ye,At,{node:x,pos:le,level:i?i.level+1:-1},we)})}D(null)}function S(f){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},P=l.initWrapper,k=l.processEntity,M=l.onProcessFinished,I=l.externalGetKey,G=l.childrenPropName,L=l.fieldNames,ge=arguments.length>2?arguments[2]:void 0,b=I||ge,h={},w={},R={posEntities:h,keyEntities:w};return P&&(R=P(R)||R),E(f,function(D){var x=D.node,n=D.index,i=D.pos,y=D.key,A=D.parentPos,le=D.level,we=D.nodes,Oe={node:x,nodes:we,index:n,key:y,pos:i,level:le},je=t(y,i);h[i]=Oe,w[je]=Oe,Oe.parent=h[A],Oe.parent&&(Oe.parent.children=Oe.parent.children||[],Oe.parent.children.push(Oe)),k&&k(Oe,R)},{externalGetKey:b,childrenPropName:G,fieldNames:L}),M&&M(R),R}function _(f,l){var P=l.expandedKeys,k=l.selectedKeys,M=l.loadedKeys,I=l.loadingKeys,G=l.checkedKeys,L=l.halfCheckedKeys,ge=l.dragOverNodeKey,b=l.dropPosition,h=l.keyEntities,w=(0,$.Z)(h,f),R={eventKey:f,expanded:P.indexOf(f)!==-1,selected:k.indexOf(f)!==-1,loaded:M.indexOf(f)!==-1,loading:I.indexOf(f)!==-1,checked:G.indexOf(f)!==-1,halfChecked:L.indexOf(f)!==-1,pos:String(w?w.pos:""),dragOver:ge===f&&b===0,dragOverGapTop:ge===f&&b===-1,dragOverGapBottom:ge===f&&b===1};return R}function m(f){var l=f.data,P=f.expanded,k=f.selected,M=f.checked,I=f.loaded,G=f.loading,L=f.halfChecked,ge=f.dragOver,b=f.dragOverGapTop,h=f.dragOverGapBottom,w=f.pos,R=f.active,D=f.eventKey,x=(0,K.Z)((0,K.Z)({},l),{},{expanded:P,selected:k,checked:M,loaded:I,loading:G,halfChecked:L,dragOver:ge,dragOverGapTop:b,dragOverGapBottom:h,pos:w,active:R,key:D});return"props"in x||Object.defineProperty(x,"props",{get:function(){return(0,U.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),f}}),x}},8224:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return O}});var N=u(4676);function O(K,Y,j,p){var U=N.unstable_batchedUpdates?function(e){N.unstable_batchedUpdates(j,e)}:j;return K!=null&&K.addEventListener&&K.addEventListener(Y,U,p),{remove:function(){K!=null&&K.removeEventListener&&K.removeEventListener(Y,U,p)}}}},24514:function(Lt,Te,u){"use strict";u.d(Te,{G:function(){return Y}});var N=u(47273),O=function(p){if((0,N.Z)()&&window.document.documentElement){var U=Array.isArray(p)?p:[p],$=window.document.documentElement;return U.some(function(e){return e in $.style})}return!1},K=function(p,U){if(!O(p))return!1;var $=document.createElement("div"),e=$.style[p];return $.style[p]=U,$.style[p]!==e};function Y(j,p){return!Array.isArray(j)&&p!==void 0?K(j,p):O(j)}},49658:function(Lt,Te){"use strict";Te.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))}},6790:function(Lt,Te,u){"use strict";u.d(Te,{Z:function(){return ue}});var N=u(54476),O=u(76190),K=u(33885),Y=u(20068),j=u(42978),p=u(75931),U=u(92310),$=u.n(U),e=u(29301),s=u(70425),d=u(34280),t=u(59301),r=u(4676),a=t.forwardRef(function(re,W){var Q=re.height,c=re.offsetY,B=re.offsetX,q=re.children,C=re.prefixCls,v=re.onInnerResize,F=re.innerProps,ee=re.rtl,Z=re.extra,V={},z={display:"flex",flexDirection:"column"};return c!==void 0&&(V={height:Q,position:"relative",overflow:"hidden"},z=(0,K.Z)((0,K.Z)({},z),{},(0,Y.Z)((0,Y.Z)((0,Y.Z)((0,Y.Z)((0,Y.Z)({transform:"translateY(".concat(c,"px)")},ee?"marginRight":"marginLeft",-B),"position","absolute"),"left",0),"right",0),"top",0))),t.createElement("div",{style:V},t.createElement(e.Z,{onResize:function(se){var Ce=se.offsetHeight;Ce&&v&&v()}},t.createElement("div",(0,N.Z)({style:z,className:$()((0,Y.Z)({},"".concat(C,"-holder-inner"),C)),ref:W},F),q,Z)))});a.displayName="Filler";var o=a;function g(re){var W=re.children,Q=re.setRef,c=t.useCallback(function(B){Q(B)},[]);return t.cloneElement(W,{ref:c})}function E(re,W,Q,c,B,q,C,v){var F=v.getKey;return re.slice(W,Q+1).map(function(ee,Z){var V=W+Z,z=C(ee,V,{style:{width:c},offsetX:B}),fe=F(ee);return t.createElement(g,{key:fe,setRef:function(Ce){return q(ee,Ce)}},z)})}function S(re,W,Q,c){var B=Q-re,q=W-Q,C=Math.min(B,q)*2;if(c<=C){var v=Math.floor(c/2);return c%2?Q+v+1:Q-v}return B>q?Q-(c-q):Q+(c-B)}function _(re,W,Q){var c=re.length,B=W.length,q,C;if(c===0&&B===0)return null;c<B?(q=re,C=W):(q=W,C=re);var v={__EMPTY_ITEM__:!0};function F(se){return se!==void 0?Q(se):v}for(var ee=null,Z=Math.abs(c-B)!==1,V=0;V<C.length;V+=1){var z=F(q[V]),fe=F(C[V]);if(z!==fe){ee=V,Z=Z||z!==F(C[V+1]);break}}return ee===null?null:{index:ee,multiple:Z}}function m(re,W,Q){var c=t.useState(re),B=(0,j.Z)(c,2),q=B[0],C=B[1],v=t.useState(null),F=(0,j.Z)(v,2),ee=F[0],Z=F[1];return t.useEffect(function(){var V=_(q||[],re||[],W);(V==null?void 0:V.index)!==void 0&&(Q==null||Q(V.index),Z(re[V.index])),C(re)},[re]),[ee]}var f=u(16089),l=(typeof navigator=="undefined"?"undefined":(0,O.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),P=l,k=function(re,W,Q,c){var B=(0,t.useRef)(!1),q=(0,t.useRef)(null);function C(){clearTimeout(q.current),B.current=!0,q.current=setTimeout(function(){B.current=!1},50)}var v=(0,t.useRef)({top:re,bottom:W,left:Q,right:c});return v.current.top=re,v.current.bottom=W,v.current.left=Q,v.current.right=c,function(F,ee){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,V=F?ee<0&&v.current.left||ee>0&&v.current.right:ee<0&&v.current.top||ee>0&&v.current.bottom;return Z&&V?(clearTimeout(q.current),B.current=!1):(!V||B.current)&&C(),!B.current&&V}};function M(re,W,Q,c,B,q,C){var v=(0,t.useRef)(0),F=(0,t.useRef)(null),ee=(0,t.useRef)(null),Z=(0,t.useRef)(!1),V=k(W,Q,c,B);function z(Le,Me){if(f.Z.cancel(F.current),!V(!1,Me)){var ke=Le;if(!ke._virtualHandled)ke._virtualHandled=!0;else return;v.current+=Me,ee.current=Me,P||ke.preventDefault(),F.current=(0,f.Z)(function(){var st=Z.current?10:1;C(v.current*st,!1),v.current=0})}}function fe(Le,Me){C(Me,!0),P||Le.preventDefault()}var se=(0,t.useRef)(null),Ce=(0,t.useRef)(null);function Ae(Le){if(re){f.Z.cancel(Ce.current),Ce.current=(0,f.Z)(function(){se.current=null},2);var Me=Le.deltaX,ke=Le.deltaY,st=Le.shiftKey,Je=Me,He=ke;(se.current==="sx"||!se.current&&st&&ke&&!Me)&&(Je=ke,He=0,se.current="sx");var Kt=Math.abs(Je),St=Math.abs(He);se.current===null&&(se.current=q&&Kt>St?"x":"y"),se.current==="y"?z(Le,He):fe(Le,Je)}}function Xe(Le){re&&(Z.current=Le.detail===ee.current)}return[Ae,Xe]}function I(re,W,Q,c){var B=t.useMemo(function(){return[new Map,[]]},[re,Q.id,c]),q=(0,j.Z)(B,2),C=q[0],v=q[1],F=function(Z){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Z,z=C.get(Z),fe=C.get(V);if(z===void 0||fe===void 0)for(var se=re.length,Ce=v.length;Ce<se;Ce+=1){var Ae,Xe=re[Ce],Le=W(Xe);C.set(Le,Ce);var Me=(Ae=Q.get(Le))!==null&&Ae!==void 0?Ae:c;if(v[Ce]=(v[Ce-1]||0)+Me,Le===Z&&(z=Ce),Le===V&&(fe=Ce),z!==void 0&&fe!==void 0)break}return{top:v[z-1]||0,bottom:v[fe]}};return F}var G=u(67732),L=u(83652),ge=function(){function re(){(0,G.Z)(this,re),(0,Y.Z)(this,"maps",void 0),(0,Y.Z)(this,"id",0),(0,Y.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,L.Z)(re,[{key:"set",value:function(Q,c){this.diffRecords.set(Q,this.maps[Q]),this.maps[Q]=c,this.id+=1}},{key:"get",value:function(Q){return this.maps[Q]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),re}(),b=ge;function h(re){var W=parseFloat(re);return isNaN(W)?0:W}function w(re,W,Q){var c=t.useState(0),B=(0,j.Z)(c,2),q=B[0],C=B[1],v=(0,t.useRef)(new Map),F=(0,t.useRef)(new b),ee=(0,t.useRef)(0);function Z(){ee.current+=1}function V(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Z();var se=function(){var Xe=!1;v.current.forEach(function(Le,Me){if(Le&&Le.offsetParent){var ke=Le.offsetHeight,st=getComputedStyle(Le),Je=st.marginTop,He=st.marginBottom,Kt=h(Je),St=h(He),De=ke+Kt+St;F.current.get(Me)!==De&&(F.current.set(Me,De),Xe=!0)}}),Xe&&C(function(Le){return Le+1})};if(fe)se();else{ee.current+=1;var Ce=ee.current;Promise.resolve().then(function(){Ce===ee.current&&se()})}}function z(fe,se){var Ce=re(fe),Ae=v.current.get(Ce);se?(v.current.set(Ce,se),V()):v.current.delete(Ce),!Ae!=!se&&(se?W==null||W(fe):Q==null||Q(fe))}return(0,t.useEffect)(function(){return Z},[]),[z,V,F.current,q]}var R=14/15;function D(re,W,Q){var c=(0,t.useRef)(!1),B=(0,t.useRef)(0),q=(0,t.useRef)(0),C=(0,t.useRef)(null),v=(0,t.useRef)(null),F,ee=function(fe){if(c.current){var se=Math.ceil(fe.touches[0].pageX),Ce=Math.ceil(fe.touches[0].pageY),Ae=B.current-se,Xe=q.current-Ce,Le=Math.abs(Ae)>Math.abs(Xe);Le?B.current=se:q.current=Ce;var Me=Q(Le,Le?Ae:Xe,!1,fe);Me&&fe.preventDefault(),clearInterval(v.current),Me&&(v.current=setInterval(function(){Le?Ae*=R:Xe*=R;var ke=Math.floor(Le?Ae:Xe);(!Q(Le,ke,!0)||Math.abs(ke)<=.1)&&clearInterval(v.current)},16))}},Z=function(){c.current=!1,F()},V=function(fe){F(),fe.touches.length===1&&!c.current&&(c.current=!0,B.current=Math.ceil(fe.touches[0].pageX),q.current=Math.ceil(fe.touches[0].pageY),C.current=fe.target,C.current.addEventListener("touchmove",ee,{passive:!1}),C.current.addEventListener("touchend",Z,{passive:!0}))};F=function(){C.current&&(C.current.removeEventListener("touchmove",ee),C.current.removeEventListener("touchend",Z))},(0,d.Z)(function(){return re&&W.current.addEventListener("touchstart",V,{passive:!0}),function(){var z;(z=W.current)===null||z===void 0||z.removeEventListener("touchstart",V),F(),clearInterval(v.current)}},[re])}function x(re){return Math.floor(Math.pow(re,.5))}function n(re,W){var Q="touches"in re?re.touches[0]:re;return Q[W?"pageX":"pageY"]-window[W?"scrollX":"scrollY"]}function i(re,W,Q){t.useEffect(function(){var c=W.current;if(re&&c){var B=!1,q,C,v=function(){f.Z.cancel(q)},F=function z(){v(),q=(0,f.Z)(function(){Q(C),z()})},ee=function(fe){if(!(fe.target.draggable||fe.button!==0)){var se=fe;se._virtualHandled||(se._virtualHandled=!0,B=!0)}},Z=function(){B=!1,v()},V=function(fe){if(B){var se=n(fe,!1),Ce=c.getBoundingClientRect(),Ae=Ce.top,Xe=Ce.bottom;if(se<=Ae){var Le=Ae-se;C=-x(Le),F()}else if(se>=Xe){var Me=se-Xe;C=x(Me),F()}else v()}};return c.addEventListener("mousedown",ee),c.ownerDocument.addEventListener("mouseup",Z),c.ownerDocument.addEventListener("mousemove",V),function(){c.removeEventListener("mousedown",ee),c.ownerDocument.removeEventListener("mouseup",Z),c.ownerDocument.removeEventListener("mousemove",V),v()}}},[re])}var y=10;function A(re,W,Q,c,B,q,C,v){var F=t.useRef(),ee=t.useState(null),Z=(0,j.Z)(ee,2),V=Z[0],z=Z[1];return(0,d.Z)(function(){if(V&&V.times<y){if(!re.current){z(function(Qt){return(0,K.Z)({},Qt)});return}q();var fe=V.targetAlign,se=V.originAlign,Ce=V.index,Ae=V.offset,Xe=re.current.clientHeight,Le=!1,Me=fe,ke=null;if(Xe){for(var st=fe||se,Je=0,He=0,Kt=0,St=Math.min(W.length-1,Ce),De=0;De<=St;De+=1){var Vt=B(W[De]);He=Je;var dn=Q.get(Vt);Kt=He+(dn===void 0?c:dn),Je=Kt}for(var Rt=st==="top"?Ae:Xe-Ae,dt=St;dt>=0;dt-=1){var Ft=B(W[dt]),un=Q.get(Ft);if(un===void 0){Le=!0;break}if(Rt-=un,Rt<=0)break}switch(st){case"top":ke=He-Ae;break;case"bottom":ke=Kt-Xe+Ae;break;default:{var Ut=re.current.scrollTop,mt=Ut+Xe;He<Ut?Me="top":Kt>mt&&(Me="bottom")}}ke!==null&&C(ke),ke!==V.lastTop&&(Le=!0)}Le&&z((0,K.Z)((0,K.Z)({},V),{},{times:V.times+1,targetAlign:Me,lastTop:ke}))}},[V,re.current]),function(fe){if(fe==null){v();return}if(f.Z.cancel(F.current),typeof fe=="number")C(fe);else if(fe&&(0,O.Z)(fe)==="object"){var se,Ce=fe.align;"index"in fe?se=fe.index:se=W.findIndex(function(Le){return B(Le)===fe.key});var Ae=fe.offset,Xe=Ae===void 0?0:Ae;z({times:0,index:se,offset:Xe,originAlign:Ce})}}}var le=t.forwardRef(function(re,W){var Q=re.prefixCls,c=re.rtl,B=re.scrollOffset,q=re.scrollRange,C=re.onStartMove,v=re.onStopMove,F=re.onScroll,ee=re.horizontal,Z=re.spinSize,V=re.containerSize,z=re.style,fe=re.thumbStyle,se=re.showScrollBar,Ce=t.useState(!1),Ae=(0,j.Z)(Ce,2),Xe=Ae[0],Le=Ae[1],Me=t.useState(null),ke=(0,j.Z)(Me,2),st=ke[0],Je=ke[1],He=t.useState(null),Kt=(0,j.Z)(He,2),St=Kt[0],De=Kt[1],Vt=!c,dn=t.useRef(),Rt=t.useRef(),dt=t.useState(se),Ft=(0,j.Z)(dt,2),un=Ft[0],Ut=Ft[1],mt=t.useRef(),Qt=function(){se===!0||se===!1||(clearTimeout(mt.current),Ut(!0),mt.current=setTimeout(function(){Ut(!1)},3e3))},bn=q-V||0,Tt=V-Z||0,ft=t.useMemo(function(){if(B===0||bn===0)return 0;var Nn=B/bn;return Nn*Tt},[B,bn,Tt]),yt=function(In){In.stopPropagation(),In.preventDefault()},Bn=t.useRef({top:ft,dragging:Xe,pageY:st,startTop:St});Bn.current={top:ft,dragging:Xe,pageY:st,startTop:St};var mn=function(In){Le(!0),Je(n(In,ee)),De(Bn.current.top),C(),In.stopPropagation(),In.preventDefault()};t.useEffect(function(){var Nn=function(at){at.preventDefault()},In=dn.current,En=Rt.current;return In.addEventListener("touchstart",Nn,{passive:!1}),En.addEventListener("touchstart",mn,{passive:!1}),function(){In.removeEventListener("touchstart",Nn),En.removeEventListener("touchstart",mn)}},[]);var Ln=t.useRef();Ln.current=bn;var Wn=t.useRef();Wn.current=Tt,t.useEffect(function(){if(Xe){var Nn,In=function(at){var it=Bn.current,en=it.dragging,pn=it.pageY,An=it.startTop;f.Z.cancel(Nn);var J=dn.current.getBoundingClientRect(),X=V/(ee?J.width:J.height);if(en){var Ke=(n(at,ee)-pn)*X,Se=An;!Vt&&ee?Se-=Ke:Se+=Ke;var ze=Ln.current,Ge=Wn.current,Be=Ge?Se/Ge:0,Fe=Math.ceil(Be*ze);Fe=Math.max(Fe,0),Fe=Math.min(Fe,ze),Nn=(0,f.Z)(function(){F(Fe,ee)})}},En=function(){Le(!1),v()};return window.addEventListener("mousemove",In,{passive:!0}),window.addEventListener("touchmove",In,{passive:!0}),window.addEventListener("mouseup",En,{passive:!0}),window.addEventListener("touchend",En,{passive:!0}),function(){window.removeEventListener("mousemove",In),window.removeEventListener("touchmove",In),window.removeEventListener("mouseup",En),window.removeEventListener("touchend",En),f.Z.cancel(Nn)}}},[Xe]),t.useEffect(function(){return Qt(),function(){clearTimeout(mt.current)}},[B]),t.useImperativeHandle(W,function(){return{delayHidden:Qt}});var wn="".concat(Q,"-scrollbar"),Rn={position:"absolute",visibility:un?null:"hidden"},Kn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return ee?(Object.assign(Rn,{height:8,left:0,right:0,bottom:0}),Object.assign(Kn,(0,Y.Z)({height:"100%",width:Z},Vt?"left":"right",ft))):(Object.assign(Rn,(0,Y.Z)({width:8,top:0,bottom:0},Vt?"right":"left",0)),Object.assign(Kn,{width:"100%",height:Z,top:ft})),t.createElement("div",{ref:dn,className:$()(wn,(0,Y.Z)((0,Y.Z)((0,Y.Z)({},"".concat(wn,"-horizontal"),ee),"".concat(wn,"-vertical"),!ee),"".concat(wn,"-visible"),un)),style:(0,K.Z)((0,K.Z)({},Rn),z),onMouseDown:yt,onMouseMove:Qt},t.createElement("div",{ref:Rt,className:$()("".concat(wn,"-thumb"),(0,Y.Z)({},"".concat(wn,"-thumb-moving"),Xe)),style:(0,K.Z)((0,K.Z)({},Kn),fe),onMouseDown:mn}))}),we=le,Oe=20;function je(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Q=re/W*re;return isNaN(Q)&&(Q=0),Q=Math.max(Q,Oe),Math.floor(Q)}var Ye=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],At=[],xe={overflowY:"auto",overflowAnchor:"none"};function qe(re,W){var Q=re.prefixCls,c=Q===void 0?"rc-virtual-list":Q,B=re.className,q=re.height,C=re.itemHeight,v=re.fullHeight,F=v===void 0?!0:v,ee=re.style,Z=re.data,V=re.children,z=re.itemKey,fe=re.virtual,se=re.direction,Ce=re.scrollWidth,Ae=re.component,Xe=Ae===void 0?"div":Ae,Le=re.onScroll,Me=re.onVirtualScroll,ke=re.onVisibleChange,st=re.innerProps,Je=re.extraRender,He=re.styles,Kt=re.showScrollBar,St=Kt===void 0?"optional":Kt,De=(0,p.Z)(re,Ye),Vt=t.useCallback(function(ne){return typeof z=="function"?z(ne):ne==null?void 0:ne[z]},[z]),dn=w(Vt,null,null),Rt=(0,j.Z)(dn,4),dt=Rt[0],Ft=Rt[1],un=Rt[2],Ut=Rt[3],mt=!!(fe!==!1&&q&&C),Qt=t.useMemo(function(){return Object.values(un.maps).reduce(function(ne,oe){return ne+oe},0)},[un.id,un.maps]),bn=mt&&Z&&(Math.max(C*Z.length,Qt)>q||!!Ce),Tt=se==="rtl",ft=$()(c,(0,Y.Z)({},"".concat(c,"-rtl"),Tt),B),yt=Z||At,Bn=(0,t.useRef)(),mn=(0,t.useRef)(),Ln=(0,t.useRef)(),Wn=(0,t.useState)(0),wn=(0,j.Z)(Wn,2),Rn=wn[0],Kn=wn[1],Nn=(0,t.useState)(0),In=(0,j.Z)(Nn,2),En=In[0],Tn=In[1],at=(0,t.useState)(!1),it=(0,j.Z)(at,2),en=it[0],pn=it[1],An=function(){pn(!0)},J=function(){pn(!1)},X={getKey:Vt};function Ke(ne){Kn(function(oe){var de;typeof ne=="function"?de=ne(oe):de=ne;var me=on(de);return Bn.current.scrollTop=me,me})}var Se=(0,t.useRef)({start:0,end:yt.length}),ze=(0,t.useRef)(),Ge=m(yt,Vt),Be=(0,j.Z)(Ge,1),Fe=Be[0];ze.current=Fe;var nt=t.useMemo(function(){if(!mt)return{scrollHeight:void 0,start:0,end:yt.length-1,offset:void 0};if(!bn){var ne;return{scrollHeight:((ne=mn.current)===null||ne===void 0?void 0:ne.offsetHeight)||0,start:0,end:yt.length-1,offset:void 0}}for(var oe=0,de,me,Ee,Ve=yt.length,ct=0;ct<Ve;ct+=1){var rt=yt[ct],Nt=Vt(rt),Bt=un.get(Nt),Ot=oe+(Bt===void 0?C:Bt);Ot>=Rn&&de===void 0&&(de=ct,me=oe),Ot>Rn+q&&Ee===void 0&&(Ee=ct),oe=Ot}return de===void 0&&(de=0,me=0,Ee=Math.ceil(q/C)),Ee===void 0&&(Ee=yt.length-1),Ee=Math.min(Ee+1,yt.length-1),{scrollHeight:oe,start:de,end:Ee,offset:me}},[bn,mt,Rn,yt,Ut,q]),We=nt.scrollHeight,et=nt.start,lt=nt.end,Qe=nt.offset;Se.current.start=et,Se.current.end=lt,t.useLayoutEffect(function(){var ne=un.getRecord();if(ne.size===1){var oe=Array.from(ne.keys())[0],de=ne.get(oe),me=yt[et];if(me&&de===void 0){var Ee=Vt(me);if(Ee===oe){var Ve=un.get(oe),ct=Ve-C;Ke(function(rt){return rt+ct})}}}un.resetRecord()},[We]);var Ie=t.useState({width:0,height:q}),H=(0,j.Z)(Ie,2),ce=H[0],he=H[1],ve=function(oe){he({width:oe.offsetWidth,height:oe.offsetHeight})},Pe=(0,t.useRef)(),Ue=(0,t.useRef)(),$e=t.useMemo(function(){return je(ce.width,Ce)},[ce.width,Ce]),ot=t.useMemo(function(){return je(ce.height,We)},[ce.height,We]),_t=We-q,bt=(0,t.useRef)(_t);bt.current=_t;function on(ne){var oe=ne;return Number.isNaN(bt.current)||(oe=Math.min(oe,bt.current)),oe=Math.max(oe,0),oe}var wt=Rn<=0,Et=Rn>=_t,Mt=En<=0,Ht=En>=Ce,zt=k(wt,Et,Mt,Ht),xt=function(){return{x:Tt?-En:En,y:Rn}},Pt=(0,t.useRef)(xt()),tt=(0,s.zX)(function(ne){if(Me){var oe=(0,K.Z)((0,K.Z)({},xt()),ne);(Pt.current.x!==oe.x||Pt.current.y!==oe.y)&&(Me(oe),Pt.current=oe)}});function ut(ne,oe){var de=ne;oe?((0,r.flushSync)(function(){Tn(de)}),tt()):Ke(de)}function ht(ne){var oe=ne.currentTarget.scrollTop;oe!==Rn&&Ke(oe),Le==null||Le(ne),tt()}var $t=function(oe){var de=oe,me=Ce?Ce-ce.width:0;return de=Math.max(de,0),de=Math.min(de,me),de},kt=(0,s.zX)(function(ne,oe){oe?((0,r.flushSync)(function(){Tn(function(de){var me=de+(Tt?-ne:ne);return $t(me)})}),tt()):Ke(function(de){var me=de+ne;return me})}),jt=M(mt,wt,Et,Mt,Ht,!!Ce,kt),On=(0,j.Z)(jt,2),T=On[0],ae=On[1];D(mt,Bn,function(ne,oe,de,me){var Ee=me;return zt(ne,oe,de)?!1:!Ee||!Ee._virtualHandled?(Ee&&(Ee._virtualHandled=!0),T({preventDefault:function(){},deltaX:ne?oe:0,deltaY:ne?0:oe}),!0):!1}),i(bn,Bn,function(ne){Ke(function(oe){return oe+ne})}),(0,d.Z)(function(){function ne(de){var me=wt&&de.detail<0,Ee=Et&&de.detail>0;mt&&!me&&!Ee&&de.preventDefault()}var oe=Bn.current;return oe.addEventListener("wheel",T,{passive:!1}),oe.addEventListener("DOMMouseScroll",ae,{passive:!0}),oe.addEventListener("MozMousePixelScroll",ne,{passive:!1}),function(){oe.removeEventListener("wheel",T),oe.removeEventListener("DOMMouseScroll",ae),oe.removeEventListener("MozMousePixelScroll",ne)}},[mt,wt,Et]),(0,d.Z)(function(){if(Ce){var ne=$t(En);Tn(ne),tt({x:ne})}},[ce.width,Ce]);var te=function(){var oe,de;(oe=Pe.current)===null||oe===void 0||oe.delayHidden(),(de=Ue.current)===null||de===void 0||de.delayHidden()},ie=A(Bn,yt,un,C,Vt,function(){return Ft(!0)},Ke,te);t.useImperativeHandle(W,function(){return{nativeElement:Ln.current,getScrollInfo:xt,scrollTo:function(oe){function de(me){return me&&(0,O.Z)(me)==="object"&&("left"in me||"top"in me)}de(oe)?(oe.left!==void 0&&Tn($t(oe.left)),ie(oe.top)):ie(oe)}}}),(0,d.Z)(function(){if(ke){var ne=yt.slice(et,lt+1);ke(ne,yt)}},[et,lt,yt]);var _e=I(yt,Vt,un,C),ye=Je==null?void 0:Je({start:et,end:lt,virtual:bn,offsetX:En,offsetY:Qe,rtl:Tt,getSize:_e}),Ne=E(yt,et,lt,Ce,En,dt,V,X),Re=null;q&&(Re=(0,K.Z)((0,Y.Z)({},F?"height":"maxHeight",q),xe),mt&&(Re.overflowY="hidden",Ce&&(Re.overflowX="hidden"),en&&(Re.pointerEvents="none")));var be={};return Tt&&(be.dir="rtl"),t.createElement("div",(0,N.Z)({ref:Ln,style:(0,K.Z)((0,K.Z)({},ee),{},{position:"relative"}),className:ft},be,De),t.createElement(e.Z,{onResize:ve},t.createElement(Xe,{className:"".concat(c,"-holder"),style:Re,ref:Bn,onScroll:ht,onMouseEnter:te},t.createElement(o,{prefixCls:c,height:We,offsetX:En,offsetY:Qe,scrollWidth:Ce,onInnerResize:Ft,ref:mn,innerProps:st,rtl:Tt,extra:ye},Ne))),bn&&We>q&&t.createElement(we,{ref:Pe,prefixCls:c,scrollOffset:Rn,scrollRange:We,rtl:Tt,onScroll:ut,onStartMove:An,onStopMove:J,spinSize:ot,containerSize:ce.height,style:He==null?void 0:He.verticalScrollBar,thumbStyle:He==null?void 0:He.verticalScrollBarThumb,showScrollBar:St}),bn&&Ce>ce.width&&t.createElement(we,{ref:Ue,prefixCls:c,scrollOffset:En,scrollRange:Ce,rtl:Tt,onScroll:ut,onStartMove:An,onStopMove:J,spinSize:$e,containerSize:ce.width,horizontal:!0,style:He==null?void 0:He.horizontalScrollBar,thumbStyle:He==null?void 0:He.horizontalScrollBarThumb,showScrollBar:St}))}var Ze=t.forwardRef(qe);Ze.displayName="List";var pe=Ze,ue=pe},83145:function(Lt,Te,u){"use strict";Object.defineProperty(Te,"__esModule",{value:!0}),Te.CopyToClipboard=void 0;var N=K(u(59301)),O=K(u(25769));function K(_){return _&&_.__esModule?_:{default:_}}function Y(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Y=function(f){return typeof f}:Y=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},Y(_)}function j(_,m){var f=Object.keys(_);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(_);m&&(l=l.filter(function(P){return Object.getOwnPropertyDescriptor(_,P).enumerable})),f.push.apply(f,l)}return f}function p(_){for(var m=1;m<arguments.length;m++){var f=arguments[m]!=null?arguments[m]:{};m%2?j(f,!0).forEach(function(l){E(_,l,f[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(f)):j(f).forEach(function(l){Object.defineProperty(_,l,Object.getOwnPropertyDescriptor(f,l))})}return _}function U(_,m){if(_==null)return{};var f=$(_,m),l,P;if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(_);for(P=0;P<k.length;P++)l=k[P],!(m.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(_,l)&&(f[l]=_[l])}return f}function $(_,m){if(_==null)return{};var f={},l=Object.keys(_),P,k;for(k=0;k<l.length;k++)P=l[k],!(m.indexOf(P)>=0)&&(f[P]=_[P]);return f}function e(_,m){if(!(_ instanceof m))throw new TypeError("Cannot call a class as a function")}function s(_,m){for(var f=0;f<m.length;f++){var l=m[f];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(_,l.key,l)}}function d(_,m,f){return m&&s(_.prototype,m),f&&s(_,f),_}function t(_,m){return m&&(Y(m)==="object"||typeof m=="function")?m:a(_)}function r(_){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(f){return f.__proto__||Object.getPrototypeOf(f)},r(_)}function a(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function o(_,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(m&&m.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),m&&g(_,m)}function g(_,m){return g=Object.setPrototypeOf||function(l,P){return l.__proto__=P,l},g(_,m)}function E(_,m,f){return m in _?Object.defineProperty(_,m,{value:f,enumerable:!0,configurable:!0,writable:!0}):_[m]=f,_}var S=function(_){o(m,_);function m(){var f,l;e(this,m);for(var P=arguments.length,k=new Array(P),M=0;M<P;M++)k[M]=arguments[M];return l=t(this,(f=r(m)).call.apply(f,[this].concat(k))),E(a(l),"onClick",function(I){var G=l.props,L=G.text,ge=G.onCopy,b=G.children,h=G.options,w=N.default.Children.only(b),R=(0,O.default)(L,h);ge&&ge(L,R),w&&w.props&&typeof w.props.onClick=="function"&&w.props.onClick(I)}),l}return d(m,[{key:"render",value:function(){var l=this.props,P=l.text,k=l.onCopy,M=l.options,I=l.children,G=U(l,["text","onCopy","options","children"]),L=N.default.Children.only(I);return N.default.cloneElement(L,p({},G,{onClick:this.onClick}))}}]),m}(N.default.PureComponent);Te.CopyToClipboard=S,E(S,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Lt,Te,u){"use strict";var N=u(83145),O=N.CopyToClipboard;O.CopyToClipboard=O,Lt.exports=O},76374:function(Lt,Te,u){"use strict";var N=function(){if(typeof Map!="undefined")return Map;function b(h,w){var R=-1;return h.some(function(D,x){return D[0]===w?(R=x,!0):!1}),R}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(w){var R=b(this.__entries__,w),D=this.__entries__[R];return D&&D[1]},h.prototype.set=function(w,R){var D=b(this.__entries__,w);~D?this.__entries__[D][1]=R:this.__entries__.push([w,R])},h.prototype.delete=function(w){var R=this.__entries__,D=b(R,w);~D&&R.splice(D,1)},h.prototype.has=function(w){return!!~b(this.__entries__,w)},h.prototype.clear=function(){this.__entries__.splice(0)},h.prototype.forEach=function(w,R){R===void 0&&(R=null);for(var D=0,x=this.__entries__;D<x.length;D++){var n=x[D];w.call(R,n[1],n[0])}},h}()}(),O=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,K=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")()}(),Y=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(K):function(b){return setTimeout(function(){return b(Date.now())},1e3/60)}}(),j=2;function p(b,h){var w=!1,R=!1,D=0;function x(){w&&(w=!1,b()),R&&i()}function n(){Y(x)}function i(){var y=Date.now();if(w){if(y-D<j)return;R=!0}else w=!0,R=!1,setTimeout(n,h);D=y}return i}var U=20,$=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",s=function(){function b(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=p(this.refresh.bind(this),U)}return b.prototype.addObserver=function(h){~this.observers_.indexOf(h)||this.observers_.push(h),this.connected_||this.connect_()},b.prototype.removeObserver=function(h){var w=this.observers_,R=w.indexOf(h);~R&&w.splice(R,1),!w.length&&this.connected_&&this.disconnect_()},b.prototype.refresh=function(){var h=this.updateObservers_();h&&this.refresh()},b.prototype.updateObservers_=function(){var h=this.observers_.filter(function(w){return w.gatherActive(),w.hasActive()});return h.forEach(function(w){return w.broadcastActive()}),h.length>0},b.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)},b.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)},b.prototype.onTransitionEnd_=function(h){var w=h.propertyName,R=w===void 0?"":w,D=$.some(function(x){return!!~R.indexOf(x)});D&&this.refresh()},b.getInstance=function(){return this.instance_||(this.instance_=new b),this.instance_},b.instance_=null,b}(),d=function(b,h){for(var w=0,R=Object.keys(h);w<R.length;w++){var D=R[w];Object.defineProperty(b,D,{value:h[D],enumerable:!1,writable:!1,configurable:!0})}return b},t=function(b){var h=b&&b.ownerDocument&&b.ownerDocument.defaultView;return h||K},r=P(0,0,0,0);function a(b){return parseFloat(b)||0}function o(b){for(var h=[],w=1;w<arguments.length;w++)h[w-1]=arguments[w];return h.reduce(function(R,D){var x=b["border-"+D+"-width"];return R+a(x)},0)}function g(b){for(var h=["top","right","bottom","left"],w={},R=0,D=h;R<D.length;R++){var x=D[R],n=b["padding-"+x];w[x]=a(n)}return w}function E(b){var h=b.getBBox();return P(0,0,h.width,h.height)}function S(b){var h=b.clientWidth,w=b.clientHeight;if(!h&&!w)return r;var R=t(b).getComputedStyle(b),D=g(R),x=D.left+D.right,n=D.top+D.bottom,i=a(R.width),y=a(R.height);if(R.boxSizing==="border-box"&&(Math.round(i+x)!==h&&(i-=o(R,"left","right")+x),Math.round(y+n)!==w&&(y-=o(R,"top","bottom")+n)),!m(b)){var A=Math.round(i+x)-h,le=Math.round(y+n)-w;Math.abs(A)!==1&&(i-=A),Math.abs(le)!==1&&(y-=le)}return P(D.left,D.top,i,y)}var _=function(){return typeof SVGGraphicsElement!="undefined"?function(b){return b instanceof t(b).SVGGraphicsElement}:function(b){return b instanceof t(b).SVGElement&&typeof b.getBBox=="function"}}();function m(b){return b===t(b).document.documentElement}function f(b){return O?_(b)?E(b):S(b):r}function l(b){var h=b.x,w=b.y,R=b.width,D=b.height,x=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,n=Object.create(x.prototype);return d(n,{x:h,y:w,width:R,height:D,top:w,right:h+R,bottom:D+w,left:h}),n}function P(b,h,w,R){return{x:b,y:h,width:w,height:R}}var k=function(){function b(h){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=P(0,0,0,0),this.target=h}return b.prototype.isActive=function(){var h=f(this.target);return this.contentRect_=h,h.width!==this.broadcastWidth||h.height!==this.broadcastHeight},b.prototype.broadcastRect=function(){var h=this.contentRect_;return this.broadcastWidth=h.width,this.broadcastHeight=h.height,h},b}(),M=function(){function b(h,w){var R=l(w);d(this,{target:h,contentRect:R})}return b}(),I=function(){function b(h,w,R){if(this.activeObservations_=[],this.observations_=new N,typeof h!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=h,this.controller_=w,this.callbackCtx_=R}return b.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 w=this.observations_;w.has(h)||(w.set(h,new k(h)),this.controller_.addObserver(this),this.controller_.refresh())}},b.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 w=this.observations_;w.has(h)&&(w.delete(h),w.size||this.controller_.removeObserver(this))}},b.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},b.prototype.gatherActive=function(){var h=this;this.clearActive(),this.observations_.forEach(function(w){w.isActive()&&h.activeObservations_.push(w)})},b.prototype.broadcastActive=function(){if(this.hasActive()){var h=this.callbackCtx_,w=this.activeObservations_.map(function(R){return new M(R.target,R.broadcastRect())});this.callback_.call(h,w,h),this.clearActive()}},b.prototype.clearActive=function(){this.activeObservations_.splice(0)},b.prototype.hasActive=function(){return this.activeObservations_.length>0},b}(),G=typeof WeakMap!="undefined"?new WeakMap:new N,L=function(){function b(h){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var w=s.getInstance(),R=new I(h,w,this);G.set(this,R)}return b}();["observe","unobserve","disconnect"].forEach(function(b){L.prototype[b]=function(){var h;return(h=G.get(this))[b].apply(h,arguments)}});var ge=function(){return typeof K.ResizeObserver!="undefined"?K.ResizeObserver:L}();Te.Z=ge},98040:function(Lt){Lt.exports=function(){var Te=document.getSelection();if(!Te.rangeCount)return function(){};for(var u=document.activeElement,N=[],O=0;O<Te.rangeCount;O++)N.push(Te.getRangeAt(O));switch(u.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":u.blur();break;default:u=null;break}return Te.removeAllRanges(),function(){Te.type==="Caret"&&Te.removeAllRanges(),Te.rangeCount||N.forEach(function(K){Te.addRange(K)}),u&&u.focus()}}},93314:function(Lt){"use strict";Lt.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=="}}]);