(window.webpackJsonp=window.webpackJsonp||[]).push([[101,5,7,8,14],{"+ua5":function(st,ve,z){},"/cxE":function(st,ve,z){"use strict";z.d(ve,"f",function(){return A}),z.d(ve,"g",function(){return U}),z.d(ve,"h",function(){return O}),z.d(ve,"e",function(){return H}),z.d(ve,"b",function(){return F}),z.d(ve,"c",function(){return e}),z.d(ve,"d",function(){return C}),z.d(ve,"a",function(){return f});class q{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(p){setTimeout(()=>{throw p.stack?new Error(p.message+` `+p.stack):p},0)}}emit(p){this.listeners.forEach(o=>{o(p)})}onUnexpectedError(p){this.unexpectedErrorHandler(p),this.emit(p)}onUnexpectedExternalError(p){this.unexpectedErrorHandler(p)}}const j=new q;function A(p){H(p)||j.onUnexpectedError(p);return}function U(p){H(p)||j.onUnexpectedExternalError(p);return}function O(p){if(p instanceof Error){let{name:o,message:a}=p;const r=p.stacktrace||p.stack;return{$isError:!0,name:o,message:a,stack:r}}return p}const M="Canceled";function H(p){return p instanceof Error&&p.name===M&&p.message===M}function F(){const p=new Error(M);return p.name=p.message,p}function e(p){return p?new Error(`Illegal argument: ${p}`):new Error("Illegal argument")}function C(p){return p?new Error(`Illegal state: ${p}`):new Error("Illegal state")}class f extends Error{constructor(p){super("NotSupported");p&&(this.message=p)}}},"24hK":function(st,ve,z){"use strict";z.d(ve,"a",function(){return j});class q{constructor(A){this.element=A,this.next=q.Undefined,this.prev=q.Undefined}}q.Undefined=new q(void 0);class j{constructor(){this._first=q.Undefined,this._last=q.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===q.Undefined}clear(){let A=this._first;for(;A!==q.Undefined;){const U=A.next;A.prev=q.Undefined,A.next=q.Undefined,A=U}this._first=q.Undefined,this._last=q.Undefined,this._size=0}unshift(A){return this._insert(A,!1)}push(A){return this._insert(A,!0)}_insert(A,U){const O=new q(A);if(this._first===q.Undefined)this._first=O,this._last=O;else if(U){const H=this._last;this._last=O,O.prev=H,H.next=O}else{const H=this._first;this._first=O,O.next=H,H.prev=O}this._size+=1;let M=!1;return()=>{M||(M=!0,this._remove(O))}}shift(){if(this._first===q.Undefined)return;{const A=this._first.element;return this._remove(this._first),A}}pop(){if(this._last===q.Undefined)return;{const A=this._last.element;return this._remove(this._last),A}}_remove(A){if(A.prev!==q.Undefined&&A.next!==q.Undefined){const U=A.prev;U.next=A.next,A.next.prev=U}else A.prev===q.Undefined&&A.next===q.Undefined?(this._first=q.Undefined,this._last=q.Undefined):A.next===q.Undefined?(this._last=this._last.prev,this._last.next=q.Undefined):A.prev===q.Undefined&&(this._first=this._first.next,this._first.prev=q.Undefined);this._size-=1}*[Symbol.iterator](){let A=this._first;for(;A!==q.Undefined;)yield A.element,A=A.next}}},"3/fG":function(st,ve,z){"use strict";z.d(ve,"a",function(){return j});function q(A,U){let O;return U.length===0?O=A:O=A.replace(/\{(\d+)\}/g,function(M,H){const F=H[0];return typeof U[F]!="undefined"?U[F]:M}),O}function j(A,U,...O){return q(U,O)}},"479L":function(st,ve){st.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAWCAYAAAAvg9c4AAAAAXNSR0IArs4c6QAABPdJREFUSEullWloHGUYx//vzO7sHDuzm93sZpM2l/SgRyK7xSYxrfYgbdUq6JcixXqAUrxItGAVMT1A+kH7Re1WWppa6afiAYJIi7ZB07vkIARzVJqYbJMmu90zszOzM6/MVEXQotR3mPky8/7e//N7ZuYl+J+jt7fX7/f7i/X19cU/UORemZRSZnBwsKNQKLztdrtHOI57sqGhYcbm3ROUUsoOD4++Mz9f2CtJItE0DaVSqTMWi+27Jyil1DM0NLTfsmgHpZbLhthQSmlfTU3NmkgkUvjPSSmlZGRkZI2maZ2mWdpAGBehpgnd0KBpOkzTLPn9/gei0Wjfv0JHR0cXGpq2xTDNHZTSJsu0OJNaIIRFUc07KXXdgGVZCAQCL7e0tMT/Br3ja3iRaZptlmU9YVHayhBGoAApGTpKhgHCsFCLRaRvp+yEtk9QaiEYDHy0cWPb639CbdjAwADP8/zRkmk9BYADIU4nLUqdycX5Agxdh4cXkLh5E8m5WTD2A4SAZVmEwxVnNm3a9AiJx+MrdSI8nslm25YtqlMaVi6LWab1+2IUFIB9NXQDuUwapmFAUnwYHBhAOp0Ex3nAcRx4QUA4FL62ecuWVnL01Om8V1YkXdewpMoLn6zYC4NhGLhcLng4t4OdnEognUqCIQSSJOPipYvI5gsQBBGyV4KiyAgFgz83NDauImevDtFUJo+ZqXGsW7UcvjK/zQDDEBBCHF+pZBKTU1NOl1mWgYfnMTNzy1FTWbUA6UzWuVce9N2QRKmRfP3d9zSRLOBS9xlsbVsLv893p2TLcjzqhgGtqEEvGWAI47izyx27ft2ppq6uHpIoIFcowqfIkz7Fu4LEjxyhVUtX4cuTn2FxdQiiKILYKe3DbpTtwu4Fw4Bzu8F5PGAZFqnbKWdhRVEQDkegm5YNnVhYFVlJ9uzbb2x++iXXxwf2o0Jxg+N5J4ENs/0RlgVLCFwuNyRJhCAITgX+sgCyubzjXZK88Hq9ttuRMr8SI2d+OHdCqFz8zMkjh1SeqqXy8qBsGIbj0rQs56UGpXCxLCRZhiLLmFdVyF4FmmFAUXzw+RRIogSvV+xdUFX5ILl07drBIh/quHD2bNeK+vLLum7ENXUe+Xweqqo6p6brMEsleDweJ1Eul0MgWA7Too6uYCAAryxDEvlzzU1NbeTClSsHDTHScaG7+/D6pmU9k2nt8/TU+NUl91UP53K5dblcrjKfzzOFQsFpmu01k8mgrCwAC4yjygZXVkYgy9LR1paWF0n3jz0fMMGaN8+f6z68oXnp+V/T1omRgd7ju9t3Pp9IJMTZ2dmHMpnMtnQ6/Wg2mw2pqkqy2SzcbjdcnAiOczuJIxUhVIRCu5qbV39Ivj19+oBSvfytyz/1HG5trLs4NU+O3xge6npj53Mv/PUHPj09HR4bG9s+NzfXnkymatSiCoEX4C8rA+fh4eE4GioPrI1Goz3k1Fdf7KlcEuvsu3z1mN9jjY3fSr/vgX5oV/trr/zTrtDf379wYmIinkqlHrMsi8iyDFnxQRCFsdrq6tW1tbW3yXt79z77y42J44KL5FPJOeJiXUb0/oYdu9/t/OZuW42tpa+v75iqqtvy+RwqwiEIvPjJw+vXv+q8011dXXx/f/9WWZaVQCBwE0Bfe3v7NCHE/rDuOmzw+Pj4p4lEYruLZWeqa2o2xmKxIXvCb487Tm3fsdeDAAAAAElFTkSuQmCC"},"55Ip":function(st,ve,z){"use strict";z.d(ve,"a",function(){return i});var q=z("Ty5D"),j=z("dI71"),A=z("q1tI"),U=z.n(A),O=z("YS25"),M=z("17x9"),H=z.n(M),F=z("wx14"),e=z("zLVn"),C=z("9R94"),f=function(c){Object(j.a)(u,c);function u(){for(var b,m=arguments.length,w=new Array(m),I=0;I=0||m.relatedTarget.className.indexOf("".concat(S,"-next"))>=0))return;c.setState({goInputText:""}),L(c.getValidValue())},c.go=function(m){var w=c.state.goInputText;if(w==="")return;(m.keyCode===a.ENTER||m.type==="click")&&(c.setState({goInputText:""}),c.props.quickGo(c.getValidValue()))},c}return Object(O.a)(y,[{key:"getValidValue",value:function(){var u=this.state,l=u.goInputText,b=u.current;return!l||isNaN(l)?b:Number(l)}},{key:"getPageSizeOptions",value:function(){var u=this.props,l=u.pageSize,b=u.pageSizeOptions;return b.some(function(m){return m.toString()===l.toString()})?b:b.concat([l.toString()]).sort(function(m,w){var I=isNaN(Number(m))?0:Number(m),L=isNaN(Number(w))?0:Number(w);return I-L})}},{key:"render",value:function(){var u=this,l=this.props,b=l.pageSize,m=l.locale,w=l.rootPrefixCls,I=l.changeSize,L=l.quickGo,S=l.goButton,D=l.selectComponentClass,B=l.buildOptionText,R=l.selectPrefixCls,W=l.disabled,Y=this.state.goInputText,se="".concat(w,"-options"),ne=D,Se=null,xe=null,we=null;if(!I&&!L)return null;var Re=this.getPageSizeOptions();if(I&&ne){var Pe=Re.map(function(ye,ee){return e.a.createElement(ne.Option,{key:ee,value:ye.toString()},(B||u.buildOptionText)(ye))});Se=e.a.createElement(ne,{disabled:W,prefixCls:R,showSearch:!1,className:"".concat(se,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(b||Re[0]).toString(),onChange:this.changeSize,getPopupContainer:function(ee){return ee.parentNode}},Pe)}return L&&(S&&(we=typeof S=="boolean"?e.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:W,className:"".concat(se,"-quick-jumper-button")},m.jump_to_confirm):e.a.createElement("span",{onClick:this.go,onKeyUp:this.go},S)),xe=e.a.createElement("div",{className:"".concat(se,"-quick-jumper")},m.jump_to,e.a.createElement("input",{disabled:W,type:"text",value:Y,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),m.page,we)),e.a.createElement("li",{className:"".concat(se)},Se,xe)}}]),y}(e.a.Component);r.defaultProps={pageSizeOptions:["10","20","50","100"]};var h=r,s=z("N2Kk");function n(){}function i(x){return typeof x=="number"&&isFinite(x)&&Math.floor(x)===x}function t(x,E,y){return y}function _(x,E,y){var c=typeof x=="undefined"?E.pageSize:x;return Math.floor((y.total-1)/c)+1}var g=function(x){Object(M.a)(y,x);var E=Object(H.a)(y);function y(c){var u;Object(U.a)(this,y),u=E.call(this,c),u.getJumpPrevPage=function(){return Math.max(1,u.state.current-(u.props.showLessItems?3:5))},u.getJumpNextPage=function(){return Math.min(_(void 0,u.state,u.props),u.state.current+(u.props.showLessItems?3:5))},u.getItemIcon=function(I,L){var S=u.props.prefixCls,D=I||e.a.createElement("button",{type:"button","aria-label":L,className:"".concat(S,"-item-link")});return typeof I=="function"&&(D=e.a.createElement(I,Object(A.a)({},u.props))),D},u.savePaginationNode=function(I){u.paginationNode=I},u.isValid=function(I){return i(I)&&I!==u.state.current},u.shouldDisplayQuickJumper=function(){var I=u.props,L=I.showQuickJumper,S=I.pageSize,D=I.total;return D<=S?!1:L},u.handleKeyDown=function(I){(I.keyCode===a.ARROW_UP||I.keyCode===a.ARROW_DOWN)&&I.preventDefault()},u.handleKeyUp=function(I){var L=u.getValidValue(I),S=u.state.currentInputValue;L!==S&&u.setState({currentInputValue:L}),I.keyCode===a.ENTER?u.handleChange(L):I.keyCode===a.ARROW_UP?u.handleChange(L-1):I.keyCode===a.ARROW_DOWN&&u.handleChange(L+1)},u.changePageSize=function(I){var L=u.state.current,S=_(I,u.state,u.props);L=L>S?S:L,S===0&&(L=u.state.current),typeof I=="number"&&("pageSize"in u.props||u.setState({pageSize:I}),"current"in u.props||u.setState({current:L,currentInputValue:L})),u.props.onShowSizeChange(L,I),"onChange"in u.props&&u.props.onChange&&u.props.onChange(L,I)},u.handleChange=function(I){var L=u.props.disabled,S=I;if(u.isValid(S)&&!L){var D=_(void 0,u.state,u.props);S>D?S=D:S<1&&(S=1),"current"in u.props||u.setState({current:S,currentInputValue:S});var B=u.state.pageSize;return u.props.onChange(S,B),S}return u.state.current},u.prev=function(){u.hasPrev()&&u.handleChange(u.state.current-1)},u.next=function(){u.hasNext()&&u.handleChange(u.state.current+1)},u.jumpPrev=function(){u.handleChange(u.getJumpPrevPage())},u.jumpNext=function(){u.handleChange(u.getJumpNextPage())},u.hasPrev=function(){return u.state.current>1},u.hasNext=function(){return u.state.current<_(void 0,u.state,u.props)},u.runIfEnter=function(I,L){if(I.key==="Enter"||I.charCode===13){for(var S=arguments.length,D=new Array(S>2?S-2:0),B=2;B=b?w=b:w=Number(l),w}},{key:"getShowSizeChanger",value:function(){var u=this.props,l=u.showSizeChanger,b=u.total,m=u.totalBoundaryShowSizeChanger;return typeof l!="undefined"?l:b>m}},{key:"renderPrev",value:function(u){var l=this.props,b=l.prevIcon,m=l.itemRender,w=m(u,"prev",this.getItemIcon(b,"prev page")),I=!this.hasPrev();return Object(F.isValidElement)(w)?Object(F.cloneElement)(w,{disabled:I}):w}},{key:"renderNext",value:function(u){var l=this.props,b=l.nextIcon,m=l.itemRender,w=m(u,"next",this.getItemIcon(b,"next page")),I=!this.hasNext();return Object(F.isValidElement)(w)?Object(F.cloneElement)(w,{disabled:I}):w}},{key:"render",value:function(){var u=this,l=this.props,b=l.prefixCls,m=l.className,w=l.style,I=l.disabled,L=l.hideOnSinglePage,S=l.total,D=l.locale,B=l.showQuickJumper,R=l.showLessItems,W=l.showTitle,Y=l.showTotal,se=l.simple,ne=l.itemRender,Se=l.showPrevNextJumpers,xe=l.jumpPrevIcon,we=l.jumpNextIcon,Re=l.selectComponentClass,Pe=l.selectPrefixCls,ye=l.pageSizeOptions,ee=this.state,je=ee.current,et=ee.pageSize,He=ee.currentInputValue;if(L===!0&&S<=et)return null;var Ne=_(void 0,this.state,this.props),Ye=[],Ae=null,Ue=null,Ve=null,Q=null,fe=null,be=B&&B.goButton,Ee=R?1:2,ke=je-1>0?je-1:0,We=je+1=Ee*2&&je!==1+2&&(Ye[0]=Object(F.cloneElement)(Ye[0],{className:"".concat(b,"-item-after-jump-prev")}),Ye.unshift(Ae)),Ne-je>=Ee*2&&je!==Ne-2&&(Ye[Ye.length-1]=Object(F.cloneElement)(Ye[Ye.length-1],{className:"".concat(b,"-item-before-jump-next")}),Ye.push(Ue)),it!==1&&Ye.unshift(Ve),nt!==Ne&&Ye.push(Q)}var pe=null;Y&&(pe=e.a.createElement("li",{className:"".concat(b,"-total-text")},Y(S,[S===0?0:(je-1)*et+1,je*et>S?S:je*et])));var ue=!this.hasPrev()||!Ne,ce=!this.hasNext()||!Ne;return e.a.createElement("ul",Object(q.a)({className:f()(b,m,Object(j.a)({},"".concat(b,"-disabled"),I)),style:w,unselectable:"unselectable",ref:this.savePaginationNode},Xe),pe,e.a.createElement("li",{title:W?D.prev_page:null,onClick:this.prev,tabIndex:ue?null:0,onKeyPress:this.runIfEnterPrev,className:f()("".concat(b,"-prev"),Object(j.a)({},"".concat(b,"-disabled"),ue)),"aria-disabled":ue},this.renderPrev(ke)),Ye,e.a.createElement("li",{title:W?D.next_page:null,onClick:this.next,tabIndex:ce?null:0,onKeyPress:this.runIfEnterNext,className:f()("".concat(b,"-next"),Object(j.a)({},"".concat(b,"-disabled"),ce)),"aria-disabled":ce},this.renderNext(We)),e.a.createElement(h,{disabled:I,locale:D,rootPrefixCls:b,selectComponentClass:Re,selectPrefixCls:Pe,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:je,pageSize:et,pageSizeOptions:ye,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:be}))}}],[{key:"getDerivedStateFromProps",value:function(u,l){var b={};if("current"in u&&(b.current=u.current,u.current!==l.current&&(b.currentInputValue=b.current)),"pageSize"in u&&u.pageSize!==l.pageSize){var m=l.current,w=_(u.pageSize,l,u);m=m>w?w:m,"current"in u||(b.current=m,b.currentInputValue=m),b.pageSize=u.pageSize}return b}}]),y}(e.a.Component);g.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:n,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:n,locale:s.a,style:{},itemRender:t,totalBoundaryShowSizeChanger:50};var v=g},"6UM0":function(st,ve,z){var q,j;(function(){var A;(function(){"use strict";var O=[function(e,C,f){var p=f(1).Beautifier,o=f(5).Options;function a(r,h){var s=new p(r,h);return s.beautify()}e.exports=a,e.exports.defaultOptions=function(){return new o}},function(e,C,f){var p=f(2).Output,o=f(3).Token,a=f(4),r=f(5).Options,h=f(7).Tokenizer,s=f(7).line_starters,n=f(7).positionable_operators,i=f(7).TOKEN;function t(R,W){return W.indexOf(R)!==-1}function _(R){return R.replace(/^\s+/g,"")}function g(R){for(var W={},Y=0;YY&&(Y=R.line_indent_level));var se={mode:W,parent:R,last_token:R?R.last_token:new o(i.START_BLOCK,""),last_word:R?R.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:Y,alignment:0,line_indent_level:R?R.line_indent_level:Y,start_line_index:this._output.get_line_number(),ternary_depth:0};return se},D.prototype._reset=function(R){var W=R.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new p(this._options,W),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(l.BlockStatement);var Y=new h(R,this._options);return this._tokens=Y.tokenize(),R},D.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var R,W=this._reset(this._source_text),Y=this._options.eol;this._options.eol==="auto"&&(Y=` `,W&&a.lineBreak.test(W||"")&&(Y=W.match(a.lineBreak)[0]));for(var se=this._tokens.next();se;)this.handle_token(se),this._last_last_text=this._flags.last_token.text,this._flags.last_token=se,se=this._tokens.next();return R=this._output.get_code(Y),R},D.prototype.handle_token=function(R,W){R.type===i.START_EXPR?this.handle_start_expr(R):R.type===i.END_EXPR?this.handle_end_expr(R):R.type===i.START_BLOCK?this.handle_start_block(R):R.type===i.END_BLOCK?this.handle_end_block(R):R.type===i.WORD?this.handle_word(R):R.type===i.RESERVED?this.handle_word(R):R.type===i.SEMICOLON?this.handle_semicolon(R):R.type===i.STRING?this.handle_string(R):R.type===i.EQUALS?this.handle_equals(R):R.type===i.OPERATOR?this.handle_operator(R):R.type===i.COMMA?this.handle_comma(R):R.type===i.BLOCK_COMMENT?this.handle_block_comment(R,W):R.type===i.COMMENT?this.handle_comment(R,W):R.type===i.DOT?this.handle_dot(R):R.type===i.EOF?this.handle_eof(R):R.type===i.UNKNOWN?this.handle_unknown(R,W):this.handle_unknown(R,W)},D.prototype.handle_whitespace_and_comments=function(R,W){var Y=R.newlines,se=this._options.keep_array_indentation&&w(this._flags.mode);if(R.comments_before)for(var ne=R.comments_before.next();ne;)this.handle_whitespace_and_comments(ne,W),this.handle_token(ne,W),ne=R.comments_before.next();if(se)for(var Se=0;Se0,W);else if(this._options.max_preserve_newlines&&Y>this._options.max_preserve_newlines&&(Y=this._options.max_preserve_newlines),this._options.preserve_newlines&&Y>1){this.print_newline(!1,W);for(var xe=1;xe0&&(!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))},D.prototype.set_mode=function(R){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,R),this._flags=this.create_flags(this._previous_flags,R),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},D.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===l.Statement&&b(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},D.prototype.start_of_object_property=function(){return this._flags.parent.mode===l.ObjectLiteral&&this._flags.mode===l.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||x(this._flags.last_token,["get","set"]))},D.prototype.start_of_statement=function(R){var W=!1;return W=W||x(this._flags.last_token,["var","let","const"])&&R.type===i.WORD,W=W||v(this._flags.last_token,"do"),W=W||!(this._flags.parent.mode===l.ObjectLiteral&&this._flags.mode===l.Statement)&&x(this._flags.last_token,B)&&!R.newlines,W=W||v(this._flags.last_token,"else")&&!(v(R,"if")&&!R.comments_before),W=W||this._flags.last_token.type===i.END_EXPR&&(this._previous_flags.mode===l.ForInitializer||this._previous_flags.mode===l.Conditional),W=W||this._flags.last_token.type===i.WORD&&this._flags.mode===l.BlockStatement&&!this._flags.in_case&&!(R.text==="--"||R.text==="++")&&this._last_last_text!=="function"&&R.type!==i.WORD&&R.type!==i.RESERVED,W=W||this._flags.mode===l.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||x(this._flags.last_token,["get","set"])),W?(this.set_mode(l.Statement),this.indent(),this.handle_whitespace_and_comments(R,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(R,x(R,["do","for","if","while"])),!0):!1},D.prototype.handle_start_expr=function(R){this.start_of_statement(R)||this.handle_whitespace_and_comments(R);var W=l.Expression;if(R.text==="["){if(this._flags.last_token.type===i.WORD||this._flags.last_token.text===")"){x(this._flags.last_token,s)&&(this._output.space_before_token=!0),this.print_token(R),this.set_mode(W),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}W=l.ArrayLiteral,w(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())),t(this._flags.last_token.type,[i.START_EXPR,i.END_EXPR,i.WORD,i.OPERATOR,i.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===i.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,W=l.ForInitializer):t(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,W=l.Conditional):t(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&R.whitespace_before===""?this._output.space_before_token=!1:(t(this._flags.last_token.text,s)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===i.EQUALS||this._flags.last_token.type===i.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(R);else if(this._flags.last_token.type===i.WORD){this._output.space_before_token=!1;var Y=this._tokens.peek(-3);if(this._options.space_after_named_function&&Y){var se=this._tokens.peek(-4);x(Y,["async","function"])||Y.text==="*"&&x(se,["async","function"])?this._output.space_before_token=!0:this._flags.mode===l.ObjectLiteral?(Y.text==="{"||Y.text===","||Y.text==="*"&&(se.text==="{"||se.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(R);(this._flags.last_token.type===i.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(t(this._last_last_text,["function","yield"])||this._flags.mode===l.ObjectLiteral&&t(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===i.START_BLOCK?this.print_newline():(this._flags.last_token.type===i.END_EXPR||this._flags.last_token.type===i.START_EXPR||this._flags.last_token.type===i.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===i.COMMA)&&this.allow_wrap_or_preserved_newline(R,R.newlines),this.print_token(R),this.set_mode(W),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},D.prototype.handle_end_expr=function(R){for(;this._flags.mode===l.Statement;)this.restore_mode();this.handle_whitespace_and_comments(R),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(R,R.text==="]"&&w(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===i.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(R),this.restore_mode(),b(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===l.Conditional&&(this._previous_flags.mode=l.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},D.prototype.handle_start_block=function(R){this.handle_whitespace_and_comments(R);var W=this._tokens.peek(),Y=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===i.END_EXPR?(this.set_mode(l.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(l.BlockStatement):Y&&(t(Y.text,[":",","])&&t(W.type,[i.STRING,i.WORD,i.RESERVED])||t(W.text,["get","set","..."])&&t(Y.type,[i.WORD,i.RESERVED]))?t(this._last_last_text,["class","interface"])&&!t(Y.text,[":",","])?this.set_mode(l.BlockStatement):this.set_mode(l.ObjectLiteral):this._flags.last_token.type===i.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(l.BlockStatement):t(this._flags.last_token.type,[i.EQUALS,i.START_EXPR,i.COMMA,i.OPERATOR])||x(this._flags.last_token,["return","throw","import","default"])?this.set_mode(l.ObjectLiteral):this.set_mode(l.BlockStatement),this._flags.last_token&&(x(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0));var se=!W.comments_before&&W.text==="}",ne=se&&this._flags.last_word==="function"&&this._flags.last_token.type===i.END_EXPR;if(this._options.brace_preserve_inline){var Se=0,xe=null;this._flags.inline_frame=!0;do if(Se+=1,xe=this._tokens.peek(Se-1),xe.newlines){this._flags.inline_frame=!1;break}while(xe.type!==i.EOF&&!(xe.type===i.END_BLOCK&&xe.opened===R))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&R.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==i.OPERATOR&&(ne||this._flags.last_token.type===i.EQUALS||x(this._flags.last_token,E)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(w(this._previous_flags.mode)&&(this._flags.last_token.type===i.START_EXPR||this._flags.last_token.type===i.COMMA)&&((this._flags.last_token.type===i.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===i.COMMA||this._flags.last_token.type===i.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(R),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==i.OPERATOR&&this._flags.last_token.type!==i.START_EXPR&&(this._flags.last_token.type===i.START_BLOCK&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(R),this.indent(),!se&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},D.prototype.handle_end_block=function(R){for(this.handle_whitespace_and_comments(R);this._flags.mode===l.Statement;)this.restore_mode();var W=this._flags.last_token.type===i.START_BLOCK;this._flags.inline_frame&&!W?this._output.space_before_token=!0:this._options.brace_style==="expand"?W||this.print_newline():W||(w(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(R)},D.prototype.handle_word=function(R){if(R.type===i.RESERVED){if(t(R.text,["set","get"])&&this._flags.mode!==l.ObjectLiteral)R.type=i.WORD;else if(R.text==="import"&&t(this._tokens.peek().text,["(","."]))R.type=i.WORD;else if(t(R.text,["as","from"])&&!this._flags.import_block)R.type=i.WORD;else if(this._flags.mode===l.ObjectLiteral){var W=this._tokens.peek();W.text===":"&&(R.type=i.WORD)}}if(this.start_of_statement(R)?x(this._flags.last_token,["var","let","const"])&&R.type===i.WORD&&(this._flags.declaration_statement=!0):R.newlines&&!I(this._flags.mode)&&(this._flags.last_token.type!==i.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==i.EQUALS&&(this._options.preserve_newlines||!x(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(R),this.print_newline()):this.handle_whitespace_and_comments(R),this._flags.do_block&&!this._flags.do_while)if(v(R,"while")){this._output.space_before_token=!0,this.print_token(R),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&&v(R,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===l.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&x(R,["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(R),this._flags.in_case=!0;return}if((this._flags.last_token.type===i.COMMA||this._flags.last_token.type===i.START_EXPR||this._flags.last_token.type===i.EQUALS||this._flags.last_token.type===i.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(R)),v(R,"function")){(t(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(t(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===i.OPERATOR))&&(!this._output.just_added_blankline()&&!R.comments_before&&(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===i.RESERVED||this._flags.last_token.type===i.WORD?x(this._flags.last_token,["get","set","new","export"])||x(this._flags.last_token,B)?this._output.space_before_token=!0:v(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===i.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(I(this._flags.mode)||w(this._flags.mode))||this.print_newline(),this.print_token(R),this._flags.last_word=R.text;return}var Y="NONE";if(this._flags.last_token.type===i.END_BLOCK?this._previous_flags.inline_frame?Y="SPACE":x(R,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&R.newlines?Y="NEWLINE":(Y="SPACE",this._output.space_before_token=!0):Y="NEWLINE":this._flags.last_token.type===i.SEMICOLON&&this._flags.mode===l.BlockStatement?Y="NEWLINE":this._flags.last_token.type===i.SEMICOLON&&I(this._flags.mode)?Y="SPACE":this._flags.last_token.type===i.STRING?Y="NEWLINE":this._flags.last_token.type===i.RESERVED||this._flags.last_token.type===i.WORD||this._flags.last_token.text==="*"&&(t(this._last_last_text,["function","yield"])||this._flags.mode===l.ObjectLiteral&&t(this._last_last_text,["{",","]))?Y="SPACE":this._flags.last_token.type===i.START_BLOCK?this._flags.inline_frame?Y="SPACE":Y="NEWLINE":this._flags.last_token.type===i.END_EXPR&&(this._output.space_before_token=!0,Y="NEWLINE"),x(R,s)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?Y="SPACE":Y="NEWLINE"),x(R,["else","catch","finally"]))if((!(this._flags.last_token.type===i.END_BLOCK&&this._previous_flags.mode===l.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&R.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var se=this._output.current_line;se.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else Y==="NEWLINE"?x(this._flags.last_token,E)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&x(R,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==i.END_EXPR?(this._flags.last_token.type!==i.START_EXPR||!x(R,["var","let","const"]))&&this._flags.last_token.text!==":"&&(v(R,"if")&&v(R.previous,"else")?this._output.space_before_token=!0:this.print_newline()):x(R,s)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&w(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():Y==="SPACE"&&(this._output.space_before_token=!0);R.previous&&(R.previous.type===i.WORD||R.previous.type===i.RESERVED)&&(this._output.space_before_token=!0),this.print_token(R),this._flags.last_word=R.text,R.type===i.RESERVED&&(R.text==="do"?this._flags.do_block=!0:R.text==="if"?this._flags.if_block=!0:R.text==="import"?this._flags.import_block=!0:this._flags.import_block&&v(R,"from")&&(this._flags.import_block=!1))},D.prototype.handle_semicolon=function(R){this.start_of_statement(R)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(R);for(var W=this._tokens.peek();this._flags.mode===l.Statement&&!(this._flags.if_block&&v(W,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(R)},D.prototype.handle_string=function(R){R.text.startsWith("`")&&R.newlines===0&&R.whitespace_before===""&&(R.previous.text===")"||this._flags.last_token.type===i.WORD)||(this.start_of_statement(R)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(R),this._flags.last_token.type===i.RESERVED||this._flags.last_token.type===i.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===i.COMMA||this._flags.last_token.type===i.START_EXPR||this._flags.last_token.type===i.EQUALS||this._flags.last_token.type===i.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(R):R.text.startsWith("`")&&this._flags.last_token.type===i.END_EXPR&&(R.previous.text==="]"||R.previous.text===")")&&R.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(R)},D.prototype.handle_equals=function(R){this.start_of_statement(R)||this.handle_whitespace_and_comments(R),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(R),this._output.space_before_token=!0},D.prototype.handle_comma=function(R){this.handle_whitespace_and_comments(R,!0),this.print_token(R),this._output.space_before_token=!0,this._flags.declaration_statement?(I(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(R)):this._flags.mode===l.ObjectLiteral||this._flags.mode===l.Statement&&this._flags.parent.mode===l.ObjectLiteral?(this._flags.mode===l.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(R)},D.prototype.handle_operator=function(R){var W=R.text==="*"&&(x(this._flags.last_token,["function","yield"])||t(this._flags.last_token.type,[i.START_BLOCK,i.COMMA,i.END_BLOCK,i.SEMICOLON])),Y=t(R.text,["-","+"])&&(t(this._flags.last_token.type,[i.START_BLOCK,i.START_EXPR,i.EQUALS,i.OPERATOR])||t(this._flags.last_token.text,s)||this._flags.last_token.text===",");if(!this.start_of_statement(R)){var se=!W;this.handle_whitespace_and_comments(R,se)}if(R.text==="*"&&this._flags.last_token.type===i.DOT){this.print_token(R);return}if(R.text==="::"){this.print_token(R);return}if(this._flags.last_token.type===i.OPERATOR&&t(this._options.operator_position,u)&&this.allow_wrap_or_preserved_newline(R),R.text===":"&&this._flags.in_case){this.print_token(R),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==i.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 ne=!0,Se=!0,xe=!1;if(R.text===":"?this._flags.ternary_depth===0?ne=!1:(this._flags.ternary_depth-=1,xe=!0):R.text==="?"&&(this._flags.ternary_depth+=1),!Y&&!W&&this._options.preserve_newlines&&t(R.text,n)){var we=R.text===":",Re=we&&xe,Pe=we&&!xe;switch(this._options.operator_position){case c.before_newline:this._output.space_before_token=!Pe,this.print_token(R),(!we||Re)&&this.allow_wrap_or_preserved_newline(R),this._output.space_before_token=!0;return;case c.after_newline:this._output.space_before_token=!0,!we||Re?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(R):this._output.space_before_token=!1,this.print_token(R),this._output.space_before_token=!0;return;case c.preserve_newline:Pe||this.allow_wrap_or_preserved_newline(R),ne=!(this._output.just_added_newline()||Pe),this._output.space_before_token=ne,this.print_token(R),this._output.space_before_token=!0;return}}if(W){this.allow_wrap_or_preserved_newline(R),ne=!1;var ye=this._tokens.peek();Se=ye&&t(ye.type,[i.WORD,i.RESERVED])}else if(R.text==="...")this.allow_wrap_or_preserved_newline(R),ne=this._flags.last_token.type===i.START_BLOCK,Se=!1;else if(t(R.text,["--","++","!","~"])||Y){if((this._flags.last_token.type===i.COMMA||this._flags.last_token.type===i.START_EXPR)&&this.allow_wrap_or_preserved_newline(R),ne=!1,Se=!1,R.newlines&&(R.text==="--"||R.text==="++"||R.text==="~")){var ee=x(this._flags.last_token,E)&&R.newlines;ee&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(ee,!0)}this._flags.last_token.text===";"&&I(this._flags.mode)&&(ne=!0),this._flags.last_token.type===i.RESERVED?ne=!0:this._flags.last_token.type===i.END_EXPR?ne=!(this._flags.last_token.text==="]"&&(R.text==="--"||R.text==="++")):this._flags.last_token.type===i.OPERATOR&&(ne=t(R.text,["--","-","++","+"])&&t(this._flags.last_token.text,["--","-","++","+"]),t(R.text,["+","-"])&&t(this._flags.last_token.text,["--","++"])&&(Se=!0)),(this._flags.mode===l.BlockStatement&&!this._flags.inline_frame||this._flags.mode===l.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||ne,this.print_token(R),this._output.space_before_token=Se},D.prototype.handle_block_comment=function(R,W){if(this._output.raw){this._output.add_raw_token(R),R.directives&&R.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(R.directives){this.print_newline(!1,W),this.print_token(R),R.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!a.newline.test(R.text)&&!R.newlines){this._output.space_before_token=!0,this.print_token(R),this._output.space_before_token=!0;return}else this.print_block_commment(R,W)},D.prototype.print_block_commment=function(R,W){var Y=m(R.text),se,ne=!1,Se=!1,xe=R.whitespace_before,we=xe.length;if(this.print_newline(!1,W),this.print_token_line_indentation(R),this._output.add_token(Y[0]),this.print_newline(!1,W),Y.length>1){for(Y=Y.slice(1),ne=L(Y,"*"),Se=S(Y,xe),ne&&(this._flags.alignment=1),se=0;se=0;a--)if(this.__items[a].match(o))return!0;return!1},C.prototype.set_indent=function(o,a){this.is_empty()&&(this.__indent_count=o||0,this.__alignment_count=a||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},C.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)},C.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},C.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var o=this.__parent.current_line;return o.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),o.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),o.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,o.__items[0]===" "&&(o.__items.splice(0,1),o.__character_count-=1),!0}return!1},C.prototype.is_empty=function(){return this.__items.length===0},C.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},C.prototype.push=function(o){this.__items.push(o);var a=o.lastIndexOf(` `);a!==-1?this.__character_count=o.length-a:this.__character_count+=o.length},C.prototype.pop=function(){var o=null;return this.is_empty()||(o=this.__items.pop(),this.__character_count-=o.length),o},C.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},C.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},C.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},C.prototype.toString=function(){var o="";return this.is_empty()?this.__parent.indent_empty_lines&&(o=this.__parent.get_indent_string(this.__indent_count)):(o=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),o+=this.__items.join("")),o};function f(o,a){this.__cache=[""],this.__indent_size=o.indent_size,this.__indent_string=o.indent_char,o.indent_with_tabs||(this.__indent_string=new Array(o.indent_size+1).join(o.indent_char)),a=a||"",o.indent_level>0&&(a=new Array(o.indent_level+1).join(this.__indent_string)),this.__base_string=a,this.__base_string_length=a.length}f.prototype.get_indent_size=function(o,a){var r=this.__base_string_length;return a=a||0,o<0&&(r=0),r+=o*this.__indent_size,r+=a,r},f.prototype.get_indent_string=function(o,a){var r=this.__base_string;return a=a||0,o<0&&(o=0,r=""),a+=o*this.__indent_size,this.__ensure_cache(a),r+=this.__cache[a],r},f.prototype.__ensure_cache=function(o){for(;o>=this.__cache.length;)this.__add_column()},f.prototype.__add_column=function(){var o=this.__cache.length,a=0,r="";this.__indent_size&&o>=this.__indent_size&&(a=Math.floor(o/this.__indent_size),o-=a*this.__indent_size,r=new Array(a+1).join(this.__indent_string)),o&&(r+=new Array(o+1).join(" ")),this.__cache.push(r)};function p(o,a){this.__indent_cache=new f(o,a),this.raw=!1,this._end_with_newline=o.end_with_newline,this.indent_size=o.indent_size,this.wrap_line_length=o.wrap_line_length,this.indent_empty_lines=o.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new C(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}p.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},p.prototype.get_line_number=function(){return this.__lines.length},p.prototype.get_indent_string=function(o,a){return this.__indent_cache.get_indent_string(o,a)},p.prototype.get_indent_size=function(o,a){return this.__indent_cache.get_indent_size(o,a)},p.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},p.prototype.add_new_line=function(o){return this.is_empty()||!o&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},p.prototype.get_code=function(o){this.trim(!0);var a=this.current_line.pop();a&&(a[a.length-1]===` `&&(a=a.replace(/\n+$/g,"")),this.current_line.push(a)),this._end_with_newline&&this.__add_outputline();var r=this.__lines.join(` `);return o!==` `&&(r=r.replace(/[\n]/g,o)),r},p.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},p.prototype.set_indent=function(o,a){return o=o||0,a=a||0,this.next_line.set_indent(o,a),this.__lines.length>1?(this.current_line.set_indent(o,a),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(o){for(var a=0;a1&&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},p.prototype.just_added_newline=function(){return this.current_line.is_empty()},p.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},p.prototype.ensure_empty_line_above=function(o,a){for(var r=this.__lines.length-2;r>=0;){var h=this.__lines[r];if(h.is_empty())break;if(h.item(0).indexOf(o)!==0&&h.item(-1)!==a){this.__lines.splice(r+1,0,new C(this)),this.previous_line=this.__lines[this.__lines.length-2];break}r--}},e.exports.Output=p},function(e){function C(f,p,o,a){this.type=f,this.text=p,this.comments_before=null,this.newlines=o||0,this.whitespace_before=a||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}e.exports.Token=C},function(e,C){var f="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",p="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",o="\\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",a="\\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",r="(?:\\\\u[0-9a-fA-F]{4}|["+f+o+"])",h="(?:\\\\u[0-9a-fA-F]{4}|["+p+o+a+"])*";C.identifier=new RegExp(r+h,"g"),C.identifierStart=new RegExp(r),C.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+p+o+a+"])+");var s=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;C.newline=/[\n\r\u2028\u2029]/,C.lineBreak=new RegExp(`\r |`+C.newline.source),C.allLineBreaks=new RegExp(C.lineBreak.source,"g")},function(e,C,f){var p=f(6).Options,o=["before-newline","after-newline","preserve-newline"];function a(r){p.call(this,r,"js");var h=this.raw_options.brace_style||null;h==="expand-strict"?this.raw_options.brace_style="expand":h==="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 s=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var n=0;n>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),y=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";y=y.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),y="\\?\\.(?!\\d) "+y,y=y.replace(/ /g,"|");var c=new RegExp(y),u="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),l=u.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),b=new RegExp("^(?:"+l.join("|")+")$"),m,w=function(L,S){o.call(this,L,S),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var D=new s(this._input),B=new n(this._input).read_options(this._options);this.__patterns={template:B,identifier:B.starting_with(h.identifier).matching(h.identifierMatch),number:D.matching(g),punct:D.matching(c),comment:D.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:D.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:D.matching(//),include:D.starting_with(/#include/).until_after(h.lineBreak),shebang:D.starting_with(/#!/).until_after(h.lineBreak),xml:D.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:B.until(/['\\\n\r\u2028\u2029]/),double_quote:B.until(/["\\\n\r\u2028\u2029]/),template_text:B.until(/[`\\$]/),template_expression:B.until(/[`}\\]/)}};w.prototype=new o,w.prototype._is_comment=function(L){return L.type===t.COMMENT||L.type===t.BLOCK_COMMENT||L.type===t.UNKNOWN},w.prototype._is_opening=function(L){return L.type===t.START_BLOCK||L.type===t.START_EXPR},w.prototype._is_closing=function(L,S){return(L.type===t.END_BLOCK||L.type===t.END_EXPR)&&S&&(L.text==="]"&&S.text==="["||L.text===")"&&S.text==="("||L.text==="}"&&S.text==="{")},w.prototype._reset=function(){m=!1},w.prototype._get_next_token=function(L,S){var D=null;this._readWhitespace();var B=this._input.peek();return B===null?this._create_token(t.EOF,""):(D=D||this._read_non_javascript(B),D=D||this._read_string(B),D=D||this._read_word(L),D=D||this._read_singles(B),D=D||this._read_comment(B),D=D||this._read_regexp(B,L),D=D||this._read_xml(B,L),D=D||this._read_punctuation(),D=D||this._create_token(t.UNKNOWN,this._input.next()),D)},w.prototype._read_word=function(L){var S;if(S=this.__patterns.identifier.read(),S!=="")return S=S.replace(h.allLineBreaks,` `),!(L.type===t.DOT||L.type===t.RESERVED&&(L.text==="set"||L.text==="get"))&&b.test(S)?(S==="in"||S==="of")&&(L.type===t.WORD||L.type===t.STRING)?this._create_token(t.OPERATOR,S):this._create_token(t.RESERVED,S):this._create_token(t.WORD,S);if(S=this.__patterns.number.read(),S!=="")return this._create_token(t.WORD,S)},w.prototype._read_singles=function(L){var S=null;return L==="("||L==="["?S=this._create_token(t.START_EXPR,L):L===")"||L==="]"?S=this._create_token(t.END_EXPR,L):L==="{"?S=this._create_token(t.START_BLOCK,L):L==="}"?S=this._create_token(t.END_BLOCK,L):L===";"?S=this._create_token(t.SEMICOLON,L):L==="."&&x.test(this._input.peek(1))?S=this._create_token(t.DOT,L):L===","&&(S=this._create_token(t.COMMA,L)),S&&this._input.next(),S},w.prototype._read_punctuation=function(){var L=this.__patterns.punct.read();if(L!=="")return L==="="?this._create_token(t.EQUALS,L):L==="?."?this._create_token(t.DOT,L):this._create_token(t.OPERATOR,L)},w.prototype._read_non_javascript=function(L){var S="";if(L==="#"){if(this._is_first_token()&&(S=this.__patterns.shebang.read(),S))return this._create_token(t.UNKNOWN,S.trim()+` `);if(S=this.__patterns.include.read(),S)return this._create_token(t.UNKNOWN,S.trim()+` `);L=this._input.next();var D="#";if(this._input.hasNext()&&this._input.testChar(v)){do L=this._input.next(),D+=L;while(this._input.hasNext()&&L!=="#"&&L!=="=");return L==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(D+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(D+="{}",this._input.next(),this._input.next())),this._create_token(t.WORD,D)}this._input.back()}else if(L==="<"&&this._is_first_token()){if(S=this.__patterns.html_comment_start.read(),S){for(;this._input.hasNext()&&!this._input.testChar(h.newline);)S+=this._input.next();return m=!0,this._create_token(t.COMMENT,S)}}else if(m&&L==="-"&&(S=this.__patterns.html_comment_end.read(),S))return m=!1,this._create_token(t.COMMENT,S);return null},w.prototype._read_comment=function(L){var S=null;if(L==="/"){var D="";if(this._input.peek(1)==="*"){D=this.__patterns.block_comment.read();var B=_.get_directives(D);B&&B.ignore==="start"&&(D+=_.readIgnored(this._input)),D=D.replace(h.allLineBreaks,` `),S=this._create_token(t.BLOCK_COMMENT,D),S.directives=B}else this._input.peek(1)==="/"&&(D=this.__patterns.comment.read(),S=this._create_token(t.COMMENT,D))}return S},w.prototype._read_string=function(L){if(L==="`"||L==="'"||L==='"'){var S=this._input.next();return this.has_char_escapes=!1,L==="`"?S+=this._read_string_recursive("`",!0,"${"):S+=this._read_string_recursive(L),this.has_char_escapes&&this._options.unescape_strings&&(S=I(S)),this._input.peek()===L&&(S+=this._input.next()),S=S.replace(h.allLineBreaks,` `),this._create_token(t.STRING,S)}return null},w.prototype._allow_regexp_or_xml=function(L){return L.type===t.RESERVED&&i(L.text,["return","case","throw","else","do","typeof","yield"])||L.type===t.END_EXPR&&L.text===")"&&L.opened.previous.type===t.RESERVED&&i(L.opened.previous.text,["if","while","for"])||i(L.type,[t.COMMENT,t.START_EXPR,t.START_BLOCK,t.START,t.END_BLOCK,t.OPERATOR,t.EQUALS,t.EOF,t.SEMICOLON,t.COMMA])},w.prototype._read_regexp=function(L,S){if(L==="/"&&this._allow_regexp_or_xml(S)){for(var D=this._input.next(),B=!1,R=!1;this._input.hasNext()&&(B||R||this._input.peek()!==L)&&!this._input.testChar(h.newline);)D+=this._input.peek(),B?B=!1:(B=this._input.peek()==="\\",this._input.peek()==="["?R=!0:this._input.peek()==="]"&&(R=!1)),this._input.next();return this._input.peek()===L&&(D+=this._input.next(),D+=this._input.read(h.identifier)),this._create_token(t.STRING,D)}return null},w.prototype._read_xml=function(L,S){if(this._options.e4x&&L==="<"&&this._allow_regexp_or_xml(S)){var D="",B=this.__patterns.xml.read_match();if(B){for(var R=B[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),W=R.indexOf("{")===0,Y=0;B;){var se=!!B[1],ne=B[2],Se=!!B[B.length-1]||ne.slice(0,8)==="![CDATA[";if(!Se&&(ne===R||W&&ne.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(se?--Y:++Y),D+=B[0],Y<=0)break;B=this.__patterns.xml.read_match()}return B||(D+=this._input.match(/[\s\S]*/g)[0]),D=D.replace(h.allLineBreaks,` `),this._create_token(t.STRING,D)}}return null};function I(L){for(var S="",D=0,B=new p(L),R=null;B.hasNext();)if(R=B.match(/([\s]|[^\\]|\\\\)+/g),R&&(S+=R[0]),B.peek()==="\\"){if(B.next(),B.peek()==="x")R=B.match(/x([0-9A-Fa-f]{2})/g);else if(B.peek()==="u")R=B.match(/u([0-9A-Fa-f]{4})/g);else{S+="\\",B.hasNext()&&(S+=B.next());continue}if(!R)return L;if(D=parseInt(R[1],16),D>126&&D<=255&&R[0].indexOf("x")===0)return L;if(D>=0&&D<32){S+="\\"+R[0];continue}else D===34||D===39||D===92?S+="\\"+String.fromCharCode(D):S+=String.fromCharCode(D)}return S}w.prototype._read_string_recursive=function(L,S,D){var B,R;L==="'"?R=this.__patterns.single_quote:L==='"'?R=this.__patterns.double_quote:L==="`"?R=this.__patterns.template_text:L==="}"&&(R=this.__patterns.template_expression);for(var W=R.read(),Y="";this._input.hasNext();){if(Y=this._input.next(),Y===L||!S&&h.newline.test(Y)){this._input.back();break}else Y==="\\"&&this._input.hasNext()?(B=this._input.peek(),B==="x"||B==="u"?this.has_char_escapes=!0:B==="\r"&&this._input.peek(1)===` `&&this._input.next(),Y+=this._input.next()):D&&(D==="${"&&Y==="$"&&this._input.peek()==="{"&&(Y+=this._input.next()),D===Y&&(L==="`"?Y+=this._read_string_recursive("}",S,"`"):Y+=this._read_string_recursive("`",S,"${"),this._input.hasNext()&&(Y+=this._input.next())));Y+=R.read(),W+=Y}return W},e.exports.Tokenizer=w,e.exports.TOKEN=t,e.exports.positionable_operators=E.slice(),e.exports.line_starters=u.slice()},function(e){var C=RegExp.prototype.hasOwnProperty("sticky");function f(p){this.__input=p||"",this.__input_length=this.__input.length,this.__position=0}f.prototype.restart=function(){this.__position=0},f.prototype.back=function(){this.__position>0&&(this.__position-=1)},f.prototype.hasNext=function(){return this.__position=0&&p=0&&o=p.length&&this.__input.substring(o-p.length,o).toLowerCase()===p},e.exports.InputScanner=f},function(e,C,f){var p=f(8).InputScanner,o=f(3).Token,a=f(10).TokenStream,r=f(11).WhitespacePattern,h={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},s=function(n,i){this._input=new p(n),this._options=i||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new r(this._input)};s.prototype.tokenize=function(){this._input.restart(),this.__tokens=new a,this._reset();for(var n,i=new o(h.START,""),t=null,_=[],g=new a;i.type!==h.EOF;){for(n=this._get_next_token(i,t);this._is_comment(n);)g.add(n),n=this._get_next_token(i,t);g.isEmpty()||(n.comments_before=g,g=new a),n.parent=t,this._is_opening(n)?(_.push(t),t=n):t&&this._is_closing(n,t)&&(n.opened=t,t.closed=n,t=_.pop(),n.parent=t),n.previous=i,i.next=n,this.__tokens.add(n),i=n}return this.__tokens},s.prototype._is_first_token=function(){return this.__tokens.isEmpty()},s.prototype._reset=function(){},s.prototype._get_next_token=function(n,i){this._readWhitespace();var t=this._input.read(/.+/g);return t?this._create_token(h.RAW,t):this._create_token(h.EOF,"")},s.prototype._is_comment=function(n){return!1},s.prototype._is_opening=function(n){return!1},s.prototype._is_closing=function(n,i){return!1},s.prototype._create_token=function(n,i){var t=new o(n,i,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return t},s.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},e.exports.Tokenizer=s,e.exports.TOKEN=h},function(e){function C(f){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=f}C.prototype.restart=function(){this.__position=0},C.prototype.isEmpty=function(){return this.__tokens_length===0},C.prototype.hasNext=function(){return this.__position=0&&f/),erb:s.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:s.starting_with(/{%/).until_after(/%}/),django_value:s.starting_with(/{{/).until_after(/}}/),django_comment:s.starting_with(/{#/).until_after(/#}/),smarty:s.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:s.starting_with(/{\*/).until_after(/\*}/),smarty_literal:s.starting_with(/{literal}/).until_after(/{\/literal}/)}}a.prototype=new p,a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){this.__set_templated_pattern()},a.prototype.disable=function(r){var h=this._create();return h._disabled[r]=!0,h._update(),h},a.prototype.read_options=function(r){var h=this._create();for(var s in o)h._disabled[s]=r.templating.indexOf(s)===-1;return h._update(),h},a.prototype.exclude=function(r){var h=this._create();return h._excluded[r]=!0,h._update(),h},a.prototype.read=function(){var r="";this._match_pattern?r=this._input.read(this._starting_pattern):r=this._input.read(this._starting_pattern,this.__template_pattern);for(var h=this._read_template();h;)this._match_pattern?h+=this._input.read(this._match_pattern):h+=this._input.readUntil(this.__template_pattern),r+=h,h=this._read_template();return this._until_after&&(r+=this._input.readUntilAfter(this._until_pattern)),r},a.prototype.__set_templated_pattern=function(){var r=[];this._disabled.php||r.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||r.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||r.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(r.push(this.__patterns.django._starting_pattern.source),r.push(this.__patterns.django_value._starting_pattern.source),r.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||r.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&r.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+r.join("|")+")")},a.prototype._read_template=function(){var r="",h=this._input.peek();if(h==="<"){var s=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&s==="?"&&(r=r||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&s==="%"&&(r=r||this.__patterns.erb.read())}else h==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(r=r||this.__patterns.handlebars_comment.read(),r=r||this.__patterns.handlebars_unescaped.read(),r=r||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(r=r||this.__patterns.django_value.read()),this._excluded.django||(r=r||this.__patterns.django_comment.read(),r=r||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(r=r||this.__patterns.smarty_comment.read(),r=r||this.__patterns.smarty_literal.read(),r=r||this.__patterns.smarty.read()));return r},e.exports.TemplatablePattern=a}],M={};function H(e){var C=M[e];if(C!==void 0)return C.exports;var f=M[e]={exports:{}};return O[e](f,f.exports,H),f.exports}var F=H(0);A=F})();var U=A;!(q=[],j=function(){return{js_beautify:U}}.apply(ve,q),j!==void 0&&(st.exports=j))})()},"746U":function(st,ve,z){"use strict";z.d(ve,"f",function(){return q}),z.d(ve,"l",function(){return j}),z.d(ve,"k",function(){return A}),z.d(ve,"j",function(){return U}),z.d(ve,"g",function(){return O}),z.d(ve,"m",function(){return M}),z.d(ve,"h",function(){return H}),z.d(ve,"n",function(){return F}),z.d(ve,"c",function(){return e}),z.d(ve,"a",function(){return C}),z.d(ve,"i",function(){return f}),z.d(ve,"o",function(){return p}),z.d(ve,"e",function(){return r}),z.d(ve,"d",function(){return h}),z.d(ve,"p",function(){return s}),z.d(ve,"b",function(){return n});function q(i){return Array.isArray(i)}function j(i){return typeof i=="string"}function A(i){return typeof i=="object"&&i!==null&&!Array.isArray(i)&&!(i instanceof RegExp)&&!(i instanceof Date)}function U(i){return typeof i=="number"&&!isNaN(i)}function O(i){return i===!0||i===!1}function M(i){return typeof i=="undefined"}function H(i){return!F(i)}function F(i){return M(i)||i===null}function e(i,t){if(!i)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function C(i){if(F(i))throw new Error("Assertion Failed: argument is undefined or null");return i}function f(i){return typeof i=="function"}function p(i,t){const _=Math.min(i.length,t.length);for(let g=0;g<_;g++)o(i[g],t[g])}function o(i,t){if(j(t)){if(typeof i!==t)throw new Error(`argument does not match constraint: typeof ${t}`)}else if(f(t)){try{if(i instanceof t)return}catch(_){}if(!F(i)&&i.constructor===t)return;if(t.length===1&&t.call(void 0,i)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function a(i){let t=[],_=Object.getPrototypeOf(i);for(;Object.prototype!==_;)t=t.concat(Object.getOwnPropertyNames(_)),_=Object.getPrototypeOf(_);return t}function r(i){const t=[];for(const _ of a(i))typeof i[_]=="function"&&t.push(_);return t}function h(i,t){const _=v=>function(){const x=Array.prototype.slice.call(arguments,0);return t(v,x)};let g={};for(const v of i)g[v]=_(v);return g}function s(i){return i===null?void 0:i}function n(i,t="Unreachable"){throw new Error(t)}},"8HAY":function(st,ve,z){"use strict";z.d(ve,"a",function(){return O}),z.d(ve,"b",function(){return M}),z.d(ve,"d",function(){return H}),z.d(ve,"e",function(){return F}),z.d(ve,"c",function(){return e});var q=z("MI8n"),j=z("pmY6"),A=z("3/fG"),U=function(C,f,p,o){function a(r){return r instanceof p?r:new p(function(h){h(r)})}return new(p||(p=Promise))(function(r,h){function s(t){try{i(o.next(t))}catch(_){h(_)}}function n(t){try{i(o.throw(t))}catch(_){h(_)}}function i(t){t.done?r(t.value):a(t.value).then(s,n)}i((o=o.apply(C,f||[])).next())})};class O extends j.a{constructor(C,f="",p="",o=!0,a){super();this._onDidChange=this._register(new q.b),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=C,this._label=f,this._cssClass=p,this._enabled=o,this._actionCallback=a}get id(){return this._id}get label(){return this._label}set label(C){this._setLabel(C)}_setLabel(C){this._label!==C&&(this._label=C,this._onDidChange.fire({label:C}))}get tooltip(){return this._tooltip||""}set tooltip(C){this._setTooltip(C)}_setTooltip(C){this._tooltip!==C&&(this._tooltip=C,this._onDidChange.fire({tooltip:C}))}get class(){return this._cssClass}set class(C){this._setClass(C)}_setClass(C){this._cssClass!==C&&(this._cssClass=C,this._onDidChange.fire({class:C}))}get enabled(){return this._enabled}set enabled(C){this._setEnabled(C)}_setEnabled(C){this._enabled!==C&&(this._enabled=C,this._onDidChange.fire({enabled:C}))}get checked(){return this._checked}set checked(C){this._setChecked(C)}_setChecked(C){this._checked!==C&&(this._checked=C,this._onDidChange.fire({checked:C}))}run(C,f){return U(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(C))})}}class M extends j.a{constructor(){super(...arguments);this._onBeforeRun=this._register(new q.b),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new q.b),this.onDidRun=this._onDidRun.event}run(C,f){return U(this,void 0,void 0,function*(){if(!C.enabled)return;this._onBeforeRun.fire({action:C});let p;try{yield this.runAction(C,f)}catch(o){p=o}this._onDidRun.fire({action:C,error:p})})}runAction(C,f){return U(this,void 0,void 0,function*(){yield C.run(f)})}}class H extends O{constructor(C){super(H.ID,C,C?"separator text":"separator");this.checked=!1,this.enabled=!1}}H.ID="vs.actions.separator";class F{constructor(C,f,p,o){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=C,this.label=f,this.class=o,this._actions=p}get actions(){return this._actions}dispose(){}run(){return U(this,void 0,void 0,function*(){})}}class e extends O{constructor(){super(e.ID,A.a("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},"8hTe":function(st,ve,z){st.exports={button:"button___1wy9m"}},"9Bee":function(st,ve,z){"use strict";var q=z("DYRE"),j=z("zeV3"),A=z("+L6B"),U=z("2/Rp"),O=z("k1fw"),M=z("9og8"),H=z("tJVT"),F=z("WmNS"),e=z.n(F),C=z("q1tI"),f=z.n(C),p=z("vg9a"),o=z("DlQD"),a=z.n(o),r=z("rUJ1");function h(N,d){var T=N.match(/^(\s+)(?:```)/);if(T===null)return d;var P=T[1];return d.split(` `).map(function(K){var k=K.match(/^\s+/);if(k===null)return K;var le=Object(H.a)(k,1),Le=le[0];return Le.length>=P.length?K.slice(P.length):K}).join(` `)}var s=[],n=["