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.
82 lines
340 KiB
82 lines
340 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[921],{65030:function(Ae,se,k){"use strict";k.d(se,{Z:function(){return xe}});var O=k(27247),N=k(11913),$=k(43079),j=k(43403),L=k(92310),Z=k.n(L),V=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(32855),p=k(77900),h=k(8654);function c(M){var Y=M.prefixCls,I=M.align,q=M.arrow,ne=M.arrowPos,fe=q||{},b=fe.className,A=fe.content,K=ne.x,X=K===void 0?0:K,ie=ne.y,he=ie===void 0?0:ie,Re=s.useRef();if(!I||!I.points)return null;var de={position:"absolute"};if(I.autoArrow!==!1){var je=I.points[0],Ve=I.points[1],qe=je[0],et=je[1],ft=Ve[0],Fe=Ve[1];qe===ft||!["t","b"].includes(qe)?de.top=he:qe==="t"?de.top=0:de.bottom=0,et===Fe||!["l","r"].includes(et)?de.left=X:et==="l"?de.left=0:de.right=0}return s.createElement("div",{ref:Re,className:Z()("".concat(Y,"-arrow"),b),style:de},A)}function u(M){var Y=M.prefixCls,I=M.open,q=M.zIndex,ne=M.mask,fe=M.motion;return ne?s.createElement(p.default,(0,a.Z)({},fe,{motionAppear:!0,visible:I,removeOnLeave:!0}),function(b){var A=b.className;return s.createElement("div",{style:{zIndex:q},className:Z()("".concat(Y,"-mask"),A)})}):null}var l=s.memo(function(M){var Y=M.children;return Y},function(M,Y){return Y.cache}),y=l,x=s.forwardRef(function(M,Y){var I=M.popup,q=M.className,ne=M.prefixCls,fe=M.style,b=M.target,A=M.onVisibleChanged,K=M.open,X=M.keepDom,ie=M.fresh,he=M.onClick,Re=M.mask,de=M.arrow,je=M.arrowPos,Ve=M.align,qe=M.motion,et=M.maskMotion,ft=M.forceRender,Fe=M.getPopupContainer,gt=M.autoDestroy,ut=M.portal,Me=M.zIndex,_n=M.onMouseEnter,yt=M.onMouseLeave,Oe=M.onPointerEnter,mn=M.onPointerDownCapture,an=M.ready,Ct=M.offsetX,on=M.offsetY,en=M.offsetR,tn=M.offsetB,tt=M.onAlign,Ke=M.onPrepare,Qe=M.stretch,Wt=M.targetWidth,Et=M.targetHeight,Ft=typeof I=="function"?I():I,Ce=K||X,bn=(Fe==null?void 0:Fe.length)>0,ht=s.useState(!Fe||!bn),nn=(0,N.Z)(ht,2),Ut=nn[0],fn=nn[1];if((0,r.Z)(function(){!Ut&&bn&&b&&fn(!0)},[Ut,bn,b]),!Ut)return null;var $t="auto",It={left:"-1000vw",top:"-1000vh",right:$t,bottom:$t};if(an||!K){var Zt,gn=Ve.points,hn=Ve.dynamicInset||((Zt=Ve._experimental)===null||Zt===void 0?void 0:Zt.dynamicInset),Ot=hn&&gn[0][1]==="r",ue=hn&&gn[0][0]==="b";Ot?(It.right=en,It.left=$t):(It.left=Ct,It.right=$t),ue?(It.bottom=tn,It.top=$t):(It.top=on,It.bottom=$t)}var re={};return Qe&&(Qe.includes("height")&&Et?re.height=Et:Qe.includes("minHeight")&&Et&&(re.minHeight=Et),Qe.includes("width")&&Wt?re.width=Wt:Qe.includes("minWidth")&&Wt&&(re.minWidth=Wt)),K||(re.pointerEvents="none"),s.createElement(ut,{open:ft||Ce,getContainer:Fe&&function(){return Fe(b)},autoDestroy:gt},s.createElement(u,{prefixCls:ne,open:K,zIndex:Me,mask:Re,motion:et}),s.createElement(V.Z,{onResize:tt,disabled:!K},function(Te){return s.createElement(p.default,(0,a.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ft,leavedClassName:"".concat(ne,"-hidden")},qe,{onAppearPrepare:Ke,onEnterPrepare:Ke,visible:K,onVisibleChanged:function(lt){var st;qe==null||(st=qe.onVisibleChanged)===null||st===void 0||st.call(qe,lt),A(lt)}}),function(Ze,lt){var st=Ze.className,rn=Ze.style,Lt=Z()(ne,st,q);return s.createElement("div",{ref:(0,h.sQ)(Te,Y,lt),className:Lt,style:(0,O.Z)((0,O.Z)((0,O.Z)((0,O.Z)({"--arrow-x":"".concat(je.x||0,"px"),"--arrow-y":"".concat(je.y||0,"px")},It),re),rn),{},{boxSizing:"border-box",zIndex:Me},fe),onMouseEnter:_n,onMouseLeave:yt,onPointerEnter:Oe,onClick:he,onPointerDownCapture:mn},de&&s.createElement(c,{prefixCls:ne,arrow:de,arrowPos:je,align:Ve}),s.createElement(y,{cache:!K&&!ie},Ft))})}))}),S=x,T=s.forwardRef(function(M,Y){var I=M.children,q=M.getTriggerDOMNode,ne=(0,h.Yr)(I),fe=s.useCallback(function(A){(0,h.mH)(Y,q?q(A):A)},[q]),b=(0,h.x1)(fe,(0,h.C4)(I));return ne?s.cloneElement(I,{ref:b}):I}),D=T,z=s.createContext(null),G=z;function B(M){return M?Array.isArray(M)?M:[M]:[]}function ye(M,Y,I,q){return s.useMemo(function(){var ne=B(I!=null?I:Y),fe=B(q!=null?q:Y),b=new Set(ne),A=new Set(fe);return M&&(b.has("hover")&&(b.delete("hover"),b.add("click")),A.has("hover")&&(A.delete("hover"),A.add("click"))),[b,A]},[M,Y,I,q])}var g=k(29194);function _(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],I=arguments.length>2?arguments[2]:void 0;return I?M[0]===Y[0]:M[0]===Y[0]&&M[1]===Y[1]}function d(M,Y,I,q){for(var ne=I.points,fe=Object.keys(M),b=0;b<fe.length;b+=1){var A,K=fe[b];if(_((A=M[K])===null||A===void 0?void 0:A.points,ne,q))return"".concat(Y,"-placement-").concat(K)}return""}function v(M,Y,I,q){return Y||(I?{motionName:"".concat(M,"-").concat(I)}:q?{motionName:q}:null)}function E(M){return M.ownerDocument.defaultView}function m(M){for(var Y=[],I=M==null?void 0:M.parentElement,q=["hidden","scroll","clip","auto"];I;){var ne=E(I).getComputedStyle(I),fe=ne.overflowX,b=ne.overflowY,A=ne.overflow;[fe,b,A].some(function(K){return q.includes(K)})&&Y.push(I),I=I.parentElement}return Y}function n(M){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(M)?Y:M}function i(M){return n(parseFloat(M),0)}function f(M,Y){var I=(0,O.Z)({},M);return(Y||[]).forEach(function(q){if(!(q instanceof HTMLBodyElement||q instanceof HTMLHtmlElement)){var ne=E(q).getComputedStyle(q),fe=ne.overflow,b=ne.overflowClipMargin,A=ne.borderTopWidth,K=ne.borderBottomWidth,X=ne.borderLeftWidth,ie=ne.borderRightWidth,he=q.getBoundingClientRect(),Re=q.offsetHeight,de=q.clientHeight,je=q.offsetWidth,Ve=q.clientWidth,qe=i(A),et=i(K),ft=i(X),Fe=i(ie),gt=n(Math.round(he.width/je*1e3)/1e3),ut=n(Math.round(he.height/Re*1e3)/1e3),Me=(je-Ve-ft-Fe)*gt,_n=(Re-de-qe-et)*ut,yt=qe*ut,Oe=et*ut,mn=ft*gt,an=Fe*gt,Ct=0,on=0;if(fe==="clip"){var en=i(b);Ct=en*gt,on=en*ut}var tn=he.x+mn-Ct,tt=he.y+yt-on,Ke=tn+he.width+2*Ct-mn-an-Me,Qe=tt+he.height+2*on-yt-Oe-_n;I.left=Math.max(I.left,tn),I.top=Math.max(I.top,tt),I.right=Math.min(I.right,Ke),I.bottom=Math.min(I.bottom,Qe)}}),I}function R(M){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,I="".concat(Y),q=I.match(/^(.*)\%$/);return q?M*(parseFloat(q[1])/100):parseFloat(I)}function F(M,Y){var I=Y||[],q=(0,N.Z)(I,2),ne=q[0],fe=q[1];return[R(M.width,ne),R(M.height,fe)]}function Q(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[M[0],M[1]]}function oe(M,Y){var I=Y[0],q=Y[1],ne,fe;return I==="t"?fe=M.y:I==="b"?fe=M.y+M.height:fe=M.y+M.height/2,q==="l"?ne=M.x:q==="r"?ne=M.x+M.width:ne=M.x+M.width/2,{x:ne,y:fe}}function _e(M,Y){var I={t:"b",b:"t",l:"r",r:"l"};return M.map(function(q,ne){return ne===Y?I[q]||"c":q}).join("")}function ge(M,Y,I,q,ne,fe,b){var A=s.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ne[q]||{}}),K=(0,N.Z)(A,2),X=K[0],ie=K[1],he=s.useRef(0),Re=s.useMemo(function(){return Y?m(Y):[]},[Y]),de=s.useRef({}),je=function(){de.current={}};M||je();var Ve=(0,w.Z)(function(){if(Y&&I&&M){let zt=function(qt,xn){var Ln=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Tt,Vn=Ce.x+qt,qn=Ce.y+xn,ti=Vn+ue,Xn=qn+Ot,ni=Math.max(Vn,Ln.left),ce=Math.max(qn,Ln.top),Ee=Math.min(ti,Ln.right),dt=Math.min(Xn,Ln.bottom);return Math.max(0,(Ee-ni)*(dt-ce))},bt=function(){jt=Ce.y+Se,Bt=jt+Ot,Gt=Ce.x+we,Rt=Gt+ue};var ft,Fe,gt,ut,Me=Y,_n=Me.ownerDocument,yt=E(Me),Oe=yt.getComputedStyle(Me),mn=Oe.position,an=Me.style.left,Ct=Me.style.top,on=Me.style.right,en=Me.style.bottom,tn=Me.style.overflow,tt=(0,O.Z)((0,O.Z)({},ne[q]),fe),Ke=_n.createElement("div");(ft=Me.parentElement)===null||ft===void 0||ft.appendChild(Ke),Ke.style.left="".concat(Me.offsetLeft,"px"),Ke.style.top="".concat(Me.offsetTop,"px"),Ke.style.position=mn,Ke.style.height="".concat(Me.offsetHeight,"px"),Ke.style.width="".concat(Me.offsetWidth,"px"),Me.style.left="0",Me.style.top="0",Me.style.right="auto",Me.style.bottom="auto",Me.style.overflow="hidden";var Qe;if(Array.isArray(I))Qe={x:I[0],y:I[1],width:0,height:0};else{var Wt,Et,Ft=I.getBoundingClientRect();Ft.x=(Wt=Ft.x)!==null&&Wt!==void 0?Wt:Ft.left,Ft.y=(Et=Ft.y)!==null&&Et!==void 0?Et:Ft.top,Qe={x:Ft.x,y:Ft.y,width:Ft.width,height:Ft.height}}var Ce=Me.getBoundingClientRect(),bn=yt.getComputedStyle(Me),ht=bn.height,nn=bn.width;Ce.x=(Fe=Ce.x)!==null&&Fe!==void 0?Fe:Ce.left,Ce.y=(gt=Ce.y)!==null&>!==void 0?gt:Ce.top;var Ut=_n.documentElement,fn=Ut.clientWidth,$t=Ut.clientHeight,It=Ut.scrollWidth,Zt=Ut.scrollHeight,gn=Ut.scrollTop,hn=Ut.scrollLeft,Ot=Ce.height,ue=Ce.width,re=Qe.height,Te=Qe.width,Ze={left:0,top:0,right:fn,bottom:$t},lt={left:-hn,top:-gn,right:It-hn,bottom:Zt-gn},st=tt.htmlRegion,rn="visible",Lt="visibleFirst";st!=="scroll"&&st!==Lt&&(st=rn);var ct=st===Lt,St=f(lt,Re),Be=f(Ze,Re),Tt=st===rn?Be:St,_t=ct?Be:Tt;Me.style.left="auto",Me.style.top="auto",Me.style.right="0",Me.style.bottom="0";var Rn=Me.getBoundingClientRect();Me.style.left=an,Me.style.top=Ct,Me.style.right=on,Me.style.bottom=en,Me.style.overflow=tn,(ut=Me.parentElement)===null||ut===void 0||ut.removeChild(Ke);var Ne=n(Math.round(ue/parseFloat(nn)*1e3)/1e3),ze=n(Math.round(Ot/parseFloat(ht)*1e3)/1e3);if(Ne===0||ze===0||(0,C.Sh)(I)&&!(0,g.Z)(I))return;var nt=tt.offset,me=tt.targetOffset,be=F(Ce,nt),P=(0,N.Z)(be,2),W=P[0],H=P[1],U=F(Qe,me),J=(0,N.Z)(U,2),ee=J[0],ae=J[1];Qe.x-=ee,Qe.y-=ae;var ve=tt.points||[],Ue=(0,N.Z)(ve,2),ke=Ue[0],at=Ue[1],Pe=Q(at),De=Q(ke),Ie=oe(Qe,Pe),Je=oe(Ce,De),He=(0,O.Z)({},tt),we=Ie.x-Je.x+W,Se=Ie.y-Je.y+H,it=zt(we,Se),We=zt(we,Se,Be),Le=oe(Qe,["t","l"]),ot=oe(Ce,["t","l"]),Ge=oe(Qe,["b","r"]),rt=oe(Ce,["b","r"]),Pt=tt.overflow||{},mt=Pt.adjustX,Vt=Pt.adjustY,kt=Pt.shiftX,Dt=Pt.shiftY,Ht=function(xn){return typeof xn=="boolean"?xn:xn>=0},jt,Bt,Gt,Rt;bt();var un=Ht(Vt),pt=De[0]===Pe[0];if(un&&De[0]==="t"&&(Bt>_t.bottom||de.current.bt)){var Qt=Se;pt?Qt-=Ot-re:Qt=Le.y-rt.y-H;var On=zt(we,Qt),Sn=zt(we,Qt,Be);On>it||On===it&&(!ct||Sn>=We)?(de.current.bt=!0,Se=Qt,H=-H,He.points=[_e(De,0),_e(Pe,0)]):de.current.bt=!1}if(un&&De[0]==="b"&&(jt<_t.top||de.current.tb)){var cn=Se;pt?cn+=Ot-re:cn=Ge.y-ot.y-H;var Tn=zt(we,cn),Kt=zt(we,cn,Be);Tn>it||Tn===it&&(!ct||Kt>=We)?(de.current.tb=!0,Se=cn,H=-H,He.points=[_e(De,0),_e(Pe,0)]):de.current.tb=!1}var sn=Ht(mt),Nn=De[1]===Pe[1];if(sn&&De[1]==="l"&&(Rt>_t.right||de.current.rl)){var pn=we;Nn?pn-=ue-Te:pn=Le.x-rt.x-W;var dn=zt(pn,Se),Nt=zt(pn,Se,Be);dn>it||dn===it&&(!ct||Nt>=We)?(de.current.rl=!0,we=pn,W=-W,He.points=[_e(De,1),_e(Pe,1)]):de.current.rl=!1}if(sn&&De[1]==="r"&&(Gt<_t.left||de.current.lr)){var Xt=we;Nn?Xt+=ue-Te:Xt=Ge.x-ot.x-W;var vn=zt(Xt,Se),An=zt(Xt,Se,Be);vn>it||vn===it&&(!ct||An>=We)?(de.current.lr=!0,we=Xt,W=-W,He.points=[_e(De,1),_e(Pe,1)]):de.current.lr=!1}bt();var Jt=kt===!0?0:kt;typeof Jt=="number"&&(Gt<Be.left&&(we-=Gt-Be.left-W,Qe.x+Te<Be.left+Jt&&(we+=Qe.x-Be.left+Te-Jt)),Rt>Be.right&&(we-=Rt-Be.right-W,Qe.x>Be.right-Jt&&(we+=Qe.x-Be.right+Jt)));var ln=Dt===!0?0:Dt;typeof ln=="number"&&(jt<Be.top&&(Se-=jt-Be.top-H,Qe.y+re<Be.top+ln&&(Se+=Qe.y-Be.top+re-ln)),Bt>Be.bottom&&(Se-=Bt-Be.bottom-H,Qe.y>Be.bottom-ln&&(Se+=Qe.y-Be.bottom+ln)));var Pn=Ce.x+we,Mn=Pn+ue,jn=Ce.y+Se,Fn=jn+Ot,Zn=Qe.x,Cn=Zn+Te,Un=Qe.y,Hn=Un+re,Bn=Math.max(Pn,Zn),yn=Math.min(Mn,Cn),Gn=(Bn+yn)/2,Qn=Gn-Pn,Wn=Math.max(jn,Un),$n=Math.min(Fn,Hn),Kn=(Wn+$n)/2,In=Kn-jn;b==null||b(Y,He);var Yt=Rn.right-Ce.x-(we+Ce.width),wn=Rn.bottom-Ce.y-(Se+Ce.height);Ne===1&&(we=Math.round(we),Yt=Math.round(Yt)),ze===1&&(Se=Math.round(Se),wn=Math.round(wn));var zn={ready:!0,offsetX:we/Ne,offsetY:Se/ze,offsetR:Yt/Ne,offsetB:wn/ze,arrowX:Qn/Ne,arrowY:In/ze,scaleX:Ne,scaleY:ze,align:He};ie(zn)}}),qe=function(){he.current+=1;var Fe=he.current;Promise.resolve().then(function(){he.current===Fe&&Ve()})},et=function(){ie(function(Fe){return(0,O.Z)((0,O.Z)({},Fe),{},{ready:!1})})};return(0,r.Z)(et,[q]),(0,r.Z)(function(){M||et()},[M]),[X.ready,X.offsetX,X.offsetY,X.offsetR,X.offsetB,X.arrowX,X.arrowY,X.scaleX,X.scaleY,X.align,qe]}var $e=k(3300);function Xe(M,Y,I,q,ne){(0,r.Z)(function(){if(M&&Y&&I){let he=function(){q(),ne()};var fe=Y,b=I,A=m(fe),K=m(b),X=E(b),ie=new Set([X].concat((0,$e.Z)(A),(0,$e.Z)(K)));return ie.forEach(function(Re){Re.addEventListener("scroll",he,{passive:!0})}),X.addEventListener("resize",he,{passive:!0}),q(),function(){ie.forEach(function(Re){Re.removeEventListener("scroll",he),X.removeEventListener("resize",he)})}}},[M,Y,I])}var Ye=k(48736);function te(M,Y,I,q,ne,fe,b,A){var K=s.useRef(M);K.current=M;var X=s.useRef(!1);s.useEffect(function(){if(Y&&q&&(!ne||fe)){var he=function(){X.current=!1},Re=function(gt){var ut;K.current&&!b(((ut=gt.composedPath)===null||ut===void 0||(ut=ut.call(gt))===null||ut===void 0?void 0:ut[0])||gt.target)&&!X.current&&A(!1)},de=E(q);de.addEventListener("pointerdown",he,!0),de.addEventListener("mousedown",Re,!0),de.addEventListener("contextmenu",Re,!0);var je=(0,e.A)(I);if(je&&(je.addEventListener("mousedown",Re,!0),je.addEventListener("contextmenu",Re,!0)),0)var Ve,qe,et,ft;return function(){de.removeEventListener("pointerdown",he,!0),de.removeEventListener("mousedown",Re,!0),de.removeEventListener("contextmenu",Re,!0),je&&(je.removeEventListener("mousedown",Re,!0),je.removeEventListener("contextmenu",Re,!0))}}},[Y,I,q,ne,fe]);function ie(){X.current=!0}return ie}var pe=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function le(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:j.Z,Y=s.forwardRef(function(I,q){var ne=I.prefixCls,fe=ne===void 0?"rc-trigger-popup":ne,b=I.children,A=I.action,K=A===void 0?"hover":A,X=I.showAction,ie=I.hideAction,he=I.popupVisible,Re=I.defaultPopupVisible,de=I.onPopupVisibleChange,je=I.afterPopupVisibleChange,Ve=I.mouseEnterDelay,qe=I.mouseLeaveDelay,et=qe===void 0?.1:qe,ft=I.focusDelay,Fe=I.blurDelay,gt=I.mask,ut=I.maskClosable,Me=ut===void 0?!0:ut,_n=I.getPopupContainer,yt=I.forceRender,Oe=I.autoDestroy,mn=I.destroyPopupOnHide,an=I.popup,Ct=I.popupClassName,on=I.popupStyle,en=I.popupPlacement,tn=I.builtinPlacements,tt=tn===void 0?{}:tn,Ke=I.popupAlign,Qe=I.zIndex,Wt=I.stretch,Et=I.getPopupClassNameFromAlign,Ft=I.fresh,Ce=I.alignPoint,bn=I.onPopupClick,ht=I.onPopupAlign,nn=I.arrow,Ut=I.popupMotion,fn=I.maskMotion,$t=I.popupTransitionName,It=I.popupAnimation,Zt=I.maskTransitionName,gn=I.maskAnimation,hn=I.className,Ot=I.getTriggerDOMNode,ue=(0,$.Z)(I,pe),re=Oe||mn||!1,Te=s.useState(!1),Ze=(0,N.Z)(Te,2),lt=Ze[0],st=Ze[1];(0,r.Z)(function(){st((0,t.Z)())},[]);var rn=s.useRef({}),Lt=s.useContext(G),ct=s.useMemo(function(){return{registerSubPopup:function(Ee,dt){rn.current[Ee]=dt,Lt==null||Lt.registerSubPopup(Ee,dt)}}},[Lt]),St=(0,o.Z)(),Be=s.useState(null),Tt=(0,N.Z)(Be,2),_t=Tt[0],Rn=Tt[1],Ne=s.useRef(null),ze=(0,w.Z)(function(ce){Ne.current=ce,(0,C.Sh)(ce)&&_t!==ce&&Rn(ce),Lt==null||Lt.registerSubPopup(St,ce)}),nt=s.useState(null),me=(0,N.Z)(nt,2),be=me[0],P=me[1],W=s.useRef(null),H=(0,w.Z)(function(ce){(0,C.Sh)(ce)&&be!==ce&&(P(ce),W.current=ce)}),U=s.Children.only(b),J=(U==null?void 0:U.props)||{},ee={},ae=(0,w.Z)(function(ce){var Ee,dt,At=be;return(At==null?void 0:At.contains(ce))||((Ee=(0,e.A)(At))===null||Ee===void 0?void 0:Ee.host)===ce||ce===At||(_t==null?void 0:_t.contains(ce))||((dt=(0,e.A)(_t))===null||dt===void 0?void 0:dt.host)===ce||ce===_t||Object.values(rn.current).some(function(wt){return(wt==null?void 0:wt.contains(ce))||ce===wt})}),ve=v(fe,Ut,It,$t),Ue=v(fe,fn,gn,Zt),ke=s.useState(Re||!1),at=(0,N.Z)(ke,2),Pe=at[0],De=at[1],Ie=he!=null?he:Pe,Je=(0,w.Z)(function(ce){he===void 0&&De(ce)});(0,r.Z)(function(){De(he||!1)},[he]);var He=s.useRef(Ie);He.current=Ie;var we=s.useRef([]);we.current=[];var Se=(0,w.Z)(function(ce){var Ee;Je(ce),((Ee=we.current[we.current.length-1])!==null&&Ee!==void 0?Ee:Ie)!==ce&&(we.current.push(ce),de==null||de(ce))}),it=s.useRef(),We=function(){clearTimeout(it.current)},Le=function(Ee){var dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;We(),dt===0?Se(Ee):it.current=setTimeout(function(){Se(Ee)},dt*1e3)};s.useEffect(function(){return We},[]);var ot=s.useState(!1),Ge=(0,N.Z)(ot,2),rt=Ge[0],Pt=Ge[1];(0,r.Z)(function(ce){(!ce||Ie)&&Pt(!0)},[Ie]);var mt=s.useState(null),Vt=(0,N.Z)(mt,2),kt=Vt[0],Dt=Vt[1],Ht=s.useState(null),jt=(0,N.Z)(Ht,2),Bt=jt[0],Gt=jt[1],Rt=function(Ee){Gt([Ee.clientX,Ee.clientY])},un=ge(Ie,_t,Ce&&Bt!==null?Bt:be,en,tt,Ke,ht),pt=(0,N.Z)(un,11),Qt=pt[0],On=pt[1],Sn=pt[2],cn=pt[3],Tn=pt[4],Kt=pt[5],sn=pt[6],Nn=pt[7],pn=pt[8],dn=pt[9],Nt=pt[10],Xt=ye(lt,K,X,ie),vn=(0,N.Z)(Xt,2),An=vn[0],Jt=vn[1],ln=An.has("click"),Pn=Jt.has("click")||Jt.has("contextMenu"),Mn=(0,w.Z)(function(){rt||Nt()}),jn=function(){He.current&&Ce&&Pn&&Le(!1)};Xe(Ie,be,_t,Mn,jn),(0,r.Z)(function(){Mn()},[Bt,en]),(0,r.Z)(function(){Ie&&!(tt!=null&&tt[en])&&Mn()},[JSON.stringify(Ke)]);var Fn=s.useMemo(function(){var ce=d(tt,fe,dn,Ce);return Z()(ce,Et==null?void 0:Et(dn))},[dn,Et,tt,fe,Ce]);s.useImperativeHandle(q,function(){return{nativeElement:W.current,popupElement:Ne.current,forceAlign:Mn}});var Zn=s.useState(0),Cn=(0,N.Z)(Zn,2),Un=Cn[0],Hn=Cn[1],Bn=s.useState(0),yn=(0,N.Z)(Bn,2),Gn=yn[0],Qn=yn[1],Wn=function(){if(Wt&&be){var Ee=be.getBoundingClientRect();Hn(Ee.width),Qn(Ee.height)}},$n=function(){Wn(),Mn()},Kn=function(Ee){Pt(!1),Nt(),je==null||je(Ee)},In=function(){return new Promise(function(Ee){Wn(),Dt(function(){return Ee})})};(0,r.Z)(function(){kt&&(Nt(),kt(),Dt(null))},[kt]);function Yt(ce,Ee,dt,At){ee[ce]=function(wt){var Jn;At==null||At(wt),Le(Ee,dt);for(var Dn=arguments.length,si=new Array(Dn>1?Dn-1:0),ei=1;ei<Dn;ei++)si[ei-1]=arguments[ei];(Jn=J[ce])===null||Jn===void 0||Jn.call.apply(Jn,[J,wt].concat(si))}}(ln||Pn)&&(ee.onClick=function(ce){var Ee;He.current&&Pn?Le(!1):!He.current&&ln&&(Rt(ce),Le(!0));for(var dt=arguments.length,At=new Array(dt>1?dt-1:0),wt=1;wt<dt;wt++)At[wt-1]=arguments[wt];(Ee=J.onClick)===null||Ee===void 0||Ee.call.apply(Ee,[J,ce].concat(At))});var wn=te(Ie,Pn,be,_t,gt,Me,ae,Le),zn=An.has("hover"),zt=Jt.has("hover"),bt,qt;zn&&(Yt("onMouseEnter",!0,Ve,function(ce){Rt(ce)}),Yt("onPointerEnter",!0,Ve,function(ce){Rt(ce)}),bt=function(Ee){(Ie||rt)&&_t!==null&&_t!==void 0&&_t.contains(Ee.target)&&Le(!0,Ve)},Ce&&(ee.onMouseMove=function(ce){var Ee;(Ee=J.onMouseMove)===null||Ee===void 0||Ee.call(J,ce)})),zt&&(Yt("onMouseLeave",!1,et),Yt("onPointerLeave",!1,et),qt=function(){Le(!1,et)}),An.has("focus")&&Yt("onFocus",!0,ft),Jt.has("focus")&&Yt("onBlur",!1,Fe),An.has("contextMenu")&&(ee.onContextMenu=function(ce){var Ee;He.current&&Jt.has("contextMenu")?Le(!1):(Rt(ce),Le(!0)),ce.preventDefault();for(var dt=arguments.length,At=new Array(dt>1?dt-1:0),wt=1;wt<dt;wt++)At[wt-1]=arguments[wt];(Ee=J.onContextMenu)===null||Ee===void 0||Ee.call.apply(Ee,[J,ce].concat(At))}),hn&&(ee.className=Z()(J.className,hn));var xn=s.useRef(!1);xn.current||(xn.current=yt||Ie||rt);var Ln=(0,O.Z)((0,O.Z)({},J),ee),Vn={},qn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];qn.forEach(function(ce){ue[ce]&&(Vn[ce]=function(){for(var Ee,dt=arguments.length,At=new Array(dt),wt=0;wt<dt;wt++)At[wt]=arguments[wt];(Ee=Ln[ce])===null||Ee===void 0||Ee.call.apply(Ee,[Ln].concat(At)),ue[ce].apply(ue,At)})});var ti=s.cloneElement(U,(0,O.Z)((0,O.Z)({},Ln),Vn)),Xn={x:Kt,y:sn},ni=nn?(0,O.Z)({},nn!==!0?nn:{}):null;return s.createElement(s.Fragment,null,s.createElement(V.Z,{disabled:!Ie,ref:H,onResize:$n},s.createElement(D,{getTriggerDOMNode:Ot},ti)),xn.current&&s.createElement(G.Provider,{value:ct},s.createElement(S,{portal:M,ref:ze,prefixCls:fe,popup:an,className:Z()(Ct,Fn),style:on,target:be,onMouseEnter:bt,onMouseLeave:qt,onPointerEnter:bt,zIndex:Qe,open:Ie,keepDom:rt,fresh:Ft,onClick:bn,onPointerDownCapture:wn,mask:gt,motion:ve,maskMotion:Ue,onVisibleChanged:Kn,onPrepare:In,forceRender:yt,autoDestroy:re,getPopupContainer:_n,align:dn,arrow:ni,arrowPos:Xn,ready:Qt,offsetX:On,offsetY:Sn,offsetR:cn,offsetB:Tn,onAlign:Mn,stretch:Wt,targetWidth:Un/Nn,targetHeight:Gn/pn})))});return Y}var xe=le(j.Z)},51124:function(Ae,se,k){"use strict";k.d(se,{SV:function(){return Ye},ZP:function(){return Xe}});var O=k(59301),N=k(76374);const $={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(`
|
|
`)}]},Z={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
`)}]},V={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
`)}]};var C=k(53184),e=k.n(C),w=(te,pe,le)=>new Promise((xe,M)=>{var Y=ne=>{try{q(le.next(ne))}catch(fe){M(fe)}},I=ne=>{try{q(le.throw(ne))}catch(fe){M(fe)}},q=ne=>ne.done?xe(ne.value):Promise.resolve(ne.value).then(Y,I);q((le=le.apply(te,pe)).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=(te,pe,le,xe)=>{const M=pe.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:te.languages.CompletionItemKind.Text,insertText:I,range:xe}))},t=(te,pe,le,xe)=>{te.languages.registerCompletionItemProvider(pe,{provideCompletionItems(M,Y){const I=M.getWordUntilPosition(Y),q={startLineNumber:Y.lineNumber,endLineNumber:Y.lineNumber,startColumn:I.startColumn,endColumn:I.endColumn},ne=M.getLineContent(Y.lineNumber).substring(I.startColumn-2,I.endColumn);return{suggestions:[...r(te,M,Y,q),...le.map(b=>({label:b,kind:te.languages.CompletionItemKind.Keyword,documentation:b,insertText:b,insertTextRules:te.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q})),...xe.map(b=>({label:b.label,kind:te.languages.CompletionItemKind.Snippet,documentation:b.content,insertText:ne.startsWith("#")?b.content.replace(/#/,""):b.content,insertTextRules:te.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:q}))]}}})};var s=te=>{o.languages.forEach(pe=>{te.languages.registerDocumentFormattingEditProvider(pe,{provideDocumentFormattingEdits(le){return w(this,null,function*(){const xe=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:xe}]})}})}),t(te,"java",j.keywords,j.quickKey),t(te,"cpp",L.keywords,L.quickKey),t(te,"c",$.keywords,[]),t(te,"python",Z.keywords,Z.quickKey),t(te,"scala",V.keywords,V.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=(te,pe,le)=>pe in te?p(te,pe,{enumerable:!0,configurable:!0,writable:!0,value:le}):te[pe]=le,c=(te,pe,le)=>h(te,typeof pe!="symbol"?pe+"":pe,le);const u=class ki{constructor(pe,le,xe){this.placeholder=pe,this.editor=le,this.monaco=xe,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),S=k(6767),T=k(25399),D=k(89392),z=k(33796),G=k(56102),B=Object.defineProperty,ye=Object.defineProperties,g=Object.getOwnPropertyDescriptors,_=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,E=(te,pe,le)=>pe in te?B(te,pe,{enumerable:!0,configurable:!0,writable:!0,value:le}):te[pe]=le,m=(te,pe)=>{for(var le in pe||(pe={}))d.call(pe,le)&&E(te,le,pe[le]);if(_)for(var le of _(pe))v.call(pe,le)&&E(te,le,pe[le]);return te},n=(te,pe)=>ye(te,g(pe)),i=(te,pe)=>{var le={};for(var xe in te)d.call(te,xe)&&pe.indexOf(xe)<0&&(le[xe]=te[xe]);if(te!=null&&_)for(var xe of _(te))pe.indexOf(xe)<0&&v.call(te,xe)&&(le[xe]=te[xe]);return le},f=(te,pe,le)=>new Promise((xe,M)=>{var Y=ne=>{try{q(le.next(ne))}catch(fe){M(fe)}},I=ne=>{try{q(le.throw(ne))}catch(fe){M(fe)}},q=ne=>ne.done?xe(ne.value):Promise.resolve(ne.value).then(Y,I);q((le=le.apply(te,pe)).next())});function R(te){return/^\d+$/.test(te)?`${te}px`:te}function F(){}let Q=!1;const oe={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function _e(te=[]){let pe=te;if(Array.isArray(te)){for(let le=0;le<te.length;le++){let xe=oe[te[le]];if(xe)return xe}return pe[0]}return oe[pe]||pe}let ge=null;const $e=()=>f(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(te){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",te)}});var Xe=te=>{var pe=te,{width:le="100%",height:xe="100%",value:M,language:Y="javascript",style:I={},options:q={},overrideServices:ne={},theme:fe="vs-dark",onEditBlur:b,isCopy:A=!1,onSave:K,autoHeight:X=!1,forbidCopy:ie=!1,onChange:he=F,editorDidMount:Re=F,onFocus:de=F,onBreakPoint:je=F,breakPointValue:Ve=[],filename:qe="educoder.txt",errorLine:et,errorContent:ft="",highlightLine:Fe,openBreakPoint:gt=!1,placeholder:ut="",showMiniMap:Me=!0}=pe,_n=i(pe,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const yt=(0,O.useRef)(),Oe=(0,O.useRef)({}),mn=(0,O.useRef)(),an=(0,O.useRef)(),Ct=(0,O.useRef)([]),on=(0,O.useRef)(!1),en=(0,O.useRef)(),tn=(0,O.useRef)(),tt=(0,O.useRef)(!1),[Ke,Qe]=(0,O.useState)(!1);function Wt(){let ue;return yt.current&&(ue=new N.Z(re=>{for(let Te of re)(Te.target.offsetHeight>0||Te.target.offsetWidth>0)&&Oe.current.instance.layout()}),ue.observe(yt.current)),ue}function Et(){S.ZP.warning({content:decodeURIComponent(a),key:"monaco-editor-tip"})}const Ft=()=>{let ue=Oe.current.instance;if(M!=null&&ue&&Ke){const re=ue.getModel();re&&M!==re.getValue()&&(Q=!0,re.setValue(M),ue.layout(),Q=!1)}};(0,O.useEffect)(()=>{const ue=z.Z.subscribe("formatDocument",re=>{var Te;let Ze=Oe.current.instance;(Te=Ze==null?void 0:Ze.getAction)==null||Te.call(Ze,"editor.action.formatDocument").run()});return window.updateMonacoValue=re=>{he(re)},ue},[]),(0,O.useEffect)(()=>{var ue;let re=Oe.current.instance;an.current&&clearTimeout(an.current),an.current=setTimeout(()=>{Ft()},500),M&&(M!=null&&M.length)&&((ue=re==null?void 0:re.updateOptions)==null||ue.call(re,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(M.split(/\r\n|\r|\n/g).length))+3,5)}))},[M,Ke,Oe.current]),(0,O.useEffect)(()=>{if(et&&Oe.current&&Oe.current.instance){let re=Oe.current.instance;re.changeViewZones(function(Te){var Ze=document.createElement("div");Ze.style.padding="10px 20px",Ze.style.width="calc(100% - 20px)",Ze.className="my-error-line-wrp",Ze.innerHTML=ft,Te.addZone({afterLineNumber:et||11,heightInLines:3,domNode:Ze})});var ue={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}};re.addOverlayWidget(ue),re.revealPositionInCenter({lineNumber:20,column:1})}},[et,Oe.current,Ke]);const Ce=(ue="",re)=>{if(!ue||ue.trim()==="")return!0;const Ze=Oe.current.instance.getModel().getLineTokens(re);let lt=!1;for(let st=0;st<2;st++)Ze.getStandardTokenType(st)===1&&(lt=!0);return lt};(0,O.useEffect)(()=>{var ue;const re=(ue=Oe.current)==null?void 0:ue.instance;if(re&&Ke&&ie){const Te=re.onDidBlurEditorWidget(()=>{tt.current=!1}),Ze=re.onDidFocusEditorText(()=>{tt.current=!0});return()=>{Te.dispose(),Ze.dispose()}}},[Oe.current,Ke,ie]),(0,O.useEffect)(()=>{var ue;if((ue=Oe.current)!=null&&ue.instance&&Ke&>){let re=Oe.current.instance,Te=re.getModel();if(!Te)return;(()=>{var Ne;let ze=[],nt=[];const me=Te.getAllDecorations();for(let P of me)P.options.className==="highlighted-line"&&(ze.push((Ne=P==null?void 0:P.range)==null?void 0:Ne.startLineNumber),nt.push(P==null?void 0:P.id));if(Fe===ze[0])return;Te.deltaDecorations(nt,[]);const be=Te.getLineCount();Fe&&Fe<=be&&(re.deltaDecorations([],[{range:new ge.Range(Fe,1,Fe,Te.getLineMaxColumn(Fe)),options:{isWholeLine:!0,className:"highlighted-line"}}]),re.revealLineInCenter(Fe))})();const lt=(Ne=!1)=>{var ze;let nt=[],me=[];const be=Te.getAllDecorations();for(let P of be)P.options.linesDecorationsClassName==="breakpoints-select"&&(nt.push((ze=P==null?void 0:P.range)==null?void 0:ze.startLineNumber),me.push(P==null?void 0:P.id));if(Ne)return{lines:nt,ids:me};je(nt)},st=Ne=>f(void 0,null,function*(){let ze={range:new ge.Range(Ne,1,Ne,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Te.deltaDecorations([],[ze]),lt()}),rn=Ne=>f(void 0,null,function*(){let ze=[];const nt=re.getLineDecorations(Ne);for(let me of nt)me.options.linesDecorationsClassName==="breakpoints-select"&&ze.push(me.id);yield Te.deltaDecorations(ze,[]),lt()}),Lt=Ne=>{let ze=re.getLineDecorations(Ne);for(let nt of ze)if(nt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,D.isEqual)(Ve,lt(!0).lines)){Te.deltaDecorations(lt(!0).ids,[]);const Ne=Ve.map(ze=>({range:new ge.Range(ze,1,ze,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Te.deltaDecorations([],Ne)}const ct=re.onDidChangeModelContent(Ne=>{let ze=re.getPosition();if(ze){let nt=ze.lineNumber;clearTimeout(tn.current),tn.current=setTimeout(()=>{Ce(Te.getLineContent(nt),nt)?rn(nt):Lt(nt)?(rn(nt),st(nt)):lt()},100)}}),St=re.onMouseDown(Ne=>{var ze,nt,me;if(Ne.target.detail&&((me=(nt=(ze=Ne.target)==null?void 0:ze.element)==null?void 0:nt.className)!=null&&me.includes("line-numbers"))){let be=Ne.target.position.lineNumber;if(Ce(Te.getLineContent(be),be))return;Lt(be)?rn(be):st(be)}}),Be=Ne=>{let ze={range:new ge.Range(Ne,1,Ne,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Ct.current=re.deltaDecorations(Ct.current,[ze])},Tt=()=>{Ct.current=re.deltaDecorations(Ct.current,[])},_t=re.onMouseMove(Ne=>{var ze,nt,me;if(Tt(),Ne.target.detail&&((me=(nt=(ze=Ne.target)==null?void 0:ze.element)==null?void 0:nt.className)!=null&&me.includes("line-numbers"))){let be=Ne.target.position.lineNumber;if(Ce(Te.getLineContent(be),be))return;Be(be)}}),Rn=re.onMouseLeave(()=>{Tt()});return()=>{ct.dispose(),St.dispose(),_t.dispose(),Rn.dispose()}}},[Oe.current,Ke,Ve,Fe,gt,Y]),(0,O.useEffect)(()=>{var ue;(ue=Oe.current)!=null&&ue.instance&>&&Oe.current.instance.setPosition({lineNumber:0,column:0})},[Fe]);function bn(){let ue=Oe.current.instance;if(ue){const re=ue.getSelection(),Te=Oe.current.pastePos||{},Ze=new ge.Range(Te.startLineNumber||re.endLineNumber,Te.startColumn||re.endColumn,Te.endLineNumber||re.endLineNumber,Te.endColumn||re.endColumn);setTimeout(()=>{ue.executeEdits("",[{range:Ze,text:""}])},300)}}function ht(ue){(window.navigator.platform.match("Mac")?ue.metaKey:ue.ctrlKey)&&ue.keyCode==83&&(ue.preventDefault(),K())}const nn=()=>{if(X&&Oe.current.instance){const ue=Oe.current.instance.getContentHeight();hn(ue<xe?xe:ue)}else hn(xe)};function Ut(ue){var re=document.createEvent("MouseEvents");re.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),ue.dispatchEvent(re)}const fn=ue=>{if(!tt.current)return;const{keyCode:re,ctrlKey:Te,metaKey:Ze,target:lt,type:st}=ue;return(st==="paste"||(re===67||re===86)&&(Ze||Te))&<.nodeName==="TEXTAREA"&&(Et(),ue.preventDefault()),!1};function $t(ue,re){var Te=window.URL||window.webkitURL||window,Ze=new Blob([re]),lt=document.createElementNS("http://www.w3.org/1999/xhtml","a");lt.href=Te.createObjectURL(Ze),lt.download=ue,Ut(lt)}(0,O.useEffect)(()=>{nn()},[nn]),(0,O.useEffect)(()=>{yt.current&&!Ke&&Promise.all([k.e(8909),k.e(5028)]).then(k.bind(k,71448)).then(ue=>{try{ge=ue,Oe.current.instance=ge.editor.create(yt.current,{value:M,language:_e(Y),theme:fe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Me||!1}},ne);const re=Oe.current.instance;let lt=[...x.BH._menuItems].find(ct=>ct[0]._debugName=="EditorContext")[1],st=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],rn=(ct,St)=>{var Be,Tt;let _t=ct._first;do St.includes((Tt=(Be=_t.element)==null?void 0:Be.command)==null?void 0:Tt.id)&&ct._remove(_t);while(_t=_t.next)};if(Re(re,ge),setTimeout(()=>{nn(),Oe.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{$t(qe||"educoder.txt",re.getValue())}})},500),Oe.current.subscription=re.onDidChangeModelContent(ct=>{on.current?clearTimeout(en.current):(nn(),he(re.getValue(),ct)),en.current=setTimeout(()=>{on.current=!1},500)}),window.Monaco||s(ge,_e(Y)),ie&&(rn(lt,st),yt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",fn),window.removeEventListener("paste",fn),window.addEventListener("keydown",fn),window.addEventListener("paste",fn)),window.Monaco=ge,b&&re.onDidBlurEditorWidget(()=>{b(re.getValue())}),de&&re.onDidFocusEditorText(()=>{ie&&$e(),de(re.getValue())}),ie){$e();try{re.onDidPaste(ct=>{const St=re.getSelection(),Be=Oe.current.pastePos||{},Tt=new ge.Range(Be.startLineNumber||St.endLineNumber,Be.startColumn||St.endColumn,Be.endLineNumber||St.endLineNumber,Be.endColumn||St.endColumn);re.executeEdits("",[{range:ct.range,text:""}])})}catch(ct){}}let Lt=Wt();return ut&&typeof ut=="string"&&new y(ut,re,ge),Qe(!0),()=>{const ct=Oe.current.instance;ct.dispose();const St=ct.getModel();St&&St.dispose(),Oe.current.subscription&&Oe.current.subscription.dispose(),Lt.unobserve(yt.current)}}catch(re){}})},[]),(0,O.useEffect)(()=>{if(Oe.current.instance&&Ke)return document.addEventListener("keydown",ht,!1),()=>{document.removeEventListener("keydown",ht)}},[K,Ke]),(0,O.useEffect)(()=>{let ue=Oe.current.instance;if(ue&&Ke){let re=_e(Y);ge.editor.setModelLanguage(ue.getModel(),re)}},[Y,Ke]),(0,O.useEffect)(()=>{Oe.current.instance&&Ke&&ge.editor.setTheme(fe)},[fe,Ke]),(0,O.useEffect)(()=>{let ue=Oe.current.instance;mn.current=q,ue&&Ke&&(ue.updateOptions(m({},q)),setTimeout(()=>{ue.getModel().updateOptions(m({},q))},200))},[JSON.stringify(q),Ke]),(0,O.useEffect)(()=>{let ue=Oe.current.instance;ue&&Ke&&ue.layout()},[le,xe,Ke]);const[It,Zt]=(0,O.useState)(R(le)),[gn,hn]=(0,O.useState)(R(xe)),Ot=n(m({},I),{width:It,height:gn,position:"relative"});return O.createElement("div",{className:"my-monaco-editor",ref:yt,style:Ot},A&&O.createElement(G.CopyToClipboard,{text:M,onCopy:()=>S.ZP.success("\u590D\u5236\u6210\u529F")},O.createElement(T.Z,{title:"\u590D\u5236\u4EE3\u7801"},O.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},O.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ye({width:te="100%",height:pe="100%",original:le,modified:xe,language:M,options:Y={}}){const I=(0,O.useRef)(),[q,ne]=(0,O.useState)(null);function fe(X){let ie;return I.current&&(ie=new N.Z(he=>{for(let Re of he)(Re.target.offsetHeight>0||Re.target.offsetWidth>0)&&X.layout()}),ie.observe(I.current)),ie}(0,O.useEffect)(()=>(I.current&&Promise.all([k.e(8909),k.e(9404)]).then(k.bind(k,2550)).then(X=>{ge=X;const ie=ge.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},Y),{wordWrap:!0}));ne(ie);let he=fe(ie);return()=>{ie.dispose();const Re=ie.getModel();Re&&Re.dispose(),he.unobserve(I.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,O.useEffect)(()=>{q&&q.setModel({original:ge.editor.createModel(le,M),modified:ge.editor.createModel(xe,M)})},[le,xe,M,q]);const b=R(te),A=R(pe),K={width:b,height:A};return O.createElement("div",{className:"my-diff-editor",ref:I,style:K})}},20861:function(Ae,se,k){"use strict";k.r(se),k.d(se,{default:function(){return u}});var O=k(59301),N=k(76560),$=k(91882),j=k(77019),L=k(5269),Z=k(458),V=k(27812),C=k(51124),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(82093),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((S,T)=>{var D=B=>{try{G(x.next(B))}catch(ye){T(ye)}},z=B=>{try{G(x.throw(B))}catch(ye){T(ye)}},G=B=>B.done?S(B.value):Promise.resolve(B.value).then(D,z);G((x=x.apply(l,y)).next())});const c=({exercise:l,user:y,dispatch:x})=>{var S,T;const D=(S=window.location.pathname)==null?void 0:S.includes("exercise"),z=D?"exercise":"shixun_homework",G=(0,N.useParams)(),[B]=(0,N.useSearchParams)(),{userInfo:ye}=y,g=B.get("name"),_=B.get("rule_id"),d=B.get("uuid"),v=B.get("language"),E=B.get("rowNumber"),m=B.get("issueId"),[n,i]=(0,O.useState)({}),[f,R]=(0,O.useState)({value:"",language:v.toLowerCase(),theme:"vs",options:{readOnly:!0},errorContent:"",errorLine:parseInt(E)}),[F,Q]=(0,O.useState)(!0);(0,O.useEffect)(()=>{oe()},[]);const oe=()=>h(void 0,null,function*(){var _e,ge,$e;Q(!0);const Xe=yield(0,w.ZP)("/api/code_analyses_detail/code_detail.json",{method:"get",params:{rule_id:_,uuid:d,issue_id:m}});if(Xe.status===0){f.value=(ge=(_e=Xe.data)==null?void 0:_e.codes)==null?void 0:ge.map(te=>te.code).join(`
|
|
`);const Ye=document.createElement("div");Ye.innerHTML=f.value,f.value=Ye.innerText,f.errorContent=($e=Xe==null?void 0:Xe.data)==null?void 0:$e.errMessage,R(p({},f)),i(Xe.data)}Q(!1)});return O.createElement("section",{className:"edu-container"},O.createElement("section",{className:"animated fadeIn"},O.createElement("aside",{className:"mt10"},ye&&O.createElement($.Z,{separator:">"},O.createElement($.Z.Item,null,O.createElement(N.Link,{to:`/classrooms/${G.coursesId}/${z}`},(T=ye==null?void 0:ye.course)==null?void 0:T.course_name)),O.createElement($.Z.Item,null,O.createElement(N.Link,{to:`/classrooms/${G.coursesId}/${z}`},D?"\u8003\u8BD5":"\u5B9E\u8BAD","\u5217\u8868")),O.createElement($.Z.Item,null,O.createElement(N.Link,{to:`/classrooms/${G.coursesId}/${z}/${G==null?void 0:G.exerciseId}/detail`},D?"\u8BD5\u5377":"\u4F5C\u4E1A","\u8BE6\u60C5")),O.createElement($.Z.Item,null,g))),O.createElement("aside",{className:[e.title,"mt20"].join(" ")},O.createElement(j.Z,{style:{width:"100%"}},O.createElement(L.Z,{flex:"1",style:{lineHeight:"24px"}},O.createElement(N.Link,{to:`/classrooms/${G.coursesId}/${z}/${G.exerciseId}/analysis/${G.studentId}`},O.createElement(V.Z,{className:"font16 c-black"})),O.createElement("strong",{className:"font20 ml5"},"\u4EE3\u7801\u8BE6\u60C5"))))),O.createElement("section",{className:e.wrap},O.createElement(Z.Z,{loading:F,active:!0,paragraph:{rows:5}},O.createElement("div",{className:e.title},n==null?void 0:n.title),O.createElement("div",{className:e.code},O.createElement(C.ZP,p({},f))),O.createElement("div",{className:e.error,dangerouslySetInnerHTML:{__html:(n==null?void 0:n.example)||""}}))))};var u=(0,N.connect)(({exercise:l,user:y})=>({exercise:l,user:y}))(c)},25769:function(Ae,se,k){"use strict";var O=k(98040),N={"text/plain":"Text","text/html":"Url",default:"Text"},$="Copy to clipboard: #{key}, Enter";function j(Z){var V=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return Z.replace(/#{\s*key\s*}/g,V)}function L(Z,V){var C,e,w,o,r,t,s=!1;V||(V={}),C=V.debug||!1;try{w=O(),o=document.createRange(),r=document.getSelection(),t=document.createElement("span"),t.textContent=Z,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(),V.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=N[V.format]||N.default;window.clipboardData.setData(h,Z)}else p.clipboardData.clearData(),p.clipboardData.setData(V.format,Z);V.onCopy&&(p.preventDefault(),V.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(V.format||"text",Z),V.onCopy&&V.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 V?V.message:$),window.prompt(e,Z)}}finally{r&&(typeof r.removeRange=="function"?r.removeRange(o):r.removeAllRanges()),t&&document.body.removeChild(t),w()}return s}Ae.exports=L},53184:function(Ae,se,k){"use strict";var O,N;function $(j,L,Z){var V=function(C,e){return j.js_beautify(C,e)};return V.js=j.js_beautify,V.css=L.css_beautify,V.html=Z.html_beautify,V.js_beautify=j.js_beautify,V.css_beautify=L.css_beautify,V.html_beautify=Z.html_beautify,V}O=[k(58553),k(87804),k(40998)],N=function(j,L,Z){return $(j,L,Z)}.apply(se,O),N!==void 0&&(Ae.exports=N)},87804:function(Ae,se){var k,O;(function(){var N;(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(S,T){this._source_text=S||"",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(S){var T="";for(this._ch=this._input.next();this._ch;){if(T+=this._ch,this._ch==="\\")T+=this._input.next();else if(S.indexOf(this._ch)!==-1||this._ch===`
|
|
`)break;this._ch=this._input.next()}return T},x.prototype.eatWhitespace=function(S){for(var T=c.test(this._input.peek()),D=0;c.test(this._input.peek());)this._ch=this._input.next(),S&&this._ch===`
|
|
`&&(D===0||D<this._options.max_preserve_newlines)&&(D++,this._output.add_new_line(!0));return T},x.prototype.foundNestedPseudoClass=function(){for(var S=0,T=1,D=this._input.peek(T);D;){if(D==="{")return!0;if(D==="(")S+=1;else if(D===")"){if(S===0)return!1;S-=1}else if(D===";"||D==="}")return!1;T++,D=this._input.peek(T)}return!1},x.prototype.print_string=function(S){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(S)},x.prototype.preserveSingleSpace=function(S){S&&(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 S=this._source_text,T=this._options.eol;T==="auto"&&(T=`
|
|
`,S&&p.test(S||"")&&(T=S.match(p)[0])),S=S.replace(h,`
|
|
`);var D=S.match(/^[\t ]*/)[0];this._output=new r(this._options,D),this._input=new t(S),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var z=0,G=!1,B=!1,ye=!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 R=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);R.match(/[ :]$/)&&(R=this.eatString(": ").replace(/\s+$/,""),this.print_string(R),this._output.space_before_token=!0),z===0&&R.indexOf(":")!==-1&&(B=!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 F=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);F.match(/[ :]$/)&&(F=this.eatString(": ").replace(/\s+$/,""),this.print_string(F),this._output.space_before_token=!0),z===0&&F.indexOf(":")!==-1?(B=!0,this.indent()):F in this.NESTED_AT_RULE?(this._nestedLevel+=1,F in this.CONDITIONAL_GROUP_RULE&&(ye=!0)):z===0&&!B&&(g=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(m),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")B&&(B=!1,this.outdent()),g=!1,ye?(ye=!1,G=this._indentLevel>=this._nestedLevel):G=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&G&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(n==="("?this._output.space_before_token=!1:n!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),n==="{"&&this._output.trim(!0),B&&(this.outdent(),B=!1),this.print_string(this._ch),G=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var Q=0;Q<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Q++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Q])){v=!0;break}(G||ye)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!g&&z===0?(this.print_string(":"),B||(B=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var oe=n==='"'||n==="'";this.preserveSingleSpace(oe||m),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")v=!1,z===0?(B&&(this.outdent(),B=!1),g=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),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 _e=!1;this._input.lookBack("with")&&(_e=!0),this.preserveSingleSpace(m||_e),this.print_string(this._ch),B&&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&&(!B||_)&&z===0&&!g?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!B&&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 ge=n==='"'||n==="'";this.preserveSingleSpace(ge||m),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
`&&v&&this._output.add_new_line()}var $e=this._output.get_code(T);return $e},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 Z(C){var e=L[C];if(e!==void 0)return e.exports;var w=L[C]={exports:{}};return j[C](w,w.exports,Z),w.exports}var V=Z(15);N=V})();var $=N;k=[],O=function(){return{css_beautify:$}}.apply(se,k),O!==void 0&&(Ae.exports=O)})()},40998:function(Ae,se,k){var O,N;(function(){var $;(function(){"use strict";var V=[,,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,S=[],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)?(S.push(x),x=l):x&&this._is_closing(l,x)&&(l.opened=x,x.closed=l,x=S.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 S(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 D(g){this._printer=g,this._current_frame=null}D.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},D.prototype.record_tag=function(g){var _=new T(this._current_frame,g,this._printer.indent_level);this._current_frame=_},D.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),_},D.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},D.prototype.try_pop=function(g,_){var d=this._get_frame([g],_);return this._try_pop_frame(d)},D.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 G(this._options),m=new l(this._options,d),n=new p(g,this._options).tokenize();this._tag_stack=new D(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 R=m._output.get_code(_);return R},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(ge,$e){var Xe=new z(ge,$e,v._js_beautify,v._css_beautify);return Xe.beautify()}),this._options.indent_scripts==="keep"?n=0:this._options.indent_scripts==="separate"&&(n=-g.indent_level);var R=g.get_full_indent(n);if(E=E.replace(/\n[ \t]*$/,""),d.custom_beautifier_name!=="html"&&E[0]==="<"&&E.match(/^(<!--|<!\[CDATA\[)/)){var F=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(E);if(!F){g.add_raw_token(_);return}i=R+F[1]+`
|
|
`,E=F[4],F[5]&&(f=R+F[5]),E=E.replace(/\n[ \t]*$/,""),(F[2]||F[3].indexOf(`
|
|
`)!==-1)&&(F=F[3].match(/[ \t]+$/),F&&(_.whitespace_before=F[0]))}if(E)if(m){var Q=function(){this.eol=`
|
|
`};Q.prototype=this._options.raw_options;var oe=new Q;E=m(R+E,oe)}else{var _e=_.whitespace_before;_e&&(E=E.replace(new RegExp(`
|
|
(`+_e+")?","g"),`
|
|
`)),E=R+E.replace(/\n/g,`
|
|
`+R)}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 G=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 G(this._options,this._tag_stack.get_parser_token(),g);return _.alignment_size=this._options.wrap_attributes_indent_size,_.is_end_tag=_.is_end_tag||S(_.tag_check,this._options.void_elements),_.is_empty_element=_.tag_complete||_.is_start_tag&&_.is_end_tag,_.is_unformatted=!_.tag_complete&&S(_.tag_check,this._options.unformatted),_.is_content_unformatted=!_.is_empty_element&&S(_.tag_check,this._options.content_unformatted),_.is_inline_element=S(_.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,_)))),S(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 B=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],ye=["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"&&B.indexOf(g.tag_name)!==-1){var d=g.parent.parent;(!d||ye.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,S){s.call(this,x,S),this._current_tag_name="";var T=new h(this._input).read_options(this._options),D=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:D.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:D.starting_with(/{{!--/).until_after(/--}}/),handlebars:D.starting_with(/{{/).until_after(/}}/),handlebars_open:D.until(/[\n\r\t }]/),handlebars_raw_close:D.until(/}}/),comment:D.starting_with(/<!--/).until_after(/-->/),cdata:D.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:D.starting_with(/<!\[/).until_after(/]>/),processing:D.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=D.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,S){return x.type===u.TAG_CLOSE&&S&&((x.text===">"||x.text==="/>")&&S.text[0]==="<"||x.text==="}}"&&S.text[0]==="{"&&S.text[1]==="{")||x.type===u.CONTROL_FLOW_CLOSE&&x.text==="}"&&S.text.endsWith("{")},y.prototype._reset=function(){this._current_tag_name=""},y.prototype._get_next_token=function(x,S){var T=null;this._readWhitespace();var D=this._input.peek();return D===null?this._create_token(u.EOF,""):(T=T||this._read_open_handlebars(D,S),T=T||this._read_attribute(D,x,S),T=T||this._read_close(D,S),T=T||this._read_script_and_style(D,x),T=T||this._read_control_flows(D,S),T=T||this._read_raw_content(D,x,S),T=T||this._read_content_word(D,S),T=T||this._read_comment_or_cdata(D),T=T||this._read_processing(D),T=T||this._read_open(D,S),T=T||this._create_token(u.UNKNOWN,this._input.next()),T)},y.prototype._read_comment_or_cdata=function(x){var S=null,T=null,D=null;if(x==="<"){var z=this._input.peek(1);z==="!"&&(T=this.__patterns.comment.read(),T?(D=l.get_directives(T),D&&D.ignore==="start"&&(T+=l.readIgnored(this._input))):T=this.__patterns.cdata.read()),T&&(S=this._create_token(u.COMMENT,T),S.directives=D)}return S},y.prototype._read_processing=function(x){var S=null,T=null,D=null;if(x==="<"){var z=this._input.peek(1);(z==="!"||z==="?")&&(T=this.__patterns.conditional_comment.read(),T=T||this.__patterns.processing.read()),T&&(S=this._create_token(u.COMMENT,T),S.directives=D)}return S},y.prototype._read_open=function(x,S){var T=null,D=null;return(!S||S.type===u.CONTROL_FLOW_OPEN)&&x==="<"&&(T=this._input.next(),this._input.peek()==="/"&&(T+=this._input.next()),T+=this.__patterns.element_name.read(),D=this._create_token(u.TAG_OPEN,T)),D},y.prototype._read_open_handlebars=function(x,S){var T=null,D=null;return(!S||S.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(),D=this._create_token(u.COMMENT,T)):(T=this.__patterns.handlebars_open.read(),D=this._create_token(u.TAG_OPEN,T))),D},y.prototype._read_control_flows=function(x,S){var T="",D=null;if(!this._options.templating.includes("angular"))return D;if(x==="@"){if(T=this.__patterns.angular_control_flow_start.read(),T==="")return D;for(var z=T.endsWith("(")?1:0,G=0;!(T.endsWith("{")&&z===G);){var B=this._input.next();if(B===null)break;B==="("?z++:B===")"&&G++,T+=B}D=this._create_token(u.CONTROL_FLOW_OPEN,T)}else x==="}"&&S&&S.type===u.CONTROL_FLOW_OPEN&&(T=this._input.next(),D=this._create_token(u.CONTROL_FLOW_CLOSE,T));return D},y.prototype._read_close=function(x,S){var T=null,D=null;return S&&S.type===u.TAG_OPEN&&(S.text[0]==="<"&&(x===">"||x==="/"&&this._input.peek(1)===">")?(T=this._input.next(),x==="/"&&(T+=this._input.next()),D=this._create_token(u.TAG_CLOSE,T)):S.text[0]==="{"&&x==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),D=this._create_token(u.TAG_CLOSE,"}}"))),D},y.prototype._read_attribute=function(x,S,T){var D=null,z="";if(T&&T.text[0]==="<")if(x==="=")D=this._create_token(u.EQUALS,this._input.next());else if(x==='"'||x==="'"){var G=this._input.next();x==='"'?G+=this.__patterns.double_quote.read():G+=this.__patterns.single_quote.read(),D=this._create_token(u.VALUE,G)}else z=this.__patterns.attribute.read(),z&&(S.type===u.EQUALS?D=this._create_token(u.VALUE,z):D=this._create_token(u.ATTRIBUTE,z));return D},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,S,T){var D="";if(T&&T.text[0]==="{")D=this.__patterns.handlebars_raw_close.read();else if(S.type===u.TAG_CLOSE&&S.opened.text[0]==="<"&&S.text[0]!=="/"){var z=S.opened.text.substr(1).toLowerCase();this._is_content_unformatted(z)&&(D=this._input.readUntil(new RegExp("</"+z+"[\\n\\r\\t ]*?>","ig")))}return D?this._create_token(u.TEXT,D):null},y.prototype._read_script_and_style=function(x,S){if(S.type===u.TAG_CLOSE&&S.opened.text[0]==="<"&&S.text[0]!=="/"){var T=S.opened.text.substr(1).toLowerCase();if(T==="script"||T==="style"){var D=this._read_comment_or_cdata(x);if(D)return D.type=u.TEXT,D;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,S){var T="";return this._options.unformatted_content_delimiter&&x===this._options.unformatted_content_delimiter[0]&&(T=this.__patterns.unformatted_content_delimiter.read()),T||(T=S&&S.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 V[o](t,t.exports,e),t.exports}var w=e(18);$=w})();var j=$;if(1)O=[k,k(58553),k(87804)],N=function(V){var C=k(58553),e=k(87804);return{html_beautify:function(w,o){return j(w,o,C.js_beautify,e.css_beautify)}}}.apply(se,O),N!==void 0&&(Ae.exports=N);else var L,Z})()},58553:function(Ae,se){var k,O;(function(){var N;(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={},R=0;R<i.length;R++)f[i[R].replace(/-/g,"_")]=i[R];return f}function x(i,f){return i&&i.type===c.RESERVED&&i.text===f}function S(i,f){return i&&i.type===c.RESERVED&&u(i.text,f)}var T=["case","return","do","if","throw","else","await","break","continue","async"],D=["before-newline","after-newline","preserve-newline"],z=y(D),G=[z.before_newline,z.preserve_newline],B={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ye(i,f){f.multiline_frame||f.mode===B.ForInitializer||f.mode===B.Conditional||i.remove_indent(f.start_line_index)}function g(i){i=i.replace(t.allLineBreaks,`
|
|
`);for(var f=[],R=i.indexOf(`
|
|
`);R!==-1;)f.push(i.substring(0,R)),i=i.substring(R+1),R=i.indexOf(`
|
|
`);return i.length&&f.push(i),f}function _(i){return i===B.ArrayLiteral}function d(i){return u(i,[B.Expression,B.ForInitializer,B.Conditional])}function v(i,f){for(var R=0;R<i.length;R++){var F=i[R].trim();if(F.charAt(0)!==f)return!1}return!0}function E(i,f){for(var R=0,F=i.length,Q;R<F;R++)if(Q=i[R],Q&&Q.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 R=0;i&&(R=i.indentation_level,!this._output.just_added_newline()&&i.line_indent_level>R&&(R=i.line_indent_level));var F={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:R,alignment:0,line_indent_level:i?i.line_indent_level:R,start_line_index:this._output.get_line_number(),ternary_depth:0};return F},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(B.BlockStatement);var R=new a(i,this._options);return this._tokens=R.tokenize(),i},m.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var i,f=this._reset(this._source_text),R=this._options.eol;this._options.eol==="auto"&&(R=`
|
|
`,f&&t.lineBreak.test(f||"")&&(R=f.match(t.lineBreak)[0]));for(var F=this._tokens.next();F;)this.handle_token(F),this._last_last_text=this._flags.last_token.text,this._flags.last_token=F,F=this._tokens.next();return i=this._output.get_code(R),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 R=i.newlines,F=this._options.keep_array_indentation&&_(this._flags.mode);if(i.comments_before)for(var Q=i.comments_before.next();Q;)this.handle_whitespace_and_comments(Q,f),this.handle_token(Q,f),Q=i.comments_before.next();if(F)for(var oe=0;oe<R;oe+=1)this.print_newline(oe>0,f);else if(this._options.max_preserve_newlines&&R>this._options.max_preserve_newlines&&(R=this._options.max_preserve_newlines),this._options.preserve_newlines&&R>1){this.print_newline(!1,f);for(var _e=1;_e<R;_e+=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 R=this._options.preserve_newlines&&i.newlines||f,F=u(this._flags.last_token.text,h)||u(i.text,h);if(F){var Q=u(this._flags.last_token.text,h)&&u(this._options.operator_position,G)||u(i.text,h);R=R&&Q}if(R)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(S(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 R=this._tokens.peek();this._flags.mode===B.Statement&&!(this._flags.if_block&&x(R,"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===B.Statement&&ye(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===B.ObjectLiteral&&this._flags.mode===B.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||S(this._flags.last_token,["get","set"]))},m.prototype.start_of_statement=function(i){var f=!1;return f=f||S(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===B.ObjectLiteral&&this._flags.mode===B.Statement)&&S(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===B.ForInitializer||this._previous_flags.mode===B.Conditional),f=f||this._flags.last_token.type===c.WORD&&this._flags.mode===B.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===B.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||S(this._flags.last_token,["get","set"])),f?(this.set_mode(B.Statement),this.indent(),this.handle_whitespace_and_comments(i,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(i,S(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=B.Expression;if(i.text==="["){if(this._flags.last_token.type===c.WORD||this._flags.last_token.text===")"){S(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=B.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=B.ForInitializer):u(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,f=B.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 R=this._tokens.peek(-3);if(this._options.space_after_named_function&&R){var F=this._tokens.peek(-4);S(R,["async","function"])||R.text==="*"&&S(F,["async","function"])?this._output.space_before_token=!0:this._flags.mode===B.ObjectLiteral?(R.text==="{"||R.text===","||R.text==="*"&&(F.text==="{"||F.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===B.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===B.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(),ye(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===B.Conditional&&(this._previous_flags.mode=B.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},m.prototype.handle_start_block=function(i){this.handle_whitespace_and_comments(i);var f=this._tokens.peek(),R=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===c.END_EXPR?(this.set_mode(B.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(B.BlockStatement):R&&(u(R.text,[":",","])&&u(f.type,[c.STRING,c.WORD,c.RESERVED])||u(f.text,["get","set","..."])&&u(R.type,[c.WORD,c.RESERVED]))?u(this._last_last_text,["class","interface"])&&!u(R.text,[":",","])?this.set_mode(B.BlockStatement):this.set_mode(B.ObjectLiteral):this._flags.last_token.type===c.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(B.BlockStatement):u(this._flags.last_token.type,[c.EQUALS,c.START_EXPR,c.COMMA,c.OPERATOR])||S(this._flags.last_token,["return","throw","import","default"])?this.set_mode(B.ObjectLiteral):this.set_mode(B.BlockStatement),this._flags.last_token&&S(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var F=!f.comments_before&&f.text==="}",Q=F&&this._flags.last_word==="function"&&this._flags.last_token.type===c.END_EXPR;if(this._options.brace_preserve_inline){var oe=0,_e=null;this._flags.inline_frame=!0;do if(oe+=1,_e=this._tokens.peek(oe-1),_e.newlines){this._flags.inline_frame=!1;break}while(_e.type!==c.EOF&&!(_e.type===c.END_BLOCK&&_e.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&&(Q||this._flags.last_token.type===c.EQUALS||S(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(),!F&&!(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===B.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!==B.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===B.ObjectLiteral){var f=this._tokens.peek();f.text===":"&&(i.type=c.WORD)}}if(this.start_of_statement(i)?S(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||!S(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===B.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&S(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===B.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?S(this._flags.last_token,["get","set","new","export"])||S(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 R="NONE";if(this._flags.last_token.type===c.END_BLOCK?this._previous_flags.inline_frame?R="SPACE":S(i,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&i.newlines?R="NEWLINE":(R="SPACE",this._output.space_before_token=!0):R="NEWLINE":this._flags.last_token.type===c.SEMICOLON&&this._flags.mode===B.BlockStatement?R="NEWLINE":this._flags.last_token.type===c.SEMICOLON&&d(this._flags.mode)?R="SPACE":this._flags.last_token.type===c.STRING?R="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===B.ObjectLiteral&&u(this._last_last_text,["{",","]))?R="SPACE":this._flags.last_token.type===c.START_BLOCK?this._flags.inline_frame?R="SPACE":R="NEWLINE":this._flags.last_token.type===c.END_EXPR&&(this._output.space_before_token=!0,R="NEWLINE"),S(i,p)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?R="SPACE":R="NEWLINE"),S(i,["else","catch","finally"]))if((!(this._flags.last_token.type===c.END_BLOCK&&this._previous_flags.mode===B.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&i.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var F=this._output.current_line;F.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else R==="NEWLINE"?S(this._flags.last_token,T)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&S(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||!S(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()):S(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():R==="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===B.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===B.ObjectLiteral||this._flags.mode===B.Statement&&this._flags.parent.mode===B.ObjectLiteral?(this._flags.mode===B.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(i)},m.prototype.handle_operator=function(i){var f=i.text==="*"&&(S(this._flags.last_token,["function","yield"])||u(this._flags.last_token.type,[c.START_BLOCK,c.COMMA,c.END_BLOCK,c.SEMICOLON])),R=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 F=!f;this.handle_whitespace_and_comments(i,F)}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,G)&&this.allow_wrap_or_preserved_newline(i),i.text===":"&&this._flags.in_case){this.print_token(i),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==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 Q=!0,oe=!0,_e=!1;if(i.text===":"?this._flags.ternary_depth===0?Q=!1:(this._flags.ternary_depth-=1,_e=!0):i.text==="?"&&(this._flags.ternary_depth+=1),!R&&!f&&this._options.preserve_newlines&&u(i.text,h)){var ge=i.text===":",$e=ge&&_e,Xe=ge&&!_e;switch(this._options.operator_position){case z.before_newline:this._output.space_before_token=!Xe,this.print_token(i),(!ge||$e)&&this.allow_wrap_or_preserved_newline(i),this._output.space_before_token=!0;return;case z.after_newline:this._output.space_before_token=!0,!ge||$e?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:Xe||this.allow_wrap_or_preserved_newline(i),Q=!(this._output.just_added_newline()||Xe),this._output.space_before_token=Q,this.print_token(i),this._output.space_before_token=!0;return}}if(f){this.allow_wrap_or_preserved_newline(i),Q=!1;var Ye=this._tokens.peek();oe=Ye&&u(Ye.type,[c.WORD,c.RESERVED])}else if(i.text==="...")this.allow_wrap_or_preserved_newline(i),Q=this._flags.last_token.type===c.START_BLOCK,oe=!1;else if(u(i.text,["--","++","!","~"])||R){if((this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR)&&this.allow_wrap_or_preserved_newline(i),Q=!1,oe=!1,i.newlines&&(i.text==="--"||i.text==="++"||i.text==="~")){var te=S(this._flags.last_token,T)&&i.newlines;te&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(te,!0)}this._flags.last_token.text===";"&&d(this._flags.mode)&&(Q=!0),this._flags.last_token.type===c.RESERVED?Q=!0:this._flags.last_token.type===c.END_EXPR?Q=!(this._flags.last_token.text==="]"&&(i.text==="--"||i.text==="++")):this._flags.last_token.type===c.OPERATOR&&(Q=u(i.text,["--","-","++","+"])&&u(this._flags.last_token.text,["--","-","++","+"]),u(i.text,["+","-"])&&u(this._flags.last_token.text,["--","++"])&&(oe=!0)),(this._flags.mode===B.BlockStatement&&!this._flags.inline_frame||this._flags.mode===B.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Q,this.print_token(i),this._output.space_before_token=oe},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 R=g(i.text),F,Q=!1,oe=!1,_e=i.whitespace_before,ge=_e.length;if(this.print_newline(!1,f),this.print_token_line_indentation(i),this._output.add_token(R[0]),this.print_newline(!1,f),R.length>1){for(R=R.slice(1),Q=v(R,"*"),oe=E(R,_e),Q&&(this._flags.alignment=1),F=0;F<R.length;F++)Q?(this.print_token_line_indentation(i),this._output.add_token(l(R[F]))):oe&&R[F]?(this.print_token_line_indentation(i),this._output.add_token(R[F].substring(ge))):(this._output.current_line.set_indent(-1),this._output.add_token(R[F])),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),S(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===B.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]/,S=/[^\d\.]/,T=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),D=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";D=D.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),D="\\?\\.(?!\\d) "+D,D=D.replace(/ /g,"|");var z=new RegExp(D),G="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),B=G.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),ye=new RegExp("^(?:"+B.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"))&&ye.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==="."&&S.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,R=0;n;){var F=!!n[1],Q=n[2],oe=!!n[n.length-1]||Q.slice(0,8)==="![CDATA[";if(!oe&&(Q===i||f&&Q.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(F?--R:++R),m+=n[0],R<=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(),R="";this._input.hasNext();){if(R=this._input.next(),R===v||!E&&a.newline.test(R)){this._input.back();break}else R==="\\"&&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(),R+=this._input.next()):m&&(m==="${"&&R==="$"&&this._input.peek()==="{"&&(R+=this._input.next()),m===R&&(v==="`"?R+=this._read_string_recursive("}",E,"`"):R+=this._read_string_recursive("`",E,"${"),this._input.hasNext()&&(R+=this._input.next())));R+=i.read(),f+=R}return f},C.exports.Tokenizer=_,C.exports.TOKEN=u,C.exports.positionable_operators=T.slice(),C.exports.line_starters=G.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 Z(C){var e=L[C];if(e!==void 0)return e.exports;var w=L[C]={exports:{}};return j[C](w,w.exports,Z),w.exports}var V=Z(0);N=V})();var $=N;k=[],O=function(){return{js_beautify:$}}.apply(se,k),O!==void 0&&(Ae.exports=O)})()},75918:function(Ae,se,k){"use strict";k.d(se,{Wi:function(){return Z},Z0:function(){return V},aU:function(){return L},eZ:function(){return e},wY:function(){return C}});var O=k(4348),N=k(69323),$=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 N.JT{constructor(o,r="",t="",s=!0,a){super(),this._onDidChange=this._register(new O.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 Z extends N.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new O.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new O.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 V extends L{constructor(o){super(V.ID,o,o?"separator text":"separator"),this.checked=!1,this.enabled=!1}}V.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,$.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(Ae,se,k){"use strict";k.d(se,{ok:function(){return O}});function O(N,$){if(!N)throw new Error($?`Assertion failed (${$})`:"Assertion Failed")}},52615:function(Ae,se,k){"use strict";k.d(se,{CM:function(){return L},JL:function(){return Z},dT:function(){return C},fK:function(){return j},lA:function(){return V}});var O=k(4348);class N{constructor(){this._icons=new Map,this._onDidRegister=new O.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 $=new N,j=$;function L(e,w){return new V(e,w)}function Z(e){return e?e.replace(/\$\((.*?)\)/g,(w,o)=>` ${o} `).trim():""}class V{constructor(w,o,r){this.id=w,this.definition=o,this.description=r,$.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 V)return["codicon","codicon-"+s.id];const a=w.exec(s.id);if(!a)return o(V.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"})}(V||(V={}))},79881:function(Ae,se,k){"use strict";k.d(se,{B8:function(){return o},Cp:function(){return j},F0:function(){return C},L6:function(){return w},VV:function(){return V},b1:function(){return e},dL:function(){return $},ri:function(){return L}});class O{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 N=new O;function $(r){V(r)||N.onUnexpectedError(r)}function j(r){V(r)||N.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 Z="Canceled";function V(r){return r instanceof Error&&r.name===Z&&r.message===Z}function C(){const r=new Error(Z);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(Ae,se,k){"use strict";k.d(se,{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 O=k(79881),N=k(69323),$=k(34502),j=k(95830),L;(function(s){s.None=()=>N.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,N.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 S(d,v,E=100,m=!1,n){let i,f,R,F=0;const Q=new e({leakWarningThreshold:n,onFirstListenerAdd(){i=d(oe=>{F++,f=v(f,oe),m&&!R&&(Q.fire(f),f=void 0),clearTimeout(R),R=setTimeout(()=>{const _e=f;f=void 0,R=void 0,(!m||F>1)&&Q.fire(_e),F=0},E)})},onLastListenerRemove(){i.dispose()}});return Q.event}s.debounce=S;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 D(d,v){return[s.filter(d,v),s.filter(d,E=>!v(E))]}s.split=D;function z(d,v=!1,E=[]){let m=E.slice(),n=d(R=>{m?m.push(R):f.fire(R)});const i=()=>{m&&m.forEach(R=>f.fire(R)),m=null},f=new e({onFirstListenerAdd(){n||(n=d(R=>f.fire(R)))},onFirstListenerDidAdd(){m&&(v?setTimeout(i):i())},onLastListenerRemove(){n&&n.dispose(),n=null}});return f.event}s.buffer=z;class G{constructor(v){this.event=v}map(v){return new G(p(this.event,v))}forEach(v){return new G(h(this.event,v))}filter(v){return new G(c(this.event,v))}reduce(v,E){return new G(y(this.event,v,E))}latch(){return new G(T(this.event))}debounce(v,E=100,m=!1,n){return new G(S(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 B(d){return new G(d)}s.chain=B;function ye(d,v,E=m=>m){const m=(...R)=>f.fire(E(...R)),n=()=>d.on(v,m),i=()=>d.removeListener(v,m),f=new e({onFirstListenerAdd:n,onLastListenerRemove:i});return f.event}s.fromNodeEventEmitter=ye;function g(d,v,E=m=>m){const m=(...R)=>f.fire(E(...R)),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 Z{constructor(a){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${a}_${Z._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}}}Z._idPool=0;let V=-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=V;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=V>0?new C(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((p=this._options)===null||p===void 0)&&p._profName?new Z(this._options._profName):void 0}get event(){return this._event||(this._event=(a,p,h)=>{var c;this._listeners||(this._listeners=new $.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,N.OF)(()=>{y&&y(),this._disposed||(l(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return h instanceof N.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 $.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,O.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 $.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=N.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(Ae,se,k){"use strict";k.d(se,{I:function(){return O}});function O(N){const $=this;let j=!1,L;return function(){return j||(j=!0,L=N.apply($,arguments)),L}}},88226:function(Ae,se,k){"use strict";k.d(se,{$:function(){return O}});var O;(function(N){function $(l){return l&&typeof l=="object"&&typeof l[Symbol.iterator]=="function"}N.is=$;const j=Object.freeze([]);function L(){return j}N.empty=L;function*Z(l){yield l}N.single=Z;function V(l){return l||j}N.from=V;function C(l){return!l||l[Symbol.iterator]().next().done===!0}N.isEmpty=C;function e(l){return l[Symbol.iterator]().next().value}N.first=e;function w(l,y){for(const x of l)if(y(x))return!0;return!1}N.some=w;function o(l,y){for(const x of l)if(y(x))return x}N.find=o;function*r(l,y){for(const x of l)y(x)&&(yield x)}N.filter=r;function*t(l,y){let x=0;for(const S of l)yield y(S,x++)}N.map=t;function*s(...l){for(const y of l)for(const x of y)yield x}N.concat=s;function*a(l){for(const y of l)for(const x of y)yield x}N.concatNested=a;function p(l,y,x){let S=x;for(const T of l)S=y(S,T);return S}N.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]}N.slice=h;function c(l,y=Number.POSITIVE_INFINITY){const x=[];if(y===0)return[x,l];const S=l[Symbol.iterator]();for(let T=0;T<y;T++){const D=S.next();if(D.done)return[x,N.empty()];x.push(D.value)}return[x,{[Symbol.iterator](){return S}}]}N.consume=c;function u(l,y,x=(S,T)=>S===T){const S=l[Symbol.iterator](),T=y[Symbol.iterator]();for(;;){const D=S.next(),z=T.next();if(D.done!==z.done)return!1;if(D.done)return!0;if(!x(D.value,z.value))return!1}}N.equals=u})(O||(O={}))},69323:function(Ae,se,k){"use strict";k.d(se,{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 O=k(17845),N=k(88226);const $=!1;let j=null;function L(l){j=l}if($){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(S){}}markAsDisposed(y){if(y&&y!==h.None)try{y[l]=!0}catch(x){}}markAsSingleton(y){}})}function Z(l){return j==null||j.trackDisposable(l),l}function V(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(N.$.is(l)){let y=[];for(const x of l)if(x)try{x.dispose()}catch(S){y.push(S)}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=Z({dispose:(0,O.I)(()=>{V(y),l()})});return y}class p{constructor(){this._toDispose=new Set,this._isDisposed=!1,Z(this)}dispose(){this._isDisposed||(V(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,Z(this),C(this._store,this)}dispose(){V(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,Z(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,V(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(Ae,se,k){"use strict";k.d(se,{S:function(){return N}});class O{constructor(j){this.element=j,this.next=O.Undefined,this.prev=O.Undefined}}O.Undefined=new O(void 0);class N{constructor(){this._first=O.Undefined,this._last=O.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===O.Undefined}clear(){let j=this._first;for(;j!==O.Undefined;){const L=j.next;j.prev=O.Undefined,j.next=O.Undefined,j=L}this._first=O.Undefined,this._last=O.Undefined,this._size=0}unshift(j){return this._insert(j,!1)}push(j){return this._insert(j,!0)}_insert(j,L){const Z=new O(j);if(this._first===O.Undefined)this._first=Z,this._last=Z;else if(L){const C=this._last;this._last=Z,Z.prev=C,C.next=Z}else{const C=this._first;this._first=Z,Z.next=C,C.prev=Z}this._size+=1;let V=!1;return()=>{V||(V=!0,this._remove(Z))}}shift(){if(this._first!==O.Undefined){const j=this._first.element;return this._remove(this._first),j}}pop(){if(this._last!==O.Undefined){const j=this._last.element;return this._remove(this._last),j}}_remove(j){if(j.prev!==O.Undefined&&j.next!==O.Undefined){const L=j.prev;L.next=j.next,j.next.prev=L}else j.prev===O.Undefined&&j.next===O.Undefined?(this._first=O.Undefined,this._last=O.Undefined):j.next===O.Undefined?(this._last=this._last.prev,this._last.next=O.Undefined):j.prev===O.Undefined&&(this._first=this._first.next,this._first.prev=O.Undefined);this._size-=1}*[Symbol.iterator](){let j=this._first;for(;j!==O.Undefined;)yield j.element,j=j.next}}},23345:function(Ae,se,k){"use strict";k.d(se,{$L:function(){return S},ED:function(){return u},IJ:function(){return y},OS:function(){return G},WE:function(){return D},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 O=k(97671),N;const $="en";let j=!1,L=!1,Z=!1,V=!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 O!="undefined"&&(p=O);const h=typeof((N=p==null?void 0:p.versions)===null||N===void 0?void 0:N.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,Z=s.indexOf("Linux")>=0,e=!0,o=navigator.language,r=o;else if(typeof p=="object"){j=p.platform==="win32",L=p.platform==="darwin",Z=p.platform==="linux",V=Z&&!!p.env.SNAP&&!!p.env.SNAP_REVISION,o=$,r=$;const _=p.env.VSCODE_NLS_CONFIG;if(_)try{const d=JSON.parse(_),v=d.availableLanguages["*"];o=d.locale,r=v||$,t=d._translationsConfigFile}catch(d){}C=!0}else console.error("Unable to resolve platform.");let c=0;L?c=1:j?c=3:Z&&(c=2);const u=j,l=L,y=Z,x=C,S=e,T=w,D=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)}(),G=L||w?2:j?1:3;let B=!0,ye=!1;function g(){if(!ye){ye=!0;const _=new Uint8Array(2);_[0]=1,_[1]=2,B=new Uint16Array(_.buffer)[0]===513}return B}},95830:function(Ae,se,k){"use strict";k.d(se,{G:function(){return $}});var O=k(23345);const N=O.li.performance&&typeof O.li.performance.now=="function";class ${constructor(L){this._highResolution=N&&L,this._startTime=this._now(),this._stopTime=-1}static create(L=!0){return new $(L)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?O.li.performance.now():Date.now()}}},82983:function(Ae,se,k){"use strict";k.d(se,{$i:function(){return F},C8:function(){return $e},GF:function(){return o},HO:function(){return E},IO:function(){return r},K7:function(){return ge},Kw:function(){return te},LC:function(){return a},Mh:function(){return z},P1:function(){return G},PJ:function(){return pe},Qe:function(){return Q},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 $},YK:function(){return ye},YU:function(){return j},ZG:function(){return B},ZH:function(){return _},ab:function(){return oe},c1:function(){return Xe},df:function(){return S},ec:function(){return L},fi:function(){return xe},fy:function(){return Z},j3:function(){return V},j_:function(){return y},m5:function(){return O},mK:function(){return x},mr:function(){return t},oH:function(){return I},oL:function(){return C},ok:function(){return D},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 _e},zY:function(){return l}});function O(b){return!b||typeof b!="string"?!0:b.trim().length===0}const N=/{(\d+)}/g;function $(b,...A){return A.length===0?b:b.replace(N,function(K,X){const ie=parseInt(X,10);return isNaN(ie)||ie<0||ie>=A.length?K:A[ie]})}function j(b){return b.replace(/[<>&]/g,function(A){switch(A){case"<":return"<";case">":return">";case"&":return"&";default:return A}})}function L(b){return b.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Z(b,A=" "){const K=V(b,A);return C(K,A)}function V(b,A){if(!b||!A)return b;const K=A.length;if(K===0||b.length===0)return b;let X=0;for(;b.indexOf(A,X)===X;)X=X+K;return b.substring(X)}function C(b,A){if(!b||!A)return b;const K=A.length,X=b.length;if(K===0||X===0)return b;let ie=X,he=-1;for(;he=b.lastIndexOf(A,ie-1),!(he===-1||he+K!==ie);){if(he===0)return"";ie=he}return b.substring(0,ie)}function e(b){return b.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function w(b){return b.replace(/\*/g,"")}function o(b,A,K={}){if(!b)throw new Error("Cannot create regex from empty string");A||(b=L(b)),K.wholeWord&&(/\B/.test(b.charAt(0))||(b="\\b"+b),/\B/.test(b.charAt(b.length-1))||(b=b+"\\b"));let X="";return K.global&&(X+="g"),K.matchCase||(X+="i"),K.multiline&&(X+="m"),K.unicode&&(X+="u"),new RegExp(b,X)}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,K=b.length;A<K;A++){const X=b.charCodeAt(A);if(X!==32&&X!==9)return A}return-1}function p(b,A=0,K=b.length){for(let X=A;X<K;X++){const ie=b.charCodeAt(X);if(ie!==32&&ie!==9)return b.substring(A,X)}return b.substring(A,K)}function h(b,A=b.length-1){for(let K=A;K>=0;K--){const X=b.charCodeAt(K);if(X!==32&&X!==9)return K}return-1}function c(b,A){return b<A?-1:b>A?1:0}function u(b,A,K=0,X=b.length,ie=0,he=A.length){for(;K<X&&ie<he;K++,ie++){let je=b.charCodeAt(K),Ve=A.charCodeAt(ie);if(je<Ve)return-1;if(je>Ve)return 1}const Re=X-K,de=he-ie;return Re<de?-1:Re>de?1:0}function l(b,A){return y(b,A,0,b.length,0,A.length)}function y(b,A,K=0,X=b.length,ie=0,he=A.length){for(;K<X&&ie<he;K++,ie++){let je=b.charCodeAt(K),Ve=A.charCodeAt(ie);if(je===Ve)continue;if(je>=128||Ve>=128)return u(b.toLowerCase(),A.toLowerCase(),K,X,ie,he);x(je)&&(je-=32),x(Ve)&&(Ve-=32);const qe=je-Ve;if(qe!==0)return qe}const Re=X-K,de=he-ie;return Re<de?-1:Re>de?1:0}function x(b){return b>=97&&b<=122}function S(b){return b>=65&&b<=90}function T(b,A){return b.length===A.length&&y(b,A)===0}function D(b,A){const K=A.length;return A.length>b.length?!1:y(b,A,0,K)===0}function z(b,A){let K,X=Math.min(b.length,A.length);for(K=0;K<X;K++)if(b.charCodeAt(K)!==A.charCodeAt(K))return K;return X}function G(b,A){let K,X=Math.min(b.length,A.length);const ie=b.length-1,he=A.length-1;for(K=0;K<X;K++)if(b.charCodeAt(ie-K)!==A.charCodeAt(he-K))return K;return X}function B(b){return 55296<=b&&b<=56319}function ye(b){return 56320<=b&&b<=57343}function g(b,A){return(b-55296<<10)+(A-56320)+65536}function _(b,A,K){const X=b.charCodeAt(K);if(B(X)&&K+1<A){const ie=b.charCodeAt(K+1);if(ye(ie))return g(X,ie)}return X}function d(b,A){const K=b.charCodeAt(A-1);if(ye(K)&&A>1){const X=b.charCodeAt(A-2);if(B(X))return g(X,K)}return K}function v(b,A){const K=M.getInstance(),X=A,ie=b.length,he=_(b,ie,A);A+=he>=65536?2:1;let Re=K.getGraphemeBreakType(he);for(;A<ie;){const de=_(b,ie,A),je=K.getGraphemeBreakType(de);if(xe(Re,je))break;A+=de>=65536?2:1,Re=je}return A-X}function E(b,A){const K=M.getInstance(),X=A,ie=d(b,A);A-=ie>=65536?2:1;let he=K.getGraphemeBreakType(ie);for(;A>0;){const Re=d(b,A),de=K.getGraphemeBreakType(Re);if(xe(de,he))break;A-=Re>=65536?2:1,he=de}return X-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 R=/^[\t\n\r\x20-\x7E]*$/;function F(b){return R.test(b)}const Q=/[\u2028\u2029]/;function oe(b){return Q.test(b)}function _e(b){for(let A=0,K=b.length;A<K;A++)if(ge(b.charCodeAt(A)))return!0;return!1}function ge(b){return b=+b,b>=11904&&b<=55215||b>=63744&&b<=64255||b>=65281&&b<=65374}function $e(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 Xe="\uFEFF";function Ye(b){return!!(b&&b.length>0&&b.charCodeAt(0)===65279)}function te(b,A=!1){return b?(A&&(b=b.replace(/\\./g,"")),b.toLowerCase()!==b):!1}function pe(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 xe(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=Y()}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 K=this._data,X=K.length/3;let ie=1;for(;ie<=X;)if(A<K[3*ie])ie=2*ie;else if(A>K[3*ie+1])ie=2*ie+1;else return K[3*ie+2];return 0}}M._INSTANCE=null;function Y(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function I(b,A){if(b===0)return 0;const K=q(b,A);if(K!==void 0)return K;const X=d(A,b);return b-=ne(X),b}function q(b,A){let K=d(A,b);for(b-=ne(K);fe(K)||K===65039||K===8419;){if(b===0)return;K=d(A,b),b-=ne(K)}if($e(K)){if(b>=0){const X=d(A,b);X===8205&&(b-=ne(X))}return b}}function ne(b){return b>=65536?2:1}function fe(b){return 127995<=b&&b<=127999}},72999:function(Ae,se,k){"use strict";k.d(se,{$E:function(){return a},$K:function(){return V},D8:function(){return r},HD:function(){return N},IU:function(){return p},Jp:function(){return C},Kn:function(){return $},cW:function(){return w},f6:function(){return h},hj:function(){return j},jn:function(){return L},kJ:function(){return O},mf:function(){return o},o8:function(){return Z},p_:function(){return e},vE:function(){return c}});function O(u){return Array.isArray(u)}function N(u){return typeof u=="string"}function $(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 Z(u){return typeof u=="undefined"}function V(u){return!C(u)}function C(u){return Z(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(N(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=S=>function(){const T=Array.prototype.slice.call(arguments,0);return l(S,T)};let x={};for(const S of u)x[S]=y(S);return x}function h(u){return u===null?void 0:u}function c(u,l="Unreachable"){throw new Error(l)}},13268:function(Ae,se,k){"use strict";k.d(se,{N:function(){return N}});function O($,j){let L;return j.length===0?L=$:L=$.replace(/\{(\d+)\}/g,function(Z,V){const C=V[0];return typeof j[C]!="undefined"?j[C]:Z}),L}function N($,j,...L){return O(j,L)}},96236:function(Ae,se,k){"use strict";k.d(se,{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 O=k(75918),N=k(52615),$=k(4348),j=k(88226),L=k(69323),Z=k(34502),V=k(35884),C=k(90689),e=k(16925),w=k(49055),o=function(u,l,y,x){var S=arguments.length,T=S<3?l:x===null?x=Object.getOwnPropertyDescriptor(l,y):x,D;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--)(D=u[z])&&(T=(S<3?D(T):S>3?D(l,y,T):D(l,y))||T);return S>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 $.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 Z.S;for(const{id:x,item:S}of u){let T=this._menuItems.get(x);T||(T=new Z.S,this._menuItems.set(x,T)),y.push(T.push(S)),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 O.wY{constructor(l,y,x,S){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=S}get actions(){const l=[],y=this._menuService.createMenu(this.item.submenu,this._contextKeyService),x=y.getActions(this._options);y.dispose();for(const[,S]of x)S.length>0&&(l.push(...S),l.push(new O.Z0));return l.length&&l.pop(),l}}let c=class Ri{constructor(l,y,x,S,T){var D,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:(D=l.tooltip)===null||D===void 0?void 0:D.value)!==null&&z!==void 0?z:"",this.enabled=!l.precondition||S.contextMatchesRules(l.precondition),this.checked=void 0,l.toggled){const G=l.toggled.condition?l.toggled:{condition:l.toggled};this.checked=S.contextMatchesRules(G.condition),this.checked&&G.tooltip&&(this.tooltip=typeof G.tooltip=="string"?G.tooltip:G.tooltip.value),G.title&&(this.label=typeof G.title=="string"?G.title:G.title.value)}this.item=l,this.alt=y?new Ri(y,void 0,x,S,T):void 0,this._options=x,w.kS.isThemeIcon(l.icon)&&(this.class=N.dT.asClassName(l.icon))}dispose(){}run(...l){var y,x;let S=[];return!((y=this._options)===null||y===void 0)&&y.arg&&(S=[...S,this._options.arg]),!((x=this._options)===null||x===void 0)&&x.shouldForwardArgs&&(S=[...S,...l]),this._commandService.executeCommand(this.id,...S)}};c=o([r(3,C.i6),r(4,V.H)],c)},35884:function(Ae,se,k){"use strict";k.d(se,{H:function(){return V},P:function(){return C}});var O=k(4348),N=k(88226),$=k(69323),j=k(34502),L=k(72999),Z=k(16925);const V=(0,Z.yh)("commandService"),C=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new O.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,$.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(V).executeCommand(w,...r))}getCommand(e){const w=this._commands.get(e);if(!(!w||w.isEmpty()))return N.$.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(Ae,se,k){"use strict";k.d(se,{Ao:function(){return V},Eq:function(){return g},Fb:function(){return C},K8:function(){return v},i6:function(){return ye},uy:function(){return B}});var O=k(23345),N=k(82983),$=k(16925);let j=O.WE||"";const L=new Map;L.set("false",!1),L.set("true",!0),L.set("isMac",O.dz),L.set("isLinux",O.IJ),L.set("isWindows",O.ED),L.set("isWeb",O.$L),L.set("isMacNative",O.dz&&!O.$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 Z=Object.prototype.hasOwnProperty;class V{static has(n){return r.create(n)}static equals(n,i){return t.create(n,i)}static regex(n,i){return S.create(n,i)}static not(n){return h.create(n)}static and(...n){return z.create(n,null)}static or(...n){return G.create(n,null,!0)}static deserialize(n,i=!1){if(n)return this._deserializeOrExpression(n,i)}static _deserializeOrExpression(n,i){let f=n.split("||");return G.create(f.map(R=>this._deserializeAndExpression(R,i)),null,!0)}static _deserializeAndExpression(n,i){let f=n.split("&&");return z.create(f.map(R=>this._deserializeOne(R,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 S.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,N.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("/"),R=n.lastIndexOf("/");if(f===R||f<0){if(i)throw new Error(`bad regexp-value '${n}', missing /-enclosure`);return console.warn(`bad regexp-value '${n}', missing /-enclosure`),null}let F=n.slice(f+1,R),Q=n[R+1]==="i"?"i":"";try{return new RegExp(F,Q)}catch(oe){if(i)throw new Error(`bad regexp-value '${n}', parse error: ${oe}`);return console.warn(`bad regexp-value '${n}', parse error: ${oe}`),null}}}function 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 R=L.get(n);return typeof R=="boolean"?i===(R?"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?Z.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 R=L.get(n);return typeof R=="boolean"?i===(R?"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,R=>new u(n,R,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,R=>new l(n,R,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,R=>new y(n,R,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,R=>new x(n,R,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 S{constructor(n,i){this.key=n,this.regexp=i,this.type=7,this.negated=null}static create(n,i){return new S(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 D(m){let n=null;for(let i=0,f=m.length;i<f;i++){const R=m[i].substituteConstants();if(m[i]!==R&&n===null){n=[];for(let F=0;F<i;F++)n[F]=m[F]}n!==null&&(n[i]=R)}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 R=e(this.expr[i],n.expr[i]);if(R!==0)return R}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=D(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 R=!1;for(const F of n)if(F){if(F.type===1){R=!0;continue}if(F.type===0)return w.INSTANCE;if(F.type===6){f.push(...F.expr);continue}f.push(F)}if(f.length===0&&R)return o.INSTANCE;if(f.length!==0){if(f.length===1)return f[0];f.sort(e);for(let F=1;F<f.length;F++)f[F-1].equals(f[F])&&(f.splice(F,1),F--);if(f.length===1)return f[0];for(;f.length>1;){const F=f[f.length-1];if(F.type!==9)break;f.pop();const Q=f.pop(),oe=f.length===0,_e=G.create(F.expr.map(ge=>z.create([ge,Q],null)),null,oe);_e&&(f.push(_e),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=G.create(n,this,!0)}return this.negated}}class G{constructor(n,i){this.expr=n,this.negated=i,this.type=9}static create(n,i,f){return G._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 R=e(this.expr[i],n.expr[i]);if(R!==0)return R}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=D(this.expr);return n===this.expr?this:G.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 R=[],F=!1;if(n){for(let Q=0,oe=n.length;Q<oe;Q++){const _e=n[Q];if(_e){if(_e.type===0){F=!0;continue}if(_e.type===1)return o.INSTANCE;if(_e.type===9){R=R.concat(_e.expr);continue}R.push(_e)}}if(R.length===0&&F)return w.INSTANCE;R.sort(e)}if(R.length!==0){if(R.length===1)return R[0];for(let Q=1;Q<R.length;Q++)R[Q-1].equals(R[Q])&&(R.splice(Q,1),Q--);if(R.length===1)return R[0];if(f){for(let Q=0;Q<R.length;Q++)for(let oe=Q+1;oe<R.length;oe++)v(R[Q],R[oe])&&(R.splice(oe,1),oe--);if(R.length===1)return R[0]}return new G(R,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(),R=[];for(const Q of E(i))for(const oe of E(f))R.push(z.create([Q,oe],null));const F=n.length===0;n.unshift(G.create(R,null,F))}this.negated=n[0]}return this.negated}}class B extends r{constructor(n,i,f){super(n,null),this._defaultValue=i,typeof f=="object"?B._info.push(Object.assign(Object.assign({},f),{key:n})):f!==!0&&B._info.push({key:n,description:f,type:i!=null?typeof i:void 0})}static all(){return B._info.values()}bindTo(n){return n.createKey(this.key,this._defaultValue)}getValue(n){return n.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(n){return t.create(this.key,n)}}B._info=[];const ye=(0,$.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 R of n.expr)if(m.equals(R))return!0}const i=m.negate(),f=E(i).concat(E(n));f.sort(e);for(let R=0;R<f.length;R++){const Q=f[R].negate();for(let oe=R+1;oe<f.length;oe++){const _e=f[oe];if(Q.equals(_e))return!0}}return!1}function E(m){return m.type===9?m.expr:[m]}},16925:function(Ae,se,k){"use strict";k.d(se,{I8:function(){return O},TG:function(){return N},jt:function(){return L},yh:function(){return j}});var O;(function(Z){Z.serviceIds=new Map,Z.DI_TARGET="$di$target",Z.DI_DEPENDENCIES="$di$dependencies";function V(C){return C[Z.DI_DEPENDENCIES]||[]}Z.getServiceDependencies=V})(O||(O={}));const N=j("instantiationService");function $(Z,V,C,e){V[O.DI_TARGET]===V?V[O.DI_DEPENDENCIES].push({id:Z,index:C,optional:e}):(V[O.DI_DEPENDENCIES]=[{id:Z,index:C,optional:e}],V[O.DI_TARGET]=V)}function j(Z){if(O.serviceIds.has(Z))return O.serviceIds.get(Z);const V=function(C,e,w){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");$(V,C,w,!1)};return V.toString=()=>Z,O.serviceIds.set(Z,V),V}function L(Z){return function(V,C,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");$(Z,V,e,!0)}}},44650:function(Ae,se,k){"use strict";k.d(se,{B:function(){return j}});var O=k(76068),N=k(72999);class ${constructor(){this.data=new Map}add(Z,V){O.ok(N.HD(Z)),O.ok(N.Kn(V)),O.ok(!this.data.has(Z),"There is already an extension with this id"),this.data.set(Z,V)}as(Z){return this.data.get(Z)||null}}const j=new $},66213:function(Ae,se,k){"use strict";k.d(se,{e:function(){return O}});var O;(function(N){N.DARK="dark",N.LIGHT="light",N.HIGH_CONTRAST="hc"})(O||(O={}))},49055:function(Ae,se,k){"use strict";k.d(se,{EN:function(){return e},IP:function(){return r},Ic:function(){return a},XE:function(){return V},bB:function(){return p},kS:function(){return w},m6:function(){return o}});var O=k(52615),N=k(4348),$=k(69323),j=k(16925),L=k(44650),Z=k(66213);const V=(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(`^\\$\\((${O.dT.iconNameExpression}(?:${O.dT.iconModifierExpression})?)\\)$`);function l(T){const D=u.exec(T);if(!D)return;let[,z]=D;return{id:z}}h.fromString=l;function y(T,D){let z=T.id;const G=z.lastIndexOf("~");return G!==-1&&(z=z.substring(0,G)),D&&(z=`${z}~${D}`),{id:z}}h.modify=y;function x(T,D){var z,G;return T.id===D.id&&((z=T.color)===null||z===void 0?void 0:z.id)===((G=D.color)===null||G===void 0?void 0:G.id)}h.isEqual=x;function S(T,D){return{id:T.id,color:D?e(D):void 0}}h.asThemeIcon=S,h.asClassNameArray=O.dT.asClassNameArray,h.asClassName=O.dT.asClassName,h.asCSSSelector=O.dT.asCSSSelector})(w||(w={}));function o(h){switch(h){case Z.e.DARK:return"vs-dark";case Z.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 N.Q5}onColorThemeChange(c){return this.themingParticipants.push(c),this.onThemingParticipantAddedEmitter.fire(c),(0,$.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 $.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(Ae,se,k){"use strict";k.d(se,{Z:function(){return T}});var O=k(32855),N=k(74430),$=k(11913),j=k(43079),L=k(65030),Z=k(92310),V=k.n(Z),C=k(8654),e=k(59301),w=k(10228),o=k(16089),r=w.Z.ESC,t=w.Z.TAB;function s(D){var z=D.visible,G=D.triggerRef,B=D.onVisibleChange,ye=D.autoFocus,g=D.overlayRef,_=e.useRef(!1),d=function(){if(z){var n,i;(n=G.current)===null||n===void 0||(i=n.focus)===null||i===void 0||i.call(n),B==null||B(!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),ye&&(0,o.Z)(v,3),function(){window.removeEventListener("keydown",E),_.current=!1}):function(){_.current=!1}},[z])}var a=(0,e.forwardRef)(function(D,z){var G=D.overlay,B=D.arrow,ye=D.prefixCls,g=(0,e.useMemo)(function(){var d;return typeof G=="function"?d=G():d=G,d},[G]),_=(0,C.sQ)(z,(0,C.C4)(g));return e.createElement(e.Fragment,null,B&&e.createElement("div",{className:"".concat(ye,"-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(D,z){var G,B=D.arrow,ye=B===void 0?!1:B,g=D.prefixCls,_=g===void 0?"rc-dropdown":g,d=D.transitionName,v=D.animation,E=D.align,m=D.placement,n=m===void 0?"bottomLeft":m,i=D.placements,f=i===void 0?l:i,R=D.getPopupContainer,F=D.showAction,Q=D.hideAction,oe=D.overlayClassName,_e=D.overlayStyle,ge=D.visible,$e=D.trigger,Xe=$e===void 0?["hover"]:$e,Ye=D.autoFocus,te=D.overlay,pe=D.children,le=D.onVisibleChange,xe=(0,j.Z)(D,y),M=e.useState(),Y=(0,$.Z)(M,2),I=Y[0],q=Y[1],ne="visible"in D?ge:I,fe=e.useRef(null),b=e.useRef(null),A=e.useRef(null);e.useImperativeHandle(z,function(){return fe.current});var K=function(et){q(et),le==null||le(et)};s({visible:ne,triggerRef:A,onVisibleChange:K,autoFocus:Ye,overlayRef:b});var X=function(et){var ft=D.onOverlayClick;q(!1),ft&&ft(et)},ie=function(){return e.createElement(p,{ref:b,overlay:te,prefixCls:_,arrow:ye})},he=function(){return typeof te=="function"?ie:ie()},Re=function(){var et=D.minOverlayWidthMatchTrigger,ft=D.alignPoint;return"minOverlayWidthMatchTrigger"in D?et:!ft},de=function(){var et=D.openClassName;return et!==void 0?et:"".concat(_,"-open")},je=e.cloneElement(pe,{className:V()((G=pe.props)===null||G===void 0?void 0:G.className,ne&&de()),ref:(0,C.Yr)(pe)?(0,C.sQ)(A,(0,C.C4)(pe)):void 0}),Ve=Q;return!Ve&&Xe.indexOf("contextMenu")!==-1&&(Ve=["click"]),e.createElement(L.Z,(0,O.Z)({builtinPlacements:f},xe,{prefixCls:_,ref:fe,popupClassName:V()(oe,(0,N.Z)({},"".concat(_,"-show-arrow"),ye)),popupStyle:_e,action:Xe,showAction:F,hideAction:Ve,popupPlacement:n,popupAlign:E,popupTransitionName:d,popupAnimation:v,popupVisible:ne,stretch:Re()?"minWidth":"",popup:he(),onPopupVisibleChange:K,onPopupClick:X,getPopupContainer:R}),je)}var S=e.forwardRef(x),T=S},28321:function(Ae,se,k){"use strict";k.d(se,{iz:function(){return st},ck:function(){return tt},BW:function(){return St},sN:function(){return tt},Wd:function(){return Ze},ZP:function(){return be},Xl:function(){return G}});var O=k(32855),N=k(74430),$=k(27247),j=k(3300),L=k(11913),Z=k(43079),V=k(92310),C=k.n(V),e=k(11780),w=k(18929),o=k(13697),r=k(48736),t=k(59301),s=k(4676),a=t.createContext(null);function p(P,W){return P===void 0?null:"".concat(P,"-").concat(W)}function h(P){var W=t.useContext(a);return p(W,P)}var c=k(80547),u=["children","locked"],l=t.createContext(null);function y(P,W){var H=(0,$.Z)({},P);return Object.keys(W).forEach(function(U){var J=W[U];J!==void 0&&(H[U]=J)}),H}function x(P){var W=P.children,H=P.locked,U=(0,Z.Z)(P,u),J=t.useContext(l),ee=(0,c.Z)(function(){return y(J,U)},[J,U],function(ae,ve){return!H&&(ae[0]!==ve[0]||!(0,o.Z)(ae[1],ve[1],!0))});return t.createElement(l.Provider,{value:ee},W)}var S=[],T=t.createContext(null);function D(){return t.useContext(T)}var z=t.createContext(S);function G(P){var W=t.useContext(z);return t.useMemo(function(){return P!==void 0?[].concat((0,j.Z)(W),[P]):W},[W,P])}var B=t.createContext(null),ye=t.createContext({}),g=ye,_=k(29194);function d(P){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,_.Z)(P)){var H=P.nodeName.toLowerCase(),U=["input","select","textarea","button"].includes(H)||P.isContentEditable||H==="a"&&!!P.getAttribute("href"),J=P.getAttribute("tabindex"),ee=Number(J),ae=null;return J&&!Number.isNaN(ee)?ae=ee:U&&ae===null&&(ae=0),U&&P.disabled&&(ae=null),ae!==null&&(ae>=0||W&&ae<0)}return!1}function v(P){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,H=(0,j.Z)(P.querySelectorAll("*")).filter(function(U){return d(U,W)});return d(P,W)&&H.unshift(P),H}var E=null;function m(){E=document.activeElement}function n(){E=null}function i(){if(E)try{E.focus()}catch(P){}}function f(P,W){if(W.keyCode===9){var H=v(P),U=H[W.shiftKey?0:H.length-1],J=U===document.activeElement||P===document.activeElement;if(J){var ee=H[W.shiftKey?H.length-1:0];ee.focus(),W.preventDefault()}}}var R=k(10228),F=k(16089),Q=R.Z.LEFT,oe=R.Z.RIGHT,_e=R.Z.UP,ge=R.Z.DOWN,$e=R.Z.ENTER,Xe=R.Z.ESC,Ye=R.Z.HOME,te=R.Z.END,pe=[_e,ge,Q,oe];function le(P,W,H,U){var J,ee="prev",ae="next",ve="children",Ue="parent";if(P==="inline"&&U===$e)return{inlineTrigger:!0};var ke=(0,N.Z)((0,N.Z)({},_e,ee),ge,ae),at=(0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)({},Q,H?ae:ee),oe,H?ee:ae),ge,ve),$e,ve),Pe=(0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)({},_e,ee),ge,ae),$e,ve),Xe,Ue),Q,H?ve:Ue),oe,H?Ue:ve),De={inline:ke,horizontal:at,vertical:Pe,inlineSub:ke,horizontalSub:Pe,verticalSub:Pe},Ie=(J=De["".concat(P).concat(W?"":"Sub")])===null||J===void 0?void 0:J[U];switch(Ie){case ee:return{offset:-1,sibling:!0};case ae:return{offset:1,sibling:!0};case Ue:return{offset:-1,sibling:!1};case ve:return{offset:1,sibling:!1};default:return null}}function xe(P){for(var W=P;W;){if(W.getAttribute("data-menu-list"))return W;W=W.parentElement}return null}function M(P,W){for(var H=P||document.activeElement;H;){if(W.has(H))return H;H=H.parentElement}return null}function Y(P,W){var H=v(P,!0);return H.filter(function(U){return W.has(U)})}function I(P,W,H){var U=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!P)return null;var J=Y(P,W),ee=J.length,ae=J.findIndex(function(ve){return H===ve});return U<0?ae===-1?ae=ee-1:ae-=1:U>0&&(ae+=1),ae=(ae+ee)%ee,J[ae]}var q=function(W,H){var U=new Set,J=new Map,ee=new Map;return W.forEach(function(ae){var ve=document.querySelector("[data-menu-id='".concat(p(H,ae),"']"));ve&&(U.add(ve),ee.set(ve,ae),J.set(ae,ve))}),{elements:U,key2element:J,element2key:ee}};function ne(P,W,H,U,J,ee,ae,ve,Ue,ke){var at=t.useRef(),Pe=t.useRef();Pe.current=W;var De=function(){F.Z.cancel(at.current)};return t.useEffect(function(){return function(){De()}},[]),function(Ie){var Je=Ie.which;if([].concat(pe,[$e,Xe,Ye,te]).includes(Je)){var He=ee(),we=q(He,U),Se=we,it=Se.elements,We=Se.key2element,Le=Se.element2key,ot=We.get(W),Ge=M(ot,it),rt=Le.get(Ge),Pt=le(P,ae(rt,!0).length===1,H,Je);if(!Pt&&Je!==Ye&&Je!==te)return;(pe.includes(Je)||[Ye,te].includes(Je))&&Ie.preventDefault();var mt=function(Rt){if(Rt){var un=Rt,pt=Rt.querySelector("a");pt!=null&&pt.getAttribute("href")&&(un=pt);var Qt=Le.get(Rt);ve(Qt),De(),at.current=(0,F.Z)(function(){Pe.current===Qt&&un.focus()})}};if([Ye,te].includes(Je)||Pt.sibling||!Ge){var Vt;!Ge||P==="inline"?Vt=J.current:Vt=xe(Ge);var kt,Dt=Y(Vt,it);Je===Ye?kt=Dt[0]:Je===te?kt=Dt[Dt.length-1]:kt=I(Vt,it,Ge,Pt.offset),mt(kt)}else if(Pt.inlineTrigger)Ue(rt);else if(Pt.offset>0)Ue(rt,!0),De(),at.current=(0,F.Z)(function(){we=q(He,U);var Gt=Ge.getAttribute("aria-controls"),Rt=document.getElementById(Gt),un=I(Rt,we.elements);mt(un)},5);else if(Pt.offset<0){var Ht=ae(rt,!0),jt=Ht[Ht.length-2],Bt=We.get(jt);Ue(jt,!1),mt(Bt)}}ke==null||ke(Ie)}}function fe(P){Promise.resolve().then(P)}var b="__RC_UTIL_PATH_SPLIT__",A=function(W){return W.join(b)},K=function(W){return W.split(b)},X="rc-menu-more";function ie(){var P=t.useState({}),W=(0,L.Z)(P,2),H=W[1],U=(0,t.useRef)(new Map),J=(0,t.useRef)(new Map),ee=t.useState([]),ae=(0,L.Z)(ee,2),ve=ae[0],Ue=ae[1],ke=(0,t.useRef)(0),at=(0,t.useRef)(!1),Pe=function(){at.current||H({})},De=(0,t.useCallback)(function(We,Le){var ot=A(Le);J.current.set(ot,We),U.current.set(We,ot),ke.current+=1;var Ge=ke.current;fe(function(){Ge===ke.current&&Pe()})},[]),Ie=(0,t.useCallback)(function(We,Le){var ot=A(Le);J.current.delete(ot),U.current.delete(We)},[]),Je=(0,t.useCallback)(function(We){Ue(We)},[]),He=(0,t.useCallback)(function(We,Le){var ot=U.current.get(We)||"",Ge=K(ot);return Le&&ve.includes(Ge[0])&&Ge.unshift(X),Ge},[ve]),we=(0,t.useCallback)(function(We,Le){return We.filter(function(ot){return ot!==void 0}).some(function(ot){var Ge=He(ot,!0);return Ge.includes(Le)})},[He]),Se=function(){var Le=(0,j.Z)(U.current.keys());return ve.length&&Le.push(X),Le},it=(0,t.useCallback)(function(We){var Le="".concat(U.current.get(We)).concat(b),ot=new Set;return(0,j.Z)(J.current.keys()).forEach(function(Ge){Ge.startsWith(Le)&&ot.add(J.current.get(Ge))}),ot},[]);return t.useEffect(function(){return function(){at.current=!0}},[]),{registerPath:De,unregisterPath:Ie,refreshOverflowKeys:Je,isSubPathKey:we,getKeyPath:He,getKeys:Se,getSubPathKeys:it}}function he(P){var W=t.useRef(P);W.current=P;var H=t.useCallback(function(){for(var U,J=arguments.length,ee=new Array(J),ae=0;ae<J;ae++)ee[ae]=arguments[ae];return(U=W.current)===null||U===void 0?void 0:U.call.apply(U,[W].concat(ee))},[]);return P?H:void 0}var Re=Math.random().toFixed(5).toString().slice(2),de=0;function je(P){var W=(0,w.Z)(P,{value:P}),H=(0,L.Z)(W,2),U=H[0],J=H[1];return t.useEffect(function(){de+=1;var ee="".concat(Re,"-").concat(de);J("rc-menu-uuid-".concat(ee))},[]),U}var Ve=k(33377),qe=k(93912),et=k(18881),ft=k(85461),Fe=k(2738),gt=k(8654);function ut(P,W,H,U){var J=t.useContext(l),ee=J.activeKey,ae=J.onActive,ve=J.onInactive,Ue={active:ee===P};return W||(Ue.onMouseEnter=function(ke){H==null||H({key:P,domEvent:ke}),ae(P)},Ue.onMouseLeave=function(ke){U==null||U({key:P,domEvent:ke}),ve(P)}),Ue}function Me(P){var W=t.useContext(l),H=W.mode,U=W.rtl,J=W.inlineIndent;if(H!=="inline")return null;var ee=P;return U?{paddingRight:ee*J}:{paddingLeft:ee*J}}function _n(P){var W=P.icon,H=P.props,U=P.children,J;return W===null||W===!1?null:(typeof W=="function"?J=t.createElement(W,(0,$.Z)({},H)):typeof W!="boolean"&&(J=W),J||U||null)}var yt=["item"];function Oe(P){var W=P.item,H=(0,Z.Z)(P,yt);return Object.defineProperty(H,"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."),W}}),H}var mn=["title","attribute","elementRef"],an=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Ct=["active"],on=function(P){(0,et.Z)(H,P);var W=(0,ft.Z)(H);function H(){return(0,Ve.Z)(this,H),W.apply(this,arguments)}return(0,qe.Z)(H,[{key:"render",value:function(){var J=this.props,ee=J.title,ae=J.attribute,ve=J.elementRef,Ue=(0,Z.Z)(J,mn),ke=(0,Fe.Z)(Ue,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,r.ZP)(!ae,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),t.createElement(e.Z.Item,(0,O.Z)({},ae,{title:typeof ee=="string"?ee:void 0},ke,{ref:ve}))}}]),H}(t.Component),en=t.forwardRef(function(P,W){var H=P.style,U=P.className,J=P.eventKey,ee=P.warnKey,ae=P.disabled,ve=P.itemIcon,Ue=P.children,ke=P.role,at=P.onMouseEnter,Pe=P.onMouseLeave,De=P.onClick,Ie=P.onKeyDown,Je=P.onFocus,He=(0,Z.Z)(P,an),we=h(J),Se=t.useContext(l),it=Se.prefixCls,We=Se.onItemClick,Le=Se.disabled,ot=Se.overflowDisabled,Ge=Se.itemIcon,rt=Se.selectedKeys,Pt=Se.onActive,mt=t.useContext(g),Vt=mt._internalRenderMenuItem,kt="".concat(it,"-item"),Dt=t.useRef(),Ht=t.useRef(),jt=Le||ae,Bt=(0,gt.x1)(W,Ht),Gt=G(J),Rt=function(Nt){return{key:J,keyPath:(0,j.Z)(Gt).reverse(),item:Dt.current,domEvent:Nt}},un=ve||Ge,pt=ut(J,jt,at,Pe),Qt=pt.active,On=(0,Z.Z)(pt,Ct),Sn=rt.includes(J),cn=Me(Gt.length),Tn=function(Nt){if(!jt){var Xt=Rt(Nt);De==null||De(Oe(Xt)),We(Xt)}},Kt=function(Nt){if(Ie==null||Ie(Nt),Nt.which===R.Z.ENTER){var Xt=Rt(Nt);De==null||De(Oe(Xt)),We(Xt)}},sn=function(Nt){Pt(J),Je==null||Je(Nt)},Nn={};P.role==="option"&&(Nn["aria-selected"]=Sn);var pn=t.createElement(on,(0,O.Z)({ref:Dt,elementRef:Bt,role:ke===null?"none":ke||"menuitem",tabIndex:ae?null:-1,"data-menu-id":ot&&we?null:we},(0,Fe.Z)(He,["extra"]),On,Nn,{component:"li","aria-disabled":ae,style:(0,$.Z)((0,$.Z)({},cn),H),className:C()(kt,(0,N.Z)((0,N.Z)((0,N.Z)({},"".concat(kt,"-active"),Qt),"".concat(kt,"-selected"),Sn),"".concat(kt,"-disabled"),jt),U),onClick:Tn,onKeyDown:Kt,onFocus:sn}),Ue,t.createElement(_n,{props:(0,$.Z)((0,$.Z)({},P),{},{isSelected:Sn}),icon:un}));return Vt&&(pn=Vt(pn,P,{selected:Sn})),pn});function tn(P,W){var H=P.eventKey,U=D(),J=G(H);return t.useEffect(function(){if(U)return U.registerPath(H,J),function(){U.unregisterPath(H,J)}},[J]),U?null:t.createElement(en,(0,O.Z)({},P,{ref:W}))}var tt=t.forwardRef(tn),Ke=["className","children"],Qe=function(W,H){var U=W.className,J=W.children,ee=(0,Z.Z)(W,Ke),ae=t.useContext(l),ve=ae.prefixCls,Ue=ae.mode,ke=ae.rtl;return t.createElement("ul",(0,O.Z)({className:C()(ve,ke&&"".concat(ve,"-rtl"),"".concat(ve,"-sub"),"".concat(ve,"-").concat(Ue==="inline"?"inline":"vertical"),U),role:"menu"},ee,{"data-menu-list":!0,ref:H}),J)},Wt=t.forwardRef(Qe);Wt.displayName="SubMenuList";var Et=Wt,Ft=k(11592);function Ce(P,W){return(0,Ft.Z)(P).map(function(H,U){if(t.isValidElement(H)){var J,ee,ae=H.key,ve=(J=(ee=H.props)===null||ee===void 0?void 0:ee.eventKey)!==null&&J!==void 0?J:ae,Ue=ve==null;Ue&&(ve="tmp_key-".concat([].concat((0,j.Z)(W),[U]).join("-")));var ke={key:ve,eventKey:ve};return t.cloneElement(H,ke)}return H})}var bn=k(65030),ht={adjustX:1,adjustY:1},nn={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}},Ut={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}},fn=null;function $t(P,W,H){if(W)return W;if(H)return H[P]||H.other}var It={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Zt(P){var W=P.prefixCls,H=P.visible,U=P.children,J=P.popup,ee=P.popupStyle,ae=P.popupClassName,ve=P.popupOffset,Ue=P.disabled,ke=P.mode,at=P.onVisibleChange,Pe=t.useContext(l),De=Pe.getPopupContainer,Ie=Pe.rtl,Je=Pe.subMenuOpenDelay,He=Pe.subMenuCloseDelay,we=Pe.builtinPlacements,Se=Pe.triggerSubMenuAction,it=Pe.forceSubMenuRender,We=Pe.rootClassName,Le=Pe.motion,ot=Pe.defaultMotions,Ge=t.useState(!1),rt=(0,L.Z)(Ge,2),Pt=rt[0],mt=rt[1],Vt=Ie?(0,$.Z)((0,$.Z)({},Ut),we):(0,$.Z)((0,$.Z)({},nn),we),kt=It[ke],Dt=$t(ke,Le,ot),Ht=t.useRef(Dt);ke!=="inline"&&(Ht.current=Dt);var jt=(0,$.Z)((0,$.Z)({},Ht.current),{},{leavedClassName:"".concat(W,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Bt=t.useRef();return t.useEffect(function(){return Bt.current=(0,F.Z)(function(){mt(H)}),function(){F.Z.cancel(Bt.current)}},[H]),t.createElement(bn.Z,{prefixCls:W,popupClassName:C()("".concat(W,"-popup"),(0,N.Z)({},"".concat(W,"-rtl"),Ie),ae,We),stretch:ke==="horizontal"?"minWidth":null,getPopupContainer:De,builtinPlacements:Vt,popupPlacement:kt,popupVisible:Pt,popup:J,popupStyle:ee,popupAlign:ve&&{offset:ve},action:Ue?[]:[Se],mouseEnterDelay:Je,mouseLeaveDelay:He,onPopupVisibleChange:at,forceRender:it,popupMotion:jt,fresh:!0},U)}var gn=k(77900);function hn(P){var W=P.id,H=P.open,U=P.keyPath,J=P.children,ee="inline",ae=t.useContext(l),ve=ae.prefixCls,Ue=ae.forceSubMenuRender,ke=ae.motion,at=ae.defaultMotions,Pe=ae.mode,De=t.useRef(!1);De.current=Pe===ee;var Ie=t.useState(!De.current),Je=(0,L.Z)(Ie,2),He=Je[0],we=Je[1],Se=De.current?H:!1;t.useEffect(function(){De.current&&we(!1)},[Pe]);var it=(0,$.Z)({},$t(ee,ke,at));U.length>1&&(it.motionAppear=!1);var We=it.onVisibleChanged;return it.onVisibleChanged=function(Le){return!De.current&&!Le&&we(!0),We==null?void 0:We(Le)},He?null:t.createElement(x,{mode:ee,locked:!De.current},t.createElement(gn.default,(0,O.Z)({visible:Se},it,{forceRender:Ue,removeOnLeave:!1,leavedClassName:"".concat(ve,"-hidden")}),function(Le){var ot=Le.className,Ge=Le.style;return t.createElement(Et,{id:W,className:ot,style:Ge},J)}))}var Ot=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],ue=["active"],re=t.forwardRef(function(P,W){var H=P.style,U=P.className,J=P.title,ee=P.eventKey,ae=P.warnKey,ve=P.disabled,Ue=P.internalPopupClose,ke=P.children,at=P.itemIcon,Pe=P.expandIcon,De=P.popupClassName,Ie=P.popupOffset,Je=P.popupStyle,He=P.onClick,we=P.onMouseEnter,Se=P.onMouseLeave,it=P.onTitleClick,We=P.onTitleMouseEnter,Le=P.onTitleMouseLeave,ot=(0,Z.Z)(P,Ot),Ge=h(ee),rt=t.useContext(l),Pt=rt.prefixCls,mt=rt.mode,Vt=rt.openKeys,kt=rt.disabled,Dt=rt.overflowDisabled,Ht=rt.activeKey,jt=rt.selectedKeys,Bt=rt.itemIcon,Gt=rt.expandIcon,Rt=rt.onItemClick,un=rt.onOpenChange,pt=rt.onActive,Qt=t.useContext(g),On=Qt._internalRenderSubMenuItem,Sn=t.useContext(B),cn=Sn.isSubPathKey,Tn=G(),Kt="".concat(Pt,"-submenu"),sn=kt||ve,Nn=t.useRef(),pn=t.useRef(),dn=at!=null?at:Bt,Nt=Pe!=null?Pe:Gt,Xt=Vt.includes(ee),vn=!Dt&&Xt,An=cn(jt,ee),Jt=ut(ee,sn,We,Le),ln=Jt.active,Pn=(0,Z.Z)(Jt,ue),Mn=t.useState(!1),jn=(0,L.Z)(Mn,2),Fn=jn[0],Zn=jn[1],Cn=function(qt){sn||Zn(qt)},Un=function(qt){Cn(!0),we==null||we({key:ee,domEvent:qt})},Hn=function(qt){Cn(!1),Se==null||Se({key:ee,domEvent:qt})},Bn=t.useMemo(function(){return ln||(mt!=="inline"?Fn||cn([Ht],ee):!1)},[mt,ln,Ht,Fn,ee,cn]),yn=Me(Tn.length),Gn=function(qt){sn||(it==null||it({key:ee,domEvent:qt}),mt==="inline"&&un(ee,!Xt))},Qn=he(function(bt){He==null||He(Oe(bt)),Rt(bt)}),Wn=function(qt){mt!=="inline"&&un(ee,qt)},$n=function(){pt(ee)},Kn=Ge&&"".concat(Ge,"-popup"),In=t.useMemo(function(){return t.createElement(_n,{icon:mt!=="horizontal"?Nt:void 0,props:(0,$.Z)((0,$.Z)({},P),{},{isOpen:vn,isSubMenu:!0})},t.createElement("i",{className:"".concat(Kt,"-arrow")}))},[mt,Nt,P,vn,Kt]),Yt=t.createElement("div",(0,O.Z)({role:"menuitem",style:yn,className:"".concat(Kt,"-title"),tabIndex:sn?null:-1,ref:Nn,title:typeof J=="string"?J:null,"data-menu-id":Dt&&Ge?null:Ge,"aria-expanded":vn,"aria-haspopup":!0,"aria-controls":Kn,"aria-disabled":sn,onClick:Gn,onFocus:$n},Pn),J,In),wn=t.useRef(mt);if(mt!=="inline"&&Tn.length>1?wn.current="vertical":wn.current=mt,!Dt){var zn=wn.current;Yt=t.createElement(Zt,{mode:zn,prefixCls:Kt,visible:!Ue&&vn&&mt!=="inline",popupClassName:De,popupOffset:Ie,popupStyle:Je,popup:t.createElement(x,{mode:zn==="horizontal"?"vertical":zn},t.createElement(Et,{id:Kn,ref:pn},ke)),disabled:sn,onVisibleChange:Wn},Yt)}var zt=t.createElement(e.Z.Item,(0,O.Z)({ref:W,role:"none"},ot,{component:"li",style:H,className:C()(Kt,"".concat(Kt,"-").concat(mt),U,(0,N.Z)((0,N.Z)((0,N.Z)((0,N.Z)({},"".concat(Kt,"-open"),vn),"".concat(Kt,"-active"),Bn),"".concat(Kt,"-selected"),An),"".concat(Kt,"-disabled"),sn)),onMouseEnter:Un,onMouseLeave:Hn}),Yt,!Dt&&t.createElement(hn,{id:Kn,open:vn,keyPath:Tn},ke));return On&&(zt=On(zt,P,{selected:An,active:Bn,open:vn,disabled:sn})),t.createElement(x,{onItemClick:Qn,mode:mt==="horizontal"?"vertical":mt,itemIcon:dn,expandIcon:Nt},zt)}),Te=t.forwardRef(function(P,W){var H=P.eventKey,U=P.children,J=G(H),ee=Ce(U,J),ae=D();t.useEffect(function(){if(ae)return ae.registerPath(H,J),function(){ae.unregisterPath(H,J)}},[J]);var ve;return ae?ve=ee:ve=t.createElement(re,(0,O.Z)({ref:W},P),ee),t.createElement(z.Provider,{value:J},ve)}),Ze=Te,lt=k(34666);function st(P){var W=P.className,H=P.style,U=t.useContext(l),J=U.prefixCls,ee=D();return ee?null:t.createElement("li",{role:"separator",className:C()("".concat(J,"-item-divider"),W),style:H})}var rn=["className","title","eventKey","children"],Lt=t.forwardRef(function(P,W){var H=P.className,U=P.title,J=P.eventKey,ee=P.children,ae=(0,Z.Z)(P,rn),ve=t.useContext(l),Ue=ve.prefixCls,ke="".concat(Ue,"-item-group");return t.createElement("li",(0,O.Z)({ref:W,role:"presentation"},ae,{onClick:function(Pe){return Pe.stopPropagation()},className:C()(ke,H)}),t.createElement("div",{role:"presentation",className:"".concat(ke,"-title"),title:typeof U=="string"?U:void 0},U),t.createElement("ul",{role:"group",className:"".concat(ke,"-list")},ee))}),ct=t.forwardRef(function(P,W){var H=P.eventKey,U=P.children,J=G(H),ee=Ce(U,J),ae=D();return ae?ee:t.createElement(Lt,(0,O.Z)({ref:W},(0,Fe.Z)(P,["warnKey"])),ee)}),St=ct,Be=["label","children","key","type","extra"];function Tt(P,W,H){var U=W.item,J=W.group,ee=W.submenu,ae=W.divider;return(P||[]).map(function(ve,Ue){if(ve&&(0,lt.Z)(ve)==="object"){var ke=ve,at=ke.label,Pe=ke.children,De=ke.key,Ie=ke.type,Je=ke.extra,He=(0,Z.Z)(ke,Be),we=De!=null?De:"tmp-".concat(Ue);return Pe||Ie==="group"?Ie==="group"?t.createElement(J,(0,O.Z)({key:we},He,{title:at}),Tt(Pe,W,H)):t.createElement(ee,(0,O.Z)({key:we},He,{title:at}),Tt(Pe,W,H)):Ie==="divider"?t.createElement(ae,(0,O.Z)({key:we},He)):t.createElement(U,(0,O.Z)({key:we},He,{extra:Je}),at,(!!Je||Je===0)&&t.createElement("span",{className:"".concat(H,"-item-extra")},Je))}return null}).filter(function(ve){return ve})}function _t(P,W,H,U,J){var ee=P,ae=(0,$.Z)({divider:st,item:tt,group:St,submenu:Ze},U);return W&&(ee=Tt(W,ae,J)),Ce(ee,H)}var Rn=["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"],Ne=[],ze=t.forwardRef(function(P,W){var H,U=P,J=U.prefixCls,ee=J===void 0?"rc-menu":J,ae=U.rootClassName,ve=U.style,Ue=U.className,ke=U.tabIndex,at=ke===void 0?0:ke,Pe=U.items,De=U.children,Ie=U.direction,Je=U.id,He=U.mode,we=He===void 0?"vertical":He,Se=U.inlineCollapsed,it=U.disabled,We=U.disabledOverflow,Le=U.subMenuOpenDelay,ot=Le===void 0?.1:Le,Ge=U.subMenuCloseDelay,rt=Ge===void 0?.1:Ge,Pt=U.forceSubMenuRender,mt=U.defaultOpenKeys,Vt=U.openKeys,kt=U.activeKey,Dt=U.defaultActiveFirst,Ht=U.selectable,jt=Ht===void 0?!0:Ht,Bt=U.multiple,Gt=Bt===void 0?!1:Bt,Rt=U.defaultSelectedKeys,un=U.selectedKeys,pt=U.onSelect,Qt=U.onDeselect,On=U.inlineIndent,Sn=On===void 0?24:On,cn=U.motion,Tn=U.defaultMotions,Kt=U.triggerSubMenuAction,sn=Kt===void 0?"hover":Kt,Nn=U.builtinPlacements,pn=U.itemIcon,dn=U.expandIcon,Nt=U.overflowedIndicator,Xt=Nt===void 0?"...":Nt,vn=U.overflowedIndicatorPopupClassName,An=U.getPopupContainer,Jt=U.onClick,ln=U.onOpenChange,Pn=U.onKeyDown,Mn=U.openAnimation,jn=U.openTransitionName,Fn=U._internalRenderMenuItem,Zn=U._internalRenderSubMenuItem,Cn=U._internalComponents,Un=(0,Z.Z)(U,Rn),Hn=t.useMemo(function(){return[_t(De,Pe,Ne,Cn,ee),_t(De,Pe,Ne,{},ee)]},[De,Pe,Cn]),Bn=(0,L.Z)(Hn,2),yn=Bn[0],Gn=Bn[1],Qn=t.useState(!1),Wn=(0,L.Z)(Qn,2),$n=Wn[0],Kn=Wn[1],In=t.useRef(),Yt=je(Je),wn=Ie==="rtl",zn=(0,w.Z)(mt,{value:Vt,postState:function(vt){return vt||Ne}}),zt=(0,L.Z)(zn,2),bt=zt[0],qt=zt[1],xn=function(vt){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function En(){qt(vt),ln==null||ln(vt)}xt?(0,s.flushSync)(En):En()},Ln=t.useState(bt),Vn=(0,L.Z)(Ln,2),qn=Vn[0],ti=Vn[1],Xn=t.useRef(!1),ni=t.useMemo(function(){return(we==="inline"||we==="vertical")&&Se?["vertical",Se]:[we,!1]},[we,Se]),ce=(0,L.Z)(ni,2),Ee=ce[0],dt=ce[1],At=Ee==="inline",wt=t.useState(Ee),Jn=(0,L.Z)(wt,2),Dn=Jn[0],si=Jn[1],ei=t.useState(dt),ci=(0,L.Z)(ei,2),Oi=ci[0],Si=ci[1];t.useEffect(function(){si(Ee),Si(dt),Xn.current&&(At?qt(qn):xn(Ne))},[Ee,dt]);var Ti=t.useState(0),pi=(0,L.Z)(Ti,2),ai=pi[0],Pi=pi[1],li=ai>=yn.length-1||Dn!=="horizontal"||We;t.useEffect(function(){At&&ti(bt)},[bt]),t.useEffect(function(){return Xn.current=!0,function(){Xn.current=!1}},[]);var Yn=ie(),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?Ne:yn.slice(ai+1).map(function(Mt){return Mt.key}))},[ai,li]);var Ii=(0,w.Z)(kt||Dt&&((H=yn[0])===null||H===void 0?void 0:H.key),{value:kt}),yi=(0,L.Z)(Ii,2),ii=yi[0],_i=yi[1],Li=he(function(Mt){_i(Mt)}),ji=he(function(){_i(void 0)});(0,t.useImperativeHandle)(W,function(){return{list:In.current,focus:function(vt){var xt,En=gi(),kn=q(En,Yt),ui=kn.elements,fi=kn.key2element,Hi=kn.element2key,xi=Y(In.current,ui),Ei=ii!=null?ii:xi[0]?Hi.get(xi[0]):(xt=yn.find(function(Gi){return!Gi.props.disabled}))===null||xt===void 0?void 0:xt.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)(Rt||[],{value:un,postState:function(vt){return Array.isArray(vt)?vt:vt==null?Ne:[vt]}}),bi=(0,L.Z)(Fi,2),oi=bi[0],Zi=bi[1],Bi=function(vt){if(jt){var xt=vt.key,En=oi.includes(xt),kn;Gt?En?kn=oi.filter(function(fi){return fi!==xt}):kn=[].concat((0,j.Z)(oi),[xt]):kn=[xt],Zi(kn);var ui=(0,$.Z)((0,$.Z)({},vt),{},{selectedKeys:kn});En?Qt==null||Qt(ui):pt==null||pt(ui)}!Gt&&bt.length&&Dn!=="inline"&&xn(Ne)},Wi=he(function(Mt){Jt==null||Jt(Oe(Mt)),Bi(Mt)}),wi=he(function(Mt,vt){var xt=bt.filter(function(kn){return kn!==Mt});if(vt)xt.push(Mt);else if(Dn!=="inline"){var En=Ai(Mt);xt=xt.filter(function(kn){return!En.has(kn)})}(0,o.Z)(bt,xt,!0)||xn(xt,!0)}),Ki=function(vt,xt){var En=xt!=null?xt:!bt.includes(vt);wi(vt,En)},zi=ne(Dn,ii,wn,Yt,In,gi,Ni,_i,Ki,Pn);t.useEffect(function(){Kn(!0)},[]);var Ui=t.useMemo(function(){return{_internalRenderMenuItem:Fn,_internalRenderSubMenuItem:Zn}},[Fn,Zn]),$i=Dn!=="horizontal"||We?yn:yn.map(function(Mt,vt){return t.createElement(x,{key:Mt.key,overflowDisabled:vt>ai},Mt)}),Vi=t.createElement(e.Z,(0,O.Z)({id:Je,ref:In,prefixCls:"".concat(ee,"-overflow"),component:"ul",itemComponent:tt,className:C()(ee,"".concat(ee,"-root"),"".concat(ee,"-").concat(Dn),Ue,(0,N.Z)((0,N.Z)({},"".concat(ee,"-inline-collapsed"),Oi),"".concat(ee,"-rtl"),wn),ae),dir:Ie,style:ve,role:"menu",tabIndex:at,data:$i,renderRawItem:function(vt){return vt},renderRawRest:function(vt){var xt=vt.length,En=xt?yn.slice(-xt):null;return t.createElement(Ze,{eventKey:X,title:Xt,disabled:li,internalPopupClose:xt===0,popupClassName:vn},En)},maxCount:Dn!=="horizontal"||We?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:Yt},t.createElement(x,{prefixCls:ee,rootClassName:ae,mode:Dn,openKeys:bt,rtl:wn,disabled:it,motion:$n?cn:null,defaultMotions:$n?Tn:null,activeKey:ii,onActive:Li,onInactive:ji,selectedKeys:oi,inlineIndent:Sn,subMenuOpenDelay:ot,subMenuCloseDelay:rt,forceSubMenuRender:Pt,builtinPlacements:Nn,triggerSubMenuAction:sn,getPopupContainer:An,itemIcon:pn,expandIcon:dn,onItemClick:Wi,onOpenChange:wi},t.createElement(B.Provider,{value:Ci},Vi),t.createElement("div",{style:{display:"none"},"aria-hidden":!0},t.createElement(T.Provider,{value:Mi},Gn)))))}),nt=ze,me=nt;me.Item=tt,me.SubMenu=Ze,me.ItemGroup=St,me.Divider=st;var be=me},11780:function(Ae,se,k){"use strict";k.d(se,{Z:function(){return m}});var O=k(32855),N=k(27247),$=k(11913),j=k(43079),L=k(59301),Z=k(92310),V=k.n(Z),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,R=n.invalidate,F=n.item,Q=n.renderItem,oe=n.responsive,_e=n.responsiveDisabled,ge=n.registerSize,$e=n.itemKey,Xe=n.className,Ye=n.style,te=n.children,pe=n.display,le=n.order,xe=n.component,M=xe===void 0?"div":xe,Y=(0,j.Z)(n,w),I=oe&&!pe;function q(K){ge($e,K)}L.useEffect(function(){return function(){q(null)}},[]);var ne=Q&&F!==o?Q(F,{index:le}):te,fe;R||(fe={opacity:I?0:1,height:I?0:o,overflowY:I?"hidden":o,order:oe?le:o,pointerEvents:I?"none":o,position:I?"absolute":o});var b={};I&&(b["aria-hidden"]=!0);var A=L.createElement(M,(0,O.Z)({className:V()(!R&&f,Xe),style:(0,N.Z)((0,N.Z)({},fe),Ye)},b,Y,{ref:i}),ne);return oe&&(A=L.createElement(C.Z,{onResize:function(X){var ie=X.offsetWidth;q(ie)},disabled:_e},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(R){n.current||(n.current=[],c(function(){(0,p.unstable_batchedUpdates)(function(){n.current.forEach(function(F){F()}),n.current=null})})),n.current.push(R)};return i}function l(n,i){var f=L.useState(i),R=(0,$.Z)(f,2),F=R[0],Q=R[1],oe=(0,a.Z)(function(_e){n(function(){Q(_e)})});return[F,oe]}var y=L.createContext(null),x=["component"],S=["className"],T=["className"],D=function(i,f){var R=L.useContext(y);if(!R){var F=i.component,Q=F===void 0?"div":F,oe=(0,j.Z)(i,x);return L.createElement(Q,(0,O.Z)({},oe,{ref:f}))}var _e=R.className,ge=(0,j.Z)(R,S),$e=i.className,Xe=(0,j.Z)(i,T);return L.createElement(y.Provider,{value:null},L.createElement(s,(0,O.Z)({ref:f,className:V()(_e,$e)},ge,Xe)))},z=L.forwardRef(D);z.displayName="RawItem";var G=z,B=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],ye="responsive",g="invalidate";function _(n){return"+ ".concat(n.length," ...")}function d(n,i){var f=n.prefixCls,R=f===void 0?"rc-overflow":f,F=n.data,Q=F===void 0?[]:F,oe=n.renderItem,_e=n.renderRawItem,ge=n.itemKey,$e=n.itemWidth,Xe=$e===void 0?10:$e,Ye=n.ssr,te=n.style,pe=n.className,le=n.maxCount,xe=n.renderRest,M=n.renderRawRest,Y=n.suffix,I=n.component,q=I===void 0?"div":I,ne=n.itemComponent,fe=n.onVisibleChange,b=(0,j.Z)(n,B),A=Ye==="full",K=u(),X=l(K,null),ie=(0,$.Z)(X,2),he=ie[0],Re=ie[1],de=he||0,je=l(K,new Map),Ve=(0,$.Z)(je,2),qe=Ve[0],et=Ve[1],ft=l(K,0),Fe=(0,$.Z)(ft,2),gt=Fe[0],ut=Fe[1],Me=l(K,0),_n=(0,$.Z)(Me,2),yt=_n[0],Oe=_n[1],mn=l(K,0),an=(0,$.Z)(mn,2),Ct=an[0],on=an[1],en=(0,L.useState)(null),tn=(0,$.Z)(en,2),tt=tn[0],Ke=tn[1],Qe=(0,L.useState)(null),Wt=(0,$.Z)(Qe,2),Et=Wt[0],Ft=Wt[1],Ce=L.useMemo(function(){return Et===null&&A?Number.MAX_SAFE_INTEGER:Et||0},[Et,he]),bn=(0,L.useState)(!1),ht=(0,$.Z)(bn,2),nn=ht[0],Ut=ht[1],fn="".concat(R,"-item"),$t=Math.max(gt,yt),It=le===ye,Zt=Q.length&&It,gn=le===g,hn=Zt||typeof le=="number"&&Q.length>le,Ot=(0,L.useMemo)(function(){var me=Q;return Zt?he===null&&A?me=Q:me=Q.slice(0,Math.min(Q.length,de/Xe)):typeof le=="number"&&(me=Q.slice(0,le)),me},[Q,Xe,he,le,Zt]),ue=(0,L.useMemo)(function(){return Zt?Q.slice(Ce+1):Q.slice(Ot.length)},[Q,Ot,Zt,Ce]),re=(0,L.useCallback)(function(me,be){var P;return typeof ge=="function"?ge(me):(P=ge&&(me==null?void 0:me[ge]))!==null&&P!==void 0?P:be},[ge]),Te=(0,L.useCallback)(oe||function(me){return me},[oe]);function Ze(me,be,P){Et===me&&(be===void 0||be===tt)||(Ft(me),P||(Ut(me<Q.length-1),fe==null||fe(me)),be!==void 0&&Ke(be))}function lt(me,be){Re(be.clientWidth)}function st(me,be){et(function(P){var W=new Map(P);return be===null?W.delete(me):W.set(me,be),W})}function rn(me,be){Oe(be),ut(yt)}function Lt(me,be){on(be)}function ct(me){return qe.get(re(Ot[me],me))}(0,e.Z)(function(){if(de&&typeof $t=="number"&&Ot){var me=Ct,be=Ot.length,P=be-1;if(!be){Ze(0,null);return}for(var W=0;W<be;W+=1){var H=ct(W);if(A&&(H=H||0),H===void 0){Ze(W-1,void 0,!0);break}if(me+=H,P===0&&me<=de||W===P-1&&me+ct(P)<=de){Ze(P,null);break}else if(me+$t>de){Ze(W-1,me-H-Ct+yt);break}}Y&&ct(0)+Ct>de&&Ke(null)}},[de,qe,yt,Ct,re,Ot]);var St=nn&&!!ue.length,Be={};tt!==null&&Zt&&(Be={position:"absolute",left:tt,top:0});var Tt={prefixCls:fn,responsive:Zt,component:ne,invalidate:gn},_t=_e?function(me,be){var P=re(me,be);return L.createElement(y.Provider,{key:P,value:(0,N.Z)((0,N.Z)({},Tt),{},{order:be,item:me,itemKey:P,registerSize:st,display:be<=Ce})},_e(me,be))}:function(me,be){var P=re(me,be);return L.createElement(s,(0,O.Z)({},Tt,{order:be,key:P,item:me,renderItem:Te,itemKey:P,registerSize:st,display:be<=Ce}))},Rn={order:St?Ce:Number.MAX_SAFE_INTEGER,className:"".concat(fn,"-rest"),registerSize:rn,display:St},Ne=xe||_,ze=M?L.createElement(y.Provider,{value:(0,N.Z)((0,N.Z)({},Tt),Rn)},M(ue)):L.createElement(s,(0,O.Z)({},Tt,Rn),typeof Ne=="function"?Ne(ue):Ne),nt=L.createElement(q,(0,O.Z)({className:V()(!gn&&R,pe),style:te,ref:i},b),Ot.map(_t),hn?ze:null,Y&&L.createElement(s,(0,O.Z)({},Tt,{responsive:It,responsiveDisabled:!Zt,order:Ce,className:"".concat(fn,"-suffix"),registerSize:Lt,display:!0,style:Be}),Y));return It?L.createElement(C.Z,{onResize:lt,disabled:!Zt},nt):nt}var v=L.forwardRef(d);v.displayName="Overflow",v.Item=G,v.RESPONSIVE=ye,v.INVALIDATE=g;var E=v,m=E},29301:function(Ae,se,k){"use strict";k.d(se,{Z:function(){return g}});var O=k(32855),N=k(59301),$=k(11592),j=k(48736),L=k(27247),Z=k(34666),V=k(76846),C=k(8654),e=N.createContext(null);function w(_){var d=_.children,v=_.onBatchResize,E=N.useRef(0),m=N.useRef([]),n=N.useContext(e),i=N.useCallback(function(f,R,F){E.current+=1;var Q=E.current;m.current.push({size:f,element:R,data:F}),Promise.resolve().then(function(){Q===E.current&&(v==null||v(m.current),m.current=[])}),n==null||n(f,R,F)},[v,n]);return N.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(33377),l=k(93912),y=k(18881),x=k(85461),S=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}(N.Component);function T(_,d){var v=_.children,E=_.disabled,m=N.useRef(null),n=N.useRef(null),i=N.useContext(e),f=typeof v=="function",R=f?v(m):v,F=N.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Q=!f&&N.isValidElement(R)&&(0,C.Yr)(R),oe=Q?(0,C.C4)(R):null,_e=(0,C.x1)(oe,m),ge=function(){var te;return(0,V.ZP)(m.current)||(m.current&&(0,Z.Z)(m.current)==="object"?(0,V.ZP)((te=m.current)===null||te===void 0?void 0:te.nativeElement):null)||(0,V.ZP)(n.current)};N.useImperativeHandle(d,function(){return ge()});var $e=N.useRef(_);$e.current=_;var Xe=N.useCallback(function(Ye){var te=$e.current,pe=te.onResize,le=te.data,xe=Ye.getBoundingClientRect(),M=xe.width,Y=xe.height,I=Ye.offsetWidth,q=Ye.offsetHeight,ne=Math.floor(M),fe=Math.floor(Y);if(F.current.width!==ne||F.current.height!==fe||F.current.offsetWidth!==I||F.current.offsetHeight!==q){var b={width:ne,height:fe,offsetWidth:I,offsetHeight:q};F.current=b;var A=I===Math.round(M)?M:I,K=q===Math.round(Y)?Y:q,X=(0,L.Z)((0,L.Z)({},b),{},{offsetWidth:A,offsetHeight:K});i==null||i(X,Ye,le),pe&&Promise.resolve().then(function(){pe(X,Ye)})}},[]);return N.useEffect(function(){var Ye=ge();return Ye&&!E&&h(Ye,Xe),function(){return c(Ye,Xe)}},[m.current,E]),N.createElement(S,{ref:n},Q?N.cloneElement(R,{ref:_e}):R)}var D=N.forwardRef(T),z=D,G="rc-observer-key";function B(_,d){var v=_.children,E=typeof v=="function"?[v]:(0,$.Z)(v);return E.map(function(m,n){var i=(m==null?void 0:m.key)||"".concat(G,"-").concat(n);return N.createElement(z,(0,O.Z)({},_,{key:i,ref:n===0?d:void 0}),m)})}var ye=N.forwardRef(B);ye.Collection=w;var g=ye},29125:function(Ae,se,k){"use strict";k.d(se,{G:function(){return j},Z:function(){return c}});var O=k(92310),N=k.n(O),$=k(59301);function j(u){var l=u.children,y=u.prefixCls,x=u.id,S=u.overlayInnerStyle,T=u.bodyClassName,D=u.className,z=u.style;return $.createElement("div",{className:N()("".concat(y,"-content"),D),style:z},$.createElement("div",{className:N()("".concat(y,"-inner"),T),id:x,role:"tooltip",style:S},typeof l=="function"?l():l))}var L=k(32855),Z=k(27247),V=k(43079),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,S=l.trigger,T=S===void 0?["hover"]:S,D=l.mouseEnterDelay,z=D===void 0?0:D,G=l.mouseLeaveDelay,B=G===void 0?.1:G,ye=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,R=f===void 0?"right":f,F=l.align,Q=F===void 0?{}:F,oe=l.destroyTooltipOnHide,_e=oe===void 0?!1:oe,ge=l.defaultVisible,$e=l.getTooltipContainer,Xe=l.overlayInnerStyle,Ye=l.arrowContent,te=l.overlay,pe=l.id,le=l.showArrow,xe=le===void 0?!0:le,M=l.classNames,Y=l.styles,I=(0,V.Z)(l,a),q=(0,s.Z)(pe),ne=(0,$.useRef)(null);(0,$.useImperativeHandle)(y,function(){return ne.current});var fe=(0,Z.Z)({},I);"visible"in l&&(fe.popupVisible=l.visible);var b=function(){return $.createElement(j,{key:"content",prefixCls:_,id:q,bodyClassName:M==null?void 0:M.body,overlayInnerStyle:(0,Z.Z)((0,Z.Z)({},Xe),Y==null?void 0:Y.body)},te)},A=function(){var X=$.Children.only(d),ie=(X==null?void 0:X.props)||{},he=(0,Z.Z)((0,Z.Z)({},ie),{},{"aria-describedby":te?q:null});return $.cloneElement(d,he)};return $.createElement(C.Z,(0,L.Z)({popupClassName:N()(x,M==null?void 0:M.root),prefixCls:_,popup:b,action:T,builtinPlacements:r,popupPlacement:R,ref:ne,popupAlign:Q,getPopupContainer:$e,onPopupVisibleChange:v,afterPopupVisibleChange:E,popupTransitionName:m,popupAnimation:n,popupMotion:i,defaultPopupVisible:ge,autoDestroy:_e,mouseLeaveDelay:B,popupStyle:(0,Z.Z)((0,Z.Z)({},ye),Y==null?void 0:Y.root),mouseEnterDelay:z,arrow:xe},fe),A())},h=(0,$.forwardRef)(p),c=h},49658:function(Ae,se){"use strict";se.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(Ae,se,k){"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.CopyToClipboard=void 0;var O=$(k(59301)),N=$(k(25769));function $(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(S){return Object.getOwnPropertyDescriptor(u,S).enumerable})),y.push.apply(y,x)}return y}function Z(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 V(u,l){if(u==null)return{};var y=C(u,l),x,S;if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(u);for(S=0;S<T.length;S++)x=T[S],!(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),S,T;for(T=0;T<x.length;T++)S=x[T],!(l.indexOf(S)>=0)&&(y[S]=u[S]);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,S){return x.__proto__=S,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 S=arguments.length,T=new Array(S),D=0;D<S;D++)T[D]=arguments[D];return x=r(this,(y=t(l)).call.apply(y,[this].concat(T))),h(s(x),"onClick",function(z){var G=x.props,B=G.text,ye=G.onCopy,g=G.children,_=G.options,d=O.default.Children.only(g),v=(0,N.default)(B,_);ye&&ye(B,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,S=x.text,T=x.onCopy,D=x.options,z=x.children,G=V(x,["text","onCopy","options","children"]),B=O.default.Children.only(z);return O.default.cloneElement(B,Z({},G,{onClick:this.onClick}))}}]),l}(O.default.PureComponent);se.CopyToClipboard=c,h(c,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Ae,se,k){"use strict";var O=k(83145),N=O.CopyToClipboard;N.CopyToClipboard=N,Ae.exports=N},76374:function(Ae,se,k){"use strict";var O=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])}},_}()}(),N=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,$=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($):function(g){return setTimeout(function(){return g(Date.now())},1e3/60)}}(),L=2;function Z(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 V=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=Z(this.refresh.bind(this),V)}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(){!N||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(){!N||!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 _||$},t=S(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 S(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 R=Math.round(i+m)-_,F=Math.round(f+n)-d;Math.abs(R)!==1&&(i-=R),Math.abs(F)!==1&&(f-=F)}return S(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 N?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 S(g,_,d,v){return{x:g,y:_,width:d,height:v}}var T=function(){function g(_){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=S(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}(),D=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 O,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 D(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}(),G=typeof WeakMap!="undefined"?new WeakMap:new O,B=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);G.set(this,v)}return g}();["observe","unobserve","disconnect"].forEach(function(g){B.prototype[g]=function(){var _;return(_=G.get(this))[g].apply(_,arguments)}});var ye=function(){return typeof $.ResizeObserver!="undefined"?$.ResizeObserver:B}();se.Z=ye},98040:function(Ae){Ae.exports=function(){var se=document.getSelection();if(!se.rangeCount)return function(){};for(var k=document.activeElement,O=[],N=0;N<se.rangeCount;N++)O.push(se.getRangeAt(N));switch(k.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":k.blur();break;default:k=null;break}return se.removeAllRanges(),function(){se.type==="Caret"&&se.removeAllRanges(),se.rangeCount||O.forEach(function($){se.addRange($)}),k&&k.focus()}}}}]);
|