(window.webpackJsonp=window.webpackJsonp||[]).push([[196,5,7,8,13],{"+ua5":function(qe,ve,U){},"+vTd":function(qe,ve,U){qe.exports={flex_box_center:"flex_box_center___37CPQ",flex_space_between:"flex_space_between___1yzV5",flex_box_vertical_center:"flex_box_vertical_center___2QH_C",flex_box_center_end:"flex_box_center_end___22kLi",flex_box_column:"flex_box_column___1Y3On",line:"line___-rzSr",b1:"b1___1zz_c",b2:"b2___1dAOW",list:"list___1gpez",title:"title___21uOv",tr:"tr___3kTJL",itemDetail:"itemDetail___8QmqJ",answerWrapper:"answerWrapper___3guKO",decoration:"decoration___1rcYW",row:"row___3uQSh",typeRow:"typeRow___ADZSj",type:"type___2pfNZ",typeName:"typeName___8ZhPv",typeIcon:"typeIcon___1Xniv",unpublished:"unpublished___dTXTI",private:"private___XQiDx",public:"public___iIFou",reviewFlag:"reviewFlag___YP4vk",typeRightAction:"typeRightAction___1PQjp",actionLink:"actionLink___2E5q_",actionIcon:"actionIcon___GCvNK",topicTitle:"topicTitle___3fJds",topicTitleContent:"topicTitleContent___35cf9",judgmentContent:"judgmentContent___SU5rV",programContent:"programContent___3G6-D",otherContent:"otherContent___1JHnX",combinationContent:"combinationContent___6ZXO-",con:"con___1_qCl",otherContentItem:"otherContentItem___18WrV",otehrContentHtml:"otehrContentHtml___LW3nV",difficultyRow:"difficultyRow___3HvT0",updateTimeRow:"updateTimeRow___1dNd0",updateTimeWrap:"updateTimeWrap___2PKks",updateTimeContent:"updateTimeContent___1mNBy",programLanguage:"programLanguage___3CnaJ",updateTimeRowAction:"updateTimeRowAction___1DaMt",bottomAction:"bottomAction___Y-BNC",borderColorBlue:"borderColorBlue___2Xd-0",borderColorRed:"borderColorRed___2zA_q",borderColorFFF:"borderColorFFF___2R5-5",borderColorGray:"borderColorGray___nZnDe",selectIcon:"selectIcon___2byLd",colorGreen:"colorGreen___1iOKR",parseAnswerBorder:"parseAnswerBorder___1LTYn",answer:"answer___2L9lv",answerHtml:"answerHtml___3zrOk",parse:"parse___3d3dm",parseText:"parseText___1C_VL",parseAnswer:"parseAnswer___QMVPC",parseAnswerHtml:"parseAnswerHtml___2TCVz",actionBar:"actionBar___2ItMN",know:"know___y8QKK",menu:"menu___SYdg7",bottom:"bottom___2dFIa",textBtn:"textBtn___1y00f"}},"+z73":function(qe,ve,U){qe.exports={flex_box_center:"flex_box_center___3WSrc",flex_space_between:"flex_space_between___1fpCp",flex_box_vertical_center:"flex_box_vertical_center___3Wy8W",flex_box_center_end:"flex_box_center_end___3YIs2",flex_box_column:"flex_box_column___3CNwR",pWrap:"pWrap___2jVbQ",few:"few___3Eebn"}},"/cxE":function(qe,ve,U){"use strict";U.d(ve,"f",function(){return O}),U.d(ve,"g",function(){return k}),U.d(ve,"h",function(){return w}),U.d(ve,"e",function(){return B}),U.d(ve,"b",function(){return M}),U.d(ve,"c",function(){return e}),U.d(ve,"d",function(){return C}),U.d(ve,"a",function(){return y});class ne{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(c){setTimeout(()=>{throw c.stack?new Error(c.message+` `+c.stack):c},0)}}emit(c){this.listeners.forEach(d=>{d(c)})}onUnexpectedError(c){this.unexpectedErrorHandler(c),this.emit(c)}onUnexpectedExternalError(c){this.unexpectedErrorHandler(c)}}const W=new ne;function O(c){B(c)||W.onUnexpectedError(c);return}function k(c){B(c)||W.onUnexpectedExternalError(c);return}function w(c){if(c instanceof Error){let{name:d,message:a}=c;const i=c.stacktrace||c.stack;return{$isError:!0,name:d,message:a,stack:i}}return c}const D="Canceled";function B(c){return c instanceof Error&&c.name===D&&c.message===D}function M(){const c=new Error(D);return c.name=c.message,c}function e(c){return c?new Error(`Illegal argument: ${c}`):new Error("Illegal argument")}function C(c){return c?new Error(`Illegal state: ${c}`):new Error("Illegal state")}class y extends Error{constructor(c){super("NotSupported");c&&(this.message=c)}}},"1vnw":function(qe,ve,U){qe.exports={list:"list___1dAFk",btns:"btns___1YCLO",name:"name___2XX_F",folderWrapper:"folderWrapper___3sKHr",folderIcon:"folderIcon___Rov4k"}},"24hK":function(qe,ve,U){"use strict";U.d(ve,"a",function(){return W});class ne{constructor(O){this.element=O,this.next=ne.Undefined,this.prev=ne.Undefined}}ne.Undefined=new ne(void 0);class W{constructor(){this._first=ne.Undefined,this._last=ne.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===ne.Undefined}clear(){let O=this._first;for(;O!==ne.Undefined;){const k=O.next;O.prev=ne.Undefined,O.next=ne.Undefined,O=k}this._first=ne.Undefined,this._last=ne.Undefined,this._size=0}unshift(O){return this._insert(O,!1)}push(O){return this._insert(O,!0)}_insert(O,k){const w=new ne(O);if(this._first===ne.Undefined)this._first=w,this._last=w;else if(k){const B=this._last;this._last=w,w.prev=B,B.next=w}else{const B=this._first;this._first=w,w.next=B,B.prev=w}this._size+=1;let D=!1;return()=>{D||(D=!0,this._remove(w))}}shift(){if(this._first===ne.Undefined)return;{const O=this._first.element;return this._remove(this._first),O}}pop(){if(this._last===ne.Undefined)return;{const O=this._last.element;return this._remove(this._last),O}}_remove(O){if(O.prev!==ne.Undefined&&O.next!==ne.Undefined){const k=O.prev;k.next=O.next,O.next.prev=k}else O.prev===ne.Undefined&&O.next===ne.Undefined?(this._first=ne.Undefined,this._last=ne.Undefined):O.next===ne.Undefined?(this._last=this._last.prev,this._last.next=ne.Undefined):O.prev===ne.Undefined&&(this._first=this._first.next,this._first.prev=ne.Undefined);this._size-=1}*[Symbol.iterator](){let O=this._first;for(;O!==ne.Undefined;)yield O.element,O=O.next}}},"3/fG":function(qe,ve,U){"use strict";U.d(ve,"a",function(){return W});function ne(O,k){let w;return k.length===0?w=O:w=O.replace(/\{(\d+)\}/g,function(D,B){const M=B[0];return typeof k[M]!="undefined"?k[M]:D}),w}function W(O,k,...w){return ne(k,w)}},"5VLF":function(qe,ve,U){"use strict";var ne,W;function O(k,w,D){var B=function(M,e){return k.js_beautify(M,e)};return B.js=k.js_beautify,B.css=w.css_beautify,B.html=D.html_beautify,B.js_beautify=k.js_beautify,B.css_beautify=w.css_beautify,B.html_beautify=D.html_beautify,B}!(ne=[U("6UM0"),U("TXwP"),U("psGv")],W=function(k,w,D){return O(k,w,D)}.apply(ve,ne),W!==void 0&&(qe.exports=W))},"5Y4S":function(qe,ve,U){"use strict";U.d(ve,"a",function(){return O});var ne=U("MNsG");const W=ne.b.performance&&typeof ne.b.performance.now=="function";class O{constructor(k){this._highResolution=W&&k,this._startTime=this._now(),this._stopTime=-1}static create(k=!0){return new O(k)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?ne.b.performance.now():Date.now()}}},"6+eU":function(qe,ve,U){"use strict";U.d(ve,"a",function(){return m});var ne=U("wx14"),W=U("rePB"),O=U("VTBJ"),k=U("1OyB"),w=U("vuIU"),D=U("Ji7U"),B=U("LK+K"),M=U("q1tI"),e=U.n(M),C=U("TSYQ"),y=U.n(C),c=function(_){var l,f="".concat(_.rootPrefixCls,"-item"),u=y()(f,"".concat(f,"-").concat(_.page),(l={},Object(W.a)(l,"".concat(f,"-active"),_.active),Object(W.a)(l,_.className,!!_.className),Object(W.a)(l,"".concat(f,"-disabled"),!_.page),l)),h=function(){_.onClick(_.page)},E=function(S){_.onKeyPress(S,_.onClick,_.page)};return e.a.createElement("li",{title:_.showTitle?_.page:null,className:u,onClick:h,onKeyPress:E,tabIndex:"0"},_.itemRender(_.page,"page",e.a.createElement("a",{rel:"nofollow"},_.page)))},d=c,a={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},i=function(b){Object(D.a)(l,b);var _=Object(B.a)(l);function l(){var f;Object(k.a)(this,l);for(var u=arguments.length,h=new Array(u),E=0;E=0||v.relatedTarget.className.indexOf("".concat(A,"-next"))>=0))return;f.setState({goInputText:""}),I(f.getValidValue())},f.go=function(v){var S=f.state.goInputText;if(S==="")return;(v.keyCode===a.ENTER||v.type==="click")&&(f.setState({goInputText:""}),f.props.quickGo(f.getValidValue()))},f}return Object(w.a)(l,[{key:"getValidValue",value:function(){var u=this.state,h=u.goInputText,E=u.current;return!h||isNaN(h)?E:Number(h)}},{key:"getPageSizeOptions",value:function(){var u=this.props,h=u.pageSize,E=u.pageSizeOptions;return E.some(function(v){return v.toString()===h.toString()})?E:E.concat([h.toString()]).sort(function(v,S){var L=isNaN(Number(v))?0:Number(v),I=isNaN(Number(S))?0:Number(S);return L-I})}},{key:"render",value:function(){var u=this,h=this.props,E=h.pageSize,v=h.locale,S=h.rootPrefixCls,L=h.changeSize,I=h.quickGo,A=h.goButton,P=h.selectComponentClass,H=h.buildOptionText,R=h.selectPrefixCls,K=h.disabled,z=this.state.goInputText,oe="".concat(S,"-options"),$=P,fe=null,de=null,ee=null;if(!L&&!I)return null;var ie=this.getPageSizeOptions();if(L&&$){var ge=ie.map(function(Z,Y){return e.a.createElement($.Option,{key:Y,value:Z.toString()},(H||u.buildOptionText)(Z))});fe=e.a.createElement($,{disabled:K,prefixCls:R,showSearch:!1,className:"".concat(oe,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(E||ie[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Y){return Y.parentNode}},ge)}return I&&(A&&(ee=typeof A=="boolean"?e.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:K,className:"".concat(oe,"-quick-jumper-button")},v.jump_to_confirm):e.a.createElement("span",{onClick:this.go,onKeyUp:this.go},A)),de=e.a.createElement("div",{className:"".concat(oe,"-quick-jumper")},v.jump_to,e.a.createElement("input",{disabled:K,type:"text",value:z,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),v.page,ee)),e.a.createElement("li",{className:"".concat(oe)},fe,de)}}]),l}(e.a.Component);i.defaultProps={pageSizeOptions:["10","20","50","100"]};var o=i,s=U("N2Kk");function r(){}function n(b){return typeof b=="number"&&isFinite(b)&&Math.floor(b)===b}function t(b,_,l){return l}function g(b,_,l){var f=typeof b=="undefined"?_.pageSize:b;return Math.floor((l.total-1)/f)+1}var p=function(b){Object(D.a)(l,b);var _=Object(B.a)(l);function l(f){var u;Object(k.a)(this,l),u=_.call(this,f),u.getJumpPrevPage=function(){return Math.max(1,u.state.current-(u.props.showLessItems?3:5))},u.getJumpNextPage=function(){return Math.min(g(void 0,u.state,u.props),u.state.current+(u.props.showLessItems?3:5))},u.getItemIcon=function(L,I){var A=u.props.prefixCls,P=L||e.a.createElement("button",{type:"button","aria-label":I,className:"".concat(A,"-item-link")});return typeof L=="function"&&(P=e.a.createElement(L,Object(O.a)({},u.props))),P},u.savePaginationNode=function(L){u.paginationNode=L},u.isValid=function(L){return n(L)&&L!==u.state.current},u.shouldDisplayQuickJumper=function(){var L=u.props,I=L.showQuickJumper,A=L.pageSize,P=L.total;return P<=A?!1:I},u.handleKeyDown=function(L){(L.keyCode===a.ARROW_UP||L.keyCode===a.ARROW_DOWN)&&L.preventDefault()},u.handleKeyUp=function(L){var I=u.getValidValue(L),A=u.state.currentInputValue;I!==A&&u.setState({currentInputValue:I}),L.keyCode===a.ENTER?u.handleChange(I):L.keyCode===a.ARROW_UP?u.handleChange(I-1):L.keyCode===a.ARROW_DOWN&&u.handleChange(I+1)},u.changePageSize=function(L){var I=u.state.current,A=g(L,u.state,u.props);I=I>A?A:I,A===0&&(I=u.state.current),typeof L=="number"&&("pageSize"in u.props||u.setState({pageSize:L}),"current"in u.props||u.setState({current:I,currentInputValue:I})),u.props.onShowSizeChange(I,L),"onChange"in u.props&&u.props.onChange&&u.props.onChange(I,L)},u.handleChange=function(L){var I=u.props.disabled,A=L;if(u.isValid(A)&&!I){var P=g(void 0,u.state,u.props);A>P?A=P:A<1&&(A=1),"current"in u.props||u.setState({current:A,currentInputValue:A});var H=u.state.pageSize;return u.props.onChange(A,H),A}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.current2?A-2:0),H=2;H=E?S=E:S=Number(h),S}},{key:"getShowSizeChanger",value:function(){var u=this.props,h=u.showSizeChanger,E=u.total,v=u.totalBoundaryShowSizeChanger;return typeof h!="undefined"?h:E>v}},{key:"renderPrev",value:function(u){var h=this.props,E=h.prevIcon,v=h.itemRender,S=v(u,"prev",this.getItemIcon(E,"prev page")),L=!this.hasPrev();return Object(M.isValidElement)(S)?Object(M.cloneElement)(S,{disabled:L}):S}},{key:"renderNext",value:function(u){var h=this.props,E=h.nextIcon,v=h.itemRender,S=v(u,"next",this.getItemIcon(E,"next page")),L=!this.hasNext();return Object(M.isValidElement)(S)?Object(M.cloneElement)(S,{disabled:L}):S}},{key:"render",value:function(){var u=this,h=this.props,E=h.prefixCls,v=h.className,S=h.style,L=h.disabled,I=h.hideOnSinglePage,A=h.total,P=h.locale,H=h.showQuickJumper,R=h.showLessItems,K=h.showTitle,z=h.showTotal,oe=h.simple,$=h.itemRender,fe=h.showPrevNextJumpers,de=h.jumpPrevIcon,ee=h.jumpNextIcon,ie=h.selectComponentClass,ge=h.selectPrefixCls,Z=h.pageSizeOptions,Y=this.state,Se=Y.current,Pe=Y.pageSize,ke=Y.currentInputValue;if(I===!0&&A<=Pe)return null;var Re=g(void 0,this.state,this.props),Me=[],Ce=null,Le=null,Ne=null,J=null,pe=null,Te=H&&H.goButton,xe=R?1:2,We=Se-1>0?Se-1:0,He=Se+1=xe*2&&Se!==1+2&&(Me[0]=Object(M.cloneElement)(Me[0],{className:"".concat(E,"-item-after-jump-prev")}),Me.unshift(Ce)),Re-Se>=xe*2&&Se!==Re-2&&(Me[Me.length-1]=Object(M.cloneElement)(Me[Me.length-1],{className:"".concat(E,"-item-before-jump-next")}),Me.push(Le)),nt!==1&&Me.unshift(Ne),it!==Re&&Me.push(J)}var ae=null;z&&(ae=e.a.createElement("li",{className:"".concat(E,"-total-text")},z(A,[A===0?0:(Se-1)*Pe+1,Se*Pe>A?A:Se*Pe])));var ce=!this.hasPrev()||!Re,ye=!this.hasNext()||!Re;return e.a.createElement("ul",Object(ne.a)({className:y()(E,v,Object(W.a)({},"".concat(E,"-disabled"),L)),style:S,unselectable:"unselectable",ref:this.savePaginationNode},Oe),ae,e.a.createElement("li",{title:K?P.prev_page:null,onClick:this.prev,tabIndex:ce?null:0,onKeyPress:this.runIfEnterPrev,className:y()("".concat(E,"-prev"),Object(W.a)({},"".concat(E,"-disabled"),ce)),"aria-disabled":ce},this.renderPrev(We)),Me,e.a.createElement("li",{title:K?P.next_page:null,onClick:this.next,tabIndex:ye?null:0,onKeyPress:this.runIfEnterNext,className:y()("".concat(E,"-next"),Object(W.a)({},"".concat(E,"-disabled"),ye)),"aria-disabled":ye},this.renderNext(He)),e.a.createElement(o,{disabled:L,locale:P,rootPrefixCls:E,selectComponentClass:ie,selectPrefixCls:ge,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Se,pageSize:Pe,pageSizeOptions:Z,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Te}))}}],[{key:"getDerivedStateFromProps",value:function(u,h){var E={};if("current"in u&&(E.current=u.current,u.current!==h.current&&(E.currentInputValue=E.current)),"pageSize"in u&&u.pageSize!==h.pageSize){var v=h.current,S=g(u.pageSize,h,u);v=v>S?S:v,"current"in u||(E.current=v,E.currentInputValue=v),E.pageSize=u.pageSize}return E}}]),l}(e.a.Component);p.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:r,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:r,locale:s.a,style:{},itemRender:t,totalBoundaryShowSizeChanger:50};var m=p},"6UM0":function(qe,ve,U){var ne,W;(function(){var O;(function(){"use strict";var w=[function(e,C,y){var c=y(1).Beautifier,d=y(5).Options;function a(i,o){var s=new c(i,o);return s.beautify()}e.exports=a,e.exports.defaultOptions=function(){return new d}},function(e,C,y){var c=y(2).Output,d=y(3).Token,a=y(4),i=y(5).Options,o=y(7).Tokenizer,s=y(7).line_starters,r=y(7).positionable_operators,n=y(7).TOKEN;function t(R,K){return K.indexOf(R)!==-1}function g(R){return R.replace(/^\s+/g,"")}function p(R){for(var K={},z=0;zz&&(z=R.line_indent_level));var oe={mode:K,parent:R,last_token:R?R.last_token:new d(n.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:z,alignment:0,line_indent_level:R?R.line_indent_level:z,start_line_index:this._output.get_line_number(),ternary_depth:0};return oe},P.prototype._reset=function(R){var K=R.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new c(this._options,K),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(h.BlockStatement);var z=new o(R,this._options);return this._tokens=z.tokenize(),R},P.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var R,K=this._reset(this._source_text),z=this._options.eol;this._options.eol==="auto"&&(z=` `,K&&a.lineBreak.test(K||"")&&(z=K.match(a.lineBreak)[0]));for(var oe=this._tokens.next();oe;)this.handle_token(oe),this._last_last_text=this._flags.last_token.text,this._flags.last_token=oe,oe=this._tokens.next();return R=this._output.get_code(z),R},P.prototype.handle_token=function(R,K){R.type===n.START_EXPR?this.handle_start_expr(R):R.type===n.END_EXPR?this.handle_end_expr(R):R.type===n.START_BLOCK?this.handle_start_block(R):R.type===n.END_BLOCK?this.handle_end_block(R):R.type===n.WORD?this.handle_word(R):R.type===n.RESERVED?this.handle_word(R):R.type===n.SEMICOLON?this.handle_semicolon(R):R.type===n.STRING?this.handle_string(R):R.type===n.EQUALS?this.handle_equals(R):R.type===n.OPERATOR?this.handle_operator(R):R.type===n.COMMA?this.handle_comma(R):R.type===n.BLOCK_COMMENT?this.handle_block_comment(R,K):R.type===n.COMMENT?this.handle_comment(R,K):R.type===n.DOT?this.handle_dot(R):R.type===n.EOF?this.handle_eof(R):R.type===n.UNKNOWN?this.handle_unknown(R,K):this.handle_unknown(R,K)},P.prototype.handle_whitespace_and_comments=function(R,K){var z=R.newlines,oe=this._options.keep_array_indentation&&S(this._flags.mode);if(R.comments_before)for(var $=R.comments_before.next();$;)this.handle_whitespace_and_comments($,K),this.handle_token($,K),$=R.comments_before.next();if(oe)for(var fe=0;fe0,K);else if(this._options.max_preserve_newlines&&z>this._options.max_preserve_newlines&&(z=this._options.max_preserve_newlines),this._options.preserve_newlines&&z>1){this.print_newline(!1,K);for(var de=1;de0&&(!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))},P.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)},P.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===h.Statement&&E(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},P.prototype.start_of_object_property=function(){return this._flags.parent.mode===h.ObjectLiteral&&this._flags.mode===h.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||b(this._flags.last_token,["get","set"]))},P.prototype.start_of_statement=function(R){var K=!1;return K=K||b(this._flags.last_token,["var","let","const"])&&R.type===n.WORD,K=K||m(this._flags.last_token,"do"),K=K||!(this._flags.parent.mode===h.ObjectLiteral&&this._flags.mode===h.Statement)&&b(this._flags.last_token,H)&&!R.newlines,K=K||m(this._flags.last_token,"else")&&!(m(R,"if")&&!R.comments_before),K=K||this._flags.last_token.type===n.END_EXPR&&(this._previous_flags.mode===h.ForInitializer||this._previous_flags.mode===h.Conditional),K=K||this._flags.last_token.type===n.WORD&&this._flags.mode===h.BlockStatement&&!this._flags.in_case&&!(R.text==="--"||R.text==="++")&&this._last_last_text!=="function"&&R.type!==n.WORD&&R.type!==n.RESERVED,K=K||this._flags.mode===h.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||b(this._flags.last_token,["get","set"])),K?(this.set_mode(h.Statement),this.indent(),this.handle_whitespace_and_comments(R,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(R,b(R,["do","for","if","while"])),!0):!1},P.prototype.handle_start_expr=function(R){this.start_of_statement(R)||this.handle_whitespace_and_comments(R);var K=h.Expression;if(R.text==="["){if(this._flags.last_token.type===n.WORD||this._flags.last_token.text===")"){b(this._flags.last_token,s)&&(this._output.space_before_token=!0),this.print_token(R),this.set_mode(K),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}K=h.ArrayLiteral,S(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,[n.START_EXPR,n.END_EXPR,n.WORD,n.OPERATOR,n.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===n.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,K=h.ForInitializer):t(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,K=h.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===n.EQUALS||this._flags.last_token.type===n.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(R);else if(this._flags.last_token.type===n.WORD){this._output.space_before_token=!1;var z=this._tokens.peek(-3);if(this._options.space_after_named_function&&z){var oe=this._tokens.peek(-4);b(z,["async","function"])||z.text==="*"&&b(oe,["async","function"])?this._output.space_before_token=!0:this._flags.mode===h.ObjectLiteral?(z.text==="{"||z.text===","||z.text==="*"&&(oe.text==="{"||oe.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===n.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===h.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===n.START_BLOCK?this.print_newline():(this._flags.last_token.type===n.END_EXPR||this._flags.last_token.type===n.START_EXPR||this._flags.last_token.type===n.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===n.COMMA)&&this.allow_wrap_or_preserved_newline(R,R.newlines),this.print_token(R),this.set_mode(K),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},P.prototype.handle_end_expr=function(R){for(;this._flags.mode===h.Statement;)this.restore_mode();this.handle_whitespace_and_comments(R),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(R,R.text==="]"&&S(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===n.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(),E(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===h.Conditional&&(this._previous_flags.mode=h.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},P.prototype.handle_start_block=function(R){this.handle_whitespace_and_comments(R);var K=this._tokens.peek(),z=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===n.END_EXPR?(this.set_mode(h.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(h.BlockStatement):z&&(t(z.text,[":",","])&&t(K.type,[n.STRING,n.WORD,n.RESERVED])||t(K.text,["get","set","..."])&&t(z.type,[n.WORD,n.RESERVED]))?t(this._last_last_text,["class","interface"])&&!t(z.text,[":",","])?this.set_mode(h.BlockStatement):this.set_mode(h.ObjectLiteral):this._flags.last_token.type===n.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(h.BlockStatement):t(this._flags.last_token.type,[n.EQUALS,n.START_EXPR,n.COMMA,n.OPERATOR])||b(this._flags.last_token,["return","throw","import","default"])?this.set_mode(h.ObjectLiteral):this.set_mode(h.BlockStatement),this._flags.last_token&&(b(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0));var oe=!K.comments_before&&K.text==="}",$=oe&&this._flags.last_word==="function"&&this._flags.last_token.type===n.END_EXPR;if(this._options.brace_preserve_inline){var fe=0,de=null;this._flags.inline_frame=!0;do if(fe+=1,de=this._tokens.peek(fe-1),de.newlines){this._flags.inline_frame=!1;break}while(de.type!==n.EOF&&!(de.type===n.END_BLOCK&&de.opened===R))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&R.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==n.OPERATOR&&($||this._flags.last_token.type===n.EQUALS||b(this._flags.last_token,_)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(S(this._previous_flags.mode)&&(this._flags.last_token.type===n.START_EXPR||this._flags.last_token.type===n.COMMA)&&((this._flags.last_token.type===n.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===n.COMMA||this._flags.last_token.type===n.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!==n.OPERATOR&&this._flags.last_token.type!==n.START_EXPR&&(this._flags.last_token.type===n.START_BLOCK&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(R),this.indent(),!oe&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},P.prototype.handle_end_block=function(R){for(this.handle_whitespace_and_comments(R);this._flags.mode===h.Statement;)this.restore_mode();var K=this._flags.last_token.type===n.START_BLOCK;this._flags.inline_frame&&!K?this._output.space_before_token=!0:this._options.brace_style==="expand"?K||this.print_newline():K||(S(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)},P.prototype.handle_word=function(R){if(R.type===n.RESERVED){if(t(R.text,["set","get"])&&this._flags.mode!==h.ObjectLiteral)R.type=n.WORD;else if(R.text==="import"&&t(this._tokens.peek().text,["(","."]))R.type=n.WORD;else if(t(R.text,["as","from"])&&!this._flags.import_block)R.type=n.WORD;else if(this._flags.mode===h.ObjectLiteral){var K=this._tokens.peek();K.text===":"&&(R.type=n.WORD)}}if(this.start_of_statement(R)?b(this._flags.last_token,["var","let","const"])&&R.type===n.WORD&&(this._flags.declaration_statement=!0):R.newlines&&!L(this._flags.mode)&&(this._flags.last_token.type!==n.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==n.EQUALS&&(this._options.preserve_newlines||!b(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(m(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&&m(R,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===h.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&b(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===n.COMMA||this._flags.last_token.type===n.START_EXPR||this._flags.last_token.type===n.EQUALS||this._flags.last_token.type===n.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(R)),m(R,"function")){(t(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(t(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===n.OPERATOR))&&(!this._output.just_added_blankline()&&!R.comments_before&&(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===n.RESERVED||this._flags.last_token.type===n.WORD?b(this._flags.last_token,["get","set","new","export"])||b(this._flags.last_token,H)?this._output.space_before_token=!0:m(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===n.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(L(this._flags.mode)||S(this._flags.mode))||this.print_newline(),this.print_token(R),this._flags.last_word=R.text;return}var z="NONE";if(this._flags.last_token.type===n.END_BLOCK?this._previous_flags.inline_frame?z="SPACE":b(R,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&R.newlines?z="NEWLINE":(z="SPACE",this._output.space_before_token=!0):z="NEWLINE":this._flags.last_token.type===n.SEMICOLON&&this._flags.mode===h.BlockStatement?z="NEWLINE":this._flags.last_token.type===n.SEMICOLON&&L(this._flags.mode)?z="SPACE":this._flags.last_token.type===n.STRING?z="NEWLINE":this._flags.last_token.type===n.RESERVED||this._flags.last_token.type===n.WORD||this._flags.last_token.text==="*"&&(t(this._last_last_text,["function","yield"])||this._flags.mode===h.ObjectLiteral&&t(this._last_last_text,["{",","]))?z="SPACE":this._flags.last_token.type===n.START_BLOCK?this._flags.inline_frame?z="SPACE":z="NEWLINE":this._flags.last_token.type===n.END_EXPR&&(this._output.space_before_token=!0,z="NEWLINE"),b(R,s)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?z="SPACE":z="NEWLINE"),b(R,["else","catch","finally"]))if((!(this._flags.last_token.type===n.END_BLOCK&&this._previous_flags.mode===h.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 oe=this._output.current_line;oe.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else z==="NEWLINE"?b(this._flags.last_token,_)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&b(R,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==n.END_EXPR?(this._flags.last_token.type!==n.START_EXPR||!b(R,["var","let","const"]))&&this._flags.last_token.text!==":"&&(m(R,"if")&&m(R.previous,"else")?this._output.space_before_token=!0:this.print_newline()):b(R,s)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&S(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():z==="SPACE"&&(this._output.space_before_token=!0);R.previous&&(R.previous.type===n.WORD||R.previous.type===n.RESERVED)&&(this._output.space_before_token=!0),this.print_token(R),this._flags.last_word=R.text,R.type===n.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&&m(R,"from")&&(this._flags.import_block=!1))},P.prototype.handle_semicolon=function(R){this.start_of_statement(R)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(R);for(var K=this._tokens.peek();this._flags.mode===h.Statement&&!(this._flags.if_block&&m(K,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(R)},P.prototype.handle_string=function(R){R.text.startsWith("`")&&R.newlines===0&&R.whitespace_before===""&&(R.previous.text===")"||this._flags.last_token.type===n.WORD)||(this.start_of_statement(R)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(R),this._flags.last_token.type===n.RESERVED||this._flags.last_token.type===n.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===n.COMMA||this._flags.last_token.type===n.START_EXPR||this._flags.last_token.type===n.EQUALS||this._flags.last_token.type===n.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(R):R.text.startsWith("`")&&this._flags.last_token.type===n.END_EXPR&&(R.previous.text==="]"||R.previous.text===")")&&R.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(R)},P.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},P.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?(L(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===h.ObjectLiteral||this._flags.mode===h.Statement&&this._flags.parent.mode===h.ObjectLiteral?(this._flags.mode===h.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(R)},P.prototype.handle_operator=function(R){var K=R.text==="*"&&(b(this._flags.last_token,["function","yield"])||t(this._flags.last_token.type,[n.START_BLOCK,n.COMMA,n.END_BLOCK,n.SEMICOLON])),z=t(R.text,["-","+"])&&(t(this._flags.last_token.type,[n.START_BLOCK,n.START_EXPR,n.EQUALS,n.OPERATOR])||t(this._flags.last_token.text,s)||this._flags.last_token.text===",");if(!this.start_of_statement(R)){var oe=!K;this.handle_whitespace_and_comments(R,oe)}if(R.text==="*"&&this._flags.last_token.type===n.DOT){this.print_token(R);return}if(R.text==="::"){this.print_token(R);return}if(this._flags.last_token.type===n.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!==n.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 $=!0,fe=!0,de=!1;if(R.text===":"?this._flags.ternary_depth===0?$=!1:(this._flags.ternary_depth-=1,de=!0):R.text==="?"&&(this._flags.ternary_depth+=1),!z&&!K&&this._options.preserve_newlines&&t(R.text,r)){var ee=R.text===":",ie=ee&&de,ge=ee&&!de;switch(this._options.operator_position){case f.before_newline:this._output.space_before_token=!ge,this.print_token(R),(!ee||ie)&&this.allow_wrap_or_preserved_newline(R),this._output.space_before_token=!0;return;case f.after_newline:this._output.space_before_token=!0,!ee||ie?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 f.preserve_newline:ge||this.allow_wrap_or_preserved_newline(R),$=!(this._output.just_added_newline()||ge),this._output.space_before_token=$,this.print_token(R),this._output.space_before_token=!0;return}}if(K){this.allow_wrap_or_preserved_newline(R),$=!1;var Z=this._tokens.peek();fe=Z&&t(Z.type,[n.WORD,n.RESERVED])}else if(R.text==="...")this.allow_wrap_or_preserved_newline(R),$=this._flags.last_token.type===n.START_BLOCK,fe=!1;else if(t(R.text,["--","++","!","~"])||z){if((this._flags.last_token.type===n.COMMA||this._flags.last_token.type===n.START_EXPR)&&this.allow_wrap_or_preserved_newline(R),$=!1,fe=!1,R.newlines&&(R.text==="--"||R.text==="++"||R.text==="~")){var Y=b(this._flags.last_token,_)&&R.newlines;Y&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Y,!0)}this._flags.last_token.text===";"&&L(this._flags.mode)&&($=!0),this._flags.last_token.type===n.RESERVED?$=!0:this._flags.last_token.type===n.END_EXPR?$=!(this._flags.last_token.text==="]"&&(R.text==="--"||R.text==="++")):this._flags.last_token.type===n.OPERATOR&&($=t(R.text,["--","-","++","+"])&&t(this._flags.last_token.text,["--","-","++","+"]),t(R.text,["+","-"])&&t(this._flags.last_token.text,["--","++"])&&(fe=!0)),(this._flags.mode===h.BlockStatement&&!this._flags.inline_frame||this._flags.mode===h.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||$,this.print_token(R),this._output.space_before_token=fe},P.prototype.handle_block_comment=function(R,K){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,K),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,K)},P.prototype.print_block_commment=function(R,K){var z=v(R.text),oe,$=!1,fe=!1,de=R.whitespace_before,ee=de.length;if(this.print_newline(!1,K),this.print_token_line_indentation(R),this._output.add_token(z[0]),this.print_newline(!1,K),z.length>1){for(z=z.slice(1),$=I(z,"*"),fe=A(z,de),$&&(this._flags.alignment=1),oe=0;oe=0;a--)if(this.__items[a].match(d))return!0;return!1},C.prototype.set_indent=function(d,a){this.is_empty()&&(this.__indent_count=d||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 d=this.__parent.current_line;return d.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),d.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),d.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,d.__items[0]===" "&&(d.__items.splice(0,1),d.__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(d){this.__items.push(d);var a=d.lastIndexOf(` `);a!==-1?this.__character_count=d.length-a:this.__character_count+=d.length},C.prototype.pop=function(){var d=null;return this.is_empty()||(d=this.__items.pop(),this.__character_count-=d.length),d},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 d="";return this.is_empty()?this.__parent.indent_empty_lines&&(d=this.__parent.get_indent_string(this.__indent_count)):(d=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),d+=this.__items.join("")),d};function y(d,a){this.__cache=[""],this.__indent_size=d.indent_size,this.__indent_string=d.indent_char,d.indent_with_tabs||(this.__indent_string=new Array(d.indent_size+1).join(d.indent_char)),a=a||"",d.indent_level>0&&(a=new Array(d.indent_level+1).join(this.__indent_string)),this.__base_string=a,this.__base_string_length=a.length}y.prototype.get_indent_size=function(d,a){var i=this.__base_string_length;return a=a||0,d<0&&(i=0),i+=d*this.__indent_size,i+=a,i},y.prototype.get_indent_string=function(d,a){var i=this.__base_string;return a=a||0,d<0&&(d=0,i=""),a+=d*this.__indent_size,this.__ensure_cache(a),i+=this.__cache[a],i},y.prototype.__ensure_cache=function(d){for(;d>=this.__cache.length;)this.__add_column()},y.prototype.__add_column=function(){var d=this.__cache.length,a=0,i="";this.__indent_size&&d>=this.__indent_size&&(a=Math.floor(d/this.__indent_size),d-=a*this.__indent_size,i=new Array(a+1).join(this.__indent_string)),d&&(i+=new Array(d+1).join(" ")),this.__cache.push(i)};function c(d,a){this.__indent_cache=new y(d,a),this.raw=!1,this._end_with_newline=d.end_with_newline,this.indent_size=d.indent_size,this.wrap_line_length=d.wrap_line_length,this.indent_empty_lines=d.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()}c.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},c.prototype.get_line_number=function(){return this.__lines.length},c.prototype.get_indent_string=function(d,a){return this.__indent_cache.get_indent_string(d,a)},c.prototype.get_indent_size=function(d,a){return this.__indent_cache.get_indent_size(d,a)},c.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},c.prototype.add_new_line=function(d){return this.is_empty()||!d&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},c.prototype.get_code=function(d){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 i=this.__lines.join(` `);return d!==` `&&(i=i.replace(/[\n]/g,d)),i},c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},c.prototype.set_indent=function(d,a){return d=d||0,a=a||0,this.next_line.set_indent(d,a),this.__lines.length>1?(this.current_line.set_indent(d,a),!0):(this.current_line.set_indent(),!1)},c.prototype.add_raw_token=function(d){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},c.prototype.just_added_newline=function(){return this.current_line.is_empty()},c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},c.prototype.ensure_empty_line_above=function(d,a){for(var i=this.__lines.length-2;i>=0;){var o=this.__lines[i];if(o.is_empty())break;if(o.item(0).indexOf(d)!==0&&o.item(-1)!==a){this.__lines.splice(i+1,0,new C(this)),this.previous_line=this.__lines[this.__lines.length-2];break}i--}},e.exports.Output=c},function(e){function C(y,c,d,a){this.type=y,this.text=c,this.comments_before=null,this.newlines=d||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 y="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",c="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",d="\\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",i="(?:\\\\u[0-9a-fA-F]{4}|["+y+d+"])",o="(?:\\\\u[0-9a-fA-F]{4}|["+c+d+a+"])*";C.identifier=new RegExp(i+o,"g"),C.identifierStart=new RegExp(i),C.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+c+d+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,y){var c=y(6).Options,d=["before-newline","after-newline","preserve-newline"];function a(i){c.call(this,i,"js");var o=this.raw_options.brace_style||null;o==="expand-strict"?this.raw_options.brace_style="expand":o==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var 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 r=0;r>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),l=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";l=l.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),l="\\?\\.(?!\\d) "+l,l=l.replace(/ /g,"|");var f=new RegExp(l),u="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),h=u.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),E=new RegExp("^(?:"+h.join("|")+")$"),v,S=function(I,A){d.call(this,I,A),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var P=new s(this._input),H=new r(this._input).read_options(this._options);this.__patterns={template:H,identifier:H.starting_with(o.identifier).matching(o.identifierMatch),number:P.matching(p),punct:P.matching(f),comment:P.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:P.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:P.matching(//),include:P.starting_with(/#include/).until_after(o.lineBreak),shebang:P.starting_with(/#!/).until_after(o.lineBreak),xml:P.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:H.until(/['\\\n\r\u2028\u2029]/),double_quote:H.until(/["\\\n\r\u2028\u2029]/),template_text:H.until(/[`\\$]/),template_expression:H.until(/[`}\\]/)}};S.prototype=new d,S.prototype._is_comment=function(I){return I.type===t.COMMENT||I.type===t.BLOCK_COMMENT||I.type===t.UNKNOWN},S.prototype._is_opening=function(I){return I.type===t.START_BLOCK||I.type===t.START_EXPR},S.prototype._is_closing=function(I,A){return(I.type===t.END_BLOCK||I.type===t.END_EXPR)&&A&&(I.text==="]"&&A.text==="["||I.text===")"&&A.text==="("||I.text==="}"&&A.text==="{")},S.prototype._reset=function(){v=!1},S.prototype._get_next_token=function(I,A){var P=null;this._readWhitespace();var H=this._input.peek();return H===null?this._create_token(t.EOF,""):(P=P||this._read_non_javascript(H),P=P||this._read_string(H),P=P||this._read_word(I),P=P||this._read_singles(H),P=P||this._read_comment(H),P=P||this._read_regexp(H,I),P=P||this._read_xml(H,I),P=P||this._read_punctuation(),P=P||this._create_token(t.UNKNOWN,this._input.next()),P)},S.prototype._read_word=function(I){var A;if(A=this.__patterns.identifier.read(),A!=="")return A=A.replace(o.allLineBreaks,` `),!(I.type===t.DOT||I.type===t.RESERVED&&(I.text==="set"||I.text==="get"))&&E.test(A)?(A==="in"||A==="of")&&(I.type===t.WORD||I.type===t.STRING)?this._create_token(t.OPERATOR,A):this._create_token(t.RESERVED,A):this._create_token(t.WORD,A);if(A=this.__patterns.number.read(),A!=="")return this._create_token(t.WORD,A)},S.prototype._read_singles=function(I){var A=null;return I==="("||I==="["?A=this._create_token(t.START_EXPR,I):I===")"||I==="]"?A=this._create_token(t.END_EXPR,I):I==="{"?A=this._create_token(t.START_BLOCK,I):I==="}"?A=this._create_token(t.END_BLOCK,I):I===";"?A=this._create_token(t.SEMICOLON,I):I==="."&&b.test(this._input.peek(1))?A=this._create_token(t.DOT,I):I===","&&(A=this._create_token(t.COMMA,I)),A&&this._input.next(),A},S.prototype._read_punctuation=function(){var I=this.__patterns.punct.read();if(I!=="")return I==="="?this._create_token(t.EQUALS,I):I==="?."?this._create_token(t.DOT,I):this._create_token(t.OPERATOR,I)},S.prototype._read_non_javascript=function(I){var A="";if(I==="#"){if(this._is_first_token()&&(A=this.__patterns.shebang.read(),A))return this._create_token(t.UNKNOWN,A.trim()+` `);if(A=this.__patterns.include.read(),A)return this._create_token(t.UNKNOWN,A.trim()+` `);I=this._input.next();var P="#";if(this._input.hasNext()&&this._input.testChar(m)){do I=this._input.next(),P+=I;while(this._input.hasNext()&&I!=="#"&&I!=="=");return I==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(P+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(P+="{}",this._input.next(),this._input.next())),this._create_token(t.WORD,P)}this._input.back()}else if(I==="<"&&this._is_first_token()){if(A=this.__patterns.html_comment_start.read(),A){for(;this._input.hasNext()&&!this._input.testChar(o.newline);)A+=this._input.next();return v=!0,this._create_token(t.COMMENT,A)}}else if(v&&I==="-"&&(A=this.__patterns.html_comment_end.read(),A))return v=!1,this._create_token(t.COMMENT,A);return null},S.prototype._read_comment=function(I){var A=null;if(I==="/"){var P="";if(this._input.peek(1)==="*"){P=this.__patterns.block_comment.read();var H=g.get_directives(P);H&&H.ignore==="start"&&(P+=g.readIgnored(this._input)),P=P.replace(o.allLineBreaks,` `),A=this._create_token(t.BLOCK_COMMENT,P),A.directives=H}else this._input.peek(1)==="/"&&(P=this.__patterns.comment.read(),A=this._create_token(t.COMMENT,P))}return A},S.prototype._read_string=function(I){if(I==="`"||I==="'"||I==='"'){var A=this._input.next();return this.has_char_escapes=!1,I==="`"?A+=this._read_string_recursive("`",!0,"${"):A+=this._read_string_recursive(I),this.has_char_escapes&&this._options.unescape_strings&&(A=L(A)),this._input.peek()===I&&(A+=this._input.next()),A=A.replace(o.allLineBreaks,` `),this._create_token(t.STRING,A)}return null},S.prototype._allow_regexp_or_xml=function(I){return I.type===t.RESERVED&&n(I.text,["return","case","throw","else","do","typeof","yield"])||I.type===t.END_EXPR&&I.text===")"&&I.opened.previous.type===t.RESERVED&&n(I.opened.previous.text,["if","while","for"])||n(I.type,[t.COMMENT,t.START_EXPR,t.START_BLOCK,t.START,t.END_BLOCK,t.OPERATOR,t.EQUALS,t.EOF,t.SEMICOLON,t.COMMA])},S.prototype._read_regexp=function(I,A){if(I==="/"&&this._allow_regexp_or_xml(A)){for(var P=this._input.next(),H=!1,R=!1;this._input.hasNext()&&(H||R||this._input.peek()!==I)&&!this._input.testChar(o.newline);)P+=this._input.peek(),H?H=!1:(H=this._input.peek()==="\\",this._input.peek()==="["?R=!0:this._input.peek()==="]"&&(R=!1)),this._input.next();return this._input.peek()===I&&(P+=this._input.next(),P+=this._input.read(o.identifier)),this._create_token(t.STRING,P)}return null},S.prototype._read_xml=function(I,A){if(this._options.e4x&&I==="<"&&this._allow_regexp_or_xml(A)){var P="",H=this.__patterns.xml.read_match();if(H){for(var R=H[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),K=R.indexOf("{")===0,z=0;H;){var oe=!!H[1],$=H[2],fe=!!H[H.length-1]||$.slice(0,8)==="![CDATA[";if(!fe&&($===R||K&&$.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(oe?--z:++z),P+=H[0],z<=0)break;H=this.__patterns.xml.read_match()}return H||(P+=this._input.match(/[\s\S]*/g)[0]),P=P.replace(o.allLineBreaks,` `),this._create_token(t.STRING,P)}}return null};function L(I){for(var A="",P=0,H=new c(I),R=null;H.hasNext();)if(R=H.match(/([\s]|[^\\]|\\\\)+/g),R&&(A+=R[0]),H.peek()==="\\"){if(H.next(),H.peek()==="x")R=H.match(/x([0-9A-Fa-f]{2})/g);else if(H.peek()==="u")R=H.match(/u([0-9A-Fa-f]{4})/g);else{A+="\\",H.hasNext()&&(A+=H.next());continue}if(!R)return I;if(P=parseInt(R[1],16),P>126&&P<=255&&R[0].indexOf("x")===0)return I;if(P>=0&&P<32){A+="\\"+R[0];continue}else P===34||P===39||P===92?A+="\\"+String.fromCharCode(P):A+=String.fromCharCode(P)}return A}S.prototype._read_string_recursive=function(I,A,P){var H,R;I==="'"?R=this.__patterns.single_quote:I==='"'?R=this.__patterns.double_quote:I==="`"?R=this.__patterns.template_text:I==="}"&&(R=this.__patterns.template_expression);for(var K=R.read(),z="";this._input.hasNext();){if(z=this._input.next(),z===I||!A&&o.newline.test(z)){this._input.back();break}else z==="\\"&&this._input.hasNext()?(H=this._input.peek(),H==="x"||H==="u"?this.has_char_escapes=!0:H==="\r"&&this._input.peek(1)===` `&&this._input.next(),z+=this._input.next()):P&&(P==="${"&&z==="$"&&this._input.peek()==="{"&&(z+=this._input.next()),P===z&&(I==="`"?z+=this._read_string_recursive("}",A,"`"):z+=this._read_string_recursive("`",A,"${"),this._input.hasNext()&&(z+=this._input.next())));z+=R.read(),K+=z}return K},e.exports.Tokenizer=S,e.exports.TOKEN=t,e.exports.positionable_operators=_.slice(),e.exports.line_starters=u.slice()},function(e){var C=RegExp.prototype.hasOwnProperty("sticky");function y(c){this.__input=c||"",this.__input_length=this.__input.length,this.__position=0}y.prototype.restart=function(){this.__position=0},y.prototype.back=function(){this.__position>0&&(this.__position-=1)},y.prototype.hasNext=function(){return this.__position=0&&c=0&&d=c.length&&this.__input.substring(d-c.length,d).toLowerCase()===c},e.exports.InputScanner=y},function(e,C,y){var c=y(8).InputScanner,d=y(3).Token,a=y(10).TokenStream,i=y(11).WhitespacePattern,o={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},s=function(r,n){this._input=new c(r),this._options=n||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new i(this._input)};s.prototype.tokenize=function(){this._input.restart(),this.__tokens=new a,this._reset();for(var r,n=new d(o.START,""),t=null,g=[],p=new a;n.type!==o.EOF;){for(r=this._get_next_token(n,t);this._is_comment(r);)p.add(r),r=this._get_next_token(n,t);p.isEmpty()||(r.comments_before=p,p=new a),r.parent=t,this._is_opening(r)?(g.push(t),t=r):t&&this._is_closing(r,t)&&(r.opened=t,t.closed=r,t=g.pop(),r.parent=t),r.previous=n,n.next=r,this.__tokens.add(r),n=r}return this.__tokens},s.prototype._is_first_token=function(){return this.__tokens.isEmpty()},s.prototype._reset=function(){},s.prototype._get_next_token=function(r,n){this._readWhitespace();var t=this._input.read(/.+/g);return t?this._create_token(o.RAW,t):this._create_token(o.EOF,"")},s.prototype._is_comment=function(r){return!1},s.prototype._is_opening=function(r){return!1},s.prototype._is_closing=function(r,n){return!1},s.prototype._create_token=function(r,n){var t=new d(r,n,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=o},function(e){function C(y){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=y}C.prototype.restart=function(){this.__position=0},C.prototype.isEmpty=function(){return this.__tokens_length===0},C.prototype.hasNext=function(){return this.__position=0&&y/),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 c,a.prototype._create=function(){return new a(this._input,this)},a.prototype._update=function(){this.__set_templated_pattern()},a.prototype.disable=function(i){var o=this._create();return o._disabled[i]=!0,o._update(),o},a.prototype.read_options=function(i){var o=this._create();for(var s in d)o._disabled[s]=i.templating.indexOf(s)===-1;return o._update(),o},a.prototype.exclude=function(i){var o=this._create();return o._excluded[i]=!0,o._update(),o},a.prototype.read=function(){var i="";this._match_pattern?i=this._input.read(this._starting_pattern):i=this._input.read(this._starting_pattern,this.__template_pattern);for(var o=this._read_template();o;)this._match_pattern?o+=this._input.read(this._match_pattern):o+=this._input.readUntil(this.__template_pattern),i+=o,o=this._read_template();return this._until_after&&(i+=this._input.readUntilAfter(this._until_pattern)),i},a.prototype.__set_templated_pattern=function(){var i=[];this._disabled.php||i.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||i.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||i.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(i.push(this.__patterns.django._starting_pattern.source),i.push(this.__patterns.django_value._starting_pattern.source),i.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||i.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&i.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+i.join("|")+")")},a.prototype._read_template=function(){var i="",o=this._input.peek();if(o==="<"){var s=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&s==="?"&&(i=i||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&s==="%"&&(i=i||this.__patterns.erb.read())}else o==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(i=i||this.__patterns.handlebars_comment.read(),i=i||this.__patterns.handlebars_unescaped.read(),i=i||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(i=i||this.__patterns.django_value.read()),this._excluded.django||(i=i||this.__patterns.django_comment.read(),i=i||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(i=i||this.__patterns.smarty_comment.read(),i=i||this.__patterns.smarty_literal.read(),i=i||this.__patterns.smarty.read()));return i},e.exports.TemplatablePattern=a}],D={};function B(e){var C=D[e];if(C!==void 0)return C.exports;var y=D[e]={exports:{}};return w[e](y,y.exports,B),y.exports}var M=B(0);O=M})();var k=O;!(ne=[],W=function(){return{js_beautify:k}}.apply(ve,ne),W!==void 0&&(qe.exports=W))})()},"746U":function(qe,ve,U){"use strict";U.d(ve,"f",function(){return ne}),U.d(ve,"l",function(){return W}),U.d(ve,"k",function(){return O}),U.d(ve,"j",function(){return k}),U.d(ve,"g",function(){return w}),U.d(ve,"m",function(){return D}),U.d(ve,"h",function(){return B}),U.d(ve,"n",function(){return M}),U.d(ve,"c",function(){return e}),U.d(ve,"a",function(){return C}),U.d(ve,"i",function(){return y}),U.d(ve,"o",function(){return c}),U.d(ve,"e",function(){return i}),U.d(ve,"d",function(){return o}),U.d(ve,"p",function(){return s}),U.d(ve,"b",function(){return r});function ne(n){return Array.isArray(n)}function W(n){return typeof n=="string"}function O(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)&&!(n instanceof RegExp)&&!(n instanceof Date)}function k(n){return typeof n=="number"&&!isNaN(n)}function w(n){return n===!0||n===!1}function D(n){return typeof n=="undefined"}function B(n){return!M(n)}function M(n){return D(n)||n===null}function e(n,t){if(!n)throw new Error(t?`Unexpected type, expected '${t}'`:"Unexpected type")}function C(n){if(M(n))throw new Error("Assertion Failed: argument is undefined or null");return n}function y(n){return typeof n=="function"}function c(n,t){const g=Math.min(n.length,t.length);for(let p=0;pfunction(){const b=Array.prototype.slice.call(arguments,0);return t(m,b)};let p={};for(const m of n)p[m]=g(m);return p}function s(n){return n===null?void 0:n}function r(n,t="Unreachable"){throw new Error(t)}},"815F":function(qe,ve,U){"use strict";U.d(ve,"e",function(){return B}),U.d(ve,"c",function(){return e}),U.d(ve,"d",function(){return C}),U.d(ve,"a",function(){return c}),U.d(ve,"f",function(){return d}),U.d(ve,"b",function(){return a});var ne=U("KQm4"),W=U("VTBJ"),O=U("Ff2n"),k=U("Zm9Q"),w=U("Kwbf"),D=U("OZM5");function B(i,o){return i!=null?i:o}function M(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=new Map;function s(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(r||[]).forEach(function(t){var g=t.key,p=t.children;Object(w.a)(g!=null,"Tree node must have a certain key: [".concat(n).concat(g,"]"));var m=String(g);Object(w.a)(!o.has(m)||g===null||g===void 0,"Same 'key' exist in the Tree: ".concat(m)),o.set(m,!0),s(p,"".concat(n).concat(m," > "))})}s(i)}function e(i){function o(s){var r=Object(k.a)(s);return r.map(function(n){if(!Object(D.i)(n))return Object(w.a)(!n,"Tree/TreeNode can only accept TreeNode as children."),null;var t=n.key,g=n.props,p=g.children,m=Object(O.a)(g,["children"]),b=Object(W.a)({key:t},m),_=o(p);return _.length&&(b.children=_),b}).filter(function(n){return n})}return o(i)}function C(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],s=new Set(o===!0?[]:o),r=[];function n(t){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return t.map(function(p,m){var b=Object(D.h)(g?g.pos:"0",m),_=B(p.key,b),l=Object(W.a)(Object(W.a)({},p),{},{parent:g,pos:b,children:null,data:p,isStart:[].concat(Object(ne.a)(g?g.isStart:[]),[m===0]),isEnd:[].concat(Object(ne.a)(g?g.isEnd:[]),[m===t.length-1])});return r.push(l),o===!0||s.has(_)?l.children=n(p.children||[],l):l.children=[],l})}return n(i),r}function y(i,o,s){var r;s?typeof s=="string"?r=function(g){return g[s]}:typeof s=="function"&&(r=function(g){return s(g)}):r=function(g,p){return B(g.key,p)};function n(t,g,p){var m=t?t.children:i,b=t?Object(D.h)(p.pos,g):"0";if(t){var _=r(t,b),l={node:t,index:g,pos:b,key:_,parentPos:p.node?p.pos:null,level:p.level+1};o(l)}m&&m.forEach(function(f,u){n(f,u,{node:t,pos:b,level:p?p.level+1:-1})})}n(null)}function c(i){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=o.initWrapper,r=o.processEntity,n=o.onProcessFinished,t=arguments.length>2?arguments[2]:void 0,g={},p={},m={posEntities:g,keyEntities:p};return s&&(m=s(m)||m),y(i,function(b){var _=b.node,l=b.index,f=b.pos,u=b.key,h=b.parentPos,E=b.level,v={node:_,index:l,key:u,pos:f,level:E},S=B(u,f);g[f]=v,p[S]=v,v.parent=g[h],v.parent&&(v.parent.children=v.parent.children||[],v.parent.children.push(v)),r&&r(v,m)},t),n&&n(m),m}function d(i,o){var s=o.expandedKeys,r=o.selectedKeys,n=o.loadedKeys,t=o.loadingKeys,g=o.checkedKeys,p=o.halfCheckedKeys,m=o.dragOverNodeKey,b=o.dropPosition,_=o.keyEntities,l=_[i],f={eventKey:i,expanded:s.indexOf(i)!==-1,selected:r.indexOf(i)!==-1,loaded:n.indexOf(i)!==-1,loading:t.indexOf(i)!==-1,checked:g.indexOf(i)!==-1,halfChecked:p.indexOf(i)!==-1,pos:String(l?l.pos:""),dragOver:m===i&&b===0,dragOverGapTop:m===i&&b===-1,dragOverGapBottom:m===i&&b===1};return f}function a(i){var o=i.data,s=i.expanded,r=i.selected,n=i.checked,t=i.loaded,g=i.loading,p=i.halfChecked,m=i.dragOver,b=i.dragOverGapTop,_=i.dragOverGapBottom,l=i.pos,f=i.active,u=Object(W.a)(Object(W.a)({},o),{},{expanded:s,selected:r,checked:n,loaded:t,loading:g,halfChecked:p,dragOver:m,dragOverGapTop:b,dragOverGapBottom:_,pos:l,active:f});return"props"in u||Object.defineProperty(u,"props",{get:function(){return Object(w.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),i}}),u}},"8HAY":function(qe,ve,U){"use strict";U.d(ve,"a",function(){return w}),U.d(ve,"b",function(){return D}),U.d(ve,"d",function(){return B}),U.d(ve,"e",function(){return M}),U.d(ve,"c",function(){return e});var ne=U("MI8n"),W=U("pmY6"),O=U("3/fG"),k=function(C,y,c,d){function a(i){return i instanceof c?i:new c(function(o){o(i)})}return new(c||(c=Promise))(function(i,o){function s(t){try{n(d.next(t))}catch(g){o(g)}}function r(t){try{n(d.throw(t))}catch(g){o(g)}}function n(t){t.done?i(t.value):a(t.value).then(s,r)}n((d=d.apply(C,y||[])).next())})};class w extends W.a{constructor(C,y="",c="",d=!0,a){super();this._onDidChange=this._register(new ne.b),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=C,this._label=y,this._cssClass=c,this._enabled=d,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,y){return k(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(C))})}}class D extends W.a{constructor(){super(...arguments);this._onBeforeRun=this._register(new ne.b),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new ne.b),this.onDidRun=this._onDidRun.event}run(C,y){return k(this,void 0,void 0,function*(){if(!C.enabled)return;this._onBeforeRun.fire({action:C});let c;try{yield this.runAction(C,y)}catch(d){c=d}this._onDidRun.fire({action:C,error:c})})}runAction(C,y){return k(this,void 0,void 0,function*(){yield C.run(y)})}}class B extends w{constructor(C){super(B.ID,C,C?"separator text":"separator");this.checked=!1,this.enabled=!1}}B.ID="vs.actions.separator";class M{constructor(C,y,c,d){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=C,this.label=y,this.class=d,this._actions=c}get actions(){return this._actions}dispose(){}run(){return k(this,void 0,void 0,function*(){})}}class e extends w{constructor(){super(e.ID,O.a("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},"8hTe":function(qe,ve,U){qe.exports={button:"button___1wy9m"}},"9Bee":function(qe,ve,U){"use strict";var ne=U("DYRE"),W=U("zeV3"),O=U("+L6B"),k=U("2/Rp"),w=U("k1fw"),D=U("9og8"),B=U("tJVT"),M=U("WmNS"),e=U.n(M),C=U("q1tI"),y=U.n(C),c=U("vg9a"),d=U("DlQD"),a=U.n(d),i=U("rUJ1");function o(F,T){var x=F.match(/^(\s+)(?:```)/);if(x===null)return T;var N=x[1];return T.split(` `).map(function(G){var j=G.match(/^\s+/);if(j===null)return G;var _e=Object(B.a)(j,1),Ge=_e[0];return Ge.length>=N.length?G.slice(N.length):G}).join(` `)}var s=[],r=["