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

82 lines
340 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[921],{65030:function(Ne,ae,k){"use strict";k.d(ae,{Z:function(){return be}});var R=k(33885),D=k(42978),H=k(75931),j=k(43403),L=k(92310),B=k.n(L),G=k(29301),C=k(76846),e=k(96452),w=k(6089),o=k(80402),r=k(34280),t=k(49658),s=k(59301),a=k(54476),p=k(77900),h=k(8654);function c(M){var ee=M.prefixCls,I=M.align,te=M.arrow,re=M.arrowPos,he=te||{},b=he.className,A=he.content,U=re.x,J=U===void 0?0:U,se=re.y,ce=se===void 0?0:se,we=s.useRef();if(!I||!I.points)return null;var me={position:"absolute"};if(I.autoArrow!==!1){var Oe=I.points[0],ze=I.points[1],qe=Oe[0],Qe=Oe[1],ft=ze[0],Ke=ze[1];qe===ft||!["t","b"].includes(qe)?me.top=ce:qe==="t"?me.top=0:me.bottom=0,Qe===Ke||!["l","r"].includes(Qe)?me.left=J:Qe==="l"?me.left=0:me.right=0}return s.createElement("div",{ref:we,className:B()("".concat(ee,"-arrow"),b),style:me},A)}function u(M){var ee=M.prefixCls,I=M.open,te=M.zIndex,re=M.mask,he=M.motion;return re?s.createElement(p.default,(0,a.Z)({},he,{motionAppear:!0,visible:I,removeOnLeave:!0}),function(b){var A=b.className;return s.createElement("div",{style:{zIndex:te},className:B()("".concat(ee,"-mask"),A)})}):null}var l=s.memo(function(M){var ee=M.children;return ee},function(M,ee){return ee.cache}),y=l,x=s.forwardRef(function(M,ee){var I=M.popup,te=M.className,re=M.prefixCls,he=M.style,b=M.target,A=M.onVisibleChanged,U=M.open,J=M.keepDom,se=M.fresh,ce=M.onClick,we=M.mask,me=M.arrow,Oe=M.arrowPos,ze=M.align,qe=M.motion,Qe=M.maskMotion,ft=M.forceRender,Ke=M.getPopupContainer,gt=M.autoDestroy,ut=M.portal,Ae=M.zIndex,dn=M.onMouseEnter,xt=M.onMouseLeave,Ee=M.onPointerEnter,vn=M.onPointerDownCapture,_n=M.ready,Zt=M.offsetX,tn=M.offsetY,nn=M.offsetR,on=M.offsetB,rt=M.onAlign,Le=M.onPrepare,He=M.stretch,Kt=M.targetWidth,Nt=M.targetHeight,St=typeof I=="function"?I():I,je=U||J,gn=(Ke==null?void 0:Ke.length)>0,ht=s.useState(!Ke||!gn),It=(0,D.Z)(ht,2),zt=It[0],Ut=It[1];if((0,r.Z)(function(){!zt&&gn&&b&&Ut(!0)},[zt,gn,b]),!zt)return null;var rn="auto",Lt={left:"-1000vw",top:"-1000vh",right:rn,bottom:rn};if(_n||!U){var kn,yn=ze.points,$t=ze.dynamicInset||((kn=ze._experimental)===null||kn===void 0?void 0:kn.dynamicInset),sn=$t&&yn[0][1]==="r",oe=$t&&yn[0][0]==="b";sn?(Lt.right=nn,Lt.left=rn):(Lt.left=Zt,Lt.right=rn),oe?(Lt.bottom=on,Lt.top=rn):(Lt.top=tn,Lt.bottom=rn)}var ne={};return He&&(He.includes("height")&&Nt?ne.height=Nt:He.includes("minHeight")&&Nt&&(ne.minHeight=Nt),He.includes("width")&&Kt?ne.width=Kt:He.includes("minWidth")&&Kt&&(ne.minWidth=Kt)),U||(ne.pointerEvents="none"),s.createElement(ut,{open:ft||je,getContainer:Ke&&function(){return Ke(b)},autoDestroy:gt},s.createElement(u,{prefixCls:re,open:U,zIndex:Ae,mask:we,motion:Qe}),s.createElement(G.Z,{onResize:rt,disabled:!U},function(Se){return s.createElement(p.default,(0,a.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ft,leavedClassName:"".concat(re,"-hidden")},qe,{onAppearPrepare:Le,onEnterPrepare:Le,visible:U,onVisibleChanged:function(Xe){var et;qe==null||(et=qe.onVisibleChanged)===null||et===void 0||et.call(qe,Xe),A(Xe)}}),function(Ue,Xe){var et=Ue.className,jt=Ue.style,At=B()(re,et,te);return s.createElement("div",{ref:(0,h.sQ)(Se,ee,Xe),className:At,style:(0,R.Z)((0,R.Z)((0,R.Z)((0,R.Z)({"--arrow-x":"".concat(Oe.x||0,"px"),"--arrow-y":"".concat(Oe.y||0,"px")},Lt),ne),jt),{},{boxSizing:"border-box",zIndex:Ae},he),onMouseEnter:dn,onMouseLeave:xt,onPointerEnter:Ee,onClick:ce,onPointerDownCapture:vn},me&&s.createElement(c,{prefixCls:re,arrow:me,arrowPos:Oe,align:ze}),s.createElement(y,{cache:!U&&!se},St))})}))}),O=x,T=s.forwardRef(function(M,ee){var I=M.children,te=M.getTriggerDOMNode,re=(0,h.Yr)(I),he=s.useCallback(function(A){(0,h.mH)(ee,te?te(A):A)},[te]),b=(0,h.x1)(he,(0,h.C4)(I));return re?s.cloneElement(I,{ref:b}):I}),P=T,z=s.createContext(null),X=z;function W(M){return M?Array.isArray(M)?M:[M]:[]}function ge(M,ee,I,te){return s.useMemo(function(){var re=W(I!=null?I:ee),he=W(te!=null?te:ee),b=new Set(re),A=new Set(he);return M&&(b.has("hover")&&(b.delete("hover"),b.add("click")),A.has("hover")&&(A.delete("hover"),A.add("click"))),[b,A]},[M,ee,I,te])}var g=k(29194);function _(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],I=arguments.length>2?arguments[2]:void 0;return I?M[0]===ee[0]:M[0]===ee[0]&&M[1]===ee[1]}function d(M,ee,I,te){for(var re=I.points,he=Object.keys(M),b=0;b<he.length;b+=1){var A,U=he[b];if(_((A=M[U])===null||A===void 0?void 0:A.points,re,te))return"".concat(ee,"-placement-").concat(U)}return""}function v(M,ee,I,te){return ee||(I?{motionName:"".concat(M,"-").concat(I)}:te?{motionName:te}:null)}function E(M){return M.ownerDocument.defaultView}function m(M){for(var ee=[],I=M==null?void 0:M.parentElement,te=["hidden","scroll","clip","auto"];I;){var re=E(I).getComputedStyle(I),he=re.overflowX,b=re.overflowY,A=re.overflow;[he,b,A].some(function(U){return te.includes(U)})&&ee.push(I),I=I.parentElement}return ee}function n(M){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(M)?ee:M}function i(M){return n(parseFloat(M),0)}function f(M,ee){var I=(0,R.Z)({},M);return(ee||[]).forEach(function(te){if(!(te instanceof HTMLBodyElement||te instanceof HTMLHtmlElement)){var re=E(te).getComputedStyle(te),he=re.overflow,b=re.overflowClipMargin,A=re.borderTopWidth,U=re.borderBottomWidth,J=re.borderLeftWidth,se=re.borderRightWidth,ce=te.getBoundingClientRect(),we=te.offsetHeight,me=te.clientHeight,Oe=te.offsetWidth,ze=te.clientWidth,qe=i(A),Qe=i(U),ft=i(J),Ke=i(se),gt=n(Math.round(ce.width/Oe*1e3)/1e3),ut=n(Math.round(ce.height/we*1e3)/1e3),Ae=(Oe-ze-ft-Ke)*gt,dn=(we-me-qe-Qe)*ut,xt=qe*ut,Ee=Qe*ut,vn=ft*gt,_n=Ke*gt,Zt=0,tn=0;if(he==="clip"){var nn=i(b);Zt=nn*gt,tn=nn*ut}var on=ce.x+vn-Zt,rt=ce.y+xt-tn,Le=on+ce.width+2*Zt-vn-_n-Ae,He=rt+ce.height+2*tn-xt-Ee-dn;I.left=Math.max(I.left,on),I.top=Math.max(I.top,rt),I.right=Math.min(I.right,Le),I.bottom=Math.min(I.bottom,He)}}),I}function S(M){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,I="".concat(ee),te=I.match(/^(.*)\%$/);return te?M*(parseFloat(te[1])/100):parseFloat(I)}function Z(M,ee){var I=ee||[],te=(0,D.Z)(I,2),re=te[0],he=te[1];return[S(M.width,re),S(M.height,he)]}function Y(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[M[0],M[1]]}function ue(M,ee){var I=ee[0],te=ee[1],re,he;return I==="t"?he=M.y:I==="b"?he=M.y+M.height:he=M.y+M.height/2,te==="l"?re=M.x:te==="r"?re=M.x+M.width:re=M.x+M.width/2,{x:re,y:he}}function fe(M,ee){var I={t:"b",b:"t",l:"r",r:"l"};return M.map(function(te,re){return re===ee?I[te]||"c":te}).join("")}function ve(M,ee,I,te,re,he,b){var A=s.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:re[te]||{}}),U=(0,D.Z)(A,2),J=U[0],se=U[1],ce=s.useRef(0),we=s.useMemo(function(){return ee?m(ee):[]},[ee]),me=s.useRef({}),Oe=function(){me.current={}};M||Oe();var ze=(0,w.Z)(function(){if(ee&&I&&M){let Wt=function(en,wn){var Ln=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Vt,Vn=je.x+en,qn=je.y+wn,ti=Vn+oe,Xn=qn+sn,ni=Math.max(Vn,Ln.left),pe=Math.max(qn,Ln.top),xe=Math.min(ti,Ln.right),dt=Math.min(Xn,Ln.bottom);return Math.max(0,(xe-ni)*(dt-pe))},yt=function(){Ct=je.y+Re,Ft=Ct+sn,Qt=je.x+ye,kt=Qt+oe};var ft,Ke,gt,ut,Ae=ee,dn=Ae.ownerDocument,xt=E(Ae),Ee=xt.getComputedStyle(Ae),vn=Ee.position,_n=Ae.style.left,Zt=Ae.style.top,tn=Ae.style.right,nn=Ae.style.bottom,on=Ae.style.overflow,rt=(0,R.Z)((0,R.Z)({},re[te]),he),Le=dn.createElement("div");(ft=Ae.parentElement)===null||ft===void 0||ft.appendChild(Le),Le.style.left="".concat(Ae.offsetLeft,"px"),Le.style.top="".concat(Ae.offsetTop,"px"),Le.style.position=vn,Le.style.height="".concat(Ae.offsetHeight,"px"),Le.style.width="".concat(Ae.offsetWidth,"px"),Ae.style.left="0",Ae.style.top="0",Ae.style.right="auto",Ae.style.bottom="auto",Ae.style.overflow="hidden";var He;if(Array.isArray(I))He={x:I[0],y:I[1],width:0,height:0};else{var Kt,Nt,St=I.getBoundingClientRect();St.x=(Kt=St.x)!==null&&Kt!==void 0?Kt:St.left,St.y=(Nt=St.y)!==null&&Nt!==void 0?Nt:St.top,He={x:St.x,y:St.y,width:St.width,height:St.height}}var je=Ae.getBoundingClientRect(),gn=xt.getComputedStyle(Ae),ht=gn.height,It=gn.width;je.x=(Ke=je.x)!==null&&Ke!==void 0?Ke:je.left,je.y=(gt=je.y)!==null&&gt!==void 0?gt:je.top;var zt=dn.documentElement,Ut=zt.clientWidth,rn=zt.clientHeight,Lt=zt.scrollWidth,kn=zt.scrollHeight,yn=zt.scrollTop,$t=zt.scrollLeft,sn=je.height,oe=je.width,ne=He.height,Se=He.width,Ue={left:0,top:0,right:Ut,bottom:rn},Xe={left:-$t,top:-yn,right:Lt-$t,bottom:kn-yn},et=rt.htmlRegion,jt="visible",At="visibleFirst";et!=="scroll"&&et!==At&&(et=jt);var lt=et===At,Mt=f(Xe,we),Fe=f(Ue,we),Vt=et===jt?Fe:Mt,_t=lt?Fe:Vt;Ae.style.left="auto",Ae.style.top="auto",Ae.style.right="0",Ae.style.bottom="0";var Dn=Ae.getBoundingClientRect();Ae.style.left=_n,Ae.style.top=Zt,Ae.style.right=tn,Ae.style.bottom=nn,Ae.style.overflow=on,(ut=Ae.parentElement)===null||ut===void 0||ut.removeChild(Le);var De=n(Math.round(oe/parseFloat(It)*1e3)/1e3),Ze=n(Math.round(sn/parseFloat(ht)*1e3)/1e3);if(De===0||Ze===0||(0,C.Sh)(I)&&!(0,g.Z)(I))return;var tt=rt.offset,st=rt.targetOffset,ct=Z(je,tt),N=(0,D.Z)(ct,2),$=N[0],Q=N[1],K=Z(He,st),F=(0,D.Z)(K,2),V=F[0],q=F[1];He.x-=V,He.y-=q;var _e=rt.points||[],Me=(0,D.Z)(_e,2),ke=Me[0],at=Me[1],Te=Y(at),Pe=Y(ke),Ce=ue(He,Te),Je=ue(je,Pe),$e=(0,R.Z)({},rt),ye=Ce.x-Je.x+$,Re=Ce.y-Je.y+Q,nt=Wt(ye,Re),Be=Wt(ye,Re,Fe),Ie=ue(He,["t","l"]),ot=ue(je,["t","l"]),Ve=ue(He,["b","r"]),it=ue(je,["b","r"]),Rt=rt.overflow||{},mt=Rt.adjustX,Ht=Rt.adjustY,Et=Rt.shiftX,Ot=Rt.shiftY,Gt=function(wn){return typeof wn=="boolean"?wn:wn>=0},Ct,Ft,Qt,kt;yt();var un=Gt(Ht),pt=Pe[0]===Te[0];if(un&&Pe[0]==="t"&&(Ft>_t.bottom||me.current.bt)){var Xt=Re;pt?Xt-=sn-ne:Xt=Ie.y-it.y-Q;var Sn=Wt(ye,Xt),Rn=Wt(ye,Xt,Fe);Sn>nt||Sn===nt&&(!lt||Rn>=Be)?(me.current.bt=!0,Re=Xt,Q=-Q,$e.points=[fe(Pe,0),fe(Te,0)]):me.current.bt=!1}if(un&&Pe[0]==="b"&&(Ct<_t.top||me.current.tb)){var fn=Re;pt?fn+=sn-ne:fn=Ve.y-ot.y-Q;var On=Wt(ye,fn),Bt=Wt(ye,fn,Fe);On>nt||On===nt&&(!lt||Bt>=Be)?(me.current.tb=!0,Re=fn,Q=-Q,$e.points=[fe(Pe,0),fe(Te,0)]):me.current.tb=!1}var an=Gt(mt),Nn=Pe[1]===Te[1];if(an&&Pe[1]==="l"&&(kt>_t.right||me.current.rl)){var hn=ye;Nn?hn-=oe-Se:hn=Ie.x-it.x-$;var cn=Wt(hn,Re),Tt=Wt(hn,Re,Fe);cn>nt||cn===nt&&(!lt||Tt>=Be)?(me.current.rl=!0,ye=hn,$=-$,$e.points=[fe(Pe,1),fe(Te,1)]):me.current.rl=!1}if(an&&Pe[1]==="r"&&(Qt<_t.left||me.current.lr)){var Jt=ye;Nn?Jt+=oe-Se:Jt=Ve.x-ot.x-$;var pn=Wt(Jt,Re),An=Wt(Jt,Re,Fe);pn>nt||pn===nt&&(!lt||An>=Be)?(me.current.lr=!0,ye=Jt,$=-$,$e.points=[fe(Pe,1),fe(Te,1)]):me.current.lr=!1}yt();var Yt=Et===!0?0:Et;typeof Yt=="number"&&(Qt<Fe.left&&(ye-=Qt-Fe.left-$,He.x+Se<Fe.left+Yt&&(ye+=He.x-Fe.left+Se-Yt)),kt>Fe.right&&(ye-=kt-Fe.right-$,He.x>Fe.right-Yt&&(ye+=He.x-Fe.right+Yt)));var ln=Ot===!0?0:Ot;typeof ln=="number"&&(Ct<Fe.top&&(Re-=Ct-Fe.top-Q,He.y+ne<Fe.top+ln&&(Re+=He.y-Fe.top+ne-ln)),Ft>Fe.bottom&&(Re-=Ft-Fe.bottom-Q,He.y>Fe.bottom-ln&&(Re+=He.y-Fe.bottom+ln)));var Tn=je.x+ye,Mn=Tn+oe,jn=je.y+Re,Fn=jn+sn,Zn=He.x,Cn=Zn+Se,Un=He.y,Hn=Un+ne,Bn=Math.max(Tn,Zn),mn=Math.min(Mn,Cn),Gn=(Bn+mn)/2,Qn=Gn-Tn,Wn=Math.max(jn,Un),$n=Math.min(Fn,Hn),Kn=(Wn+$n)/2,In=Kn-jn;b==null||b(ee,$e);var qt=Dn.right-je.x-(ye+je.width),bn=Dn.bottom-je.y-(Re+je.height);De===1&&(ye=Math.round(ye),qt=Math.round(qt)),Ze===1&&(Re=Math.round(Re),bn=Math.round(bn));var zn={ready:!0,offsetX:ye/De,offsetY:Re/Ze,offsetR:qt/De,offsetB:bn/Ze,arrowX:Qn/De,arrowY:In/Ze,scaleX:De,scaleY:Ze,align:$e};se(zn)}}),qe=function(){ce.current+=1;var Ke=ce.current;Promise.resolve().then(function(){ce.current===Ke&&ze()})},Qe=function(){se(function(Ke){return(0,R.Z)((0,R.Z)({},Ke),{},{ready:!1})})};return(0,r.Z)(Qe,[te]),(0,r.Z)(function(){M||Qe()},[M]),[J.ready,J.offsetX,J.offsetY,J.offsetR,J.offsetB,J.arrowX,J.arrowY,J.scaleX,J.scaleY,J.align,qe]}var We=k(94480);function Ge(M,ee,I,te,re){(0,r.Z)(function(){if(M&&ee&&I){let ce=function(){te(),re()};var he=ee,b=I,A=m(he),U=m(b),J=E(b),se=new Set([J].concat((0,We.Z)(A),(0,We.Z)(U)));return se.forEach(function(we){we.addEventListener("scroll",ce,{passive:!0})}),J.addEventListener("resize",ce,{passive:!0}),te(),function(){se.forEach(function(we){we.removeEventListener("scroll",ce),J.removeEventListener("resize",ce)})}}},[M,ee,I])}var Ye=k(48736);function ie(M,ee,I,te,re,he,b,A){var U=s.useRef(M);U.current=M;var J=s.useRef(!1);s.useEffect(function(){if(ee&&te&&(!re||he)){var ce=function(){J.current=!1},we=function(gt){var ut;U.current&&!b(((ut=gt.composedPath)===null||ut===void 0||(ut=ut.call(gt))===null||ut===void 0?void 0:ut[0])||gt.target)&&!J.current&&A(!1)},me=E(te);me.addEventListener("pointerdown",ce,!0),me.addEventListener("mousedown",we,!0),me.addEventListener("contextmenu",we,!0);var Oe=(0,e.A)(I);if(Oe&&(Oe.addEventListener("mousedown",we,!0),Oe.addEventListener("contextmenu",we,!0)),0)var ze,qe,Qe,ft;return function(){me.removeEventListener("pointerdown",ce,!0),me.removeEventListener("mousedown",we,!0),me.removeEventListener("contextmenu",we,!0),Oe&&(Oe.removeEventListener("mousedown",we,!0),Oe.removeEventListener("contextmenu",we,!0))}}},[ee,I,te,re,he]);function se(){J.current=!0}return se}var de=["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 le(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:j.Z,ee=s.forwardRef(function(I,te){var re=I.prefixCls,he=re===void 0?"rc-trigger-popup":re,b=I.children,A=I.action,U=A===void 0?"hover":A,J=I.showAction,se=I.hideAction,ce=I.popupVisible,we=I.defaultPopupVisible,me=I.onPopupVisibleChange,Oe=I.afterPopupVisibleChange,ze=I.mouseEnterDelay,qe=I.mouseLeaveDelay,Qe=qe===void 0?.1:qe,ft=I.focusDelay,Ke=I.blurDelay,gt=I.mask,ut=I.maskClosable,Ae=ut===void 0?!0:ut,dn=I.getPopupContainer,xt=I.forceRender,Ee=I.autoDestroy,vn=I.destroyPopupOnHide,_n=I.popup,Zt=I.popupClassName,tn=I.popupStyle,nn=I.popupPlacement,on=I.builtinPlacements,rt=on===void 0?{}:on,Le=I.popupAlign,He=I.zIndex,Kt=I.stretch,Nt=I.getPopupClassNameFromAlign,St=I.fresh,je=I.alignPoint,gn=I.onPopupClick,ht=I.onPopupAlign,It=I.arrow,zt=I.popupMotion,Ut=I.maskMotion,rn=I.popupTransitionName,Lt=I.popupAnimation,kn=I.maskTransitionName,yn=I.maskAnimation,$t=I.className,sn=I.getTriggerDOMNode,oe=(0,H.Z)(I,de),ne=Ee||vn||!1,Se=s.useState(!1),Ue=(0,D.Z)(Se,2),Xe=Ue[0],et=Ue[1];(0,r.Z)(function(){et((0,t.Z)())},[]);var jt=s.useRef({}),At=s.useContext(X),lt=s.useMemo(function(){return{registerSubPopup:function(xe,dt){jt.current[xe]=dt,At==null||At.registerSubPopup(xe,dt)}}},[At]),Mt=(0,o.Z)(),Fe=s.useState(null),Vt=(0,D.Z)(Fe,2),_t=Vt[0],Dn=Vt[1],De=s.useRef(null),Ze=(0,w.Z)(function(pe){De.current=pe,(0,C.Sh)(pe)&&_t!==pe&&Dn(pe),At==null||At.registerSubPopup(Mt,pe)}),tt=s.useState(null),st=(0,D.Z)(tt,2),ct=st[0],N=st[1],$=s.useRef(null),Q=(0,w.Z)(function(pe){(0,C.Sh)(pe)&&ct!==pe&&(N(pe),$.current=pe)}),K=s.Children.only(b),F=(K==null?void 0:K.props)||{},V={},q=(0,w.Z)(function(pe){var xe,dt,Pt=ct;return(Pt==null?void 0:Pt.contains(pe))||((xe=(0,e.A)(Pt))===null||xe===void 0?void 0:xe.host)===pe||pe===Pt||(_t==null?void 0:_t.contains(pe))||((dt=(0,e.A)(_t))===null||dt===void 0?void 0:dt.host)===pe||pe===_t||Object.values(jt.current).some(function(bt){return(bt==null?void 0:bt.contains(pe))||pe===bt})}),_e=v(he,zt,Lt,rn),Me=v(he,Ut,yn,kn),ke=s.useState(we||!1),at=(0,D.Z)(ke,2),Te=at[0],Pe=at[1],Ce=ce!=null?ce:Te,Je=(0,w.Z)(function(pe){ce===void 0&&Pe(pe)});(0,r.Z)(function(){Pe(ce||!1)},[ce]);var $e=s.useRef(Ce);$e.current=Ce;var ye=s.useRef([]);ye.current=[];var Re=(0,w.Z)(function(pe){var xe;Je(pe),((xe=ye.current[ye.current.length-1])!==null&&xe!==void 0?xe:Ce)!==pe&&(ye.current.push(pe),me==null||me(pe))}),nt=s.useRef(),Be=function(){clearTimeout(nt.current)},Ie=function(xe){var dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Be(),dt===0?Re(xe):nt.current=setTimeout(function(){Re(xe)},dt*1e3)};s.useEffect(function(){return Be},[]);var ot=s.useState(!1),Ve=(0,D.Z)(ot,2),it=Ve[0],Rt=Ve[1];(0,r.Z)(function(pe){(!pe||Ce)&&Rt(!0)},[Ce]);var mt=s.useState(null),Ht=(0,D.Z)(mt,2),Et=Ht[0],Ot=Ht[1],Gt=s.useState(null),Ct=(0,D.Z)(Gt,2),Ft=Ct[0],Qt=Ct[1],kt=function(xe){Qt([xe.clientX,xe.clientY])},un=ve(Ce,_t,je&&Ft!==null?Ft:ct,nn,rt,Le,ht),pt=(0,D.Z)(un,11),Xt=pt[0],Sn=pt[1],Rn=pt[2],fn=pt[3],On=pt[4],Bt=pt[5],an=pt[6],Nn=pt[7],hn=pt[8],cn=pt[9],Tt=pt[10],Jt=ge(Xe,U,J,se),pn=(0,D.Z)(Jt,2),An=pn[0],Yt=pn[1],ln=An.has("click"),Tn=Yt.has("click")||Yt.has("contextMenu"),Mn=(0,w.Z)(function(){it||Tt()}),jn=function(){$e.current&&je&&Tn&&Ie(!1)};Ge(Ce,ct,_t,Mn,jn),(0,r.Z)(function(){Mn()},[Ft,nn]),(0,r.Z)(function(){Ce&&!(rt!=null&&rt[nn])&&Mn()},[JSON.stringify(Le)]);var Fn=s.useMemo(function(){var pe=d(rt,he,cn,je);return B()(pe,Nt==null?void 0:Nt(cn))},[cn,Nt,rt,he,je]);s.useImperativeHandle(te,function(){return{nativeElement:$.current,popupElement:De.current,forceAlign:Mn}});var Zn=s.useState(0),Cn=(0,D.Z)(Zn,2),Un=Cn[0],Hn=Cn[1],Bn=s.useState(0),mn=(0,D.Z)(Bn,2),Gn=mn[0],Qn=mn[1],Wn=function(){if(Kt&&ct){var xe=ct.getBoundingClientRect();Hn(xe.width),Qn(xe.height)}},$n=function(){Wn(),Mn()},Kn=function(xe){Rt(!1),Tt(),Oe==null||Oe(xe)},In=function(){return new Promise(function(xe){Wn(),Ot(function(){return xe})})};(0,r.Z)(function(){Et&&(Tt(),Et(),Ot(null))},[Et]);function qt(pe,xe,dt,Pt){V[pe]=function(bt){var Jn;Pt==null||Pt(bt),Ie(xe,dt);for(var Pn=arguments.length,si=new Array(Pn>1?Pn-1:0),ei=1;ei<Pn;ei++)si[ei-1]=arguments[ei];(Jn=F[pe])===null||Jn===void 0||Jn.call.apply(Jn,[F,bt].concat(si))}}(ln||Tn)&&(V.onClick=function(pe){var xe;$e.current&&Tn?Ie(!1):!$e.current&&ln&&(kt(pe),Ie(!0));for(var dt=arguments.length,Pt=new Array(dt>1?dt-1:0),bt=1;bt<dt;bt++)Pt[bt-1]=arguments[bt];(xe=F.onClick)===null||xe===void 0||xe.call.apply(xe,[F,pe].concat(Pt))});var bn=ie(Ce,Tn,ct,_t,gt,Ae,q,Ie),zn=An.has("hover"),Wt=Yt.has("hover"),yt,en;zn&&(qt("onMouseEnter",!0,ze,function(pe){kt(pe)}),qt("onPointerEnter",!0,ze,function(pe){kt(pe)}),yt=function(xe){(Ce||it)&&_t!==null&&_t!==void 0&&_t.contains(xe.target)&&Ie(!0,ze)},je&&(V.onMouseMove=function(pe){var xe;(xe=F.onMouseMove)===null||xe===void 0||xe.call(F,pe)})),Wt&&(qt("onMouseLeave",!1,Qe),qt("onPointerLeave",!1,Qe),en=function(){Ie(!1,Qe)}),An.has("focus")&&qt("onFocus",!0,ft),Yt.has("focus")&&qt("onBlur",!1,Ke),An.has("contextMenu")&&(V.onContextMenu=function(pe){var xe;$e.current&&Yt.has("contextMenu")?Ie(!1):(kt(pe),Ie(!0)),pe.preventDefault();for(var dt=arguments.length,Pt=new Array(dt>1?dt-1:0),bt=1;bt<dt;bt++)Pt[bt-1]=arguments[bt];(xe=F.onContextMenu)===null||xe===void 0||xe.call.apply(xe,[F,pe].concat(Pt))}),$t&&(V.className=B()(F.className,$t));var wn=s.useRef(!1);wn.current||(wn.current=xt||Ce||it);var Ln=(0,R.Z)((0,R.Z)({},F),V),Vn={},qn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];qn.forEach(function(pe){oe[pe]&&(Vn[pe]=function(){for(var xe,dt=arguments.length,Pt=new Array(dt),bt=0;bt<dt;bt++)Pt[bt]=arguments[bt];(xe=Ln[pe])===null||xe===void 0||xe.call.apply(xe,[Ln].concat(Pt)),oe[pe].apply(oe,Pt)})});var ti=s.cloneElement(K,(0,R.Z)((0,R.Z)({},Ln),Vn)),Xn={x:Bt,y:an},ni=It?(0,R.Z)({},It!==!0?It:{}):null;return s.createElement(s.Fragment,null,s.createElement(G.Z,{disabled:!Ce,ref:Q,onResize:$n},s.createElement(P,{getTriggerDOMNode:sn},ti)),wn.current&&s.createElement(X.Provider,{value:lt},s.createElement(O,{portal:M,ref:Ze,prefixCls:he,popup:_n,className:B()(Zt,Fn),style:tn,target:ct,onMouseEnter:yt,onMouseLeave:en,onPointerEnter:yt,zIndex:He,open:Ce,keepDom:it,fresh:St,onClick:gn,onPointerDownCapture:bn,mask:gt,motion:_e,maskMotion:Me,onVisibleChanged:Kn,onPrepare:In,forceRender:xt,autoDestroy:ne,getPopupContainer:dn,align:cn,arrow:ni,arrowPos:Xn,ready:Xt,offsetX:Sn,offsetY:Rn,offsetR:fn,offsetB:On,onAlign:Mn,stretch:Kt,targetWidth:Un/Nn,targetHeight:Gn/hn})))});return ee}var be=le(j.Z)},50258:function(Ne,ae,k){"use strict";k.d(ae,{SV:function(){return Ye},ZP:function(){return Ge}});var R=k(59301),D=k(76374);const H={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"]},j={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"]},L={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(`
`)}]},B={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(`
`)}]},G={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 C=k(53184),e=k.n(C),w=(ie,de,le)=>new Promise((be,M)=>{var ee=re=>{try{te(le.next(re))}catch(he){M(he)}},I=re=>{try{te(le.throw(re))}catch(he){M(he)}},te=re=>re.done?be(re.value):Promise.resolve(re.value).then(ee,I);te((le=le.apply(ie,de)).next())});const o={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"]}},r=(ie,de,le,be)=>{const M=de.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:le.lineNumber,endColumn:le.column});return Array.from(new Set(M.match(/\b\w{2,}\b/g)||[])).map(I=>({label:I,kind:ie.languages.CompletionItemKind.Text,insertText:I,range:be}))},t=(ie,de,le,be)=>{ie.languages.registerCompletionItemProvider(de,{provideCompletionItems(M,ee){const I=M.getWordUntilPosition(ee),te={startLineNumber:ee.lineNumber,endLineNumber:ee.lineNumber,startColumn:I.startColumn,endColumn:I.endColumn},re=M.getLineContent(ee.lineNumber).substring(I.startColumn-2,I.endColumn);return{suggestions:[...r(ie,M,ee,te),...le.map(b=>({label:b,kind:ie.languages.CompletionItemKind.Keyword,documentation:b,insertText:b,insertTextRules:ie.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:te})),...be.map(b=>({label:b.label,kind:ie.languages.CompletionItemKind.Snippet,documentation:b.content,insertText:re.startsWith("#")?b.content.replace(/#/,""):b.content,insertTextRules:ie.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:te}))]}}})};var s=ie=>{o.languages.forEach(de=>{ie.languages.registerDocumentFormattingEditProvider(de,{provideDocumentFormattingEdits(le){return w(this,null,function*(){const be=e()(le.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:le.getFullModelRange(),text:be}]})}})}),t(ie,"java",j.keywords,j.quickKey),t(ie,"cpp",L.keywords,L.quickKey),t(ie,"c",H.keywords,[]),t(ie,"python",B.keywords,B.quickKey),t(ie,"scala",G.keywords,G.quickKey)};const a="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var p=Object.defineProperty,h=(ie,de,le)=>de in ie?p(ie,de,{enumerable:!0,configurable:!0,writable:!0,value:le}):ie[de]=le,c=(ie,de,le)=>h(ie,typeof de!="symbol"?de+"":de,le);const u=class ki{constructor(de,le,be){this.placeholder=de,this.editor=le,this.monaco=be,le.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return ki.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)}};c(u,"ID","editor.widget.placeholderHint");var y=u,x=k(96236),O=k(6767),T=k(25399),P=k(89392),z=k(77254),X=k(56102),W=Object.defineProperty,ge=Object.defineProperties,g=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,E=(ie,de,le)=>de in ie?W(ie,de,{enumerable:!0,configurable:!0,writable:!0,value:le}):ie[de]=le,m=(ie,de)=>{for(var le in de||(de={}))d.call(de,le)&&E(ie,le,de[le]);if(_)for(var le of _(de))v.call(de,le)&&E(ie,le,de[le]);return ie},n=(ie,de)=>ge(ie,g(de)),i=(ie,de)=>{var le={};for(var be in ie)d.call(ie,be)&&de.indexOf(be)<0&&(le[be]=ie[be]);if(ie!=null&&_)for(var be of _(ie))de.indexOf(be)<0&&v.call(ie,be)&&(le[be]=ie[be]);return le},f=(ie,de,le)=>new Promise((be,M)=>{var ee=re=>{try{te(le.next(re))}catch(he){M(he)}},I=re=>{try{te(le.throw(re))}catch(he){M(he)}},te=re=>re.done?be(re.value):Promise.resolve(re.value).then(ee,I);te((le=le.apply(ie,de)).next())});function S(ie){return/^\d+$/.test(ie)?`${ie}px`:ie}function Z(){}let Y=!1;const ue={"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 fe(ie=[]){let de=ie;if(Array.isArray(ie)){for(let le=0;le<ie.length;le++){let be=ue[ie[le]];if(be)return be}return de[0]}return ue[de]||de}let ve=null;const We=()=>f(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(ie){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",ie)}});var Ge=ie=>{var de=ie,{width:le="100%",height:be="100%",value:M,language:ee="javascript",style:I={},options:te={},overrideServices:re={},theme:he="vs-dark",onEditBlur:b,isCopy:A=!1,onSave:U,autoHeight:J=!1,forbidCopy:se=!1,onChange:ce=Z,editorDidMount:we=Z,onFocus:me=Z,onBreakPoint:Oe=Z,breakPointValue:ze=[],filename:qe="educoder.txt",errorLine:Qe,errorContent:ft="",highlightLine:Ke,openBreakPoint:gt=!1,placeholder:ut="",showMiniMap:Ae=!0}=de,dn=i(de,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const xt=(0,R.useRef)(),Ee=(0,R.useRef)({}),vn=(0,R.useRef)(),_n=(0,R.useRef)(),Zt=(0,R.useRef)([]),tn=(0,R.useRef)(!1),nn=(0,R.useRef)(),on=(0,R.useRef)(),rt=(0,R.useRef)(!1),[Le,He]=(0,R.useState)(!1);function Kt(){let oe;return xt.current&&(oe=new D.Z(ne=>{for(let Se of ne)(Se.target.offsetHeight>0||Se.target.offsetWidth>0)&&Ee.current.instance.layout()}),oe.observe(xt.current)),oe}function Nt(){O.ZP.warning({content:decodeURIComponent(a),key:"monaco-editor-tip"})}const St=()=>{let oe=Ee.current.instance;if(M!=null&&oe&&Le){const ne=oe.getModel();ne&&M!==ne.getValue()&&(Y=!0,ne.setValue(M),oe.layout(),Y=!1)}};(0,R.useEffect)(()=>{const oe=z.Z.subscribe("formatDocument",ne=>{var Se;let Ue=Ee.current.instance;(Se=Ue==null?void 0:Ue.getAction)==null||Se.call(Ue,"editor.action.formatDocument").run()});return window.updateMonacoValue=ne=>{ce(ne)},oe},[]),(0,R.useEffect)(()=>{var oe;let ne=Ee.current.instance;_n.current&&clearTimeout(_n.current),_n.current=setTimeout(()=>{St()},500),M&&(M!=null&&M.length)&&((oe=ne==null?void 0:ne.updateOptions)==null||oe.call(ne,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(M.split(/\r\n|\r|\n/g).length))+3,5)}))},[M,Le,Ee.current]),(0,R.useEffect)(()=>{if(Qe&&Ee.current&&Ee.current.instance){let ne=Ee.current.instance;ne.changeViewZones(function(Se){var Ue=document.createElement("div");Ue.style.padding="10px 20px",Ue.style.width="calc(100% - 20px)",Ue.className="my-error-line-wrp",Ue.innerHTML=ft,Se.addZone({afterLineNumber:Qe||11,heightInLines:3,domNode:Ue})});var oe={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}};ne.addOverlayWidget(oe),ne.revealPositionInCenter({lineNumber:20,column:1})}},[Qe,Ee.current,Le]);const je=(oe="",ne)=>{if(!oe||oe.trim()==="")return!0;const Ue=Ee.current.instance.getModel().getLineTokens(ne);let Xe=!1;for(let et=0;et<2;et++)Ue.getStandardTokenType(et)===1&&(Xe=!0);return Xe};(0,R.useEffect)(()=>{var oe;const ne=(oe=Ee.current)==null?void 0:oe.instance;if(ne&&Le&&se){const Se=ne.onDidBlurEditorWidget(()=>{rt.current=!1}),Ue=ne.onDidFocusEditorText(()=>{rt.current=!0});return()=>{Se.dispose(),Ue.dispose()}}},[Ee.current,Le,se]),(0,R.useEffect)(()=>{var oe;if((oe=Ee.current)!=null&&oe.instance&&Le&&gt){let ne=Ee.current.instance,Se=ne.getModel();if(!Se)return;(()=>{var De;let Ze=[],tt=[];const st=Se.getAllDecorations();for(let N of st)N.options.className==="highlighted-line"&&(Ze.push((De=N==null?void 0:N.range)==null?void 0:De.startLineNumber),tt.push(N==null?void 0:N.id));if(Ke===Ze[0])return;Se.deltaDecorations(tt,[]);const ct=Se.getLineCount();Ke&&Ke<=ct&&(ne.deltaDecorations([],[{range:new ve.Range(Ke,1,Ke,Se.getLineMaxColumn(Ke)),options:{isWholeLine:!0,className:"highlighted-line"}}]),ne.revealLineInCenter(Ke))})();const Xe=(De=!1)=>{var Ze;let tt=[],st=[];const ct=Se.getAllDecorations();for(let N of ct)N.options.linesDecorationsClassName==="breakpoints-select"&&(tt.push((Ze=N==null?void 0:N.range)==null?void 0:Ze.startLineNumber),st.push(N==null?void 0:N.id));if(De)return{lines:tt,ids:st};Oe(tt)},et=De=>f(void 0,null,function*(){let Ze={range:new ve.Range(De,1,De,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Se.deltaDecorations([],[Ze]),Xe()}),jt=De=>f(void 0,null,function*(){let Ze=[];const tt=ne.getLineDecorations(De);for(let st of tt)st.options.linesDecorationsClassName==="breakpoints-select"&&Ze.push(st.id);yield Se.deltaDecorations(Ze,[]),Xe()}),At=De=>{let Ze=ne.getLineDecorations(De);for(let tt of Ze)if(tt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,P.isEqual)(ze,Xe(!0).lines)){Se.deltaDecorations(Xe(!0).ids,[]);const De=ze.map(Ze=>({range:new ve.Range(Ze,1,Ze,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Se.deltaDecorations([],De)}const lt=ne.onDidChangeModelContent(De=>{let Ze=ne.getPosition();if(Ze){let tt=Ze.lineNumber;clearTimeout(on.current),on.current=setTimeout(()=>{je(Se.getLineContent(tt),tt)?jt(tt):At(tt)?(jt(tt),et(tt)):Xe()},100)}}),Mt=ne.onMouseDown(De=>{var Ze,tt,st;if(De.target.detail&&((st=(tt=(Ze=De.target)==null?void 0:Ze.element)==null?void 0:tt.className)!=null&&st.includes("line-numbers"))){let ct=De.target.position.lineNumber;if(je(Se.getLineContent(ct),ct))return;At(ct)?jt(ct):et(ct)}}),Fe=De=>{let Ze={range:new ve.Range(De,1,De,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Zt.current=ne.deltaDecorations(Zt.current,[Ze])},Vt=()=>{Zt.current=ne.deltaDecorations(Zt.current,[])},_t=ne.onMouseMove(De=>{var Ze,tt,st;if(Vt(),De.target.detail&&((st=(tt=(Ze=De.target)==null?void 0:Ze.element)==null?void 0:tt.className)!=null&&st.includes("line-numbers"))){let ct=De.target.position.lineNumber;if(je(Se.getLineContent(ct),ct))return;Fe(ct)}}),Dn=ne.onMouseLeave(()=>{Vt()});return()=>{lt.dispose(),Mt.dispose(),_t.dispose(),Dn.dispose()}}},[Ee.current,Le,ze,Ke,gt,ee]),(0,R.useEffect)(()=>{var oe;(oe=Ee.current)!=null&&oe.instance&&gt&&Ee.current.instance.setPosition({lineNumber:0,column:0})},[Ke]);function gn(){let oe=Ee.current.instance;if(oe){const ne=oe.getSelection(),Se=Ee.current.pastePos||{},Ue=new ve.Range(Se.startLineNumber||ne.endLineNumber,Se.startColumn||ne.endColumn,Se.endLineNumber||ne.endLineNumber,Se.endColumn||ne.endColumn);setTimeout(()=>{oe.executeEdits("",[{range:Ue,text:""}])},300)}}function ht(oe){(window.navigator.platform.match("Mac")?oe.metaKey:oe.ctrlKey)&&oe.keyCode==83&&(oe.preventDefault(),U())}const It=()=>{if(J&&Ee.current.instance){const oe=Ee.current.instance.getContentHeight();$t(oe<be?be:oe)}else $t(be)};function zt(oe){var ne=document.createEvent("MouseEvents");ne.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),oe.dispatchEvent(ne)}const Ut=oe=>{if(!rt.current)return;const{keyCode:ne,ctrlKey:Se,metaKey:Ue,target:Xe,type:et}=oe;return(et==="paste"||(ne===67||ne===86)&&(Ue||Se))&&Xe.nodeName==="TEXTAREA"&&(Nt(),oe.preventDefault()),!1};function rn(oe,ne){var Se=window.URL||window.webkitURL||window,Ue=new Blob([ne]),Xe=document.createElementNS("http://www.w3.org/1999/xhtml","a");Xe.href=Se.createObjectURL(Ue),Xe.download=oe,zt(Xe)}(0,R.useEffect)(()=>{It()},[It]),(0,R.useEffect)(()=>{xt.current&&!Le&&Promise.all([k.e(8909),k.e(2460)]).then(k.bind(k,71448)).then(oe=>{try{ve=oe,Ee.current.instance=ve.editor.create(xt.current,{value:M,language:fe(ee),theme:he,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Ae||!1}},re);const ne=Ee.current.instance;let Xe=[...x.BH._menuItems].find(lt=>lt[0]._debugName=="EditorContext")[1],et=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],jt=(lt,Mt)=>{var Fe,Vt;let _t=lt._first;do Mt.includes((Vt=(Fe=_t.element)==null?void 0:Fe.command)==null?void 0:Vt.id)&&lt._remove(_t);while(_t=_t.next)};if(we(ne,ve),setTimeout(()=>{It(),Ee.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{rn(qe||"educoder.txt",ne.getValue())}})},500),Ee.current.subscription=ne.onDidChangeModelContent(lt=>{tn.current?clearTimeout(nn.current):(It(),ce(ne.getValue(),lt)),nn.current=setTimeout(()=>{tn.current=!1},500)}),window.Monaco||s(ve,fe(ee)),se&&(jt(Xe,et),xt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Ut),window.removeEventListener("paste",Ut),window.addEventListener("keydown",Ut),window.addEventListener("paste",Ut)),window.Monaco=ve,b&&ne.onDidBlurEditorWidget(()=>{b(ne.getValue())}),me&&ne.onDidFocusEditorText(()=>{se&&We(),me(ne.getValue())}),se){We();try{ne.onDidPaste(lt=>{const Mt=ne.getSelection(),Fe=Ee.current.pastePos||{},Vt=new ve.Range(Fe.startLineNumber||Mt.endLineNumber,Fe.startColumn||Mt.endColumn,Fe.endLineNumber||Mt.endLineNumber,Fe.endColumn||Mt.endColumn);ne.executeEdits("",[{range:lt.range,text:""}])})}catch(lt){}}let At=Kt();return ut&&typeof ut=="string"&&new y(ut,ne,ve),He(!0),()=>{const lt=Ee.current.instance;lt.dispose();const Mt=lt.getModel();Mt&&Mt.dispose(),Ee.current.subscription&&Ee.current.subscription.dispose(),At.unobserve(xt.current)}}catch(ne){}})},[]),(0,R.useEffect)(()=>{if(Ee.current.instance&&Le)return document.addEventListener("keydown",ht,!1),()=>{document.removeEventListener("keydown",ht)}},[U,Le]),(0,R.useEffect)(()=>{let oe=Ee.current.instance;if(oe&&Le){let ne=fe(ee);ve.editor.setModelLanguage(oe.getModel(),ne)}},[ee,Le]),(0,R.useEffect)(()=>{Ee.current.instance&&Le&&ve.editor.setTheme(he)},[he,Le]),(0,R.useEffect)(()=>{let oe=Ee.current.instance;vn.current=te,oe&&Le&&(oe.updateOptions(m({},te)),setTimeout(()=>{oe.getModel().updateOptions(m({},te))},200))},[JSON.stringify(te),Le]),(0,R.useEffect)(()=>{let oe=Ee.current.instance;oe&&Le&&oe.layout()},[le,be,Le]);const[Lt,kn]=(0,R.useState)(S(le)),[yn,$t]=(0,R.useState)(S(be)),sn=n(m({},I),{width:Lt,height:yn,position:"relative"});return R.createElement("div",{className:"my-monaco-editor",ref:xt,style:sn,onFocus:()=>{se&&We()}},A&&R.createElement(X.CopyToClipboard,{text:M,onCopy:()=>O.ZP.success("\u590D\u5236\u6210\u529F")},R.createElement(T.Z,{title:"\u590D\u5236\u4EE3\u7801"},R.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},R.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ye({width:ie="100%",height:de="100%",original:le,modified:be,language:M,options:ee={}}){const I=(0,R.useRef)(),[te,re]=(0,R.useState)(null);function he(J){let se;return I.current&&(se=new D.Z(ce=>{for(let we of ce)(we.target.offsetHeight>0||we.target.offsetWidth>0)&&J.layout()}),se.observe(I.current)),se}(0,R.useEffect)(()=>(I.current&&Promise.all([k.e(8909),k.e(9404)]).then(k.bind(k,2550)).then(J=>{ve=J;const se=ve.editor.createDiffEditor(I.current,n(m({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},ee),{wordWrap:!0}));re(se);let ce=he(se);return()=>{se.dispose();const we=se.getModel();we&&we.dispose(),ce.unobserve(I.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,R.useEffect)(()=>{te&&te.setModel({original:ve.editor.createModel(le,M),modified:ve.editor.createModel(be,M)})},[le,be,M,te]);const b=S(ie),A=S(de),U={width:b,height:A};return R.createElement("div",{className:"my-diff-editor",ref:I,style:U})}},4573:function(Ne,ae,k){"use strict";k.r(ae),k.d(ae,{default:function(){return u}});var R=k(59301),D=k(65582),H=k(91882),j=k(77019),L=k(5269),B=k(458),G=k(27812),C=k(50258),e={flex_box_center:"flex_box_center___aDZ0y",flex_space_between:"flex_space_between___YgV77",flex_box_vertical_center:"flex_box_vertical_center___RiXOn",flex_box_center_end:"flex_box_center_end___leo_X",flex_box_column:"flex_box_column___yVux9",title:"title___eoGRP",wrap:"wrap___sXyah",code:"code___NIt6L",error:"error___p_cW8"},w=k(38147),o=Object.defineProperty,r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,a=(l,y,x)=>y in l?o(l,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):l[y]=x,p=(l,y)=>{for(var x in y||(y={}))t.call(y,x)&&a(l,x,y[x]);if(r)for(var x of r(y))s.call(y,x)&&a(l,x,y[x]);return l},h=(l,y,x)=>new Promise((O,T)=>{var P=W=>{try{X(x.next(W))}catch(ge){T(ge)}},z=W=>{try{X(x.throw(W))}catch(ge){T(ge)}},X=W=>W.done?O(W.value):Promise.resolve(W.value).then(P,z);X((x=x.apply(l,y)).next())});const c=({exercise:l,user:y,dispatch:x})=>{var O,T;const P=(O=window.location.pathname)==null?void 0:O.includes("exercise"),z=P?"exercise":"shixun_homework",X=(0,D.useParams)(),[W]=(0,D.useSearchParams)(),{userInfo:ge}=y,g=W.get("name"),_=W.get("rule_id"),d=W.get("uuid"),v=W.get("language"),E=W.get("rowNumber"),m=W.get("issueId"),[n,i]=(0,R.useState)({}),[f,S]=(0,R.useState)({value:"",language:v.toLowerCase(),theme:"vs",options:{readOnly:!0},errorContent:"",errorLine:parseInt(E)}),[Z,Y]=(0,R.useState)(!0);(0,R.useEffect)(()=>{ue()},[]);const ue=()=>h(void 0,null,function*(){var fe,ve,We;Y(!0);const Ge=yield(0,w.ZP)("/api/code_analyses_detail/code_detail.json",{method:"get",params:{rule_id:_,uuid:d,issue_id:m}});if(Ge.status===0){f.value=(ve=(fe=Ge.data)==null?void 0:fe.codes)==null?void 0:ve.map(ie=>ie.code).join(`
`);const Ye=document.createElement("div");Ye.innerHTML=f.value,f.value=Ye.innerText,f.errorContent=(We=Ge==null?void 0:Ge.data)==null?void 0:We.errMessage,S(p({},f)),i(Ge.data)}Y(!1)});return R.createElement("section",{className:"edu-container"},R.createElement("section",{className:"animated fadeIn"},R.createElement("aside",{className:"mt10"},ge&&R.createElement(H.Z,{separator:">"},R.createElement(H.Z.Item,null,R.createElement(D.Link,{to:`/classrooms/${X.coursesId}/${z}`},(T=ge==null?void 0:ge.course)==null?void 0:T.course_name)),R.createElement(H.Z.Item,null,R.createElement(D.Link,{to:`/classrooms/${X.coursesId}/${z}`},P?"\u8003\u8BD5":"\u5B9E\u8BAD","\u5217\u8868")),R.createElement(H.Z.Item,null,R.createElement(D.Link,{to:`/classrooms/${X.coursesId}/${z}/${X==null?void 0:X.exerciseId}/detail`},P?"\u8BD5\u5377":"\u4F5C\u4E1A","\u8BE6\u60C5")),R.createElement(H.Z.Item,null,g))),R.createElement("aside",{className:[e.title,"mt20"].join(" ")},R.createElement(j.Z,{style:{width:"100%"}},R.createElement(L.Z,{flex:"1",style:{lineHeight:"24px"}},R.createElement(D.Link,{to:`/classrooms/${X.coursesId}/${z}/${X.exerciseId}/analysis/${X.studentId}`},R.createElement(G.Z,{className:"font16 c-black"})),R.createElement("strong",{className:"font20 ml5"},"\u4EE3\u7801\u8BE6\u60C5"))))),R.createElement("section",{className:e.wrap},R.createElement(B.Z,{loading:Z,active:!0,paragraph:{rows:5}},R.createElement("div",{className:e.title},n==null?void 0:n.title),R.createElement("div",{className:e.code},R.createElement(C.ZP,p({},f))),R.createElement("div",{className:e.error,dangerouslySetInnerHTML:{__html:(n==null?void 0:n.example)||""}}))))};var u=(0,D.connect)(({exercise:l,user:y})=>({exercise:l,user:y}))(c)},25769:function(Ne,ae,k){"use strict";var R=k(98040),D={"text/plain":"Text","text/html":"Url",default:"Text"},H="Copy to clipboard: #{key}, Enter";function j(B){var G=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return B.replace(/#{\s*key\s*}/g,G)}function L(B,G){var C,e,w,o,r,t,s=!1;G||(G={}),C=G.debug||!1;try{w=R(),o=document.createRange(),r=document.getSelection(),t=document.createElement("span"),t.textContent=B,t.ariaHidden="true",t.style.all="unset",t.style.position="fixed",t.style.top=0,t.style.clip="rect(0, 0, 0, 0)",t.style.whiteSpace="pre",t.style.webkitUserSelect="text",t.style.MozUserSelect="text",t.style.msUserSelect="text",t.style.userSelect="text",t.addEventListener("copy",function(p){if(p.stopPropagation(),G.format)if(p.preventDefault(),typeof p.clipboardData=="undefined"){C&&console.warn("unable to use e.clipboardData"),C&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var h=D[G.format]||D.default;window.clipboardData.setData(h,B)}else p.clipboardData.clearData(),p.clipboardData.setData(G.format,B);G.onCopy&&(p.preventDefault(),G.onCopy(p.clipboardData))}),document.body.appendChild(t),o.selectNodeContents(t),r.addRange(o);var a=document.execCommand("copy");if(!a)throw new Error("copy command was unsuccessful");s=!0}catch(p){C&&console.error("unable to copy using execCommand: ",p),C&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(G.format||"text",B),G.onCopy&&G.onCopy(window.clipboardData),s=!0}catch(h){C&&console.error("unable to copy using clipboardData: ",h),C&&console.error("falling back to prompt"),e=j("message"in G?G.message:H),window.prompt(e,B)}}finally{r&&(typeof r.removeRange=="function"?r.removeRange(o):r.removeAllRanges()),t&&document.body.removeChild(t),w()}return s}Ne.exports=L},53184:function(Ne,ae,k){"use strict";var R,D;function H(j,L,B){var G=function(C,e){return j.js_beautify(C,e)};return G.js=j.js_beautify,G.css=L.css_beautify,G.html=B.html_beautify,G.js_beautify=j.js_beautify,G.css_beautify=L.css_beautify,G.html_beautify=B.html_beautify,G}R=[k(58553),k(87804),k(40998)],D=function(j,L,B){return H(j,L,B)}.apply(ae,R),D!==void 0&&(Ne.exports=D)},87804:function(Ne,ae){var k,R;(function(){var D;(function(){"use strict";var j=[,,function(C){function e(r){this.__parent=r,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 r=new e(this.__parent);return r.set_indent(this.__indent_count,this.__alignment_count),r},e.prototype.item=function(r){return r<0?this.__items[this.__items.length+r]:this.__items[r]},e.prototype.has_match=function(r){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(r))return!0;return!1},e.prototype.set_indent=function(r,t){this.is_empty()&&(this.__indent_count=r||0,this.__alignment_count=t||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 r=this.__parent.current_line;return r.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),r.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),r.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,r.__items[0]===" "&&(r.__items.splice(0,1),r.__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(r){this.__items.push(r);var t=r.lastIndexOf(`
`);t!==-1?this.__character_count=r.length-t:this.__character_count+=r.length},e.prototype.pop=function(){var r=null;return this.is_empty()||(r=this.__items.pop(),this.__character_count-=r.length),r},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 r="";return this.is_empty()?this.__parent.indent_empty_lines&&(r=this.__parent.get_indent_string(this.__indent_count)):(r=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),r+=this.__items.join("")),r};function w(r,t){this.__cache=[""],this.__indent_size=r.indent_size,this.__indent_string=r.indent_char,r.indent_with_tabs||(this.__indent_string=new Array(r.indent_size+1).join(r.indent_char)),t=t||"",r.indent_level>0&&(t=new Array(r.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}w.prototype.get_indent_size=function(r,t){var s=this.__base_string_length;return t=t||0,r<0&&(s=0),s+=r*this.__indent_size,s+=t,s},w.prototype.get_indent_string=function(r,t){var s=this.__base_string;return t=t||0,r<0&&(r=0,s=""),t+=r*this.__indent_size,this.__ensure_cache(t),s+=this.__cache[t],s},w.prototype.__ensure_cache=function(r){for(;r>=this.__cache.length;)this.__add_column()},w.prototype.__add_column=function(){var r=this.__cache.length,t=0,s="";this.__indent_size&&r>=this.__indent_size&&(t=Math.floor(r/this.__indent_size),r-=t*this.__indent_size,s=new Array(t+1).join(this.__indent_string)),r&&(s+=new Array(r+1).join(" ")),this.__cache.push(s)};function o(r,t){this.__indent_cache=new w(r,t),this.raw=!1,this._end_with_newline=r.end_with_newline,this.indent_size=r.indent_size,this.wrap_line_length=r.wrap_line_length,this.indent_empty_lines=r.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()}o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(r,t){return this.__indent_cache.get_indent_string(r,t)},o.prototype.get_indent_size=function(r,t){return this.__indent_cache.get_indent_size(r,t)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(r){return this.is_empty()||!r&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(r){this.trim(!0);var t=this.current_line.pop();t&&(t[t.length-1]===`
`&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var s=this.__lines.join(`
`);return r!==`
`&&(s=s.replace(/[\n]/g,r)),s},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(r,t){return r=r||0,t=t||0,this.next_line.set_indent(r,t),this.__lines.length>1?(this.current_line.set_indent(r,t),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(r){for(var t=0;t<r.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(r.whitespace_before),this.current_line.push(r.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},o.prototype.add_token=function(r){this.__add_space_before_token(),this.current_line.push(r),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},o.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(" "))},o.prototype.remove_indent=function(r){for(var t=this.__lines.length;r<t;)this.__lines[r]._remove_indent(),r++;this.current_line._remove_wrap_indent()},o.prototype.trim=function(r){for(r=r===void 0?!1:r,this.current_line.trim();r&&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},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(r,t){for(var s=this.__lines.length-2;s>=0;){var a=this.__lines[s];if(a.is_empty())break;if(a.item(0).indexOf(r)!==0&&a.item(-1)!==t){this.__lines.splice(s+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}s--}},C.exports.Output=o},,,,function(C){function e(r,t){this.raw_options=w(r,t),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(r,t){var s=this.raw_options[r],a=t||[];return typeof s=="object"?s!==null&&typeof s.concat=="function"&&(a=s.concat()):typeof s=="string"&&(a=s.split(/[^a-zA-Z0-9_\/\-]+/)),a},e.prototype._get_boolean=function(r,t){var s=this.raw_options[r],a=s===void 0?!!t:!!s;return a},e.prototype._get_characters=function(r,t){var s=this.raw_options[r],a=t||"";return typeof s=="string"&&(a=s.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),a},e.prototype._get_number=function(r,t){var s=this.raw_options[r];t=parseInt(t,10),isNaN(t)&&(t=0);var a=parseInt(s,10);return isNaN(a)&&(a=t),a},e.prototype._get_selection=function(r,t,s){var a=this._get_selection_list(r,t,s);if(a.length!==1)throw new Error("Invalid Option Value: The option '"+r+`' can only be one of the following values:
`+t+`
You passed in: '`+this.raw_options[r]+"'");return a[0]},e.prototype._get_selection_list=function(r,t,s){if(!t||t.length===0)throw new Error("Selection list cannot be empty.");if(s=s||[t[0]],!this._is_valid_selection(s,t))throw new Error("Invalid Default Value!");var a=this._get_array(r,s);if(!this._is_valid_selection(a,t))throw new Error("Invalid Option Value: The option '"+r+`' can contain only the following values:
`+t+`
You passed in: '`+this.raw_options[r]+"'");return a},e.prototype._is_valid_selection=function(r,t){return r.length&&t.length&&!r.some(function(s){return t.indexOf(s)===-1})};function w(r,t){var s={};r=o(r);var a;for(a in r)a!==t&&(s[a]=r[a]);if(t&&r[t])for(a in r[t])s[a]=r[t][a];return s}function o(r){var t={},s;for(s in r){var a=s.replace(/-/g,"_");t[a]=r[s]}return t}C.exports.Options=e,C.exports.normalizeOpts=o,C.exports.mergeOpts=w},,function(C){var e=RegExp.prototype.hasOwnProperty("sticky");function w(o){this.__input=o||"",this.__input_length=this.__input.length,this.__position=0}w.prototype.restart=function(){this.__position=0},w.prototype.back=function(){this.__position>0&&(this.__position-=1)},w.prototype.hasNext=function(){return this.__position<this.__input_length},w.prototype.next=function(){var o=null;return this.hasNext()&&(o=this.__input.charAt(this.__position),this.__position+=1),o},w.prototype.peek=function(o){var r=null;return o=o||0,o+=this.__position,o>=0&&o<this.__input_length&&(r=this.__input.charAt(o)),r},w.prototype.__match=function(o,r){o.lastIndex=r;var t=o.exec(this.__input);return t&&!(e&&o.sticky)&&t.index!==r&&(t=null),t},w.prototype.test=function(o,r){return r=r||0,r+=this.__position,r>=0&&r<this.__input_length?!!this.__match(o,r):!1},w.prototype.testChar=function(o,r){var t=this.peek(r);return o.lastIndex=0,t!==null&&o.test(t)},w.prototype.match=function(o){var r=this.__match(o,this.__position);return r?this.__position+=r[0].length:r=null,r},w.prototype.read=function(o,r,t){var s="",a;return o&&(a=this.match(o),a&&(s+=a[0])),r&&(a||!o)&&(s+=this.readUntil(r,t)),s},w.prototype.readUntil=function(o,r){var t="",s=this.__position;o.lastIndex=this.__position;var a=o.exec(this.__input);return a?(s=a.index,r&&(s+=a[0].length)):s=this.__input_length,t=this.__input.substring(this.__position,s),this.__position=s,t},w.prototype.readUntilAfter=function(o){return this.readUntil(o,!0)},w.prototype.get_regexp=function(o,r){var t=null,s="g";return r&&e&&(s="y"),typeof o=="string"&&o!==""?t=new RegExp(o,s):o&&(t=new RegExp(o.source,s)),t},w.prototype.get_literal_regexp=function(o){return RegExp(o.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},w.prototype.peekUntilAfter=function(o){var r=this.__position,t=this.readUntilAfter(o);return this.__position=r,t},w.prototype.lookBack=function(o){var r=this.__position-1;return r>=o.length&&this.__input.substring(r-o.length,r).toLowerCase()===o},C.exports.InputScanner=w},,,,,function(C){function e(w,o){w=typeof w=="string"?w:w.source,o=typeof o=="string"?o:o.source,this.__directives_block_pattern=new RegExp(w+/ beautify( \w+[:]\w+)+ /.source+o,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(w+/\sbeautify\signore:end\s/.source+o,"g")}e.prototype.get_directives=function(w){if(!w.match(this.__directives_block_pattern))return null;var o={};this.__directive_pattern.lastIndex=0;for(var r=this.__directive_pattern.exec(w);r;)o[r[1]]=r[2],r=this.__directive_pattern.exec(w);return o},e.prototype.readIgnored=function(w){return w.readUntilAfter(this.__directives_end_ignore_pattern)},C.exports.Directives=e},,function(C,e,w){var o=w(16).Beautifier,r=w(17).Options;function t(s,a){var p=new o(s,a);return p.beautify()}C.exports=t,C.exports.defaultOptions=function(){return new r}},function(C,e,w){var o=w(17).Options,r=w(2).Output,t=w(8).InputScanner,s=w(13).Directives,a=new s(/\/\*/,/\*\//),p=/\r\n|[\r\n]/,h=/\r\n|[\r\n]/g,c=/\s/,u=/(?:\s|\n)+/g,l=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,y=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function x(O,T){this._source_text=O||"",this._options=new o(T),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"]}x.prototype.eatString=function(O){var T="";for(this._ch=this._input.next();this._ch;){if(T+=this._ch,this._ch==="\\")T+=this._input.next();else if(O.indexOf(this._ch)!==-1||this._ch===`
`)break;this._ch=this._input.next()}return T},x.prototype.eatWhitespace=function(O){for(var T=c.test(this._input.peek()),P=0;c.test(this._input.peek());)this._ch=this._input.next(),O&&this._ch===`
`&&(P===0||P<this._options.max_preserve_newlines)&&(P++,this._output.add_new_line(!0));return T},x.prototype.foundNestedPseudoClass=function(){for(var O=0,T=1,P=this._input.peek(T);P;){if(P==="{")return!0;if(P==="(")O+=1;else if(P===")"){if(O===0)return!1;O-=1}else if(P===";"||P==="}")return!1;T++,P=this._input.peek(T)}return!1},x.prototype.print_string=function(O){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(O)},x.prototype.preserveSingleSpace=function(O){O&&(this._output.space_before_token=!0)},x.prototype.indent=function(){this._indentLevel++},x.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},x.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var O=this._source_text,T=this._options.eol;T==="auto"&&(T=`
`,O&&p.test(O||"")&&(T=O.match(p)[0])),O=O.replace(h,`
`);var P=O.match(/^[\t ]*/)[0];this._output=new r(this._options,P),this._input=new t(O),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var z=0,X=!1,W=!1,ge=!1,g=!1,_=!1,d=this._ch,v=!1,E,m,n;E=this._input.read(u),m=E!=="",n=d,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),d=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var i=this._input.read(l),f=a.get_directives(i);f&&f.ignore==="start"&&(i+=a.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(y)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(m),this.print_string(this._ch);var S=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);S.match(/[ :]$/)&&(S=this.eatString(": ").replace(/\s+$/,""),this.print_string(S),this._output.space_before_token=!0),z===0&&S.indexOf(":")!==-1&&(W=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(m),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Z=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Z.match(/[ :]$/)&&(Z=this.eatString(": ").replace(/\s+$/,""),this.print_string(Z),this._output.space_before_token=!0),z===0&&Z.indexOf(":")!==-1?(W=!0,this.indent()):Z in this.NESTED_AT_RULE?(this._nestedLevel+=1,Z in this.CONDITIONAL_GROUP_RULE&&(ge=!0)):z===0&&!W&&(g=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(m),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")W&&(W=!1,this.outdent()),g=!1,ge?(ge=!1,X=this._indentLevel>=this._nestedLevel):X=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&X&&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),W&&(this.outdent(),W=!1),this.print_string(this._ch),X=!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 Y=0;Y<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Y++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Y])){v=!0;break}(X||ge)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!g&&z===0?(this.print_string(":"),W||(W=!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 ue=n==='"'||n==="'";this.preserveSingleSpace(ue||m),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")v=!1,z===0?(W&&(this.outdent(),W=!1),g=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),z++,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(")")),z&&(z--,this.outdent()));else{var fe=!1;this._input.lookBack("with")&&(fe=!0),this.preserveSingleSpace(m||fe),this.print_string(this._ch),W&&n==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),_=!0):(this.eatWhitespace(),z++,this.indent())}else if(this._ch===")")z&&(z--,this.outdent()),_&&this._input.peek()===";"&&this._options.selector_separator_newline&&(_=!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&&(!W||_)&&z===0&&!g?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!W&&z===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&&c.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(m),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),c.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 ve=n==='"'||n==="'";this.preserveSingleSpace(ve||m),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
`&&v&&this._output.add_new_line()}var We=this._output.get_code(T);return We},C.exports.Beautifier=x},function(C,e,w){var o=w(6).Options;function r(t){o.call(this,t,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var s=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||s;var a=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var p=0;p<a.length;p++)a[p]!=="expand"?this.brace_style="collapse":this.brace_style=a[p]}r.prototype=new o,C.exports.Options=r}],L={};function B(C){var e=L[C];if(e!==void 0)return e.exports;var w=L[C]={exports:{}};return j[C](w,w.exports,B),w.exports}var G=B(15);D=G})();var H=D;k=[],R=function(){return{css_beautify:H}}.apply(ae,k),R!==void 0&&(Ne.exports=R)})()},40998:function(Ne,ae,k){var R,D;(function(){var H;(function(){"use strict";var G=[,,function(o){function r(a){this.__parent=a,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=[]}r.prototype.clone_empty=function(){var a=new r(this.__parent);return a.set_indent(this.__indent_count,this.__alignment_count),a},r.prototype.item=function(a){return a<0?this.__items[this.__items.length+a]:this.__items[a]},r.prototype.has_match=function(a){for(var p=this.__items.length-1;p>=0;p--)if(this.__items[p].match(a))return!0;return!1},r.prototype.set_indent=function(a,p){this.is_empty()&&(this.__indent_count=a||0,this.__alignment_count=p||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},r.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)},r.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},r.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var a=this.__parent.current_line;return a.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),a.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),a.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,a.__items[0]===" "&&(a.__items.splice(0,1),a.__character_count-=1),!0}return!1},r.prototype.is_empty=function(){return this.__items.length===0},r.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},r.prototype.push=function(a){this.__items.push(a);var p=a.lastIndexOf(`
`);p!==-1?this.__character_count=a.length-p:this.__character_count+=a.length},r.prototype.pop=function(){var a=null;return this.is_empty()||(a=this.__items.pop(),this.__character_count-=a.length),a},r.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},r.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},r.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},r.prototype.toString=function(){var a="";return this.is_empty()?this.__parent.indent_empty_lines&&(a=this.__parent.get_indent_string(this.__indent_count)):(a=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),a+=this.__items.join("")),a};function t(a,p){this.__cache=[""],this.__indent_size=a.indent_size,this.__indent_string=a.indent_char,a.indent_with_tabs||(this.__indent_string=new Array(a.indent_size+1).join(a.indent_char)),p=p||"",a.indent_level>0&&(p=new Array(a.indent_level+1).join(this.__indent_string)),this.__base_string=p,this.__base_string_length=p.length}t.prototype.get_indent_size=function(a,p){var h=this.__base_string_length;return p=p||0,a<0&&(h=0),h+=a*this.__indent_size,h+=p,h},t.prototype.get_indent_string=function(a,p){var h=this.__base_string;return p=p||0,a<0&&(a=0,h=""),p+=a*this.__indent_size,this.__ensure_cache(p),h+=this.__cache[p],h},t.prototype.__ensure_cache=function(a){for(;a>=this.__cache.length;)this.__add_column()},t.prototype.__add_column=function(){var a=this.__cache.length,p=0,h="";this.__indent_size&&a>=this.__indent_size&&(p=Math.floor(a/this.__indent_size),a-=p*this.__indent_size,h=new Array(p+1).join(this.__indent_string)),a&&(h+=new Array(a+1).join(" ")),this.__cache.push(h)};function s(a,p){this.__indent_cache=new t(a,p),this.raw=!1,this._end_with_newline=a.end_with_newline,this.indent_size=a.indent_size,this.wrap_line_length=a.wrap_line_length,this.indent_empty_lines=a.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new r(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}s.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},s.prototype.get_line_number=function(){return this.__lines.length},s.prototype.get_indent_string=function(a,p){return this.__indent_cache.get_indent_string(a,p)},s.prototype.get_indent_size=function(a,p){return this.__indent_cache.get_indent_size(a,p)},s.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},s.prototype.add_new_line=function(a){return this.is_empty()||!a&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},s.prototype.get_code=function(a){this.trim(!0);var p=this.current_line.pop();p&&(p[p.length-1]===`
`&&(p=p.replace(/\n+$/g,"")),this.current_line.push(p)),this._end_with_newline&&this.__add_outputline();var h=this.__lines.join(`
`);return a!==`
`&&(h=h.replace(/[\n]/g,a)),h},s.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},s.prototype.set_indent=function(a,p){return a=a||0,p=p||0,this.next_line.set_indent(a,p),this.__lines.length>1?(this.current_line.set_indent(a,p),!0):(this.current_line.set_indent(),!1)},s.prototype.add_raw_token=function(a){for(var p=0;p<a.newlines;p++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(a.whitespace_before),this.current_line.push(a.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},s.prototype.add_token=function(a){this.__add_space_before_token(),this.current_line.push(a),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},s.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(" "))},s.prototype.remove_indent=function(a){for(var p=this.__lines.length;a<p;)this.__lines[a]._remove_indent(),a++;this.current_line._remove_wrap_indent()},s.prototype.trim=function(a){for(a=a===void 0?!1:a,this.current_line.trim();a&&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},s.prototype.just_added_newline=function(){return this.current_line.is_empty()},s.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},s.prototype.ensure_empty_line_above=function(a,p){for(var h=this.__lines.length-2;h>=0;){var c=this.__lines[h];if(c.is_empty())break;if(c.item(0).indexOf(a)!==0&&c.item(-1)!==p){this.__lines.splice(h+1,0,new r(this)),this.previous_line=this.__lines[this.__lines.length-2];break}h--}},o.exports.Output=s},function(o){function r(t,s,a,p){this.type=t,this.text=s,this.comments_before=null,this.newlines=a||0,this.whitespace_before=p||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}o.exports.Token=r},,,function(o){function r(a,p){this.raw_options=t(a,p),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"])}r.prototype._get_array=function(a,p){var h=this.raw_options[a],c=p||[];return typeof h=="object"?h!==null&&typeof h.concat=="function"&&(c=h.concat()):typeof h=="string"&&(c=h.split(/[^a-zA-Z0-9_\/\-]+/)),c},r.prototype._get_boolean=function(a,p){var h=this.raw_options[a],c=h===void 0?!!p:!!h;return c},r.prototype._get_characters=function(a,p){var h=this.raw_options[a],c=p||"";return typeof h=="string"&&(c=h.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),c},r.prototype._get_number=function(a,p){var h=this.raw_options[a];p=parseInt(p,10),isNaN(p)&&(p=0);var c=parseInt(h,10);return isNaN(c)&&(c=p),c},r.prototype._get_selection=function(a,p,h){var c=this._get_selection_list(a,p,h);if(c.length!==1)throw new Error("Invalid Option Value: The option '"+a+`' can only be one of the following values:
`+p+`
You passed in: '`+this.raw_options[a]+"'");return c[0]},r.prototype._get_selection_list=function(a,p,h){if(!p||p.length===0)throw new Error("Selection list cannot be empty.");if(h=h||[p[0]],!this._is_valid_selection(h,p))throw new Error("Invalid Default Value!");var c=this._get_array(a,h);if(!this._is_valid_selection(c,p))throw new Error("Invalid Option Value: The option '"+a+`' can contain only the following values:
`+p+`
You passed in: '`+this.raw_options[a]+"'");return c},r.prototype._is_valid_selection=function(a,p){return a.length&&p.length&&!a.some(function(h){return p.indexOf(h)===-1})};function t(a,p){var h={};a=s(a);var c;for(c in a)c!==p&&(h[c]=a[c]);if(p&&a[p])for(c in a[p])h[c]=a[p][c];return h}function s(a){var p={},h;for(h in a){var c=h.replace(/-/g,"_");p[c]=a[h]}return p}o.exports.Options=r,o.exports.normalizeOpts=s,o.exports.mergeOpts=t},,function(o){var r=RegExp.prototype.hasOwnProperty("sticky");function t(s){this.__input=s||"",this.__input_length=this.__input.length,this.__position=0}t.prototype.restart=function(){this.__position=0},t.prototype.back=function(){this.__position>0&&(this.__position-=1)},t.prototype.hasNext=function(){return this.__position<this.__input_length},t.prototype.next=function(){var s=null;return this.hasNext()&&(s=this.__input.charAt(this.__position),this.__position+=1),s},t.prototype.peek=function(s){var a=null;return s=s||0,s+=this.__position,s>=0&&s<this.__input_length&&(a=this.__input.charAt(s)),a},t.prototype.__match=function(s,a){s.lastIndex=a;var p=s.exec(this.__input);return p&&!(r&&s.sticky)&&p.index!==a&&(p=null),p},t.prototype.test=function(s,a){return a=a||0,a+=this.__position,a>=0&&a<this.__input_length?!!this.__match(s,a):!1},t.prototype.testChar=function(s,a){var p=this.peek(a);return s.lastIndex=0,p!==null&&s.test(p)},t.prototype.match=function(s){var a=this.__match(s,this.__position);return a?this.__position+=a[0].length:a=null,a},t.prototype.read=function(s,a,p){var h="",c;return s&&(c=this.match(s),c&&(h+=c[0])),a&&(c||!s)&&(h+=this.readUntil(a,p)),h},t.prototype.readUntil=function(s,a){var p="",h=this.__position;s.lastIndex=this.__position;var c=s.exec(this.__input);return c?(h=c.index,a&&(h+=c[0].length)):h=this.__input_length,p=this.__input.substring(this.__position,h),this.__position=h,p},t.prototype.readUntilAfter=function(s){return this.readUntil(s,!0)},t.prototype.get_regexp=function(s,a){var p=null,h="g";return a&&r&&(h="y"),typeof s=="string"&&s!==""?p=new RegExp(s,h):s&&(p=new RegExp(s.source,h)),p},t.prototype.get_literal_regexp=function(s){return RegExp(s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},t.prototype.peekUntilAfter=function(s){var a=this.__position,p=this.readUntilAfter(s);return this.__position=a,p},t.prototype.lookBack=function(s){var a=this.__position-1;return a>=s.length&&this.__input.substring(a-s.length,a).toLowerCase()===s},o.exports.InputScanner=t},function(o,r,t){var s=t(8).InputScanner,a=t(3).Token,p=t(10).TokenStream,h=t(11).WhitespacePattern,c={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},u=function(l,y){this._input=new s(l),this._options=y||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new h(this._input)};u.prototype.tokenize=function(){this._input.restart(),this.__tokens=new p,this._reset();for(var l,y=new a(c.START,""),x=null,O=[],T=new p;y.type!==c.EOF;){for(l=this._get_next_token(y,x);this._is_comment(l);)T.add(l),l=this._get_next_token(y,x);T.isEmpty()||(l.comments_before=T,T=new p),l.parent=x,this._is_opening(l)?(O.push(x),x=l):x&&this._is_closing(l,x)&&(l.opened=x,x.closed=l,x=O.pop(),l.parent=x),l.previous=y,y.next=l,this.__tokens.add(l),y=l}return this.__tokens},u.prototype._is_first_token=function(){return this.__tokens.isEmpty()},u.prototype._reset=function(){},u.prototype._get_next_token=function(l,y){this._readWhitespace();var x=this._input.read(/.+/g);return x?this._create_token(c.RAW,x):this._create_token(c.EOF,"")},u.prototype._is_comment=function(l){return!1},u.prototype._is_opening=function(l){return!1},u.prototype._is_closing=function(l,y){return!1},u.prototype._create_token=function(l,y){var x=new a(l,y,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return x},u.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},o.exports.Tokenizer=u,o.exports.TOKEN=c},function(o){function r(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}r.prototype.restart=function(){this.__position=0},r.prototype.isEmpty=function(){return this.__tokens_length===0},r.prototype.hasNext=function(){return this.__position<this.__tokens_length},r.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__tokens[this.__position],this.__position+=1),t},r.prototype.peek=function(t){var s=null;return t=t||0,t+=this.__position,t>=0&&t<this.__tokens_length&&(s=this.__tokens[t]),s},r.prototype.add=function(t){this.__parent_token&&(t.parent=this.__parent_token),this.__tokens.push(t),this.__tokens_length+=1},o.exports.TokenStream=r},function(o,r,t){var s=t(12).Pattern;function a(p,h){s.call(this,p,h),h?this._line_regexp=this._input.get_regexp(h._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}a.prototype=new s,a.prototype.__set_whitespace_patterns=function(p,h){p+="\\t ",h+="\\n\\r",this._match_pattern=this._input.get_regexp("["+p+h+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+h+"]")},a.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var p=this._input.read(this._match_pattern);if(p===" ")this.whitespace_before_token=" ";else if(p){var h=this.__split(this._newline_regexp,p);this.newline_count=h.length-1,this.whitespace_before_token=h[this.newline_count]}return p},a.prototype.matching=function(p,h){var c=this._create();return c.__set_whitespace_patterns(p,h),c._update(),c},a.prototype._create=function(){return new a(this._input,this)},a.prototype.__split=function(p,h){p.lastIndex=0;for(var c=0,u=[],l=p.exec(h);l;)u.push(h.substring(c,l.index)),c=l.index+l[0].length,l=p.exec(h);return c<h.length?u.push(h.substring(c,h.length)):u.push(""),u},o.exports.WhitespacePattern=a},function(o){function r(t,s){this._input=t,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,s&&(this._starting_pattern=this._input.get_regexp(s._starting_pattern,!0),this._match_pattern=this._input.get_regexp(s._match_pattern,!0),this._until_pattern=this._input.get_regexp(s._until_pattern),this._until_after=s._until_after)}r.prototype.read=function(){var t=this._input.read(this._starting_pattern);return(!this._starting_pattern||t)&&(t+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),t},r.prototype.read_match=function(){return this._input.match(this._match_pattern)},r.prototype.until_after=function(t){var s=this._create();return s._until_after=!0,s._until_pattern=this._input.get_regexp(t),s._update(),s},r.prototype.until=function(t){var s=this._create();return s._until_after=!1,s._until_pattern=this._input.get_regexp(t),s._update(),s},r.prototype.starting_with=function(t){var s=this._create();return s._starting_pattern=this._input.get_regexp(t,!0),s._update(),s},r.prototype.matching=function(t){var s=this._create();return s._match_pattern=this._input.get_regexp(t,!0),s._update(),s},r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){},o.exports.Pattern=r},function(o){function r(t,s){t=typeof t=="string"?t:t.source,s=typeof s=="string"?s:s.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+s,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+s,"g")}r.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var s={};this.__directive_pattern.lastIndex=0;for(var a=this.__directive_pattern.exec(t);a;)s[a[1]]=a[2],a=this.__directive_pattern.exec(t);return s},r.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},o.exports.Directives=r},function(o,r,t){var s=t(12).Pattern,a={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function p(h,c){s.call(this,h,c),this.__template_pattern=null,this._disabled=Object.assign({},a),this._excluded=Object.assign({},a),c&&(this.__template_pattern=this._input.get_regexp(c.__template_pattern),this._excluded=Object.assign(this._excluded,c._excluded),this._disabled=Object.assign(this._disabled,c._disabled));var u=new s(h);this.__patterns={handlebars_comment:u.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:u.starting_with(/{{{/).until_after(/}}}/),handlebars:u.starting_with(/{{/).until_after(/}}/),php:u.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:u.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:u.starting_with(/{%/).until_after(/%}/),django_value:u.starting_with(/{{/).until_after(/}}/),django_comment:u.starting_with(/{#/).until_after(/#}/),smarty:u.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:u.starting_with(/{\*/).until_after(/\*}/),smarty_literal:u.starting_with(/{literal}/).until_after(/{\/literal}/)}}p.prototype=new s,p.prototype._create=function(){return new p(this._input,this)},p.prototype._update=function(){this.__set_templated_pattern()},p.prototype.disable=function(h){var c=this._create();return c._disabled[h]=!0,c._update(),c},p.prototype.read_options=function(h){var c=this._create();for(var u in a)c._disabled[u]=h.templating.indexOf(u)===-1;return c._update(),c},p.prototype.exclude=function(h){var c=this._create();return c._excluded[h]=!0,c._update(),c},p.prototype.read=function(){var h="";this._match_pattern?h=this._input.read(this._starting_pattern):h=this._input.read(this._starting_pattern,this.__template_pattern);for(var c=this._read_template();c;)this._match_pattern?c+=this._input.read(this._match_pattern):c+=this._input.readUntil(this.__template_pattern),h+=c,c=this._read_template();return this._until_after&&(h+=this._input.readUntilAfter(this._until_pattern)),h},p.prototype.__set_templated_pattern=function(){var h=[];this._disabled.php||h.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||h.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||h.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||h.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(h.push(this.__patterns.django._starting_pattern.source),h.push(this.__patterns.django_value._starting_pattern.source),h.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||h.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&h.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+h.join("|")+")")},p.prototype._read_template=function(){var h="",c=this._input.peek();if(c==="<"){var u=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&u==="?"&&(h=h||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&u==="%"&&(h=h||this.__patterns.erb.read())}else c==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(h=h||this.__patterns.handlebars_comment.read(),h=h||this.__patterns.handlebars_unescaped.read(),h=h||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(h=h||this.__patterns.django_value.read()),this._excluded.django||(h=h||this.__patterns.django_comment.read(),h=h||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(h=h||this.__patterns.smarty_comment.read(),h=h||this.__patterns.smarty_literal.read(),h=h||this.__patterns.smarty.read()));return h},o.exports.TemplatablePattern=p},,,,function(o,r,t){var s=t(19).Beautifier,a=t(20).Options;function p(h,c,u,l){var y=new s(h,c,u,l);return y.beautify()}o.exports=p,o.exports.defaultOptions=function(){return new a}},function(o,r,t){var s=t(20).Options,a=t(2).Output,p=t(21).Tokenizer,h=t(21).TOKEN,c=/\r\n|[\r\n]/,u=/\r\n|[\r\n]/g,l=function(g,_){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=g.max_preserve_newlines,this.preserve_newlines=g.preserve_newlines,this._output=new a(g,_)};l.prototype.current_line_has_match=function(g){return this._output.current_line.has_match(g)},l.prototype.set_space_before_token=function(g,_){this._output.space_before_token=g,this._output.non_breaking_space=_},l.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},l.prototype.add_raw_token=function(g){this._output.add_raw_token(g)},l.prototype.print_preserved_newlines=function(g){var _=0;g.type!==h.TEXT&&g.previous.type!==h.TEXT&&(_=g.newlines?1:0),this.preserve_newlines&&(_=g.newlines<this.max_preserve_newlines+1?g.newlines:this.max_preserve_newlines+1);for(var d=0;d<_;d++)this.print_newline(d>0);return _!==0},l.prototype.traverse_whitespace=function(g){return g.whitespace_before||g.newlines?(this.print_preserved_newlines(g)||(this._output.space_before_token=!0),!0):!1},l.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},l.prototype.print_newline=function(g){this._output.add_new_line(g)},l.prototype.print_token=function(g){g.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(g.text))},l.prototype.indent=function(){this.indent_level++},l.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},l.prototype.get_full_indent=function(g){return g=this.indent_level+(g||0),g<1?"":this._output.get_indent_string(g)};var y=function(g){for(var _=null,d=g.next;d.type!==h.EOF&&g.closed!==d;){if(d.type===h.ATTRIBUTE&&d.text==="type"){d.next&&d.next.type===h.EQUALS&&d.next.next&&d.next.next.type===h.VALUE&&(_=d.next.next.text);break}d=d.next}return _},x=function(g,_){var d=null,v=null;return _.closed?(g==="script"?d="text/javascript":g==="style"&&(d="text/css"),d=y(_)||d,d.search("text/css")>-1?v="css":d.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?v="javascript":d.search(/(text|application|dojo)\/(x-)?(html)/)>-1?v="html":d.search(/test\/null/)>-1&&(v="null"),v):null};function O(g,_){return _.indexOf(g)!==-1}function T(g,_,d){this.parent=g||null,this.tag=_?_.tag_name:"",this.indent_level=d||0,this.parser_token=_||null}function P(g){this._printer=g,this._current_frame=null}P.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},P.prototype.record_tag=function(g){var _=new T(this._current_frame,g,this._printer.indent_level);this._current_frame=_},P.prototype._try_pop_frame=function(g){var _=null;return g&&(_=g.parser_token,this._printer.indent_level=g.indent_level,this._current_frame=g.parent),_},P.prototype._get_frame=function(g,_){for(var d=this._current_frame;d&&g.indexOf(d.tag)===-1;){if(_&&_.indexOf(d.tag)!==-1){d=null;break}d=d.parent}return d},P.prototype.try_pop=function(g,_){var d=this._get_frame([g],_);return this._try_pop_frame(d)},P.prototype.indent_to_tag=function(g){var _=this._get_frame(g);_&&(this._printer.indent_level=_.indent_level)};function z(g,_,d,v){this._source_text=g||"",_=_||{},this._js_beautify=d,this._css_beautify=v,this._tag_stack=null;var E=new s(_,"html");this._options=E,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"}z.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var g=this._source_text,_=this._options.eol;this._options.eol==="auto"&&(_=`
`,g&&c.test(g)&&(_=g.match(c)[0])),g=g.replace(u,`
`);var d=g.match(/^[\t ]*/)[0],v={text:"",type:""},E=new X(this._options),m=new l(this._options,d),n=new p(g,this._options).tokenize();this._tag_stack=new P(m);for(var i=null,f=n.next();f.type!==h.EOF;)f.type===h.TAG_OPEN||f.type===h.COMMENT?(i=this._handle_tag_open(m,f,E,v,n),E=i):f.type===h.ATTRIBUTE||f.type===h.EQUALS||f.type===h.VALUE||f.type===h.TEXT&&!E.tag_complete?i=this._handle_inside_tag(m,f,E,v):f.type===h.TAG_CLOSE?i=this._handle_tag_close(m,f,E):f.type===h.TEXT?i=this._handle_text(m,f,E):f.type===h.CONTROL_FLOW_OPEN?i=this._handle_control_flow_open(m,f):f.type===h.CONTROL_FLOW_CLOSE?i=this._handle_control_flow_close(m,f):m.add_raw_token(f),v=i,f=n.next();var S=m._output.get_code(_);return S},z.prototype._handle_control_flow_open=function(g,_){var d={text:_.text,type:_.type};return g.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),_.newlines?g.print_preserved_newlines(_):g.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),g.print_token(_),g.indent(),d},z.prototype._handle_control_flow_close=function(g,_){var d={text:_.text,type:_.type};return g.deindent(),_.newlines?g.print_preserved_newlines(_):g.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),g.print_token(_),d},z.prototype._handle_tag_close=function(g,_,d){var v={text:_.text,type:_.type};return g.alignment_size=0,d.tag_complete=!0,g.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),d.is_unformatted?g.add_raw_token(_):(d.tag_start_char==="<"&&(g.set_space_before_token(_.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&d.has_wrapped_attrs&&g.print_newline(!1)),g.print_token(_)),d.indent_content&&!(d.is_unformatted||d.is_content_unformatted)&&(g.indent(),d.indent_content=!1),!d.is_inline_element&&!(d.is_unformatted||d.is_content_unformatted)&&g.set_wrap_point(),v},z.prototype._handle_inside_tag=function(g,_,d,v){var E=d.has_wrapped_attrs,m={text:_.text,type:_.type};return g.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),d.is_unformatted?g.add_raw_token(_):d.tag_start_char==="{"&&_.type===h.TEXT?g.print_preserved_newlines(_)?(_.newlines=0,g.add_raw_token(_)):g.print_token(_):(_.type===h.ATTRIBUTE?g.set_space_before_token(!0):(_.type===h.EQUALS||_.type===h.VALUE&&_.previous.type===h.EQUALS)&&g.set_space_before_token(!1),_.type===h.ATTRIBUTE&&d.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(g.traverse_whitespace(_),E=E||_.newlines!==0),this._is_wrap_attributes_force&&d.attr_count>=this._options.wrap_attributes_min_attrs&&(v.type!==h.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(g.print_newline(!1),E=!0)),g.print_token(_),E=E||g.previous_token_wrapped(),d.has_wrapped_attrs=E),m},z.prototype._handle_text=function(g,_,d){var v={text:_.text,type:"TK_CONTENT"};return d.custom_beautifier_name?this._print_custom_beatifier_text(g,_,d):d.is_unformatted||d.is_content_unformatted?g.add_raw_token(_):(g.traverse_whitespace(_),g.print_token(_)),v},z.prototype._print_custom_beatifier_text=function(g,_,d){var v=this;if(_.text!==""){var E=_.text,m,n=1,i="",f="";d.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?m=this._js_beautify:d.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?m=this._css_beautify:d.custom_beautifier_name==="html"&&(m=function(ve,We){var Ge=new z(ve,We,v._js_beautify,v._css_beautify);return Ge.beautify()}),this._options.indent_scripts==="keep"?n=0:this._options.indent_scripts==="separate"&&(n=-g.indent_level);var S=g.get_full_indent(n);if(E=E.replace(/\n[ \t]*$/,""),d.custom_beautifier_name!=="html"&&E[0]==="<"&&E.match(/^(<!--|<!\[CDATA\[)/)){var Z=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(E);if(!Z){g.add_raw_token(_);return}i=S+Z[1]+`
`,E=Z[4],Z[5]&&(f=S+Z[5]),E=E.replace(/\n[ \t]*$/,""),(Z[2]||Z[3].indexOf(`
`)!==-1)&&(Z=Z[3].match(/[ \t]+$/),Z&&(_.whitespace_before=Z[0]))}if(E)if(m){var Y=function(){this.eol=`
`};Y.prototype=this._options.raw_options;var ue=new Y;E=m(S+E,ue)}else{var fe=_.whitespace_before;fe&&(E=E.replace(new RegExp(`
(`+fe+")?","g"),`
`)),E=S+E.replace(/\n/g,`
`+S)}i&&(E?E=i+E+`
`+f:E=i+f),g.print_newline(!1),E&&(_.text=E,_.whitespace_before="",_.newlines=0,g.add_raw_token(_),g.print_newline(!0))}},z.prototype._handle_tag_open=function(g,_,d,v,E){var m=this._get_tag_open_token(_);if((d.is_unformatted||d.is_content_unformatted)&&!d.is_empty_element&&_.type===h.TAG_OPEN&&!m.is_start_tag?(g.add_raw_token(_),m.start_tag_token=this._tag_stack.try_pop(m.tag_name)):(g.traverse_whitespace(_),this._set_tag_position(g,_,m,d,v),m.is_inline_element||g.set_wrap_point(),g.print_token(_)),m.is_start_tag&&this._is_wrap_attributes_force){var n=0,i;do i=E.peek(n),i.type===h.ATTRIBUTE&&(m.attr_count+=1),n+=1;while(i.type!==h.EOF&&i.type!==h.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(m.alignment_size=_.text.length+1),!m.tag_complete&&!m.is_unformatted&&(g.alignment_size=m.alignment_size),m};var X=function(g,_,d){if(this.parent=_||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="",!d)this.tag_complete=!0;else{var v;this.tag_start_char=d.text[0],this.text=d.text,this.tag_start_char==="<"?(v=d.text.match(/^<([^\s>]*)/),this.tag_check=v?v[1]:""):(v=d.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=v?v[1]:"",(d.text.startsWith("{{#>")||d.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&d.next!==null?this.tag_check=d.next.text.split(" ")[0]:this.tag_check=d.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),d.type===h.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||d.closed&&d.closed.text==="/>";var E=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(E=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!g.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(E)))}};z.prototype._get_tag_open_token=function(g){var _=new X(this._options,this._tag_stack.get_parser_token(),g);return _.alignment_size=this._options.wrap_attributes_indent_size,_.is_end_tag=_.is_end_tag||O(_.tag_check,this._options.void_elements),_.is_empty_element=_.tag_complete||_.is_start_tag&&_.is_end_tag,_.is_unformatted=!_.tag_complete&&O(_.tag_check,this._options.unformatted),_.is_content_unformatted=!_.is_empty_element&&O(_.tag_check,this._options.content_unformatted),_.is_inline_element=O(_.tag_name,this._options.inline)||this._options.inline_custom_elements&&_.tag_name.includes("-")||_.tag_start_char==="{",_},z.prototype._set_tag_position=function(g,_,d,v,E){if(d.is_empty_element||(d.is_end_tag?d.start_tag_token=this._tag_stack.try_pop(d.tag_name):(this._do_optional_end_element(d)&&(d.is_inline_element||g.print_newline(!1)),this._tag_stack.record_tag(d),(d.tag_name==="script"||d.tag_name==="style")&&!(d.is_unformatted||d.is_content_unformatted)&&(d.custom_beautifier_name=x(d.tag_check,_)))),O(d.tag_check,this._options.extra_liners)&&(g.print_newline(!1),g._output.just_added_blankline()||g.print_newline(!0)),d.is_empty_element){if(d.tag_start_char==="{"&&d.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),d.indent_content=!0;var m=g.current_line_has_match(/{{#if/);m||g.print_newline(!1)}d.tag_name==="!--"&&E.type===h.TAG_CLOSE&&v.is_end_tag&&d.text.indexOf(`
`)===-1||(d.is_inline_element||d.is_unformatted||g.print_newline(!1),this._calcluate_parent_multiline(g,d))}else if(d.is_end_tag){var n=!1;n=d.start_tag_token&&d.start_tag_token.multiline_content,n=n||!d.is_inline_element&&!(v.is_inline_element||v.is_unformatted)&&!(E.type===h.TAG_CLOSE&&d.start_tag_token===v)&&E.type!=="TK_CONTENT",(d.is_content_unformatted||d.is_unformatted)&&(n=!1),n&&g.print_newline(!1)}else d.indent_content=!d.custom_beautifier_name,d.tag_start_char==="<"&&(d.tag_name==="html"?d.indent_content=this._options.indent_inner_html:d.tag_name==="head"?d.indent_content=this._options.indent_head_inner_html:d.tag_name==="body"&&(d.indent_content=this._options.indent_body_inner_html)),!(d.is_inline_element||d.is_unformatted)&&(E.type!=="TK_CONTENT"||d.is_content_unformatted)&&g.print_newline(!1),this._calcluate_parent_multiline(g,d)},z.prototype._calcluate_parent_multiline=function(g,_){_.parent&&g._output.just_added_newline()&&!((_.is_inline_element||_.is_unformatted)&&_.parent.is_inline_element)&&(_.parent.multiline_content=!0)};var W=["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"];z.prototype._do_optional_end_element=function(g){var _=null;if(!(g.is_empty_element||!g.is_start_tag||!g.parent)){if(g.tag_name==="body")_=_||this._tag_stack.try_pop("head");else if(g.tag_name==="li")_=_||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(g.tag_name==="dd"||g.tag_name==="dt")_=_||this._tag_stack.try_pop("dt",["dl"]),_=_||this._tag_stack.try_pop("dd",["dl"]);else if(g.parent.tag_name==="p"&&W.indexOf(g.tag_name)!==-1){var d=g.parent.parent;(!d||ge.indexOf(d.tag_name)===-1)&&(_=_||this._tag_stack.try_pop("p"))}else g.tag_name==="rp"||g.tag_name==="rt"?(_=_||this._tag_stack.try_pop("rt",["ruby","rtc"]),_=_||this._tag_stack.try_pop("rp",["ruby","rtc"])):g.tag_name==="optgroup"?_=_||this._tag_stack.try_pop("optgroup",["select"]):g.tag_name==="option"?_=_||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):g.tag_name==="colgroup"?_=_||this._tag_stack.try_pop("caption",["table"]):g.tag_name==="thead"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"])):g.tag_name==="tbody"||g.tag_name==="tfoot"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"]),_=_||this._tag_stack.try_pop("thead",["table"]),_=_||this._tag_stack.try_pop("tbody",["table"])):g.tag_name==="tr"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"]),_=_||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(g.tag_name==="th"||g.tag_name==="td")&&(_=_||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),_=_||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return g.parent=this._tag_stack.get_parser_token(),_}},o.exports.Beautifier=z},function(o,r,t){var s=t(6).Options;function a(p){s.call(this,p,"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"])}a.prototype=new s,o.exports.Options=a},function(o,r,t){var s=t(9).Tokenizer,a=t(9).TOKEN,p=t(13).Directives,h=t(14).TemplatablePattern,c=t(12).Pattern,u={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:a.START,RAW:a.RAW,EOF:a.EOF},l=new p(/<\!--/,/-->/),y=function(x,O){s.call(this,x,O),this._current_tag_name="";var T=new h(this._input).read_options(this._options),P=new c(this._input);if(this.__patterns={word:T.until(/[\n\r\t <]/),word_control_flow_close_excluded:T.until(/[\n\r\t <}]/),single_quote:T.until_after(/'/),double_quote:T.until_after(/"/),attribute:T.until(/[\n\r\t =>]|\/>/),element_name:T.until(/[\n\r\t >\/]/),angular_control_flow_start:P.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:P.starting_with(/{{!--/).until_after(/--}}/),handlebars:P.starting_with(/{{/).until_after(/}}/),handlebars_open:P.until(/[\n\r\t }]/),handlebars_raw_close:P.until(/}}/),comment:P.starting_with(/<!--/).until_after(/-->/),cdata:P.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:P.starting_with(/<!\[/).until_after(/]>/),processing:P.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 z=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=P.matching(z).until_after(z)}};y.prototype=new s,y.prototype._is_comment=function(x){return!1},y.prototype._is_opening=function(x){return x.type===u.TAG_OPEN||x.type===u.CONTROL_FLOW_OPEN},y.prototype._is_closing=function(x,O){return x.type===u.TAG_CLOSE&&O&&((x.text===">"||x.text==="/>")&&O.text[0]==="<"||x.text==="}}"&&O.text[0]==="{"&&O.text[1]==="{")||x.type===u.CONTROL_FLOW_CLOSE&&x.text==="}"&&O.text.endsWith("{")},y.prototype._reset=function(){this._current_tag_name=""},y.prototype._get_next_token=function(x,O){var T=null;this._readWhitespace();var P=this._input.peek();return P===null?this._create_token(u.EOF,""):(T=T||this._read_open_handlebars(P,O),T=T||this._read_attribute(P,x,O),T=T||this._read_close(P,O),T=T||this._read_script_and_style(P,x),T=T||this._read_control_flows(P,O),T=T||this._read_raw_content(P,x,O),T=T||this._read_content_word(P,O),T=T||this._read_comment_or_cdata(P),T=T||this._read_processing(P),T=T||this._read_open(P,O),T=T||this._create_token(u.UNKNOWN,this._input.next()),T)},y.prototype._read_comment_or_cdata=function(x){var O=null,T=null,P=null;if(x==="<"){var z=this._input.peek(1);z==="!"&&(T=this.__patterns.comment.read(),T?(P=l.get_directives(T),P&&P.ignore==="start"&&(T+=l.readIgnored(this._input))):T=this.__patterns.cdata.read()),T&&(O=this._create_token(u.COMMENT,T),O.directives=P)}return O},y.prototype._read_processing=function(x){var O=null,T=null,P=null;if(x==="<"){var z=this._input.peek(1);(z==="!"||z==="?")&&(T=this.__patterns.conditional_comment.read(),T=T||this.__patterns.processing.read()),T&&(O=this._create_token(u.COMMENT,T),O.directives=P)}return O},y.prototype._read_open=function(x,O){var T=null,P=null;return(!O||O.type===u.CONTROL_FLOW_OPEN)&&x==="<"&&(T=this._input.next(),this._input.peek()==="/"&&(T+=this._input.next()),T+=this.__patterns.element_name.read(),P=this._create_token(u.TAG_OPEN,T)),P},y.prototype._read_open_handlebars=function(x,O){var T=null,P=null;return(!O||O.type===u.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&x==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(T=this.__patterns.handlebars_comment.read(),T=T||this.__patterns.handlebars.read(),P=this._create_token(u.COMMENT,T)):(T=this.__patterns.handlebars_open.read(),P=this._create_token(u.TAG_OPEN,T))),P},y.prototype._read_control_flows=function(x,O){var T="",P=null;if(!this._options.templating.includes("angular"))return P;if(x==="@"){if(T=this.__patterns.angular_control_flow_start.read(),T==="")return P;for(var z=T.endsWith("(")?1:0,X=0;!(T.endsWith("{")&&z===X);){var W=this._input.next();if(W===null)break;W==="("?z++:W===")"&&X++,T+=W}P=this._create_token(u.CONTROL_FLOW_OPEN,T)}else x==="}"&&O&&O.type===u.CONTROL_FLOW_OPEN&&(T=this._input.next(),P=this._create_token(u.CONTROL_FLOW_CLOSE,T));return P},y.prototype._read_close=function(x,O){var T=null,P=null;return O&&O.type===u.TAG_OPEN&&(O.text[0]==="<"&&(x===">"||x==="/"&&this._input.peek(1)===">")?(T=this._input.next(),x==="/"&&(T+=this._input.next()),P=this._create_token(u.TAG_CLOSE,T)):O.text[0]==="{"&&x==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),P=this._create_token(u.TAG_CLOSE,"}}"))),P},y.prototype._read_attribute=function(x,O,T){var P=null,z="";if(T&&T.text[0]==="<")if(x==="=")P=this._create_token(u.EQUALS,this._input.next());else if(x==='"'||x==="'"){var X=this._input.next();x==='"'?X+=this.__patterns.double_quote.read():X+=this.__patterns.single_quote.read(),P=this._create_token(u.VALUE,X)}else z=this.__patterns.attribute.read(),z&&(O.type===u.EQUALS?P=this._create_token(u.VALUE,z):P=this._create_token(u.ATTRIBUTE,z));return P},y.prototype._is_content_unformatted=function(x){return this._options.void_elements.indexOf(x)===-1&&(this._options.content_unformatted.indexOf(x)!==-1||this._options.unformatted.indexOf(x)!==-1)},y.prototype._read_raw_content=function(x,O,T){var P="";if(T&&T.text[0]==="{")P=this.__patterns.handlebars_raw_close.read();else if(O.type===u.TAG_CLOSE&&O.opened.text[0]==="<"&&O.text[0]!=="/"){var z=O.opened.text.substr(1).toLowerCase();this._is_content_unformatted(z)&&(P=this._input.readUntil(new RegExp("</"+z+"[\\n\\r\\t ]*?>","ig")))}return P?this._create_token(u.TEXT,P):null},y.prototype._read_script_and_style=function(x,O){if(O.type===u.TAG_CLOSE&&O.opened.text[0]==="<"&&O.text[0]!=="/"){var T=O.opened.text.substr(1).toLowerCase();if(T==="script"||T==="style"){var P=this._read_comment_or_cdata(x);if(P)return P.type=u.TEXT,P;var z=this._input.readUntil(new RegExp("</"+T+"[\\n\\r\\t ]*?>","ig"));if(z)return this._create_token(u.TEXT,z)}}return null},y.prototype._read_content_word=function(x,O){var T="";return this._options.unformatted_content_delimiter&&x===this._options.unformatted_content_delimiter[0]&&(T=this.__patterns.unformatted_content_delimiter.read()),T||(T=O&&O.type===u.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),T?this._create_token(u.TEXT,T):null},o.exports.Tokenizer=y,o.exports.TOKEN=u}],C={};function e(o){var r=C[o];if(r!==void 0)return r.exports;var t=C[o]={exports:{}};return G[o](t,t.exports,e),t.exports}var w=e(18);H=w})();var j=H;if(1)R=[k,k(58553),k(87804)],D=function(G){var C=k(58553),e=k(87804);return{html_beautify:function(w,o){return j(w,o,C.js_beautify,e.css_beautify)}}}.apply(ae,R),D!==void 0&&(Ne.exports=D);else var L,B})()},58553:function(Ne,ae){var k,R;(function(){var D;(function(){"use strict";var j=[function(C,e,w){var o=w(1).Beautifier,r=w(5).Options;function t(s,a){var p=new o(s,a);return p.beautify()}C.exports=t,C.exports.defaultOptions=function(){return new r}},function(C,e,w){var o=w(2).Output,r=w(3).Token,t=w(4),s=w(5).Options,a=w(7).Tokenizer,p=w(7).line_starters,h=w(7).positionable_operators,c=w(7).TOKEN;function u(i,f){return f.indexOf(i)!==-1}function l(i){return i.replace(/^\s+/g,"")}function y(i){for(var f={},S=0;S<i.length;S++)f[i[S].replace(/-/g,"_")]=i[S];return f}function x(i,f){return i&&i.type===c.RESERVED&&i.text===f}function O(i,f){return i&&i.type===c.RESERVED&&u(i.text,f)}var T=["case","return","do","if","throw","else","await","break","continue","async"],P=["before-newline","after-newline","preserve-newline"],z=y(P),X=[z.before_newline,z.preserve_newline],W={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ge(i,f){f.multiline_frame||f.mode===W.ForInitializer||f.mode===W.Conditional||i.remove_indent(f.start_line_index)}function g(i){i=i.replace(t.allLineBreaks,`
`);for(var f=[],S=i.indexOf(`
`);S!==-1;)f.push(i.substring(0,S)),i=i.substring(S+1),S=i.indexOf(`
`);return i.length&&f.push(i),f}function _(i){return i===W.ArrayLiteral}function d(i){return u(i,[W.Expression,W.ForInitializer,W.Conditional])}function v(i,f){for(var S=0;S<i.length;S++){var Z=i[S].trim();if(Z.charAt(0)!==f)return!1}return!0}function E(i,f){for(var S=0,Z=i.length,Y;S<Z;S++)if(Y=i[S],Y&&Y.indexOf(f)!==0)return!1;return!0}function m(i,f){f=f||{},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 s(f)}m.prototype.create_flags=function(i,f){var S=0;i&&(S=i.indentation_level,!this._output.just_added_newline()&&i.line_indent_level>S&&(S=i.line_indent_level));var Z={mode:f,parent:i,last_token:i?i.last_token:new r(c.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:S,alignment:0,line_indent_level:i?i.line_indent_level:S,start_line_index:this._output.get_line_number(),ternary_depth:0};return Z},m.prototype._reset=function(i){var f=i.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new o(this._options,f),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(W.BlockStatement);var S=new a(i,this._options);return this._tokens=S.tokenize(),i},m.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var i,f=this._reset(this._source_text),S=this._options.eol;this._options.eol==="auto"&&(S=`
`,f&&t.lineBreak.test(f||"")&&(S=f.match(t.lineBreak)[0]));for(var Z=this._tokens.next();Z;)this.handle_token(Z),this._last_last_text=this._flags.last_token.text,this._flags.last_token=Z,Z=this._tokens.next();return i=this._output.get_code(S),i},m.prototype.handle_token=function(i,f){i.type===c.START_EXPR?this.handle_start_expr(i):i.type===c.END_EXPR?this.handle_end_expr(i):i.type===c.START_BLOCK?this.handle_start_block(i):i.type===c.END_BLOCK?this.handle_end_block(i):i.type===c.WORD?this.handle_word(i):i.type===c.RESERVED?this.handle_word(i):i.type===c.SEMICOLON?this.handle_semicolon(i):i.type===c.STRING?this.handle_string(i):i.type===c.EQUALS?this.handle_equals(i):i.type===c.OPERATOR?this.handle_operator(i):i.type===c.COMMA?this.handle_comma(i):i.type===c.BLOCK_COMMENT?this.handle_block_comment(i,f):i.type===c.COMMENT?this.handle_comment(i,f):i.type===c.DOT?this.handle_dot(i):i.type===c.EOF?this.handle_eof(i):i.type===c.UNKNOWN?this.handle_unknown(i,f):this.handle_unknown(i,f)},m.prototype.handle_whitespace_and_comments=function(i,f){var S=i.newlines,Z=this._options.keep_array_indentation&&_(this._flags.mode);if(i.comments_before)for(var Y=i.comments_before.next();Y;)this.handle_whitespace_and_comments(Y,f),this.handle_token(Y,f),Y=i.comments_before.next();if(Z)for(var ue=0;ue<S;ue+=1)this.print_newline(ue>0,f);else if(this._options.max_preserve_newlines&&S>this._options.max_preserve_newlines&&(S=this._options.max_preserve_newlines),this._options.preserve_newlines&&S>1){this.print_newline(!1,f);for(var fe=1;fe<S;fe+=1)this.print_newline(!0,f)}};var n=["async","break","continue","return","throw","yield"];m.prototype.allow_wrap_or_preserved_newline=function(i,f){if(f=f===void 0?!1:f,!this._output.just_added_newline()){var S=this._options.preserve_newlines&&i.newlines||f,Z=u(this._flags.last_token.text,h)||u(i.text,h);if(Z){var Y=u(this._flags.last_token.text,h)&&u(this._options.operator_position,X)||u(i.text,h);S=S&&Y}if(S)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(O(this._flags.last_token,n))return;this._output.set_wrap_point()}}},m.prototype.print_newline=function(i,f){if(!f&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==c.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var S=this._tokens.peek();this._flags.mode===W.Statement&&!(this._flags.if_block&&x(S,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(i)&&(this._flags.multiline_frame=!0)},m.prototype.print_token_line_indentation=function(i){this._output.just_added_newline()&&(this._options.keep_array_indentation&&i.newlines&&(i.text==="["||_(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))},m.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===c.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var f=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(f),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)},m.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},m.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))},m.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)},m.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===W.Statement&&ge(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},m.prototype.start_of_object_property=function(){return this._flags.parent.mode===W.ObjectLiteral&&this._flags.mode===W.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||O(this._flags.last_token,["get","set"]))},m.prototype.start_of_statement=function(i){var f=!1;return f=f||O(this._flags.last_token,["var","let","const"])&&i.type===c.WORD,f=f||x(this._flags.last_token,"do"),f=f||!(this._flags.parent.mode===W.ObjectLiteral&&this._flags.mode===W.Statement)&&O(this._flags.last_token,n)&&!i.newlines,f=f||x(this._flags.last_token,"else")&&!(x(i,"if")&&!i.comments_before),f=f||this._flags.last_token.type===c.END_EXPR&&(this._previous_flags.mode===W.ForInitializer||this._previous_flags.mode===W.Conditional),f=f||this._flags.last_token.type===c.WORD&&this._flags.mode===W.BlockStatement&&!this._flags.in_case&&!(i.text==="--"||i.text==="++")&&this._last_last_text!=="function"&&i.type!==c.WORD&&i.type!==c.RESERVED,f=f||this._flags.mode===W.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||O(this._flags.last_token,["get","set"])),f?(this.set_mode(W.Statement),this.indent(),this.handle_whitespace_and_comments(i,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i,O(i,["do","for","if","while"])),!0):!1},m.prototype.handle_start_expr=function(i){this.start_of_statement(i)||this.handle_whitespace_and_comments(i);var f=W.Expression;if(i.text==="["){if(this._flags.last_token.type===c.WORD||this._flags.last_token.text===")"){O(this._flags.last_token,p)&&(this._output.space_before_token=!0),this.print_token(i),this.set_mode(f),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}f=W.ArrayLiteral,_(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()),u(this._flags.last_token.type,[c.START_EXPR,c.END_EXPR,c.WORD,c.OPERATOR,c.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===c.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,f=W.ForInitializer):u(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,f=W.Conditional):u(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:(u(this._flags.last_token.text,p)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i);else if(this._flags.last_token.type===c.WORD){this._output.space_before_token=!1;var S=this._tokens.peek(-3);if(this._options.space_after_named_function&&S){var Z=this._tokens.peek(-4);O(S,["async","function"])||S.text==="*"&&O(Z,["async","function"])?this._output.space_before_token=!0:this._flags.mode===W.ObjectLiteral?(S.text==="{"||S.text===","||S.text==="*"&&(Z.text==="{"||Z.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===c.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(u(this._last_last_text,["function","yield"])||this._flags.mode===W.ObjectLiteral&&u(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===c.START_BLOCK?this.print_newline():(this._flags.last_token.type===c.END_EXPR||this._flags.last_token.type===c.START_EXPR||this._flags.last_token.type===c.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===c.COMMA)&&this.allow_wrap_or_preserved_newline(i,i.newlines),this.print_token(i),this.set_mode(f),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},m.prototype.handle_end_expr=function(i){for(;this._flags.mode===W.Statement;)this.restore_mode();this.handle_whitespace_and_comments(i),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(i,i.text==="]"&&_(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===c.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===W.Conditional&&(this._previous_flags.mode=W.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},m.prototype.handle_start_block=function(i){this.handle_whitespace_and_comments(i);var f=this._tokens.peek(),S=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===c.END_EXPR?(this.set_mode(W.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(W.BlockStatement):S&&(u(S.text,[":",","])&&u(f.type,[c.STRING,c.WORD,c.RESERVED])||u(f.text,["get","set","..."])&&u(S.type,[c.WORD,c.RESERVED]))?u(this._last_last_text,["class","interface"])&&!u(S.text,[":",","])?this.set_mode(W.BlockStatement):this.set_mode(W.ObjectLiteral):this._flags.last_token.type===c.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(W.BlockStatement):u(this._flags.last_token.type,[c.EQUALS,c.START_EXPR,c.COMMA,c.OPERATOR])||O(this._flags.last_token,["return","throw","import","default"])?this.set_mode(W.ObjectLiteral):this.set_mode(W.BlockStatement),this._flags.last_token&&O(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Z=!f.comments_before&&f.text==="}",Y=Z&&this._flags.last_word==="function"&&this._flags.last_token.type===c.END_EXPR;if(this._options.brace_preserve_inline){var ue=0,fe=null;this._flags.inline_frame=!0;do if(ue+=1,fe=this._tokens.peek(ue-1),fe.newlines){this._flags.inline_frame=!1;break}while(fe.type!==c.EOF&&!(fe.type===c.END_BLOCK&&fe.opened===i))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&i.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==c.OPERATOR&&(Y||this._flags.last_token.type===c.EQUALS||O(this._flags.last_token,T)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(_(this._previous_flags.mode)&&(this._flags.last_token.type===c.START_EXPR||this._flags.last_token.type===c.COMMA)&&((this._flags.last_token.type===c.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.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!==c.OPERATOR&&this._flags.last_token.type!==c.START_EXPR&&(u(this._flags.last_token.type,[c.START_BLOCK,c.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(i),this.indent(),!Z&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},m.prototype.handle_end_block=function(i){for(this.handle_whitespace_and_comments(i);this._flags.mode===W.Statement;)this.restore_mode();var f=this._flags.last_token.type===c.START_BLOCK;this._flags.inline_frame&&!f?this._output.space_before_token=!0:this._options.brace_style==="expand"?f||this.print_newline():f||(_(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)},m.prototype.handle_word=function(i){if(i.type===c.RESERVED){if(u(i.text,["set","get"])&&this._flags.mode!==W.ObjectLiteral)i.type=c.WORD;else if(i.text==="import"&&u(this._tokens.peek().text,["(","."]))i.type=c.WORD;else if(u(i.text,["as","from"])&&!this._flags.import_block)i.type=c.WORD;else if(this._flags.mode===W.ObjectLiteral){var f=this._tokens.peek();f.text===":"&&(i.type=c.WORD)}}if(this.start_of_statement(i)?O(this._flags.last_token,["var","let","const"])&&i.type===c.WORD&&(this._flags.declaration_statement=!0):i.newlines&&!d(this._flags.mode)&&(this._flags.last_token.type!==c.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==c.EQUALS&&(this._options.preserve_newlines||!O(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(x(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&&x(i,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===W.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&O(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===c.COMMA||this._flags.last_token.type===c.START_EXPR||this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR)&&!this.start_of_object_property()&&!(u(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===W.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(i),x(i,"function")){(u(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(u(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===c.OPERATOR))&&!this._output.just_added_blankline()&&!i.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD?O(this._flags.last_token,["get","set","new","export"])||O(this._flags.last_token,n)?this._output.space_before_token=!0:x(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===c.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(d(this._flags.mode)||_(this._flags.mode))||this.print_newline(),this.print_token(i),this._flags.last_word=i.text;return}var S="NONE";if(this._flags.last_token.type===c.END_BLOCK?this._previous_flags.inline_frame?S="SPACE":O(i,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&i.newlines?S="NEWLINE":(S="SPACE",this._output.space_before_token=!0):S="NEWLINE":this._flags.last_token.type===c.SEMICOLON&&this._flags.mode===W.BlockStatement?S="NEWLINE":this._flags.last_token.type===c.SEMICOLON&&d(this._flags.mode)?S="SPACE":this._flags.last_token.type===c.STRING?S="NEWLINE":this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD||this._flags.last_token.text==="*"&&(u(this._last_last_text,["function","yield"])||this._flags.mode===W.ObjectLiteral&&u(this._last_last_text,["{",","]))?S="SPACE":this._flags.last_token.type===c.START_BLOCK?this._flags.inline_frame?S="SPACE":S="NEWLINE":this._flags.last_token.type===c.END_EXPR&&(this._output.space_before_token=!0,S="NEWLINE"),O(i,p)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?S="SPACE":S="NEWLINE"),O(i,["else","catch","finally"]))if((!(this._flags.last_token.type===c.END_BLOCK&&this._previous_flags.mode===W.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 Z=this._output.current_line;Z.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else S==="NEWLINE"?O(this._flags.last_token,T)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&O(i,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==c.END_EXPR?(this._flags.last_token.type!==c.START_EXPR||!O(i,["var","let","const"]))&&this._flags.last_token.text!==":"&&(x(i,"if")&&x(i.previous,"else")?this._output.space_before_token=!0:this.print_newline()):O(i,p)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&_(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():S==="SPACE"&&(this._output.space_before_token=!0);i.previous&&(i.previous.type===c.WORD||i.previous.type===c.RESERVED)&&(this._output.space_before_token=!0),this.print_token(i),this._flags.last_word=i.text,i.type===c.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&&x(i,"from")&&(this._flags.import_block=!1))},m.prototype.handle_semicolon=function(i){this.start_of_statement(i)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(i);for(var f=this._tokens.peek();this._flags.mode===W.Statement&&!(this._flags.if_block&&x(f,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(i)},m.prototype.handle_string=function(i){i.text.startsWith("`")&&i.newlines===0&&i.whitespace_before===""&&(i.previous.text===")"||this._flags.last_token.type===c.WORD)||(this.start_of_statement(i)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(i),this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR||this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i):i.text.startsWith("`")&&this._flags.last_token.type===c.END_EXPR&&(i.previous.text==="]"||i.previous.text===")")&&i.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(i)},m.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},m.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?(d(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===W.ObjectLiteral||this._flags.mode===W.Statement&&this._flags.parent.mode===W.ObjectLiteral?(this._flags.mode===W.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(i)},m.prototype.handle_operator=function(i){var f=i.text==="*"&&(O(this._flags.last_token,["function","yield"])||u(this._flags.last_token.type,[c.START_BLOCK,c.COMMA,c.END_BLOCK,c.SEMICOLON])),S=u(i.text,["-","+"])&&(u(this._flags.last_token.type,[c.START_BLOCK,c.START_EXPR,c.EQUALS,c.OPERATOR])||u(this._flags.last_token.text,p)||this._flags.last_token.text===",");if(!this.start_of_statement(i)){var Z=!f;this.handle_whitespace_and_comments(i,Z)}if(i.text==="*"&&this._flags.last_token.type===c.DOT){this.print_token(i);return}if(i.text==="::"){this.print_token(i);return}if(u(i.text,["-","+"])&&this.start_of_object_property()){this.print_token(i);return}if(this._flags.last_token.type===c.OPERATOR&&u(this._options.operator_position,X)&&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!==c.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 Y=!0,ue=!0,fe=!1;if(i.text===":"?this._flags.ternary_depth===0?Y=!1:(this._flags.ternary_depth-=1,fe=!0):i.text==="?"&&(this._flags.ternary_depth+=1),!S&&!f&&this._options.preserve_newlines&&u(i.text,h)){var ve=i.text===":",We=ve&&fe,Ge=ve&&!fe;switch(this._options.operator_position){case z.before_newline:this._output.space_before_token=!Ge,this.print_token(i),(!ve||We)&&this.allow_wrap_or_preserved_newline(i),this._output.space_before_token=!0;return;case z.after_newline:this._output.space_before_token=!0,!ve||We?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 z.preserve_newline:Ge||this.allow_wrap_or_preserved_newline(i),Y=!(this._output.just_added_newline()||Ge),this._output.space_before_token=Y,this.print_token(i),this._output.space_before_token=!0;return}}if(f){this.allow_wrap_or_preserved_newline(i),Y=!1;var Ye=this._tokens.peek();ue=Ye&&u(Ye.type,[c.WORD,c.RESERVED])}else if(i.text==="...")this.allow_wrap_or_preserved_newline(i),Y=this._flags.last_token.type===c.START_BLOCK,ue=!1;else if(u(i.text,["--","++","!","~"])||S){if((this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR)&&this.allow_wrap_or_preserved_newline(i),Y=!1,ue=!1,i.newlines&&(i.text==="--"||i.text==="++"||i.text==="~")){var ie=O(this._flags.last_token,T)&&i.newlines;ie&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(ie,!0)}this._flags.last_token.text===";"&&d(this._flags.mode)&&(Y=!0),this._flags.last_token.type===c.RESERVED?Y=!0:this._flags.last_token.type===c.END_EXPR?Y=!(this._flags.last_token.text==="]"&&(i.text==="--"||i.text==="++")):this._flags.last_token.type===c.OPERATOR&&(Y=u(i.text,["--","-","++","+"])&&u(this._flags.last_token.text,["--","-","++","+"]),u(i.text,["+","-"])&&u(this._flags.last_token.text,["--","++"])&&(ue=!0)),(this._flags.mode===W.BlockStatement&&!this._flags.inline_frame||this._flags.mode===W.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Y,this.print_token(i),this._output.space_before_token=ue},m.prototype.handle_block_comment=function(i,f){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,f),this.print_token(i),i.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!t.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,f)},m.prototype.print_block_commment=function(i,f){var S=g(i.text),Z,Y=!1,ue=!1,fe=i.whitespace_before,ve=fe.length;if(this.print_newline(!1,f),this.print_token_line_indentation(i),this._output.add_token(S[0]),this.print_newline(!1,f),S.length>1){for(S=S.slice(1),Y=v(S,"*"),ue=E(S,fe),Y&&(this._flags.alignment=1),Z=0;Z<S.length;Z++)Y?(this.print_token_line_indentation(i),this._output.add_token(l(S[Z]))):ue&&S[Z]?(this.print_token_line_indentation(i),this._output.add_token(S[Z].substring(ve))):(this._output.current_line.set_indent(-1),this._output.add_token(S[Z])),this.print_newline(!1,f);this._flags.alignment=0}},m.prototype.handle_comment=function(i,f){i.newlines?this.print_newline(!1,f):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(i),this.print_newline(!1,f)},m.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),O(this._flags.last_token,T)?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)},m.prototype.handle_unknown=function(i,f){this.print_token(i),i.text[i.text.length-1]===`
`&&this.print_newline(!1,f)},m.prototype.handle_eof=function(i){for(;this._flags.mode===W.Statement;)this.restore_mode();this.handle_whitespace_and_comments(i)},C.exports.Beautifier=m},function(C){function e(r){this.__parent=r,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 r=new e(this.__parent);return r.set_indent(this.__indent_count,this.__alignment_count),r},e.prototype.item=function(r){return r<0?this.__items[this.__items.length+r]:this.__items[r]},e.prototype.has_match=function(r){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(r))return!0;return!1},e.prototype.set_indent=function(r,t){this.is_empty()&&(this.__indent_count=r||0,this.__alignment_count=t||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 r=this.__parent.current_line;return r.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),r.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),r.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,r.__items[0]===" "&&(r.__items.splice(0,1),r.__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(r){this.__items.push(r);var t=r.lastIndexOf(`
`);t!==-1?this.__character_count=r.length-t:this.__character_count+=r.length},e.prototype.pop=function(){var r=null;return this.is_empty()||(r=this.__items.pop(),this.__character_count-=r.length),r},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 r="";return this.is_empty()?this.__parent.indent_empty_lines&&(r=this.__parent.get_indent_string(this.__indent_count)):(r=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),r+=this.__items.join("")),r};function w(r,t){this.__cache=[""],this.__indent_size=r.indent_size,this.__indent_string=r.indent_char,r.indent_with_tabs||(this.__indent_string=new Array(r.indent_size+1).join(r.indent_char)),t=t||"",r.indent_level>0&&(t=new Array(r.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}w.prototype.get_indent_size=function(r,t){var s=this.__base_string_length;return t=t||0,r<0&&(s=0),s+=r*this.__indent_size,s+=t,s},w.prototype.get_indent_string=function(r,t){var s=this.__base_string;return t=t||0,r<0&&(r=0,s=""),t+=r*this.__indent_size,this.__ensure_cache(t),s+=this.__cache[t],s},w.prototype.__ensure_cache=function(r){for(;r>=this.__cache.length;)this.__add_column()},w.prototype.__add_column=function(){var r=this.__cache.length,t=0,s="";this.__indent_size&&r>=this.__indent_size&&(t=Math.floor(r/this.__indent_size),r-=t*this.__indent_size,s=new Array(t+1).join(this.__indent_string)),r&&(s+=new Array(r+1).join(" ")),this.__cache.push(s)};function o(r,t){this.__indent_cache=new w(r,t),this.raw=!1,this._end_with_newline=r.end_with_newline,this.indent_size=r.indent_size,this.wrap_line_length=r.wrap_line_length,this.indent_empty_lines=r.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()}o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(r,t){return this.__indent_cache.get_indent_string(r,t)},o.prototype.get_indent_size=function(r,t){return this.__indent_cache.get_indent_size(r,t)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(r){return this.is_empty()||!r&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(r){this.trim(!0);var t=this.current_line.pop();t&&(t[t.length-1]===`
`&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var s=this.__lines.join(`
`);return r!==`
`&&(s=s.replace(/[\n]/g,r)),s},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(r,t){return r=r||0,t=t||0,this.next_line.set_indent(r,t),this.__lines.length>1?(this.current_line.set_indent(r,t),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(r){for(var t=0;t<r.newlines;t++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(r.whitespace_before),this.current_line.push(r.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},o.prototype.add_token=function(r){this.__add_space_before_token(),this.current_line.push(r),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},o.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(" "))},o.prototype.remove_indent=function(r){for(var t=this.__lines.length;r<t;)this.__lines[r]._remove_indent(),r++;this.current_line._remove_wrap_indent()},o.prototype.trim=function(r){for(r=r===void 0?!1:r,this.current_line.trim();r&&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},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(r,t){for(var s=this.__lines.length-2;s>=0;){var a=this.__lines[s];if(a.is_empty())break;if(a.item(0).indexOf(r)!==0&&a.item(-1)!==t){this.__lines.splice(s+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}s--}},C.exports.Output=o},function(C){function e(w,o,r,t){this.type=w,this.text=o,this.comments_before=null,this.newlines=r||0,this.whitespace_before=t||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}C.exports.Token=e},function(C,e){var w="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",o="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",r="\\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",t="\\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",s="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",a="(?:"+s+"|["+w+r+"])",p="(?:"+s+"|["+o+r+t+"])*";e.identifier=new RegExp(a+p,"g"),e.identifierStart=new RegExp(a),e.identifierMatch=new RegExp("(?:"+s+"|["+o+r+t+"])+");var h=/[\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(C,e,w){var o=w(6).Options,r=["before-newline","after-newline","preserve-newline"];function t(s){o.call(this,s,"js");var a=this.raw_options.brace_style||null;a==="expand-strict"?this.raw_options.brace_style="expand":a==="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 p=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var h=0;h<p.length;h++)p[h]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=p[h];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",r),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}t.prototype=new o,C.exports.Options=t},function(C){function e(r,t){this.raw_options=w(r,t),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(r,t){var s=this.raw_options[r],a=t||[];return typeof s=="object"?s!==null&&typeof s.concat=="function"&&(a=s.concat()):typeof s=="string"&&(a=s.split(/[^a-zA-Z0-9_\/\-]+/)),a},e.prototype._get_boolean=function(r,t){var s=this.raw_options[r],a=s===void 0?!!t:!!s;return a},e.prototype._get_characters=function(r,t){var s=this.raw_options[r],a=t||"";return typeof s=="string"&&(a=s.replace(/\\r/,"\r").replace(/\\n/,`
`).replace(/\\t/," ")),a},e.prototype._get_number=function(r,t){var s=this.raw_options[r];t=parseInt(t,10),isNaN(t)&&(t=0);var a=parseInt(s,10);return isNaN(a)&&(a=t),a},e.prototype._get_selection=function(r,t,s){var a=this._get_selection_list(r,t,s);if(a.length!==1)throw new Error("Invalid Option Value: The option '"+r+`' can only be one of the following values:
`+t+`
You passed in: '`+this.raw_options[r]+"'");return a[0]},e.prototype._get_selection_list=function(r,t,s){if(!t||t.length===0)throw new Error("Selection list cannot be empty.");if(s=s||[t[0]],!this._is_valid_selection(s,t))throw new Error("Invalid Default Value!");var a=this._get_array(r,s);if(!this._is_valid_selection(a,t))throw new Error("Invalid Option Value: The option '"+r+`' can contain only the following values:
`+t+`
You passed in: '`+this.raw_options[r]+"'");return a},e.prototype._is_valid_selection=function(r,t){return r.length&&t.length&&!r.some(function(s){return t.indexOf(s)===-1})};function w(r,t){var s={};r=o(r);var a;for(a in r)a!==t&&(s[a]=r[a]);if(t&&r[t])for(a in r[t])s[a]=r[t][a];return s}function o(r){var t={},s;for(s in r){var a=s.replace(/-/g,"_");t[a]=r[s]}return t}C.exports.Options=e,C.exports.normalizeOpts=o,C.exports.mergeOpts=w},function(C,e,w){var o=w(8).InputScanner,r=w(9).Tokenizer,t=w(9).TOKEN,s=w(13).Directives,a=w(4),p=w(12).Pattern,h=w(14).TemplatablePattern;function c(v,E){return E.indexOf(v)!==-1}var u={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:t.START,RAW:t.RAW,EOF:t.EOF},l=new s(/\/\*/,/\*\//),y=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,x=/[0-9]/,O=/[^\d\.]/,T=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),P=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";P=P.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),P="\\?\\.(?!\\d) "+P,P=P.replace(/ /g,"|");var z=new RegExp(P),X="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),W=X.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),ge=new RegExp("^(?:"+W.join("|")+")$"),g,_=function(v,E){r.call(this,v,E),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var m=new p(this._input),n=new h(this._input).read_options(this._options);this.__patterns={template:n,identifier:n.starting_with(a.identifier).matching(a.identifierMatch),number:m.matching(y),punct:m.matching(z),comment:m.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:m.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:m.matching(/<!--/),html_comment_end:m.matching(/-->/),include:m.starting_with(/#include/).until_after(a.lineBreak),shebang:m.starting_with(/#!/).until_after(a.lineBreak),xml:m.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(/[`}\\]/)}};_.prototype=new r,_.prototype._is_comment=function(v){return v.type===u.COMMENT||v.type===u.BLOCK_COMMENT||v.type===u.UNKNOWN},_.prototype._is_opening=function(v){return v.type===u.START_BLOCK||v.type===u.START_EXPR},_.prototype._is_closing=function(v,E){return(v.type===u.END_BLOCK||v.type===u.END_EXPR)&&E&&(v.text==="]"&&E.text==="["||v.text===")"&&E.text==="("||v.text==="}"&&E.text==="{")},_.prototype._reset=function(){g=!1},_.prototype._get_next_token=function(v,E){var m=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(u.EOF,""):(m=m||this._read_non_javascript(n),m=m||this._read_string(n),m=m||this._read_pair(n,this._input.peek(1)),m=m||this._read_word(v),m=m||this._read_singles(n),m=m||this._read_comment(n),m=m||this._read_regexp(n,v),m=m||this._read_xml(n,v),m=m||this._read_punctuation(),m=m||this._create_token(u.UNKNOWN,this._input.next()),m)},_.prototype._read_word=function(v){var E;if(E=this.__patterns.identifier.read(),E!=="")return E=E.replace(a.allLineBreaks,`
`),!(v.type===u.DOT||v.type===u.RESERVED&&(v.text==="set"||v.text==="get"))&&ge.test(E)?(E==="in"||E==="of")&&(v.type===u.WORD||v.type===u.STRING)?this._create_token(u.OPERATOR,E):this._create_token(u.RESERVED,E):this._create_token(u.WORD,E);if(E=this.__patterns.number.read(),E!=="")return this._create_token(u.WORD,E)},_.prototype._read_singles=function(v){var E=null;return v==="("||v==="["?E=this._create_token(u.START_EXPR,v):v===")"||v==="]"?E=this._create_token(u.END_EXPR,v):v==="{"?E=this._create_token(u.START_BLOCK,v):v==="}"?E=this._create_token(u.END_BLOCK,v):v===";"?E=this._create_token(u.SEMICOLON,v):v==="."&&O.test(this._input.peek(1))?E=this._create_token(u.DOT,v):v===","&&(E=this._create_token(u.COMMA,v)),E&&this._input.next(),E},_.prototype._read_pair=function(v,E){var m=null;return v==="#"&&E==="{"&&(m=this._create_token(u.START_BLOCK,v+E)),m&&(this._input.next(),this._input.next()),m},_.prototype._read_punctuation=function(){var v=this.__patterns.punct.read();if(v!=="")return v==="="?this._create_token(u.EQUALS,v):v==="?."?this._create_token(u.DOT,v):this._create_token(u.OPERATOR,v)},_.prototype._read_non_javascript=function(v){var E="";if(v==="#"){if(this._is_first_token()&&(E=this.__patterns.shebang.read(),E))return this._create_token(u.UNKNOWN,E.trim()+`
`);if(E=this.__patterns.include.read(),E)return this._create_token(u.UNKNOWN,E.trim()+`
`);v=this._input.next();var m="#";if(this._input.hasNext()&&this._input.testChar(x)){do v=this._input.next(),m+=v;while(this._input.hasNext()&&v!=="#"&&v!=="=");return v==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(m+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(m+="{}",this._input.next(),this._input.next())),this._create_token(u.WORD,m)}this._input.back()}else if(v==="<"&&this._is_first_token()){if(E=this.__patterns.html_comment_start.read(),E){for(;this._input.hasNext()&&!this._input.testChar(a.newline);)E+=this._input.next();return g=!0,this._create_token(u.COMMENT,E)}}else if(g&&v==="-"&&(E=this.__patterns.html_comment_end.read(),E))return g=!1,this._create_token(u.COMMENT,E);return null},_.prototype._read_comment=function(v){var E=null;if(v==="/"){var m="";if(this._input.peek(1)==="*"){m=this.__patterns.block_comment.read();var n=l.get_directives(m);n&&n.ignore==="start"&&(m+=l.readIgnored(this._input)),m=m.replace(a.allLineBreaks,`
`),E=this._create_token(u.BLOCK_COMMENT,m),E.directives=n}else this._input.peek(1)==="/"&&(m=this.__patterns.comment.read(),E=this._create_token(u.COMMENT,m))}return E},_.prototype._read_string=function(v){if(v==="`"||v==="'"||v==='"'){var E=this._input.next();return this.has_char_escapes=!1,v==="`"?E+=this._read_string_recursive("`",!0,"${"):E+=this._read_string_recursive(v),this.has_char_escapes&&this._options.unescape_strings&&(E=d(E)),this._input.peek()===v&&(E+=this._input.next()),E=E.replace(a.allLineBreaks,`
`),this._create_token(u.STRING,E)}return null},_.prototype._allow_regexp_or_xml=function(v){return v.type===u.RESERVED&&c(v.text,["return","case","throw","else","do","typeof","yield"])||v.type===u.END_EXPR&&v.text===")"&&v.opened.previous.type===u.RESERVED&&c(v.opened.previous.text,["if","while","for"])||c(v.type,[u.COMMENT,u.START_EXPR,u.START_BLOCK,u.START,u.END_BLOCK,u.OPERATOR,u.EQUALS,u.EOF,u.SEMICOLON,u.COMMA])},_.prototype._read_regexp=function(v,E){if(v==="/"&&this._allow_regexp_or_xml(E)){for(var m=this._input.next(),n=!1,i=!1;this._input.hasNext()&&(n||i||this._input.peek()!==v)&&!this._input.testChar(a.newline);)m+=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()===v&&(m+=this._input.next(),m+=this._input.read(a.identifier)),this._create_token(u.STRING,m)}return null},_.prototype._read_xml=function(v,E){if(this._options.e4x&&v==="<"&&this._allow_regexp_or_xml(E)){var m="",n=this.__patterns.xml.read_match();if(n){for(var i=n[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),f=i.indexOf("{")===0,S=0;n;){var Z=!!n[1],Y=n[2],ue=!!n[n.length-1]||Y.slice(0,8)==="![CDATA[";if(!ue&&(Y===i||f&&Y.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Z?--S:++S),m+=n[0],S<=0)break;n=this.__patterns.xml.read_match()}return n||(m+=this._input.match(/[\s\S]*/g)[0]),m=m.replace(a.allLineBreaks,`
`),this._create_token(u.STRING,m)}}return null};function d(v){for(var E="",m=0,n=new o(v),i=null;n.hasNext();)if(i=n.match(/([\s]|[^\\]|\\\\)+/g),i&&(E+=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{E+="\\",n.hasNext()&&(E+=n.next());continue}if(!i||(m=parseInt(i[1],16),m>126&&m<=255&&i[0].indexOf("x")===0))return v;m>=0&&m<32||m>1114111?E+="\\"+i[0]:m===34||m===39||m===92?E+="\\"+String.fromCharCode(m):E+=String.fromCharCode(m)}return E}_.prototype._read_string_recursive=function(v,E,m){var n,i;v==="'"?i=this.__patterns.single_quote:v==='"'?i=this.__patterns.double_quote:v==="`"?i=this.__patterns.template_text:v==="}"&&(i=this.__patterns.template_expression);for(var f=i.read(),S="";this._input.hasNext();){if(S=this._input.next(),S===v||!E&&a.newline.test(S)){this._input.back();break}else S==="\\"&&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(),S+=this._input.next()):m&&(m==="${"&&S==="$"&&this._input.peek()==="{"&&(S+=this._input.next()),m===S&&(v==="`"?S+=this._read_string_recursive("}",E,"`"):S+=this._read_string_recursive("`",E,"${"),this._input.hasNext()&&(S+=this._input.next())));S+=i.read(),f+=S}return f},C.exports.Tokenizer=_,C.exports.TOKEN=u,C.exports.positionable_operators=T.slice(),C.exports.line_starters=X.slice()},function(C){var e=RegExp.prototype.hasOwnProperty("sticky");function w(o){this.__input=o||"",this.__input_length=this.__input.length,this.__position=0}w.prototype.restart=function(){this.__position=0},w.prototype.back=function(){this.__position>0&&(this.__position-=1)},w.prototype.hasNext=function(){return this.__position<this.__input_length},w.prototype.next=function(){var o=null;return this.hasNext()&&(o=this.__input.charAt(this.__position),this.__position+=1),o},w.prototype.peek=function(o){var r=null;return o=o||0,o+=this.__position,o>=0&&o<this.__input_length&&(r=this.__input.charAt(o)),r},w.prototype.__match=function(o,r){o.lastIndex=r;var t=o.exec(this.__input);return t&&!(e&&o.sticky)&&t.index!==r&&(t=null),t},w.prototype.test=function(o,r){return r=r||0,r+=this.__position,r>=0&&r<this.__input_length?!!this.__match(o,r):!1},w.prototype.testChar=function(o,r){var t=this.peek(r);return o.lastIndex=0,t!==null&&o.test(t)},w.prototype.match=function(o){var r=this.__match(o,this.__position);return r?this.__position+=r[0].length:r=null,r},w.prototype.read=function(o,r,t){var s="",a;return o&&(a=this.match(o),a&&(s+=a[0])),r&&(a||!o)&&(s+=this.readUntil(r,t)),s},w.prototype.readUntil=function(o,r){var t="",s=this.__position;o.lastIndex=this.__position;var a=o.exec(this.__input);return a?(s=a.index,r&&(s+=a[0].length)):s=this.__input_length,t=this.__input.substring(this.__position,s),this.__position=s,t},w.prototype.readUntilAfter=function(o){return this.readUntil(o,!0)},w.prototype.get_regexp=function(o,r){var t=null,s="g";return r&&e&&(s="y"),typeof o=="string"&&o!==""?t=new RegExp(o,s):o&&(t=new RegExp(o.source,s)),t},w.prototype.get_literal_regexp=function(o){return RegExp(o.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},w.prototype.peekUntilAfter=function(o){var r=this.__position,t=this.readUntilAfter(o);return this.__position=r,t},w.prototype.lookBack=function(o){var r=this.__position-1;return r>=o.length&&this.__input.substring(r-o.length,r).toLowerCase()===o},C.exports.InputScanner=w},function(C,e,w){var o=w(8).InputScanner,r=w(3).Token,t=w(10).TokenStream,s=w(11).WhitespacePattern,a={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},p=function(h,c){this._input=new o(h),this._options=c||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new s(this._input)};p.prototype.tokenize=function(){this._input.restart(),this.__tokens=new t,this._reset();for(var h,c=new r(a.START,""),u=null,l=[],y=new t;c.type!==a.EOF;){for(h=this._get_next_token(c,u);this._is_comment(h);)y.add(h),h=this._get_next_token(c,u);y.isEmpty()||(h.comments_before=y,y=new t),h.parent=u,this._is_opening(h)?(l.push(u),u=h):u&&this._is_closing(h,u)&&(h.opened=u,u.closed=h,u=l.pop(),h.parent=u),h.previous=c,c.next=h,this.__tokens.add(h),c=h}return this.__tokens},p.prototype._is_first_token=function(){return this.__tokens.isEmpty()},p.prototype._reset=function(){},p.prototype._get_next_token=function(h,c){this._readWhitespace();var u=this._input.read(/.+/g);return u?this._create_token(a.RAW,u):this._create_token(a.EOF,"")},p.prototype._is_comment=function(h){return!1},p.prototype._is_opening=function(h){return!1},p.prototype._is_closing=function(h,c){return!1},p.prototype._create_token=function(h,c){var u=new r(h,c,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return u},p.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},C.exports.Tokenizer=p,C.exports.TOKEN=a},function(C){function e(w){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=w}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 w=null;return this.hasNext()&&(w=this.__tokens[this.__position],this.__position+=1),w},e.prototype.peek=function(w){var o=null;return w=w||0,w+=this.__position,w>=0&&w<this.__tokens_length&&(o=this.__tokens[w]),o},e.prototype.add=function(w){this.__parent_token&&(w.parent=this.__parent_token),this.__tokens.push(w),this.__tokens_length+=1},C.exports.TokenStream=e},function(C,e,w){var o=w(12).Pattern;function r(t,s){o.call(this,t,s),s?this._line_regexp=this._input.get_regexp(s._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}r.prototype=new o,r.prototype.__set_whitespace_patterns=function(t,s){t+="\\t ",s+="\\n\\r",this._match_pattern=this._input.get_regexp("["+t+s+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+s+"]")},r.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var t=this._input.read(this._match_pattern);if(t===" ")this.whitespace_before_token=" ";else if(t){var s=this.__split(this._newline_regexp,t);this.newline_count=s.length-1,this.whitespace_before_token=s[this.newline_count]}return t},r.prototype.matching=function(t,s){var a=this._create();return a.__set_whitespace_patterns(t,s),a._update(),a},r.prototype._create=function(){return new r(this._input,this)},r.prototype.__split=function(t,s){t.lastIndex=0;for(var a=0,p=[],h=t.exec(s);h;)p.push(s.substring(a,h.index)),a=h.index+h[0].length,h=t.exec(s);return a<s.length?p.push(s.substring(a,s.length)):p.push(""),p},C.exports.WhitespacePattern=r},function(C){function e(w,o){this._input=w,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,o&&(this._starting_pattern=this._input.get_regexp(o._starting_pattern,!0),this._match_pattern=this._input.get_regexp(o._match_pattern,!0),this._until_pattern=this._input.get_regexp(o._until_pattern),this._until_after=o._until_after)}e.prototype.read=function(){var w=this._input.read(this._starting_pattern);return(!this._starting_pattern||w)&&(w+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),w},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(w){var o=this._create();return o._until_after=!0,o._until_pattern=this._input.get_regexp(w),o._update(),o},e.prototype.until=function(w){var o=this._create();return o._until_after=!1,o._until_pattern=this._input.get_regexp(w),o._update(),o},e.prototype.starting_with=function(w){var o=this._create();return o._starting_pattern=this._input.get_regexp(w,!0),o._update(),o},e.prototype.matching=function(w){var o=this._create();return o._match_pattern=this._input.get_regexp(w,!0),o._update(),o},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},C.exports.Pattern=e},function(C){function e(w,o){w=typeof w=="string"?w:w.source,o=typeof o=="string"?o:o.source,this.__directives_block_pattern=new RegExp(w+/ beautify( \w+[:]\w+)+ /.source+o,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(w+/\sbeautify\signore:end\s/.source+o,"g")}e.prototype.get_directives=function(w){if(!w.match(this.__directives_block_pattern))return null;var o={};this.__directive_pattern.lastIndex=0;for(var r=this.__directive_pattern.exec(w);r;)o[r[1]]=r[2],r=this.__directive_pattern.exec(w);return o},e.prototype.readIgnored=function(w){return w.readUntilAfter(this.__directives_end_ignore_pattern)},C.exports.Directives=e},function(C,e,w){var o=w(12).Pattern,r={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function t(s,a){o.call(this,s,a),this.__template_pattern=null,this._disabled=Object.assign({},r),this._excluded=Object.assign({},r),a&&(this.__template_pattern=this._input.get_regexp(a.__template_pattern),this._excluded=Object.assign(this._excluded,a._excluded),this._disabled=Object.assign(this._disabled,a._disabled));var p=new o(s);this.__patterns={handlebars_comment:p.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:p.starting_with(/{{{/).until_after(/}}}/),handlebars:p.starting_with(/{{/).until_after(/}}/),php:p.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:p.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:p.starting_with(/{%/).until_after(/%}/),django_value:p.starting_with(/{{/).until_after(/}}/),django_comment:p.starting_with(/{#/).until_after(/#}/),smarty:p.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:p.starting_with(/{\*/).until_after(/\*}/),smarty_literal:p.starting_with(/{literal}/).until_after(/{\/literal}/)}}t.prototype=new o,t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){this.__set_templated_pattern()},t.prototype.disable=function(s){var a=this._create();return a._disabled[s]=!0,a._update(),a},t.prototype.read_options=function(s){var a=this._create();for(var p in r)a._disabled[p]=s.templating.indexOf(p)===-1;return a._update(),a},t.prototype.exclude=function(s){var a=this._create();return a._excluded[s]=!0,a._update(),a},t.prototype.read=function(){var s="";this._match_pattern?s=this._input.read(this._starting_pattern):s=this._input.read(this._starting_pattern,this.__template_pattern);for(var a=this._read_template();a;)this._match_pattern?a+=this._input.read(this._match_pattern):a+=this._input.readUntil(this.__template_pattern),s+=a,a=this._read_template();return this._until_after&&(s+=this._input.readUntilAfter(this._until_pattern)),s},t.prototype.__set_templated_pattern=function(){var s=[];this._disabled.php||s.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||s.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||s.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||s.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(s.push(this.__patterns.django._starting_pattern.source),s.push(this.__patterns.django_value._starting_pattern.source),s.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||s.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&s.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+s.join("|")+")")},t.prototype._read_template=function(){var s="",a=this._input.peek();if(a==="<"){var p=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&p==="?"&&(s=s||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&p==="%"&&(s=s||this.__patterns.erb.read())}else a==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(s=s||this.__patterns.handlebars_comment.read(),s=s||this.__patterns.handlebars_unescaped.read(),s=s||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(s=s||this.__patterns.django_value.read()),this._excluded.django||(s=s||this.__patterns.django_comment.read(),s=s||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(s=s||this.__patterns.smarty_comment.read(),s=s||this.__patterns.smarty_literal.read(),s=s||this.__patterns.smarty.read()));return s},C.exports.TemplatablePattern=t}],L={};function B(C){var e=L[C];if(e!==void 0)return e.exports;var w=L[C]={exports:{}};return j[C](w,w.exports,B),w.exports}var G=B(0);D=G})();var H=D;k=[],R=function(){return{js_beautify:H}}.apply(ae,k),R!==void 0&&(Ne.exports=R)})()},75918:function(Ne,ae,k){"use strict";k.d(ae,{Wi:function(){return B},Z0:function(){return G},aU:function(){return L},eZ:function(){return e},wY:function(){return C}});var R=k(4348),D=k(69323),H=k(13268),j=function(w,o,r,t){function s(a){return a instanceof r?a:new r(function(p){p(a)})}return new(r||(r=Promise))(function(a,p){function h(l){try{u(t.next(l))}catch(y){p(y)}}function c(l){try{u(t.throw(l))}catch(y){p(y)}}function u(l){l.done?a(l.value):s(l.value).then(h,c)}u((t=t.apply(w,o||[])).next())})};class L extends D.JT{constructor(o,r="",t="",s=!0,a){super(),this._onDidChange=this._register(new R.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=o,this._label=r,this._cssClass=t,this._enabled=s,this._actionCallback=a}get id(){return this._id}get label(){return this._label}set label(o){this._setLabel(o)}_setLabel(o){this._label!==o&&(this._label=o,this._onDidChange.fire({label:o}))}get tooltip(){return this._tooltip||""}set tooltip(o){this._setTooltip(o)}_setTooltip(o){this._tooltip!==o&&(this._tooltip=o,this._onDidChange.fire({tooltip:o}))}get class(){return this._cssClass}set class(o){this._setClass(o)}_setClass(o){this._cssClass!==o&&(this._cssClass=o,this._onDidChange.fire({class:o}))}get enabled(){return this._enabled}set enabled(o){this._setEnabled(o)}_setEnabled(o){this._enabled!==o&&(this._enabled=o,this._onDidChange.fire({enabled:o}))}get checked(){return this._checked}set checked(o){this._setChecked(o)}_setChecked(o){this._checked!==o&&(this._checked=o,this._onDidChange.fire({checked:o}))}run(o,r){return j(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(o))})}}class B extends D.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new R.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new R.Q5),this.onDidRun=this._onDidRun.event}run(o,r){return j(this,void 0,void 0,function*(){if(!o.enabled)return;this._onBeforeRun.fire({action:o});let t;try{yield this.runAction(o,r)}catch(s){t=s}this._onDidRun.fire({action:o,error:t})})}runAction(o,r){return j(this,void 0,void 0,function*(){yield o.run(r)})}}class G extends L{constructor(o){super(G.ID,o,o?"separator text":"separator"),this.checked=!1,this.enabled=!1}}G.ID="vs.actions.separator";class C{constructor(o,r,t,s){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=o,this.label=r,this.class=s,this._actions=t}get actions(){return this._actions}dispose(){}run(){return j(this,void 0,void 0,function*(){})}}class e extends L{constructor(){super(e.ID,H.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(Ne,ae,k){"use strict";k.d(ae,{ok:function(){return R}});function R(D,H){if(!D)throw new Error(H?`Assertion failed (${H})`:"Assertion Failed")}},52615:function(Ne,ae,k){"use strict";k.d(ae,{CM:function(){return L},JL:function(){return B},dT:function(){return C},fK:function(){return j},lA:function(){return G}});var R=k(4348);class D{constructor(){this._icons=new Map,this._onDidRegister=new R.Q5}add(w){const o=this._icons.get(w.id);o?w.description?o.description=w.description:console.error(`Duplicate registration of codicon ${w.id}`):(this._icons.set(w.id,w),this._onDidRegister.fire(w))}get(w){return this._icons.get(w)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const H=new D,j=H;function L(e,w){return new G(e,w)}function B(e){return e?e.replace(/\$\((.*?)\)/g,(w,o)=>` ${o} `).trim():""}class G{constructor(w,o,r){this.id=w,this.definition=o,this.description=r,H.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var C;(function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9\\-]+",e.iconModifierExpression="~[A-Za-z]+";const w=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function o(s){if(s instanceof G)return["codicon","codicon-"+s.id];const a=w.exec(s.id);if(!a)return o(G.error);let[,p,h]=a;const c=["codicon","codicon-"+p];return h&&c.push("codicon-modifier-"+h.substr(1)),c}e.asClassNameArray=o;function r(s){return o(s).join(" ")}e.asClassName=r;function t(s){return"."+o(s).join(".")}e.asCSSSelector=t})(C||(C={})),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"})}(G||(G={}))},79881:function(Ne,ae,k){"use strict";k.d(ae,{B8:function(){return o},Cp:function(){return j},F0:function(){return C},L6:function(){return w},VV:function(){return G},b1:function(){return e},dL:function(){return H},ri:function(){return L}});class R{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?new Error(t.message+`
`+t.stack):t},0)}}emit(t){this.listeners.forEach(s=>{s(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const D=new R;function H(r){G(r)||D.onUnexpectedError(r)}function j(r){G(r)||D.onUnexpectedExternalError(r)}function L(r){if(r instanceof Error){let{name:t,message:s}=r;const a=r.stacktrace||r.stack;return{$isError:!0,name:t,message:s,stack:a}}return r}const B="Canceled";function G(r){return r instanceof Error&&r.name===B&&r.message===B}function C(){const r=new Error(B);return r.name=r.message,r}function e(r){return r?new Error(`Illegal argument: ${r}`):new Error("Illegal argument")}function w(r){return r?new Error(`Illegal state: ${r}`):new Error("Illegal state")}class o extends Error{constructor(t){super("NotSupported"),t&&(this.message=t)}}},4348:function(Ne,ae,k){"use strict";k.d(ae,{D0:function(){return o},E7:function(){return r},K3:function(){return w},Q5:function(){return e},ZD:function(){return t},ju:function(){return L}});var R=k(79881),D=k(69323),H=k(34502),j=k(95830),L;(function(s){s.None=()=>D.JT.None;function a(d){return(v,E=null,m)=>{let n=!1,i;return i=d(f=>{if(!n)return i?i.dispose():n=!0,v.call(E,f)},null,m),n&&i.dispose(),i}}s.once=a;function p(d,v){return x((E,m=null,n)=>d(i=>E.call(m,v(i)),null,n))}s.map=p;function h(d,v){return x((E,m=null,n)=>d(i=>{v(i),E.call(m,i)},null,n))}s.forEach=h;function c(d,v){return x((E,m=null,n)=>d(i=>v(i)&&E.call(m,i),null,n))}s.filter=c;function u(d){return d}s.signal=u;function l(...d){return(v,E=null,m)=>(0,D.F8)(...d.map(n=>n(i=>v.call(E,i),null,m)))}s.any=l;function y(d,v,E){let m=E;return p(d,n=>(m=v(m,n),m))}s.reduce=y;function x(d){let v;const E=new e({onFirstListenerAdd(){v=d(E.fire,E)},onLastListenerRemove(){v.dispose()}});return E.event}function O(d,v,E=100,m=!1,n){let i,f,S,Z=0;const Y=new e({leakWarningThreshold:n,onFirstListenerAdd(){i=d(ue=>{Z++,f=v(f,ue),m&&!S&&(Y.fire(f),f=void 0),clearTimeout(S),S=setTimeout(()=>{const fe=f;f=void 0,S=void 0,(!m||Z>1)&&Y.fire(fe),Z=0},E)})},onLastListenerRemove(){i.dispose()}});return Y.event}s.debounce=O;function T(d,v=(E,m)=>E===m){let E=!0,m;return c(d,n=>{const i=E||!v(n,m);return E=!1,m=n,i})}s.latch=T;function P(d,v){return[s.filter(d,v),s.filter(d,E=>!v(E))]}s.split=P;function z(d,v=!1,E=[]){let m=E.slice(),n=d(S=>{m?m.push(S):f.fire(S)});const i=()=>{m&&m.forEach(S=>f.fire(S)),m=null},f=new e({onFirstListenerAdd(){n||(n=d(S=>f.fire(S)))},onFirstListenerDidAdd(){m&&(v?setTimeout(i):i())},onLastListenerRemove(){n&&n.dispose(),n=null}});return f.event}s.buffer=z;class X{constructor(v){this.event=v}map(v){return new X(p(this.event,v))}forEach(v){return new X(h(this.event,v))}filter(v){return new X(c(this.event,v))}reduce(v,E){return new X(y(this.event,v,E))}latch(){return new X(T(this.event))}debounce(v,E=100,m=!1,n){return new X(O(this.event,v,E,m,n))}on(v,E,m){return this.event(v,E,m)}once(v,E,m){return a(this.event)(v,E,m)}}function W(d){return new X(d)}s.chain=W;function ge(d,v,E=m=>m){const m=(...S)=>f.fire(E(...S)),n=()=>d.on(v,m),i=()=>d.removeListener(v,m),f=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return f.event}s.fromNodeEventEmitter=ge;function g(d,v,E=m=>m){const m=(...S)=>f.fire(E(...S)),n=()=>d.addEventListener(v,m),i=()=>d.removeEventListener(v,m),f=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return f.event}s.fromDOMEventEmitter=g;function _(d){return new Promise(v=>a(d)(v))}s.toPromise=_})(L||(L={}));class B{constructor(a){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${a}_${B._idPool++}`}start(a){this._stopWatch=new j.G(!0),this._listenerCount=a}stop(){if(this._stopWatch){const a=this._stopWatch.elapsed();this._elapsedOverall+=a,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${a.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}B._idPool=0;let G=-1;class C{constructor(a,p=Math.random().toString(18).slice(2,5)){this.customThreshold=a,this.name=p,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(a){let p=G;if(typeof this.customThreshold=="number"&&(p=this.customThreshold),p<=0||a<p)return;this._stacks||(this._stacks=new Map);const h=new Error().stack.split(`
`).slice(3).join(`
`),c=this._stacks.get(h)||0;if(this._stacks.set(h,c+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=p*.5;let u,l=0;for(const[y,x]of this._stacks)(!u||l<x)&&(u=y,l=x);console.warn(`[${this.name}] potential listener LEAK detected, having ${a} listeners already. MOST frequent listener (${l}):`),console.warn(u)}return()=>{const u=this._stacks.get(h)||0;this._stacks.set(h,u-1)}}}class e{constructor(a){var p;this._disposed=!1,this._options=a,this._leakageMon=G>0?new C(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((p=this._options)===null||p===void 0)&&p._profName?new B(this._options._profName):void 0}get event(){return this._event||(this._event=(a,p,h)=>{var c;this._listeners||(this._listeners=new H.S);const u=this._listeners.isEmpty();u&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const l=this._listeners.push(p?[a,p]:a);u&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,a,p);const y=(c=this._leakageMon)===null||c===void 0?void 0:c.check(this._listeners.size),x=(0,D.OF)(()=>{y&&y(),this._disposed||(l(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return h instanceof D.SL?h.add(x):Array.isArray(h)&&h.push(x),x}),this._event}fire(a){var p,h;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new H.S);for(let c of this._listeners)this._deliveryQueue.push([c,a]);for((p=this._perfMon)===null||p===void 0||p.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[c,u]=this._deliveryQueue.shift();try{typeof c=="function"?c.call(void 0,u):c[0].call(c[1],u)}catch(l){(0,R.dL)(l)}}(h=this._perfMon)===null||h===void 0||h.stop()}}dispose(){var a,p,h,c,u;this._disposed||(this._disposed=!0,(a=this._listeners)===null||a===void 0||a.clear(),(p=this._deliveryQueue)===null||p===void 0||p.clear(),(c=(h=this._options)===null||h===void 0?void 0:h.onLastListenerRemove)===null||c===void 0||c.call(h),(u=this._leakageMon)===null||u===void 0||u.dispose())}}class w extends e{constructor(a){super(a),this._isPaused=0,this._eventQueue=new H.S,this._mergeFn=a==null?void 0:a.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const a=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(a))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(a){this._listeners&&(this._isPaused!==0?this._eventQueue.push(a):super.fire(a))}}class o extends w{constructor(a){var p;super(a),this._delay=(p=a.delay)!==null&&p!==void 0?p:100}fire(a){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(a)}}class r{constructor(){this.buffers=[]}wrapEvent(a){return(p,h,c)=>a(u=>{const l=this.buffers[this.buffers.length-1];l?l.push(()=>p.call(h,u)):p.call(h,u)},void 0,c)}bufferEvents(a){const p=[];this.buffers.push(p);const h=a();return this.buffers.pop(),p.forEach(c=>c()),h}}class t{constructor(){this.listening=!1,this.inputEvent=L.None,this.inputEventListener=D.JT.None,this.emitter=new e({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(a){this.inputEvent=a,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=a(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(Ne,ae,k){"use strict";k.d(ae,{I:function(){return R}});function R(D){const H=this;let j=!1,L;return function(){return j||(j=!0,L=D.apply(H,arguments)),L}}},88226:function(Ne,ae,k){"use strict";k.d(ae,{$:function(){return R}});var R;(function(D){function H(l){return l&&typeof l=="object"&&typeof l[Symbol.iterator]=="function"}D.is=H;const j=Object.freeze([]);function L(){return j}D.empty=L;function*B(l){yield l}D.single=B;function G(l){return l||j}D.from=G;function C(l){return!l||l[Symbol.iterator]().next().done===!0}D.isEmpty=C;function e(l){return l[Symbol.iterator]().next().value}D.first=e;function w(l,y){for(const x of l)if(y(x))return!0;return!1}D.some=w;function o(l,y){for(const x of l)if(y(x))return x}D.find=o;function*r(l,y){for(const x of l)y(x)&&(yield x)}D.filter=r;function*t(l,y){let x=0;for(const O of l)yield y(O,x++)}D.map=t;function*s(...l){for(const y of l)for(const x of y)yield x}D.concat=s;function*a(l){for(const y of l)for(const x of y)yield x}D.concatNested=a;function p(l,y,x){let O=x;for(const T of l)O=y(O,T);return O}D.reduce=p;function*h(l,y,x=l.length){for(y<0&&(y+=l.length),x<0?x+=l.length:x>l.length&&(x=l.length);y<x;y++)yield l[y]}D.slice=h;function c(l,y=Number.POSITIVE_INFINITY){const x=[];if(y===0)return[x,l];const O=l[Symbol.iterator]();for(let T=0;T<y;T++){const P=O.next();if(P.done)return[x,D.empty()];x.push(P.value)}return[x,{[Symbol.iterator](){return O}}]}D.consume=c;function u(l,y,x=(O,T)=>O===T){const O=l[Symbol.iterator](),T=y[Symbol.iterator]();for(;;){const P=O.next(),z=T.next();if(P.done!==z.done)return!1;if(P.done)return!0;if(!x(P.value,z.value))return!1}}D.equals=u})(R||(R={}))},69323:function(Ne,ae,k){"use strict";k.d(ae,{B9:function(){return t},F8:function(){return s},JT:function(){return h},Jz:function(){return u},OF:function(){return a},SL:function(){return p},Wf:function(){return r},XK:function(){return c},dk:function(){return w}});var R=k(17845),D=k(88226);const H=!1;let j=null;function L(l){j=l}if(H){const l="__is_disposable_tracked__";L(new class{trackDisposable(y){const x=new Error("Potentially leaked disposable").stack;setTimeout(()=>{y[l]||console.log(x)},3e3)}setParent(y,x){if(y&&y!==h.None)try{y[l]=!0}catch(O){}}markAsDisposed(y){if(y&&y!==h.None)try{y[l]=!0}catch(x){}}markAsSingleton(y){}})}function B(l){return j==null||j.trackDisposable(l),l}function G(l){j==null||j.markAsDisposed(l)}function C(l,y){j==null||j.setParent(l,y)}function e(l,y){if(j)for(const x of l)j.setParent(x,y)}function w(l){return j==null||j.markAsSingleton(l),l}class o extends Error{constructor(y){super(`Encountered errors while disposing of store. Errors: [${y.join(", ")}]`),this.errors=y}}function r(l){return typeof l.dispose=="function"&&l.dispose.length===0}function t(l){if(D.$.is(l)){let y=[];for(const x of l)if(x)try{x.dispose()}catch(O){y.push(O)}if(y.length===1)throw y[0];if(y.length>1)throw new o(y);return Array.isArray(l)?[]:l}else if(l)return l.dispose(),l}function s(...l){const y=a(()=>t(l));return e(l,y),y}function a(l){const y=B({dispose:(0,R.I)(()=>{G(y),l()})});return y}class p{constructor(){this._toDispose=new Set,this._isDisposed=!1,B(this)}dispose(){this._isDisposed||(G(this),this._isDisposed=!0,this.clear())}clear(){try{t(this._toDispose.values())}finally{this._toDispose.clear()}}add(y){if(!y)return y;if(y===this)throw new Error("Cannot register a disposable on itself!");return C(y,this),this._isDisposed?p.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(y),y}}p.DISABLE_DISPOSED_WARNING=!1;class h{constructor(){this._store=new p,B(this),C(this._store,this)}dispose(){G(this),this._store.dispose()}_register(y){if(y===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(y)}}h.None=Object.freeze({dispose(){}});class c{constructor(){this._isDisposed=!1,B(this)}get value(){return this._isDisposed?void 0:this._value}set value(y){var x;this._isDisposed||y===this._value||((x=this._value)===null||x===void 0||x.dispose(),y&&C(y,this),this._value=y)}clear(){this.value=void 0}dispose(){var y;this._isDisposed=!0,G(this),(y=this._value)===null||y===void 0||y.dispose(),this._value=void 0}clearAndLeak(){const y=this._value;return this._value=void 0,y&&C(y,null),y}}class u{constructor(y){this.object=y}dispose(){}}},34502:function(Ne,ae,k){"use strict";k.d(ae,{S:function(){return D}});class R{constructor(j){this.element=j,this.next=R.Undefined,this.prev=R.Undefined}}R.Undefined=new R(void 0);class D{constructor(){this._first=R.Undefined,this._last=R.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===R.Undefined}clear(){let j=this._first;for(;j!==R.Undefined;){const L=j.next;j.prev=R.Undefined,j.next=R.Undefined,j=L}this._first=R.Undefined,this._last=R.Undefined,this._size=0}unshift(j){return this._insert(j,!1)}push(j){return this._insert(j,!0)}_insert(j,L){const B=new R(j);if(this._first===R.Undefined)this._first=B,this._last=B;else if(L){const C=this._last;this._last=B,B.prev=C,C.next=B}else{const C=this._first;this._first=B,B.next=C,C.prev=B}this._size+=1;let G=!1;return()=>{G||(G=!0,this._remove(B))}}shift(){if(this._first!==R.Undefined){const j=this._first.element;return this._remove(this._first),j}}pop(){if(this._last!==R.Undefined){const j=this._last.element;return this._remove(this._last),j}}_remove(j){if(j.prev!==R.Undefined&&j.next!==R.Undefined){const L=j.prev;L.next=j.next,j.next.prev=L}else j.prev===R.Undefined&&j.next===R.Undefined?(this._first=R.Undefined,this._last=R.Undefined):j.next===R.Undefined?(this._last=this._last.prev,this._last.next=R.Undefined):j.prev===R.Undefined&&(this._first=this._first.next,this._first.prev=R.Undefined);this._size-=1}*[Symbol.iterator](){let j=this._first;for(;j!==R.Undefined;)yield j.element,j=j.next}}},23345:function(Ne,ae,k){"use strict";k.d(ae,{$L:function(){return O},ED:function(){return u},IJ:function(){return y},OS:function(){return X},WE:function(){return P},dz:function(){return l},gn:function(){return T},li:function(){return a},r:function(){return g},tY:function(){return x},xS:function(){return z}});var R=k(97671),D;const H="en";let j=!1,L=!1,B=!1,G=!1,C=!1,e=!1,w=!1,o,r=null,t=null,s;const a=typeof self=="object"?self:typeof k.g=="object"?k.g:{};let p;typeof a.vscode!="undefined"&&typeof a.vscode.process!="undefined"?p=a.vscode.process:typeof R!="undefined"&&(p=R);const h=typeof((D=p==null?void 0:p.versions)===null||D===void 0?void 0:D.electron)=="string"&&p.type==="renderer";if(typeof navigator=="object"&&!h)s=navigator.userAgent,j=s.indexOf("Windows")>=0,L=s.indexOf("Macintosh")>=0,w=(s.indexOf("Macintosh")>=0||s.indexOf("iPad")>=0||s.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,B=s.indexOf("Linux")>=0,e=!0,o=navigator.language,r=o;else if(typeof p=="object"){j=p.platform==="win32",L=p.platform==="darwin",B=p.platform==="linux",G=B&&!!p.env.SNAP&&!!p.env.SNAP_REVISION,o=H,r=H;const _=p.env.VSCODE_NLS_CONFIG;if(_)try{const d=JSON.parse(_),v=d.availableLanguages["*"];o=d.locale,r=v||H,t=d._translationsConfigFile}catch(d){}C=!0}else console.error("Unable to resolve platform.");let c=0;L?c=1:j?c=3:B&&(c=2);const u=j,l=L,y=B,x=C,O=e,T=w,P=s,z=function(){if(a.setImmediate)return a.setImmediate.bind(a);if(typeof a.postMessage=="function"&&!a.importScripts){let v=[];a.addEventListener("message",m=>{if(m.data&&m.data.vscodeSetImmediateId)for(let n=0,i=v.length;n<i;n++){const f=v[n];if(f.id===m.data.vscodeSetImmediateId){v.splice(n,1),f.callback();return}}});let E=0;return m=>{const n=++E;v.push({id:n,callback:m}),a.postMessage({vscodeSetImmediateId:n},"*")}}if(typeof(p==null?void 0:p.nextTick)=="function")return p.nextTick.bind(p);const d=Promise.resolve();return v=>d.then(v)}(),X=L||w?2:j?1:3;let W=!0,ge=!1;function g(){if(!ge){ge=!0;const _=new Uint8Array(2);_[0]=1,_[1]=2,W=new Uint16Array(_.buffer)[0]===513}return W}},95830:function(Ne,ae,k){"use strict";k.d(ae,{G:function(){return H}});var R=k(23345);const D=R.li.performance&&typeof R.li.performance.now=="function";class H{constructor(L){this._highResolution=D&&L,this._startTime=this._now(),this._stopTime=-1}static create(L=!0){return new H(L)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?R.li.performance.now():Date.now()}}},82983:function(Ne,ae,k){"use strict";k.d(ae,{$i:function(){return Z},C8:function(){return We},GF:function(){return o},HO:function(){return E},IO:function(){return r},K7:function(){return ve},Kw:function(){return ie},LC:function(){return a},Mh:function(){return z},P1:function(){return X},PJ:function(){return de},Qe:function(){return Y},R1:function(){return w},RP:function(){return f},S6:function(){return le},TT:function(){return u},Ut:function(){return n},V8:function(){return p},WU:function(){return H},YK:function(){return ge},YU:function(){return j},ZG:function(){return W},ZH:function(){return _},ab:function(){return ue},c1:function(){return Ge},df:function(){return O},ec:function(){return L},fi:function(){return be},fy:function(){return B},j3:function(){return G},j_:function(){return y},m5:function(){return R},mK:function(){return x},mr:function(){return t},oH:function(){return I},oL:function(){return C},ok:function(){return P},ow:function(){return h},qq:function(){return T},qu:function(){return c},rL:function(){return g},uS:function(){return Ye},un:function(){return e},uq:function(){return s},vH:function(){return v},xe:function(){return fe},zY:function(){return l}});function R(b){return!b||typeof b!="string"?!0:b.trim().length===0}const D=/{(\d+)}/g;function H(b,...A){return A.length===0?b:b.replace(D,function(U,J){const se=parseInt(J,10);return isNaN(se)||se<0||se>=A.length?U:A[se]})}function j(b){return b.replace(/[<>&]/g,function(A){switch(A){case"<":return"&lt;";case">":return"&gt;";case"&":return"&amp;";default:return A}})}function L(b){return b.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function B(b,A=" "){const U=G(b,A);return C(U,A)}function G(b,A){if(!b||!A)return b;const U=A.length;if(U===0||b.length===0)return b;let J=0;for(;b.indexOf(A,J)===J;)J=J+U;return b.substring(J)}function C(b,A){if(!b||!A)return b;const U=A.length,J=b.length;if(U===0||J===0)return b;let se=J,ce=-1;for(;ce=b.lastIndexOf(A,se-1),!(ce===-1||ce+U!==se);){if(ce===0)return"";se=ce}return b.substring(0,se)}function e(b){return b.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function w(b){return b.replace(/\*/g,"")}function o(b,A,U={}){if(!b)throw new Error("Cannot create regex from empty string");A||(b=L(b)),U.wholeWord&&(/\B/.test(b.charAt(0))||(b="\\b"+b),/\B/.test(b.charAt(b.length-1))||(b=b+"\\b"));let J="";return U.global&&(J+="g"),U.matchCase||(J+="i"),U.multiline&&(J+="m"),U.unicode&&(J+="u"),new RegExp(b,J)}function r(b){return b.source==="^"||b.source==="^$"||b.source==="$"||b.source==="^\\s*$"?!1:!!(b.exec("")&&b.lastIndex===0)}function t(b){return(b.global?"g":"")+(b.ignoreCase?"i":"")+(b.multiline?"m":"")+(b.unicode?"u":"")}function s(b){return b.split(/\r\n|\r|\n/)}function a(b){for(let A=0,U=b.length;A<U;A++){const J=b.charCodeAt(A);if(J!==32&&J!==9)return A}return-1}function p(b,A=0,U=b.length){for(let J=A;J<U;J++){const se=b.charCodeAt(J);if(se!==32&&se!==9)return b.substring(A,J)}return b.substring(A,U)}function h(b,A=b.length-1){for(let U=A;U>=0;U--){const J=b.charCodeAt(U);if(J!==32&&J!==9)return U}return-1}function c(b,A){return b<A?-1:b>A?1:0}function u(b,A,U=0,J=b.length,se=0,ce=A.length){for(;U<J&&se<ce;U++,se++){let Oe=b.charCodeAt(U),ze=A.charCodeAt(se);if(Oe<ze)return-1;if(Oe>ze)return 1}const we=J-U,me=ce-se;return we<me?-1:we>me?1:0}function l(b,A){return y(b,A,0,b.length,0,A.length)}function y(b,A,U=0,J=b.length,se=0,ce=A.length){for(;U<J&&se<ce;U++,se++){let Oe=b.charCodeAt(U),ze=A.charCodeAt(se);if(Oe===ze)continue;if(Oe>=128||ze>=128)return u(b.toLowerCase(),A.toLowerCase(),U,J,se,ce);x(Oe)&&(Oe-=32),x(ze)&&(ze-=32);const qe=Oe-ze;if(qe!==0)return qe}const we=J-U,me=ce-se;return we<me?-1:we>me?1:0}function x(b){return b>=97&&b<=122}function O(b){return b>=65&&b<=90}function T(b,A){return b.length===A.length&&y(b,A)===0}function P(b,A){const U=A.length;return A.length>b.length?!1:y(b,A,0,U)===0}function z(b,A){let U,J=Math.min(b.length,A.length);for(U=0;U<J;U++)if(b.charCodeAt(U)!==A.charCodeAt(U))return U;return J}function X(b,A){let U,J=Math.min(b.length,A.length);const se=b.length-1,ce=A.length-1;for(U=0;U<J;U++)if(b.charCodeAt(se-U)!==A.charCodeAt(ce-U))return U;return J}function W(b){return 55296<=b&&b<=56319}function ge(b){return 56320<=b&&b<=57343}function g(b,A){return(b-55296<<10)+(A-56320)+65536}function _(b,A,U){const J=b.charCodeAt(U);if(W(J)&&U+1<A){const se=b.charCodeAt(U+1);if(ge(se))return g(J,se)}return J}function d(b,A){const U=b.charCodeAt(A-1);if(ge(U)&&A>1){const J=b.charCodeAt(A-2);if(W(J))return g(J,U)}return U}function v(b,A){const U=M.getInstance(),J=A,se=b.length,ce=_(b,se,A);A+=ce>=65536?2:1;let we=U.getGraphemeBreakType(ce);for(;A<se;){const me=_(b,se,A),Oe=U.getGraphemeBreakType(me);if(be(we,Oe))break;A+=me>=65536?2:1,we=Oe}return A-J}function E(b,A){const U=M.getInstance(),J=A,se=d(b,A);A-=se>=65536?2:1;let ce=U.getGraphemeBreakType(se);for(;A>0;){const we=d(b,A),me=U.getGraphemeBreakType(we);if(be(me,ce))break;A-=we>=65536?2:1,ce=me}return J-A}const m=/(?:[\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(b){return m.test(b)}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 f(b){return i.test(b)}const S=/^[\t\n\r\x20-\x7E]*$/;function Z(b){return S.test(b)}const Y=/[\u2028\u2029]/;function ue(b){return Y.test(b)}function fe(b){for(let A=0,U=b.length;A<U;A++)if(ve(b.charCodeAt(A)))return!0;return!1}function ve(b){return b=+b,b>=11904&&b<=55215||b>=63744&&b<=64255||b>=65281&&b<=65374}function We(b){return b>=127462&&b<=127487||b===8986||b===8987||b===9200||b===9203||b>=9728&&b<=10175||b===11088||b===11093||b>=127744&&b<=128591||b>=128640&&b<=128764||b>=128992&&b<=129003||b>=129280&&b<=129535||b>=129648&&b<=129750}const Ge="\uFEFF";function Ye(b){return!!(b&&b.length>0&&b.charCodeAt(0)===65279)}function ie(b,A=!1){return b?(A&&(b=b.replace(/\\./g,"")),b.toLowerCase()!==b):!1}function de(b){return b=b%(2*26),b<26?String.fromCharCode(97+b):String.fromCharCode(65+b-26)}function le(b){return M.getInstance().getGraphemeBreakType(b)}function be(b,A){return b===0?A!==5&&A!==7:b===2&&A===3?!1:b===4||b===2||b===3||A===4||A===2||A===3?!0:!(b===8&&(A===8||A===9||A===11||A===12)||(b===11||b===9)&&(A===9||A===10)||(b===12||b===10)&&A===10||A===5||A===13||A===7||b===1||b===13&&A===14||b===6&&A===6)}class M{constructor(){this._data=ee()}static getInstance(){return M._INSTANCE||(M._INSTANCE=new M),M._INSTANCE}getGraphemeBreakType(A){if(A<32)return A===10?3:A===13?2:4;if(A<127)return 0;const U=this._data,J=U.length/3;let se=1;for(;se<=J;)if(A<U[3*se])se=2*se;else if(A>U[3*se+1])se=2*se+1;else return U[3*se+2];return 0}}M._INSTANCE=null;function ee(){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 I(b,A){if(b===0)return 0;const U=te(b,A);if(U!==void 0)return U;const J=d(A,b);return b-=re(J),b}function te(b,A){let U=d(A,b);for(b-=re(U);he(U)||U===65039||U===8419;){if(b===0)return;U=d(A,b),b-=re(U)}if(We(U)){if(b>=0){const J=d(A,b);J===8205&&(b-=re(J))}return b}}function re(b){return b>=65536?2:1}function he(b){return 127995<=b&&b<=127999}},72999:function(Ne,ae,k){"use strict";k.d(ae,{$E:function(){return a},$K:function(){return G},D8:function(){return r},HD:function(){return D},IU:function(){return p},Jp:function(){return C},Kn:function(){return H},cW:function(){return w},f6:function(){return h},hj:function(){return j},jn:function(){return L},kJ:function(){return R},mf:function(){return o},o8:function(){return B},p_:function(){return e},vE:function(){return c}});function R(u){return Array.isArray(u)}function D(u){return typeof u=="string"}function H(u){return typeof u=="object"&&u!==null&&!Array.isArray(u)&&!(u instanceof RegExp)&&!(u instanceof Date)}function j(u){return typeof u=="number"&&!isNaN(u)}function L(u){return u===!0||u===!1}function B(u){return typeof u=="undefined"}function G(u){return!C(u)}function C(u){return B(u)||u===null}function e(u,l){if(!u)throw new Error(l?`Unexpected type, expected '${l}'`:"Unexpected type")}function w(u){if(C(u))throw new Error("Assertion Failed: argument is undefined or null");return u}function o(u){return typeof u=="function"}function r(u,l){const y=Math.min(u.length,l.length);for(let x=0;x<y;x++)t(u[x],l[x])}function t(u,l){if(D(l)){if(typeof u!==l)throw new Error(`argument does not match constraint: typeof ${l}`)}else if(o(l)){try{if(u instanceof l)return}catch(y){}if(!C(u)&&u.constructor===l||l.length===1&&l.call(void 0,u)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function s(u){let l=[],y=Object.getPrototypeOf(u);for(;Object.prototype!==y;)l=l.concat(Object.getOwnPropertyNames(y)),y=Object.getPrototypeOf(y);return l}function a(u){const l=[];for(const y of s(u))typeof u[y]=="function"&&l.push(y);return l}function p(u,l){const y=O=>function(){const T=Array.prototype.slice.call(arguments,0);return l(O,T)};let x={};for(const O of u)x[O]=y(O);return x}function h(u){return u===null?void 0:u}function c(u,l="Unreachable"){throw new Error(l)}},13268:function(Ne,ae,k){"use strict";k.d(ae,{N:function(){return D}});function R(H,j){let L;return j.length===0?L=H:L=H.replace(/\{(\d+)\}/g,function(B,G){const C=G[0];return typeof j[C]!="undefined"?j[C]:B}),L}function D(H,j,...L){return R(j,L)}},96236:function(Ne,ae,k){"use strict";k.d(ae,{BH:function(){return p},NZ:function(){return h},U8:function(){return c},co:function(){return a},eH:function(){return s},vr:function(){return t}});var R=k(75918),D=k(52615),H=k(4348),j=k(88226),L=k(69323),B=k(34502),G=k(35884),C=k(90689),e=k(16925),w=k(49055),o=function(u,l,y,x){var O=arguments.length,T=O<3?l:x===null?x=Object.getOwnPropertyDescriptor(l,y):x,P;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(u,l,y,x);else for(var z=u.length-1;z>=0;z--)(P=u[z])&&(T=(O<3?P(T):O>3?P(l,y,T):P(l,y))||T);return O>3&&T&&Object.defineProperty(l,y,T),T},r=function(u,l){return function(y,x){l(y,x,u)}};function t(u){return u.command!==void 0}class s{constructor(l){this.id=s._idPool++,this._debugName=l}}s._idPool=0,s.CommandPalette=new s("CommandPalette"),s.EditorContext=new s("EditorContext"),s.SimpleEditorContext=new s("SimpleEditorContext"),s.EditorContextCopy=new s("EditorContextCopy"),s.EditorContextPeek=new s("EditorContextPeek"),s.MenubarEditMenu=new s("MenubarEditMenu"),s.MenubarCopy=new s("MenubarCopy"),s.MenubarGoMenu=new s("MenubarGoMenu"),s.MenubarSelectionMenu=new s("MenubarSelectionMenu"),s.InlineCompletionsActions=new s("InlineCompletionsActions");const a=(0,e.yh)("menuService"),p=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new H.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:u=>u===s.CommandPalette}}addCommand(u){return this.addCommands(j.$.single(u))}addCommands(u){for(const l of u)this._commands.set(l.id,l);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,L.OF)(()=>{let l=!1;for(const y of u)l=this._commands.delete(y.id)||l;l&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(u){return this._commands.get(u)}getCommands(){const u=new Map;return this._commands.forEach((l,y)=>u.set(y,l)),u}appendMenuItem(u,l){return this.appendMenuItems(j.$.single({id:u,item:l}))}appendMenuItems(u){const l=new Set,y=new B.S;for(const{id:x,item:O}of u){let T=this._menuItems.get(x);T||(T=new B.S,this._menuItems.set(x,T)),y.push(T.push(O)),l.add(x)}return this._onDidChangeMenu.fire(l),(0,L.OF)(()=>{if(y.size>0){for(let x of y)x();this._onDidChangeMenu.fire(l),y.clear()}})}getMenuItems(u){let l;return this._menuItems.has(u)?l=[...this._menuItems.get(u)]:l=[],u===s.CommandPalette&&this._appendImplicitItems(l),l}_appendImplicitItems(u){const l=new Set;for(const y of u)t(y)&&(l.add(y.command.id),y.alt&&l.add(y.alt.id));this._commands.forEach((y,x)=>{l.has(x)||u.push({command:y})})}};class h extends R.wY{constructor(l,y,x,O){super(`submenuitem.${l.submenu.id}`,typeof l.title=="string"?l.title:l.title.value,[],"submenu"),this.item=l,this._menuService=y,this._contextKeyService=x,this._options=O}get actions(){const l=[],y=this._menuService.createMenu(this.item.submenu,this._contextKeyService),x=y.getActions(this._options);y.dispose();for(const[,O]of x)O.length>0&&(l.push(...O),l.push(new R.Z0));return l.length&&l.pop(),l}}let c=class Si{constructor(l,y,x,O,T){var P,z;if(this._commandService=T,this.id=l.id,this.label=x!=null&&x.renderShortTitle&&l.shortTitle?typeof l.shortTitle=="string"?l.shortTitle:l.shortTitle.value:typeof l.title=="string"?l.title:l.title.value,this.tooltip=(z=typeof l.tooltip=="string"?l.tooltip:(P=l.tooltip)===null||P===void 0?void 0:P.value)!==null&&z!==void 0?z:"",this.enabled=!l.precondition||O.contextMatchesRules(l.precondition),this.checked=void 0,l.toggled){const X=l.toggled.condition?l.toggled:{condition:l.toggled};this.checked=O.contextMatchesRules(X.condition),this.checked&&X.tooltip&&(this.tooltip=typeof X.tooltip=="string"?X.tooltip:X.tooltip.value),X.title&&(this.label=typeof X.title=="string"?X.title:X.title.value)}this.item=l,this.alt=y?new Si(y,void 0,x,O,T):void 0,this._options=x,w.kS.isThemeIcon(l.icon)&&(this.class=D.dT.asClassName(l.icon))}dispose(){}run(...l){var y,x;let O=[];return!((y=this._options)===null||y===void 0)&&y.arg&&(O=[...O,this._options.arg]),!((x=this._options)===null||x===void 0)&&x.shouldForwardArgs&&(O=[...O,...l]),this._commandService.executeCommand(this.id,...O)}};c=o([r(3,C.i6),r(4,G.H)],c)},35884:function(Ne,ae,k){"use strict";k.d(ae,{H:function(){return G},P:function(){return C}});var R=k(4348),D=k(88226),H=k(69323),j=k(34502),L=k(72999),B=k(16925);const G=(0,B.yh)("commandService"),C=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new R.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,w){if(!e)throw new Error("invalid command");if(typeof e=="string"){if(!w)throw new Error("invalid command");return this.registerCommand({id:e,handler:w})}if(e.description){const a=[];for(let h of e.description.args)a.push(h.constraint);const p=e.handler;e.handler=function(h,...c){return(0,L.D8)(c,a),p(h,...c)}}const{id:o}=e;let r=this._commands.get(o);r||(r=new j.S,this._commands.set(o,r));let t=r.unshift(e),s=(0,H.OF)(()=>{t();const a=this._commands.get(o);a!=null&&a.isEmpty()&&this._commands.delete(o)});return this._onDidRegisterCommand.fire(o),s}registerCommandAlias(e,w){return C.registerCommand(e,(o,...r)=>o.get(G).executeCommand(w,...r))}getCommand(e){const w=this._commands.get(e);if(!(!w||w.isEmpty()))return D.$.first(w)}getCommands(){const e=new Map;for(const w of this._commands.keys()){const o=this.getCommand(w);o&&e.set(w,o)}return e}};C.registerCommand("noop",()=>{})},90689:function(Ne,ae,k){"use strict";k.d(ae,{Ao:function(){return G},Eq:function(){return g},Fb:function(){return C},K8:function(){return v},i6:function(){return ge},uy:function(){return W}});var R=k(23345),D=k(82983),H=k(16925);let j=R.WE||"";const L=new Map;L.set("false",!1),L.set("true",!0),L.set("isMac",R.dz),L.set("isLinux",R.IJ),L.set("isWindows",R.ED),L.set("isWeb",R.$L),L.set("isMacNative",R.dz&&!R.$L),L.set("isEdge",j.indexOf("Edg/")>=0),L.set("isFirefox",j.indexOf("Firefox")>=0),L.set("isChrome",j.indexOf("Chrome")>=0),L.set("isSafari",j.indexOf("Safari")>=0);const B=Object.prototype.hasOwnProperty;class G{static has(n){return r.create(n)}static equals(n,i){return t.create(n,i)}static regex(n,i){return O.create(n,i)}static not(n){return h.create(n)}static and(...n){return z.create(n,null)}static or(...n){return X.create(n,null,!0)}static deserialize(n,i=!1){if(n)return this._deserializeOrExpression(n,i)}static _deserializeOrExpression(n,i){let f=n.split("||");return X.create(f.map(S=>this._deserializeAndExpression(S,i)),null,!0)}static _deserializeAndExpression(n,i){let f=n.split("&&");return z.create(f.map(S=>this._deserializeOne(S,i)),null)}static _deserializeOne(n,i){if(n=n.trim(),n.indexOf("!=")>=0){let f=n.split("!=");return p.create(f[0].trim(),this._deserializeValue(f[1],i))}if(n.indexOf("==")>=0){let f=n.split("==");return t.create(f[0].trim(),this._deserializeValue(f[1],i))}if(n.indexOf("=~")>=0){let f=n.split("=~");return O.create(f[0].trim(),this._deserializeRegexValue(f[1],i))}if(n.indexOf(" in ")>=0){let f=n.split(" in ");return s.create(f[0].trim(),f[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(n)){const f=n.split(">=");return l.create(f[0].trim(),f[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(n)){const f=n.split(">");return u.create(f[0].trim(),f[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(n)){const f=n.split("<=");return x.create(f[0].trim(),f[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(n)){const f=n.split("<");return y.create(f[0].trim(),f[1].trim())}return/^\!\s*/.test(n)?h.create(n.substr(1).trim()):r.create(n)}static _deserializeValue(n,i){if(n=n.trim(),n==="true")return!0;if(n==="false")return!1;let f=/^'([^']*)'$/.exec(n);return f?f[1].trim():n}static _deserializeRegexValue(n,i){if((0,D.m5)(n)){if(i)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let f=n.indexOf("/"),S=n.lastIndexOf("/");if(f===S||f<0){if(i)throw new Error(`bad regexp-value '${n}', missing /-enclosure`);return console.warn(`bad regexp-value '${n}', missing /-enclosure`),null}let Z=n.slice(f+1,S),Y=n[S+1]==="i"?"i":"";try{return new RegExp(Z,Y)}catch(ue){if(i)throw new Error(`bad regexp-value '${n}', parse error: ${ue}`);return console.warn(`bad regexp-value '${n}', parse error: ${ue}`),null}}}function C(m,n){const i=m?m.substituteConstants():void 0,f=n?n.substituteConstants():void 0;return!i&&!f?!0:!i||!f?!1:i.equals(f)}function e(m,n){return m.cmp(n)}class w{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 o.INSTANCE}}w.INSTANCE=new w;class o{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 w.INSTANCE}}o.INSTANCE=new o;class r{constructor(n,i){this.key=n,this.negated=i,this.type=2}static create(n,i=null){const f=L.get(n);return typeof f=="boolean"?f?o.INSTANCE:w.INSTANCE:new r(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:_(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=L.get(this.key);return typeof n=="boolean"?n?o.INSTANCE:w.INSTANCE:this}evaluate(n){return!!n.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=h.create(this.key,this)),this.negated}}class t{constructor(n,i,f){this.key=n,this.value=i,this.negated=f,this.type=4}static create(n,i,f=null){if(typeof i=="boolean")return i?r.create(n,f):h.create(n,f);const S=L.get(n);return typeof S=="boolean"?i===(S?"true":"false")?o.INSTANCE:w.INSTANCE:new t(n,i,f)}cmp(n){return n.type!==this.type?this.type-n.type:d(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=L.get(this.key);if(typeof n=="boolean"){const i=n?"true":"false";return this.value===i?o.INSTANCE:w.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=p.create(this.key,this.value,this)),this.negated}}class s{constructor(n,i){this.key=n,this.valueKey=i,this.type=10,this.negated=null}static create(n,i){return new s(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:d(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),f=n.getValue(this.key);return Array.isArray(i)?i.indexOf(f)>=0:typeof f=="string"&&typeof i=="object"&&i!==null?B.call(i,f):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=a.create(this)),this.negated}}class a{constructor(n){this._actual=n,this.type=11}static create(n){return new a(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 p{constructor(n,i,f){this.key=n,this.value=i,this.negated=f,this.type=5}static create(n,i,f=null){if(typeof i=="boolean")return i?h.create(n,f):r.create(n,f);const S=L.get(n);return typeof S=="boolean"?i===(S?"true":"false")?w.INSTANCE:o.INSTANCE:new p(n,i,f)}cmp(n){return n.type!==this.type?this.type-n.type:d(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=L.get(this.key);if(typeof n=="boolean"){const i=n?"true":"false";return this.value===i?w.INSTANCE:o.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=t.create(this.key,this.value,this)),this.negated}}class h{constructor(n,i){this.key=n,this.negated=i,this.type=3}static create(n,i=null){const f=L.get(n);return typeof f=="boolean"?f?w.INSTANCE:o.INSTANCE:new h(n,i)}cmp(n){return n.type!==this.type?this.type-n.type:_(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=L.get(this.key);return typeof n=="boolean"?n?w.INSTANCE:o.INSTANCE:this}evaluate(n){return!n.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=r.create(this.key,this)),this.negated}}function c(m,n){if(typeof m=="string"){const i=parseFloat(m);isNaN(i)||(m=i)}return typeof m=="string"||typeof m=="number"?n(m):w.INSTANCE}class u{constructor(n,i,f){this.key=n,this.value=i,this.negated=f,this.type=12}static create(n,i,f=null){return c(i,S=>new u(n,S,f))}cmp(n){return n.type!==this.type?this.type-n.type:d(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=x.create(this.key,this.value,this)),this.negated}}class l{constructor(n,i,f){this.key=n,this.value=i,this.negated=f,this.type=13}static create(n,i,f=null){return c(i,S=>new l(n,S,f))}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=y.create(this.key,this.value,this)),this.negated}}class y{constructor(n,i,f){this.key=n,this.value=i,this.negated=f,this.type=14}static create(n,i,f=null){return c(i,S=>new y(n,S,f))}cmp(n){return n.type!==this.type?this.type-n.type:d(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 x{constructor(n,i,f){this.key=n,this.value=i,this.negated=f,this.type=15}static create(n,i,f=null){return c(i,S=>new x(n,S,f))}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=u.create(this.key,this.value,this)),this.negated}}class O{constructor(n,i){this.key=n,this.regexp=i,this.type=7,this.negated=null}static create(n,i){return new O(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:"",f=n.regexp?n.regexp.source:"";return i<f?-1:i>f?1:0}equals(n){if(n.type===this.type){const i=this.regexp?this.regexp.source:"",f=n.regexp?n.regexp.source:"";return this.key===n.key&&i===f}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=T.create(this)),this.negated}}class T{constructor(n){this._actual=n,this.type=8}static create(n){return new T(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 P(m){let n=null;for(let i=0,f=m.length;i<f;i++){const S=m[i].substituteConstants();if(m[i]!==S&&n===null){n=[];for(let Z=0;Z<i;Z++)n[Z]=m[Z]}n!==null&&(n[i]=S)}return n===null?m:n}class z{constructor(n,i){this.expr=n,this.negated=i,this.type=6}static create(n,i){return z._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,f=this.expr.length;i<f;i++){const S=e(this.expr[i],n.expr[i]);if(S!==0)return S}return 0}equals(n){if(n.type===this.type){if(this.expr.length!==n.expr.length)return!1;for(let i=0,f=this.expr.length;i<f;i++)if(!this.expr[i].equals(n.expr[i]))return!1;return!0}return!1}substituteConstants(){const n=P(this.expr);return n===this.expr?this:z.create(n,this.negated)}evaluate(n){for(let i=0,f=this.expr.length;i<f;i++)if(!this.expr[i].evaluate(n))return!1;return!0}static _normalizeArr(n,i){const f=[];let S=!1;for(const Z of n)if(Z){if(Z.type===1){S=!0;continue}if(Z.type===0)return w.INSTANCE;if(Z.type===6){f.push(...Z.expr);continue}f.push(Z)}if(f.length===0&&S)return o.INSTANCE;if(f.length!==0){if(f.length===1)return f[0];f.sort(e);for(let Z=1;Z<f.length;Z++)f[Z-1].equals(f[Z])&&(f.splice(Z,1),Z--);if(f.length===1)return f[0];for(;f.length>1;){const Z=f[f.length-1];if(Z.type!==9)break;f.pop();const Y=f.pop(),ue=f.length===0,fe=X.create(Z.expr.map(ve=>z.create([ve,Y],null)),null,ue);fe&&(f.push(fe),f.sort(e))}return f.length===1?f[0]:new z(f,i)}}serialize(){return this.expr.map(n=>n.serialize()).join(" && ")}keys(){const n=[];for(let i of this.expr)n.push(...i.keys());return n}negate(){if(!this.negated){const n=[];for(let i of this.expr)n.push(i.negate());this.negated=X.create(n,this,!0)}return this.negated}}class X{constructor(n,i){this.expr=n,this.negated=i,this.type=9}static create(n,i,f){return X._normalizeArr(n,i,f)}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,f=this.expr.length;i<f;i++){const S=e(this.expr[i],n.expr[i]);if(S!==0)return S}return 0}equals(n){if(n.type===this.type){if(this.expr.length!==n.expr.length)return!1;for(let i=0,f=this.expr.length;i<f;i++)if(!this.expr[i].equals(n.expr[i]))return!1;return!0}return!1}substituteConstants(){const n=P(this.expr);return n===this.expr?this:X.create(n,this.negated,!1)}evaluate(n){for(let i=0,f=this.expr.length;i<f;i++)if(this.expr[i].evaluate(n))return!0;return!1}static _normalizeArr(n,i,f){let S=[],Z=!1;if(n){for(let Y=0,ue=n.length;Y<ue;Y++){const fe=n[Y];if(fe){if(fe.type===0){Z=!0;continue}if(fe.type===1)return o.INSTANCE;if(fe.type===9){S=S.concat(fe.expr);continue}S.push(fe)}}if(S.length===0&&Z)return w.INSTANCE;S.sort(e)}if(S.length!==0){if(S.length===1)return S[0];for(let Y=1;Y<S.length;Y++)S[Y-1].equals(S[Y])&&(S.splice(Y,1),Y--);if(S.length===1)return S[0];if(f){for(let Y=0;Y<S.length;Y++)for(let ue=Y+1;ue<S.length;ue++)v(S[Y],S[ue])&&(S.splice(ue,1),ue--);if(S.length===1)return S[0]}return new X(S,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(),f=n.shift(),S=[];for(const Y of E(i))for(const ue of E(f))S.push(z.create([Y,ue],null));const Z=n.length===0;n.unshift(X.create(S,null,Z))}this.negated=n[0]}return this.negated}}class W extends r{constructor(n,i,f){super(n,null),this._defaultValue=i,typeof f=="object"?W._info.push(Object.assign(Object.assign({},f),{key:n})):f!==!0&&W._info.push({key:n,description:f,type:i!=null?typeof i:void 0})}static all(){return W._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 t.create(this.key,n)}}W._info=[];const ge=(0,H.yh)("contextKeyService"),g="setContext";function _(m,n){return m<n?-1:m>n?1:0}function d(m,n,i,f){return m<i?-1:m>i?1:n<f?-1:n>f?1:0}function v(m,n){if(n.type===6&&m.type!==9&&m.type!==6){for(const S of n.expr)if(m.equals(S))return!0}const i=m.negate(),f=E(i).concat(E(n));f.sort(e);for(let S=0;S<f.length;S++){const Y=f[S].negate();for(let ue=S+1;ue<f.length;ue++){const fe=f[ue];if(Y.equals(fe))return!0}}return!1}function E(m){return m.type===9?m.expr:[m]}},16925:function(Ne,ae,k){"use strict";k.d(ae,{I8:function(){return R},TG:function(){return D},jt:function(){return L},yh:function(){return j}});var R;(function(B){B.serviceIds=new Map,B.DI_TARGET="$di$target",B.DI_DEPENDENCIES="$di$dependencies";function G(C){return C[B.DI_DEPENDENCIES]||[]}B.getServiceDependencies=G})(R||(R={}));const D=j("instantiationService");function H(B,G,C,e){G[R.DI_TARGET]===G?G[R.DI_DEPENDENCIES].push({id:B,index:C,optional:e}):(G[R.DI_DEPENDENCIES]=[{id:B,index:C,optional:e}],G[R.DI_TARGET]=G)}function j(B){if(R.serviceIds.has(B))return R.serviceIds.get(B);const G=function(C,e,w){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");H(G,C,w,!1)};return G.toString=()=>B,R.serviceIds.set(B,G),G}function L(B){return function(G,C,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");H(B,G,e,!0)}}},44650:function(Ne,ae,k){"use strict";k.d(ae,{B:function(){return j}});var R=k(76068),D=k(72999);class H{constructor(){this.data=new Map}add(B,G){R.ok(D.HD(B)),R.ok(D.Kn(G)),R.ok(!this.data.has(B),"There is already an extension with this id"),this.data.set(B,G)}as(B){return this.data.get(B)||null}}const j=new H},66213:function(Ne,ae,k){"use strict";k.d(ae,{e:function(){return R}});var R;(function(D){D.DARK="dark",D.LIGHT="light",D.HIGH_CONTRAST="hc"})(R||(R={}))},49055:function(Ne,ae,k){"use strict";k.d(ae,{EN:function(){return e},IP:function(){return r},Ic:function(){return a},XE:function(){return G},bB:function(){return p},kS:function(){return w},m6:function(){return o}});var R=k(52615),D=k(4348),H=k(69323),j=k(16925),L=k(44650),B=k(66213);const G=(0,j.yh)("themeService");var C;(function(h){function c(u){return u&&typeof u=="object"&&typeof u.id=="string"}h.isThemeColor=c})(C||(C={}));function e(h){return{id:h}}var w;(function(h){function c(T){return T&&typeof T=="object"&&typeof T.id=="string"&&(typeof T.color=="undefined"||C.isThemeColor(T.color))}h.isThemeIcon=c;const u=new RegExp(`^\\$\\((${R.dT.iconNameExpression}(?:${R.dT.iconModifierExpression})?)\\)$`);function l(T){const P=u.exec(T);if(!P)return;let[,z]=P;return{id:z}}h.fromString=l;function y(T,P){let z=T.id;const X=z.lastIndexOf("~");return X!==-1&&(z=z.substring(0,X)),P&&(z=`${z}~${P}`),{id:z}}h.modify=y;function x(T,P){var z,X;return T.id===P.id&&((z=T.color)===null||z===void 0?void 0:z.id)===((X=P.color)===null||X===void 0?void 0:X.id)}h.isEqual=x;function O(T,P){return{id:T.id,color:P?e(P):void 0}}h.asThemeIcon=O,h.asClassNameArray=R.dT.asClassNameArray,h.asClassName=R.dT.asClassName,h.asCSSSelector=R.dT.asCSSSelector})(w||(w={}));function o(h){switch(h){case B.e.DARK:return"vs-dark";case B.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const r={ThemingContribution:"base.contributions.theming"};class t{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new D.Q5}onColorThemeChange(c){return this.themingParticipants.push(c),this.onThemingParticipantAddedEmitter.fire(c),(0,H.OF)(()=>{const u=this.themingParticipants.indexOf(c);this.themingParticipants.splice(u,1)})}getThemingParticipants(){return this.themingParticipants}}let s=new t;L.B.add(r.ThemingContribution,s);function a(h){return s.onColorThemeChange(h)}class p extends H.JT{constructor(c){super(),this.themeService=c,this.theme=c.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(u=>this.onThemeChange(u)))}onThemeChange(c){this.theme=c,this.updateStyles()}updateStyles(){}}},96478:function(Ne,ae,k){"use strict";k.d(ae,{Z:function(){return T}});var R=k(54476),D=k(20068),H=k(42978),j=k(75931),L=k(65030),B=k(92310),G=k.n(B),C=k(8654),e=k(59301),w=k(10228),o=k(16089),r=w.Z.ESC,t=w.Z.TAB;function s(P){var z=P.visible,X=P.triggerRef,W=P.onVisibleChange,ge=P.autoFocus,g=P.overlayRef,_=e.useRef(!1),d=function(){if(z){var n,i;(n=X.current)===null||n===void 0||(i=n.focus)===null||i===void 0||i.call(n),W==null||W(!1)}},v=function(){var n;return(n=g.current)!==null&&n!==void 0&&n.focus?(g.current.focus(),_.current=!0,!0):!1},E=function(n){switch(n.keyCode){case r:d();break;case t:{var i=!1;_.current||(i=v()),i?n.preventDefault():d();break}}};e.useEffect(function(){return z?(window.addEventListener("keydown",E),ge&&(0,o.Z)(v,3),function(){window.removeEventListener("keydown",E),_.current=!1}):function(){_.current=!1}},[z])}var a=(0,e.forwardRef)(function(P,z){var X=P.overlay,W=P.arrow,ge=P.prefixCls,g=(0,e.useMemo)(function(){var d;return typeof X=="function"?d=X():d=X,d},[X]),_=(0,C.sQ)(z,(0,C.C4)(g));return e.createElement(e.Fragment,null,W&&e.createElement("div",{className:"".concat(ge,"-arrow")}),e.cloneElement(g,{ref:(0,C.Yr)(g)?_:void 0}))}),p=a,h={adjustX:1,adjustY:1},c=[0,0],u={topLeft:{points:["bl","tl"],overflow:h,offset:[0,-4],targetOffset:c},top:{points:["bc","tc"],overflow:h,offset:[0,-4],targetOffset:c},topRight:{points:["br","tr"],overflow:h,offset:[0,-4],targetOffset:c},bottomLeft:{points:["tl","bl"],overflow:h,offset:[0,4],targetOffset:c},bottom:{points:["tc","bc"],overflow:h,offset:[0,4],targetOffset:c},bottomRight:{points:["tr","br"],overflow:h,offset:[0,4],targetOffset:c}},l=u,y=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function x(P,z){var X,W=P.arrow,ge=W===void 0?!1:W,g=P.prefixCls,_=g===void 0?"rc-dropdown":g,d=P.transitionName,v=P.animation,E=P.align,m=P.placement,n=m===void 0?"bottomLeft":m,i=P.placements,f=i===void 0?l:i,S=P.getPopupContainer,Z=P.showAction,Y=P.hideAction,ue=P.overlayClassName,fe=P.overlayStyle,ve=P.visible,We=P.trigger,Ge=We===void 0?["hover"]:We,Ye=P.autoFocus,ie=P.overlay,de=P.children,le=P.onVisibleChange,be=(0,j.Z)(P,y),M=e.useState(),ee=(0,H.Z)(M,2),I=ee[0],te=ee[1],re="visible"in P?ve:I,he=e.useRef(null),b=e.useRef(null),A=e.useRef(null);e.useImperativeHandle(z,function(){return he.current});var U=function(Qe){te(Qe),le==null||le(Qe)};s({visible:re,triggerRef:A,onVisibleChange:U,autoFocus:Ye,overlayRef:b});var J=function(Qe){var ft=P.onOverlayClick;te(!1),ft&&ft(Qe)},se=function(){return e.createElement(p,{ref:b,overlay:ie,prefixCls:_,arrow:ge})},ce=function(){return typeof ie=="function"?se:se()},we=function(){var Qe=P.minOverlayWidthMatchTrigger,ft=P.alignPoint;return"minOverlayWidthMatchTrigger"in P?Qe:!ft},me=function(){var Qe=P.openClassName;return Qe!==void 0?Qe:"".concat(_,"-open")},Oe=e.cloneElement(de,{className:G()((X=de.props)===null||X===void 0?void 0:X.className,re&&me()),ref:(0,C.Yr)(de)?(0,C.sQ)(A,(0,C.C4)(de)):void 0}),ze=Y;return!ze&&Ge.indexOf("contextMenu")!==-1&&(ze=["click"]),e.createElement(L.Z,(0,R.Z)({builtinPlacements:f},be,{prefixCls:_,ref:he,popupClassName:G()(ue,(0,D.Z)({},"".concat(_,"-show-arrow"),ge)),popupStyle:fe,action:Ge,showAction:Z,hideAction:ze,popupPlacement:n,popupAlign:E,popupTransitionName:d,popupAnimation:v,popupVisible:re,stretch:we()?"minWidth":"",popup:ce(),onPopupVisibleChange:U,onPopupClick:J,getPopupContainer:S}),Oe)}var O=e.forwardRef(x),T=O},28321:function(Ne,ae,k){"use strict";k.d(ae,{iz:function(){return et},ck:function(){return rt},BW:function(){return Mt},sN:function(){return rt},Wd:function(){return Ue},ZP:function(){return ct},Xl:function(){return X}});var R=k(54476),D=k(20068),H=k(33885),j=k(94480),L=k(42978),B=k(75931),G=k(92310),C=k.n(G),e=k(83836),w=k(18929),o=k(13697),r=k(48736),t=k(59301),s=k(4676),a=t.createContext(null);function p(N,$){return N===void 0?null:"".concat(N,"-").concat($)}function h(N){var $=t.useContext(a);return p($,N)}var c=k(80547),u=["children","locked"],l=t.createContext(null);function y(N,$){var Q=(0,H.Z)({},N);return Object.keys($).forEach(function(K){var F=$[K];F!==void 0&&(Q[K]=F)}),Q}function x(N){var $=N.children,Q=N.locked,K=(0,B.Z)(N,u),F=t.useContext(l),V=(0,c.Z)(function(){return y(F,K)},[F,K],function(q,_e){return!Q&&(q[0]!==_e[0]||!(0,o.Z)(q[1],_e[1],!0))});return t.createElement(l.Provider,{value:V},$)}var O=[],T=t.createContext(null);function P(){return t.useContext(T)}var z=t.createContext(O);function X(N){var $=t.useContext(z);return t.useMemo(function(){return N!==void 0?[].concat((0,j.Z)($),[N]):$},[$,N])}var W=t.createContext(null),ge=t.createContext({}),g=ge,_=k(29194);function d(N){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,_.Z)(N)){var Q=N.nodeName.toLowerCase(),K=["input","select","textarea","button"].includes(Q)||N.isContentEditable||Q==="a"&&!!N.getAttribute("href"),F=N.getAttribute("tabindex"),V=Number(F),q=null;return F&&!Number.isNaN(V)?q=V:K&&q===null&&(q=0),K&&N.disabled&&(q=null),q!==null&&(q>=0||$&&q<0)}return!1}function v(N){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Q=(0,j.Z)(N.querySelectorAll("*")).filter(function(K){return d(K,$)});return d(N,$)&&Q.unshift(N),Q}var E=null;function m(){E=document.activeElement}function n(){E=null}function i(){if(E)try{E.focus()}catch(N){}}function f(N,$){if($.keyCode===9){var Q=v(N),K=Q[$.shiftKey?0:Q.length-1],F=K===document.activeElement||N===document.activeElement;if(F){var V=Q[$.shiftKey?Q.length-1:0];V.focus(),$.preventDefault()}}}var S=k(10228),Z=k(16089),Y=S.Z.LEFT,ue=S.Z.RIGHT,fe=S.Z.UP,ve=S.Z.DOWN,We=S.Z.ENTER,Ge=S.Z.ESC,Ye=S.Z.HOME,ie=S.Z.END,de=[fe,ve,Y,ue];function le(N,$,Q,K){var F,V="prev",q="next",_e="children",Me="parent";if(N==="inline"&&K===We)return{inlineTrigger:!0};var ke=(0,D.Z)((0,D.Z)({},fe,V),ve,q),at=(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)({},Y,Q?q:V),ue,Q?V:q),ve,_e),We,_e),Te=(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)({},fe,V),ve,q),We,_e),Ge,Me),Y,Q?_e:Me),ue,Q?Me:_e),Pe={inline:ke,horizontal:at,vertical:Te,inlineSub:ke,horizontalSub:Te,verticalSub:Te},Ce=(F=Pe["".concat(N).concat($?"":"Sub")])===null||F===void 0?void 0:F[K];switch(Ce){case V:return{offset:-1,sibling:!0};case q:return{offset:1,sibling:!0};case Me:return{offset:-1,sibling:!1};case _e:return{offset:1,sibling:!1};default:return null}}function be(N){for(var $=N;$;){if($.getAttribute("data-menu-list"))return $;$=$.parentElement}return null}function M(N,$){for(var Q=N||document.activeElement;Q;){if($.has(Q))return Q;Q=Q.parentElement}return null}function ee(N,$){var Q=v(N,!0);return Q.filter(function(K){return $.has(K)})}function I(N,$,Q){var K=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!N)return null;var F=ee(N,$),V=F.length,q=F.findIndex(function(_e){return Q===_e});return K<0?q===-1?q=V-1:q-=1:K>0&&(q+=1),q=(q+V)%V,F[q]}var te=function($,Q){var K=new Set,F=new Map,V=new Map;return $.forEach(function(q){var _e=document.querySelector("[data-menu-id='".concat(p(Q,q),"']"));_e&&(K.add(_e),V.set(_e,q),F.set(q,_e))}),{elements:K,key2element:F,element2key:V}};function re(N,$,Q,K,F,V,q,_e,Me,ke){var at=t.useRef(),Te=t.useRef();Te.current=$;var Pe=function(){Z.Z.cancel(at.current)};return t.useEffect(function(){return function(){Pe()}},[]),function(Ce){var Je=Ce.which;if([].concat(de,[We,Ge,Ye,ie]).includes(Je)){var $e=V(),ye=te($e,K),Re=ye,nt=Re.elements,Be=Re.key2element,Ie=Re.element2key,ot=Be.get($),Ve=M(ot,nt),it=Ie.get(Ve),Rt=le(N,q(it,!0).length===1,Q,Je);if(!Rt&&Je!==Ye&&Je!==ie)return;(de.includes(Je)||[Ye,ie].includes(Je))&&Ce.preventDefault();var mt=function(kt){if(kt){var un=kt,pt=kt.querySelector("a");pt!=null&&pt.getAttribute("href")&&(un=pt);var Xt=Ie.get(kt);_e(Xt),Pe(),at.current=(0,Z.Z)(function(){Te.current===Xt&&un.focus()})}};if([Ye,ie].includes(Je)||Rt.sibling||!Ve){var Ht;!Ve||N==="inline"?Ht=F.current:Ht=be(Ve);var Et,Ot=ee(Ht,nt);Je===Ye?Et=Ot[0]:Je===ie?Et=Ot[Ot.length-1]:Et=I(Ht,nt,Ve,Rt.offset),mt(Et)}else if(Rt.inlineTrigger)Me(it);else if(Rt.offset>0)Me(it,!0),Pe(),at.current=(0,Z.Z)(function(){ye=te($e,K);var Qt=Ve.getAttribute("aria-controls"),kt=document.getElementById(Qt),un=I(kt,ye.elements);mt(un)},5);else if(Rt.offset<0){var Gt=q(it,!0),Ct=Gt[Gt.length-2],Ft=Be.get(Ct);Me(Ct,!1),mt(Ft)}}ke==null||ke(Ce)}}function he(N){Promise.resolve().then(N)}var b="__RC_UTIL_PATH_SPLIT__",A=function($){return $.join(b)},U=function($){return $.split(b)},J="rc-menu-more";function se(){var N=t.useState({}),$=(0,L.Z)(N,2),Q=$[1],K=(0,t.useRef)(new Map),F=(0,t.useRef)(new Map),V=t.useState([]),q=(0,L.Z)(V,2),_e=q[0],Me=q[1],ke=(0,t.useRef)(0),at=(0,t.useRef)(!1),Te=function(){at.current||Q({})},Pe=(0,t.useCallback)(function(Be,Ie){var ot=A(Ie);F.current.set(ot,Be),K.current.set(Be,ot),ke.current+=1;var Ve=ke.current;he(function(){Ve===ke.current&&Te()})},[]),Ce=(0,t.useCallback)(function(Be,Ie){var ot=A(Ie);F.current.delete(ot),K.current.delete(Be)},[]),Je=(0,t.useCallback)(function(Be){Me(Be)},[]),$e=(0,t.useCallback)(function(Be,Ie){var ot=K.current.get(Be)||"",Ve=U(ot);return Ie&&_e.includes(Ve[0])&&Ve.unshift(J),Ve},[_e]),ye=(0,t.useCallback)(function(Be,Ie){return Be.filter(function(ot){return ot!==void 0}).some(function(ot){var Ve=$e(ot,!0);return Ve.includes(Ie)})},[$e]),Re=function(){var Ie=(0,j.Z)(K.current.keys());return _e.length&&Ie.push(J),Ie},nt=(0,t.useCallback)(function(Be){var Ie="".concat(K.current.get(Be)).concat(b),ot=new Set;return(0,j.Z)(F.current.keys()).forEach(function(Ve){Ve.startsWith(Ie)&&ot.add(F.current.get(Ve))}),ot},[]);return t.useEffect(function(){return function(){at.current=!0}},[]),{registerPath:Pe,unregisterPath:Ce,refreshOverflowKeys:Je,isSubPathKey:ye,getKeyPath:$e,getKeys:Re,getSubPathKeys:nt}}function ce(N){var $=t.useRef(N);$.current=N;var Q=t.useCallback(function(){for(var K,F=arguments.length,V=new Array(F),q=0;q<F;q++)V[q]=arguments[q];return(K=$.current)===null||K===void 0?void 0:K.call.apply(K,[$].concat(V))},[]);return N?Q:void 0}var we=Math.random().toFixed(5).toString().slice(2),me=0;function Oe(N){var $=(0,w.Z)(N,{value:N}),Q=(0,L.Z)($,2),K=Q[0],F=Q[1];return t.useEffect(function(){me+=1;var V="".concat(we,"-").concat(me);F("rc-menu-uuid-".concat(V))},[]),K}var ze=k(67732),qe=k(83652),Qe=k(42403),ft=k(158),Ke=k(2738),gt=k(8654);function ut(N,$,Q,K){var F=t.useContext(l),V=F.activeKey,q=F.onActive,_e=F.onInactive,Me={active:V===N};return $||(Me.onMouseEnter=function(ke){Q==null||Q({key:N,domEvent:ke}),q(N)},Me.onMouseLeave=function(ke){K==null||K({key:N,domEvent:ke}),_e(N)}),Me}function Ae(N){var $=t.useContext(l),Q=$.mode,K=$.rtl,F=$.inlineIndent;if(Q!=="inline")return null;var V=N;return K?{paddingRight:V*F}:{paddingLeft:V*F}}function dn(N){var $=N.icon,Q=N.props,K=N.children,F;return $===null||$===!1?null:(typeof $=="function"?F=t.createElement($,(0,H.Z)({},Q)):typeof $!="boolean"&&(F=$),F||K||null)}var xt=["item"];function Ee(N){var $=N.item,Q=(0,B.Z)(N,xt);return Object.defineProperty(Q,"item",{get:function(){return(0,r.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),$}}),Q}var vn=["title","attribute","elementRef"],_n=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Zt=["active"],tn=function(N){(0,Qe.Z)(Q,N);var $=(0,ft.Z)(Q);function Q(){return(0,ze.Z)(this,Q),$.apply(this,arguments)}return(0,qe.Z)(Q,[{key:"render",value:function(){var F=this.props,V=F.title,q=F.attribute,_e=F.elementRef,Me=(0,B.Z)(F,vn),ke=(0,Ke.Z)(Me,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,r.ZP)(!q,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),t.createElement(e.Z.Item,(0,R.Z)({},q,{title:typeof V=="string"?V:void 0},ke,{ref:_e}))}}]),Q}(t.Component),nn=t.forwardRef(function(N,$){var Q=N.style,K=N.className,F=N.eventKey,V=N.warnKey,q=N.disabled,_e=N.itemIcon,Me=N.children,ke=N.role,at=N.onMouseEnter,Te=N.onMouseLeave,Pe=N.onClick,Ce=N.onKeyDown,Je=N.onFocus,$e=(0,B.Z)(N,_n),ye=h(F),Re=t.useContext(l),nt=Re.prefixCls,Be=Re.onItemClick,Ie=Re.disabled,ot=Re.overflowDisabled,Ve=Re.itemIcon,it=Re.selectedKeys,Rt=Re.onActive,mt=t.useContext(g),Ht=mt._internalRenderMenuItem,Et="".concat(nt,"-item"),Ot=t.useRef(),Gt=t.useRef(),Ct=Ie||q,Ft=(0,gt.x1)($,Gt),Qt=X(F),kt=function(Tt){return{key:F,keyPath:(0,j.Z)(Qt).reverse(),item:Ot.current,domEvent:Tt}},un=_e||Ve,pt=ut(F,Ct,at,Te),Xt=pt.active,Sn=(0,B.Z)(pt,Zt),Rn=it.includes(F),fn=Ae(Qt.length),On=function(Tt){if(!Ct){var Jt=kt(Tt);Pe==null||Pe(Ee(Jt)),Be(Jt)}},Bt=function(Tt){if(Ce==null||Ce(Tt),Tt.which===S.Z.ENTER){var Jt=kt(Tt);Pe==null||Pe(Ee(Jt)),Be(Jt)}},an=function(Tt){Rt(F),Je==null||Je(Tt)},Nn={};N.role==="option"&&(Nn["aria-selected"]=Rn);var hn=t.createElement(tn,(0,R.Z)({ref:Ot,elementRef:Ft,role:ke===null?"none":ke||"menuitem",tabIndex:q?null:-1,"data-menu-id":ot&&ye?null:ye},(0,Ke.Z)($e,["extra"]),Sn,Nn,{component:"li","aria-disabled":q,style:(0,H.Z)((0,H.Z)({},fn),Q),className:C()(Et,(0,D.Z)((0,D.Z)((0,D.Z)({},"".concat(Et,"-active"),Xt),"".concat(Et,"-selected"),Rn),"".concat(Et,"-disabled"),Ct),K),onClick:On,onKeyDown:Bt,onFocus:an}),Me,t.createElement(dn,{props:(0,H.Z)((0,H.Z)({},N),{},{isSelected:Rn}),icon:un}));return Ht&&(hn=Ht(hn,N,{selected:Rn})),hn});function on(N,$){var Q=N.eventKey,K=P(),F=X(Q);return t.useEffect(function(){if(K)return K.registerPath(Q,F),function(){K.unregisterPath(Q,F)}},[F]),K?null:t.createElement(nn,(0,R.Z)({},N,{ref:$}))}var rt=t.forwardRef(on),Le=["className","children"],He=function($,Q){var K=$.className,F=$.children,V=(0,B.Z)($,Le),q=t.useContext(l),_e=q.prefixCls,Me=q.mode,ke=q.rtl;return t.createElement("ul",(0,R.Z)({className:C()(_e,ke&&"".concat(_e,"-rtl"),"".concat(_e,"-sub"),"".concat(_e,"-").concat(Me==="inline"?"inline":"vertical"),K),role:"menu"},V,{"data-menu-list":!0,ref:Q}),F)},Kt=t.forwardRef(He);Kt.displayName="SubMenuList";var Nt=Kt,St=k(11592);function je(N,$){return(0,St.Z)(N).map(function(Q,K){if(t.isValidElement(Q)){var F,V,q=Q.key,_e=(F=(V=Q.props)===null||V===void 0?void 0:V.eventKey)!==null&&F!==void 0?F:q,Me=_e==null;Me&&(_e="tmp_key-".concat([].concat((0,j.Z)($),[K]).join("-")));var ke={key:_e,eventKey:_e};return t.cloneElement(Q,ke)}return Q})}var gn=k(65030),ht={adjustX:1,adjustY:1},It={topLeft:{points:["bl","tl"],overflow:ht},topRight:{points:["br","tr"],overflow:ht},bottomLeft:{points:["tl","bl"],overflow:ht},bottomRight:{points:["tr","br"],overflow:ht},leftTop:{points:["tr","tl"],overflow:ht},leftBottom:{points:["br","bl"],overflow:ht},rightTop:{points:["tl","tr"],overflow:ht},rightBottom:{points:["bl","br"],overflow:ht}},zt={topLeft:{points:["bl","tl"],overflow:ht},topRight:{points:["br","tr"],overflow:ht},bottomLeft:{points:["tl","bl"],overflow:ht},bottomRight:{points:["tr","br"],overflow:ht},rightTop:{points:["tr","tl"],overflow:ht},rightBottom:{points:["br","bl"],overflow:ht},leftTop:{points:["tl","tr"],overflow:ht},leftBottom:{points:["bl","br"],overflow:ht}},Ut=null;function rn(N,$,Q){if($)return $;if(Q)return Q[N]||Q.other}var Lt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function kn(N){var $=N.prefixCls,Q=N.visible,K=N.children,F=N.popup,V=N.popupStyle,q=N.popupClassName,_e=N.popupOffset,Me=N.disabled,ke=N.mode,at=N.onVisibleChange,Te=t.useContext(l),Pe=Te.getPopupContainer,Ce=Te.rtl,Je=Te.subMenuOpenDelay,$e=Te.subMenuCloseDelay,ye=Te.builtinPlacements,Re=Te.triggerSubMenuAction,nt=Te.forceSubMenuRender,Be=Te.rootClassName,Ie=Te.motion,ot=Te.defaultMotions,Ve=t.useState(!1),it=(0,L.Z)(Ve,2),Rt=it[0],mt=it[1],Ht=Ce?(0,H.Z)((0,H.Z)({},zt),ye):(0,H.Z)((0,H.Z)({},It),ye),Et=Lt[ke],Ot=rn(ke,Ie,ot),Gt=t.useRef(Ot);ke!=="inline"&&(Gt.current=Ot);var Ct=(0,H.Z)((0,H.Z)({},Gt.current),{},{leavedClassName:"".concat($,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Ft=t.useRef();return t.useEffect(function(){return Ft.current=(0,Z.Z)(function(){mt(Q)}),function(){Z.Z.cancel(Ft.current)}},[Q]),t.createElement(gn.Z,{prefixCls:$,popupClassName:C()("".concat($,"-popup"),(0,D.Z)({},"".concat($,"-rtl"),Ce),q,Be),stretch:ke==="horizontal"?"minWidth":null,getPopupContainer:Pe,builtinPlacements:Ht,popupPlacement:Et,popupVisible:Rt,popup:F,popupStyle:V,popupAlign:_e&&{offset:_e},action:Me?[]:[Re],mouseEnterDelay:Je,mouseLeaveDelay:$e,onPopupVisibleChange:at,forceRender:nt,popupMotion:Ct,fresh:!0},K)}var yn=k(77900);function $t(N){var $=N.id,Q=N.open,K=N.keyPath,F=N.children,V="inline",q=t.useContext(l),_e=q.prefixCls,Me=q.forceSubMenuRender,ke=q.motion,at=q.defaultMotions,Te=q.mode,Pe=t.useRef(!1);Pe.current=Te===V;var Ce=t.useState(!Pe.current),Je=(0,L.Z)(Ce,2),$e=Je[0],ye=Je[1],Re=Pe.current?Q:!1;t.useEffect(function(){Pe.current&&ye(!1)},[Te]);var nt=(0,H.Z)({},rn(V,ke,at));K.length>1&&(nt.motionAppear=!1);var Be=nt.onVisibleChanged;return nt.onVisibleChanged=function(Ie){return!Pe.current&&!Ie&&ye(!0),Be==null?void 0:Be(Ie)},$e?null:t.createElement(x,{mode:V,locked:!Pe.current},t.createElement(yn.default,(0,R.Z)({visible:Re},nt,{forceRender:Me,removeOnLeave:!1,leavedClassName:"".concat(_e,"-hidden")}),function(Ie){var ot=Ie.className,Ve=Ie.style;return t.createElement(Nt,{id:$,className:ot,style:Ve},F)}))}var sn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],oe=["active"],ne=t.forwardRef(function(N,$){var Q=N.style,K=N.className,F=N.title,V=N.eventKey,q=N.warnKey,_e=N.disabled,Me=N.internalPopupClose,ke=N.children,at=N.itemIcon,Te=N.expandIcon,Pe=N.popupClassName,Ce=N.popupOffset,Je=N.popupStyle,$e=N.onClick,ye=N.onMouseEnter,Re=N.onMouseLeave,nt=N.onTitleClick,Be=N.onTitleMouseEnter,Ie=N.onTitleMouseLeave,ot=(0,B.Z)(N,sn),Ve=h(V),it=t.useContext(l),Rt=it.prefixCls,mt=it.mode,Ht=it.openKeys,Et=it.disabled,Ot=it.overflowDisabled,Gt=it.activeKey,Ct=it.selectedKeys,Ft=it.itemIcon,Qt=it.expandIcon,kt=it.onItemClick,un=it.onOpenChange,pt=it.onActive,Xt=t.useContext(g),Sn=Xt._internalRenderSubMenuItem,Rn=t.useContext(W),fn=Rn.isSubPathKey,On=X(),Bt="".concat(Rt,"-submenu"),an=Et||_e,Nn=t.useRef(),hn=t.useRef(),cn=at!=null?at:Ft,Tt=Te!=null?Te:Qt,Jt=Ht.includes(V),pn=!Ot&&Jt,An=fn(Ct,V),Yt=ut(V,an,Be,Ie),ln=Yt.active,Tn=(0,B.Z)(Yt,oe),Mn=t.useState(!1),jn=(0,L.Z)(Mn,2),Fn=jn[0],Zn=jn[1],Cn=function(en){an||Zn(en)},Un=function(en){Cn(!0),ye==null||ye({key:V,domEvent:en})},Hn=function(en){Cn(!1),Re==null||Re({key:V,domEvent:en})},Bn=t.useMemo(function(){return ln||(mt!=="inline"?Fn||fn([Gt],V):!1)},[mt,ln,Gt,Fn,V,fn]),mn=Ae(On.length),Gn=function(en){an||(nt==null||nt({key:V,domEvent:en}),mt==="inline"&&un(V,!Jt))},Qn=ce(function(yt){$e==null||$e(Ee(yt)),kt(yt)}),Wn=function(en){mt!=="inline"&&un(V,en)},$n=function(){pt(V)},Kn=Ve&&"".concat(Ve,"-popup"),In=t.useMemo(function(){return t.createElement(dn,{icon:mt!=="horizontal"?Tt:void 0,props:(0,H.Z)((0,H.Z)({},N),{},{isOpen:pn,isSubMenu:!0})},t.createElement("i",{className:"".concat(Bt,"-arrow")}))},[mt,Tt,N,pn,Bt]),qt=t.createElement("div",(0,R.Z)({role:"menuitem",style:mn,className:"".concat(Bt,"-title"),tabIndex:an?null:-1,ref:Nn,title:typeof F=="string"?F:null,"data-menu-id":Ot&&Ve?null:Ve,"aria-expanded":pn,"aria-haspopup":!0,"aria-controls":Kn,"aria-disabled":an,onClick:Gn,onFocus:$n},Tn),F,In),bn=t.useRef(mt);if(mt!=="inline"&&On.length>1?bn.current="vertical":bn.current=mt,!Ot){var zn=bn.current;qt=t.createElement(kn,{mode:zn,prefixCls:Bt,visible:!Me&&pn&&mt!=="inline",popupClassName:Pe,popupOffset:Ce,popupStyle:Je,popup:t.createElement(x,{mode:zn==="horizontal"?"vertical":zn},t.createElement(Nt,{id:Kn,ref:hn},ke)),disabled:an,onVisibleChange:Wn},qt)}var Wt=t.createElement(e.Z.Item,(0,R.Z)({ref:$,role:"none"},ot,{component:"li",style:Q,className:C()(Bt,"".concat(Bt,"-").concat(mt),K,(0,D.Z)((0,D.Z)((0,D.Z)((0,D.Z)({},"".concat(Bt,"-open"),pn),"".concat(Bt,"-active"),Bn),"".concat(Bt,"-selected"),An),"".concat(Bt,"-disabled"),an)),onMouseEnter:Un,onMouseLeave:Hn}),qt,!Ot&&t.createElement($t,{id:Kn,open:pn,keyPath:On},ke));return Sn&&(Wt=Sn(Wt,N,{selected:An,active:Bn,open:pn,disabled:an})),t.createElement(x,{onItemClick:Qn,mode:mt==="horizontal"?"vertical":mt,itemIcon:cn,expandIcon:Tt},Wt)}),Se=t.forwardRef(function(N,$){var Q=N.eventKey,K=N.children,F=X(Q),V=je(K,F),q=P();t.useEffect(function(){if(q)return q.registerPath(Q,F),function(){q.unregisterPath(Q,F)}},[F]);var _e;return q?_e=V:_e=t.createElement(ne,(0,R.Z)({ref:$},N),V),t.createElement(z.Provider,{value:F},_e)}),Ue=Se,Xe=k(76190);function et(N){var $=N.className,Q=N.style,K=t.useContext(l),F=K.prefixCls,V=P();return V?null:t.createElement("li",{role:"separator",className:C()("".concat(F,"-item-divider"),$),style:Q})}var jt=["className","title","eventKey","children"],At=t.forwardRef(function(N,$){var Q=N.className,K=N.title,F=N.eventKey,V=N.children,q=(0,B.Z)(N,jt),_e=t.useContext(l),Me=_e.prefixCls,ke="".concat(Me,"-item-group");return t.createElement("li",(0,R.Z)({ref:$,role:"presentation"},q,{onClick:function(Te){return Te.stopPropagation()},className:C()(ke,Q)}),t.createElement("div",{role:"presentation",className:"".concat(ke,"-title"),title:typeof K=="string"?K:void 0},K),t.createElement("ul",{role:"group",className:"".concat(ke,"-list")},V))}),lt=t.forwardRef(function(N,$){var Q=N.eventKey,K=N.children,F=X(Q),V=je(K,F),q=P();return q?V:t.createElement(At,(0,R.Z)({ref:$},(0,Ke.Z)(N,["warnKey"])),V)}),Mt=lt,Fe=["label","children","key","type","extra"];function Vt(N,$,Q){var K=$.item,F=$.group,V=$.submenu,q=$.divider;return(N||[]).map(function(_e,Me){if(_e&&(0,Xe.Z)(_e)==="object"){var ke=_e,at=ke.label,Te=ke.children,Pe=ke.key,Ce=ke.type,Je=ke.extra,$e=(0,B.Z)(ke,Fe),ye=Pe!=null?Pe:"tmp-".concat(Me);return Te||Ce==="group"?Ce==="group"?t.createElement(F,(0,R.Z)({key:ye},$e,{title:at}),Vt(Te,$,Q)):t.createElement(V,(0,R.Z)({key:ye},$e,{title:at}),Vt(Te,$,Q)):Ce==="divider"?t.createElement(q,(0,R.Z)({key:ye},$e)):t.createElement(K,(0,R.Z)({key:ye},$e,{extra:Je}),at,(!!Je||Je===0)&&t.createElement("span",{className:"".concat(Q,"-item-extra")},Je))}return null}).filter(function(_e){return _e})}function _t(N,$,Q,K,F){var V=N,q=(0,H.Z)({divider:et,item:rt,group:Mt,submenu:Ue},K);return $&&(V=Vt($,q,F)),je(V,Q)}var Dn=["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"],De=[],Ze=t.forwardRef(function(N,$){var Q,K=N,F=K.prefixCls,V=F===void 0?"rc-menu":F,q=K.rootClassName,_e=K.style,Me=K.className,ke=K.tabIndex,at=ke===void 0?0:ke,Te=K.items,Pe=K.children,Ce=K.direction,Je=K.id,$e=K.mode,ye=$e===void 0?"vertical":$e,Re=K.inlineCollapsed,nt=K.disabled,Be=K.disabledOverflow,Ie=K.subMenuOpenDelay,ot=Ie===void 0?.1:Ie,Ve=K.subMenuCloseDelay,it=Ve===void 0?.1:Ve,Rt=K.forceSubMenuRender,mt=K.defaultOpenKeys,Ht=K.openKeys,Et=K.activeKey,Ot=K.defaultActiveFirst,Gt=K.selectable,Ct=Gt===void 0?!0:Gt,Ft=K.multiple,Qt=Ft===void 0?!1:Ft,kt=K.defaultSelectedKeys,un=K.selectedKeys,pt=K.onSelect,Xt=K.onDeselect,Sn=K.inlineIndent,Rn=Sn===void 0?24:Sn,fn=K.motion,On=K.defaultMotions,Bt=K.triggerSubMenuAction,an=Bt===void 0?"hover":Bt,Nn=K.builtinPlacements,hn=K.itemIcon,cn=K.expandIcon,Tt=K.overflowedIndicator,Jt=Tt===void 0?"...":Tt,pn=K.overflowedIndicatorPopupClassName,An=K.getPopupContainer,Yt=K.onClick,ln=K.onOpenChange,Tn=K.onKeyDown,Mn=K.openAnimation,jn=K.openTransitionName,Fn=K._internalRenderMenuItem,Zn=K._internalRenderSubMenuItem,Cn=K._internalComponents,Un=(0,B.Z)(K,Dn),Hn=t.useMemo(function(){return[_t(Pe,Te,De,Cn,V),_t(Pe,Te,De,{},V)]},[Pe,Te,Cn]),Bn=(0,L.Z)(Hn,2),mn=Bn[0],Gn=Bn[1],Qn=t.useState(!1),Wn=(0,L.Z)(Qn,2),$n=Wn[0],Kn=Wn[1],In=t.useRef(),qt=Oe(Je),bn=Ce==="rtl",zn=(0,w.Z)(mt,{value:Ht,postState:function(vt){return vt||De}}),Wt=(0,L.Z)(zn,2),yt=Wt[0],en=Wt[1],wn=function(vt){var wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function xn(){en(vt),ln==null||ln(vt)}wt?(0,s.flushSync)(xn):xn()},Ln=t.useState(yt),Vn=(0,L.Z)(Ln,2),qn=Vn[0],ti=Vn[1],Xn=t.useRef(!1),ni=t.useMemo(function(){return(ye==="inline"||ye==="vertical")&&Re?["vertical",Re]:[ye,!1]},[ye,Re]),pe=(0,L.Z)(ni,2),xe=pe[0],dt=pe[1],Pt=xe==="inline",bt=t.useState(xe),Jn=(0,L.Z)(bt,2),Pn=Jn[0],si=Jn[1],ei=t.useState(dt),ci=(0,L.Z)(ei,2),Ri=ci[0],Oi=ci[1];t.useEffect(function(){si(xe),Oi(dt),Xn.current&&(Pt?en(qn):wn(De))},[xe,dt]);var Ti=t.useState(0),pi=(0,L.Z)(Ti,2),ai=pi[0],Pi=pi[1],li=ai>=mn.length-1||Pn!=="horizontal"||Be;t.useEffect(function(){Pt&&ti(yt)},[yt]),t.useEffect(function(){return Xn.current=!0,function(){Xn.current=!1}},[]);var Yn=se(),di=Yn.registerPath,vi=Yn.unregisterPath,Di=Yn.refreshOverflowKeys,mi=Yn.isSubPathKey,Ni=Yn.getKeyPath,gi=Yn.getKeys,Ai=Yn.getSubPathKeys,Mi=t.useMemo(function(){return{registerPath:di,unregisterPath:vi}},[di,vi]),Ci=t.useMemo(function(){return{isSubPathKey:mi}},[mi]);t.useEffect(function(){Di(li?De:mn.slice(ai+1).map(function(Dt){return Dt.key}))},[ai,li]);var Ii=(0,w.Z)(Et||Ot&&((Q=mn[0])===null||Q===void 0?void 0:Q.key),{value:Et}),yi=(0,L.Z)(Ii,2),ii=yi[0],_i=yi[1],Li=ce(function(Dt){_i(Dt)}),ji=ce(function(){_i(void 0)});(0,t.useImperativeHandle)($,function(){return{list:In.current,focus:function(vt){var wt,xn=gi(),En=te(xn,qt),ui=En.elements,fi=En.key2element,Hi=En.element2key,xi=ee(In.current,ui),Ei=ii!=null?ii:xi[0]?Hi.get(xi[0]):(wt=mn.find(function(Gi){return!Gi.props.disabled}))===null||wt===void 0?void 0:wt.key,ri=fi.get(Ei);if(Ei&&ri){var hi;ri==null||(hi=ri.focus)===null||hi===void 0||hi.call(ri,vt)}}}});var Fi=(0,w.Z)(kt||[],{value:un,postState:function(vt){return Array.isArray(vt)?vt:vt==null?De:[vt]}}),bi=(0,L.Z)(Fi,2),oi=bi[0],Zi=bi[1],Bi=function(vt){if(Ct){var wt=vt.key,xn=oi.includes(wt),En;Qt?xn?En=oi.filter(function(fi){return fi!==wt}):En=[].concat((0,j.Z)(oi),[wt]):En=[wt],Zi(En);var ui=(0,H.Z)((0,H.Z)({},vt),{},{selectedKeys:En});xn?Xt==null||Xt(ui):pt==null||pt(ui)}!Qt&&yt.length&&Pn!=="inline"&&wn(De)},Wi=ce(function(Dt){Yt==null||Yt(Ee(Dt)),Bi(Dt)}),wi=ce(function(Dt,vt){var wt=yt.filter(function(En){return En!==Dt});if(vt)wt.push(Dt);else if(Pn!=="inline"){var xn=Ai(Dt);wt=wt.filter(function(En){return!xn.has(En)})}(0,o.Z)(yt,wt,!0)||wn(wt,!0)}),Ki=function(vt,wt){var xn=wt!=null?wt:!yt.includes(vt);wi(vt,xn)},zi=re(Pn,ii,bn,qt,In,gi,Ni,_i,Ki,Tn);t.useEffect(function(){Kn(!0)},[]);var Ui=t.useMemo(function(){return{_internalRenderMenuItem:Fn,_internalRenderSubMenuItem:Zn}},[Fn,Zn]),$i=Pn!=="horizontal"||Be?mn:mn.map(function(Dt,vt){return t.createElement(x,{key:Dt.key,overflowDisabled:vt>ai},Dt)}),Vi=t.createElement(e.Z,(0,R.Z)({id:Je,ref:In,prefixCls:"".concat(V,"-overflow"),component:"ul",itemComponent:rt,className:C()(V,"".concat(V,"-root"),"".concat(V,"-").concat(Pn),Me,(0,D.Z)((0,D.Z)({},"".concat(V,"-inline-collapsed"),Ri),"".concat(V,"-rtl"),bn),q),dir:Ce,style:_e,role:"menu",tabIndex:at,data:$i,renderRawItem:function(vt){return vt},renderRawRest:function(vt){var wt=vt.length,xn=wt?mn.slice(-wt):null;return t.createElement(Ue,{eventKey:J,title:Jt,disabled:li,internalPopupClose:wt===0,popupClassName:pn},xn)},maxCount:Pn!=="horizontal"||Be?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(vt){Pi(vt)},onKeyDown:zi},Un));return t.createElement(g.Provider,{value:Ui},t.createElement(a.Provider,{value:qt},t.createElement(x,{prefixCls:V,rootClassName:q,mode:Pn,openKeys:yt,rtl:bn,disabled:nt,motion:$n?fn:null,defaultMotions:$n?On:null,activeKey:ii,onActive:Li,onInactive:ji,selectedKeys:oi,inlineIndent:Rn,subMenuOpenDelay:ot,subMenuCloseDelay:it,forceSubMenuRender:Rt,builtinPlacements:Nn,triggerSubMenuAction:an,getPopupContainer:An,itemIcon:hn,expandIcon:cn,onItemClick:Wi,onOpenChange:wi},t.createElement(W.Provider,{value:Ci},Vi),t.createElement("div",{style:{display:"none"},"aria-hidden":!0},t.createElement(T.Provider,{value:Mi},Gn)))))}),tt=Ze,st=tt;st.Item=rt,st.SubMenu=Ue,st.ItemGroup=Mt,st.Divider=et;var ct=st},83836:function(Ne,ae,k){"use strict";k.d(ae,{Z:function(){return m}});var R=k(54476),D=k(33885),H=k(42978),j=k(75931),L=k(59301),B=k(92310),G=k.n(B),C=k(29301),e=k(34280),w=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],o=void 0;function r(n,i){var f=n.prefixCls,S=n.invalidate,Z=n.item,Y=n.renderItem,ue=n.responsive,fe=n.responsiveDisabled,ve=n.registerSize,We=n.itemKey,Ge=n.className,Ye=n.style,ie=n.children,de=n.display,le=n.order,be=n.component,M=be===void 0?"div":be,ee=(0,j.Z)(n,w),I=ue&&!de;function te(U){ve(We,U)}L.useEffect(function(){return function(){te(null)}},[]);var re=Y&&Z!==o?Y(Z,{index:le}):ie,he;S||(he={opacity:I?0:1,height:I?0:o,overflowY:I?"hidden":o,order:ue?le:o,pointerEvents:I?"none":o,position:I?"absolute":o});var b={};I&&(b["aria-hidden"]=!0);var A=L.createElement(M,(0,R.Z)({className:G()(!S&&f,Ge),style:(0,D.Z)((0,D.Z)({},he),Ye)},b,ee,{ref:i}),re);return ue&&(A=L.createElement(C.Z,{onResize:function(J){var se=J.offsetWidth;te(se)},disabled:fe},A)),A}var t=L.forwardRef(r);t.displayName="Item";var s=t,a=k(6089),p=k(4676),h=k(16089);function c(n){if(typeof MessageChannel=="undefined")(0,h.Z)(n);else{var i=new MessageChannel;i.port1.onmessage=function(){return n()},i.port2.postMessage(void 0)}}function u(){var n=L.useRef(null),i=function(S){n.current||(n.current=[],c(function(){(0,p.unstable_batchedUpdates)(function(){n.current.forEach(function(Z){Z()}),n.current=null})})),n.current.push(S)};return i}function l(n,i){var f=L.useState(i),S=(0,H.Z)(f,2),Z=S[0],Y=S[1],ue=(0,a.Z)(function(fe){n(function(){Y(fe)})});return[Z,ue]}var y=L.createContext(null),x=["component"],O=["className"],T=["className"],P=function(i,f){var S=L.useContext(y);if(!S){var Z=i.component,Y=Z===void 0?"div":Z,ue=(0,j.Z)(i,x);return L.createElement(Y,(0,R.Z)({},ue,{ref:f}))}var fe=S.className,ve=(0,j.Z)(S,O),We=i.className,Ge=(0,j.Z)(i,T);return L.createElement(y.Provider,{value:null},L.createElement(s,(0,R.Z)({ref:f,className:G()(fe,We)},ve,Ge)))},z=L.forwardRef(P);z.displayName="RawItem";var X=z,W=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],ge="responsive",g="invalidate";function _(n){return"+ ".concat(n.length," ...")}function d(n,i){var f=n.prefixCls,S=f===void 0?"rc-overflow":f,Z=n.data,Y=Z===void 0?[]:Z,ue=n.renderItem,fe=n.renderRawItem,ve=n.itemKey,We=n.itemWidth,Ge=We===void 0?10:We,Ye=n.ssr,ie=n.style,de=n.className,le=n.maxCount,be=n.renderRest,M=n.renderRawRest,ee=n.prefix,I=n.suffix,te=n.component,re=te===void 0?"div":te,he=n.itemComponent,b=n.onVisibleChange,A=(0,j.Z)(n,W),U=Ye==="full",J=u(),se=l(J,null),ce=(0,H.Z)(se,2),we=ce[0],me=ce[1],Oe=we||0,ze=l(J,new Map),qe=(0,H.Z)(ze,2),Qe=qe[0],ft=qe[1],Ke=l(J,0),gt=(0,H.Z)(Ke,2),ut=gt[0],Ae=gt[1],dn=l(J,0),xt=(0,H.Z)(dn,2),Ee=xt[0],vn=xt[1],_n=l(J,0),Zt=(0,H.Z)(_n,2),tn=Zt[0],nn=Zt[1],on=l(J,0),rt=(0,H.Z)(on,2),Le=rt[0],He=rt[1],Kt=(0,L.useState)(null),Nt=(0,H.Z)(Kt,2),St=Nt[0],je=Nt[1],gn=(0,L.useState)(null),ht=(0,H.Z)(gn,2),It=ht[0],zt=ht[1],Ut=L.useMemo(function(){return It===null&&U?Number.MAX_SAFE_INTEGER:It||0},[It,we]),rn=(0,L.useState)(!1),Lt=(0,H.Z)(rn,2),kn=Lt[0],yn=Lt[1],$t="".concat(S,"-item"),sn=Math.max(ut,Ee),oe=le===ge,ne=Y.length&&oe,Se=le===g,Ue=ne||typeof le=="number"&&Y.length>le,Xe=(0,L.useMemo)(function(){var F=Y;return ne?we===null&&U?F=Y:F=Y.slice(0,Math.min(Y.length,Oe/Ge)):typeof le=="number"&&(F=Y.slice(0,le)),F},[Y,Ge,we,le,ne]),et=(0,L.useMemo)(function(){return ne?Y.slice(Ut+1):Y.slice(Xe.length)},[Y,Xe,ne,Ut]),jt=(0,L.useCallback)(function(F,V){var q;return typeof ve=="function"?ve(F):(q=ve&&(F==null?void 0:F[ve]))!==null&&q!==void 0?q:V},[ve]),At=(0,L.useCallback)(ue||function(F){return F},[ue]);function lt(F,V,q){It===F&&(V===void 0||V===St)||(zt(F),q||(yn(F<Y.length-1),b==null||b(F)),V!==void 0&&je(V))}function Mt(F,V){me(V.clientWidth)}function Fe(F,V){ft(function(q){var _e=new Map(q);return V===null?_e.delete(F):_e.set(F,V),_e})}function Vt(F,V){vn(V),Ae(Ee)}function _t(F,V){nn(V)}function Dn(F,V){He(V)}function De(F){return Qe.get(jt(Xe[F],F))}(0,e.Z)(function(){if(Oe&&typeof sn=="number"&&Xe){var F=tn+Le,V=Xe.length,q=V-1;if(!V){lt(0,null);return}for(var _e=0;_e<V;_e+=1){var Me=De(_e);if(U&&(Me=Me||0),Me===void 0){lt(_e-1,void 0,!0);break}if(F+=Me,q===0&&F<=Oe||_e===q-1&&F+De(q)<=Oe){lt(q,null);break}else if(F+sn>Oe){lt(_e-1,F-Me-Le+Ee);break}}I&&De(0)+Le>Oe&&je(null)}},[Oe,Qe,Ee,tn,Le,jt,Xe]);var Ze=kn&&!!et.length,tt={};St!==null&&ne&&(tt={position:"absolute",left:St,top:0});var st={prefixCls:$t,responsive:ne,component:he,invalidate:Se},ct=fe?function(F,V){var q=jt(F,V);return L.createElement(y.Provider,{key:q,value:(0,D.Z)((0,D.Z)({},st),{},{order:V,item:F,itemKey:q,registerSize:Fe,display:V<=Ut})},fe(F,V))}:function(F,V){var q=jt(F,V);return L.createElement(s,(0,R.Z)({},st,{order:V,key:q,item:F,renderItem:At,itemKey:q,registerSize:Fe,display:V<=Ut}))},N={order:Ze?Ut:Number.MAX_SAFE_INTEGER,className:"".concat($t,"-rest"),registerSize:Vt,display:Ze},$=be||_,Q=M?L.createElement(y.Provider,{value:(0,D.Z)((0,D.Z)({},st),N)},M(et)):L.createElement(s,(0,R.Z)({},st,N),typeof $=="function"?$(et):$),K=L.createElement(re,(0,R.Z)({className:G()(!Se&&S,de),style:ie,ref:i},A),ee&&L.createElement(s,(0,R.Z)({},st,{responsive:oe,responsiveDisabled:!ne,order:-1,className:"".concat($t,"-prefix"),registerSize:_t,display:!0}),ee),Xe.map(ct),Ue?Q:null,I&&L.createElement(s,(0,R.Z)({},st,{responsive:oe,responsiveDisabled:!ne,order:Ut,className:"".concat($t,"-suffix"),registerSize:Dn,display:!0,style:tt}),I));return oe?L.createElement(C.Z,{onResize:Mt,disabled:!ne},K):K}var v=L.forwardRef(d);v.displayName="Overflow",v.Item=X,v.RESPONSIVE=ge,v.INVALIDATE=g;var E=v,m=E},29301:function(Ne,ae,k){"use strict";k.d(ae,{Z:function(){return g}});var R=k(54476),D=k(59301),H=k(11592),j=k(48736),L=k(33885),B=k(76190),G=k(76846),C=k(8654),e=D.createContext(null);function w(_){var d=_.children,v=_.onBatchResize,E=D.useRef(0),m=D.useRef([]),n=D.useContext(e),i=D.useCallback(function(f,S,Z){E.current+=1;var Y=E.current;m.current.push({size:f,element:S,data:Z}),Promise.resolve().then(function(){Y===E.current&&(v==null||v(m.current),m.current=[])}),n==null||n(f,S,Z)},[v,n]);return D.createElement(e.Provider,{value:i},d)}var o=k(76374),r=new Map;function t(_){_.forEach(function(d){var v,E=d.target;(v=r.get(E))===null||v===void 0||v.forEach(function(m){return m(E)})})}var s=new o.Z(t),a=null,p=null;function h(_,d){r.has(_)||(r.set(_,new Set),s.observe(_)),r.get(_).add(d)}function c(_,d){r.has(_)&&(r.get(_).delete(d),r.get(_).size||(s.unobserve(_),r.delete(_)))}var u=k(67732),l=k(83652),y=k(42403),x=k(158),O=function(_){(0,y.Z)(v,_);var d=(0,x.Z)(v);function v(){return(0,u.Z)(this,v),d.apply(this,arguments)}return(0,l.Z)(v,[{key:"render",value:function(){return this.props.children}}]),v}(D.Component);function T(_,d){var v=_.children,E=_.disabled,m=D.useRef(null),n=D.useRef(null),i=D.useContext(e),f=typeof v=="function",S=f?v(m):v,Z=D.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Y=!f&&D.isValidElement(S)&&(0,C.Yr)(S),ue=Y?(0,C.C4)(S):null,fe=(0,C.x1)(ue,m),ve=function(){var ie;return(0,G.ZP)(m.current)||(m.current&&(0,B.Z)(m.current)==="object"?(0,G.ZP)((ie=m.current)===null||ie===void 0?void 0:ie.nativeElement):null)||(0,G.ZP)(n.current)};D.useImperativeHandle(d,function(){return ve()});var We=D.useRef(_);We.current=_;var Ge=D.useCallback(function(Ye){var ie=We.current,de=ie.onResize,le=ie.data,be=Ye.getBoundingClientRect(),M=be.width,ee=be.height,I=Ye.offsetWidth,te=Ye.offsetHeight,re=Math.floor(M),he=Math.floor(ee);if(Z.current.width!==re||Z.current.height!==he||Z.current.offsetWidth!==I||Z.current.offsetHeight!==te){var b={width:re,height:he,offsetWidth:I,offsetHeight:te};Z.current=b;var A=I===Math.round(M)?M:I,U=te===Math.round(ee)?ee:te,J=(0,L.Z)((0,L.Z)({},b),{},{offsetWidth:A,offsetHeight:U});i==null||i(J,Ye,le),de&&Promise.resolve().then(function(){de(J,Ye)})}},[]);return D.useEffect(function(){var Ye=ve();return Ye&&!E&&h(Ye,Ge),function(){return c(Ye,Ge)}},[m.current,E]),D.createElement(O,{ref:n},Y?D.cloneElement(S,{ref:fe}):S)}var P=D.forwardRef(T),z=P,X="rc-observer-key";function W(_,d){var v=_.children,E=typeof v=="function"?[v]:(0,H.Z)(v);return E.map(function(m,n){var i=(m==null?void 0:m.key)||"".concat(X,"-").concat(n);return D.createElement(z,(0,R.Z)({},_,{key:i,ref:n===0?d:void 0}),m)})}var ge=D.forwardRef(W);ge.Collection=w;var g=ge},29125:function(Ne,ae,k){"use strict";k.d(ae,{G:function(){return j},Z:function(){return c}});var R=k(92310),D=k.n(R),H=k(59301);function j(u){var l=u.children,y=u.prefixCls,x=u.id,O=u.overlayInnerStyle,T=u.bodyClassName,P=u.className,z=u.style;return H.createElement("div",{className:D()("".concat(y,"-content"),P),style:z},H.createElement("div",{className:D()("".concat(y,"-inner"),T),id:x,role:"tooltip",style:O},typeof l=="function"?l():l))}var L=k(54476),B=k(33885),G=k(75931),C=k(65030),e={shiftX:64,adjustY:1},w={adjustX:1,shiftY:!0},o=[0,0],r={left:{points:["cr","cl"],overflow:w,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:w,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:e,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:e,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:e,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:w,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:e,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:w,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:e,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:w,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:e,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:w,offset:[-4,0],targetOffset:o}},t=null,s=k(80402),a=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],p=function(l,y){var x=l.overlayClassName,O=l.trigger,T=O===void 0?["hover"]:O,P=l.mouseEnterDelay,z=P===void 0?0:P,X=l.mouseLeaveDelay,W=X===void 0?.1:X,ge=l.overlayStyle,g=l.prefixCls,_=g===void 0?"rc-tooltip":g,d=l.children,v=l.onVisibleChange,E=l.afterVisibleChange,m=l.transitionName,n=l.animation,i=l.motion,f=l.placement,S=f===void 0?"right":f,Z=l.align,Y=Z===void 0?{}:Z,ue=l.destroyTooltipOnHide,fe=ue===void 0?!1:ue,ve=l.defaultVisible,We=l.getTooltipContainer,Ge=l.overlayInnerStyle,Ye=l.arrowContent,ie=l.overlay,de=l.id,le=l.showArrow,be=le===void 0?!0:le,M=l.classNames,ee=l.styles,I=(0,G.Z)(l,a),te=(0,s.Z)(de),re=(0,H.useRef)(null);(0,H.useImperativeHandle)(y,function(){return re.current});var he=(0,B.Z)({},I);"visible"in l&&(he.popupVisible=l.visible);var b=function(){return H.createElement(j,{key:"content",prefixCls:_,id:te,bodyClassName:M==null?void 0:M.body,overlayInnerStyle:(0,B.Z)((0,B.Z)({},Ge),ee==null?void 0:ee.body)},ie)},A=function(){var J=H.Children.only(d),se=(J==null?void 0:J.props)||{},ce=(0,B.Z)((0,B.Z)({},se),{},{"aria-describedby":ie?te:null});return H.cloneElement(d,ce)};return H.createElement(C.Z,(0,L.Z)({popupClassName:D()(x,M==null?void 0:M.root),prefixCls:_,popup:b,action:T,builtinPlacements:r,popupPlacement:S,ref:re,popupAlign:Y,getPopupContainer:We,onPopupVisibleChange:v,afterPopupVisibleChange:E,popupTransitionName:m,popupAnimation:n,popupMotion:i,defaultPopupVisible:ve,autoDestroy:fe,mouseLeaveDelay:W,popupStyle:(0,B.Z)((0,B.Z)({},ge),ee==null?void 0:ee.root),mouseEnterDelay:z,arrow:be},he),A())},h=(0,H.forwardRef)(p),c=h},49658:function(Ne,ae){"use strict";ae.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var k=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(k)||/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(k==null?void 0:k.substr(0,4))}},83145:function(Ne,ae,k){"use strict";Object.defineProperty(ae,"__esModule",{value:!0}),ae.CopyToClipboard=void 0;var R=H(k(59301)),D=H(k(25769));function H(u){return u&&u.__esModule?u:{default:u}}function j(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?j=function(y){return typeof y}:j=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},j(u)}function L(u,l){var y=Object.keys(u);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(u);l&&(x=x.filter(function(O){return Object.getOwnPropertyDescriptor(u,O).enumerable})),y.push.apply(y,x)}return y}function B(u){for(var l=1;l<arguments.length;l++){var y=arguments[l]!=null?arguments[l]:{};l%2?L(y,!0).forEach(function(x){h(u,x,y[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(y)):L(y).forEach(function(x){Object.defineProperty(u,x,Object.getOwnPropertyDescriptor(y,x))})}return u}function G(u,l){if(u==null)return{};var y=C(u,l),x,O;if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(u);for(O=0;O<T.length;O++)x=T[O],!(l.indexOf(x)>=0)&&Object.prototype.propertyIsEnumerable.call(u,x)&&(y[x]=u[x])}return y}function C(u,l){if(u==null)return{};var y={},x=Object.keys(u),O,T;for(T=0;T<x.length;T++)O=x[T],!(l.indexOf(O)>=0)&&(y[O]=u[O]);return y}function e(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")}function w(u,l){for(var y=0;y<l.length;y++){var x=l[y];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(u,x.key,x)}}function o(u,l,y){return l&&w(u.prototype,l),y&&w(u,y),u}function r(u,l){return l&&(j(l)==="object"||typeof l=="function")?l:s(u)}function t(u){return t=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},t(u)}function s(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function a(u,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(l&&l.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),l&&p(u,l)}function p(u,l){return p=Object.setPrototypeOf||function(x,O){return x.__proto__=O,x},p(u,l)}function h(u,l,y){return l in u?Object.defineProperty(u,l,{value:y,enumerable:!0,configurable:!0,writable:!0}):u[l]=y,u}var c=function(u){a(l,u);function l(){var y,x;e(this,l);for(var O=arguments.length,T=new Array(O),P=0;P<O;P++)T[P]=arguments[P];return x=r(this,(y=t(l)).call.apply(y,[this].concat(T))),h(s(x),"onClick",function(z){var X=x.props,W=X.text,ge=X.onCopy,g=X.children,_=X.options,d=R.default.Children.only(g),v=(0,D.default)(W,_);ge&&ge(W,v),d&&d.props&&typeof d.props.onClick=="function"&&d.props.onClick(z)}),x}return o(l,[{key:"render",value:function(){var x=this.props,O=x.text,T=x.onCopy,P=x.options,z=x.children,X=G(x,["text","onCopy","options","children"]),W=R.default.Children.only(z);return R.default.cloneElement(W,B({},X,{onClick:this.onClick}))}}]),l}(R.default.PureComponent);ae.CopyToClipboard=c,h(c,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Ne,ae,k){"use strict";var R=k(83145),D=R.CopyToClipboard;D.CopyToClipboard=D,Ne.exports=D},76374:function(Ne,ae,k){"use strict";var R=function(){if(typeof Map!="undefined")return Map;function g(_,d){var v=-1;return _.some(function(E,m){return E[0]===d?(v=m,!0):!1}),v}return function(){function _(){this.__entries__=[]}return Object.defineProperty(_.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),_.prototype.get=function(d){var v=g(this.__entries__,d),E=this.__entries__[v];return E&&E[1]},_.prototype.set=function(d,v){var E=g(this.__entries__,d);~E?this.__entries__[E][1]=v:this.__entries__.push([d,v])},_.prototype.delete=function(d){var v=this.__entries__,E=g(v,d);~E&&v.splice(E,1)},_.prototype.has=function(d){return!!~g(this.__entries__,d)},_.prototype.clear=function(){this.__entries__.splice(0)},_.prototype.forEach=function(d,v){v===void 0&&(v=null);for(var E=0,m=this.__entries__;E<m.length;E++){var n=m[E];d.call(v,n[1],n[0])}},_}()}(),D=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,H=function(){return typeof k.g!="undefined"&&k.g.Math===Math?k.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),j=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(H):function(g){return setTimeout(function(){return g(Date.now())},1e3/60)}}(),L=2;function B(g,_){var d=!1,v=!1,E=0;function m(){d&&(d=!1,g()),v&&i()}function n(){j(m)}function i(){var f=Date.now();if(d){if(f-E<L)return;v=!0}else d=!0,v=!1,setTimeout(n,_);E=f}return i}var G=20,C=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",w=function(){function g(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=B(this.refresh.bind(this),G)}return g.prototype.addObserver=function(_){~this.observers_.indexOf(_)||this.observers_.push(_),this.connected_||this.connect_()},g.prototype.removeObserver=function(_){var d=this.observers_,v=d.indexOf(_);~v&&d.splice(v,1),!d.length&&this.connected_&&this.disconnect_()},g.prototype.refresh=function(){var _=this.updateObservers_();_&&this.refresh()},g.prototype.updateObservers_=function(){var _=this.observers_.filter(function(d){return d.gatherActive(),d.hasActive()});return _.forEach(function(d){return d.broadcastActive()}),_.length>0},g.prototype.connect_=function(){!D||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),e?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},g.prototype.disconnect_=function(){!D||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},g.prototype.onTransitionEnd_=function(_){var d=_.propertyName,v=d===void 0?"":d,E=C.some(function(m){return!!~v.indexOf(m)});E&&this.refresh()},g.getInstance=function(){return this.instance_||(this.instance_=new g),this.instance_},g.instance_=null,g}(),o=function(g,_){for(var d=0,v=Object.keys(_);d<v.length;d++){var E=v[d];Object.defineProperty(g,E,{value:_[E],enumerable:!1,writable:!1,configurable:!0})}return g},r=function(g){var _=g&&g.ownerDocument&&g.ownerDocument.defaultView;return _||H},t=O(0,0,0,0);function s(g){return parseFloat(g)||0}function a(g){for(var _=[],d=1;d<arguments.length;d++)_[d-1]=arguments[d];return _.reduce(function(v,E){var m=g["border-"+E+"-width"];return v+s(m)},0)}function p(g){for(var _=["top","right","bottom","left"],d={},v=0,E=_;v<E.length;v++){var m=E[v],n=g["padding-"+m];d[m]=s(n)}return d}function h(g){var _=g.getBBox();return O(0,0,_.width,_.height)}function c(g){var _=g.clientWidth,d=g.clientHeight;if(!_&&!d)return t;var v=r(g).getComputedStyle(g),E=p(v),m=E.left+E.right,n=E.top+E.bottom,i=s(v.width),f=s(v.height);if(v.boxSizing==="border-box"&&(Math.round(i+m)!==_&&(i-=a(v,"left","right")+m),Math.round(f+n)!==d&&(f-=a(v,"top","bottom")+n)),!l(g)){var S=Math.round(i+m)-_,Z=Math.round(f+n)-d;Math.abs(S)!==1&&(i-=S),Math.abs(Z)!==1&&(f-=Z)}return O(E.left,E.top,i,f)}var u=function(){return typeof SVGGraphicsElement!="undefined"?function(g){return g instanceof r(g).SVGGraphicsElement}:function(g){return g instanceof r(g).SVGElement&&typeof g.getBBox=="function"}}();function l(g){return g===r(g).document.documentElement}function y(g){return D?u(g)?h(g):c(g):t}function x(g){var _=g.x,d=g.y,v=g.width,E=g.height,m=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,n=Object.create(m.prototype);return o(n,{x:_,y:d,width:v,height:E,top:d,right:_+v,bottom:E+d,left:_}),n}function O(g,_,d,v){return{x:g,y:_,width:d,height:v}}var T=function(){function g(_){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=O(0,0,0,0),this.target=_}return g.prototype.isActive=function(){var _=y(this.target);return this.contentRect_=_,_.width!==this.broadcastWidth||_.height!==this.broadcastHeight},g.prototype.broadcastRect=function(){var _=this.contentRect_;return this.broadcastWidth=_.width,this.broadcastHeight=_.height,_},g}(),P=function(){function g(_,d){var v=x(d);o(this,{target:_,contentRect:v})}return g}(),z=function(){function g(_,d,v){if(this.activeObservations_=[],this.observations_=new R,typeof _!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=_,this.controller_=d,this.callbackCtx_=v}return g.prototype.observe=function(_){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(_ instanceof r(_).Element))throw new TypeError('parameter 1 is not of type "Element".');var d=this.observations_;d.has(_)||(d.set(_,new T(_)),this.controller_.addObserver(this),this.controller_.refresh())}},g.prototype.unobserve=function(_){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(_ instanceof r(_).Element))throw new TypeError('parameter 1 is not of type "Element".');var d=this.observations_;d.has(_)&&(d.delete(_),d.size||this.controller_.removeObserver(this))}},g.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},g.prototype.gatherActive=function(){var _=this;this.clearActive(),this.observations_.forEach(function(d){d.isActive()&&_.activeObservations_.push(d)})},g.prototype.broadcastActive=function(){if(this.hasActive()){var _=this.callbackCtx_,d=this.activeObservations_.map(function(v){return new P(v.target,v.broadcastRect())});this.callback_.call(_,d,_),this.clearActive()}},g.prototype.clearActive=function(){this.activeObservations_.splice(0)},g.prototype.hasActive=function(){return this.activeObservations_.length>0},g}(),X=typeof WeakMap!="undefined"?new WeakMap:new R,W=function(){function g(_){if(!(this instanceof g))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var d=w.getInstance(),v=new z(_,d,this);X.set(this,v)}return g}();["observe","unobserve","disconnect"].forEach(function(g){W.prototype[g]=function(){var _;return(_=X.get(this))[g].apply(_,arguments)}});var ge=function(){return typeof H.ResizeObserver!="undefined"?H.ResizeObserver:W}();ae.Z=ge},98040:function(Ne){Ne.exports=function(){var ae=document.getSelection();if(!ae.rangeCount)return function(){};for(var k=document.activeElement,R=[],D=0;D<ae.rangeCount;D++)R.push(ae.getRangeAt(D));switch(k.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":k.blur();break;default:k=null;break}return ae.removeAllRanges(),function(){ae.type==="Caret"&&ae.removeAllRanges(),ae.rangeCount||R.forEach(function(H){ae.addRange(H)}),k&&k.focus()}}}}]);