"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "js/lib/beautifier.min.js.map" between
js-beautify-1.14.4.tar.gz and js-beautify-1.14.5.tar.gz

About: JS Beautifier is a JavaScript (and bookmarket) beautifier.

beautifier.min.js.map  (js-beautify-1.14.4):beautifier.min.js.map  (js-beautify-1.14.5)
{"version":3,"file":"beautifier.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAA ZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,aAAc,GAA IH,GACC,iBAAZC,QACdA,QAAoB,WAAID,IAExBD,EAAiB,WAAIC,IARvB,CASmB,oBAATK,KAAuBA,KA A0B,oBAAZC,QAA0BC,OAA2B,oBAAXC,OAAyBA,OAASC,MAAM,WACjI,O,6CCoBA,SAASC,EAAWC,EAAq BC,GACvCD,EAAqD,iBAAxBA,EAAmCA,EAAsBA,EAAoBE,OAC1GD,EAAiD,iBAAtBA,EAAiCA,EAAoBA, EAAkBC,OAClGJ,KAAKK,2BAA6B,IAAIC,OAAOJ,EAAsB,0BAA0BE,OAASD,EAAmB,KACzHH,KAAKO,oB AAsB,kBAE3BP,KAAKQ,gCAAkC,IAAIF,OAAOJ,EAAsB,2BAA2BE,OAASD,EAAmB,KAGjIF,EAAWQ,UAA UC,eAAiB,SAASC,GAC7C,IAAKA,EAAKC,MAAMZ,KAAKK,4BACnB,OAAO,KAGT,IAAIQ,EAAa,GACjBb, KAAKO,oBAAoBO,UAAY,EAGrC,IAFA,IAAIC,EAAkBf,KAAKO,oBAAoBS,KAAKL,GAE7CI,GACLF,EAAW E,EAAgB,IAAMA,EAAgB,GACjDA,EAAkBf,KAAKO,oBAAoBS,KAAKL,GAGlD,OAAOE,GAGTZ,EAAWQ,UA AUQ,YAAc,SAASC,GAC1C,OAAOA,EAAMC,eAAenB,KAAKQ,kCAInCf,EAAOD,QAAQ,EAAaS,G,gBC/B5B ,IAAImB,EAAoBd,OAA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,EAAS2rB,EAAyBE,GAAY,CAGjD9rB,QAAS,IAOV,OAHAgsB,EAAoBF,GAAU7rB,EAAQA, EAAOD,QAAS6rB,GAG/C5rB,EAAOD,QClBW6rB,CAAoB,K","sources":["webpack://beautifier/ webpack/universalModuleDefinition","webpack://beautifier/./js/src/core/directive s.js","webpack://beautifier/./js/src/core/inputscanner.js","webpack://beautifier /./js/src/core/options.js","webpack://beautifier/./js/src/core/output.js","webpa ck://beautifier/./js/src/core/pattern.js","webpack://beautifier/./js/src/core/te mplatablepattern.js","webpack://beautifier/./js/src/core/token.js","webpack://be autifier/./js/src/core/tokenizer.js","webpack://beautifier/./js/src/core/tokenst ream.js","webpack://beautifier/./js/src/core/whitespacepattern.js","webpack://be autifier/./js/src/css/beautifier.js","webpack://beautifier/./js/src/css/index.js ","webpack://beautifier/./js/src/css/options.js","webpack://beautifier/./js/src/ html/beautifier.js","webpack://beautifier/./js/src/html/index.js","webpack://bea utifier/./js/src/html/options.js","webpack://beautifier/./js/src/html/tokenizer. js","webpack://beautifier/./js/src/index.js","webpack://beautifier/./js/src/java script/acorn.js","webpack://beautifier/./js/src/javascript/beautifier.js","webpa ck://beautifier/./js/src/javascript/index.js","webpack://beautifier/./js/src/jav ascript/options.js","webpack://beautifier/./js/src/javascript/tokenizer.js","web pack://beautifier/webpack/bootstrap","webpack://beautifier/webpack/startup"],"so urcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\ti f(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine (\"beautifier\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texpo rts[\"beautifier\"] = factory();\n\telse\n\t\troot[\"beautifier\"] = factory();\ n})(typeof self !== 'undefined' ? self : typeof windows !== 'undefined' ? window : typeof global !== 'undefined' ? global : this, function() {\nreturn ","/*jshi nt node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Eina r Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, f ree of charge, to any person\n obtaining a copy of this software and associated documentation files\n (the \"Software\"), to deal in the Software without rest riction,\n including without limitation the rights to use, copy, modify, merge, \n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS O R IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FI TNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUT HORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY , WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF O R IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFT WARE.\n*/\n\n'use strict';\n\nfunction Directives(start_block_pattern, end_block _pattern) {\n start_block_pattern = typeof start_block_pattern === 'string' ? s tart_block_pattern : start_block_pattern.source;\n end_block_pattern = typeof e nd_block_pattern === 'string' ? end_block_pattern : end_block_pattern.source;\n this.__directives_block_pattern = new RegExp(start_block_pattern + / beautify( \\w+[:]\\w+)+ /.source + end_block_pattern, 'g');\n this.__directive_pattern = / (\\w+)[:](\\w+)/g;\n\n this.__directives_end_ignore_pattern = new RegExp(star t_block_pattern + /\\sbeautify\\signore:end\\s/.source + end_block_pattern, 'g') ;\n}\n\nDirectives.prototype.get_directives = function(text) {\n if (!text.matc h(this.__directives_block_pattern)) {\n return null;\n }\n\n var directives = {};\n this.__directive_pattern.lastIndex = 0;\n var directive_match = this. __directive_pattern.exec(text);\n\n while (directive_match) {\n directives[d irective_match[1]] = directive_match[2];\n directive_match = this.__directive _pattern.exec(text);\n }\n\n return directives;\n};\n\nDirectives.prototype.re adIgnored = function(input) {\n return input.readUntilAfter(this.__directives_e nd_ignore_pattern);\n};\n\n\nmodule.exports.Directives = Directives;\n","/*jshin t node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, fr ee of charge, to any person\n obtaining a copy of this software and associated documentation files\n (the \"Software\"), to deal in the Software without restr iction,\n including without limitation the rights to use, copy, modify, merge,\ n publish, distribute, sublicense, and/or sell copies of the Software,\n and t o permit persons to whom the Software is furnished to do so,\n subject to the f ollowing conditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FIT NESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTH ORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTW ARE.\n*/\n\n'use strict';\n\nvar regexp_has_sticky = RegExp.prototype.hasOwnProp erty('sticky');\n\nfunction InputScanner(input_string) {\n this.__input = input _string || '';\n this.__input_length = this.__input.length;\n this.__position = 0;\n}\n\nInputScanner.prototype.restart = function() {\n this.__position = 0; \n};\n\nInputScanner.prototype.back = function() {\n if (this.__position > 0) { \n this.__position -= 1;\n }\n};\n\nInputScanner.prototype.hasNext = functio n() {\n return this.__position < this.__input_length;\n};\n\nInputScanner.proto type.next = function() {\n var val = null;\n if (this.hasNext()) {\n val = this.__input.charAt(this.__position);\n this.__position += 1;\n }\n return val;\n};\n\nInputScanner.prototype.peek = function(index) {\n var val = null;\n index = index || 0;\n index += this.__position;\n if (index >= 0 && index < this.__input_length) {\n val = this.__input.charAt(index);\n }\n return val ;\n};\n\n// This is a JavaScript only helper function (not in python)\n// Javasc ript doesn't have a match method\n// and not all implementation support \"sticky \" flag.\n// If they do not support sticky then both this.match() and this.test( ) method\n// must get the match and check the index of the match.\n// If sticky is supported and set, this method will use it.\n// Otherwise it will check that global is set, and fall back to the slower method.\nInputScanner.prototype.__mat ch = function(pattern, index) {\n pattern.lastIndex = index;\n var pattern_mat ch = pattern.exec(this.__input);\n\n if (pattern_match && !(regexp_has_sticky & & pattern.sticky)) {\n if (pattern_match.index !== index) {\n pattern_ma tch = null;\n }\n }\n\n return pattern_match;\n};\n\nInputScanner.prototype .test = function(pattern, index) {\n index = index || 0;\n index += this.__pos ition;\n\n if (index >= 0 && index < this.__input_length) {\n return !!this. __match(pattern, index);\n } else {\n return false;\n }\n};\n\nInputScanner .prototype.testChar = function(pattern, index) {\n // test one character regex match\n var val = this.peek(index);\n pattern.lastIndex = 0;\n return val !== null && pattern.test(val);\n};\n\nInputScanner.prototype.match = function(patte rn) {\n var pattern_match = this.__match(pattern, this.__position);\n if (patt ern_match) {\n this.__position += pattern_match[0].length;\n } else {\n p attern_match = null;\n }\n return pattern_match;\n};\n\nInputScanner.prototype .read = function(starting_pattern, until_pattern, until_after) {\n var val = '' ;\n var match;\n if (starting_pattern) {\n match = this.match(starting_patt ern);\n if (match) {\n val += match[0];\n }\n }\n if (until_pattern && (match || !starting_pattern)) {\n val += this.readUntil(until_pattern, un til_after);\n }\n return val;\n};\n\nInputScanner.prototype.readUntil = functi on(pattern, until_after) {\n var val = '';\n var match_index = this.__position ;\n pattern.lastIndex = this.__position;\n var pattern_match = pattern.exec(th is.__input);\n if (pattern_match) {\n match_index = pattern_match.index;\n if (until_after) {\n match_index += pattern_match[0].length;\n }\n } else {\n match_index = this.__input_length;\n }\n\n val = this.__input.subs tring(this.__position, match_index);\n this.__position = match_index;\n return val;\n};\n\nInputScanner.prototype.readUntilAfter = function(pattern) {\n retu rn this.readUntil(pattern, true);\n};\n\nInputScanner.prototype.get_regexp = fun ction(pattern, match_from) {\n var result = null;\n var flags = 'g';\n if (ma tch_from && regexp_has_sticky) {\n flags = 'y';\n }\n // strings are conver ted to regexp\n if (typeof pattern === \"string\" && pattern !== '') {\n // result = new RegExp(pattern.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&'), fla gs);\n result = new RegExp(pattern, flags);\n } else if (pattern) {\n res ult = new RegExp(pattern.source, flags);\n }\n return result;\n};\n\nInputScan ner.prototype.get_literal_regexp = function(literal_string) {\n return RegExp(l iteral_string.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&'));\n};\n\n/* css be autifier legacy helpers */\nInputScanner.prototype.peekUntilAfter = function(pat tern) {\n var start = this.__position;\n var val = this.readUntilAfter(pattern );\n this.__position = start;\n return val;\n};\n\nInputScanner.prototype.look Back = function(testVal) {\n var start = this.__position - 1;\n return start > = testVal.length && this.__input.substring(start - testVal.length, start)\n . toLowerCase() === testVal;\n};\n\nmodule.exports.InputScanner = InputScanner;\n" ,"/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2 018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby gr anted, free of charge, to any person\n obtaining a copy of this software and as sociated documentation files\n (the \"Software\"), to deal in the Software with out restriction,\n including without limitation the rights to use, copy, modify , merge,\n publish, distribute, sublicense, and/or sell copies of the Software, \n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n The above copyright notice and this permissio n notice shall be\n included in all copies or substantial portions of the Softw are.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n E XPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABI LITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER L IABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE \n SOFTWARE.\n*/\n\n'use strict';\n\nfunction Options(options, merge_child_fiel d) {\n this.raw_options = _mergeOpts(options, merge_child_field);\n\n // Suppo rt passing the source text back with no change\n this.disabled = this._get_bool ean('disabled');\n\n this.eol = this._get_characters('eol', 'auto');\n this.en d_with_newline = this._get_boolean('end_with_newline');\n this.indent_size = th is._get_number('indent_size', 4);\n this.indent_char = this._get_characters('in dent_char', ' ');\n this.indent_level = this._get_number('indent_level');\n\n this.preserve_newlines = this._get_boolean('preserve_newlines', true);\n this.m ax_preserve_newlines = this._get_number('max_preserve_newlines', 32786);\n if ( !this.preserve_newlines) {\n this.max_preserve_newlines = 0;\n }\n\n this.i ndent_with_tabs = this._get_boolean('indent_with_tabs', this.indent_char === '\\ t');\n if (this.indent_with_tabs) {\n this.indent_char = '\\t';\n\n // in dent_size behavior changed after 1.8.6\n // It used to be that indent_size wo uld be\n // set to 1 for indent_with_tabs. That is no longer needed and\n // actually doesn't make sense - why not use spaces? Further,\n // that might produce unexpected behavior - tabs being used\n // for single-column alignme nt. So, when indent_with_tabs is true\n // and indent_size is 1, reset indent _size to 4.\n if (this.indent_size === 1) {\n this.indent_size = 4;\n }\n }\n\n // Backwards compat with 1.3.x\n this.wrap_line_length = this._get _number('wrap_line_length', this._get_number('max_char'));\n\n this.indent_empt y_lines = this._get_boolean('indent_empty_lines');\n\n // valid templating lang uages ['django', 'erb', 'handlebars', 'php', 'smarty']\n // For now, 'auto' = a ll off for javascript, all on for html (and inline javascript).\n // other valu es ignored\n this.templating = this._get_selection_list('templating', ['auto', 'none', 'django', 'erb', 'handlebars', 'php', 'smarty'], ['auto']);\n}\n\nOption s.prototype._get_array = function(name, default_value) {\n var option_value = t his.raw_options[name];\n var result = default_value || [];\n if (typeof option _value === 'object') {\n if (option_value !== null && typeof option_value.con cat === 'function') {\n result = option_value.concat();\n }\n } else if (typeof option_value === 'string') {\n result = option_value.split(/[^a-zA-Z 0-9_\\/\\-]+/);\n }\n return result;\n};\n\nOptions.prototype._get_boolean = f unction(name, default_value) {\n var option_value = this.raw_options[name];\n var result = option_value === undefined ? !!default_value : !!option_value;\n r eturn result;\n};\n\nOptions.prototype._get_characters = function(name, default_ value) {\n var option_value = this.raw_options[name];\n var result = default_v alue || '';\n if (typeof option_value === 'string') {\n result = option_valu e.replace(/\\\\r/, '\\r').replace(/\\\\n/, '\\n').replace(/\\\\t/, '\\t');\n }\ n return result;\n};\n\nOptions.prototype._get_number = function(name, default_ value) {\n var option_value = this.raw_options[name];\n default_value = parseI nt(default_value, 10);\n if (isNaN(default_value)) {\n default_value = 0;\n }\n var result = parseInt(option_value, 10);\n if (isNaN(result)) {\n resu lt = default_value;\n }\n return result;\n};\n\nOptions.prototype._get_selecti on = function(name, selection_list, default_value) {\n var result = this._get_s election_list(name, selection_list, default_value);\n if (result.length !== 1) {\n throw new Error(\n \"Invalid Option Value: The option '\" + name + \ "' can only be one of the following values:\\n\" +\n selection_list + \"\\n You passed in: '\" + this.raw_options[name] + \"'\");\n }\n\n return result[0] ;\n};\n\n\nOptions.prototype._get_selection_list = function(name, selection_list , default_value) {\n if (!selection_list || selection_list.length === 0) {\n throw new Error(\"Selection list cannot be empty.\");\n }\n\n default_value = default_value || [selection_list[0]];\n if (!this._is_valid_selection(default_ value, selection_list)) {\n throw new Error(\"Invalid Default Value!\");\n } \n\n var result = this._get_array(name, default_value);\n if (!this._is_valid_ selection(result, selection_list)) {\n throw new Error(\n \"Invalid Opti on Value: The option '\" + name + \"' can contain only the following values:\\n\ " +\n selection_list + \"\\nYou passed in: '\" + this.raw_options[name] + \ "'\");\n }\n\n return result;\n};\n\nOptions.prototype._is_valid_selection = f unction(result, selection_list) {\n return result.length && selection_list.leng th &&\n !result.some(function(item) { return selection_list.indexOf(item) === -1; });\n};\n\n\n// merges child options up with the parent options object\n// Example: obj = {a: 1, b: {a: 2}}\n// mergeOpts(obj, 'b')\n//\n// Returns: {a: 2}\nfunction _mergeOpts(allOptions, childFieldName) {\n var fin alOpts = {};\n allOptions = _normalizeOpts(allOptions);\n var name;\n\n for ( name in allOptions) {\n if (name !== childFieldName) {\n finalOpts[name] = allOptions[name];\n }\n }\n\n //merge in the per type settings for the c hildFieldName\n if (childFieldName && allOptions[childFieldName]) {\n for (n ame in allOptions[childFieldName]) {\n finalOpts[name] = allOptions[childFi eldName][name];\n }\n }\n return finalOpts;\n}\n\nfunction _normalizeOpts(o ptions) {\n var convertedOpts = {};\n var key;\n\n for (key in options) {\n var newKey = key.replace(/-/g, \"_\");\n convertedOpts[newKey] = options[ke y];\n }\n return convertedOpts;\n}\n\nmodule.exports.Options = Options;\nmodul e.exports.normalizeOpts = _normalizeOpts;\nmodule.exports.mergeOpts = _mergeOpts ;\n","/*jshint node:true */\n/*\n The MIT License (MIT)\n\n Copyright (c) 2007 -2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associated documentation files\n (the \"Software\"), to deal in the Software wi thout restriction,\n including without limitation the rights to use, copy, modi fy, merge,\n publish, distribute, sublicense, and/or sell copies of the Softwar e,\n and to permit persons to whom the Software is furnished to do so,\n subje ct to the following conditions:\n\n The above copyright notice and this permiss ion notice shall be\n included in all copies or substantial portions of the Sof tware.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTA BILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHA LL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM , OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN T HE\n SOFTWARE.\n*/\n\n'use strict';\n\nfunction OutputLine(parent) {\n this.__ parent = parent;\n this.__character_count = 0;\n // use indent_count as a mark er for this.__lines that have preserved indentation\n this.__indent_count = -1; \n this.__alignment_count = 0;\n this.__wrap_point_index = 0;\n this.__wrap_p oint_character_count = 0;\n this.__wrap_point_indent_count = -1;\n this.__wrap _point_alignment_count = 0;\n\n this.__items = [];\n}\n\nOutputLine.prototype.c lone_empty = function() {\n var line = new OutputLine(this.__parent);\n line.s et_indent(this.__indent_count, this.__alignment_count);\n return line;\n};\n\nO utputLine.prototype.item = function(index) {\n if (index < 0) {\n return thi s.__items[this.__items.length + index];\n } else {\n return this.__items[ind ex];\n }\n};\n\nOutputLine.prototype.has_match = function(pattern) {\n for (va r lastCheckedOutput = this.__items.length - 1; lastCheckedOutput >= 0; lastCheck edOutput--) {\n if (this.__items[lastCheckedOutput].match(pattern)) {\n return true;\n }\n }\n return false;\n};\n\nOutputLine.prototype.set_indent = function(indent, alignment) {\n if (this.is_empty()) {\n this.__indent_co unt = indent || 0;\n this.__alignment_count = alignment || 0;\n this.__cha racter_count = this.__parent.get_indent_size(this.__indent_count, this.__alignme nt_count);\n }\n};\n\nOutputLine.prototype._set_wrap_point = function() {\n if (this.__parent.wrap_line_length) {\n this.__wrap_point_index = this.__items. length;\n this.__wrap_point_character_count = this.__character_count;\n th is.__wrap_point_indent_count = this.__parent.next_line.__indent_count;\n this .__wrap_point_alignment_count = this.__parent.next_line.__alignment_count;\n }\ n};\n\nOutputLine.prototype._should_wrap = function() {\n return this.__wrap_po int_index &&\n this.__character_count > this.__parent.wrap_line_length &&\n this.__wrap_point_character_count > this.__parent.next_line.__character_count; \n};\n\nOutputLine.prototype._allow_wrap = function() {\n if (this._should_wrap ()) {\n this.__parent.add_new_line();\n var next = this.__parent.current_l ine;\n next.set_indent(this.__wrap_point_indent_count, this.__wrap_point_alig nment_count);\n next.__items = this.__items.slice(this.__wrap_point_index);\n this.__items = this.__items.slice(0, this.__wrap_point_index);\n\n next._ _character_count += this.__character_count - this.__wrap_point_character_count;\ n this.__character_count = this.__wrap_point_character_count;\n\n if (next .__items[0] === \" \") {\n next.__items.splice(0, 1);\n next.__charact er_count -= 1;\n }\n return true;\n }\n return false;\n};\n\nOutputLine. prototype.is_empty = function() {\n return this.__items.length === 0;\n};\n\nOu tputLine.prototype.last = function() {\n if (!this.is_empty()) {\n return th is.__items[this.__items.length - 1];\n } else {\n return null;\n }\n};\n\nO utputLine.prototype.push = function(item) {\n this.__items.push(item);\n var l ast_newline_index = item.lastIndexOf('\\n');\n if (last_newline_index !== -1) { \n this.__character_count = item.length - last_newline_index;\n } else {\n this.__character_count += item.length;\n }\n};\n\nOutputLine.prototype.pop = function() {\n var item = null;\n if (!this.is_empty()) {\n item = this.__i tems.pop();\n this.__character_count -= item.length;\n }\n return item;\n}; \n\n\nOutputLine.prototype._remove_indent = function() {\n if (this.__indent_co unt > 0) {\n this.__indent_count -= 1;\n this.__character_count -= this.__ parent.indent_size;\n }\n};\n\nOutputLine.prototype._remove_wrap_indent = funct ion() {\n if (this.__wrap_point_indent_count > 0) {\n this.__wrap_point_inde nt_count -= 1;\n }\n};\nOutputLine.prototype.trim = function() {\n while (this .last() === ' ') {\n this.__items.pop();\n this.__character_count -= 1;\n }\n};\n\nOutputLine.prototype.toString = function() {\n var result = '';\n if (this.is_empty()) {\n if (this.__parent.indent_empty_lines) {\n result = this.__parent.get_indent_string(this.__indent_count);\n }\n } else {\n result = this.__parent.get_indent_string(this.__indent_count, this.__alignment_c ount);\n result += this.__items.join('');\n }\n return result;\n};\n\nfunct ion IndentStringCache(options, baseIndentString) {\n this.__cache = [''];\n th is.__indent_size = options.indent_size;\n this.__indent_string = options.indent _char;\n if (!options.indent_with_tabs) {\n this.__indent_string = new Array (options.indent_size + 1).join(options.indent_char);\n }\n\n // Set to null to continue support for auto detection of base indent\n baseIndentString = baseIn dentString || '';\n if (options.indent_level > 0) {\n baseIndentString = new Array(options.indent_level + 1).join(this.__indent_string);\n }\n\n this.__ba se_string = baseIndentString;\n this.__base_string_length = baseIndentString.le ngth;\n}\n\nIndentStringCache.prototype.get_indent_size = function(indent, colum n) {\n var result = this.__base_string_length;\n column = column || 0;\n if ( indent < 0) {\n result = 0;\n }\n result += indent * this.__indent_size;\n result += column;\n return result;\n};\n\nIndentStringCache.prototype.get_inde nt_string = function(indent_level, column) {\n var result = this.__base_string; \n column = column || 0;\n if (indent_level < 0) {\n indent_level = 0;\n result = '';\n }\n column += indent_level * this.__indent_size;\n this.__ens ure_cache(column);\n result += this.__cache[column];\n return result;\n};\n\nI ndentStringCache.prototype.__ensure_cache = function(column) {\n while (column >= this.__cache.length) {\n this.__add_column();\n }\n};\n\nIndentStringCach e.prototype.__add_column = function() {\n var column = this.__cache.length;\n var indent = 0;\n var result = '';\n if (this.__indent_size && column >= this. __indent_size) {\n indent = Math.floor(column / this.__indent_size);\n col umn -= indent * this.__indent_size;\n result = new Array(indent + 1).join(thi s.__indent_string);\n }\n if (column) {\n result += new Array(column + 1).j oin(' ');\n }\n\n this.__cache.push(result);\n};\n\nfunction Output(options, b aseIndentString) {\n this.__indent_cache = new IndentStringCache(options, baseI ndentString);\n this.raw = false;\n this._end_with_newline = options.end_with_ newline;\n this.indent_size = options.indent_size;\n this.wrap_line_length = o ptions.wrap_line_length;\n this.indent_empty_lines = options.indent_empty_lines ;\n this.__lines = [];\n this.previous_line = null;\n this.current_line = nul l;\n this.next_line = new OutputLine(this);\n this.space_before_token = false; \n this.non_breaking_space = false;\n this.previous_token_wrapped = false;\n // initialize\n this.__add_outputline();\n}\n\nOutput.prototype.__add_outputlin e = function() {\n this.previous_line = this.current_line;\n this.current_line = this.next_line.clone_empty();\n this.__lines.push(this.current_line);\n};\n\ nOutput.prototype.get_line_number = function() {\n return this.__lines.length;\ n};\n\nOutput.prototype.get_indent_string = function(indent, column) {\n return this.__indent_cache.get_indent_string(indent, column);\n};\n\nOutput.prototype. get_indent_size = function(indent, column) {\n return this.__indent_cache.get_i ndent_size(indent, column);\n};\n\nOutput.prototype.is_empty = function() {\n r eturn !this.previous_line && this.current_line.is_empty();\n};\n\nOutput.prototy pe.add_new_line = function(force_newline) {\n // never newline at the start of file\n // otherwise, newline only if we didn't just add one or we're forced\n if (this.is_empty() ||\n (!force_newline && this.just_added_newline())) {\n return false;\n }\n\n // if raw output is enabled, don't print additional ne wlines,\n // but still return True as though you had\n if (!this.raw) {\n t his.__add_outputline();\n }\n return true;\n};\n\nOutput.prototype.get_code = function(eol) {\n this.trim(true);\n\n // handle some edge cases where the las t tokens\n // has text that ends with newline(s)\n var last_item = this.curren t_line.pop();\n if (last_item) {\n if (last_item[last_item.length - 1] === ' \\n') {\n last_item = last_item.replace(/\\n+$/g, '');\n }\n this.cur rent_line.push(last_item);\n }\n\n if (this._end_with_newline) {\n this.__a dd_outputline();\n }\n\n var sweet_code = this.__lines.join('\\n');\n\n if (e ol !== '\\n') {\n sweet_code = sweet_code.replace(/[\\n]/g, eol);\n }\n ret urn sweet_code;\n};\n\nOutput.prototype.set_wrap_point = function() {\n this.cu rrent_line._set_wrap_point();\n};\n\nOutput.prototype.set_indent = function(inde nt, alignment) {\n indent = indent || 0;\n alignment = alignment || 0;\n\n // Next line stores alignment values\n this.next_line.set_indent(indent, alignmen t);\n\n // Never indent your first output indent at the start of the file\n if (this.__lines.length > 1) {\n this.current_line.set_indent(indent, alignment );\n return true;\n }\n\n this.current_line.set_indent();\n return false;\ n};\n\nOutput.prototype.add_raw_token = function(token) {\n for (var x = 0; x < token.newlines; x++) {\n this.__add_outputline();\n }\n this.current_line. set_indent(-1);\n this.current_line.push(token.whitespace_before);\n this.curr ent_line.push(token.text);\n this.space_before_token = false;\n this.non_break ing_space = false;\n this.previous_token_wrapped = false;\n};\n\nOutput.prototy pe.add_token = function(printable_token) {\n this.__add_space_before_token();\n this.current_line.push(printable_token);\n this.space_before_token = false;\n this.non_breaking_space = false;\n this.previous_token_wrapped = this.current _line._allow_wrap();\n};\n\nOutput.prototype.__add_space_before_token = function () {\n if (this.space_before_token && !this.just_added_newline()) {\n if (!t his.non_breaking_space) {\n this.set_wrap_point();\n }\n this.current _line.push(' ');\n }\n};\n\nOutput.prototype.remove_indent = function(index) {\ n var output_length = this.__lines.length;\n while (index < output_length) {\n this.__lines[index]._remove_indent();\n index++;\n }\n this.current_lin e._remove_wrap_indent();\n};\n\nOutput.prototype.trim = function(eat_newlines) { \n eat_newlines = (eat_newlines === undefined) ? false : eat_newlines;\n\n thi s.current_line.trim();\n\n while (eat_newlines && this.__lines.length > 1 &&\n this.current_line.is_empty()) {\n this.__lines.pop();\n this.current_li ne = this.__lines[this.__lines.length - 1];\n this.current_line.trim();\n }\ n\n this.previous_line = this.__lines.length > 1 ?\n this.__lines[this.__lin es.length - 2] : null;\n};\n\nOutput.prototype.just_added_newline = function() { \n return this.current_line.is_empty();\n};\n\nOutput.prototype.just_added_blan kline = function() {\n return this.is_empty() ||\n (this.current_line.is_emp ty() && this.previous_line.is_empty());\n};\n\nOutput.prototype.ensure_empty_lin e_above = function(starts_with, ends_with) {\n var index = this.__lines.length - 2;\n while (index >= 0) {\n var potentialEmptyLine = this.__lines[index];\ n if (potentialEmptyLine.is_empty()) {\n break;\n } else if (potentia lEmptyLine.item(0).indexOf(starts_with) !== 0 &&\n potentialEmptyLine.item( -1) !== ends_with) {\n this.__lines.splice(index + 1, 0, new OutputLine(thi s));\n this.previous_line = this.__lines[this.__lines.length - 2];\n b reak;\n }\n index--;\n }\n};\n\nmodule.exports.Output = Output;\n","/*jsh int node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Ein ar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associate d documentation files\n (the \"Software\"), to deal in the Software without res triction,\n including without limitation the rights to use, copy, modify, merge ,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n The above copyright notice and this permission notic e shall be\n included in all copies or substantial portions of the Software.\n\ n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, F ITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AU THORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILIT Y, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOF TWARE.\n*/\n\n'use strict';\n\nfunction Pattern(input_scanner, parent) {\n this ._input = input_scanner;\n this._starting_pattern = null;\n this._match_patter n = null;\n this._until_pattern = null;\n this._until_after = false;\n\n if ( parent) {\n this._starting_pattern = this._input.get_regexp(parent._starting_ pattern, true);\n this._match_pattern = this._input.get_regexp(parent._match_ pattern, true);\n this._until_pattern = this._input.get_regexp(parent._until_ pattern);\n this._until_after = parent._until_after;\n }\n}\n\nPattern.proto type.read = function() {\n var result = this._input.read(this._starting_pattern );\n if (!this._starting_pattern || result) {\n result += this._input.read(t his._match_pattern, this._until_pattern, this._until_after);\n }\n return resu lt;\n};\n\nPattern.prototype.read_match = function() {\n return this._input.mat ch(this._match_pattern);\n};\n\nPattern.prototype.until_after = function(pattern ) {\n var result = this._create();\n result._until_after = true;\n result._un til_pattern = this._input.get_regexp(pattern);\n result._update();\n return re sult;\n};\n\nPattern.prototype.until = function(pattern) {\n var result = this. _create();\n result._until_after = false;\n result._until_pattern = this._inpu t.get_regexp(pattern);\n result._update();\n return result;\n};\n\nPattern.pro totype.starting_with = function(pattern) {\n var result = this._create();\n re sult._starting_pattern = this._input.get_regexp(pattern, true);\n result._updat e();\n return result;\n};\n\nPattern.prototype.matching = function(pattern) {\n var result = this._create();\n result._match_pattern = this._input.get_regexp (pattern, true);\n result._update();\n return result;\n};\n\nPattern.prototype ._create = function() {\n return new Pattern(this._input, this);\n};\n\nPattern .prototype._update = function() {};\n\nmodule.exports.Pattern = Pattern;\n","/*j shint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 E inar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted , free of charge, to any person\n obtaining a copy of this software and associa ted documentation files\n (the \"Software\"), to deal in the Software without r estriction,\n including without limitation the rights to use, copy, modify, mer ge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n a nd to permit persons to whom the Software is furnished to do so,\n subject to t he following conditions:\n\n The above copyright notice and this permission not ice shall be\n included in all copies or substantial portions of the Software.\ n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRES S OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABIL ITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT O F OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n S OFTWARE.\n*/\n\n'use strict';\n\nvar Pattern = require('./pattern').Pattern;\n\n \nvar template_names = {\n django: false,\n erb: false,\n handlebars: false,\ n php: false,\n smarty: false\n};\n\n// This lets templates appear anywhere we would do a readUntil\n// The cost is higher but it is pay to play.\nfunction Te mplatablePattern(input_scanner, parent) {\n Pattern.call(this, input_scanner, p arent);\n this.__template_pattern = null;\n this._disabled = Object.assign({}, template_names);\n this._excluded = Object.assign({}, template_names);\n\n if (parent) {\n this.__template_pattern = this._input.get_regexp(parent.__templ ate_pattern);\n this._excluded = Object.assign(this._excluded, parent._exclud ed);\n this._disabled = Object.assign(this._disabled, parent._disabled);\n } \n var pattern = new Pattern(input_scanner);\n this.__patterns = {\n handle bars_comment: pattern.starting_with(/{{!--/).until_after(/--}}/),\n handlebar s_unescaped: pattern.starting_with(/{{{/).until_after(/}}}/),\n handlebars: p attern.starting_with(/{{/).until_after(/}}/),\n php: pattern.starting_with(/< \\?(?:[= ]|php)/).until_after(/\\?>/),\n erb: pattern.starting_with(/<%[^%]/) .until_after(/[^%]%>/),\n // django coflicts with handlebars a bit.\n djan go: pattern.starting_with(/{%/).until_after(/%}/),\n django_value: pattern.st arting_with(/{{/).until_after(/}}/),\n django_comment: pattern.starting_with( /{#/).until_after(/#}/),\n smarty: pattern.starting_with(/{(?=[^}{\\s\\n])/). until_after(/[^\\s\\n]}/),\n smarty_comment: pattern.starting_with(/{\\*/).un til_after(/\\*}/),\n smarty_literal: pattern.starting_with(/{literal}/).until _after(/{\\/literal}/)\n };\n}\nTemplatablePattern.prototype = new Pattern();\n \nTemplatablePattern.prototype._create = function() {\n return new TemplatableP attern(this._input, this);\n};\n\nTemplatablePattern.prototype._update = functio n() {\n this.__set_templated_pattern();\n};\n\nTemplatablePattern.prototype.dis able = function(language) {\n var result = this._create();\n result._disabled[ language] = true;\n result._update();\n return result;\n};\n\nTemplatablePatte rn.prototype.read_options = function(options) {\n var result = this._create();\ n for (var language in template_names) {\n result._disabled[language] = opti ons.templating.indexOf(language) === -1;\n }\n result._update();\n return res ult;\n};\n\nTemplatablePattern.prototype.exclude = function(language) {\n var r esult = this._create();\n result._excluded[language] = true;\n result._update( );\n return result;\n};\n\nTemplatablePattern.prototype.read = function() {\n var result = '';\n if (this._match_pattern) {\n result = this._input.read(th is._starting_pattern);\n } else {\n result = this._input.read(this._starting _pattern, this.__template_pattern);\n }\n var next = this._read_template();\n while (next) {\n if (this._match_pattern) {\n next += this._input.read( this._match_pattern);\n } else {\n next += this._input.readUntil(this.__ template_pattern);\n }\n result += next;\n next = this._read_template() ;\n }\n\n if (this._until_after) {\n result += this._input.readUntilAfter(t his._until_pattern);\n }\n return result;\n};\n\nTemplatablePattern.prototype. __set_templated_pattern = function() {\n var items = [];\n\n if (!this._disabl ed.php) {\n items.push(this.__patterns.php._starting_pattern.source);\n }\n if (!this._disabled.handlebars) {\n items.push(this.__patterns.handlebars._s tarting_pattern.source);\n }\n if (!this._disabled.erb) {\n items.push(this .__patterns.erb._starting_pattern.source);\n }\n if (!this._disabled.django) { \n items.push(this.__patterns.django._starting_pattern.source);\n // The s tarting pattern for django is more complex because it has different\n // patt erns for value, comment, and other sections\n items.push(this.__patterns.djan go_value._starting_pattern.source);\n items.push(this.__patterns.django_comme nt._starting_pattern.source);\n }\n if (!this._disabled.smarty) {\n items.p ush(this.__patterns.smarty._starting_pattern.source);\n }\n\n if (this._until_ pattern) {\n items.push(this._until_pattern.source);\n }\n this.__template_ pattern = this._input.get_regexp('(?:' + items.join('|') + ')');\n};\n\nTemplata blePattern.prototype._read_template = function() {\n var resulting_string = ''; \n var c = this._input.peek();\n if (c === '<') {\n var peek1 = this._input .peek(1);\n //if we're in a comment, do something special\n // We treat al l comments as literals, even more than preformatted tags\n // we just look fo r the appropriate close tag\n if (!this._disabled.php && !this._excluded.php && peek1 === '?') {\n resulting_string = resulting_string ||\n this. __patterns.php.read();\n }\n if (!this._disabled.erb && !this._excluded.er b && peek1 === '%') {\n resulting_string = resulting_string ||\n thi s.__patterns.erb.read();\n }\n } else if (c === '{') {\n if (!this._disab led.handlebars && !this._excluded.handlebars) {\n resulting_string = result ing_string ||\n this.__patterns.handlebars_comment.read();\n resulti ng_string = resulting_string ||\n this.__patterns.handlebars_unescaped.re ad();\n resulting_string = resulting_string ||\n this.__patterns.han dlebars.read();\n }\n if (!this._disabled.django) {\n // django cofli cts with handlebars a bit.\n if (!this._excluded.django && !this._excluded. handlebars) {\n resulting_string = resulting_string ||\n this.__ patterns.django_value.read();\n }\n if (!this._excluded.django) {\n resulting_string = resulting_string ||\n this.__patterns.django_co mment.read();\n resulting_string = resulting_string ||\n this.__ patterns.django.read();\n }\n }\n if (!this._disabled.smarty) {\n // smarty cannot be enabled with django or handlebars enabled\n if (this. _disabled.django && this._disabled.handlebars) {\n resulting_string = res ulting_string ||\n this.__patterns.smarty_comment.read();\n resu lting_string = resulting_string ||\n this.__patterns.smarty_literal.rea d();\n resulting_string = resulting_string ||\n this.__patterns. smarty.read();\n }\n }\n }\n return resulting_string;\n};\n\n\nmodule. exports.TemplatablePattern = TemplatablePattern;\n","/*jshint node:true */\n/*\n \n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam New man, and contributors.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associated documentation files\ n (the \"Software\"), to deal in the Software without restriction,\n including without limitation the rights to use, copy, modify, merge,\n publish, distribu te, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions: \n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PRO VIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULA R PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOL DERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n AC TION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WI TH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use str ict';\n\nfunction Token(type, text, newlines, whitespace_before) {\n this.type = type;\n this.text = text;\n\n // comments_before are\n // comments that hav e a new line before them\n // and may or may not have a newline after\n // thi s is a set of comments before\n this.comments_before = null; /* inline comment* /\n\n\n // this.comments_after = new TokenStream(); // no new line before and newline after\n this.newlines = newlines || 0;\n this.whitespace_before = whit espace_before || '';\n this.parent = null;\n this.next = null;\n this.previou s = null;\n this.opened = null;\n this.closed = null;\n this.directives = nul l;\n}\n\n\nmodule.exports.Token = Token;\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charge, to any person\ n obtaining a copy of this software and associated documentation files\n (the \"Software\"), to deal in the Software without restriction,\n including without limitation the rights to use, copy, modify, merge,\n publish, distribute, subl icense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n Th e above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \" AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOS E AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE S OFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\ nvar InputScanner = require('../core/inputscanner').InputScanner;\nvar Token = r equire('../core/token').Token;\nvar TokenStream = require('../core/tokenstream') .TokenStream;\nvar WhitespacePattern = require('./whitespacepattern').Whitespace Pattern;\n\nvar TOKEN = {\n START: 'TK_START',\n RAW: 'TK_RAW',\n EOF: 'TK_EO F'\n};\n\nvar Tokenizer = function(input_string, options) {\n this._input = new InputScanner(input_string);\n this._options = options || {};\n this.__tokens = null;\n\n this._patterns = {};\n this._patterns.whitespace = new WhitespaceP attern(this._input);\n};\n\nTokenizer.prototype.tokenize = function() {\n this. _input.restart();\n this.__tokens = new TokenStream();\n\n this._reset();\n\n var current;\n var previous = new Token(TOKEN.START, '');\n var open_token = null;\n var open_stack = [];\n var comments = new TokenStream();\n\n while (p revious.type !== TOKEN.EOF) {\n current = this._get_next_token(previous, open _token);\n while (this._is_comment(current)) {\n comments.add(current);\ n current = this._get_next_token(previous, open_token);\n }\n\n if (! comments.isEmpty()) {\n current.comments_before = comments;\n comments = new TokenStream();\n }\n\n current.parent = open_token;\n\n if (this ._is_opening(current)) {\n open_stack.push(open_token);\n open_token = current;\n } else if (open_token && this._is_closing(current, open_token)) { \n current.opened = open_token;\n open_token.closed = current;\n open_token = open_stack.pop();\n current.parent = open_token;\n }\n\n current.previous = previous;\n previous.next = current;\n\n this.__tokens .add(current);\n previous = current;\n }\n\n return this.__tokens;\n};\n\n\ nTokenizer.prototype._is_first_token = function() {\n return this.__tokens.isEm pty();\n};\n\nTokenizer.prototype._reset = function() {};\n\nTokenizer.prototype ._get_next_token = function(previous_token, open_token) { // jshint unused:false \n this._readWhitespace();\n var resulting_string = this._input.read(/.+/g);\n if (resulting_string) {\n return this._create_token(TOKEN.RAW, resulting_st ring);\n } else {\n return this._create_token(TOKEN.EOF, '');\n }\n};\n\nTo kenizer.prototype._is_comment = function(current_token) { // jshint unused:false \n return false;\n};\n\nTokenizer.prototype._is_opening = function(current_toke n) { // jshint unused:false\n return false;\n};\n\nTokenizer.prototype._is_clos ing = function(current_token, open_token) { // jshint unused:false\n return fal se;\n};\n\nTokenizer.prototype._create_token = function(type, text) {\n var tok en = new Token(type, text,\n this._patterns.whitespace.newline_count,\n th is._patterns.whitespace.whitespace_before_token);\n return token;\n};\n\nTokeni zer.prototype._readWhitespace = function() {\n return this._patterns.whitespace .read();\n};\n\n\n\nmodule.exports.Tokenizer = Tokenizer;\nmodule.exports.TOKEN = TOKEN;\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission i s hereby granted, free of charge, to any person\n obtaining a copy of this soft ware and associated documentation files\n (the \"Software\"), to deal in the So ftware without restriction,\n including without limitation the rights to use, c opy, modify, merge,\n publish, distribute, sublicense, and/or sell copies of th e Software,\n and to permit persons to whom the Software is furnished to do so, \n subject to the following conditions:\n\n The above copyright notice and thi s permission notice shall be\n included in all copies or substantial portions o f the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARI SING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEAL INGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nfunction TokenStream(parent_tok en) {\n // private\n this.__tokens = [];\n this.__tokens_length = this.__toke ns.length;\n this.__position = 0;\n this.__parent_token = parent_token;\n}\n\n TokenStream.prototype.restart = function() {\n this.__position = 0;\n};\n\nToke nStream.prototype.isEmpty = function() {\n return this.__tokens_length === 0;\n };\n\nTokenStream.prototype.hasNext = function() {\n return this.__position < t his.__tokens_length;\n};\n\nTokenStream.prototype.next = function() {\n var val = null;\n if (this.hasNext()) {\n val = this.__tokens[this.__position];\n this.__position += 1;\n }\n return val;\n};\n\nTokenStream.prototype.peek = function(index) {\n var val = null;\n index = index || 0;\n index += this.__p osition;\n if (index >= 0 && index < this.__tokens_length) {\n val = this.__ tokens[index];\n }\n return val;\n};\n\nTokenStream.prototype.add = function(t oken) {\n if (this.__parent_token) {\n token.parent = this.__parent_token;\n }\n this.__tokens.push(token);\n this.__tokens_length += 1;\n};\n\nmodule.ex ports.TokenStream = TokenStream;\n","/*jshint node:true */\n/*\n\n The MIT Lice nse (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contrib utors.\n\n Permission is hereby granted, free of charge, to any person\n obtai ning a copy of this software and associated documentation files\n (the \"Softwa re\"), to deal in the Software without restriction,\n including without limitat ion the rights to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Softwar e is furnished to do so,\n subject to the following conditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies o r substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABL E FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT , TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar Pat tern = require('../core/pattern').Pattern;\n\nfunction WhitespacePattern(input_s canner, parent) {\n Pattern.call(this, input_scanner, parent);\n if (parent) { \n this._line_regexp = this._input.get_regexp(parent._line_regexp);\n } else {\n this.__set_whitespace_patterns('', '');\n }\n\n this.newline_count = 0 ;\n this.whitespace_before_token = '';\n}\nWhitespacePattern.prototype = new Pa ttern();\n\nWhitespacePattern.prototype.__set_whitespace_patterns = function(whi tespace_chars, newline_chars) {\n whitespace_chars += '\\\\t ';\n newline_char s += '\\\\n\\\\r';\n\n this._match_pattern = this._input.get_regexp(\n '[' + whitespace_chars + newline_chars + ']+', true);\n this._newline_regexp = this. _input.get_regexp(\n '\\\\r\\\\n|[' + newline_chars + ']');\n};\n\nWhitespace Pattern.prototype.read = function() {\n this.newline_count = 0;\n this.whitesp ace_before_token = '';\n\n var resulting_string = this._input.read(this._match_ pattern);\n if (resulting_string === ' ') {\n this.whitespace_before_token = ' ';\n } else if (resulting_string) {\n var matches = this.__split(this._ne wline_regexp, resulting_string);\n this.newline_count = matches.length - 1;\n this.whitespace_before_token = matches[this.newline_count];\n }\n\n return resulting_string;\n};\n\nWhitespacePattern.prototype.matching = function(whites pace_chars, newline_chars) {\n var result = this._create();\n result.__set_whi tespace_patterns(whitespace_chars, newline_chars);\n result._update();\n retur n result;\n};\n\nWhitespacePattern.prototype._create = function() {\n return ne w WhitespacePattern(this._input, this);\n};\n\nWhitespacePattern.prototype.__spl it = function(regexp, input_string) {\n regexp.lastIndex = 0;\n var start_inde x = 0;\n var result = [];\n var next_match = regexp.exec(input_string);\n whi le (next_match) {\n result.push(input_string.substring(start_index, next_matc h.index));\n start_index = next_match.index + next_match[0].length;\n next _match = regexp.exec(input_string);\n }\n\n if (start_index < input_string.len gth) {\n result.push(input_string.substring(start_index, input_string.length) );\n } else {\n result.push('');\n }\n\n return result;\n};\n\n\n\nmodule. exports.WhitespacePattern = WhitespacePattern;\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newma n, and contributors.\n\n Permission is hereby granted, free of charge, to any p erson\n obtaining a copy of this software and associated documentation files\n (the \"Software\"), to deal in the Software without restriction,\n including w ithout limitation the rights to use, copy, modify, merge,\n publish, distribute , sublicense, and/or sell copies of the Software,\n and to permit persons to wh om the Software is furnished to do so,\n subject to the following conditions:\n \n The above copyright notice and this permission notice shall be\n included i n all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVI DED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BU T NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDE RS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTI ON OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use stric t';\n\nvar Options = require('./options').Options;\nvar Output = require('../cor e/output').Output;\nvar InputScanner = require('../core/inputscanner').InputScan ner;\nvar Directives = require('../core/directives').Directives;\n\nvar directiv es_core = new Directives(/\\/\\*/, /\\*\\//);\n\nvar lineBreak = /\\r\\n|[\\r\\n ]/;\nvar allLineBreaks = /\\r\\n|[\\r\\n]/g;\n\n// tokenizer\nvar whitespaceChar = /\\s/;\nvar whitespacePattern = /(?:\\s|\\n)+/g;\nvar block_comment_pattern = /\\/\\*(?:[\\s\\S]*?)((?:\\*\\/)|$)/g;\nvar comment_pattern = /\\/\\/(?:[^\\n\\ r\\u2028\\u2029]*)/g;\n\nfunction Beautifier(source_text, options) {\n this._so urce_text = source_text || '';\n // Allow the setting of language/file-type spe cific options\n // with inheritance of overall settings\n this._options = new Options(options);\n this._ch = null;\n this._input = null;\n\n // https://dev eloper.mozilla.org/en-US/docs/Web/CSS/At-rule\n this.NESTED_AT_RULE = {\n \" @page\": true,\n \"@font-face\": true,\n \"@keyframes\": true,\n // als o in CONDITIONAL_GROUP_RULE below\n \"@media\": true,\n \"@supports\": tru e,\n \"@document\": true\n };\n this.CONDITIONAL_GROUP_RULE = {\n \"@med ia\": true,\n \"@supports\": true,\n \"@document\": true\n };\n this.NON _SEMICOLON_NEWLINE_PROPERTY = [\n \"grid-template-areas\",\n \"grid-templa te\"\n ];\n\n}\n\nBeautifier.prototype.eatString = function(endChars) {\n var result = '';\n this._ch = this._input.next();\n while (this._ch) {\n result += this._ch;\n if (this._ch === \"\\\\\") {\n result += this._input.nex t();\n } else if (endChars.indexOf(this._ch) !== -1 || this._ch === \"\\n\") {\n break;\n }\n this._ch = this._input.next();\n }\n return result ;\n};\n\n// Skips any white space in the source text from the current position.\ n// When allowAtLeastOneNewLine is true, will output new lines for each\n// newl ine character found; if the user has preserve_newlines off, only\n// the first n ewline will be output\nBeautifier.prototype.eatWhitespace = function(allowAtLeas tOneNewLine) {\n var result = whitespaceChar.test(this._input.peek());\n var n ewline_count = 0;\n while (whitespaceChar.test(this._input.peek())) {\n this ._ch = this._input.next();\n if (allowAtLeastOneNewLine && this._ch === '\\n' ) {\n if (newline_count === 0 || newline_count < this._options.max_preserve _newlines) {\n newline_count++;\n this._output.add_new_line(true); \n }\n }\n }\n return result;\n};\n\n// Nested pseudo-class if we are insideRule\n// and the next special character found opens\n// a new block\nBeaut ifier.prototype.foundNestedPseudoClass = function() {\n var openParen = 0;\n v ar i = 1;\n var ch = this._input.peek(i);\n while (ch) {\n if (ch === \"{\" ) {\n return true;\n } else if (ch === '(') {\n // pseudoclasses ca n contain ()\n openParen += 1;\n } else if (ch === ')') {\n if (ope nParen === 0) {\n return false;\n }\n openParen -= 1;\n } el se if (ch === \";\" || ch === \"}\") {\n return false;\n }\n i++;\n ch = this._input.peek(i);\n }\n return false;\n};\n\nBeautifier.prototype.pr int_string = function(output_string) {\n this._output.set_indent(this._indentLe vel);\n this._output.non_breaking_space = true;\n this._output.add_token(outpu t_string);\n};\n\nBeautifier.prototype.preserveSingleSpace = function(isAfterSpa ce) {\n if (isAfterSpace) {\n this._output.space_before_token = true;\n }\n };\n\nBeautifier.prototype.indent = function() {\n this._indentLevel++;\n};\n\n Beautifier.prototype.outdent = function() {\n if (this._indentLevel > 0) {\n this._indentLevel--;\n }\n};\n\n/*_____________________--------------------___ __________________*/\n\nBeautifier.prototype.beautify = function() {\n if (this ._options.disabled) {\n return this._source_text;\n }\n\n var source_text = this._source_text;\n var eol = this._options.eol;\n if (eol === 'auto') {\n eol = '\\n';\n if (source_text && lineBreak.test(source_text || '')) {\n eol = source_text.match(lineBreak)[0];\n }\n }\n\n\n // HACK: newline pa rsing inconsistent. This brute force normalizes the this._input.\n source_text = source_text.replace(allLineBreaks, '\\n');\n\n // reset\n var baseIndentStri ng = source_text.match(/^[\\t ]*/)[0];\n\n this._output = new Output(this._opti ons, baseIndentString);\n this._input = new InputScanner(source_text);\n this. _indentLevel = 0;\n this._nestedLevel = 0;\n\n this._ch = null;\n var parenLe vel = 0;\n\n var insideRule = false;\n // This is the value side of a property value pair (blue in the following ex)\n // label { content: blue }\n var insi dePropertyValue = false;\n var enteringConditionalGroup = false;\n var insideA tExtend = false;\n var insideAtImport = false;\n var insideScssMap = false;\n var topCharacter = this._ch;\n var insideNonSemiColonValues = false;\n var wh itespace;\n var isAfterSpace;\n var previous_ch;\n\n while (true) {\n whit espace = this._input.read(whitespacePattern);\n isAfterSpace = whitespace !== '';\n previous_ch = topCharacter;\n this._ch = this._input.next();\n i f (this._ch === '\\\\' && this._input.hasNext()) {\n this._ch += this._inpu t.next();\n }\n topCharacter = this._ch;\n\n if (!this._ch) {\n br eak;\n } else if (this._ch === '/' && this._input.peek() === '*') {\n // /* css comment */\n // Always start block comments on a new line.\n / / This handles scenarios where a block comment immediately\n // follows a p roperty definition on the same line or where\n // minified code is being be autified.\n this._output.add_new_line();\n this._input.back();\n\n var comment = this._input.read(block_comment_pattern);\n\n // Handle igno re directive\n var directives = directives_core.get_directives(comment);\n if (directives && directives.ignore === 'start') {\n comment += dire ctives_core.readIgnored(this._input);\n }\n\n this.print_string(commen t);\n\n // Ensures any new lines following the comment are preserved\n this.eatWhitespace(true);\n\n // Block comments are followed by a new line so they don't\n // share a line with other properties\n this._output. add_new_line();\n } else if (this._ch === '/' && this._input.peek() === '/') {\n // // single line comment\n // Preserves the space before a commen t\n // on the same line as a rule\n this._output.space_before_token = true;\n this._input.back();\n this.print_string(this._input.read(comme nt_pattern));\n\n // Ensures any new lines following the comment are preser ved\n this.eatWhitespace(true);\n } else if (this._ch === '@' || this._c h === '$') {\n this.preserveSingleSpace(isAfterSpace);\n\n // deal wit h less propery mixins @{...}\n if (this._input.peek() === '{') {\n t his.print_string(this._ch + this.eatString('}'));\n } else {\n this. print_string(this._ch);\n\n // strip trailing space, if present, for hash property checks\n var variableOrRule = this._input.peekUntilAfter(/[: ,; {}()[\\]\\/='\"]/g);\n\n if (variableOrRule.match(/[ :]$/)) {\n // we have a variable or pseudo-class, add it and insert one space before contin uing\n variableOrRule = this.eatString(\": \").replace(/\\s$/, '');\n this.print_string(variableOrRule);\n this._output.space_before_ token = true;\n }\n\n variableOrRule = variableOrRule.replace(/\\s $/, '');\n\n if (variableOrRule === 'extend') {\n insideAtExtend = true;\n } else if (variableOrRule === 'import') {\n insideAtI mport = true;\n }\n\n // might be a nesting at-rule\n if (v ariableOrRule in this.NESTED_AT_RULE) {\n this._nestedLevel += 1;\n if (variableOrRule in this.CONDITIONAL_GROUP_RULE) {\n entering ConditionalGroup = true;\n }\n // might be less variable\n } else if (!insideRule && parenLevel === 0 && variableOrRule.indexOf(':') != = -1) {\n insidePropertyValue = true;\n this.indent();\n }\n }\n } else if (this._ch === '#' && this._input.peek() === '{') {\n this.preserveSingleSpace(isAfterSpace);\n this.print_string(this._ch + this.eatString('}'));\n } else if (this._ch === '{') {\n if (insidePro pertyValue) {\n insidePropertyValue = false;\n this.outdent();\n }\n\n // when entering conditional groups, only rulesets are allowed\n if (enteringConditionalGroup) {\n enteringConditionalGroup = false;\ n insideRule = (this._indentLevel >= this._nestedLevel);\n } else {\ n // otherwise, declarations are also allowed\n insideRule = (this ._indentLevel >= this._nestedLevel - 1);\n }\n if (this._options.newli ne_between_rules && insideRule) {\n if (this._output.previous_line && thi s._output.previous_line.item(-1) !== '{') {\n this._output.ensure_empty _line_above('/', ',');\n }\n }\n\n this._output.space_before_to ken = true;\n\n // The difference in print_string and indent order is neces sary to indent the '{' correctly\n if (this._options.brace_style === 'expan d') {\n this._output.add_new_line();\n this.print_string(this._ch) ;\n this.indent();\n this._output.set_indent(this._indentLevel);\n } else {\n // inside mixin and first param is object\n if (p revious_ch === '(') {\n this._output.space_before_token = false;\n } else if (previous_ch !== ',') {\n this.indent();\n }\n this.print_string(this._ch);\n }\n\n this.eatWhitespace(true);\n this._output.add_new_line();\n } else if (this._ch === '}') {\n this. outdent();\n this._output.add_new_line();\n if (previous_ch === '{') { \n this._output.trim(true);\n }\n insideAtImport = false;\n insideAtExtend = false;\n if (insidePropertyValue) {\n this.outden t();\n insidePropertyValue = false;\n }\n this.print_string(thi s._ch);\n insideRule = false;\n if (this._nestedLevel) {\n this ._nestedLevel--;\n }\n\n this.eatWhitespace(true);\n this._output .add_new_line();\n\n if (this._options.newline_between_rules && !this._outp ut.just_added_blankline()) {\n if (this._input.peek() !== '}') {\n this._output.add_new_line(true);\n }\n }\n if (this._input.p eek() === ')') {\n this._output.trim(true);\n if (this._options.br ace_style === \"expand\") {\n this._output.add_new_line(true);\n }\n }\n } else if (this._ch === \":\") {\n\n for (var i = 0; i < t his.NON_SEMICOLON_NEWLINE_PROPERTY.length; i++) {\n if (this._input.lookB ack(this.NON_SEMICOLON_NEWLINE_PROPERTY[i])) {\n insideNonSemiColonValu es = true;\n break;\n }\n }\n\n if ((insideRule || ent eringConditionalGroup) && !(this._input.lookBack(\"&\") || this.foundNestedPseud oClass()) && !this._input.lookBack(\"(\") && !insideAtExtend && parenLevel === 0 ) {\n // 'property: value' delimiter\n // which could be in a cond itional group query\n this.print_string(':');\n if (!insidePropert yValue) {\n insidePropertyValue = true;\n this._output.space_b efore_token = true;\n this.eatWhitespace(true);\n this.indent( );\n }\n } else {\n // sass/less parent reference don't use a space\n // sass nested pseudo-class don't use a space\n\n // pres erve space before pseudoclasses/pseudoelements, as it means \"in any child\"\n if (this._input.lookBack(\" \")) {\n this._output.space_before_to ken = true;\n }\n if (this._input.peek() === \":\") {\n / / pseudo-element\n this._ch = this._input.next();\n this.print _string(\"::\");\n } else {\n // pseudo-class\n this.pr int_string(':');\n }\n }\n } else if (this._ch === '\"' || this._ ch === '\\'') {\n var preserveQuoteSpace = previous_ch === '\"' || previous _ch === '\\'';\n this.preserveSingleSpace(preserveQuoteSpace || isAfterSpac e);\n this.print_string(this._ch + this.eatString(this._ch));\n this.e atWhitespace(true);\n } else if (this._ch === ';') {\n insideNonSemiColo nValues = false;\n if (parenLevel === 0) {\n if (insidePropertyValue ) {\n this.outdent();\n insidePropertyValue = false;\n }\n insideAtExtend = false;\n insideAtImport = false;\n thi s.print_string(this._ch);\n this.eatWhitespace(true);\n\n // This maintains single line comments on the same\n // line. Block comments are also affected, but\n // a new line is always output before one inside\n // that section\n if (this._input.peek() !== '/') {\n this ._output.add_new_line();\n }\n } else {\n this.print_string(t his._ch);\n this.eatWhitespace(true);\n this._output.space_before_ token = true;\n }\n } else if (this._ch === '(') { // may be a url\n if (this._input.lookBack(\"url\")) {\n this.print_string(this._ch);\n this.eatWhitespace();\n parenLevel++;\n this.indent();\n this._ch = this._input.next();\n if (this._ch === ')' || this._ch === '\"' || this._ch === '\\'') {\n this._input.back();\n } else if (this._ch) {\n this.print_string(this._ch + this.eatString(')'));\n if (parenLevel) {\n parenLevel--;\n this.outdent(); \n }\n }\n } else {\n var space_needed = false;\n if (this._input.lookBack(\"with\")) {\n // look back is not an acc urate solution, we need tokens to confirm without whitespaces\n space_n eeded = true;\n }\n this.preserveSingleSpace(isAfterSpace || space _needed);\n this.print_string(this._ch);\n\n // handle scss/sass m ap\n if (insidePropertyValue && previous_ch === \"$\" && this._options.se lector_separator_newline) {\n this._output.add_new_line();\n i nsideScssMap = true;\n } else {\n this.eatWhitespace();\n parenLevel++;\n this.indent();\n }\n }\n } else if (t his._ch === ')') {\n if (parenLevel) {\n parenLevel--;\n this .outdent();\n }\n if (insideScssMap && this._input.peek() === \";\" && this._options.selector_separator_newline) {\n insideScssMap = false;\n this.outdent();\n this._output.add_new_line();\n }\n this .print_string(this._ch);\n } else if (this._ch === ',') {\n this.print_s tring(this._ch);\n this.eatWhitespace(true);\n if (this._options.selec tor_separator_newline && (!insidePropertyValue || insideScssMap) && parenLevel = == 0 && !insideAtImport && !insideAtExtend) {\n this._output.add_new_line ();\n } else {\n this._output.space_before_token = true;\n }\n } else if ((this._ch === '>' || this._ch === '+' || this._ch === '~') && !ins idePropertyValue && parenLevel === 0) {\n //handle combinator spacing\n if (this._options.space_around_combinator) {\n this._output.space_befor e_token = true;\n this.print_string(this._ch);\n this._output.spac e_before_token = true;\n } else {\n this.print_string(this._ch);\n this.eatWhitespace();\n // squash extra whitespace\n if (thi s._ch && whitespaceChar.test(this._ch)) {\n this._ch = '';\n }\n }\n } else if (this._ch === ']') {\n this.print_string(this._ch);\ n } else if (this._ch === '[') {\n this.preserveSingleSpace(isAfterSpace );\n this.print_string(this._ch);\n } else if (this._ch === '=') { // no whitespace before or after\n this.eatWhitespace();\n this.print_strin g('=');\n if (whitespaceChar.test(this._ch)) {\n this._ch = '';\n }\n } else if (this._ch === '!' && !this._input.lookBack(\"\\\\\")) { // ! important\n this._output.space_before_token = true;\n this.print_strin g(this._ch);\n } else {\n var preserveAfterSpace = previous_ch === '\"' || previous_ch === '\\'';\n this.preserveSingleSpace(preserveAfterSpace || isAfterSpace);\n this.print_string(this._ch);\n\n if (!this._output.ju st_added_newline() && this._input.peek() === '\\n' && insideNonSemiColonValues) {\n this._output.add_new_line();\n }\n }\n }\n\n var sweetCode = this._output.get_code(eol);\n\n return sweetCode;\n};\n\nmodule.exports.Beaut ifier = Beautifier;\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n P ermission is hereby granted, free of charge, to any person\n obtaining a copy o f this software and associated documentation files\n (the \"Software\"), to dea l in the Software without restriction,\n including without limitation the right s to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell c opies of the Software,\n and to permit persons to whom the Software is furnishe d to do so,\n subject to the following conditions:\n\n The above copyright not ice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARR ANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRAN TIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEM ENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLA IM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTH ERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar Beautifier = req uire('./beautifier').Beautifier,\n Options = require('./options').Options;\n\nf unction css_beautify(source_text, options) {\n var beautifier = new Beautifier( source_text, options);\n return beautifier.beautify();\n}\n\nmodule.exports = c ss_beautify;\nmodule.exports.defaultOptions = function() {\n return new Options ();\n};\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this softw are and associated documentation files\n (the \"Software\"), to deal in the Sof tware without restriction,\n including without limitation the rights to use, co py, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\ n subject to the following conditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n M ERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO E VENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARIS ING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALI NGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar BaseOptions = require('../co re/options').Options;\n\nfunction Options(options) {\n BaseOptions.call(this, o ptions, 'css');\n\n this.selector_separator_newline = this._get_boolean('select or_separator_newline', true);\n this.newline_between_rules = this._get_boolean( 'newline_between_rules', true);\n var space_around_selector_separator = this._g et_boolean('space_around_selector_separator');\n this.space_around_combinator = this._get_boolean('space_around_combinator') || space_around_selector_separator ;\n\n var brace_style_split = this._get_selection_list('brace_style', ['collaps e', 'expand', 'end-expand', 'none', 'preserve-inline']);\n this.brace_style = ' collapse';\n for (var bs = 0; bs < brace_style_split.length; bs++) {\n if (b race_style_split[bs] !== 'expand') {\n // default to collapse, as only coll apse|expand is implemented for now\n this.brace_style = 'collapse';\n } else {\n this.brace_style = brace_style_split[bs];\n }\n }\n}\nOptions. prototype = new BaseOptions();\n\n\n\nmodule.exports.Options = Options;\n","/*js hint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Ei nar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associat ed documentation files\n (the \"Software\"), to deal in the Software without re striction,\n including without limitation the rights to use, copy, modify, merg e,\n publish, distribute, sublicense, and/or sell copies of the Software,\n an d to permit persons to whom the Software is furnished to do so,\n subject to th e following conditions:\n\n The above copyright notice and this permission noti ce shall be\n included in all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE A UTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILI TY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SO FTWARE.\n*/\n\n'use strict';\n\nvar Options = require('../html/options').Options ;\nvar Output = require('../core/output').Output;\nvar Tokenizer = require('../h tml/tokenizer').Tokenizer;\nvar TOKEN = require('../html/tokenizer').TOKEN;\n\nv ar lineBreak = /\\r\\n|[\\r\\n]/;\nvar allLineBreaks = /\\r\\n|[\\r\\n]/g;\n\nva r Printer = function(options, base_indent_string) { //handles input/output and s ome other printing functions\n\n this.indent_level = 0;\n this.alignment_size = 0;\n this.max_preserve_newlines = options.max_preserve_newlines;\n this.pres erve_newlines = options.preserve_newlines;\n\n this._output = new Output(option s, base_indent_string);\n\n};\n\nPrinter.prototype.current_line_has_match = func tion(pattern) {\n return this._output.current_line.has_match(pattern);\n};\n\nP rinter.prototype.set_space_before_token = function(value, non_breaking) {\n thi s._output.space_before_token = value;\n this._output.non_breaking_space = non_b reaking;\n};\n\nPrinter.prototype.set_wrap_point = function() {\n this._output. set_indent(this.indent_level, this.alignment_size);\n this._output.set_wrap_poi nt();\n};\n\n\nPrinter.prototype.add_raw_token = function(token) {\n this._outp ut.add_raw_token(token);\n};\n\nPrinter.prototype.print_preserved_newlines = fun ction(raw_token) {\n var newlines = 0;\n if (raw_token.type !== TOKEN.TEXT && raw_token.previous.type !== TOKEN.TEXT) {\n newlines = raw_token.newlines ? 1 : 0;\n }\n\n if (this.preserve_newlines) {\n newlines = raw_token.newlines < this.max_preserve_newlines + 1 ? raw_token.newlines : this.max_preserve_newli nes + 1;\n }\n for (var n = 0; n < newlines; n++) {\n this.print_newline(n > 0);\n }\n\n return newlines !== 0;\n};\n\nPrinter.prototype.traverse_whitesp ace = function(raw_token) {\n if (raw_token.whitespace_before || raw_token.newl ines) {\n if (!this.print_preserved_newlines(raw_token)) {\n this._outpu t.space_before_token = true;\n }\n return true;\n }\n return false;\n};\ n\nPrinter.prototype.previous_token_wrapped = function() {\n return this._outpu t.previous_token_wrapped;\n};\n\nPrinter.prototype.print_newline = function(forc e) {\n this._output.add_new_line(force);\n};\n\nPrinter.prototype.print_token = function(token) {\n if (token.text) {\n this._output.set_indent(this.indent _level, this.alignment_size);\n this._output.add_token(token.text);\n }\n};\ n\nPrinter.prototype.indent = function() {\n this.indent_level++;\n};\n\nPrinte r.prototype.get_full_indent = function(level) {\n level = this.indent_level + ( level || 0);\n if (level < 1) {\n return '';\n }\n\n return this._output.g et_indent_string(level);\n};\n\nvar get_type_attribute = function(start_token) { \n var result = null;\n var raw_token = start_token.next;\n\n // Search attri butes for a type attribute\n while (raw_token.type !== TOKEN.EOF && start_token .closed !== raw_token) {\n if (raw_token.type === TOKEN.ATTRIBUTE && raw_toke n.text === 'type') {\n if (raw_token.next && raw_token.next.type === TOKEN. EQUALS &&\n raw_token.next.next && raw_token.next.next.type === TOKEN.VAL UE) {\n result = raw_token.next.next.text;\n }\n break;\n }\ n raw_token = raw_token.next;\n }\n\n return result;\n};\n\nvar get_custom_ beautifier_name = function(tag_check, raw_token) {\n var typeAttribute = null;\ n var result = null;\n\n if (!raw_token.closed) {\n return null;\n }\n\n if (tag_check === 'script') {\n typeAttribute = 'text/javascript';\n } else if (tag_check === 'style') {\n typeAttribute = 'text/css';\n }\n\n typeAttr ibute = get_type_attribute(raw_token) || typeAttribute;\n\n // For script and s tyle tags that have a type attribute, only enable custom beautifiers for matchin g values\n // For those without a type attribute use default;\n if (typeAttrib ute.search('text/css') > -1) {\n result = 'css';\n } else if (typeAttribute. search(/module|((text|application|dojo)\\/(x-)?(javascript|ecmascript|jscript|li vescript|(ld\\+)?json|method|aspect))/) > -1) {\n result = 'javascript';\n } else if (typeAttribute.search(/(text|application|dojo)\\/(x-)?(html)/) > -1) {\ n result = 'html';\n } else if (typeAttribute.search(/test\\/null/) > -1) {\ n // Test only mime-type for testing the beautifier when null is passed as be autifing function\n result = 'null';\n }\n\n return result;\n};\n\nfunction in_array(what, arr) {\n return arr.indexOf(what) !== -1;\n}\n\nfunction TagFra me(parent, parser_token, indent_level) {\n this.parent = parent || null;\n thi s.tag = parser_token ? parser_token.tag_name : '';\n this.indent_level = indent _level || 0;\n this.parser_token = parser_token || null;\n}\n\nfunction TagStac k(printer) {\n this._printer = printer;\n this._current_frame = null;\n}\n\nTa gStack.prototype.get_parser_token = function() {\n return this._current_frame ? this._current_frame.parser_token : null;\n};\n\nTagStack.prototype.record_tag = function(parser_token) { //function to record a tag and its parent in this.tags Object\n var new_frame = new TagFrame(this._current_frame, parser_token, this. _printer.indent_level);\n this._current_frame = new_frame;\n};\n\nTagStack.prot otype._try_pop_frame = function(frame) { //function to retrieve the opening tag to the corresponding closer\n var parser_token = null;\n\n if (frame) {\n p arser_token = frame.parser_token;\n this._printer.indent_level = frame.indent _level;\n this._current_frame = frame.parent;\n }\n\n return parser_token;\ n};\n\nTagStack.prototype._get_frame = function(tag_list, stop_list) { //functio n to retrieve the opening tag to the corresponding closer\n var frame = this._c urrent_frame;\n\n while (frame) { //till we reach '' (the initial value);\n if (tag_list.indexOf(frame.tag) !== -1) { //if this is it use it\n break;\n } else if (stop_list && stop_list.indexOf(frame.tag) !== -1) {\n frame = null;\n break;\n }\n frame = frame.parent;\n }\n\n return frame;\ n};\n\nTagStack.prototype.try_pop = function(tag, stop_list) { //function to ret rieve the opening tag to the corresponding closer\n var frame = this._get_frame ([tag], stop_list);\n return this._try_pop_frame(frame);\n};\n\nTagStack.protot ype.indent_to_tag = function(tag_list) {\n var frame = this._get_frame(tag_list );\n if (frame) {\n this._printer.indent_level = frame.indent_level;\n }\n} ;\n\nfunction Beautifier(source_text, options, js_beautify, css_beautify) {\n / /Wrapper function to invoke all the necessary constructors and deal with the out put.\n this._source_text = source_text || '';\n options = options || {};\n th is._js_beautify = js_beautify;\n this._css_beautify = css_beautify;\n this._ta g_stack = null;\n\n // Allow the setting of language/file-type specific options \n // with inheritance of overall settings\n var optionHtml = new Options(opti ons, 'html');\n\n this._options = optionHtml;\n\n this._is_wrap_attributes_for ce = this._options.wrap_attributes.substr(0, 'force'.length) === 'force';\n thi s._is_wrap_attributes_force_expand_multiline = (this._options.wrap_attributes == = 'force-expand-multiline');\n this._is_wrap_attributes_force_aligned = (this._ options.wrap_attributes === 'force-aligned');\n this._is_wrap_attributes_aligne d_multiple = (this._options.wrap_attributes === 'aligned-multiple');\n this._is _wrap_attributes_preserve = this._options.wrap_attributes.substr(0, 'preserve'.l ength) === 'preserve';\n this._is_wrap_attributes_preserve_aligned = (this._opt ions.wrap_attributes === 'preserve-aligned');\n}\n\nBeautifier.prototype.beautif y = function() {\n\n // if disabled, return the input unchanged.\n if (this._o ptions.disabled) {\n return this._source_text;\n }\n\n var source_text = th is._source_text;\n var eol = this._options.eol;\n if (this._options.eol === 'a uto') {\n eol = '\\n';\n if (source_text && lineBreak.test(source_text)) { \n eol = source_text.match(lineBreak)[0];\n }\n }\n\n // HACK: newline parsing inconsistent. This brute force normalizes the input.\n source_text = s ource_text.replace(allLineBreaks, '\\n');\n\n var baseIndentString = source_tex t.match(/^[\\t ]*/)[0];\n\n var last_token = {\n text: '',\n type: ''\n };\n\n var last_tag_token = new TagOpenParserToken();\n\n var printer = new Pr inter(this._options, baseIndentString);\n var tokens = new Tokenizer(source_tex t, this._options).tokenize();\n\n this._tag_stack = new TagStack(printer);\n\n var parser_token = null;\n var raw_token = tokens.next();\n while (raw_token. type !== TOKEN.EOF) {\n\n if (raw_token.type === TOKEN.TAG_OPEN || raw_token. type === TOKEN.COMMENT) {\n parser_token = this._handle_tag_open(printer, r aw_token, last_tag_token, last_token);\n last_tag_token = parser_token;\n } else if ((raw_token.type === TOKEN.ATTRIBUTE || raw_token.type === TOKEN.EQU ALS || raw_token.type === TOKEN.VALUE) ||\n (raw_token.type === TOKEN.TEXT && !last_tag_token.tag_complete)) {\n parser_token = this._handle_inside_ta g(printer, raw_token, last_tag_token, tokens);\n } else if (raw_token.type == = TOKEN.TAG_CLOSE) {\n parser_token = this._handle_tag_close(printer, raw_t oken, last_tag_token);\n } else if (raw_token.type === TOKEN.TEXT) {\n p arser_token = this._handle_text(printer, raw_token, last_tag_token);\n } else {\n // This should never happen, but if it does. Print the raw token\n printer.add_raw_token(raw_token);\n }\n\n last_token = parser_token;\n\n raw_token = tokens.next();\n }\n var sweet_code = printer._output.get_code (eol);\n\n return sweet_code;\n};\n\nBeautifier.prototype._handle_tag_close = f unction(printer, raw_token, last_tag_token) {\n var parser_token = {\n text: raw_token.text,\n type: raw_token.type\n };\n printer.alignment_size = 0;\ n last_tag_token.tag_complete = true;\n\n printer.set_space_before_token(raw_t oken.newlines || raw_token.whitespace_before !== '', true);\n if (last_tag_toke n.is_unformatted) {\n printer.add_raw_token(raw_token);\n } else {\n if ( last_tag_token.tag_start_char === '<') {\n printer.set_space_before_token(r aw_token.text[0] === '/', true); // space before />, no space before >\n if (this._is_wrap_attributes_force_expand_multiline && last_tag_token.has_wrapped_ attrs) {\n printer.print_newline(false);\n }\n }\n printer.pri nt_token(raw_token);\n\n }\n\n if (last_tag_token.indent_content &&\n !(las t_tag_token.is_unformatted || last_tag_token.is_content_unformatted)) {\n pri nter.indent();\n\n // only indent once per opened tag\n last_tag_token.ind ent_content = false;\n }\n\n if (!last_tag_token.is_inline_element &&\n !(l ast_tag_token.is_unformatted || last_tag_token.is_content_unformatted)) {\n p rinter.set_wrap_point();\n }\n\n return parser_token;\n};\n\nBeautifier.protot ype._handle_inside_tag = function(printer, raw_token, last_tag_token, tokens) {\ n var wrapped = last_tag_token.has_wrapped_attrs;\n var parser_token = {\n text: raw_token.text,\n type: raw_token.type\n };\n\n printer.set_space_bef ore_token(raw_token.newlines || raw_token.whitespace_before !== '', true);\n if (last_tag_token.is_unformatted) {\n printer.add_raw_token(raw_token);\n } e lse if (last_tag_token.tag_start_char === '{' && raw_token.type === TOKEN.TEXT) {\n // For the insides of handlebars allow newlines or a single space between open and contents\n if (printer.print_preserved_newlines(raw_token)) {\n raw_token.newlines = 0;\n printer.add_raw_token(raw_token);\n } else { \n printer.print_token(raw_token);\n }\n } else {\n if (raw_token.ty pe === TOKEN.ATTRIBUTE) {\n printer.set_space_before_token(true);\n la st_tag_token.attr_count += 1;\n } else if (raw_token.type === TOKEN.EQUALS) { //no space before =\n printer.set_space_before_token(false);\n } else i f (raw_token.type === TOKEN.VALUE && raw_token.previous.type === TOKEN.EQUALS) { //no space before value\n printer.set_space_before_token(false);\n }\n\ n if (raw_token.type === TOKEN.ATTRIBUTE && last_tag_token.tag_start_char === '<') {\n if (this._is_wrap_attributes_preserve || this._is_wrap_attributes _preserve_aligned) {\n printer.traverse_whitespace(raw_token);\n w rapped = wrapped || raw_token.newlines !== 0;\n }\n\n\n if (this._is_w rap_attributes_force) {\n var force_attr_wrap = last_tag_token.attr_count > 1;\n if (this._is_wrap_attributes_force_expand_multiline && last_tag_t oken.attr_count === 1) {\n var is_only_attribute = true;\n var peek_index = 0;\n var peek_token;\n do {\n peek_to ken = tokens.peek(peek_index);\n if (peek_token.type === TOKEN.ATTRIB UTE) {\n is_only_attribute = false;\n break;\n }\n peek_index += 1;\n } while (peek_index < 4 && peek_t oken.type !== TOKEN.EOF && peek_token.type !== TOKEN.TAG_CLOSE);\n\n fo rce_attr_wrap = !is_only_attribute;\n }\n\n if (force_attr_wrap) { \n printer.print_newline(false);\n wrapped = true;\n }\ n }\n }\n printer.print_token(raw_token);\n wrapped = wrapped || p rinter.previous_token_wrapped();\n last_tag_token.has_wrapped_attrs = wrapped ;\n }\n return parser_token;\n};\n\nBeautifier.prototype._handle_text = functi on(printer, raw_token, last_tag_token) {\n var parser_token = {\n text: raw_ token.text,\n type: 'TK_CONTENT'\n };\n if (last_tag_token.custom_beautifie r_name) { //check if we need to format javascript\n this._print_custom_beatif ier_text(printer, raw_token, last_tag_token);\n } else if (last_tag_token.is_un formatted || last_tag_token.is_content_unformatted) {\n printer.add_raw_token (raw_token);\n } else {\n printer.traverse_whitespace(raw_token);\n print er.print_token(raw_token);\n }\n return parser_token;\n};\n\nBeautifier.protot ype._print_custom_beatifier_text = function(printer, raw_token, last_tag_token) {\n var local = this;\n if (raw_token.text !== '') {\n\n var text = raw_tok en.text,\n _beautifier,\n script_indent_level = 1,\n pre = '',\n post = '';\n if (last_tag_token.custom_beautifier_name === 'javascript' && typeof this._js_beautify === 'function') {\n _beautifier = this._js_beau tify;\n } else if (last_tag_token.custom_beautifier_name === 'css' && typeof this._css_beautify === 'function') {\n _beautifier = this._css_beautify;\n } else if (last_tag_token.custom_beautifier_name === 'html') {\n _beauti fier = function(html_source, options) {\n var beautifier = new Beautifier (html_source, options, local._js_beautify, local._css_beautify);\n return beautifier.beautify();\n };\n }\n\n if (this._options.indent_scripts === \"keep\") {\n script_indent_level = 0;\n } else if (this._options.i ndent_scripts === \"separate\") {\n script_indent_level = -printer.indent_l evel;\n }\n\n var indentation = printer.get_full_indent(script_indent_leve l);\n\n // if there is at least one empty line at the end of this text, strip it\n // we'll be adding one back after the text but before the containing ta g.\n text = text.replace(/\\n[ \\t]*$/, '');\n\n // Handle the case where content is wrapped in a comment or cdata.\n if (last_tag_token.custom_beautif ier_name !== 'html' &&\n text[0] === '<' && text.match(/^(<!--|<!\\[CDATA\\ [)/)) {\n var matched = /^(<!--[^\\n]*|<!\\[CDATA\\[)(\\n?)([ \\t\\n]*)([\\ s\\S]*)(-->|]]>)$/.exec(text);\n\n // if we start to wrap but don't finish, print raw\n if (!matched) {\n printer.add_raw_token(raw_token);\n return;\n }\n\n pre = indentation + matched[1] + '\\n';\n t ext = matched[4];\n if (matched[5]) {\n post = indentation + matched [5];\n }\n\n // if there is at least one empty line at the end of this text, strip it\n // we'll be adding one back after the text but before the containing tag.\n text = text.replace(/\\n[ \\t]*$/, '');\n\n if (mat ched[2] || matched[3].indexOf('\\n') !== -1) {\n // if the first line of the non-comment text has spaces\n // use that as the basis for indenting in null case.\n matched = matched[3].match(/[ \\t]+$/);\n if (matc hed) {\n raw_token.whitespace_before = matched[0];\n }\n }\ n }\n\n if (text) {\n if (_beautifier) {\n\n // call the Beaut ifier if avaliable\n var Child_options = function() {\n this.eol = '\\n';\n };\n Child_options.prototype = this._options.raw_optio ns;\n var child_options = new Child_options();\n text = _beautifie r(indentation + text, child_options);\n } else {\n // simply indent the string otherwise\n var white = raw_token.whitespace_before;\n if (white) {\n text = text.replace(new RegExp('\\n(' + white + ')?', 'g '), '\\n');\n }\n\n text = indentation + text.replace(/\\n/g, '\\n ' + indentation);\n }\n }\n\n if (pre) {\n if (!text) {\n text = pre + post;\n } else {\n text = pre + text + '\\n' + post;\n }\n }\n\n printer.print_newline(false);\n if (text) {\n raw_ token.text = text;\n raw_token.whitespace_before = '';\n raw_token.new lines = 0;\n printer.add_raw_token(raw_token);\n printer.print_newline (true);\n }\n }\n};\n\nBeautifier.prototype._handle_tag_open = function(prin ter, raw_token, last_tag_token, last_token) {\n var parser_token = this._get_ta g_open_token(raw_token);\n\n if ((last_tag_token.is_unformatted || last_tag_tok en.is_content_unformatted) &&\n !last_tag_token.is_empty_element &&\n raw_ token.type === TOKEN.TAG_OPEN && raw_token.text.indexOf('</') === 0) {\n // E nd element tags for unformatted or content_unformatted elements\n // are prin ted raw to keep any newlines inside them exactly the same.\n printer.add_raw_ token(raw_token);\n parser_token.start_tag_token = this._tag_stack.try_pop(pa rser_token.tag_name);\n } else {\n printer.traverse_whitespace(raw_token);\n this._set_tag_position(printer, raw_token, parser_token, last_tag_token, las t_token);\n if (!parser_token.is_inline_element) {\n printer.set_wrap_po int();\n }\n printer.print_token(raw_token);\n }\n\n //indent attributes an auto, forced, aligned or forced-align line-wrap\n if (this._is_wrap_attribu tes_force_aligned || this._is_wrap_attributes_aligned_multiple || this._is_wrap_ attributes_preserve_aligned) {\n parser_token.alignment_size = raw_token.text .length + 1;\n }\n\n if (!parser_token.tag_complete && !parser_token.is_unform atted) {\n printer.alignment_size = parser_token.alignment_size;\n }\n\n re turn parser_token;\n};\n\nvar TagOpenParserToken = function(parent, raw_token) { \n this.parent = parent || null;\n this.text = '';\n this.type = 'TK_TAG_OPEN ';\n this.tag_name = '';\n this.is_inline_element = false;\n this.is_unformat ted = false;\n this.is_content_unformatted = false;\n this.is_empty_element = false;\n this.is_start_tag = false;\n this.is_end_tag = false;\n this.indent_ content = false;\n this.multiline_content = false;\n this.custom_beautifier_na me = null;\n this.start_tag_token = null;\n this.attr_count = 0;\n this.has_w rapped_attrs = false;\n this.alignment_size = 0;\n this.tag_complete = false;\ n this.tag_start_char = '';\n this.tag_check = '';\n\n if (!raw_token) {\n this.tag_complete = true;\n } else {\n var tag_check_match;\n\n this.tag _start_char = raw_token.text[0];\n this.text = raw_token.text;\n\n if (thi s.tag_start_char === '<') {\n tag_check_match = raw_token.text.match(/^<([^ \\s>]*)/);\n this.tag_check = tag_check_match ? tag_check_match[1] : '';\n } else {\n tag_check_match = raw_token.text.match(/^{{~?(?:[\\^]|#\\*?)? ([^\\s}]+)/);\n this.tag_check = tag_check_match ? tag_check_match[1] : ''; \n\n // handle \"{{#> myPartial}}\" or \"{{~#> myPartial}}\"\n if ((ra w_token.text.startsWith('{{#>') || raw_token.text.startsWith('{{~#>')) && this.t ag_check[0] === '>') {\n if (this.tag_check === '>' && raw_token.next !== null) {\n this.tag_check = raw_token.next.text.split(' ')[0];\n } else {\n this.tag_check = raw_token.text.split('>')[1];\n }\n }\n }\n\n this.tag_check = this.tag_check.toLowerCase();\n\n if ( raw_token.type === TOKEN.COMMENT) {\n this.tag_complete = true;\n }\n\n this.is_start_tag = this.tag_check.charAt(0) !== '/';\n this.tag_name = !t his.is_start_tag ? this.tag_check.substr(1) : this.tag_check;\n this.is_end_t ag = !this.is_start_tag ||\n (raw_token.closed && raw_token.closed.text === '/>');\n\n // if whitespace handler ~ included (i.e. {{~#if true}}), handleb ars tags start at pos 3 not pos 2\n var handlebar_starts = 2;\n if (this.t ag_start_char === '{' && this.text.length >= 3) {\n if (this.text.charAt(2) === '~') {\n handlebar_starts = 3;\n }\n }\n\n // handlebars tags that don't start with # or ^ are single_tags, and so also start and end.\n this.is_end_tag = this.is_end_tag ||\n (this.tag_start_char === '{' && ( this.text.length < 3 || (/[^#\\^]/.test(this.text.charAt(handlebar_starts)))));\ n }\n};\n\nBeautifier.prototype._get_tag_open_token = function(raw_token) { //f unction to get a full tag and parse its type\n var parser_token = new TagOpenPa rserToken(this._tag_stack.get_parser_token(), raw_token);\n\n parser_token.alig nment_size = this._options.wrap_attributes_indent_size;\n\n parser_token.is_end _tag = parser_token.is_end_tag ||\n in_array(parser_token.tag_check, this._op tions.void_elements);\n\n parser_token.is_empty_element = parser_token.tag_comp lete ||\n (parser_token.is_start_tag && parser_token.is_end_tag);\n\n parser _token.is_unformatted = !parser_token.tag_complete && in_array(parser_token.tag_ check, this._options.unformatted);\n parser_token.is_content_unformatted = !par ser_token.is_empty_element && in_array(parser_token.tag_check, this._options.con tent_unformatted);\n parser_token.is_inline_element = in_array(parser_token.tag _name, this._options.inline) || parser_token.tag_start_char === '{';\n\n return parser_token;\n};\n\nBeautifier.prototype._set_tag_position = function(printer, raw_token, parser_token, last_tag_token, last_token) {\n\n if (!parser_token.i s_empty_element) {\n if (parser_token.is_end_tag) { //this tag is a double ta g so check for tag-ending\n parser_token.start_tag_token = this._tag_stack. try_pop(parser_token.tag_name); //remove it and all ancestors\n } else { // i t's a start-tag\n // check if this tag is starting an element that has opti onal end element\n // and do an ending needed\n if (this._do_optional_ end_element(parser_token)) {\n if (!parser_token.is_inline_element) {\n printer.print_newline(false);\n }\n }\n\n this._tag_sta ck.record_tag(parser_token); //push it on the tag stack\n\n if ((parser_tok en.tag_name === 'script' || parser_token.tag_name === 'style') &&\n !(par ser_token.is_unformatted || parser_token.is_content_unformatted)) {\n par ser_token.custom_beautifier_name = get_custom_beautifier_name(parser_token.tag_c heck, raw_token);\n }\n }\n }\n\n if (in_array(parser_token.tag_check, this._options.extra_liners)) { //check if this double needs an extra line\n printer.print_newline(false);\n if (!printer._output.just_added_blankline()) {\n printer.print_newline(true);\n }\n }\n\n if (parser_token.is_empty _element) { //if this tag name is a single tag type (either in the list or has a closing /)\n\n // if you hit an else case, reset the indent level if you are inside an:\n // 'if', 'unless', or 'each' block.\n if (parser_token.tag_s tart_char === '{' && parser_token.tag_check === 'else') {\n this._tag_stack .indent_to_tag(['if', 'unless', 'each']);\n parser_token.indent_content = t rue;\n // Don't add a newline if opening {{#if}} tag is on the current line \n var foundIfOnCurrentLine = printer.current_line_has_match(/{{#if/);\n if (!foundIfOnCurrentLine) {\n printer.print_newline(false);\n }\ n }\n\n // Don't add a newline before elements that should remain where th ey are.\n if (parser_token.tag_name === '!--' && last_token.type === TOKEN.TA G_CLOSE &&\n last_tag_token.is_end_tag && parser_token.text.indexOf('\\n') === -1) {\n //Do nothing. Leave comments on same line.\n } else {\n if (!(parser_token.is_inline_element || parser_token.is_unformatted)) {\n printer.print_newline(false);\n }\n this._calcluate_parent_multiline (printer, parser_token);\n }\n } else if (parser_token.is_end_tag) { //this tag is a double tag so check for tag-ending\n var do_end_expand = false;\n\n // deciding whether a block is multiline should not be this hard\n do_end_ expand = parser_token.start_tag_token && parser_token.start_tag_token.multiline_ content;\n do_end_expand = do_end_expand || (!parser_token.is_inline_element &&\n !(last_tag_token.is_inline_element || last_tag_token.is_unformatted) & &\n !(last_token.type === TOKEN.TAG_CLOSE && parser_token.start_tag_token = == last_tag_token) &&\n last_token.type !== 'TK_CONTENT'\n );\n\n if (parser_token.is_content_unformatted || parser_token.is_unformatted) {\n do _end_expand = false;\n }\n\n if (do_end_expand) {\n printer.print_new line(false);\n }\n } else { // it's a start-tag\n parser_token.indent_con tent = !parser_token.custom_beautifier_name;\n\n if (parser_token.tag_start_c har === '<') {\n if (parser_token.tag_name === 'html') {\n parser_to ken.indent_content = this._options.indent_inner_html;\n } else if (parser_t oken.tag_name === 'head') {\n parser_token.indent_content = this._options .indent_head_inner_html;\n } else if (parser_token.tag_name === 'body') {\n parser_token.indent_content = this._options.indent_body_inner_html;\n }\n }\n\n if (!(parser_token.is_inline_element || parser_token.is_unfor matted) &&\n (last_token.type !== 'TK_CONTENT' || parser_token.is_content_u nformatted)) {\n printer.print_newline(false);\n }\n\n this._calcluat e_parent_multiline(printer, parser_token);\n }\n};\n\nBeautifier.prototype._cal cluate_parent_multiline = function(printer, parser_token) {\n if (parser_token. parent && printer._output.just_added_newline() &&\n !((parser_token.is_inline _element || parser_token.is_unformatted) && parser_token.parent.is_inline_elemen t)) {\n parser_token.parent.multiline_content = true;\n }\n};\n\n//To be use d for <p> tag special case:\nvar p_closers = ['address', 'article', 'aside', 'bl ockquote', 'details', 'div', 'dl', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hr', 'main', 'nav', 'ol' , 'p', 'pre', 'section', 'table', 'ul'];\nvar p_parent_excludes = ['a', 'audio', 'del', 'ins', 'map', 'noscript', 'video'];\n\nBeautifier.prototype._do_optional _end_element = function(parser_token) {\n var result = null;\n // NOTE: cases of \"if there is no more content in the parent element\"\n // are handled autom atically by the beautifier.\n // It assumes parent or ancestor close tag closes all children.\n // https://www.w3.org/TR/html5/syntax.html#optional-tags\n if (parser_token.is_empty_element || !parser_token.is_start_tag || !parser_token.p arent) {\n return;\n\n }\n\n if (parser_token.tag_name === 'body') {\n / / A head element’s end tag may be omitted if the head element is not immediately followed by a space character or a comment.\n result = result || this._tag_s tack.try_pop('head');\n\n //} else if (parser_token.tag_name === 'body') {\n // DONE: A body element’s end tag may be omitted if the body element is not i mmediately followed by a comment.\n\n } else if (parser_token.tag_name === 'li' ) {\n // An li element’s end tag may be omitted if the li element is immediat ely followed by another li element or if there is no more content in the parent element.\n result = result || this._tag_stack.try_pop('li', ['ol', 'ul']);\n\ n } else if (parser_token.tag_name === 'dd' || parser_token.tag_name === 'dt') {\n // A dd element’s end tag may be omitted if the dd element is immediately followed by another dd element or a dt element, or if there is no more content in the parent element.\n // A dt element’s end tag may be omitted if the dt e lement is immediately followed by another dt element or a dd element.\n resul t = result || this._tag_stack.try_pop('dt', ['dl']);\n result = result || thi s._tag_stack.try_pop('dd', ['dl']);\n\n\n } else if (parser_token.parent.tag_na me === 'p' && p_closers.indexOf(parser_token.tag_name) !== -1) {\n // IMPORTA NT: this else-if works because p_closers has no overlap with any other element w e look for in this method\n // check for the parent element is an HTML elemen t that is not an <a>, <audio>, <del>, <ins>, <map>, <noscript>, or <video> eleme nt, or an autonomous custom element.\n // To do this right, this needs to be coded as an inclusion of the inverse of the exclusion above.\n // But to sta rt with (if we ignore \"autonomous custom elements\") the exclusion would be fin e.\n var p_parent = parser_token.parent.parent;\n if (!p_parent || p_paren t_excludes.indexOf(p_parent.tag_name) === -1) {\n result = result || this._ tag_stack.try_pop('p');\n }\n } else if (parser_token.tag_name === 'rp' || p arser_token.tag_name === 'rt') {\n // An rt element’s end tag may be omitted if the rt element is immediately followed by an rt or rp element, or if there is no more content in the parent element.\n // An rp element’s end tag may be o mitted if the rp element is immediately followed by an rt or rp element, or if t here is no more content in the parent element.\n result = result || this._tag _stack.try_pop('rt', ['ruby', 'rtc']);\n result = result || this._tag_stack.t ry_pop('rp', ['ruby', 'rtc']);\n\n } else if (parser_token.tag_name === 'optgro up') {\n // An optgroup element’s end tag may be omitted if the optgroup elem ent is immediately followed by another optgroup element, or if there is no more content in the parent element.\n // An option element’s end tag may be omitte d if the option element is immediately followed by another option element, or if it is immediately followed by an optgroup element, or if there is no more conte nt in the parent element.\n result = result || this._tag_stack.try_pop('optgr oup', ['select']);\n //result = result || this._tag_stack.try_pop('option', [ 'select']);\n\n } else if (parser_token.tag_name === 'option') {\n // An opt ion element’s end tag may be omitted if the option element is immediately follow ed by another option element, or if it is immediately followed by an optgroup el ement, or if there is no more content in the parent element.\n result = resul t || this._tag_stack.try_pop('option', ['select', 'datalist', 'optgroup']);\n\n } else if (parser_token.tag_name === 'colgroup') {\n // DONE: A colgroup ele ment’s end tag may be omitted if the colgroup element is not immediately followe d by a space character or a comment.\n // A caption element's end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr element is started.\n resu lt = result || this._tag_stack.try_pop('caption', ['table']);\n\n } else if (pa rser_token.tag_name === 'thead') {\n // A colgroup element's end tag may be o mmitted if a thead, tfoot, tbody, or tr element is started.\n // A caption el ement's end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr elemen t is started.\n result = result || this._tag_stack.try_pop('caption', ['table ']);\n result = result || this._tag_stack.try_pop('colgroup', ['table']);\n\n //} else if (parser_token.tag_name === 'caption') {\n // DONE: A caption element’s end tag may be omitted if the caption element is not immediately follo wed by a space character or a comment.\n\n } else if (parser_token.tag_name === 'tbody' || parser_token.tag_name === 'tfoot') {\n // A thead element’s end t ag may be omitted if the thead element is immediately followed by a tbody or tfo ot element.\n // A tbody element’s end tag may be omitted if the tbody elemen t is immediately followed by a tbody or tfoot element, or if there is no more co ntent in the parent element.\n // A colgroup element's end tag may be ommitte d if a thead, tfoot, tbody, or tr element is started.\n // A caption element' s end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr element is s tarted.\n result = result || this._tag_stack.try_pop('caption', ['table']);\n result = result || this._tag_stack.try_pop('colgroup', ['table']);\n resu lt = result || this._tag_stack.try_pop('thead', ['table']);\n result = result || this._tag_stack.try_pop('tbody', ['table']);\n\n //} else if (parser_toke n.tag_name === 'tfoot') {\n // DONE: A tfoot element’s end tag may be omitted if there is no more content in the parent element.\n\n } else if (parser_token .tag_name === 'tr') {\n // A tr element’s end tag may be omitted if the tr el ement is immediately followed by another tr element, or if there is no more cont ent in the parent element.\n // A colgroup element's end tag may be ommitted if a thead, tfoot, tbody, or tr element is started.\n // A caption element's end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr element is sta rted.\n result = result || this._tag_stack.try_pop('caption', ['table']);\n result = result || this._tag_stack.try_pop('colgroup', ['table']);\n result = result || this._tag_stack.try_pop('tr', ['table', 'thead', 'tbody', 'tfoot']) ;\n\n } else if (parser_token.tag_name === 'th' || parser_token.tag_name === 't d') {\n // A td element’s end tag may be omitted if the td element is immedia tely followed by a td or th element, or if there is no more content in the paren t element.\n // A th element’s end tag may be omitted if the th element is im mediately followed by a td or th element, or if there is no more content in the parent element.\n result = result || this._tag_stack.try_pop('td', ['table', 'thead', 'tbody', 'tfoot', 'tr']);\n result = result || this._tag_stack.try_p op('th', ['table', 'thead', 'tbody', 'tfoot', 'tr']);\n }\n\n // Start element omission not handled currently\n // A head element’s start tag may be omitted if the element is empty, or if the first thing inside the head element is an ele ment.\n // A tbody element’s start tag may be omitted if the first thing inside the tbody element is a tr element, and if the element is not immediately preced ed by a tbody, thead, or tfoot element whose end tag has been omitted. (It can’t be omitted if the element is empty.)\n // A colgroup element’s start tag may b e omitted if the first thing inside the colgroup element is a col element, and i f the element is not immediately preceded by another colgroup element whose end tag has been omitted. (It can’t be omitted if the element is empty.)\n\n // Fix up the parent of the parser token\n parser_token.parent = this._tag_stack.get_ parser_token();\n\n return result;\n};\n\nmodule.exports.Beautifier = Beautifie r;\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2 007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is here by granted, free of charge, to any person\n obtaining a copy of this software a nd associated documentation files\n (the \"Software\"), to deal in the Software without restriction,\n including without limitation the rights to use, copy, m odify, merge,\n publish, distribute, sublicense, and/or sell copies of the Soft ware,\n and to permit persons to whom the Software is furnished to do so,\n su bject to the following conditions:\n\n The above copyright notice and this perm ission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, \n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHA NTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OT HER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING F ROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS I N THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar Beautifier = require('./beautifie r').Beautifier,\n Options = require('./options').Options;\n\nfunction style_htm l(html_source, options, js_beautify, css_beautify) {\n var beautifier = new Bea utifier(html_source, options, js_beautify, css_beautify);\n return beautifier.b eautify();\n}\n\nmodule.exports = style_html;\nmodule.exports.defaultOptions = f unction() {\n return new Options();\n};\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charge, to any person\ n obtaining a copy of this software and associated documentation files\n (the \"Software\"), to deal in the Software without restriction,\n including without limitation the rights to use, copy, modify, merge,\n publish, distribute, subl icense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n Th e above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \" AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOS E AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE S OFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\ nvar BaseOptions = require('../core/options').Options;\n\nfunction Options(optio ns) {\n BaseOptions.call(this, options, 'html');\n if (this.templating.length === 1 && this.templating[0] === 'auto') {\n this.templating = ['django', 'erb ', 'handlebars', 'php'];\n }\n\n this.indent_inner_html = this._get_boolean('i ndent_inner_html');\n this.indent_body_inner_html = this._get_boolean('indent_b ody_inner_html', true);\n this.indent_head_inner_html = this._get_boolean('inde nt_head_inner_html', true);\n\n this.indent_handlebars = this._get_boolean('ind ent_handlebars', true);\n this.wrap_attributes = this._get_selection('wrap_attr ibutes',\n ['auto', 'force', 'force-aligned', 'force-expand-multiline', 'alig ned-multiple', 'preserve', 'preserve-aligned']);\n this.wrap_attributes_indent_ size = this._get_number('wrap_attributes_indent_size', this.indent_size);\n thi s.extra_liners = this._get_array('extra_liners', ['head', 'body', '/html']);\n\n // Block vs inline elements\n // https://developer.mozilla.org/en-US/docs/Web /HTML/Block-level_elements\n // https://developer.mozilla.org/en-US/docs/Web/HT ML/Inline_elements\n // https://www.w3.org/TR/html5/dom.html#phrasing-content\n this.inline = this._get_array('inline', [\n 'a', 'abbr', 'area', 'audio', ' b', 'bdi', 'bdo', 'br', 'button', 'canvas', 'cite',\n 'code', 'data', 'datali st', 'del', 'dfn', 'em', 'embed', 'i', 'iframe', 'img',\n 'input', 'ins', 'kb d', 'keygen', 'label', 'map', 'mark', 'math', 'meter', 'noscript',\n 'object' , 'output', 'progress', 'q', 'ruby', 's', 'samp', /* 'script', */ 'select', 'sma ll',\n 'span', 'strong', 'sub', 'sup', 'svg', 'template', 'textarea', 'time', 'u', 'var',\n 'video', 'wbr', 'text',\n // obsolete inline tags\n 'acr onym', 'big', 'strike', 'tt'\n ]);\n this.void_elements = this._get_array('voi d_elements', [\n // HTLM void elements - aka self-closing tags - aka singleto ns\n // https://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elemen ts\n 'area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'keygen',\n 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr',\n // NOTE: Optional tags are too complex for a simple list\n // they are hard coded in _ do_optional_end_element\n\n // Doctype and xml elements\n '!doctype', '?xm l',\n\n // obsolete tags\n // basefont: https://www.computerhope.com/jargo n/h/html-basefont-tag.htm\n // isndex: https://developer.mozilla.org/en-US/do cs/Web/HTML/Element/isindex\n 'basefont', 'isindex'\n ]);\n this.unformatte d = this._get_array('unformatted', []);\n this.content_unformatted = this._get_ array('content_unformatted', [\n 'pre', 'textarea'\n ]);\n this.unformatted _content_delimiter = this._get_characters('unformatted_content_delimiter');\n t his.indent_scripts = this._get_selection('indent_scripts', ['normal', 'keep', 's eparate']);\n\n}\nOptions.prototype = new BaseOptions();\n\n\n\nmodule.exports.O ptions = Options;\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Per mission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associated documentation files\n (the \"Software\"), to deal in the Software without restriction,\n including without limitation the rights to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell cop ies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n The above copyright notic e and this permission notice shall be\n included in all copies or substantial p ortions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRAN TY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTI ES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMEN T. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHER WISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR O THER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar BaseTokenizer = re quire('../core/tokenizer').Tokenizer;\nvar BASETOKEN = require('../core/tokenize r').TOKEN;\nvar Directives = require('../core/directives').Directives;\nvar Temp latablePattern = require('../core/templatablepattern').TemplatablePattern;\nvar Pattern = require('../core/pattern').Pattern;\n\nvar TOKEN = {\n TAG_OPEN: 'TK_ TAG_OPEN',\n TAG_CLOSE: 'TK_TAG_CLOSE',\n ATTRIBUTE: 'TK_ATTRIBUTE',\n EQUALS : 'TK_EQUALS',\n VALUE: 'TK_VALUE',\n COMMENT: 'TK_COMMENT',\n TEXT: 'TK_TEXT ',\n UNKNOWN: 'TK_UNKNOWN',\n START: BASETOKEN.START,\n RAW: BASETOKEN.RAW,\n EOF: BASETOKEN.EOF\n};\n\nvar directives_core = new Directives(/<\\!--/, /-->/ );\n\nvar Tokenizer = function(input_string, options) {\n BaseTokenizer.call(th is, input_string, options);\n this._current_tag_name = '';\n\n // Words end at whitespace or when a tag starts\n // if we are indenting handlebars, they are considered tags\n var templatable_reader = new TemplatablePattern(this._input). read_options(this._options);\n var pattern_reader = new Pattern(this._input);\n \n this.__patterns = {\n word: templatable_reader.until(/[\\n\\r\\t <]/),\n single_quote: templatable_reader.until_after(/'/),\n double_quote: templat able_reader.until_after(/\"/),\n attribute: templatable_reader.until(/[\\n\\r \\t =>]|\\/>/),\n element_name: templatable_reader.until(/[\\n\\r\\t >\\/]/), \n\n handlebars_comment: pattern_reader.starting_with(/{{!--/).until_after(/- -}}/),\n handlebars: pattern_reader.starting_with(/{{/).until_after(/}}/),\n handlebars_open: pattern_reader.until(/[\\n\\r\\t }]/),\n handlebars_raw_c lose: pattern_reader.until(/}}/),\n comment: pattern_reader.starting_with(/<! --/).until_after(/-->/),\n cdata: pattern_reader.starting_with(/<!\\[CDATA\\[ /).until_after(/]]>/),\n // https://en.wikipedia.org/wiki/Conditional_comment \n conditional_comment: pattern_reader.starting_with(/<!\\[/).until_after(/]> /),\n processing: pattern_reader.starting_with(/<\\?/).until_after(/\\?>/)\n };\n\n if (this._options.indent_handlebars) {\n this.__patterns.word = this .__patterns.word.exclude('handlebars');\n }\n\n this._unformatted_content_deli miter = null;\n\n if (this._options.unformatted_content_delimiter) {\n var l iteral_regexp = this._input.get_literal_regexp(this._options.unformatted_content _delimiter);\n this.__patterns.unformatted_content_delimiter =\n pattern _reader.matching(literal_regexp)\n .until_after(literal_regexp);\n }\n};\n Tokenizer.prototype = new BaseTokenizer();\n\nTokenizer.prototype._is_comment = function(current_token) { // jshint unused:false\n return false; //current_toke n.type === TOKEN.COMMENT || current_token.type === TOKEN.UNKNOWN;\n};\n\nTokeniz er.prototype._is_opening = function(current_token) {\n return current_token.typ e === TOKEN.TAG_OPEN;\n};\n\nTokenizer.prototype._is_closing = function(current_ token, open_token) {\n return current_token.type === TOKEN.TAG_CLOSE &&\n (o pen_token && (\n ((current_token.text === '>' || current_token.text === '/> ') && open_token.text[0] === '<') ||\n (current_token.text === '}}' && open _token.text[0] === '{' && open_token.text[1] === '{')));\n};\n\nTokenizer.protot ype._reset = function() {\n this._current_tag_name = '';\n};\n\nTokenizer.proto type._get_next_token = function(previous_token, open_token) { // jshint unused:f alse\n var token = null;\n this._readWhitespace();\n var c = this._input.peek ();\n\n if (c === null) {\n return this._create_token(TOKEN.EOF, '');\n }\n \n token = token || this._read_open_handlebars(c, open_token);\n token = token || this._read_attribute(c, previous_token, open_token);\n token = token || thi s._read_close(c, open_token);\n token = token || this._read_raw_content(c, prev ious_token, open_token);\n token = token || this._read_content_word(c);\n toke n = token || this._read_comment_or_cdata(c);\n token = token || this._read_proc essing(c);\n token = token || this._read_open(c, open_token);\n token = token || this._create_token(TOKEN.UNKNOWN, this._input.next());\n\n return token;\n}; \n\nTokenizer.prototype._read_comment_or_cdata = function(c) { // jshint unused: false\n var token = null;\n var resulting_string = null;\n var directives = n ull;\n\n if (c === '<') {\n var peek1 = this._input.peek(1);\n // We trea t all comments as literals, even more than preformatted tags\n // we only loo k for the appropriate closing marker\n if (peek1 === '!') {\n resulting_ string = this.__patterns.comment.read();\n\n // only process directive on h tml comments\n if (resulting_string) {\n directives = directives_cor e.get_directives(resulting_string);\n if (directives && directives.ignore === 'start') {\n resulting_string += directives_core.readIgnored(this. _input);\n }\n } else {\n resulting_string = this.__patterns. cdata.read();\n }\n }\n\n if (resulting_string) {\n token = this ._create_token(TOKEN.COMMENT, resulting_string);\n token.directives = direc tives;\n }\n }\n\n return token;\n};\n\nTokenizer.prototype._read_processin g = function(c) { // jshint unused:false\n var token = null;\n var resulting_s tring = null;\n var directives = null;\n\n if (c === '<') {\n var peek1 = t his._input.peek(1);\n if (peek1 === '!' || peek1 === '?') {\n resulting_ string = this.__patterns.conditional_comment.read();\n resulting_string = r esulting_string || this.__patterns.processing.read();\n }\n\n if (resultin g_string) {\n token = this._create_token(TOKEN.COMMENT, resulting_string);\ n token.directives = directives;\n }\n }\n\n return token;\n};\n\nToke nizer.prototype._read_open = function(c, open_token) {\n var resulting_string = null;\n var token = null;\n if (!open_token) {\n if (c === '<') {\n\n resulting_string = this._input.next();\n if (this._input.peek() === '/') { \n resulting_string += this._input.next();\n }\n resulting_stri ng += this.__patterns.element_name.read();\n token = this._create_token(TOK EN.TAG_OPEN, resulting_string);\n }\n }\n return token;\n};\n\nTokenizer.pr ototype._read_open_handlebars = function(c, open_token) {\n var resulting_strin g = null;\n var token = null;\n if (!open_token) {\n if (this._options.inde nt_handlebars && c === '{' && this._input.peek(1) === '{') {\n if (this._in put.peek(2) === '!') {\n resulting_string = this.__patterns.handlebars_co mment.read();\n resulting_string = resulting_string || this.__patterns.ha ndlebars.read();\n token = this._create_token(TOKEN.COMMENT, resulting_st ring);\n } else {\n resulting_string = this.__patterns.handlebars_op en.read();\n token = this._create_token(TOKEN.TAG_OPEN, resulting_string) ;\n }\n }\n }\n return token;\n};\n\n\nTokenizer.prototype._read_close = function(c, open_token) {\n var resulting_string = null;\n var token = null ;\n if (open_token) {\n if (open_token.text[0] === '<' && (c === '>' || (c = == '/' && this._input.peek(1) === '>'))) {\n resulting_string = this._input .next();\n if (c === '/') { // for close tag \"/>\"\n resulting_str ing += this._input.next();\n }\n token = this._create_token(TOKEN.TAG_ CLOSE, resulting_string);\n } else if (open_token.text[0] === '{' && c === '} ' && this._input.peek(1) === '}') {\n this._input.next();\n this._inpu t.next();\n token = this._create_token(TOKEN.TAG_CLOSE, '}}');\n }\n }\ n\n return token;\n};\n\nTokenizer.prototype._read_attribute = function(c, prev ious_token, open_token) {\n var token = null;\n var resulting_string = '';\n if (open_token && open_token.text[0] === '<') {\n\n if (c === '=') {\n t oken = this._create_token(TOKEN.EQUALS, this._input.next());\n } else if (c = == '\"' || c === \"'\") {\n var content = this._input.next();\n if (c === '\"') {\n content += this.__patterns.double_quote.read();\n } el se {\n content += this.__patterns.single_quote.read();\n }\n to ken = this._create_token(TOKEN.VALUE, content);\n } else {\n resulting_s tring = this.__patterns.attribute.read();\n\n if (resulting_string) {\n if (previous_token.type === TOKEN.EQUALS) {\n token = this._create_ token(TOKEN.VALUE, resulting_string);\n } else {\n token = this. _create_token(TOKEN.ATTRIBUTE, resulting_string);\n }\n }\n }\n }\n return token;\n};\n\nTokenizer.prototype._is_content_unformatted = function (tag_name) {\n // void_elements have no content and so cannot have unformatted content\n // script and style tags should always be read as unformatted content \n // finally content_unformatted and unformatted element contents are unformat ted\n return this._options.void_elements.indexOf(tag_name) === -1 &&\n (this ._options.content_unformatted.indexOf(tag_name) !== -1 ||\n this._options.u nformatted.indexOf(tag_name) !== -1);\n};\n\n\nTokenizer.prototype._read_raw_con tent = function(c, previous_token, open_token) { // jshint unused:false\n var r esulting_string = '';\n if (open_token && open_token.text[0] === '{') {\n re sulting_string = this.__patterns.handlebars_raw_close.read();\n } else if (prev ious_token.type === TOKEN.TAG_CLOSE &&\n previous_token.opened.text[0] === '< ' && previous_token.text[0] !== '/') {\n // ^^ empty tag has no content \n var tag_name = previous_token.opened.text.substr(1).toLowerCase();\n if (tag _name === 'script' || tag_name === 'style') {\n // Script and style tags ar e allowed to have comments wrapping their content\n // or just have regular content.\n var token = this._read_comment_or_cdata(c);\n if (token) { \n token.type = TOKEN.TEXT;\n return token;\n }\n result ing_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\\\n\\\\r\\\\ t ]*?>', 'ig'));\n } else if (this._is_content_unformatted(tag_name)) {\n\n resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\\\ n\\\\r\\\\t ]*?>', 'ig'));\n }\n }\n\n if (resulting_string) {\n return this._create_token(TOKEN.TEXT, resulting_string);\n }\n\n return null;\n};\n\n Tokenizer.prototype._read_content_word = function(c) {\n var resulting_string = '';\n if (this._options.unformatted_content_delimiter) {\n if (c === this._ options.unformatted_content_delimiter[0]) {\n resulting_string = this.__pat terns.unformatted_content_delimiter.read();\n }\n }\n\n if (!resulting_stri ng) {\n resulting_string = this.__patterns.word.read();\n }\n if (resulting _string) {\n return this._create_token(TOKEN.TEXT, resulting_string);\n }\n} ;\n\nmodule.exports.Tokenizer = Tokenizer;\nmodule.exports.TOKEN = TOKEN;\n","/* jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby grante d, free of charge, to any person\n obtaining a copy of this software and associ ated documentation files\n (the \"Software\"), to deal in the Software without restriction,\n including without limitation the rights to use, copy, modify, me rge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n The above copyright notice and this permission no tice shall be\n included in all copies or substantial portions of the Software. \n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRE SS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY , FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABI LITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar js_beautify = require('./javascript/index' );\nvar css_beautify = require('./css/index');\nvar html_beautify = require('./h tml/index');\n\nfunction style_html(html_source, options, js, css) {\n js = js || js_beautify;\n css = css || css_beautify;\n return html_beautify(html_sourc e, options, js, css);\n}\nstyle_html.defaultOptions = html_beautify.defaultOptio ns;\n\nmodule.exports.js = js_beautify;\nmodule.exports.css = css_beautify;\nmod ule.exports.html = style_html;\n","/* jshint node: true, curly: false */\n// Par ts of this section of code is taken from acorn.\n//\n// Acorn was written by Mar ijn Haverbeke and released under an MIT\n// license. The Unicode regexps (for id entifiers and whitespace) were\n// taken from [Esprima](http://esprima.org) by A riya Hidayat.\n//\n// Git repositories for Acorn are available at\n//\n// ht tp://marijnhaverbeke.nl/git/acorn\n// https://github.com/marijnh/acorn.git\n \n// ## Character categories\n\n\n'use strict';\n\n// acorn used char codes to s queeze the last bit of performance out\n// Beautifier is okay without that, so w e're using regex\n// permit # (23), $ (36), and @ (64). @ is used in ES7 decorat ors.\n// 65 through 91 are uppercase letters.\n// permit _ (95).\n// 97 through 123 are lowercase letters.\nvar baseASCIIidentifierStartChars = \"\\\\x23\\\\x24 \\\\x40\\\\x41-\\\\x5a\\\\x5f\\\\x61-\\\\x7a\";\n\n// inside an identifier @ is not allowed but 0-9 are.\nvar baseASCIIidentifierChars = \"\\\\x24\\\\x30-\\\\x3 9\\\\x41-\\\\x5a\\\\x5f\\\\x61-\\\\x7a\";\n\n// Big ugly regular expressions tha t match characters in the\n// whitespace, identifier, and identifier-start categ ories. These\n// are only applied when a character is found to actually have a\n // code point above 128.\nvar nonASCIIidentifierStartChars = \"\\\\xaa\\\\xb5\\\ \xba\\\\xc0-\\\\xd6\\\\xd8-\\\\xf6\\\\xf8-\\\\u02c1\\\\u02c6-\\\\u02d1\\\\u02e0- \\\\u02e4\\\\u02ec\\\\u02ee\\\\u0370-\\\\u0374\\\\u0376\\\\u0377\\\\u037a-\\\\u0 37d\\\\u0386\\\\u0388-\\\\u038a\\\\u038c\\\\u038e-\\\\u03a1\\\\u03a3-\\\\u03f5\\ \\u03f7-\\\\u0481\\\\u048a-\\\\u0527\\\\u0531-\\\\u0556\\\\u0559\\\\u0561-\\\\u0 587\\\\u05d0-\\\\u05ea\\\\u05f0-\\\\u05f2\\\\u0620-\\\\u064a\\\\u066e\\\\u066f\\ \\u0671-\\\\u06d3\\\\u06d5\\\\u06e5\\\\u06e6\\\\u06ee\\\\u06ef\\\\u06fa-\\\\u06f c\\\\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\\\\u09 50\\\\u0958-\\\\u0961\\\\u0971-\\\\u0977\\\\u0979-\\\\u097f\\\\u0985-\\\\u098c\\ \\u098f\\\\u0990\\\\u0993-\\\\u09a8\\\\u09aa-\\\\u09b0\\\\u09b2\\\\u09b6-\\\\u09 b9\\\\u09bd\\\\u09ce\\\\u09dc\\\\u09dd\\\\u09df-\\\\u09e1\\\\u09f0\\\\u09f1\\\\u 0a05-\\\\u0a0a\\\\u0a0f\\\\u0a10\\\\u0a13-\\\\u0a28\\\\u0a2a-\\\\u0a30\\\\u0a32\ \\\u0a33\\\\u0a35\\\\u0a36\\\\u0a38\\\\u0a39\\\\u0a59-\\\\u0a5c\\\\u0a5e\\\\u0a7 2-\\\\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\\\\u 0b32\\\\u0b33\\\\u0b35-\\\\u0b39\\\\u0b3d\\\\u0b5c\\\\u0b5d\\\\u0b5f-\\\\u0b61\\ \\u0b71\\\\u0b83\\\\u0b85-\\\\u0b8a\\\\u0b8e-\\\\u0b90\\\\u0b92-\\\\u0b95\\\\u0b 99\\\\u0b9a\\\\u0b9c\\\\u0b9e\\\\u0b9f\\\\u0ba3\\\\u0ba4\\\\u0ba8-\\\\u0baa\\\\u 0bae-\\\\u0bb9\\\\u0bd0\\\\u0c05-\\\\u0c0c\\\\u0c0e-\\\\u0c10\\\\u0c12-\\\\u0c28 \\\\u0c2a-\\\\u0c33\\\\u0c35-\\\\u0c39\\\\u0c3d\\\\u0c58\\\\u0c59\\\\u0c60\\\\u0 c61\\\\u0c85-\\\\u0c8c\\\\u0c8e-\\\\u0c90\\\\u0c92-\\\\u0ca8\\\\u0caa-\\\\u0cb3\ \\\u0cb5-\\\\u0cb9\\\\u0cbd\\\\u0cde\\\\u0ce0\\\\u0ce1\\\\u0cf1\\\\u0cf2\\\\u0d0 5-\\\\u0d0c\\\\u0d0e-\\\\u0d10\\\\u0d12-\\\\u0d3a\\\\u0d3d\\\\u0d4e\\\\u0d60\\\\ u0d61\\\\u0d7a-\\\\u0d7f\\\\u0d85-\\\\u0d96\\\\u0d9a-\\\\u0db1\\\\u0db3-\\\\u0db b\\\\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\\\\u0ea b\\\\u0ead-\\\\u0eb0\\\\u0eb2\\\\u0eb3\\\\u0ebd\\\\u0ec0-\\\\u0ec4\\\\u0ec6\\\\u 0edc-\\\\u0edf\\\\u0f00\\\\u0f40-\\\\u0f47\\\\u0f49-\\\\u0f6c\\\\u0f88-\\\\u0f8c \\\\u1000-\\\\u102a\\\\u103f\\\\u1050-\\\\u1055\\\\u105a-\\\\u105d\\\\u1061\\\\u 1065\\\\u1066\\\\u106e-\\\\u1070\\\\u1075-\\\\u1081\\\\u108e\\\\u10a0-\\\\u10c5\ \\\u10c7\\\\u10cd\\\\u10d0-\\\\u10fa\\\\u10fc-\\\\u1248\\\\u124a-\\\\u124d\\\\u1 250-\\\\u1256\\\\u1258\\\\u125a-\\\\u125d\\\\u1260-\\\\u1288\\\\u128a-\\\\u128d\ \\\u1290-\\\\u12b0\\\\u12b2-\\\\u12b5\\\\u12b8-\\\\u12be\\\\u12c0\\\\u12c2-\\\\u 12c5\\\\u12c8-\\\\u12d6\\\\u12d8-\\\\u1310\\\\u1312-\\\\u1315\\\\u1318-\\\\u135a \\\\u1380-\\\\u138f\\\\u13a0-\\\\u13f4\\\\u1401-\\\\u166c\\\\u166f-\\\\u167f\\\\ u1681-\\\\u169a\\\\u16a0-\\\\u16ea\\\\u16ee-\\\\u16f0\\\\u1700-\\\\u170c\\\\u170 e-\\\\u1711\\\\u1720-\\\\u1731\\\\u1740-\\\\u1751\\\\u1760-\\\\u176c\\\\u176e-\\ \\u1770\\\\u1780-\\\\u17b3\\\\u17d7\\\\u17dc\\\\u1820-\\\\u1877\\\\u1880-\\\\u18 a8\\\\u18aa\\\\u18b0-\\\\u18f5\\\\u1900-\\\\u191c\\\\u1950-\\\\u196d\\\\u1970-\\ \\u1974\\\\u1980-\\\\u19ab\\\\u19c1-\\\\u19c7\\\\u1a00-\\\\u1a16\\\\u1a20-\\\\u1 a54\\\\u1aa7\\\\u1b05-\\\\u1b33\\\\u1b45-\\\\u1b4b\\\\u1b83-\\\\u1ba0\\\\u1bae\\ \\u1baf\\\\u1bba-\\\\u1be5\\\\u1c00-\\\\u1c23\\\\u1c4d-\\\\u1c4f\\\\u1c5a-\\\\u1 c7d\\\\u1ce9-\\\\u1cec\\\\u1cee-\\\\u1cf1\\\\u1cf5\\\\u1cf6\\\\u1d00-\\\\u1dbf\\ \\u1e00-\\\\u1f15\\\\u1f18-\\\\u1f1d\\\\u1f20-\\\\u1f45\\\\u1f48-\\\\u1f4d\\\\u1 f50-\\\\u1f57\\\\u1f59\\\\u1f5b\\\\u1f5d\\\\u1f5f-\\\\u1f7d\\\\u1f80-\\\\u1fb4\\ \\u1fb6-\\\\u1fbc\\\\u1fbe\\\\u1fc2-\\\\u1fc4\\\\u1fc6-\\\\u1fcc\\\\u1fd0-\\\\u1 fd3\\\\u1fd6-\\\\u1fdb\\\\u1fe0-\\\\u1fec\\\\u1ff2-\\\\u1ff4\\\\u1ff6-\\\\u1ffc\ \\\u2071\\\\u207f\\\\u2090-\\\\u209c\\\\u2102\\\\u2107\\\\u210a-\\\\u2113\\\\u21 15\\\\u2119-\\\\u211d\\\\u2124\\\\u2126\\\\u2128\\\\u212a-\\\\u212d\\\\u212f-\\\ \u2139\\\\u213c-\\\\u213f\\\\u2145-\\\\u2149\\\\u214e\\\\u2160-\\\\u2188\\\\u2c0 0-\\\\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-\\\\u2d de\\\\u2e2f\\\\u3005-\\\\u3007\\\\u3021-\\\\u3029\\\\u3031-\\\\u3035\\\\u3038-\\ \\u303c\\\\u3041-\\\\u3096\\\\u309d-\\\\u309f\\\\u30a1-\\\\u30fa\\\\u30fc-\\\\u3 0ff\\\\u3105-\\\\u312d\\\\u3131-\\\\u318e\\\\u31a0-\\\\u31ba\\\\u31f0-\\\\u31ff\ \\\u3400-\\\\u4db5\\\\u4e00-\\\\u9fcc\\\\ua000-\\\\ua48c\\\\ua4d0-\\\\ua4fd\\\\u a500-\\\\ua60c\\\\ua610-\\\\ua61f\\\\ua62a\\\\ua62b\\\\ua640-\\\\ua66e\\\\ua67f- \\\\ua697\\\\ua6a0-\\\\ua6ef\\\\ua717-\\\\ua71f\\\\ua722-\\\\ua788\\\\ua78b-\\\\ ua78e\\\\ua790-\\\\ua793\\\\ua7a0-\\\\ua7aa\\\\ua7f8-\\\\ua801\\\\ua803-\\\\ua80 5\\\\ua807-\\\\ua80a\\\\ua80c-\\\\ua822\\\\ua840-\\\\ua873\\\\ua882-\\\\ua8b3\\\ \ua8f2-\\\\ua8f7\\\\ua8fb\\\\ua90a-\\\\ua925\\\\ua930-\\\\ua946\\\\ua960-\\\\ua9 7c\\\\ua984-\\\\ua9b2\\\\ua9cf\\\\uaa00-\\\\uaa28\\\\uaa40-\\\\uaa42\\\\uaa44-\\ \\uaa4b\\\\uaa60-\\\\uaa76\\\\uaa7a\\\\uaa80-\\\\uaaaf\\\\uaab1\\\\uaab5\\\\uaab 6\\\\uaab9-\\\\uaabd\\\\uaac0\\\\uaac2\\\\uaadb-\\\\uaadd\\\\uaae0-\\\\uaaea\\\\ uaaf2-\\\\uaaf4\\\\uab01-\\\\uab06\\\\uab09-\\\\uab0e\\\\uab11-\\\\uab16\\\\uab2 0-\\\\uab26\\\\uab28-\\\\uab2e\\\\uabc0-\\\\uabe2\\\\uac00-\\\\ud7a3\\\\ud7b0-\\ \\ud7c6\\\\ud7cb-\\\\ud7fb\\\\uf900-\\\\ufa6d\\\\ufa70-\\\\ufad9\\\\ufb00-\\\\uf b06\\\\ufb13-\\\\ufb17\\\\ufb1d\\\\ufb1f-\\\\ufb28\\\\ufb2a-\\\\ufb36\\\\ufb38-\ \\\ufb3c\\\\ufb3e\\\\ufb40\\\\ufb41\\\\ufb43\\\\ufb44\\\\ufb46-\\\\ufbb1\\\\ufbd 3-\\\\ufd3d\\\\ufd50-\\\\ufd8f\\\\ufd92-\\\\ufdc7\\\\ufdf0-\\\\ufdfb\\\\ufe70-\\ \\ufe74\\\\ufe76-\\\\ufefc\\\\uff21-\\\\uff3a\\\\uff41-\\\\uff5a\\\\uff66-\\\\uf fbe\\\\uffc2-\\\\uffc7\\\\uffca-\\\\uffcf\\\\uffd2-\\\\uffd7\\\\uffda-\\\\uffdc\ ";\nvar nonASCIIidentifierChars = \"\\\\u0300-\\\\u036f\\\\u0483-\\\\u0487\\\\u0 591-\\\\u05bd\\\\u05bf\\\\u05c1\\\\u05c2\\\\u05c4\\\\u05c5\\\\u05c7\\\\u0610-\\\ \u061a\\\\u0620-\\\\u0649\\\\u0672-\\\\u06d3\\\\u06e7-\\\\u06e8\\\\u06fb-\\\\u06 fc\\\\u0730-\\\\u074a\\\\u0800-\\\\u0814\\\\u081b-\\\\u0823\\\\u0825-\\\\u0827\\ \\u0829-\\\\u082d\\\\u0840-\\\\u0857\\\\u08e4-\\\\u08fe\\\\u0900-\\\\u0903\\\\u0 93a-\\\\u093c\\\\u093e-\\\\u094f\\\\u0951-\\\\u0957\\\\u0962-\\\\u0963\\\\u0966- \\\\u096f\\\\u0981-\\\\u0983\\\\u09bc\\\\u09be-\\\\u09c4\\\\u09c7\\\\u09c8\\\\u0 9d7\\\\u09df-\\\\u09e0\\\\u0a01-\\\\u0a03\\\\u0a3c\\\\u0a3e-\\\\u0a42\\\\u0a47\\ \\u0a48\\\\u0a4b-\\\\u0a4d\\\\u0a51\\\\u0a66-\\\\u0a71\\\\u0a75\\\\u0a81-\\\\u0a 83\\\\u0abc\\\\u0abe-\\\\u0ac5\\\\u0ac7-\\\\u0ac9\\\\u0acb-\\\\u0acd\\\\u0ae2-\\ \\u0ae3\\\\u0ae6-\\\\u0aef\\\\u0b01-\\\\u0b03\\\\u0b3c\\\\u0b3e-\\\\u0b44\\\\u0b 47\\\\u0b48\\\\u0b4b-\\\\u0b4d\\\\u0b56\\\\u0b57\\\\u0b5f-\\\\u0b60\\\\u0b66-\\\ \u0b6f\\\\u0b82\\\\u0bbe-\\\\u0bc2\\\\u0bc6-\\\\u0bc8\\\\u0bca-\\\\u0bcd\\\\u0bd 7\\\\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\\\\u 0ce2-\\\\u0ce3\\\\u0ce6-\\\\u0cef\\\\u0d02\\\\u0d03\\\\u0d46-\\\\u0d48\\\\u0d57\ \\\u0d62-\\\\u0d63\\\\u0d66-\\\\u0d6f\\\\u0d82\\\\u0d83\\\\u0dca\\\\u0dcf-\\\\u0 dd4\\\\u0dd6\\\\u0dd8-\\\\u0ddf\\\\u0df2\\\\u0df3\\\\u0e34-\\\\u0e3a\\\\u0e40-\\ \\u0e45\\\\u0e50-\\\\u0e59\\\\u0eb4-\\\\u0eb9\\\\u0ec8-\\\\u0ecd\\\\u0ed0-\\\\u0 ed9\\\\u0f18\\\\u0f19\\\\u0f20-\\\\u0f29\\\\u0f35\\\\u0f37\\\\u0f39\\\\u0f41-\\\ \u0f47\\\\u0f71-\\\\u0f84\\\\u0f86-\\\\u0f87\\\\u0f8d-\\\\u0f97\\\\u0f99-\\\\u0f bc\\\\u0fc6\\\\u1000-\\\\u1029\\\\u1040-\\\\u1049\\\\u1067-\\\\u106d\\\\u1071-\\ \\u1074\\\\u1082-\\\\u108d\\\\u108f-\\\\u109d\\\\u135d-\\\\u135f\\\\u170e-\\\\u1 710\\\\u1720-\\\\u1730\\\\u1740-\\\\u1750\\\\u1772\\\\u1773\\\\u1780-\\\\u17b2\\ \\u17dd\\\\u17e0-\\\\u17e9\\\\u180b-\\\\u180d\\\\u1810-\\\\u1819\\\\u1920-\\\\u1 92b\\\\u1930-\\\\u193b\\\\u1951-\\\\u196d\\\\u19b0-\\\\u19c0\\\\u19c8-\\\\u19c9\ \\\u19d0-\\\\u19d9\\\\u1a00-\\\\u1a15\\\\u1a20-\\\\u1a53\\\\u1a60-\\\\u1a7c\\\\u 1a7f-\\\\u1a89\\\\u1a90-\\\\u1a99\\\\u1b46-\\\\u1b4b\\\\u1b50-\\\\u1b59\\\\u1b6b -\\\\u1b73\\\\u1bb0-\\\\u1bb9\\\\u1be6-\\\\u1bf3\\\\u1c00-\\\\u1c22\\\\u1c40-\\\ \u1c49\\\\u1c5b-\\\\u1c7d\\\\u1cd0-\\\\u1cd2\\\\u1d00-\\\\u1dbe\\\\u1e01-\\\\u1f 15\\\\u200c\\\\u200d\\\\u203f\\\\u2040\\\\u2054\\\\u20d0-\\\\u20dc\\\\u20e1\\\\u 20e5-\\\\u20f0\\\\u2d81-\\\\u2d96\\\\u2de0-\\\\u2dff\\\\u3021-\\\\u3028\\\\u3099 \\\\u309a\\\\ua640-\\\\ua66d\\\\ua674-\\\\ua67d\\\\ua69f\\\\ua6f0-\\\\ua6f1\\\\u a7f8-\\\\ua800\\\\ua806\\\\ua80b\\\\ua823-\\\\ua827\\\\ua880-\\\\ua881\\\\ua8b4- \\\\ua8c4\\\\ua8d0-\\\\ua8d9\\\\ua8f3-\\\\ua8f7\\\\ua900-\\\\ua909\\\\ua926-\\\\ ua92d\\\\ua930-\\\\ua945\\\\ua980-\\\\ua983\\\\ua9b3-\\\\ua9c0\\\\uaa00-\\\\uaa2 7\\\\uaa40-\\\\uaa41\\\\uaa4c-\\\\uaa4d\\\\uaa50-\\\\uaa59\\\\uaa7b\\\\uaae0-\\\ \uaae9\\\\uaaf2-\\\\uaaf3\\\\uabc0-\\\\uabe1\\\\uabec\\\\uabed\\\\uabf0-\\\\uabf 9\\\\ufb20-\\\\ufb28\\\\ufe00-\\\\ufe0f\\\\ufe20-\\\\ufe26\\\\ufe33\\\\ufe34\\\\ ufe4d-\\\\ufe4f\\\\uff10-\\\\uff19\\\\uff3f\";\n//var nonASCIIidentifierStart = new RegExp(\"[\" + nonASCIIidentifierStartChars + \"]\");\n//var nonASCIIidentif ier = new RegExp(\"[\" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"]\");\n\nvar identifierStart = \"(?:\\\\\\\\u[0-9a-fA-F]{4}|[\" + baseASCIIi dentifierStartChars + nonASCIIidentifierStartChars + \"])\";\nvar identifierChar s = \"(?:\\\\\\\\u[0-9a-fA-F]{4}|[\" + baseASCIIidentifierChars + nonASCIIidenti fierStartChars + nonASCIIidentifierChars + \"])*\";\n\nexports.identifier = new RegExp(identifierStart + identifierChars, 'g');\nexports.identifierStart = new R egExp(identifierStart);\nexports.identifierMatch = new RegExp(\"(?:\\\\\\\\u[0-9 a-fA-F]{4}|[\" + baseASCIIidentifierChars + nonASCIIidentifierStartChars + nonAS CIIidentifierChars + \"])+\");\n\nvar nonASCIIwhitespace = /[\\u1680\\u180e\\u20 00-\\u200a\\u202f\\u205f\\u3000\\ufeff]/; // jshint ignore:line\n\n// Whether a single character denotes a newline.\n\nexports.newline = /[\\n\\r\\u2028\\u2029] /;\n\n// Matches a whole line break (where CRLF is considered a single\n// line break). Used to count lines.\n\n// in javascript, these two differ\n// in python they are the same, different methods are called on them\nexports.lineBreak = ne w RegExp('\\r\\n|' + exports.newline.source);\nexports.allLineBreaks = new RegEx p(exports.lineBreak.source, 'g');\n","/*jshint node:true */\n/*\n\n The MIT Lic ense (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contri butors.\n\n Permission is hereby granted, free of charge, to any person\n obta ining a copy of this software and associated documentation files\n (the \"Softw are\"), to deal in the Software without restriction,\n including without limita tion the rights to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Softwa re is furnished to do so,\n subject to the following conditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\" , WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIAB LE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRAC T, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar Ou tput = require('../core/output').Output;\nvar Token = require('../core/token').T oken;\nvar acorn = require('./acorn');\nvar Options = require('./options').Optio ns;\nvar Tokenizer = require('./tokenizer').Tokenizer;\nvar line_starters = requ ire('./tokenizer').line_starters;\nvar positionable_operators = require('./token izer').positionable_operators;\nvar TOKEN = require('./tokenizer').TOKEN;\n\n\nf unction in_array(what, arr) {\n return arr.indexOf(what) !== -1;\n}\n\nfunction ltrim(s) {\n return s.replace(/^\\s+/g, '');\n}\n\nfunction generateMapFromStr ings(list) {\n var result = {};\n for (var x = 0; x < list.length; x++) {\n // make the mapped names underscored instead of dash\n result[list[x].replac e(/-/g, '_')] = list[x];\n }\n return result;\n}\n\nfunction reserved_word(tok en, word) {\n return token && token.type === TOKEN.RESERVED && token.text === w ord;\n}\n\nfunction reserved_array(token, words) {\n return token && token.type === TOKEN.RESERVED && in_array(token.text, words);\n}\n// Unsure of what they m ean, but they work. Worth cleaning up in future.\nvar special_words = ['case', ' return', 'do', 'if', 'throw', 'else', 'await', 'break', 'continue', 'async'];\n\ nvar validPositionValues = ['before-newline', 'after-newline', 'preserve-newline '];\n\n// Generate map from array\nvar OPERATOR_POSITION = generateMapFromString s(validPositionValues);\n\nvar OPERATOR_POSITION_BEFORE_OR_PRESERVE = [OPERATOR_ POSITION.before_newline, OPERATOR_POSITION.preserve_newline];\n\nvar MODE = {\n BlockStatement: 'BlockStatement', // 'BLOCK'\n Statement: 'Statement', // 'STA TEMENT'\n ObjectLiteral: 'ObjectLiteral', // 'OBJECT',\n ArrayLiteral: 'ArrayL iteral', //'[EXPRESSION]',\n ForInitializer: 'ForInitializer', //'(FOR-EXPRESSI ON)',\n Conditional: 'Conditional', //'(COND-EXPRESSION)',\n Expression: 'Expr ession' //'(EXPRESSION)'\n};\n\nfunction remove_redundant_indentation(output, fr ame) {\n // This implementation is effective but has some issues:\n // - c an cause line wrap to happen too soon due to indent removal\n // afte r wrap points are calculated\n // These issues are minor compared to ugly inden tation.\n\n if (frame.multiline_frame ||\n frame.mode === MODE.ForInitialize r ||\n frame.mode === MODE.Conditional) {\n return;\n }\n\n // remove on e indent from each line inside this section\n output.remove_indent(frame.start_ line_index);\n}\n\n// we could use just string.split, but\n// IE doesn't like re turning empty strings\nfunction split_linebreaks(s) {\n //return s.split(/\\x0d \\x0a|\\x0a/);\n\n s = s.replace(acorn.allLineBreaks, '\\n');\n var out = [],\ n idx = s.indexOf(\"\\n\");\n while (idx !== -1) {\n out.push(s.substring (0, idx));\n s = s.substring(idx + 1);\n idx = s.indexOf(\"\\n\");\n }\n if (s.length) {\n out.push(s);\n }\n return out;\n}\n\nfunction is_array(m ode) {\n return mode === MODE.ArrayLiteral;\n}\n\nfunction is_expression(mode) {\n return in_array(mode, [MODE.Expression, MODE.ForInitializer, MODE.Condition al]);\n}\n\nfunction all_lines_start_with(lines, c) {\n for (var i = 0; i < lin es.length; i++) {\n var line = lines[i].trim();\n if (line.charAt(0) !== c ) {\n return false;\n }\n }\n return true;\n}\n\nfunction each_line_ma tches_indent(lines, indent) {\n var i = 0,\n len = lines.length,\n line;\ n for (; i < len; i++) {\n line = lines[i];\n // allow empty lines to pas s through\n if (line && line.indexOf(indent) !== 0) {\n return false;\n }\n }\n return true;\n}\n\n\nfunction Beautifier(source_text, options) {\n options = options || {};\n this._source_text = source_text || '';\n\n this._o utput = null;\n this._tokens = null;\n this._last_last_text = null;\n this._f lags = null;\n this._previous_flags = null;\n\n this._flag_store = null;\n th is._options = new Options(options);\n}\n\nBeautifier.prototype.create_flags = fu nction(flags_base, mode) {\n var next_indent_level = 0;\n if (flags_base) {\n next_indent_level = flags_base.indentation_level;\n if (!this._output.just _added_newline() &&\n flags_base.line_indent_level > next_indent_level) {\n next_indent_level = flags_base.line_indent_level;\n }\n }\n\n var nex t_flags = {\n mode: mode,\n parent: flags_base,\n last_token: flags_bas e ? flags_base.last_token : new Token(TOKEN.START_BLOCK, ''), // last token text \n last_word: flags_base ? flags_base.last_word : '', // last TOKEN.WORD pass ed\n declaration_statement: false,\n declaration_assignment: false,\n m ultiline_frame: false,\n inline_frame: false,\n if_block: false,\n else _block: false,\n class_start_block: false, // class A { INSIDE HERE } or clas s B extends C { INSIDE HERE }\n do_block: false,\n do_while: false,\n i mport_block: false,\n in_case_statement: false, // switch(..){ INSIDE HERE }\ n in_case: false, // we're on the exact line with \"case 0:\"\n case_body: false, // the indented case-action block\n case_block: false, // the indente d case-action block is wrapped with {}\n indentation_level: next_indent_level ,\n alignment: 0,\n line_indent_level: flags_base ? flags_base.line_indent _level : next_indent_level,\n start_line_index: this._output.get_line_number( ),\n ternary_depth: 0\n };\n return next_flags;\n};\n\nBeautifier.prototype ._reset = function(source_text) {\n var baseIndentString = source_text.match(/^ [\\t ]*/)[0];\n\n this._last_last_text = ''; // pre-last token text\n this._ou tput = new Output(this._options, baseIndentString);\n\n // If testing the ignor e directive, start with output disable set to true\n this._output.raw = this._o ptions.test_output_raw;\n\n\n // Stack of parsing/formatting states, including MODE.\n // We tokenize, parse, and output in an almost purely a forward-only st ream of token input\n // and formatted output. This makes the beautifier less accurate than full parsers\n // but also far more tolerant of syntax errors.\n //\n // For example, the default mode is MODE.BlockStatement. If we see a '{' we push a new frame of type\n // MODE.BlockStatement on the the stack, even tho ugh it could be object literal. If we later\n // encounter a \":\", we'll swit ch to to MODE.ObjectLiteral. If we then see a \";\",\n // most full parsers wo uld die, but the beautifier gracefully falls back to\n // MODE.BlockStatement a nd continues on.\n this._flag_store = [];\n this.set_mode(MODE.BlockStatement) ;\n var tokenizer = new Tokenizer(source_text, this._options);\n this._tokens = tokenizer.tokenize();\n return source_text;\n};\n\nBeautifier.prototype.beaut ify = function() {\n // if disabled, return the input unchanged.\n if (this._o ptions.disabled) {\n return this._source_text;\n }\n\n var sweet_code;\n v ar source_text = this._reset(this._source_text);\n\n var eol = this._options.eo l;\n if (this._options.eol === 'auto') {\n eol = '\\n';\n if (source_text && acorn.lineBreak.test(source_text || '')) {\n eol = source_text.match(ac orn.lineBreak)[0];\n }\n }\n\n var current_token = this._tokens.next();\n while (current_token) {\n this.handle_token(current_token);\n\n this._last _last_text = this._flags.last_token.text;\n this._flags.last_token = current_ token;\n\n current_token = this._tokens.next();\n }\n\n sweet_code = this._ output.get_code(eol);\n\n return sweet_code;\n};\n\nBeautifier.prototype.handle _token = function(current_token, preserve_statement_flags) {\n if (current_toke n.type === TOKEN.START_EXPR) {\n this.handle_start_expr(current_token);\n } else if (current_token.type === TOKEN.END_EXPR) {\n this.handle_end_expr(curr ent_token);\n } else if (current_token.type === TOKEN.START_BLOCK) {\n this. handle_start_block(current_token);\n } else if (current_token.type === TOKEN.EN D_BLOCK) {\n this.handle_end_block(current_token);\n } else if (current_toke n.type === TOKEN.WORD) {\n this.handle_word(current_token);\n } else if (cur rent_token.type === TOKEN.RESERVED) {\n this.handle_word(current_token);\n } else if (current_token.type === TOKEN.SEMICOLON) {\n this.handle_semicolon(c urrent_token);\n } else if (current_token.type === TOKEN.STRING) {\n this.ha ndle_string(current_token);\n } else if (current_token.type === TOKEN.EQUALS) { \n this.handle_equals(current_token);\n } else if (current_token.type === TO KEN.OPERATOR) {\n this.handle_operator(current_token);\n } else if (current_ token.type === TOKEN.COMMA) {\n this.handle_comma(current_token);\n } else i f (current_token.type === TOKEN.BLOCK_COMMENT) {\n this.handle_block_comment( current_token, preserve_statement_flags);\n } else if (current_token.type === T OKEN.COMMENT) {\n this.handle_comment(current_token, preserve_statement_flags );\n } else if (current_token.type === TOKEN.DOT) {\n this.handle_dot(curren t_token);\n } else if (current_token.type === TOKEN.EOF) {\n this.handle_eof (current_token);\n } else if (current_token.type === TOKEN.UNKNOWN) {\n this .handle_unknown(current_token, preserve_statement_flags);\n } else {\n this. handle_unknown(current_token, preserve_statement_flags);\n }\n};\n\nBeautifier. prototype.handle_whitespace_and_comments = function(current_token, preserve_stat ement_flags) {\n var newlines = current_token.newlines;\n var keep_whitespace = this._options.keep_array_indentation && is_array(this._flags.mode);\n\n if (c urrent_token.comments_before) {\n var comment_token = current_token.comments_ before.next();\n while (comment_token) {\n // The cleanest handling of i nline comments is to treat them as though they aren't there.\n // Just cont inue formatting and the behavior should be logical.\n // Also ignore unknow n tokens. Again, this should result in better behavior.\n this.handle_whit espace_and_comments(comment_token, preserve_statement_flags);\n this.handle _token(comment_token, preserve_statement_flags);\n comment_token = current_ token.comments_before.next();\n }\n }\n\n if (keep_whitespace) {\n for ( var i = 0; i < newlines; i += 1) {\n this.print_newline(i > 0, preserve_sta tement_flags);\n }\n } else {\n if (this._options.max_preserve_newlines & & newlines > this._options.max_preserve_newlines) {\n newlines = this._opti ons.max_preserve_newlines;\n }\n\n if (this._options.preserve_newlines) {\ n if (newlines > 1) {\n this.print_newline(false, preserve_statement _flags);\n for (var j = 1; j < newlines; j += 1) {\n this.print_ newline(true, preserve_statement_flags);\n }\n }\n }\n }\n\n};\n \nvar newline_restricted_tokens = ['async', 'break', 'continue', 'return', 'thro w', 'yield'];\n\nBeautifier.prototype.allow_wrap_or_preserved_newline = function (current_token, force_linewrap) {\n force_linewrap = (force_linewrap === undefi ned) ? false : force_linewrap;\n\n // Never wrap the first token on a line\n i f (this._output.just_added_newline()) {\n return;\n }\n\n var shouldPreserv eOrForce = (this._options.preserve_newlines && current_token.newlines) || force_ linewrap;\n var operatorLogicApplies = in_array(this._flags.last_token.text, po sitionable_operators) ||\n in_array(current_token.text, positionable_operator s);\n\n if (operatorLogicApplies) {\n var shouldPrintOperatorNewline = (\n in_array(this._flags.last_token.text, positionable_operators) &&\n in_array(this._options.operator_position, OPERATOR_POSITION_BEFORE_OR_PRESERVE)\ n ) ||\n in_array(current_token.text, positionable_operators);\n sh ouldPreserveOrForce = shouldPreserveOrForce && shouldPrintOperatorNewline;\n }\ n\n if (shouldPreserveOrForce) {\n this.print_newline(false, true);\n } els e if (this._options.wrap_line_length) {\n if (reserved_array(this._flags.last _token, newline_restricted_tokens)) {\n // These tokens should never have a newline inserted\n // between them and the following expression.\n re turn;\n }\n this._output.set_wrap_point();\n }\n};\n\nBeautifier.prototyp e.print_newline = function(force_newline, preserve_statement_flags) {\n if (!pr eserve_statement_flags) {\n if (this._flags.last_token.text !== ';' && this._ flags.last_token.text !== ',' && this._flags.last_token.text !== '=' && (this._f lags.last_token.type !== TOKEN.OPERATOR || this._flags.last_token.text === '--' || this._flags.last_token.text === '++')) {\n var next_token = this._tokens .peek();\n while (this._flags.mode === MODE.Statement &&\n !(this._f lags.if_block && reserved_word(next_token, 'else')) &&\n !this._flags.do_ block) {\n this.restore_mode();\n }\n }\n }\n\n if (this._outpu t.add_new_line(force_newline)) {\n this._flags.multiline_frame = true;\n }\n };\n\nBeautifier.prototype.print_token_line_indentation = function(current_token ) {\n if (this._output.just_added_newline()) {\n if (this._options.keep_arra y_indentation &&\n current_token.newlines &&\n (current_token.text === '[' || is_array(this._flags.mode))) {\n this._output.current_line.set_inde nt(-1);\n this._output.current_line.push(current_token.whitespace_before);\ n this._output.space_before_token = false;\n } else if (this._output.set _indent(this._flags.indentation_level, this._flags.alignment)) {\n this._fl ags.line_indent_level = this._flags.indentation_level;\n }\n }\n};\n\nBeauti fier.prototype.print_token = function(current_token) {\n if (this._output.raw) {\n this._output.add_raw_token(current_token);\n return;\n }\n\n if (thi s._options.comma_first && current_token.previous && current_token.previous.type === TOKEN.COMMA &&\n this._output.just_added_newline()) {\n if (this._outp ut.previous_line.last() === ',') {\n var popped = this._output.previous_lin e.pop();\n // if the comma was already at the start of the line,\n // pull back onto that line and reprint the indentation\n if (this._output.pre vious_line.is_empty()) {\n this._output.previous_line.push(popped);\n this._output.trim(true);\n this._output.current_line.pop();\n this._output.trim();\n }\n\n // add the comma in front of the next tok en\n this.print_token_line_indentation(current_token);\n this._output. add_token(',');\n this._output.space_before_token = true;\n }\n }\n\n this.print_token_line_indentation(current_token);\n this._output.non_breaking_s pace = true;\n this._output.add_token(current_token.text);\n if (this._output. previous_token_wrapped) {\n this._flags.multiline_frame = true;\n }\n};\n\nB eautifier.prototype.indent = function() {\n this._flags.indentation_level += 1; \n this._output.set_indent(this._flags.indentation_level, this._flags.alignment );\n};\n\nBeautifier.prototype.deindent = function() {\n if (this._flags.indent ation_level > 0 &&\n ((!this._flags.parent) || this._flags.indentation_level > this._flags.parent.indentation_level)) {\n this._flags.indentation_level -= 1;\n this._output.set_indent(this._flags.indentation_level, this._flags.alig nment);\n }\n};\n\nBeautifier.prototype.set_mode = function(mode) {\n if (this ._flags) {\n this._flag_store.push(this._flags);\n this._previous_flags = this._flags;\n } else {\n this._previous_flags = this.create_flags(null, mod e);\n }\n\n this._flags = this.create_flags(this._previous_flags, mode);\n th is._output.set_indent(this._flags.indentation_level, this._flags.alignment);\n}; \n\n\nBeautifier.prototype.restore_mode = function() {\n if (this._flag_store.l ength > 0) {\n this._previous_flags = this._flags;\n this._flags = this._f lag_store.pop();\n if (this._previous_flags.mode === MODE.Statement) {\n remove_redundant_indentation(this._output, this._previous_flags);\n }\n t his._output.set_indent(this._flags.indentation_level, this._flags.alignment);\n }\n};\n\nBeautifier.prototype.start_of_object_property = function() {\n return this._flags.parent.mode === MODE.ObjectLiteral && this._flags.mode === MODE.Sta tement && (\n (this._flags.last_token.text === ':' && this._flags.ternary_dep th === 0) || (reserved_array(this._flags.last_token, ['get', 'set'])));\n};\n\nB eautifier.prototype.start_of_statement = function(current_token) {\n var start = false;\n start = start || reserved_array(this._flags.last_token, ['var', 'let ', 'const']) && current_token.type === TOKEN.WORD;\n start = start || reserved_ word(this._flags.last_token, 'do');\n start = start || (!(this._flags.parent.mo de === MODE.ObjectLiteral && this._flags.mode === MODE.Statement)) && reserved_a rray(this._flags.last_token, newline_restricted_tokens) && !current_token.newlin es;\n start = start || reserved_word(this._flags.last_token, 'else') &&\n !( reserved_word(current_token, 'if') && !current_token.comments_before);\n start = start || (this._flags.last_token.type === TOKEN.END_EXPR && (this._previous_fl ags.mode === MODE.ForInitializer || this._previous_flags.mode === MODE.Condition al));\n start = start || (this._flags.last_token.type === TOKEN.WORD && this._f lags.mode === MODE.BlockStatement &&\n !this._flags.in_case &&\n !(current _token.text === '--' || current_token.text === '++') &&\n this._last_last_tex t !== 'function' &&\n current_token.type !== TOKEN.WORD && current_token.type !== TOKEN.RESERVED);\n start = start || (this._flags.mode === MODE.ObjectLiter al && (\n (this._flags.last_token.text === ':' && this._flags.ternary_depth = == 0) || reserved_array(this._flags.last_token, ['get', 'set'])));\n\n if (star t) {\n this.set_mode(MODE.Statement);\n this.indent();\n\n this.handle_ whitespace_and_comments(current_token, true);\n\n // Issue #276:\n // If s tarting a new statement with [if, for, while, do], push to a new line.\n // i f (a) if (b) if(c) d(); else e(); else f();\n if (!this.start_of_object_prope rty()) {\n this.allow_wrap_or_preserved_newline(current_token,\n res erved_array(current_token, ['do', 'for', 'if', 'while']));\n }\n return tr ue;\n }\n return false;\n};\n\nBeautifier.prototype.handle_start_expr = functi on(current_token) {\n // The conditional starts the statement if appropriate.\n if (!this.start_of_statement(current_token)) {\n this.handle_whitespace_and _comments(current_token);\n }\n\n var next_mode = MODE.Expression;\n if (curr ent_token.text === '[') {\n\n if (this._flags.last_token.type === TOKEN.WORD || this._flags.last_token.text === ')') {\n // this is array index specifie r, break immediately\n // a[x], fn()[x]\n if (reserved_array(this._fla gs.last_token, line_starters)) {\n this._output.space_before_token = true ;\n }\n this.print_token(current_token);\n this.set_mode(next_mod e);\n this.indent();\n if (this._options.space_in_paren) {\n th is._output.space_before_token = true;\n }\n return;\n }\n\n next _mode = MODE.ArrayLiteral;\n if (is_array(this._flags.mode)) {\n if (thi s._flags.last_token.text === '[' ||\n (this._flags.last_token.text === ', ' && (this._last_last_text === ']' || this._last_last_text === '}'))) {\n // ], [ goes to new line\n // }, [ goes to new line\n if (!this._ options.keep_array_indentation) {\n this.print_newline();\n }\n }\n }\n\n if (!in_array(this._flags.last_token.type, [TOKEN.START_EXP R, TOKEN.END_EXPR, TOKEN.WORD, TOKEN.OPERATOR, TOKEN.DOT])) {\n this._outpu t.space_before_token = true;\n }\n } else {\n if (this._flags.last_token. type === TOKEN.RESERVED) {\n if (this._flags.last_token.text === 'for') {\n this._output.space_before_token = this._options.space_before_conditional ;\n next_mode = MODE.ForInitializer;\n } else if (in_array(this._fla gs.last_token.text, ['if', 'while', 'switch'])) {\n this._output.space_be fore_token = this._options.space_before_conditional;\n next_mode = MODE.C onditional;\n } else if (in_array(this._flags.last_word, ['await', 'async'] )) {\n // Should be a space between await and an IIFE, or async and an ar row function\n this._output.space_before_token = true;\n } else if ( this._flags.last_token.text === 'import' && current_token.whitespace_before === '') {\n this._output.space_before_token = false;\n } else if (in_arr ay(this._flags.last_token.text, line_starters) || this._flags.last_token.text == = 'catch') {\n this._output.space_before_token = true;\n }\n } el se if (this._flags.last_token.type === TOKEN.EQUALS || this._flags.last_token.ty pe === TOKEN.OPERATOR) {\n // Support of this kind of newline preservation. \n // a = (b &&\n // (c || d));\n if (!this.start_of_object_p roperty()) {\n this.allow_wrap_or_preserved_newline(current_token);\n }\n } else if (this._flags.last_token.type === TOKEN.WORD) {\n this._o utput.space_before_token = false;\n\n // function name() vs function name ( )\n // function* name() vs function* name ()\n // async name() vs asyn c name ()\n // In ES6, you can also define the method properties of an obje ct\n // var obj = {a: function() {}}\n // It can be abbreviated\n // var obj = {a() {}}\n // var obj = { a() {}} vs var obj = { a () {}}\n // var obj = { * a() {}} vs var obj = { * a () {}}\n var peek_back_two = this._tokens.peek(-3);\n if (this._options.space_after_named_function && peek_back_two) {\n // peek starts at next character so -1 is current toke n\n var peek_back_three = this._tokens.peek(-4);\n if (reserved_ar ray(peek_back_two, ['async', 'function']) ||\n (peek_back_two.text === '*' && reserved_array(peek_back_three, ['async', 'function']))) {\n thi s._output.space_before_token = true;\n } else if (this._flags.mode === MO DE.ObjectLiteral) {\n if ((peek_back_two.text === '{' || peek_back_two. text === ',') ||\n (peek_back_two.text === '*' && (peek_back_three.te xt === '{' || peek_back_three.text === ','))) {\n this._output.space_ before_token = true;\n }\n } else if (this._flags.parent && this ._flags.parent.class_start_block) {\n this._output.space_before_token = true;\n }\n }\n } else {\n // Support preserving wrapped ar row function expressions\n // a.b('c',\n // () => d.e\n // )\ n this.allow_wrap_or_preserved_newline(current_token);\n }\n\n // fun ction() vs function ()\n // yield*() vs yield* ()\n // function*() vs func tion* ()\n if ((this._flags.last_token.type === TOKEN.RESERVED && (this._flag s.last_word === 'function' || this._flags.last_word === 'typeof')) ||\n (th is._flags.last_token.text === '*' &&\n (in_array(this._last_last_text, [' function', 'yield']) ||\n (this._flags.mode === MODE.ObjectLiteral && i n_array(this._last_last_text, ['{', ',']))))) {\n this._output.space_before _token = this._options.space_after_anon_function;\n }\n }\n\n if (this._fla gs.last_token.text === ';' || this._flags.last_token.type === TOKEN.START_BLOCK) {\n this.print_newline();\n } else if (this._flags.last_token.type === TOKE N.END_EXPR || this._flags.last_token.type === TOKEN.START_EXPR || this._flags.la st_token.type === TOKEN.END_BLOCK || this._flags.last_token.text === '.' || this ._flags.last_token.type === TOKEN.COMMA) {\n // do nothing on (( and )( and ] [ and ]( and .(\n // TODO: Consider whether forcing this is required. Review failing tests when removed.\n this.allow_wrap_or_preserved_newline(current_t oken, current_token.newlines);\n }\n\n this.print_token(current_token);\n thi s.set_mode(next_mode);\n if (this._options.space_in_paren) {\n this._output. space_before_token = true;\n }\n\n // In all cases, if we newline while inside an expression it should be indented.\n this.indent();\n};\n\nBeautifier.protot ype.handle_end_expr = function(current_token) {\n // statements inside expressi ons are not valid syntax, but...\n // statements must all be closed when their container closes\n while (this._flags.mode === MODE.Statement) {\n this.rest ore_mode();\n }\n\n this.handle_whitespace_and_comments(current_token);\n\n i f (this._flags.multiline_frame) {\n this.allow_wrap_or_preserved_newline(curr ent_token,\n current_token.text === ']' && is_array(this._flags.mode) && !t his._options.keep_array_indentation);\n }\n\n if (this._options.space_in_paren ) {\n if (this._flags.last_token.type === TOKEN.START_EXPR && !this._options. space_in_empty_paren) {\n // () [] no inner space in empty parens like thes e, ever, ref #320\n this._output.trim();\n this._output.space_before_t oken = false;\n } else {\n this._output.space_before_token = true;\n }\n }\n this.deindent();\n this.print_token(current_token);\n this.restore_m ode();\n\n remove_redundant_indentation(this._output, this._previous_flags);\n\ n // do {} while () // no statement required after\n if (this._flags.do_while && this._previous_flags.mode === MODE.Conditional) {\n this._previous_flags.m ode = MODE.Expression;\n this._flags.do_block = false;\n this._flags.do_wh ile = false;\n\n }\n};\n\nBeautifier.prototype.handle_start_block = function(cu rrent_token) {\n this.handle_whitespace_and_comments(current_token);\n\n // Ch eck if this is should be treated as a ObjectLiteral\n var next_token = this._to kens.peek();\n var second_token = this._tokens.peek(1);\n if (this._flags.last _word === 'switch' && this._flags.last_token.type === TOKEN.END_EXPR) {\n thi s.set_mode(MODE.BlockStatement);\n this._flags.in_case_statement = true;\n } else if (this._flags.case_body) {\n this.set_mode(MODE.BlockStatement);\n } else if (second_token && (\n (in_array(second_token.text, [':', ',']) && i n_array(next_token.type, [TOKEN.STRING, TOKEN.WORD, TOKEN.RESERVED])) ||\n (in_array(next_token.text, ['get', 'set', '...']) && in_array(second_token.type, [TOKEN.WORD, TOKEN.RESERVED]))\n )) {\n // We don't support TypeScript,bu t we didn't break it for a very long time.\n // We'll try to keep not breakin g it.\n if (in_array(this._last_last_text, ['class', 'interface']) && !in_arr ay(second_token.text, [':', ','])) {\n this.set_mode(MODE.BlockStatement);\ n } else {\n this.set_mode(MODE.ObjectLiteral);\n }\n } else if (thi s._flags.last_token.type === TOKEN.OPERATOR && this._flags.last_token.text === ' =>') {\n // arrow function: (param1, paramN) => { statements }\n this.set_ mode(MODE.BlockStatement);\n } else if (in_array(this._flags.last_token.type, [ TOKEN.EQUALS, TOKEN.START_EXPR, TOKEN.COMMA, TOKEN.OPERATOR]) ||\n reserved_a rray(this._flags.last_token, ['return', 'throw', 'import', 'default'])\n ) {\n // Detecting shorthand function syntax is difficult by scanning forward,\n // so check the surrounding context.\n // If the block is being returned , imported, export default, passed as arg,\n // assigned with = or assign ed in a nested object, treat as an ObjectLiteral.\n this.set_mode(MODE.Object Literal);\n } else {\n this.set_mode(MODE.BlockStatement);\n }\n\n if (thi s._flags.last_token) {\n if (reserved_array(this._flags.last_token.previous, ['class', 'extends'])) {\n this._flags.class_start_block = true;\n }\n }\n\n var empty_braces = !next_token.comments_before && next_token.text === '}' ;\n var empty_anonymous_function = empty_braces && this._flags.last_word === 'f unction' &&\n this._flags.last_token.type === TOKEN.END_EXPR;\n\n if (this._ options.brace_preserve_inline) // check for inline, set inline_frame if so\n {\ n // search forward for a newline wanted inside this block\n var index = 0 ;\n var check_token = null;\n this._flags.inline_frame = true;\n do {\n index += 1;\n check_token = this._tokens.peek(index - 1);\n if ( check_token.newlines) {\n this._flags.inline_frame = false;\n brea k;\n }\n } while (check_token.type !== TOKEN.EOF &&\n !(check_token .type === TOKEN.END_BLOCK && check_token.opened === current_token));\n }\n\n i f ((this._options.brace_style === \"expand\" ||\n (this._options.brace_styl e === \"none\" && current_token.newlines)) &&\n !this._flags.inline_frame) {\ n if (this._flags.last_token.type !== TOKEN.OPERATOR &&\n (empty_anonymo us_function ||\n this._flags.last_token.type === TOKEN.EQUALS ||\n (reserved_array(this._flags.last_token, special_words) && this._flags.last_toke n.text !== 'else'))) {\n this._output.space_before_token = true;\n } els e {\n this.print_newline(false, true);\n }\n } else { // collapse || in line_frame\n if (is_array(this._previous_flags.mode) && (this._flags.last_tok en.type === TOKEN.START_EXPR || this._flags.last_token.type === TOKEN.COMMA)) {\ n if (this._flags.last_token.type === TOKEN.COMMA || this._options.space_in _paren) {\n this._output.space_before_token = true;\n }\n\n if (this._flags.last_token.type === TOKEN.COMMA || (this._flags.last_token.type === TOKEN.START_EXPR && this._flags.inline_frame)) {\n this.allow_wrap_or_pr eserved_newline(current_token);\n this._previous_flags.multiline_frame = this._previous_flags.multiline_frame || this._flags.multiline_frame;\n th is._flags.multiline_frame = false;\n }\n }\n if (this._flags.last_tok en.type !== TOKEN.OPERATOR && this._flags.last_token.type !== TOKEN.START_EXPR) {\n if (this._flags.last_token.type === TOKEN.START_BLOCK && !this._flags.i nline_frame) {\n this.print_newline();\n } else {\n this._out put.space_before_token = true;\n }\n }\n }\n this.print_token(current_ token);\n this.indent();\n\n // Except for specific cases, open braces are fol lowed by a new line.\n if (!empty_braces && !(this._options.brace_preserve_inli ne && this._flags.inline_frame)) {\n this.print_newline();\n }\n};\n\nBeauti fier.prototype.handle_end_block = function(current_token) {\n // statements mus t all be closed when their container closes\n this.handle_whitespace_and_commen ts(current_token);\n\n while (this._flags.mode === MODE.Statement) {\n this. restore_mode();\n }\n\n var empty_braces = this._flags.last_token.type === TOK EN.START_BLOCK;\n\n if (this._flags.inline_frame && !empty_braces) { // try inl ine_frame (only set if this._options.braces-preserve-inline) first\n this._ou tput.space_before_token = true;\n } else if (this._options.brace_style === \"ex pand\") {\n if (!empty_braces) {\n this.print_newline();\n }\n } els e {\n // skip {}\n if (!empty_braces) {\n if (is_array(this._flags.mo de) && this._options.keep_array_indentation) {\n // we REALLY need a newl ine here, but newliner would skip that\n this._options.keep_array_indenta tion = false;\n this.print_newline();\n this._options.keep_array_i ndentation = true;\n\n } else {\n this.print_newline();\n }\n }\n }\n this.restore_mode();\n this.print_token(current_token);\n};\n\nBeau tifier.prototype.handle_word = function(current_token) {\n if (current_token.ty pe === TOKEN.RESERVED) {\n if (in_array(current_token.text, ['set', 'get']) & & this._flags.mode !== MODE.ObjectLiteral) {\n current_token.type = TOKEN.W ORD;\n } else if (current_token.text === 'import' && in_array(this._tokens.pe ek().text, ['(', '.'])) {\n current_token.type = TOKEN.WORD;\n } else if (in_array(current_token.text, ['as', 'from']) && !this._flags.import_block) {\n current_token.type = TOKEN.WORD;\n } else if (this._flags.mode === MODE .ObjectLiteral) {\n var next_token = this._tokens.peek();\n if (next_t oken.text === ':') {\n current_token.type = TOKEN.WORD;\n }\n }\n }\n\n if (this.start_of_statement(current_token)) {\n // The conditional s tarts the statement if appropriate.\n if (reserved_array(this._flags.last_tok en, ['var', 'let', 'const']) && current_token.type === TOKEN.WORD) {\n this ._flags.declaration_statement = true;\n }\n } else if (current_token.newline s && !is_expression(this._flags.mode) &&\n (this._flags.last_token.type !== T OKEN.OPERATOR || (this._flags.last_token.text === '--' || this._flags.last_token .text === '++')) &&\n this._flags.last_token.type !== TOKEN.EQUALS &&\n (t his._options.preserve_newlines || !reserved_array(this._flags.last_token, ['var' , 'let', 'const', 'set', 'get']))) {\n this.handle_whitespace_and_comments(cu rrent_token);\n this.print_newline();\n } else {\n this.handle_whitespace _and_comments(current_token);\n }\n\n if (this._flags.do_block && !this._flags .do_while) {\n if (reserved_word(current_token, 'while')) {\n // do {} # # while ()\n this._output.space_before_token = true;\n this.print_toke n(current_token);\n this._output.space_before_token = true;\n this._fl ags.do_while = true;\n return;\n } else {\n // do {} should always have while as the next word.\n // if we don't see the expected while, recov er\n this.print_newline();\n this._flags.do_block = false;\n }\n } \n\n // if may be followed by else, or not\n // Bare/inline ifs are tricky\n // Need to unwind the modes correctly: if (a) if (b) c(); else d(); else e();\n if (this._flags.if_block) {\n if (!this._flags.else_block && reserved_word(c urrent_token, 'else')) {\n this._flags.else_block = true;\n } else {\n while (this._flags.mode === MODE.Statement) {\n this.restore_mode();\ n }\n this._flags.if_block = false;\n this._flags.else_block = fa lse;\n }\n }\n\n if (this._flags.in_case_statement && reserved_array(curren t_token, ['case', 'default'])) {\n this.print_newline();\n if (!this._flag s.case_block && (this._flags.case_body || this._options.jslint_happy)) {\n // switch cases following one another\n this.deindent();\n }\n this._ flags.case_body = false;\n\n this.print_token(current_token);\n this._flag s.in_case = true;\n return;\n }\n\n if (this._flags.last_token.type === TOK EN.COMMA || this._flags.last_token.type === TOKEN.START_EXPR || this._flags.last _token.type === TOKEN.EQUALS || this._flags.last_token.type === TOKEN.OPERATOR) {\n if (!this.start_of_object_property()) {\n this.allow_wrap_or_preserv ed_newline(current_token);\n }\n }\n\n if (reserved_word(current_token, 'fu nction')) {\n if (in_array(this._flags.last_token.text, ['}', ';']) ||\n (this._output.just_added_newline() && !(in_array(this._flags.last_token.text, [ '(', '[', '{', ':', '=', ',']) || this._flags.last_token.type === TOKEN.OPERATOR ))) {\n // make sure there is a nice clean space of at least one blank line \n // before a new function definition\n if (!this._output.just_added_ blankline() && !current_token.comments_before) {\n this.print_newline();\ n this.print_newline(true);\n }\n }\n if (this._flags.last_tok en.type === TOKEN.RESERVED || this._flags.last_token.type === TOKEN.WORD) {\n if (reserved_array(this._flags.last_token, ['get', 'set', 'new', 'export']) | |\n reserved_array(this._flags.last_token, newline_restricted_tokens)) {\ n this._output.space_before_token = true;\n } else if (reserved_word (this._flags.last_token, 'default') && this._last_last_text === 'export') {\n this._output.space_before_token = true;\n } else if (this._flags.last_ token.text === 'declare') {\n // accomodates Typescript declare function formatting\n this._output.space_before_token = true;\n } else {\n this.print_newline();\n }\n } else if (this._flags.last_token.type === TOKEN.OPERATOR || this._flags.last_token.text === '=') {\n // foo = fun ction\n this._output.space_before_token = true;\n } else if (!this._flag s.multiline_frame && (is_expression(this._flags.mode) || is_array(this._flags.mo de))) {\n // (function\n } else {\n this.print_newline();\n }\n\ n this.print_token(current_token);\n this._flags.last_word = current_token .text;\n return;\n }\n\n var prefix = 'NONE';\n\n if (this._flags.last_tok en.type === TOKEN.END_BLOCK) {\n\n if (this._previous_flags.inline_frame) {\n prefix = 'SPACE';\n } else if (!reserved_array(current_token, ['else', 'catch', 'finally', 'from'])) {\n prefix = 'NEWLINE';\n } else {\n if (this._options.brace_style === \"expand\" ||\n this._options.brace_sty le === \"end-expand\" ||\n (this._options.brace_style === \"none\" && cur rent_token.newlines)) {\n prefix = 'NEWLINE';\n } else {\n pr efix = 'SPACE';\n this._output.space_before_token = true;\n }\n } \n } else if (this._flags.last_token.type === TOKEN.SEMICOLON && this._flags.mo de === MODE.BlockStatement) {\n // TODO: Should this be for STATEMENT as well ?\n prefix = 'NEWLINE';\n } else if (this._flags.last_token.type === TOKEN.S EMICOLON && is_expression(this._flags.mode)) {\n prefix = 'SPACE';\n } else if (this._flags.last_token.type === TOKEN.STRING) {\n prefix = 'NEWLINE';\n } else if (this._flags.last_token.type === TOKEN.RESERVED || this._flags.last_to ken.type === TOKEN.WORD ||\n (this._flags.last_token.text === '*' &&\n ( in_array(this._last_last_text, ['function', 'yield']) ||\n (this._flags.m ode === MODE.ObjectLiteral && in_array(this._last_last_text, ['{', ',']))))) {\n prefix = 'SPACE';\n } else if (this._flags.last_token.type === TOKEN.START_ BLOCK) {\n if (this._flags.inline_frame) {\n prefix = 'SPACE';\n } el se {\n prefix = 'NEWLINE';\n }\n } else if (this._flags.last_token.type === TOKEN.END_EXPR) {\n this._output.space_before_token = true;\n prefix = 'NEWLINE';\n }\n\n if (reserved_array(current_token, line_starters) && this. _flags.last_token.text !== ')') {\n if (this._flags.inline_frame || this._fla gs.last_token.text === 'else' || this._flags.last_token.text === 'export') {\n prefix = 'SPACE';\n } else {\n prefix = 'NEWLINE';\n }\n\n }\n\n if (reserved_array(current_token, ['else', 'catch', 'finally'])) {\n if ((! (this._flags.last_token.type === TOKEN.END_BLOCK && this._previous_flags.mode == = MODE.BlockStatement) ||\n this._options.brace_style === \"expand\" ||\n this._options.brace_style === \"end-expand\" ||\n (this._options. brace_style === \"none\" && current_token.newlines)) &&\n !this._flags.inli ne_frame) {\n this.print_newline();\n } else {\n this._output.trim( true);\n var line = this._output.current_line;\n // If we trimmed and there's something other than a close block before us\n // put a newline bac k in. Handles '} // comment' scenario.\n if (line.last() !== '}') {\n this.print_newline();\n }\n this._output.space_before_token = true; \n }\n } else if (prefix === 'NEWLINE') {\n if (reserved_array(this._flag s.last_token, special_words)) {\n // no newline between 'return nnn'\n this._output.space_before_token = true;\n } else if (this._flags.last_token. text === 'declare' && reserved_array(current_token, ['var', 'let', 'const'])) {\ n // accomodates Typescript declare formatting\n this._output.space_be fore_token = true;\n } else if (this._flags.last_token.type !== TOKEN.END_EXP R) {\n if ((this._flags.last_token.type !== TOKEN.START_EXPR || !reserved_a rray(current_token, ['var', 'let', 'const'])) && this._flags.last_token.text !== ':') {\n // no need to force newline on 'var': for (var x = 0...)\n if (reserved_word(current_token, 'if') && reserved_word(current_token.previou s, 'else')) {\n // no newline for } else if {\n this._output.s pace_before_token = true;\n } else {\n this.print_newline();\n }\n }\n } else if (reserved_array(current_token, line_starters) && this._flags.last_token.text !== ')') {\n this.print_newline();\n }\n } else if (this._flags.multiline_frame && is_array(this._flags.mode) && this._fla gs.last_token.text === ',' && this._last_last_text === '}') {\n this.print_ne wline(); // }, in lists get a newline treatment\n } else if (prefix === 'SPACE' ) {\n this._output.space_before_token = true;\n }\n if (current_token.previ ous && (current_token.previous.type === TOKEN.WORD || current_token.previous.typ e === TOKEN.RESERVED)) {\n this._output.space_before_token = true;\n }\n th is.print_token(current_token);\n this._flags.last_word = current_token.text;\n\ n if (current_token.type === TOKEN.RESERVED) {\n if (current_token.text === 'do') {\n this._flags.do_block = true;\n } else if (current_token.text = == 'if') {\n this._flags.if_block = true;\n } else if (current_token.tex t === 'import') {\n this._flags.import_block = true;\n } else if (this._ flags.import_block && reserved_word(current_token, 'from')) {\n this._flags .import_block = false;\n }\n }\n};\n\nBeautifier.prototype.handle_semicolon = function(current_token) {\n if (this.start_of_statement(current_token)) {\n // The conditional starts the statement if appropriate.\n // Semicolon can be the start (and end) of a statement\n this._output.space_before_token = fal se;\n } else {\n this.handle_whitespace_and_comments(current_token);\n }\n\ n var next_token = this._tokens.peek();\n while (this._flags.mode === MODE.Sta tement &&\n !(this._flags.if_block && reserved_word(next_token, 'else')) &&\n !this._flags.do_block) {\n this.restore_mode();\n }\n\n // hacky but ef fective for the moment\n if (this._flags.import_block) {\n this._flags.impor t_block = false;\n }\n this.print_token(current_token);\n};\n\nBeautifier.prot otype.handle_string = function(current_token) {\n if (current_token.text.starts With(\"`\") && current_token.newlines === 0 && current_token.whitespace_before = == '' && (current_token.previous.text === ')' || this._flags.last_token.type === TOKEN.WORD)) {\n //Conditional for detectign backtick strings\n } else if ( this.start_of_statement(current_token)) {\n // The conditional starts the sta tement if appropriate.\n // One difference - strings want at least a space be fore\n this._output.space_before_token = true;\n } else {\n this.handle_w hitespace_and_comments(current_token);\n if (this._flags.last_token.type === TOKEN.RESERVED || this._flags.last_token.type === TOKEN.WORD || this._flags.inli ne_frame) {\n this._output.space_before_token = true;\n } else if (this. _flags.last_token.type === TOKEN.COMMA || this._flags.last_token.type === TOKEN. START_EXPR || this._flags.last_token.type === TOKEN.EQUALS || this._flags.last_t oken.type === TOKEN.OPERATOR) {\n if (!this.start_of_object_property()) {\n this.allow_wrap_or_preserved_newline(current_token);\n }\n } els e if ((current_token.text.startsWith(\"`\") && this._flags.last_token.type === T OKEN.END_EXPR && (current_token.previous.text === ']' || current_token.previous. text === ')') && current_token.newlines === 0)) {\n this._output.space_befo re_token = true;\n } else {\n this.print_newline();\n }\n }\n this. print_token(current_token);\n};\n\nBeautifier.prototype.handle_equals = function (current_token) {\n if (this.start_of_statement(current_token)) {\n // The c onditional starts the statement if appropriate.\n } else {\n this.handle_whi tespace_and_comments(current_token);\n }\n\n if (this._flags.declaration_state ment) {\n // just got an '=' in a var-line, different formatting/line-breakin g, etc will now be done\n this._flags.declaration_assignment = true;\n }\n this._output.space_before_token = true;\n this.print_token(current_token);\n t his._output.space_before_token = true;\n};\n\nBeautifier.prototype.handle_comma = function(current_token) {\n this.handle_whitespace_and_comments(current_token , true);\n\n this.print_token(current_token);\n this._output.space_before_toke n = true;\n if (this._flags.declaration_statement) {\n if (is_expression(thi s._flags.parent.mode)) {\n // do not break on comma, for(var a = 1, b = 2)\ n this._flags.declaration_assignment = false;\n }\n\n if (this._flags .declaration_assignment) {\n this._flags.declaration_assignment = false;\n this.print_newline(false, true);\n } else if (this._options.comma_first) {\n // for comma-first, we want to allow a newline before the comma\n // to turn into a newline after the comma, which we will fixup later\n thi s.allow_wrap_or_preserved_newline(current_token);\n }\n } else if (this._fla gs.mode === MODE.ObjectLiteral ||\n (this._flags.mode === MODE.Statement && t his._flags.parent.mode === MODE.ObjectLiteral)) {\n if (this._flags.mode === MODE.Statement) {\n this.restore_mode();\n }\n\n if (!this._flags.inl ine_frame) {\n this.print_newline();\n }\n } else if (this._options.com ma_first) {\n // EXPR or DO_BLOCK\n // for comma-first, we want to allow a newline before the comma\n // to turn into a newline after the comma, which we will fixup later\n this.allow_wrap_or_preserved_newline(current_token);\n }\n};\n\nBeautifier.prototype.handle_operator = function(current_token) {\n va r isGeneratorAsterisk = current_token.text === '*' &&\n (reserved_array(this. _flags.last_token, ['function', 'yield']) ||\n (in_array(this._flags.last_t oken.type, [TOKEN.START_BLOCK, TOKEN.COMMA, TOKEN.END_BLOCK, TOKEN.SEMICOLON]))\ n );\n var isUnary = in_array(current_token.text, ['-', '+']) && (\n in_a rray(this._flags.last_token.type, [TOKEN.START_BLOCK, TOKEN.START_EXPR, TOKEN.EQ UALS, TOKEN.OPERATOR]) ||\n in_array(this._flags.last_token.text, line_starte rs) ||\n this._flags.last_token.text === ','\n );\n\n if (this.start_of_sta tement(current_token)) {\n // The conditional starts the statement if appropr iate.\n } else {\n var preserve_statement_flags = !isGeneratorAsterisk;\n this.handle_whitespace_and_comments(current_token, preserve_statement_flags);\n }\n\n // hack for actionscript's import .*;\n if (current_token.text === '*' && this._flags.last_token.type === TOKEN.DOT) {\n this.print_token(current_t oken);\n return;\n }\n\n if (current_token.text === '::') {\n // no spac es around exotic namespacing syntax operator\n this.print_token(current_token );\n return;\n }\n\n // Allow line wrapping between operators when operator _position is\n // set to before or preserve\n if (this._flags.last_token.typ e === TOKEN.OPERATOR && in_array(this._options.operator_position, OPERATOR_POSIT ION_BEFORE_OR_PRESERVE)) {\n this.allow_wrap_or_preserved_newline(current_tok en);\n }\n\n if (current_token.text === ':' && this._flags.in_case) {\n thi s.print_token(current_token);\n\n this._flags.in_case = false;\n this._fla gs.case_body = true;\n if (this._tokens.peek().type !== TOKEN.START_BLOCK) {\ n this.indent();\n this.print_newline();\n this._flags.case_block = false;\n } else {\n this._flags.case_block = true;\n this._outpu t.space_before_token = true;\n }\n return;\n }\n\n var space_before = tr ue;\n var space_after = true;\n var in_ternary = false;\n if (current_token.t ext === ':') {\n if (this._flags.ternary_depth === 0) {\n // Colon is in valid javascript outside of ternary and object, but do our best to guess what wa s meant.\n space_before = false;\n } else {\n this._flags.ternary_d epth -= 1;\n in_ternary = true;\n }\n } else if (current_token.text === '?') {\n this._flags.ternary_depth += 1;\n }\n\n // let's handle the opera tor_position option prior to any conflicting logic\n if (!isUnary && !isGenerat orAsterisk && this._options.preserve_newlines && in_array(current_token.text, po sitionable_operators)) {\n var isColon = current_token.text === ':';\n var isTernaryColon = (isColon && in_ternary);\n var isOtherColon = (isColon && ! in_ternary);\n\n switch (this._options.operator_position) {\n case OPERA TOR_POSITION.before_newline:\n // if the current token is : and it's not a ternary statement then we set space_before to false\n this._output.spac e_before_token = !isOtherColon;\n\n this.print_token(current_token);\n\n if (!isColon || isTernaryColon) {\n this.allow_wrap_or_preserved _newline(current_token);\n }\n\n this._output.space_before_token = true;\n return;\n\n case OPERATOR_POSITION.after_newline:\n // if the current token is anything but colon, or (via deduction) it's a colon a nd in a ternary statement,\n // then print a newline.\n\n this._ output.space_before_token = true;\n\n if (!isColon || isTernaryColon) {\n if (this._tokens.peek().newlines) {\n this.print_newline(fa lse, true);\n } else {\n this.allow_wrap_or_preserved_newlin e(current_token);\n }\n } else {\n this._output.space_b efore_token = false;\n }\n\n this.print_token(current_token);\n\n this._output.space_before_token = true;\n return;\n\n case OP ERATOR_POSITION.preserve_newline:\n if (!isOtherColon) {\n this. allow_wrap_or_preserved_newline(current_token);\n }\n\n // if we j ust added a newline, or the current token is : and it's not a ternary statement, \n // then we set space_before to false\n space_before = !(this. _output.just_added_newline() || isOtherColon);\n\n this._output.space_bef ore_token = space_before;\n this.print_token(current_token);\n thi s._output.space_before_token = true;\n return;\n }\n }\n\n if (isGen eratorAsterisk) {\n this.allow_wrap_or_preserved_newline(current_token);\n space_before = false;\n var next_token = this._tokens.peek();\n space_aft er = next_token && in_array(next_token.type, [TOKEN.WORD, TOKEN.RESERVED]);\n } else if (current_token.text === '...') {\n this.allow_wrap_or_preserved_newl ine(current_token);\n space_before = this._flags.last_token.type === TOKEN.ST ART_BLOCK;\n space_after = false;\n } else if (in_array(current_token.text, ['--', '++', '!', '~']) || isUnary) {\n // unary operators (and binary +/- pr etending to be unary) special cases\n if (this._flags.last_token.type === TOK EN.COMMA || this._flags.last_token.type === TOKEN.START_EXPR) {\n this.allo w_wrap_or_preserved_newline(current_token);\n }\n\n space_before = false;\ n space_after = false;\n\n // http://www.ecma-international.org/ecma-262/5 .1/#sec-7.9.1\n // if there is a newline between -- or ++ and anything else w e should preserve it.\n if (current_token.newlines && (current_token.text === '--' || current_token.text === '++' || current_token.text === '~')) {\n va r new_line_needed = reserved_array(this._flags.last_token, special_words) && cur rent_token.newlines;\n if (new_line_needed && (this._previous_flags.if_bloc k || this._previous_flags.else_block)) {\n this.restore_mode();\n }\ n this.print_newline(new_line_needed, true);\n }\n\n if (this._flags. last_token.text === ';' && is_expression(this._flags.mode)) {\n // for (;; ++i)\n // ^^^\n space_before = true;\n }\n\n if (this._fl ags.last_token.type === TOKEN.RESERVED) {\n space_before = true;\n } els e if (this._flags.last_token.type === TOKEN.END_EXPR) {\n space_before = !( this._flags.last_token.text === ']' && (current_token.text === '--' || current_t oken.text === '++'));\n } else if (this._flags.last_token.type === TOKEN.OPER ATOR) {\n // a++ + ++b;\n // a - -b\n space_before = in_array(cur rent_token.text, ['--', '-', '++', '+']) && in_array(this._flags.last_token.text , ['--', '-', '++', '+']);\n // + and - are not unary when preceeded by -- or ++ operator\n // a-- + b\n // a * +b\n // a - -b\n if (in _array(current_token.text, ['+', '-']) && in_array(this._flags.last_token.text, ['--', '++'])) {\n space_after = true;\n }\n }\n\n\n if (((thi s._flags.mode === MODE.BlockStatement && !this._flags.inline_frame) || this._fla gs.mode === MODE.Statement) &&\n (this._flags.last_token.text === '{' || th is._flags.last_token.text === ';')) {\n // { foo; --i }\n // foo(); -- bar;\n this.print_newline();\n }\n }\n\n this._output.space_before_tok en = this._output.space_before_token || space_before;\n this.print_token(curren t_token);\n this._output.space_before_token = space_after;\n};\n\nBeautifier.pr ototype.handle_block_comment = function(current_token, preserve_statement_flags) {\n if (this._output.raw) {\n this._output.add_raw_token(current_token);\n if (current_token.directives && current_token.directives.preserve === 'end') {\n // If we're testing the raw output behavior, do not allow a directive t o turn it off.\n this._output.raw = this._options.test_output_raw;\n }\n return;\n }\n\n if (current_token.directives) {\n this.print_newline(fa lse, preserve_statement_flags);\n this.print_token(current_token);\n if (c urrent_token.directives.preserve === 'start') {\n this._output.raw = true;\ n }\n this.print_newline(false, true);\n return;\n }\n\n // inline bl ock\n if (!acorn.newline.test(current_token.text) && !current_token.newlines) { \n this._output.space_before_token = true;\n this.print_token(current_toke n);\n this._output.space_before_token = true;\n return;\n } else {\n t his.print_block_commment(current_token, preserve_statement_flags);\n }\n};\n\nB eautifier.prototype.print_block_commment = function(current_token, preserve_stat ement_flags) {\n var lines = split_linebreaks(current_token.text);\n var j; // iterator for this case\n var javadoc = false;\n var starless = false;\n var lastIndent = current_token.whitespace_before;\n var lastIndentLength = lastInde nt.length;\n\n // block comment starts with a new line\n this.print_newline(fa lse, preserve_statement_flags);\n\n // first line always indented\n this.print _token_line_indentation(current_token);\n this._output.add_token(lines[0]);\n this.print_newline(false, preserve_statement_flags);\n\n\n if (lines.length > 1 ) {\n lines = lines.slice(1);\n javadoc = all_lines_start_with(lines, '*') ;\n starless = each_line_matches_indent(lines, lastIndent);\n\n if (javado c) {\n this._flags.alignment = 1;\n }\n\n for (j = 0; j < lines.lengt h; j++) {\n if (javadoc) {\n // javadoc: reformat and re-indent\n this.print_token_line_indentation(current_token);\n this._output.add _token(ltrim(lines[j]));\n } else if (starless && lines[j]) {\n // s tarless: re-indent non-empty content, avoiding trim\n this.print_token_li ne_indentation(current_token);\n this._output.add_token(lines[j].substrin g(lastIndentLength));\n } else {\n // normal comments output raw\n this._output.current_line.set_indent(-1);\n this._output.add_token( lines[j]);\n }\n\n // for comments on their own line or more than one line, make sure there's a new line after\n this.print_newline(false, prese rve_statement_flags);\n }\n\n this._flags.alignment = 0;\n }\n};\n\n\nBea utifier.prototype.handle_comment = function(current_token, preserve_statement_fl ags) {\n if (current_token.newlines) {\n this.print_newline(false, preserve_ statement_flags);\n } else {\n this._output.trim(true);\n }\n\n this._outp ut.space_before_token = true;\n this.print_token(current_token);\n this.print_ newline(false, preserve_statement_flags);\n};\n\nBeautifier.prototype.handle_dot = function(current_token) {\n if (this.start_of_statement(current_token)) {\n // The conditional starts the statement if appropriate.\n } else {\n this .handle_whitespace_and_comments(current_token, true);\n }\n\n if (this._flags. last_token.text.match('^[0-9]+$')) {\n this._output.space_before_token = true ;\n }\n\n if (reserved_array(this._flags.last_token, special_words)) {\n th is._output.space_before_token = false;\n } else {\n // allow preserved newli nes before dots in general\n // force newlines on dots after close paren when break_chained - for bar().baz()\n this.allow_wrap_or_preserved_newline(curre nt_token,\n this._flags.last_token.text === ')' && this._options.break_chai ned_methods);\n }\n\n // Only unindent chained method dot if this dot starts a new line.\n // Otherwise the automatic extra indentation removal will handle t he over indent\n if (this._options.unindent_chained_methods && this._output.jus t_added_newline()) {\n this.deindent();\n }\n\n this.print_token(current_to ken);\n};\n\nBeautifier.prototype.handle_unknown = function(current_token, prese rve_statement_flags) {\n this.print_token(current_token);\n\n if (current_toke n.text[current_token.text.length - 1] === '\\n') {\n this.print_newline(false , preserve_statement_flags);\n }\n};\n\nBeautifier.prototype.handle_eof = funct ion(current_token) {\n // Unwind any open statements\n while (this._flags.mode === MODE.Statement) {\n this.restore_mode();\n }\n this.handle_whitespace_ and_comments(current_token);\n};\n\nmodule.exports.Beautifier = Beautifier;\n"," /*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-201 8 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby gran ted, free of charge, to any person\n obtaining a copy of this software and asso ciated documentation files\n (the \"Software\"), to deal in the Software withou t restriction,\n including without limitation the rights to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject t o the following conditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Softwar e.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXP RESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILI TY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL T HE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIA BILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OU T OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar Beautifier = require('./beautifier').Bea utifier,\n Options = require('./options').Options;\n\nfunction js_beautify(js_s ource_text, options) {\n var beautifier = new Beautifier(js_source_text, option s);\n return beautifier.beautify();\n}\n\nmodule.exports = js_beautify;\nmodule .exports.defaultOptions = function() {\n return new Options();\n};\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, fre e of charge, to any person\n obtaining a copy of this software and associated d ocumentation files\n (the \"Software\"), to deal in the Software without restri ction,\n including without limitation the rights to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject to the fo llowing conditions:\n\n The above copyright notice and this permission notice s hall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITN ESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHO RS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWA RE.\n*/\n\n'use strict';\n\nvar BaseOptions = require('../core/options').Options ;\n\nvar validPositionValues = ['before-newline', 'after-newline', 'preserve-new line'];\n\nfunction Options(options) {\n BaseOptions.call(this, options, 'js'); \n\n // compatibility, re\n var raw_brace_style = this.raw_options.brace_style || null;\n if (raw_brace_style === \"expand-strict\") { //graceful handling of deprecated option\n this.raw_options.brace_style = \"expand\";\n } else if (raw_brace_style === \"collapse-preserve-inline\") { //graceful handling of depr ecated option\n this.raw_options.brace_style = \"collapse,preserve-inline\";\ n } else if (this.raw_options.braces_on_own_line !== undefined) { //graceful ha ndling of deprecated option\n this.raw_options.brace_style = this.raw_options .braces_on_own_line ? \"expand\" : \"collapse\";\n // } else if (!raw_brace_s tyle) { //Nothing exists to set it\n // raw_brace_style = \"collapse\";\n }\n\n //preserve-inline in delimited string will trigger brace_preserve_inline, everything\n //else is considered a brace_style and the last one only will hav e an effect\n\n var brace_style_split = this._get_selection_list('brace_style', ['collapse', 'expand', 'end-expand', 'none', 'preserve-inline']);\n\n this.bra ce_preserve_inline = false; //Defaults in case one or other was not specified in meta-option\n this.brace_style = \"collapse\";\n\n for (var bs = 0; bs < brac e_style_split.length; bs++) {\n if (brace_style_split[bs] === \"preserve-inli ne\") {\n this.brace_preserve_inline = true;\n } else {\n this.brac e_style = brace_style_split[bs];\n }\n }\n\n this.unindent_chained_methods = this._get_boolean('unindent_chained_methods');\n this.break_chained_methods = this._get_boolean('break_chained_methods');\n this.space_in_paren = this._get_ boolean('space_in_paren');\n this.space_in_empty_paren = this._get_boolean('spa ce_in_empty_paren');\n this.jslint_happy = this._get_boolean('jslint_happy');\n this.space_after_anon_function = this._get_boolean('space_after_anon_function' );\n this.space_after_named_function = this._get_boolean('space_after_named_fun ction');\n this.keep_array_indentation = this._get_boolean('keep_array_indentat ion');\n this.space_before_conditional = this._get_boolean('space_before_condit ional', true);\n this.unescape_strings = this._get_boolean('unescape_strings'); \n this.e4x = this._get_boolean('e4x');\n this.comma_first = this._get_boolean ('comma_first');\n this.operator_position = this._get_selection('operator_posit ion', validPositionValues);\n\n // For testing of beautify preserve:start direc tive\n this.test_output_raw = this._get_boolean('test_output_raw');\n\n // for ce this._options.space_after_anon_function to true if this._options.jslint_happy \n if (this.jslint_happy) {\n this.space_after_anon_function = true;\n }\n\ n}\nOptions.prototype = new BaseOptions();\n\n\n\nmodule.exports.Options = Optio ns;\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is her eby granted, free of charge, to any person\n obtaining a copy of this software and associated documentation files\n (the \"Software\"), to deal in the Softwar e without restriction,\n including without limitation the rights to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Sof tware,\n and to permit persons to whom the Software is furnished to do so,\n s ubject to the following conditions:\n\n The above copyright notice and this per mission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND ,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCH ANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR O THER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar InputScanner = require('../core/ inputscanner').InputScanner;\nvar BaseTokenizer = require('../core/tokenizer').T okenizer;\nvar BASETOKEN = require('../core/tokenizer').TOKEN;\nvar Directives = require('../core/directives').Directives;\nvar acorn = require('./acorn');\nvar Pattern = require('../core/pattern').Pattern;\nvar TemplatablePattern = require ('../core/templatablepattern').TemplatablePattern;\n\n\nfunction in_array(what, arr) {\n return arr.indexOf(what) !== -1;\n}\n\n\nvar TOKEN = {\n START_EXPR: 'TK_START_EXPR',\n END_EXPR: 'TK_END_EXPR',\n START_BLOCK: 'TK_START_BLOCK',\n END_BLOCK: 'TK_END_BLOCK',\n WORD: 'TK_WORD',\n RESERVED: 'TK_RESERVED',\n SEMICOLON: 'TK_SEMICOLON',\n STRING: 'TK_STRING',\n EQUALS: 'TK_EQUALS',\n OP ERATOR: 'TK_OPERATOR',\n COMMA: 'TK_COMMA',\n BLOCK_COMMENT: 'TK_BLOCK_COMMENT ',\n COMMENT: 'TK_COMMENT',\n DOT: 'TK_DOT',\n UNKNOWN: 'TK_UNKNOWN',\n STAR T: BASETOKEN.START,\n RAW: BASETOKEN.RAW,\n EOF: BASETOKEN.EOF\n};\n\n\nvar di rectives_core = new Directives(/\\/\\*/, /\\*\\//);\n\nvar number_pattern = /0[x X][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\\d[\\d_]*n|(?: \\.\\d[\\d_]*|\\d[\\d_]*\\.?[\\d_]*)(?:[eE][+-]?[\\d_]+)?/;\n\nvar digit = /[0-9 ]/;\n\n// Dot \".\" must be distinguished from \"...\" and decimal\nvar dot_patt ern = /[^\\d\\.]/;\n\nvar positionable_operators = (\n \">>> === !== &&= ??= || = \" +\n \"<< && >= ** != == <= >> || ?? |> \" +\n \"< / - + > : & % ? ^ | *\" ).split(' ');\n\n// IMPORTANT: this must be sorted longest to shortest or tokeni zing many not work.\n// Also, you must update possitionable operators separately from punct\nvar punct =\n \">>>= \" +\n \"... >>= <<= === >>> !== **= &&= ??= ||= \" +\n \"=> ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> \" +\n \"= ! ? > < : / ^ - + * & % ~ |\";\n\npunct = punct.replace(/[-[\\]{ }()*+?.,\\\\^$|#]/g, \"\\\\$&\");\n// ?. but not if followed by a number \npunct = '\\\\?\\\\.(?!\\\\d) ' + punct;\npunct = punct.replace(/ /g, '|');\n\nvar pun ct_pattern = new RegExp(punct);\n\n// words which should always start on new lin e.\nvar line_starters = 'continue,try,throw,return,var,let,const,if,switch,case, default,for,while,break,function,import,export'.split(',');\nvar reserved_words = line_starters.concat(['do', 'in', 'of', 'else', 'get', 'set', 'new', 'catch', 'finally', 'typeof', 'yield', 'async', 'await', 'from', 'as', 'class', 'extends' ]);\nvar reserved_word_pattern = new RegExp('^(?:' + reserved_words.join('|') + ')$');\n\n// var template_pattern = /(?:(?:<\\?php|<\\?=)[\\s\\S]*?\\?>)|(?:<%[\ \s\\S]*?%>)/g;\n\nvar in_html_comment;\n\nvar Tokenizer = function(input_string, options) {\n BaseTokenizer.call(this, input_string, options);\n\n this._patte rns.whitespace = this._patterns.whitespace.matching(\n /\\u00A0\\u1680\\u180e \\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff/.source,\n /\\u2028\\u2029/.sourc e);\n\n var pattern_reader = new Pattern(this._input);\n var templatable = new TemplatablePattern(this._input)\n .read_options(this._options);\n\n this.__ patterns = {\n template: templatable,\n identifier: templatable.starting_w ith(acorn.identifier).matching(acorn.identifierMatch),\n number: pattern_read er.matching(number_pattern),\n punct: pattern_reader.matching(punct_pattern), \n // comment ends just before nearest linefeed or end of file\n comment: pattern_reader.starting_with(/\\/\\//).until(/[\\n\\r\\u2028\\u2029]/),\n // /* ... */ comment ends with nearest */ or end of file\n block_comment: patte rn_reader.starting_with(/\\/\\*/).until_after(/\\*\\//),\n html_comment_start : pattern_reader.matching(/<!--/),\n html_comment_end: pattern_reader.matchin g(/-->/),\n include: pattern_reader.starting_with(/#include/).until_after(aco rn.lineBreak),\n shebang: pattern_reader.starting_with(/#!/).until_after(acor n.lineBreak),\n xml: pattern_reader.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*>/),\n single_quote: templatable.until(/['\\\\\\n\\r\\u2028\\u2029]/),\n double_quote: templatable.until(/[\"\\\\\\n\\r\\u2028\\u2029]/),\n template_ text: templatable.until(/[`\\\\$]/),\n template_expression: templatable.until (/[`}\\\\]/)\n };\n\n};\nTokenizer.prototype = new BaseTokenizer();\n\nTokenize r.prototype._is_comment = function(current_token) {\n return current_token.type === TOKEN.COMMENT || current_token.type === TOKEN.BLOCK_COMMENT || current_toke n.type === TOKEN.UNKNOWN;\n};\n\nTokenizer.prototype._is_opening = function(curr ent_token) {\n return current_token.type === TOKEN.START_BLOCK || current_token .type === TOKEN.START_EXPR;\n};\n\nTokenizer.prototype._is_closing = function(cu rrent_token, open_token) {\n return (current_token.type === TOKEN.END_BLOCK || current_token.type === TOKEN.END_EXPR) &&\n (open_token && (\n (current_ token.text === ']' && open_token.text === '[') ||\n (current_token.text === ')' && open_token.text === '(') ||\n (current_token.text === '}' && open_t oken.text === '{')));\n};\n\nTokenizer.prototype._reset = function() {\n in_htm l_comment = false;\n};\n\nTokenizer.prototype._get_next_token = function(previou s_token, open_token) { // jshint unused:false\n var token = null;\n this._read Whitespace();\n var c = this._input.peek();\n\n if (c === null) {\n return this._create_token(TOKEN.EOF, '');\n }\n\n token = token || this._read_non_jav ascript(c);\n token = token || this._read_string(c);\n token = token || this._ read_word(previous_token);\n token = token || this._read_singles(c);\n token = token || this._read_comment(c);\n token = token || this._read_regexp(c, previo us_token);\n token = token || this._read_xml(c, previous_token);\n token = tok en || this._read_punctuation();\n token = token || this._create_token(TOKEN.UNK NOWN, this._input.next());\n\n return token;\n};\n\nTokenizer.prototype._read_w ord = function(previous_token) {\n var resulting_string;\n resulting_string = this.__patterns.identifier.read();\n if (resulting_string !== '') {\n result ing_string = resulting_string.replace(acorn.allLineBreaks, '\\n');\n if (!(pr evious_token.type === TOKEN.DOT ||\n (previous_token.type === TOKEN.RESER VED && (previous_token.text === 'set' || previous_token.text === 'get'))) &&\n reserved_word_pattern.test(resulting_string)) {\n if ((resulting_string === 'in' || resulting_string === 'of') &&\n (previous_token.type === TOK EN.WORD || previous_token.type === TOKEN.STRING)) { // hack for 'in' and 'of' op erators\n return this._create_token(TOKEN.OPERATOR, resulting_string);\n }\n return this._create_token(TOKEN.RESERVED, resulting_string);\n }\n return this._create_token(TOKEN.WORD, resulting_string);\n }\n\n result ing_string = this.__patterns.number.read();\n if (resulting_string !== '') {\n return this._create_token(TOKEN.WORD, resulting_string);\n }\n};\n\nTokenize r.prototype._read_singles = function(c) {\n var token = null;\n if (c === '(' || c === '[') {\n token = this._create_token(TOKEN.START_EXPR, c);\n } else if (c === ')' || c === ']') {\n token = this._create_token(TOKEN.END_EXPR, c) ;\n } else if (c === '{') {\n token = this._create_token(TOKEN.START_BLOCK, c);\n } else if (c === '}') {\n token = this._create_token(TOKEN.END_BLOCK, c);\n } else if (c === ';') {\n token = this._create_token(TOKEN.SEMICOLON, c);\n } else if (c === '.' && dot_pattern.test(this._input.peek(1))) {\n tok en = this._create_token(TOKEN.DOT, c);\n } else if (c === ',') {\n token = t his._create_token(TOKEN.COMMA, c);\n }\n\n if (token) {\n this._input.next( );\n }\n return token;\n};\n\nTokenizer.prototype._read_punctuation = function () {\n var resulting_string = this.__patterns.punct.read();\n\n if (resulting_ string !== '') {\n if (resulting_string === '=') {\n return this._create _token(TOKEN.EQUALS, resulting_string);\n } else if (resulting_string === '?. ') {\n return this._create_token(TOKEN.DOT, resulting_string);\n } else {\n return this._create_token(TOKEN.OPERATOR, resulting_string);\n }\n }\n};\n\nTokenizer.prototype._read_non_javascript = function(c) {\n var resulti ng_string = '';\n\n if (c === '#') {\n if (this._is_first_token()) {\n resulting_string = this.__patterns.shebang.read();\n\n if (resulting_string ) {\n return this._create_token(TOKEN.UNKNOWN, resulting_string.trim() + '\\n');\n }\n }\n\n // handles extendscript #includes\n resulting_ string = this.__patterns.include.read();\n\n if (resulting_string) {\n r eturn this._create_token(TOKEN.UNKNOWN, resulting_string.trim() + '\\n');\n } \n\n c = this._input.next();\n\n // Spidermonkey-specific sharp variables for circular references. Considered obsolete.\n var sharp = '#';\n if (thi s._input.hasNext() && this._input.testChar(digit)) {\n do {\n c = th is._input.next();\n sharp += c;\n } while (this._input.hasNext() && c !== '#' && c !== '=');\n if (c === '#') {\n //\n } else if (t his._input.peek() === '[' && this._input.peek(1) === ']') {\n sharp += '[ ]';\n this._input.next();\n this._input.next();\n } else if ( this._input.peek() === '{' && this._input.peek(1) === '}') {\n sharp += ' {}';\n this._input.next();\n this._input.next();\n }\n r eturn this._create_token(TOKEN.WORD, sharp);\n }\n\n this._input.back();\n \n } else if (c === '<' && this._is_first_token()) {\n resulting_string = th is.__patterns.html_comment_start.read();\n if (resulting_string) {\n whi le (this._input.hasNext() && !this._input.testChar(acorn.newline)) {\n re sulting_string += this._input.next();\n }\n in_html_comment = true;\n return this._create_token(TOKEN.COMMENT, resulting_string);\n }\n } els e if (in_html_comment && c === '-') {\n resulting_string = this.__patterns.ht ml_comment_end.read();\n if (resulting_string) {\n in_html_comment = fal se;\n return this._create_token(TOKEN.COMMENT, resulting_string);\n }\n }\n\n return null;\n};\n\nTokenizer.prototype._read_comment = function(c) {\n var token = null;\n if (c === '/') {\n var comment = '';\n if (this._inp ut.peek(1) === '*') {\n // peek for comment /* ... */\n comment = this .__patterns.block_comment.read();\n var directives = directives_core.get_di rectives(comment);\n if (directives && directives.ignore === 'start') {\n comment += directives_core.readIgnored(this._input);\n }\n comme nt = comment.replace(acorn.allLineBreaks, '\\n');\n token = this._create_to ken(TOKEN.BLOCK_COMMENT, comment);\n token.directives = directives;\n } else if (this._input.peek(1) === '/') {\n // peek for comment // ...\n comment = this.__patterns.comment.read();\n token = this._create_token(TOK EN.COMMENT, comment);\n }\n }\n return token;\n};\n\nTokenizer.prototype._r ead_string = function(c) {\n if (c === '`' || c === \"'\" || c === '\"') {\n var resulting_string = this._input.next();\n this.has_char_escapes = false;\ n\n if (c === '`') {\n resulting_string += this._read_string_recursive(' `', true, '${');\n } else {\n resulting_string += this._read_string_recu rsive(c);\n }\n\n if (this.has_char_escapes && this._options.unescape_stri ngs) {\n resulting_string = unescape_string(resulting_string);\n }\n\n if (this._input.peek() === c) {\n resulting_string += this._input.next(); \n }\n\n resulting_string = resulting_string.replace(acorn.allLineBreaks, '\\n');\n\n return this._create_token(TOKEN.STRING, resulting_string);\n }\n \n return null;\n};\n\nTokenizer.prototype._allow_regexp_or_xml = function(prev ious_token) {\n // regex and xml can only appear in specific locations during p arsing\n return (previous_token.type === TOKEN.RESERVED && in_array(previous_to ken.text, ['return', 'case', 'throw', 'else', 'do', 'typeof', 'yield'])) ||\n (previous_token.type === TOKEN.END_EXPR && previous_token.text === ')' &&\n previous_token.opened.previous.type === TOKEN.RESERVED && in_array(previous_to ken.opened.previous.text, ['if', 'while', 'for'])) ||\n (in_array(previous_to ken.type, [TOKEN.COMMENT, TOKEN.START_EXPR, TOKEN.START_BLOCK, TOKEN.START,\n TOKEN.END_BLOCK, TOKEN.OPERATOR, TOKEN.EQUALS, TOKEN.EOF, TOKEN.SEMICOLON, TO KEN.COMMA\n ]));\n};\n\nTokenizer.prototype._read_regexp = function(c, previo us_token) {\n\n if (c === '/' && this._allow_regexp_or_xml(previous_token)) {\n // handle regexp\n //\n var resulting_string = this._input.next();\n var esc = false;\n\n var in_char_class = false;\n while (this._input.has Next() &&\n ((esc || in_char_class || this._input.peek() !== c) &&\n !this._input.testChar(acorn.newline))) {\n resulting_string += this._input .peek();\n if (!esc) {\n esc = this._input.peek() === '\\\\';\n if (this._input.peek() === '[') {\n in_char_class = true;\n } else if (this._input.peek() === ']') {\n in_char_class = false;\n }\n } else {\n esc = false;\n }\n this._input.next();\n }\n\n if (this._input.peek() === c) {\n resulting_string += this._in put.next();\n\n // regexps may have modifiers /regexp/MOD , so fetch those, too\n // Only [gim] are valid, but if the user puts in garbage, do what we can to take it.\n resulting_string += this._input.read(acorn.identifier);\ n }\n return this._create_token(TOKEN.STRING, resulting_string);\n }\n r eturn null;\n};\n\nTokenizer.prototype._read_xml = function(c, previous_token) { \n\n if (this._options.e4x && c === \"<\" && this._allow_regexp_or_xml(previous _token)) {\n var xmlStr = '';\n var match = this.__patterns.xml.read_match ();\n // handle e4x xml literals\n //\n if (match) {\n // Trim roo t tag to attempt to\n var rootTag = match[2].replace(/^{\\s+/, '{').replace (/\\s+}$/, '}');\n var isCurlyRoot = rootTag.indexOf('{') === 0;\n var depth = 0;\n while (match) {\n var isEndTag = !!match[1];\n var tagName = match[2];\n var isSingletonTag = (!!match[match.length - 1] ) || (tagName.slice(0, 8) === \"![CDATA[\");\n if (!isSingletonTag &&\n (tagName === rootTag || (isCurlyRoot && tagName.replace(/^{\\s+/, '{').r eplace(/\\s+}$/, '}')))) {\n if (isEndTag) {\n --depth;\n } else {\n ++depth;\n }\n }\n xmlStr += match[0];\n if (depth <= 0) {\n break;\n }\n matc h = this.__patterns.xml.read_match();\n }\n // if we didn't close corr ectly, keep unformatted.\n if (!match) {\n xmlStr += this._input.mat ch(/[\\s\\S]*/g)[0];\n }\n xmlStr = xmlStr.replace(acorn.allLineBreaks , '\\n');\n return this._create_token(TOKEN.STRING, xmlStr);\n }\n }\n\ n return null;\n};\n\nfunction unescape_string(s) {\n // You think that a rege x would work for this\n // return s.replace(/\\\\x([0-9a-f]{2})/gi, function(ma tch, val) {\n // return String.fromCharCode(parseInt(val, 16));\n // })\n // However, dealing with '\\xff', '\\\\xff', '\\\\\\xff' makes this mor e fun.\n var out = '',\n escaped = 0;\n\n var input_scan = new InputScanner (s);\n var matched = null;\n\n while (input_scan.hasNext()) {\n // Keep any whitespace, non-slash characters\n // also keep slash pairs.\n matched = input_scan.match(/([\\s]|[^\\\\]|\\\\\\\\)+/g);\n\n if (matched) {\n out += matched[0];\n }\n\n if (input_scan.peek() === '\\\\') {\n input_s can.next();\n if (input_scan.peek() === 'x') {\n matched = input_sca n.match(/x([0-9A-Fa-f]{2})/g);\n } else if (input_scan.peek() === 'u') {\n matched = input_scan.match(/u([0-9A-Fa-f]{4})/g);\n } else {\n out += '\\\\';\n if (input_scan.hasNext()) {\n out += input_sc an.next();\n }\n continue;\n }\n\n // If there's some er ror decoding, return the original string\n if (!matched) {\n return s;\n }\n\n escaped = parseInt(matched[1], 16);\n\n if (escaped > 0x7e && escaped <= 0xff && matched[0].indexOf('x') === 0) {\n // we bail out on \\x7f..\\xff,\n // leaving whole string escaped,\n // as it 's probably completely binary\n return s;\n } else if (escaped >= 0x 00 && escaped < 0x20) {\n // leave 0x00...0x1f escaped\n out += '\ \\\' + matched[0];\n continue;\n } else if (escaped === 0x22 || esca ped === 0x27 || escaped === 0x5c) {\n // single-quote, apostrophe, backsl ash - escape these\n out += '\\\\' + String.fromCharCode(escaped);\n } else {\n out += String.fromCharCode(escaped);\n }\n }\n }\n\n return out;\n}\n\n// handle string\n//\nTokenizer.prototype._read_string_recur sive = function(delimiter, allow_unescaped_newlines, start_sub) {\n var current _char;\n var pattern;\n if (delimiter === '\\'') {\n pattern = this.__patte rns.single_quote;\n } else if (delimiter === '\"') {\n pattern = this.__patt erns.double_quote;\n } else if (delimiter === '`') {\n pattern = this.__patt erns.template_text;\n } else if (delimiter === '}') {\n pattern = this.__pat terns.template_expression;\n }\n\n var resulting_string = pattern.read();\n v ar next = '';\n while (this._input.hasNext()) {\n next = this._input.next(); \n if (next === delimiter ||\n (!allow_unescaped_newlines && acorn.newli ne.test(next))) {\n this._input.back();\n break;\n } else if (next === '\\\\' && this._input.hasNext()) {\n current_char = this._input.peek(); \n\n if (current_char === 'x' || current_char === 'u') {\n this.has_ char_escapes = true;\n } else if (current_char === '\\r' && this._input.pee k(1) === '\\n') {\n this._input.next();\n }\n next += this._inp ut.next();\n } else if (start_sub) {\n if (start_sub === '${' && next == = '$' && this._input.peek() === '{') {\n next += this._input.next();\n }\n\n if (start_sub === next) {\n if (delimiter === '`') {\n next += this._read_string_recursive('}', allow_unescaped_newlines, '`');\n } else {\n next += this._read_string_recursive('`', allow_unesca ped_newlines, '${');\n }\n if (this._input.hasNext()) {\n next += this._input.next();\n }\n }\n }\n next += pattern.rea d();\n resulting_string += next;\n }\n\n return resulting_string;\n};\n\nmo dule.exports.Tokenizer = Tokenizer;\nmodule.exports.TOKEN = TOKEN;\nmodule.expor ts.positionable_operators = positionable_operators.slice();\nmodule.exports.line _starters = line_starters.slice();\n","// The module cache\nvar __webpack_module _cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId ) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cac he__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.ex ports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\ n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n \n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// st artup\n// Load entry module and return exports\n// This entry module used 'modul e' so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(772);\n "],"names":["root","factory","exports","module","define","amd","self","windows", "window","global","this","Directives","start_block_pattern","end_block_pattern", "source","__directives_block_pattern","RegExp","__directive_pattern","__directiv es_end_ignore_pattern","prototype","get_directives","text","match","directives", "lastIndex","directive_match","exec","readIgnored","input","readUntilAfter","reg exp_has_sticky","hasOwnProperty","InputScanner","input_string","__input","__inpu t_length","length","__position","restart","back","hasNext","next","val","charAt" ,"peek","index","__match","pattern","pattern_match","sticky","test","testChar"," read","starting_pattern","until_pattern","until_after","readUntil","match_index" ,"substring","get_regexp","match_from","result","flags","get_literal_regexp","li teral_string","replace","peekUntilAfter","start","lookBack","testVal","toLowerCa se","Options","options","merge_child_field","raw_options","allOptions","childFie ldName","name","finalOpts","key","convertedOpts","_normalizeOpts","_mergeOpts"," disabled","_get_boolean","eol","_get_characters","end_with_newline","indent_size ","_get_number","indent_char","indent_level","preserve_newlines","max_preserve_n ewlines","indent_with_tabs","wrap_line_length","indent_empty_lines","templating" ,"_get_selection_list","_get_array","default_value","option_value","concat","spl it","undefined","parseInt","isNaN","_get_selection","selection_list","Error","_i s_valid_selection","some","item","indexOf","OutputLine","parent","__parent","__c haracter_count","__indent_count","__alignment_count","__wrap_point_index","__wra p_point_character_count","__wrap_point_indent_count","__wrap_point_alignment_cou nt","__items","IndentStringCache","baseIndentString","__cache","__indent_size"," __indent_string","Array","join","__base_string","__base_string_length","Output", "__indent_cache","raw","_end_with_newline","__lines","previous_line","current_li ne","next_line","space_before_token","non_breaking_space","previous_token_wrappe d","__add_outputline","clone_empty","line","set_indent","has_match","lastChecked Output","indent","alignment","is_empty","get_indent_size","_set_wrap_point","_sh ould_wrap","_allow_wrap","add_new_line","slice","splice","last","push","last_new line_index","lastIndexOf","pop","_remove_indent","_remove_wrap_indent","trim","t oString","get_indent_string","column","__ensure_cache","__add_column","Math","fl oor","get_line_number","force_newline","just_added_newline","get_code","last_ite m","sweet_code","set_wrap_point","add_raw_token","token","x","newlines","whitesp ace_before","add_token","printable_token","__add_space_before_token","remove_ind ent","output_length","eat_newlines","just_added_blankline","ensure_empty_line_ab ove","starts_with","ends_with","potentialEmptyLine","Pattern","input_scanner","_ input","_starting_pattern","_match_pattern","_until_pattern","_until_after","rea d_match","_create","_update","until","starting_with","matching","template_names" ,"django","erb","handlebars","php","smarty","TemplatablePattern","call","__templ ate_pattern","_disabled","Object","assign","_excluded","__patterns","handlebars_ comment","handlebars_unescaped","django_value","django_comment","smarty_comment" ,"smarty_literal","__set_templated_pattern","disable","language","read_options", "exclude","_read_template","items","resulting_string","c","peek1","type","commen ts_before","previous","opened","closed","Token","TokenStream","WhitespacePattern ","TOKEN","START","RAW","EOF","Tokenizer","_options","__tokens","_patterns","whi tespace","tokenize","current","_reset","open_token","open_stack","comments","_ge t_next_token","_is_comment","add","isEmpty","_is_opening","_is_closing","_is_fir st_token","previous_token","_readWhitespace","_create_token","current_token","ne wline_count","whitespace_before_token","parent_token","__tokens_length","__paren t_token","_line_regexp","__set_whitespace_patterns","whitespace_chars","newline_ chars","_newline_regexp","matches","__split","regexp","start_index","next_match" ,"directives_core","lineBreak","allLineBreaks","whitespaceChar","whitespacePatte rn","block_comment_pattern","comment_pattern","Beautifier","source_text","_sourc e_text","_ch","NESTED_AT_RULE","CONDITIONAL_GROUP_RULE","NON_SEMICOLON_NEWLINE_P ROPERTY","eatString","endChars","eatWhitespace","allowAtLeastOneNewLine","_outpu t","foundNestedPseudoClass","openParen","i","ch","print_string","output_string", "_indentLevel","preserveSingleSpace","isAfterSpace","outdent","beautify","_neste dLevel","previous_ch","parenLevel","insideRule","insidePropertyValue","enteringC onditionalGroup","insideAtExtend","insideAtImport","insideScssMap","topCharacter ","insideNonSemiColonValues","comment","ignore","variableOrRule","newline_betwee n_rules","brace_style","preserveQuoteSpace","space_needed","selector_separator_n ewline","preserveAfterSpace","space_around_combinator","defaultOptions","BaseOpt ions","space_around_selector_separator","brace_style_split","bs","Printer","base _indent_string","alignment_size","current_line_has_match","set_space_before_toke n","value","non_breaking","print_preserved_newlines","raw_token","TEXT","n","pri nt_newline","traverse_whitespace","force","print_token","get_full_indent","level ","in_array","what","arr","TagFrame","parser_token","tag","tag_name","TagStack", "printer","_printer","_current_frame","js_beautify","css_beautify","_js_beautify ","_css_beautify","_tag_stack","optionHtml","_is_wrap_attributes_force","wrap_at tributes","substr","_is_wrap_attributes_force_expand_multiline","_is_wrap_attrib utes_force_aligned","_is_wrap_attributes_aligned_multiple","_is_wrap_attributes_ preserve","_is_wrap_attributes_preserve_aligned","get_parser_token","record_tag" ,"new_frame","_try_pop_frame","frame","_get_frame","tag_list","stop_list","try_p op","indent_to_tag","last_token","last_tag_token","TagOpenParserToken","tokens", "TAG_OPEN","COMMENT","_handle_tag_open","ATTRIBUTE","EQUALS","VALUE","tag_comple te","_handle_inside_tag","TAG_CLOSE","_handle_tag_close","_handle_text","is_unfo rmatted","tag_start_char","has_wrapped_attrs","indent_content","is_content_unfor matted","is_inline_element","wrapped","attr_count","force_attr_wrap","peek_token ","is_only_attribute","peek_index","custom_beautifier_name","_print_custom_beati fier_text","local","_beautifier","script_indent_level","pre","post","html_source ","indent_scripts","indentation","matched","Child_options","white","_get_tag_ope n_token","is_empty_element","_set_tag_position","start_tag_token","is_start_tag" ,"is_end_tag","multiline_content","tag_check","tag_check_match","startsWith","ha ndlebar_starts","wrap_attributes_indent_size","void_elements","unformatted","con tent_unformatted","inline","_do_optional_end_element","typeAttribute","start_tok en","get_type_attribute","search","get_custom_beautifier_name","extra_liners","_ calcluate_parent_multiline","do_end_expand","indent_inner_html","indent_head_inn er_html","indent_body_inner_html","p_closers","p_parent_excludes","p_parent","in dent_handlebars","unformatted_content_delimiter","BaseTokenizer","BASETOKEN","UN KNOWN","_current_tag_name","templatable_reader","pattern_reader","word","single_ quote","double_quote","attribute","element_name","handlebars_open","handlebars_r aw_close","cdata","conditional_comment","processing","_unformatted_content_delim iter","literal_regexp","_read_open_handlebars","_read_attribute","_read_close"," _read_raw_content","_read_content_word","_read_comment_or_cdata","_read_processi ng","_read_open","content","_is_content_unformatted","html_beautify","style_html ","js","css","html","nonASCIIidentifierStartChars","identifierStart","identifier ","identifierMatch","newline","acorn","line_starters","positionable_operators"," reserved_word","RESERVED","reserved_array","words","special_words","OPERATOR_POS ITION","list","generateMapFromStrings","OPERATOR_POSITION_BEFORE_OR_PRESERVE","b efore_newline","preserve_newline","MODE","remove_redundant_indentation","output" ,"multiline_frame","mode","start_line_index","is_array","is_expression","_tokens ","_last_last_text","_flags","_previous_flags","_flag_store","create_flags","fla gs_base","next_indent_level","indentation_level","line_indent_level","START_BLOC K","last_word","declaration_statement","declaration_assignment","inline_frame"," if_block","else_block","class_start_block","do_block","do_while","import_block", "in_case_statement","in_case","case_body","case_block","ternary_depth","test_out put_raw","set_mode","tokenizer","handle_token","preserve_statement_flags","START _EXPR","handle_start_expr","END_EXPR","handle_end_expr","handle_start_block","EN D_BLOCK","handle_end_block","WORD","handle_word","SEMICOLON","handle_semicolon", "STRING","handle_string","handle_equals","OPERATOR","handle_operator","COMMA","h andle_comma","BLOCK_COMMENT","handle_block_comment","handle_comment","DOT","hand le_dot","handle_eof","handle_unknown","handle_whitespace_and_comments","keep_whi tespace","keep_array_indentation","comment_token","j","newline_restricted_tokens ","allow_wrap_or_preserved_newline","force_linewrap","shouldPreserveOrForce","sh ouldPrintOperatorNewline","operator_position","next_token","restore_mode","print _token_line_indentation","comma_first","popped","deindent","start_of_object_prop erty","start_of_statement","next_mode","space_in_paren","space_before_conditiona l","peek_back_two","space_after_named_function","peek_back_three","space_after_a non_function","space_in_empty_paren","second_token","empty_braces","empty_anonym ous_function","brace_preserve_inline","check_token","jslint_happy","prefix","isG eneratorAsterisk","isUnary","space_before","space_after","in_ternary","isColon", "isTernaryColon","isOtherColon","after_newline","new_line_needed","preserve","pr int_block_commment","lines","s","out","idx","split_linebreaks","javadoc","starle ss","lastIndent","lastIndentLength","all_lines_start_with","len","each_line_matc hes_indent","break_chained_methods","unindent_chained_methods","js_source_text", "validPositionValues","raw_brace_style","braces_on_own_line","unescape_strings", "e4x","number_pattern","digit","dot_pattern","punct","in_html_comment","punct_pa ttern","reserved_words","reserved_word_pattern","templatable","template","number ","block_comment","html_comment_start","html_comment_end","include","shebang","x ml","template_text","template_expression","_read_non_javascript","_read_string", "_read_word","_read_singles","_read_comment","_read_regexp","_read_xml","_read_p unctuation","sharp","has_char_escapes","_read_string_recursive","escaped","input _scan","String","fromCharCode","unescape_string","_allow_regexp_or_xml","esc","i n_char_class","xmlStr","rootTag","isCurlyRoot","depth","isEndTag","tagName","del imiter","allow_unescaped_newlines","start_sub","current_char","__webpack_module_ cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__"], "sourceRoot":""} {"version":3,"file":"beautifier.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAA ZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,aAAc,GAA IH,GACC,iBAAZC,QACdA,QAAoB,WAAID,IAExBD,EAAiB,WAAIC,GACtB,CATD,CASmB,oBAATK,KAAu BA,KAA0B,oBAAZC,QAA0BC,OAA2B,oBAAXC,OAAyBA,OAASC,MAAM,WACjI,O,6CCoBA,SAASC,EAAWC ,EAAqBC,GACvCD,EAAqD,iBAAxBA,EAAmCA,EAAsBA,EAAoBE,OAC1GD,EAAiD,iBAAtBA,EAAiCA,EA AoBA,EAAkBC,OAClGJ,KAAKK,2BAA6B,IAAIC,OAAOJ,EAAsB,0BAA0BE,OAASD,EAAmB,KACzHH,KAA KO,oBAAsB,kBAE3BP,KAAKQ,gCAAkC,IAAIF,OAAOJ,EAAsB,2BAA2BE,OAASD,EAAmB,IACjI,CAEAF ,EAAWQ,UAAUC,eAAiB,SAASC,GAC7C,IAAKA,EAAKC,MAAMZ,KAAKK,4BACnB,OAAO,KAGT,IAAIQ,EA Aa,CAAC,EAClBb,KAAKO,oBAAoBO,UAAY,EAGrC,IAFA,IAAIC,EAAkBf,KAAKO,oBAAoBS,KAAKL,GA E7CI,GACLF,EAAWE,EAAgB,IAAMA,EAAgB,GACjDA,EAAkBf,KAAKO,oBAAoBS,KAAKL,GAGlD,OAAOE ,CACT,EAEAZ,EAAWQ,UAAUQ,YAAc,SAASC,GAC1C,OAAOA,EAAMC,eAAenB,KAAKQ,gCACnC,EAGAf,E AAOD,QAAQ,EAAaS,C,kBC/B5B,IAAImB,EAAoBd,OAAOG,UAAUY,eAAe,UAExD,SAASC,EAAaC,GACpB vB,KAAKwB,QAAUD,GAAgB,GAC/BvB,KAAKyB,eAAiBzB,KAAKwB,QAA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AAQM,EAAQK,MAElB,CAEA,OAAO2L,CACT,EAEA5O,EAAOD,QAA Q,GAAY4P,EAC3B3P,EAAOD,QAAQ,GAAQwP,EACvBvP,EAAOD,QAAQ,GAAyB8f,EAAuBjW,QAC/D5J,EA AOD,QAAQ,GAAgB6f,EAAchW,O,GCrjBzC+hB,EAA2B,CAAC,E,OAGhC,SAASC,EAAoBC,GAE5B,IAAIC ,EAAeH,EAAyBE,GAC5C,QAAqBxlB,IAAjBylB,EACH,OAAOA,EAAa/rB,QAGrB,IAAIC,EAAS2rB,EAA yBE,GAAY,CAGjD9rB,QAAS,CAAC,GAOX,OAHAgsB,EAAoBF,GAAU7rB,EAAQA,EAAOD,QAAS6rB,GAG/ C5rB,EAAOD,OACf,CCnB0B6rB,CAAoB,I","sources":["webpack://beautifier/webpack/univ ersalModuleDefinition","webpack://beautifier/./js/src/core/directives.js","webpa ck://beautifier/./js/src/core/inputscanner.js","webpack://beautifier/./js/src/co re/options.js","webpack://beautifier/./js/src/core/output.js","webpack://beautif ier/./js/src/core/pattern.js","webpack://beautifier/./js/src/core/templatablepat tern.js","webpack://beautifier/./js/src/core/token.js","webpack://beautifier/./j s/src/core/tokenizer.js","webpack://beautifier/./js/src/core/tokenstream.js","we bpack://beautifier/./js/src/core/whitespacepattern.js","webpack://beautifier/./j s/src/css/beautifier.js","webpack://beautifier/./js/src/css/index.js","webpack:/ /beautifier/./js/src/css/options.js","webpack://beautifier/./js/src/html/beautif ier.js","webpack://beautifier/./js/src/html/index.js","webpack://beautifier/./js /src/html/options.js","webpack://beautifier/./js/src/html/tokenizer.js","webpack ://beautifier/./js/src/index.js","webpack://beautifier/./js/src/javascript/acorn .js","webpack://beautifier/./js/src/javascript/beautifier.js","webpack://beautif ier/./js/src/javascript/index.js","webpack://beautifier/./js/src/javascript/opti ons.js","webpack://beautifier/./js/src/javascript/tokenizer.js","webpack://beaut ifier/webpack/bootstrap","webpack://beautifier/webpack/startup"],"sourcesContent ":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exp orts === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory() ;\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"beautifie r\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"beauti fier\"] = factory();\n\telse\n\t\troot[\"beautifier\"] = factory();\n})(typeof s elf !== 'undefined' ? self : typeof windows !== 'undefined' ? window : typeof gl obal !== 'undefined' ? global : this, function() {\nreturn ","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charg e, to any person\n obtaining a copy of this software and associated documentati on files\n (the \"Software\"), to deal in the Software without restriction,\n including without limitation the rights to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit pe rsons to whom the Software is furnished to do so,\n subject to the following co nditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWA RE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, I NCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPY RIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONN ECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\ n'use strict';\n\nfunction Directives(start_block_pattern, end_block_pattern) {\ n start_block_pattern = typeof start_block_pattern === 'string' ? start_block_p attern : start_block_pattern.source;\n end_block_pattern = typeof end_block_pat tern === 'string' ? end_block_pattern : end_block_pattern.source;\n this.__dire ctives_block_pattern = new RegExp(start_block_pattern + / beautify( \\w+[:]\\w+) + /.source + end_block_pattern, 'g');\n this.__directive_pattern = / (\\w+)[:]( \\w+)/g;\n\n this.__directives_end_ignore_pattern = new RegExp(start_block_patt ern + /\\sbeautify\\signore:end\\s/.source + end_block_pattern, 'g');\n}\n\nDire ctives.prototype.get_directives = function(text) {\n if (!text.match(this.__dir ectives_block_pattern)) {\n return null;\n }\n\n var directives = {};\n th is.__directive_pattern.lastIndex = 0;\n var directive_match = this.__directive_ pattern.exec(text);\n\n while (directive_match) {\n directives[directive_mat ch[1]] = directive_match[2];\n directive_match = this.__directive_pattern.exe c(text);\n }\n\n return directives;\n};\n\nDirectives.prototype.readIgnored = function(input) {\n return input.readUntilAfter(this.__directives_end_ignore_pa ttern);\n};\n\n\nmodule.exports.Directives = Directives;\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charge , to any person\n obtaining a copy of this software and associated documentatio n files\n (the \"Software\"), to deal in the Software without restriction,\n i ncluding without limitation the rights to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit per sons to whom the Software is furnished to do so,\n subject to the following con ditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWAR E IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, IN CLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A P ARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYR IGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNE CTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n 'use strict';\n\nvar regexp_has_sticky = RegExp.prototype.hasOwnProperty('sticky ');\n\nfunction InputScanner(input_string) {\n this.__input = input_string || ' ';\n this.__input_length = this.__input.length;\n this.__position = 0;\n}\n\nI nputScanner.prototype.restart = function() {\n this.__position = 0;\n};\n\nInpu tScanner.prototype.back = function() {\n if (this.__position > 0) {\n this._ _position -= 1;\n }\n};\n\nInputScanner.prototype.hasNext = function() {\n ret urn this.__position < this.__input_length;\n};\n\nInputScanner.prototype.next = function() {\n var val = null;\n if (this.hasNext()) {\n val = this.__input .charAt(this.__position);\n this.__position += 1;\n }\n return val;\n};\n\n InputScanner.prototype.peek = function(index) {\n var val = null;\n index = in dex || 0;\n index += this.__position;\n if (index >= 0 && index < this.__input _length) {\n val = this.__input.charAt(index);\n }\n return val;\n};\n\n// This is a JavaScript only helper function (not in python)\n// Javascript doesn't have a match method\n// and not all implementation support \"sticky\" flag.\n// If they do not support sticky then both this.match() and this.test() method\n// must get the match and check the index of the match.\n// If sticky is supported and set, this method will use it.\n// Otherwise it will check that global is se t, and fall back to the slower method.\nInputScanner.prototype.__match = functio n(pattern, index) {\n pattern.lastIndex = index;\n var pattern_match = pattern .exec(this.__input);\n\n if (pattern_match && !(regexp_has_sticky && pattern.st icky)) {\n if (pattern_match.index !== index) {\n pattern_match = null;\ n }\n }\n\n return pattern_match;\n};\n\nInputScanner.prototype.test = func tion(pattern, index) {\n index = index || 0;\n index += this.__position;\n\n if (index >= 0 && index < this.__input_length) {\n return !!this.__match(patt ern, index);\n } else {\n return false;\n }\n};\n\nInputScanner.prototype.t estChar = function(pattern, index) {\n // test one character regex match\n var val = this.peek(index);\n pattern.lastIndex = 0;\n return val !== null && pat tern.test(val);\n};\n\nInputScanner.prototype.match = function(pattern) {\n var pattern_match = this.__match(pattern, this.__position);\n if (pattern_match) { \n this.__position += pattern_match[0].length;\n } else {\n pattern_match = null;\n }\n return pattern_match;\n};\n\nInputScanner.prototype.read = func tion(starting_pattern, until_pattern, until_after) {\n var val = '';\n var mat ch;\n if (starting_pattern) {\n match = this.match(starting_pattern);\n i f (match) {\n val += match[0];\n }\n }\n if (until_pattern && (match | | !starting_pattern)) {\n val += this.readUntil(until_pattern, until_after);\ n }\n return val;\n};\n\nInputScanner.prototype.readUntil = function(pattern, until_after) {\n var val = '';\n var match_index = this.__position;\n pattern .lastIndex = this.__position;\n var pattern_match = pattern.exec(this.__input); \n if (pattern_match) {\n match_index = pattern_match.index;\n if (until_ after) {\n match_index += pattern_match[0].length;\n }\n } else {\n match_index = this.__input_length;\n }\n\n val = this.__input.substring(this._ _position, match_index);\n this.__position = match_index;\n return val;\n};\n\ nInputScanner.prototype.readUntilAfter = function(pattern) {\n return this.read Until(pattern, true);\n};\n\nInputScanner.prototype.get_regexp = function(patter n, match_from) {\n var result = null;\n var flags = 'g';\n if (match_from && regexp_has_sticky) {\n flags = 'y';\n }\n // strings are converted to regex p\n if (typeof pattern === \"string\" && pattern !== '') {\n // result = new RegExp(pattern.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&'), flags);\n re sult = new RegExp(pattern, flags);\n } else if (pattern) {\n result = new Re gExp(pattern.source, flags);\n }\n return result;\n};\n\nInputScanner.prototyp e.get_literal_regexp = function(literal_string) {\n return RegExp(literal_strin g.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&'));\n};\n\n/* css beautifier leg acy helpers */\nInputScanner.prototype.peekUntilAfter = function(pattern) {\n v ar start = this.__position;\n var val = this.readUntilAfter(pattern);\n this._ _position = start;\n return val;\n};\n\nInputScanner.prototype.lookBack = funct ion(testVal) {\n var start = this.__position - 1;\n return start >= testVal.le ngth && this.__input.substring(start - testVal.length, start)\n .toLowerCase( ) === testVal;\n};\n\nmodule.exports.InputScanner = InputScanner;\n","/*jshint n ode:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Li elmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associated doc umentation files\n (the \"Software\"), to deal in the Software without restrict ion,\n including without limitation the rights to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to p ermit persons to whom the Software is furnished to do so,\n subject to the foll owing conditions:\n\n The above copyright notice and this permission notice sha ll be\n included in all copies or substantial portions of the Software.\n\n TH E SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IM PLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNES S FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WH ETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN \n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE .\n*/\n\n'use strict';\n\nfunction Options(options, merge_child_field) {\n this .raw_options = _mergeOpts(options, merge_child_field);\n\n // Support passing t he source text back with no change\n this.disabled = this._get_boolean('disable d');\n\n this.eol = this._get_characters('eol', 'auto');\n this.end_with_newli ne = this._get_boolean('end_with_newline');\n this.indent_size = this._get_numb er('indent_size', 4);\n this.indent_char = this._get_characters('indent_char', ' ');\n this.indent_level = this._get_number('indent_level');\n\n this.preserv e_newlines = this._get_boolean('preserve_newlines', true);\n this.max_preserve_ newlines = this._get_number('max_preserve_newlines', 32786);\n if (!this.preser ve_newlines) {\n this.max_preserve_newlines = 0;\n }\n\n this.indent_with_t abs = this._get_boolean('indent_with_tabs', this.indent_char === '\\t');\n if ( this.indent_with_tabs) {\n this.indent_char = '\\t';\n\n // indent_size be havior changed after 1.8.6\n // It used to be that indent_size would be\n // set to 1 for indent_with_tabs. That is no longer needed and\n // actually doesn't make sense - why not use spaces? Further,\n // that might produce une xpected behavior - tabs being used\n // for single-column alignment. So, when indent_with_tabs is true\n // and indent_size is 1, reset indent_size to 4.\ n if (this.indent_size === 1) {\n this.indent_size = 4;\n }\n }\n\n // Backwards compat with 1.3.x\n this.wrap_line_length = this._get_number('wra p_line_length', this._get_number('max_char'));\n\n this.indent_empty_lines = th is._get_boolean('indent_empty_lines');\n\n // valid templating languages ['djan go', 'erb', 'handlebars', 'php', 'smarty']\n // For now, 'auto' = all off for j avascript, all on for html (and inline javascript).\n // other values ignored\n this.templating = this._get_selection_list('templating', ['auto', 'none', 'dja ngo', 'erb', 'handlebars', 'php', 'smarty'], ['auto']);\n}\n\nOptions.prototype. _get_array = function(name, default_value) {\n var option_value = this.raw_opti ons[name];\n var result = default_value || [];\n if (typeof option_value === ' object') {\n if (option_value !== null && typeof option_value.concat === 'fun ction') {\n result = option_value.concat();\n }\n } else if (typeof opt ion_value === 'string') {\n result = option_value.split(/[^a-zA-Z0-9_\\/\\-]+ /);\n }\n return result;\n};\n\nOptions.prototype._get_boolean = function(name , default_value) {\n var option_value = this.raw_options[name];\n var result = option_value === undefined ? !!default_value : !!option_value;\n return result ;\n};\n\nOptions.prototype._get_characters = function(name, default_value) {\n var option_value = this.raw_options[name];\n var result = default_value || '';\ n if (typeof option_value === 'string') {\n result = option_value.replace(/\ \\\r/, '\\r').replace(/\\\\n/, '\\n').replace(/\\\\t/, '\\t');\n }\n return re sult;\n};\n\nOptions.prototype._get_number = function(name, default_value) {\n var option_value = this.raw_options[name];\n default_value = parseInt(default_v alue, 10);\n if (isNaN(default_value)) {\n default_value = 0;\n }\n var re sult = parseInt(option_value, 10);\n if (isNaN(result)) {\n result = default _value;\n }\n return result;\n};\n\nOptions.prototype._get_selection = functio n(name, selection_list, default_value) {\n var result = this._get_selection_lis t(name, selection_list, default_value);\n if (result.length !== 1) {\n throw new Error(\n \"Invalid Option Value: The option '\" + name + \"' can only be one of the following values:\\n\" +\n selection_list + \"\\nYou passed i n: '\" + this.raw_options[name] + \"'\");\n }\n\n return result[0];\n};\n\n\nO ptions.prototype._get_selection_list = function(name, selection_list, default_va lue) {\n if (!selection_list || selection_list.length === 0) {\n throw new E rror(\"Selection list cannot be empty.\");\n }\n\n default_value = default_val ue || [selection_list[0]];\n if (!this._is_valid_selection(default_value, selec tion_list)) {\n throw new Error(\"Invalid Default Value!\");\n }\n\n var re sult = this._get_array(name, default_value);\n if (!this._is_valid_selection(re sult, selection_list)) {\n throw new Error(\n \"Invalid Option Value: Th e option '\" + name + \"' can contain only the following values:\\n\" +\n s election_list + \"\\nYou passed in: '\" + this.raw_options[name] + \"'\");\n }\ n\n return result;\n};\n\nOptions.prototype._is_valid_selection = function(resu lt, selection_list) {\n return result.length && selection_list.length &&\n ! result.some(function(item) { return selection_list.indexOf(item) === -1; });\n}; \n\n\n// merges child options up with the parent options object\n// Example: obj = {a: 1, b: {a: 2}}\n// mergeOpts(obj, 'b')\n//\n// Returns: {a: 2}\nfunction _mergeOpts(allOptions, childFieldName) {\n var finalOpts = {}; \n allOptions = _normalizeOpts(allOptions);\n var name;\n\n for (name in allO ptions) {\n if (name !== childFieldName) {\n finalOpts[name] = allOption s[name];\n }\n }\n\n //merge in the per type settings for the childFieldNam e\n if (childFieldName && allOptions[childFieldName]) {\n for (name in allOp tions[childFieldName]) {\n finalOpts[name] = allOptions[childFieldName][nam e];\n }\n }\n return finalOpts;\n}\n\nfunction _normalizeOpts(options) {\n var convertedOpts = {};\n var key;\n\n for (key in options) {\n var newKey = key.replace(/-/g, \"_\");\n convertedOpts[newKey] = options[key];\n }\n return convertedOpts;\n}\n\nmodule.exports.Options = Options;\nmodule.exports.no rmalizeOpts = _normalizeOpts;\nmodule.exports.mergeOpts = _mergeOpts;\n","/*jshi nt node:true */\n/*\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, fre e of charge, to any person\n obtaining a copy of this software and associated d ocumentation files\n (the \"Software\"), to deal in the Software without restri ction,\n including without limitation the rights to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject to the fo llowing conditions:\n\n The above copyright notice and this permission notice s hall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITN ESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHO RS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWA RE.\n*/\n\n'use strict';\n\nfunction OutputLine(parent) {\n this.__parent = par ent;\n this.__character_count = 0;\n // use indent_count as a marker for this. __lines that have preserved indentation\n this.__indent_count = -1;\n this.__a lignment_count = 0;\n this.__wrap_point_index = 0;\n this.__wrap_point_charact er_count = 0;\n this.__wrap_point_indent_count = -1;\n this.__wrap_point_align ment_count = 0;\n\n this.__items = [];\n}\n\nOutputLine.prototype.clone_empty = function() {\n var line = new OutputLine(this.__parent);\n line.set_indent(th is.__indent_count, this.__alignment_count);\n return line;\n};\n\nOutputLine.pr ototype.item = function(index) {\n if (index < 0) {\n return this.__items[th is.__items.length + index];\n } else {\n return this.__items[index];\n }\n} ;\n\nOutputLine.prototype.has_match = function(pattern) {\n for (var lastChecke dOutput = this.__items.length - 1; lastCheckedOutput >= 0; lastCheckedOutput--) {\n if (this.__items[lastCheckedOutput].match(pattern)) {\n return true; \n }\n }\n return false;\n};\n\nOutputLine.prototype.set_indent = function( indent, alignment) {\n if (this.is_empty()) {\n this.__indent_count = indent || 0;\n this.__alignment_count = alignment || 0;\n this.__character_count = this.__parent.get_indent_size(this.__indent_count, this.__alignment_count);\n }\n};\n\nOutputLine.prototype._set_wrap_point = function() {\n if (this.__par ent.wrap_line_length) {\n this.__wrap_point_index = this.__items.length;\n this.__wrap_point_character_count = this.__character_count;\n this.__wrap_po int_indent_count = this.__parent.next_line.__indent_count;\n this.__wrap_poin t_alignment_count = this.__parent.next_line.__alignment_count;\n }\n};\n\nOutpu tLine.prototype._should_wrap = function() {\n return this.__wrap_point_index && \n this.__character_count > this.__parent.wrap_line_length &&\n this.__wra p_point_character_count > this.__parent.next_line.__character_count;\n};\n\nOutp utLine.prototype._allow_wrap = function() {\n if (this._should_wrap()) {\n t his.__parent.add_new_line();\n var next = this.__parent.current_line;\n ne xt.set_indent(this.__wrap_point_indent_count, this.__wrap_point_alignment_count) ;\n next.__items = this.__items.slice(this.__wrap_point_index);\n this.__i tems = this.__items.slice(0, this.__wrap_point_index);\n\n next.__character_c ount += this.__character_count - this.__wrap_point_character_count;\n this.__ character_count = this.__wrap_point_character_count;\n\n if (next.__items[0] === \" \") {\n next.__items.splice(0, 1);\n next.__character_count -= 1;\n }\n return true;\n }\n return false;\n};\n\nOutputLine.prototype.is _empty = function() {\n return this.__items.length === 0;\n};\n\nOutputLine.pro totype.last = function() {\n if (!this.is_empty()) {\n return this.__items[t his.__items.length - 1];\n } else {\n return null;\n }\n};\n\nOutputLine.pr ototype.push = function(item) {\n this.__items.push(item);\n var last_newline_ index = item.lastIndexOf('\\n');\n if (last_newline_index !== -1) {\n this._ _character_count = item.length - last_newline_index;\n } else {\n this.__cha racter_count += item.length;\n }\n};\n\nOutputLine.prototype.pop = function() { \n var item = null;\n if (!this.is_empty()) {\n item = this.__items.pop();\ n this.__character_count -= item.length;\n }\n return item;\n};\n\n\nOutput Line.prototype._remove_indent = function() {\n if (this.__indent_count > 0) {\n this.__indent_count -= 1;\n this.__character_count -= this.__parent.inden t_size;\n }\n};\n\nOutputLine.prototype._remove_wrap_indent = function() {\n i f (this.__wrap_point_indent_count > 0) {\n this.__wrap_point_indent_count -= 1;\n }\n};\nOutputLine.prototype.trim = function() {\n while (this.last() === ' ') {\n this.__items.pop();\n this.__character_count -= 1;\n }\n};\n\nOu tputLine.prototype.toString = function() {\n var result = '';\n if (this.is_em pty()) {\n if (this.__parent.indent_empty_lines) {\n result = this.__par ent.get_indent_string(this.__indent_count);\n }\n } else {\n result = thi s.__parent.get_indent_string(this.__indent_count, this.__alignment_count);\n result += this.__items.join('');\n }\n return result;\n};\n\nfunction IndentSt ringCache(options, baseIndentString) {\n this.__cache = [''];\n this.__indent_ size = options.indent_size;\n this.__indent_string = options.indent_char;\n if (!options.indent_with_tabs) {\n this.__indent_string = new Array(options.ind ent_size + 1).join(options.indent_char);\n }\n\n // Set to null to continue su pport for auto detection of base indent\n baseIndentString = baseIndentString | | '';\n if (options.indent_level > 0) {\n baseIndentString = new Array(optio ns.indent_level + 1).join(this.__indent_string);\n }\n\n this.__base_string = baseIndentString;\n this.__base_string_length = baseIndentString.length;\n}\n\n IndentStringCache.prototype.get_indent_size = function(indent, column) {\n var result = this.__base_string_length;\n column = column || 0;\n if (indent < 0) {\n result = 0;\n }\n result += indent * this.__indent_size;\n result += c olumn;\n return result;\n};\n\nIndentStringCache.prototype.get_indent_string = function(indent_level, column) {\n var result = this.__base_string;\n column = column || 0;\n if (indent_level < 0) {\n indent_level = 0;\n result = '' ;\n }\n column += indent_level * this.__indent_size;\n this.__ensure_cache(co lumn);\n result += this.__cache[column];\n return result;\n};\n\nIndentStringC ache.prototype.__ensure_cache = function(column) {\n while (column >= this.__ca che.length) {\n this.__add_column();\n }\n};\n\nIndentStringCache.prototype. __add_column = function() {\n var column = this.__cache.length;\n var indent = 0;\n var result = '';\n if (this.__indent_size && column >= this.__indent_siz e) {\n indent = Math.floor(column / this.__indent_size);\n column -= inden t * this.__indent_size;\n result = new Array(indent + 1).join(this.__indent_s tring);\n }\n if (column) {\n result += new Array(column + 1).join(' ');\n }\n\n this.__cache.push(result);\n};\n\nfunction Output(options, baseIndentStr ing) {\n this.__indent_cache = new IndentStringCache(options, baseIndentString) ;\n this.raw = false;\n this._end_with_newline = options.end_with_newline;\n this.indent_size = options.indent_size;\n this.wrap_line_length = options.wrap_ line_length;\n this.indent_empty_lines = options.indent_empty_lines;\n this.__ lines = [];\n this.previous_line = null;\n this.current_line = null;\n this.n ext_line = new OutputLine(this);\n this.space_before_token = false;\n this.non _breaking_space = false;\n this.previous_token_wrapped = false;\n // initializ e\n this.__add_outputline();\n}\n\nOutput.prototype.__add_outputline = function () {\n this.previous_line = this.current_line;\n this.current_line = this.next _line.clone_empty();\n this.__lines.push(this.current_line);\n};\n\nOutput.prot otype.get_line_number = function() {\n return this.__lines.length;\n};\n\nOutpu t.prototype.get_indent_string = function(indent, column) {\n return this.__inde nt_cache.get_indent_string(indent, column);\n};\n\nOutput.prototype.get_indent_s ize = function(indent, column) {\n return this.__indent_cache.get_indent_size(i ndent, column);\n};\n\nOutput.prototype.is_empty = function() {\n return !this. previous_line && this.current_line.is_empty();\n};\n\nOutput.prototype.add_new_l ine = function(force_newline) {\n // never newline at the start of file\n // o therwise, newline only if we didn't just add one or we're forced\n if (this.is_ empty() ||\n (!force_newline && this.just_added_newline())) {\n return fal se;\n }\n\n // if raw output is enabled, don't print additional newlines,\n / / but still return True as though you had\n if (!this.raw) {\n this.__add_ou tputline();\n }\n return true;\n};\n\nOutput.prototype.get_code = function(eol ) {\n this.trim(true);\n\n // handle some edge cases where the last tokens\n // has text that ends with newline(s)\n var last_item = this.current_line.pop() ;\n if (last_item) {\n if (last_item[last_item.length - 1] === '\\n') {\n last_item = last_item.replace(/\\n+$/g, '');\n }\n this.current_line.pu sh(last_item);\n }\n\n if (this._end_with_newline) {\n this.__add_outputlin e();\n }\n\n var sweet_code = this.__lines.join('\\n');\n\n if (eol !== '\\n' ) {\n sweet_code = sweet_code.replace(/[\\n]/g, eol);\n }\n return sweet_co de;\n};\n\nOutput.prototype.set_wrap_point = function() {\n this.current_line._ set_wrap_point();\n};\n\nOutput.prototype.set_indent = function(indent, alignmen t) {\n indent = indent || 0;\n alignment = alignment || 0;\n\n // Next line s tores alignment values\n this.next_line.set_indent(indent, alignment);\n\n // Never indent your first output indent at the start of the file\n if (this.__lin es.length > 1) {\n this.current_line.set_indent(indent, alignment);\n retu rn true;\n }\n\n this.current_line.set_indent();\n return false;\n};\n\nOutpu t.prototype.add_raw_token = function(token) {\n for (var x = 0; x < token.newli nes; x++) {\n this.__add_outputline();\n }\n this.current_line.set_indent(- 1);\n this.current_line.push(token.whitespace_before);\n this.current_line.pus h(token.text);\n this.space_before_token = false;\n this.non_breaking_space = false;\n this.previous_token_wrapped = false;\n};\n\nOutput.prototype.add_token = function(printable_token) {\n this.__add_space_before_token();\n this.curre nt_line.push(printable_token);\n this.space_before_token = false;\n this.non_b reaking_space = false;\n this.previous_token_wrapped = this.current_line._allow _wrap();\n};\n\nOutput.prototype.__add_space_before_token = function() {\n if ( this.space_before_token && !this.just_added_newline()) {\n if (!this.non_brea king_space) {\n this.set_wrap_point();\n }\n this.current_line.push(' ');\n }\n};\n\nOutput.prototype.remove_indent = function(index) {\n var outpu t_length = this.__lines.length;\n while (index < output_length) {\n this.__l ines[index]._remove_indent();\n index++;\n }\n this.current_line._remove_wr ap_indent();\n};\n\nOutput.prototype.trim = function(eat_newlines) {\n eat_newl ines = (eat_newlines === undefined) ? false : eat_newlines;\n\n this.current_li ne.trim();\n\n while (eat_newlines && this.__lines.length > 1 &&\n this.curr ent_line.is_empty()) {\n this.__lines.pop();\n this.current_line = this.__ lines[this.__lines.length - 1];\n this.current_line.trim();\n }\n\n this.pr evious_line = this.__lines.length > 1 ?\n this.__lines[this.__lines.length - 2] : null;\n};\n\nOutput.prototype.just_added_newline = function() {\n return t his.current_line.is_empty();\n};\n\nOutput.prototype.just_added_blankline = func tion() {\n return this.is_empty() ||\n (this.current_line.is_empty() && this .previous_line.is_empty());\n};\n\nOutput.prototype.ensure_empty_line_above = fu nction(starts_with, ends_with) {\n var index = this.__lines.length - 2;\n whil e (index >= 0) {\n var potentialEmptyLine = this.__lines[index];\n if (pot entialEmptyLine.is_empty()) {\n break;\n } else if (potentialEmptyLine.i tem(0).indexOf(starts_with) !== 0 &&\n potentialEmptyLine.item(-1) !== ends _with) {\n this.__lines.splice(index + 1, 0, new OutputLine(this));\n this.previous_line = this.__lines[this.__lines.length - 2];\n break;\n } \n index--;\n }\n};\n\nmodule.exports.Output = Output;\n","/*jshint node:tru e */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis , Liam Newman, and contributors.\n\n Permission is hereby granted, free of char ge, to any person\n obtaining a copy of this software and associated documentat ion files\n (the \"Software\"), to deal in the Software without restriction,\n including without limitation the rights to use, copy, modify, merge,\n publish , distribute, sublicense, and/or sell copies of the Software,\n and to permit p ersons to whom the Software is furnished to do so,\n subject to the following c onditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTW ARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COP YRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER I N AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CON NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n \n'use strict';\n\nfunction Pattern(input_scanner, parent) {\n this._input = in put_scanner;\n this._starting_pattern = null;\n this._match_pattern = null;\n this._until_pattern = null;\n this._until_after = false;\n\n if (parent) {\n this._starting_pattern = this._input.get_regexp(parent._starting_pattern, tru e);\n this._match_pattern = this._input.get_regexp(parent._match_pattern, tru e);\n this._until_pattern = this._input.get_regexp(parent._until_pattern);\n this._until_after = parent._until_after;\n }\n}\n\nPattern.prototype.read = function() {\n var result = this._input.read(this._starting_pattern);\n if (!t his._starting_pattern || result) {\n result += this._input.read(this._match_p attern, this._until_pattern, this._until_after);\n }\n return result;\n};\n\nP attern.prototype.read_match = function() {\n return this._input.match(this._mat ch_pattern);\n};\n\nPattern.prototype.until_after = function(pattern) {\n var r esult = this._create();\n result._until_after = true;\n result._until_pattern = this._input.get_regexp(pattern);\n result._update();\n return result;\n};\n\ nPattern.prototype.until = function(pattern) {\n var result = this._create();\n result._until_after = false;\n result._until_pattern = this._input.get_regexp (pattern);\n result._update();\n return result;\n};\n\nPattern.prototype.start ing_with = function(pattern) {\n var result = this._create();\n result._starti ng_pattern = this._input.get_regexp(pattern, true);\n result._update();\n retu rn result;\n};\n\nPattern.prototype.matching = function(pattern) {\n var result = this._create();\n result._match_pattern = this._input.get_regexp(pattern, tr ue);\n result._update();\n return result;\n};\n\nPattern.prototype._create = f unction() {\n return new Pattern(this._input, this);\n};\n\nPattern.prototype._ update = function() {};\n\nmodule.exports.Pattern = Pattern;\n","/*jshint node:t rue */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielman is, Liam Newman, and contributors.\n\n Permission is hereby granted, free of ch arge, to any person\n obtaining a copy of this software and associated document ation files\n (the \"Software\"), to deal in the Software without restriction,\ n including without limitation the rights to use, copy, modify, merge,\n publi sh, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n The above copyright notice and this permission notice shall be \n included in all copies or substantial portions of the Software.\n\n THE SOF TWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR C OPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n C ONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/ \n\n'use strict';\n\nvar Pattern = require('./pattern').Pattern;\n\n\nvar templa te_names = {\n django: false,\n erb: false,\n handlebars: false,\n php: fals e,\n smarty: false\n};\n\n// This lets templates appear anywhere we would do a readUntil\n// The cost is higher but it is pay to play.\nfunction TemplatablePat tern(input_scanner, parent) {\n Pattern.call(this, input_scanner, parent);\n t his.__template_pattern = null;\n this._disabled = Object.assign({}, template_na mes);\n this._excluded = Object.assign({}, template_names);\n\n if (parent) {\ n this.__template_pattern = this._input.get_regexp(parent.__template_pattern) ;\n this._excluded = Object.assign(this._excluded, parent._excluded);\n th is._disabled = Object.assign(this._disabled, parent._disabled);\n }\n var patt ern = new Pattern(input_scanner);\n this.__patterns = {\n handlebars_comment : pattern.starting_with(/{{!--/).until_after(/--}}/),\n handlebars_unescaped: pattern.starting_with(/{{{/).until_after(/}}}/),\n handlebars: pattern.start ing_with(/{{/).until_after(/}}/),\n php: pattern.starting_with(/<\\?(?:[= ]|p hp)/).until_after(/\\?>/),\n erb: pattern.starting_with(/<%[^%]/).until_after (/[^%]%>/),\n // django coflicts with handlebars a bit.\n django: pattern. starting_with(/{%/).until_after(/%}/),\n django_value: pattern.starting_with( /{{/).until_after(/}}/),\n django_comment: pattern.starting_with(/{#/).until_ after(/#}/),\n smarty: pattern.starting_with(/{(?=[^}{\\s\\n])/).until_after( /[^\\s\\n]}/),\n smarty_comment: pattern.starting_with(/{\\*/).until_after(/\ \*}/),\n smarty_literal: pattern.starting_with(/{literal}/).until_after(/{\\/ literal}/)\n };\n}\nTemplatablePattern.prototype = new Pattern();\n\nTemplatabl ePattern.prototype._create = function() {\n return new TemplatablePattern(this. _input, this);\n};\n\nTemplatablePattern.prototype._update = function() {\n thi s.__set_templated_pattern();\n};\n\nTemplatablePattern.prototype.disable = funct ion(language) {\n var result = this._create();\n result._disabled[language] = true;\n result._update();\n return result;\n};\n\nTemplatablePattern.prototype .read_options = function(options) {\n var result = this._create();\n for (var language in template_names) {\n result._disabled[language] = options.templati ng.indexOf(language) === -1;\n }\n result._update();\n return result;\n};\n\n TemplatablePattern.prototype.exclude = function(language) {\n var result = this ._create();\n result._excluded[language] = true;\n result._update();\n return result;\n};\n\nTemplatablePattern.prototype.read = function() {\n var result = '';\n if (this._match_pattern) {\n result = this._input.read(this._starting _pattern);\n } else {\n result = this._input.read(this._starting_pattern, th is.__template_pattern);\n }\n var next = this._read_template();\n while (next ) {\n if (this._match_pattern) {\n next += this._input.read(this._match_ pattern);\n } else {\n next += this._input.readUntil(this.__template_pat tern);\n }\n result += next;\n next = this._read_template();\n }\n\n if (this._until_after) {\n result += this._input.readUntilAfter(this._until_p attern);\n }\n return result;\n};\n\nTemplatablePattern.prototype.__set_templa ted_pattern = function() {\n var items = [];\n\n if (!this._disabled.php) {\n items.push(this.__patterns.php._starting_pattern.source);\n }\n if (!this._ disabled.handlebars) {\n items.push(this.__patterns.handlebars._starting_patt ern.source);\n }\n if (!this._disabled.erb) {\n items.push(this.__patterns. erb._starting_pattern.source);\n }\n if (!this._disabled.django) {\n items. push(this.__patterns.django._starting_pattern.source);\n // The starting patt ern for django is more complex because it has different\n // patterns for val ue, comment, and other sections\n items.push(this.__patterns.django_value._st arting_pattern.source);\n items.push(this.__patterns.django_comment._starting _pattern.source);\n }\n if (!this._disabled.smarty) {\n items.push(this.__p atterns.smarty._starting_pattern.source);\n }\n\n if (this._until_pattern) {\n items.push(this._until_pattern.source);\n }\n this.__template_pattern = th is._input.get_regexp('(?:' + items.join('|') + ')');\n};\n\nTemplatablePattern.p rototype._read_template = function() {\n var resulting_string = '';\n var c = this._input.peek();\n if (c === '<') {\n var peek1 = this._input.peek(1);\n //if we're in a comment, do something special\n // We treat all comments a s literals, even more than preformatted tags\n // we just look for the approp riate close tag\n if (!this._disabled.php && !this._excluded.php && peek1 === '?') {\n resulting_string = resulting_string ||\n this.__patterns.p hp.read();\n }\n if (!this._disabled.erb && !this._excluded.erb && peek1 = == '%') {\n resulting_string = resulting_string ||\n this.__patterns .erb.read();\n }\n } else if (c === '{') {\n if (!this._disabled.handleba rs && !this._excluded.handlebars) {\n resulting_string = resulting_string | |\n this.__patterns.handlebars_comment.read();\n resulting_string = resulting_string ||\n this.__patterns.handlebars_unescaped.read();\n resulting_string = resulting_string ||\n this.__patterns.handlebars.read ();\n }\n if (!this._disabled.django) {\n // django coflicts with han dlebars a bit.\n if (!this._excluded.django && !this._excluded.handlebars) {\n resulting_string = resulting_string ||\n this.__patterns.dja ngo_value.read();\n }\n if (!this._excluded.django) {\n resulti ng_string = resulting_string ||\n this.__patterns.django_comment.read() ;\n resulting_string = resulting_string ||\n this.__patterns.dja ngo.read();\n }\n }\n if (!this._disabled.smarty) {\n // smarty cannot be enabled with django or handlebars enabled\n if (this._disabled.dj ango && this._disabled.handlebars) {\n resulting_string = resulting_strin g ||\n this.__patterns.smarty_comment.read();\n resulting_string = resulting_string ||\n this.__patterns.smarty_literal.read();\n resulting_string = resulting_string ||\n this.__patterns.smarty.read( );\n }\n }\n }\n return resulting_string;\n};\n\n\nmodule.exports.Temp latablePattern = TemplatablePattern;\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and con tributors.\n\n Permission is hereby granted, free of charge, to any person\n o btaining a copy of this software and associated documentation files\n (the \"So ftware\"), to deal in the Software without restriction,\n including without lim itation the rights to use, copy, modify, merge,\n publish, distribute, sublicen se, and/or sell copies of the Software,\n and to permit persons to whom the Sof tware is furnished to do so,\n subject to the following conditions:\n\n The ab ove copyright notice and this permission notice shall be\n included in all copi es or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS I S\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMI TED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AN D\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE L IABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONT RACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTW ARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nfun ction Token(type, text, newlines, whitespace_before) {\n this.type = type;\n t his.text = text;\n\n // comments_before are\n // comments that have a new line before them\n // and may or may not have a newline after\n // this is a set o f comments before\n this.comments_before = null; /* inline comment*/\n\n\n // this.comments_after = new TokenStream(); // no new line before and newline afte r\n this.newlines = newlines || 0;\n this.whitespace_before = whitespace_befor e || '';\n this.parent = null;\n this.next = null;\n this.previous = null;\n this.opened = null;\n this.closed = null;\n this.directives = null;\n}\n\n\nm odule.exports.Token = Token;\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributor s.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associated documentation files\n (the \"Software\" ), to deal in the Software without restriction,\n including without limitation the rights to use, copy, modify, merge,\n publish, distribute, sublicense, and/ or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n The above copy right notice and this permission notice shall be\n included in all copies or su bstantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WIT HOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO T HE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FO R ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TO RT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR T HE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar InputSc anner = require('../core/inputscanner').InputScanner;\nvar Token = require('../c ore/token').Token;\nvar TokenStream = require('../core/tokenstream').TokenStream ;\nvar WhitespacePattern = require('./whitespacepattern').WhitespacePattern;\n\n var TOKEN = {\n START: 'TK_START',\n RAW: 'TK_RAW',\n EOF: 'TK_EOF'\n};\n\nva r Tokenizer = function(input_string, options) {\n this._input = new InputScanne r(input_string);\n this._options = options || {};\n this.__tokens = null;\n\n this._patterns = {};\n this._patterns.whitespace = new WhitespacePattern(this. _input);\n};\n\nTokenizer.prototype.tokenize = function() {\n this._input.resta rt();\n this.__tokens = new TokenStream();\n\n this._reset();\n\n var current ;\n var previous = new Token(TOKEN.START, '');\n var open_token = null;\n var open_stack = [];\n var comments = new TokenStream();\n\n while (previous.type !== TOKEN.EOF) {\n current = this._get_next_token(previous, open_token);\n while (this._is_comment(current)) {\n comments.add(current);\n curre nt = this._get_next_token(previous, open_token);\n }\n\n if (!comments.isE mpty()) {\n current.comments_before = comments;\n comments = new Token Stream();\n }\n\n current.parent = open_token;\n\n if (this._is_opening (current)) {\n open_stack.push(open_token);\n open_token = current;\n } else if (open_token && this._is_closing(current, open_token)) {\n curr ent.opened = open_token;\n open_token.closed = current;\n open_token = open_stack.pop();\n current.parent = open_token;\n }\n\n current.pre vious = previous;\n previous.next = current;\n\n this.__tokens.add(current );\n previous = current;\n }\n\n return this.__tokens;\n};\n\n\nTokenizer.p rototype._is_first_token = function() {\n return this.__tokens.isEmpty();\n};\n \nTokenizer.prototype._reset = function() {};\n\nTokenizer.prototype._get_next_t oken = function(previous_token, open_token) { // jshint unused:false\n this._re adWhitespace();\n var resulting_string = this._input.read(/.+/g);\n if (result ing_string) {\n return this._create_token(TOKEN.RAW, resulting_string);\n } else {\n return this._create_token(TOKEN.EOF, '');\n }\n};\n\nTokenizer.prot otype._is_comment = function(current_token) { // jshint unused:false\n return f alse;\n};\n\nTokenizer.prototype._is_opening = function(current_token) { // jshi nt unused:false\n return false;\n};\n\nTokenizer.prototype._is_closing = functi on(current_token, open_token) { // jshint unused:false\n return false;\n};\n\nT okenizer.prototype._create_token = function(type, text) {\n var token = new Tok en(type, text,\n this._patterns.whitespace.newline_count,\n this._patterns .whitespace.whitespace_before_token);\n return token;\n};\n\nTokenizer.prototyp e._readWhitespace = function() {\n return this._patterns.whitespace.read();\n}; \n\n\n\nmodule.exports.Tokenizer = Tokenizer;\nmodule.exports.TOKEN = TOKEN;\n", "/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-20 18 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby gra nted, free of charge, to any person\n obtaining a copy of this software and ass ociated documentation files\n (the \"Software\"), to deal in the Software witho ut restriction,\n including without limitation the rights to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Software,\ n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Softwa re.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EX PRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABIL ITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LI ABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, O UT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\ n SOFTWARE.\n*/\n\n'use strict';\n\nfunction TokenStream(parent_token) {\n // private\n this.__tokens = [];\n this.__tokens_length = this.__tokens.length;\n this.__position = 0;\n this.__parent_token = parent_token;\n}\n\nTokenStream. prototype.restart = function() {\n this.__position = 0;\n};\n\nTokenStream.prot otype.isEmpty = function() {\n return this.__tokens_length === 0;\n};\n\nTokenS tream.prototype.hasNext = function() {\n return this.__position < this.__tokens _length;\n};\n\nTokenStream.prototype.next = function() {\n var val = null;\n if (this.hasNext()) {\n val = this.__tokens[this.__position];\n this.__pos ition += 1;\n }\n return val;\n};\n\nTokenStream.prototype.peek = function(ind ex) {\n var val = null;\n index = index || 0;\n index += this.__position;\n if (index >= 0 && index < this.__tokens_length) {\n val = this.__tokens[index ];\n }\n return val;\n};\n\nTokenStream.prototype.add = function(token) {\n i f (this.__parent_token) {\n token.parent = this.__parent_token;\n }\n this. __tokens.push(token);\n this.__tokens_length += 1;\n};\n\nmodule.exports.TokenS tream = TokenStream;\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\ n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associated documentation files\n (the \"Software\"), to de al in the Software without restriction,\n including without limitation the righ ts to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnish ed to do so,\n subject to the following conditions:\n\n The above copyright no tice and this permission notice shall be\n included in all copies or substantia l portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WAR RANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRA NTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGE MENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CL AIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OT HERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE O R OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar Pattern = requi re('../core/pattern').Pattern;\n\nfunction WhitespacePattern(input_scanner, pare nt) {\n Pattern.call(this, input_scanner, parent);\n if (parent) {\n this._ line_regexp = this._input.get_regexp(parent._line_regexp);\n } else {\n this .__set_whitespace_patterns('', '');\n }\n\n this.newline_count = 0;\n this.wh itespace_before_token = '';\n}\nWhitespacePattern.prototype = new Pattern();\n\n WhitespacePattern.prototype.__set_whitespace_patterns = function(whitespace_char s, newline_chars) {\n whitespace_chars += '\\\\t ';\n newline_chars += '\\\\n\ \\\r';\n\n this._match_pattern = this._input.get_regexp(\n '[' + whitespace_ chars + newline_chars + ']+', true);\n this._newline_regexp = this._input.get_r egexp(\n '\\\\r\\\\n|[' + newline_chars + ']');\n};\n\nWhitespacePattern.prot otype.read = function() {\n this.newline_count = 0;\n this.whitespace_before_t oken = '';\n\n var resulting_string = this._input.read(this._match_pattern);\n if (resulting_string === ' ') {\n this.whitespace_before_token = ' ';\n } e lse if (resulting_string) {\n var matches = this.__split(this._newline_regexp , resulting_string);\n this.newline_count = matches.length - 1;\n this.whi tespace_before_token = matches[this.newline_count];\n }\n\n return resulting_s tring;\n};\n\nWhitespacePattern.prototype.matching = function(whitespace_chars, newline_chars) {\n var result = this._create();\n result.__set_whitespace_patt erns(whitespace_chars, newline_chars);\n result._update();\n return result;\n} ;\n\nWhitespacePattern.prototype._create = function() {\n return new Whitespace Pattern(this._input, this);\n};\n\nWhitespacePattern.prototype.__split = functio n(regexp, input_string) {\n regexp.lastIndex = 0;\n var start_index = 0;\n va r result = [];\n var next_match = regexp.exec(input_string);\n while (next_mat ch) {\n result.push(input_string.substring(start_index, next_match.index));\n start_index = next_match.index + next_match[0].length;\n next_match = reg exp.exec(input_string);\n }\n\n if (start_index < input_string.length) {\n result.push(input_string.substring(start_index, input_string.length));\n } else {\n result.push('');\n }\n\n return result;\n};\n\n\n\nmodule.exports.Whit espacePattern = WhitespacePattern;\n","/*jshint node:true */\n/*\n\n The MIT Li cense (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contr ibutors.\n\n Permission is hereby granted, free of charge, to any person\n obt aining a copy of this software and associated documentation files\n (the \"Soft ware\"), to deal in the Software without restriction,\n including without limit ation the rights to use, copy, modify, merge,\n publish, distribute, sublicense , and/or sell copies of the Software,\n and to permit persons to whom the Softw are is furnished to do so,\n subject to the following conditions:\n\n The abov e copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\ ", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITE D TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\ n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIA BLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRA CT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWAR E OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar O ptions = require('./options').Options;\nvar Output = require('../core/output').O utput;\nvar InputScanner = require('../core/inputscanner').InputScanner;\nvar Di rectives = require('../core/directives').Directives;\n\nvar directives_core = ne w Directives(/\\/\\*/, /\\*\\//);\n\nvar lineBreak = /\\r\\n|[\\r\\n]/;\nvar all LineBreaks = /\\r\\n|[\\r\\n]/g;\n\n// tokenizer\nvar whitespaceChar = /\\s/;\nv ar whitespacePattern = /(?:\\s|\\n)+/g;\nvar block_comment_pattern = /\\/\\*(?:[ \\s\\S]*?)((?:\\*\\/)|$)/g;\nvar comment_pattern = /\\/\\/(?:[^\\n\\r\\u2028\\u2 029]*)/g;\n\nfunction Beautifier(source_text, options) {\n this._source_text = source_text || '';\n // Allow the setting of language/file-type specific option s\n // with inheritance of overall settings\n this._options = new Options(opti ons);\n this._ch = null;\n this._input = null;\n\n // https://developer.mozil la.org/en-US/docs/Web/CSS/At-rule\n this.NESTED_AT_RULE = {\n \"@page\": tru e,\n \"@font-face\": true,\n \"@keyframes\": true,\n // also in CONDITI ONAL_GROUP_RULE below\n \"@media\": true,\n \"@supports\": true,\n \"@d ocument\": true\n };\n this.CONDITIONAL_GROUP_RULE = {\n \"@media\": true,\ n \"@supports\": true,\n \"@document\": true\n };\n this.NON_SEMICOLON_N EWLINE_PROPERTY = [\n \"grid-template-areas\",\n \"grid-template\"\n ];\n \n}\n\nBeautifier.prototype.eatString = function(endChars) {\n var result = ''; \n this._ch = this._input.next();\n while (this._ch) {\n result += this._ch ;\n if (this._ch === \"\\\\\") {\n result += this._input.next();\n } else if (endChars.indexOf(this._ch) !== -1 || this._ch === \"\\n\") {\n bre ak;\n }\n this._ch = this._input.next();\n }\n return result;\n};\n\n// Skips any white space in the source text from the current position.\n// When all owAtLeastOneNewLine is true, will output new lines for each\n// newline characte r found; if the user has preserve_newlines off, only\n// the first newline will be output\nBeautifier.prototype.eatWhitespace = function(allowAtLeastOneNewLine) {\n var result = whitespaceChar.test(this._input.peek());\n var newline_count = 0;\n while (whitespaceChar.test(this._input.peek())) {\n this._ch = this. _input.next();\n if (allowAtLeastOneNewLine && this._ch === '\\n') {\n i f (newline_count === 0 || newline_count < this._options.max_preserve_newlines) { \n newline_count++;\n this._output.add_new_line(true);\n }\n }\n }\n return result;\n};\n\n// Nested pseudo-class if we are insideRule\n // and the next special character found opens\n// a new block\nBeautifier.protot ype.foundNestedPseudoClass = function() {\n var openParen = 0;\n var i = 1;\n var ch = this._input.peek(i);\n while (ch) {\n if (ch === \"{\") {\n r eturn true;\n } else if (ch === '(') {\n // pseudoclasses can contain () \n openParen += 1;\n } else if (ch === ')') {\n if (openParen === 0 ) {\n return false;\n }\n openParen -= 1;\n } else if (ch == = \";\" || ch === \"}\") {\n return false;\n }\n i++;\n ch = this. _input.peek(i);\n }\n return false;\n};\n\nBeautifier.prototype.print_string = function(output_string) {\n this._output.set_indent(this._indentLevel);\n thi s._output.non_breaking_space = true;\n this._output.add_token(output_string);\n };\n\nBeautifier.prototype.preserveSingleSpace = function(isAfterSpace) {\n if (isAfterSpace) {\n this._output.space_before_token = true;\n }\n};\n\nBeauti fier.prototype.indent = function() {\n this._indentLevel++;\n};\n\nBeautifier.p rototype.outdent = function() {\n if (this._indentLevel > 0) {\n this._inden tLevel--;\n }\n};\n\n/*_____________________--------------------_______________ ______*/\n\nBeautifier.prototype.beautify = function() {\n if (this._options.di sabled) {\n return this._source_text;\n }\n\n var source_text = this._sourc e_text;\n var eol = this._options.eol;\n if (eol === 'auto') {\n eol = '\\n ';\n if (source_text && lineBreak.test(source_text || '')) {\n eol = sou rce_text.match(lineBreak)[0];\n }\n }\n\n\n // HACK: newline parsing incons istent. This brute force normalizes the this._input.\n source_text = source_tex t.replace(allLineBreaks, '\\n');\n\n // reset\n var baseIndentString = source_ text.match(/^[\\t ]*/)[0];\n\n this._output = new Output(this._options, baseInd entString);\n this._input = new InputScanner(source_text);\n this._indentLevel = 0;\n this._nestedLevel = 0;\n\n this._ch = null;\n var parenLevel = 0;\n\n var insideRule = false;\n // This is the value side of a property value pair (blue in the following ex)\n // label { content: blue }\n var insidePropertyVa lue = false;\n var enteringConditionalGroup = false;\n var insideAtExtend = fa lse;\n var insideAtImport = false;\n var insideScssMap = false;\n var topChar acter = this._ch;\n var insideNonSemiColonValues = false;\n var whitespace;\n var isAfterSpace;\n var previous_ch;\n\n while (true) {\n whitespace = thi s._input.read(whitespacePattern);\n isAfterSpace = whitespace !== '';\n pr evious_ch = topCharacter;\n this._ch = this._input.next();\n if (this._ch === '\\\\' && this._input.hasNext()) {\n this._ch += this._input.next();\n }\n topCharacter = this._ch;\n\n if (!this._ch) {\n break;\n } else if (this._ch === '/' && this._input.peek() === '*') {\n // /* css comm ent */\n // Always start block comments on a new line.\n // This handl es scenarios where a block comment immediately\n // follows a property defi nition on the same line or where\n // minified code is being beautified.\n this._output.add_new_line();\n this._input.back();\n\n var commen t = this._input.read(block_comment_pattern);\n\n // Handle ignore directive \n var directives = directives_core.get_directives(comment);\n if (dir ectives && directives.ignore === 'start') {\n comment += directives_core. readIgnored(this._input);\n }\n\n this.print_string(comment);\n\n // Ensures any new lines following the comment are preserved\n this.eatWhi tespace(true);\n\n // Block comments are followed by a new line so they don 't\n // share a line with other properties\n this._output.add_new_line ();\n } else if (this._ch === '/' && this._input.peek() === '/') {\n // // single line comment\n // Preserves the space before a comment\n // on the same line as a rule\n this._output.space_before_token = true;\n this._input.back();\n this.print_string(this._input.read(comment_pattern)) ;\n\n // Ensures any new lines following the comment are preserved\n t his.eatWhitespace(true);\n } else if (this._ch === '@' || this._ch === '$') { \n this.preserveSingleSpace(isAfterSpace);\n\n // deal with less prope ry mixins @{...}\n if (this._input.peek() === '{') {\n this.print_st ring(this._ch + this.eatString('}'));\n } else {\n this.print_string (this._ch);\n\n // strip trailing space, if present, for hash property ch ecks\n var variableOrRule = this._input.peekUntilAfter(/[: ,;{}()[\\]\\/= '\"]/g);\n\n if (variableOrRule.match(/[ :]$/)) {\n // we have a variable or pseudo-class, add it and insert one space before continuing\n variableOrRule = this.eatString(\": \").replace(/\\s$/, '');\n this .print_string(variableOrRule);\n this._output.space_before_token = true ;\n }\n\n variableOrRule = variableOrRule.replace(/\\s$/, '');\n\n if (variableOrRule === 'extend') {\n insideAtExtend = true;\n } else if (variableOrRule === 'import') {\n insideAtImport = true ;\n }\n\n // might be a nesting at-rule\n if (variableOrRul e in this.NESTED_AT_RULE) {\n this._nestedLevel += 1;\n if (va riableOrRule in this.CONDITIONAL_GROUP_RULE) {\n enteringConditionalG roup = true;\n }\n // might be less variable\n } else i f (!insideRule && parenLevel === 0 && variableOrRule.indexOf(':') !== -1) {\n insidePropertyValue = true;\n this.indent();\n }\n } \n } else if (this._ch === '#' && this._input.peek() === '{') {\n this.p reserveSingleSpace(isAfterSpace);\n this.print_string(this._ch + this.eatSt ring('}'));\n } else if (this._ch === '{') {\n if (insidePropertyValue) {\n insidePropertyValue = false;\n this.outdent();\n }\n\n // when entering conditional groups, only rulesets are allowed\n if (ent eringConditionalGroup) {\n enteringConditionalGroup = false;\n ins ideRule = (this._indentLevel >= this._nestedLevel);\n } else {\n // otherwise, declarations are also allowed\n insideRule = (this._indentLeve l >= this._nestedLevel - 1);\n }\n if (this._options.newline_between_r ules && insideRule) {\n if (this._output.previous_line && this._output.pr evious_line.item(-1) !== '{') {\n this._output.ensure_empty_line_above( '/', ',');\n }\n }\n\n this._output.space_before_token = true;\ n\n // The difference in print_string and indent order is necessary to inde nt the '{' correctly\n if (this._options.brace_style === 'expand') {\n this._output.add_new_line();\n this.print_string(this._ch);\n t his.indent();\n this._output.set_indent(this._indentLevel);\n } else {\n // inside mixin and first param is object\n if (previous_ch = == '(') {\n this._output.space_before_token = false;\n } else if (previous_ch !== ',') {\n this.indent();\n }\n this.prin t_string(this._ch);\n }\n\n this.eatWhitespace(true);\n this._out put.add_new_line();\n } else if (this._ch === '}') {\n this.outdent();\n this._output.add_new_line();\n if (previous_ch === '{') {\n th is._output.trim(true);\n }\n insideAtImport = false;\n insideAtEx tend = false;\n if (insidePropertyValue) {\n this.outdent();\n insidePropertyValue = false;\n }\n this.print_string(this._ch);\n insideRule = false;\n if (this._nestedLevel) {\n this._nestedLeve l--;\n }\n\n this.eatWhitespace(true);\n this._output.add_new_lin e();\n\n if (this._options.newline_between_rules && !this._output.just_adde d_blankline()) {\n if (this._input.peek() !== '}') {\n this._out put.add_new_line(true);\n }\n }\n if (this._input.peek() === ') ') {\n this._output.trim(true);\n if (this._options.brace_style == = \"expand\") {\n this._output.add_new_line(true);\n }\n }\ n } else if (this._ch === \":\") {\n\n for (var i = 0; i < this.NON_SEMI COLON_NEWLINE_PROPERTY.length; i++) {\n if (this._input.lookBack(this.NON _SEMICOLON_NEWLINE_PROPERTY[i])) {\n insideNonSemiColonValues = true;\n break;\n }\n }\n\n if ((insideRule || enteringConditi onalGroup) && !(this._input.lookBack(\"&\") || this.foundNestedPseudoClass()) && !this._input.lookBack(\"(\") && !insideAtExtend && parenLevel === 0) {\n // 'property: value' delimiter\n // which could be in a conditional grou p query\n this.print_string(':');\n if (!insidePropertyValue) {\n insidePropertyValue = true;\n this._output.space_before_token = true;\n this.eatWhitespace(true);\n this.indent();\n }\n } else {\n // sass/less parent reference don't use a space\n // sass nested pseudo-class don't use a space\n\n // preserve space b efore pseudoclasses/pseudoelements, as it means \"in any child\"\n if (th is._input.lookBack(\" \")) {\n this._output.space_before_token = true;\ n }\n if (this._input.peek() === \":\") {\n // pseudo-ele ment\n this._ch = this._input.next();\n this.print_string(\":: \");\n } else {\n // pseudo-class\n this.print_string(' :');\n }\n }\n } else if (this._ch === '\"' || this._ch === '\\'' ) {\n var preserveQuoteSpace = previous_ch === '\"' || previous_ch === '\\' ';\n this.preserveSingleSpace(preserveQuoteSpace || isAfterSpace);\n t his.print_string(this._ch + this.eatString(this._ch));\n this.eatWhitespace (true);\n } else if (this._ch === ';') {\n insideNonSemiColonValues = fa lse;\n if (parenLevel === 0) {\n if (insidePropertyValue) {\n this.outdent();\n insidePropertyValue = false;\n }\n i nsideAtExtend = false;\n insideAtImport = false;\n this.print_stri ng(this._ch);\n this.eatWhitespace(true);\n\n // This maintains si ngle line comments on the same\n // line. Block comments are also affecte d, but\n // a new line is always output before one inside\n // tha t section\n if (this._input.peek() !== '/') {\n this._output.add _new_line();\n }\n } else {\n this.print_string(this._ch);\n this.eatWhitespace(true);\n this._output.space_before_token = true ;\n }\n } else if (this._ch === '(') { // may be a url\n if (this._ input.lookBack(\"url\")) {\n this.print_string(this._ch);\n this.e atWhitespace();\n parenLevel++;\n this.indent();\n this._ch = this._input.next();\n if (this._ch === ')' || this._ch === '\"' || thi s._ch === '\\'') {\n this._input.back();\n } else if (this._ch) {\n this.print_string(this._ch + this.eatString(')'));\n if (p arenLevel) {\n parenLevel--;\n this.outdent();\n }\n }\n } else {\n var space_needed = false;\n if (thi s._input.lookBack(\"with\")) {\n // look back is not an accurate soluti on, we need tokens to confirm without whitespaces\n space_needed = true ;\n }\n this.preserveSingleSpace(isAfterSpace || space_needed);\n this.print_string(this._ch);\n\n // handle scss/sass map\n if (insidePropertyValue && previous_ch === \"$\" && this._options.selector_separ ator_newline) {\n this._output.add_new_line();\n insideScssMap = true;\n } else {\n this.eatWhitespace();\n parenLeve l++;\n this.indent();\n }\n }\n } else if (this._ch === ')') {\n if (parenLevel) {\n parenLevel--;\n this.outdent();\ n }\n if (insideScssMap && this._input.peek() === \";\" && this._optio ns.selector_separator_newline) {\n insideScssMap = false;\n this.o utdent();\n this._output.add_new_line();\n }\n this.print_strin g(this._ch);\n } else if (this._ch === ',') {\n this.print_string(this._ ch);\n this.eatWhitespace(true);\n if (this._options.selector_separato r_newline && (!insidePropertyValue || insideScssMap) && parenLevel === 0 && !ins ideAtImport && !insideAtExtend) {\n this._output.add_new_line();\n } else {\n this._output.space_before_token = true;\n }\n } else if ((this._ch === '>' || this._ch === '+' || this._ch === '~') && !insidePropertyV alue && parenLevel === 0) {\n //handle combinator spacing\n if (this._ options.space_around_combinator) {\n this._output.space_before_token = tr ue;\n this.print_string(this._ch);\n this._output.space_before_tok en = true;\n } else {\n this.print_string(this._ch);\n this.e atWhitespace();\n // squash extra whitespace\n if (this._ch && whi tespaceChar.test(this._ch)) {\n this._ch = '';\n }\n }\n } else if (this._ch === ']') {\n this.print_string(this._ch);\n } else if (this._ch === '[') {\n this.preserveSingleSpace(isAfterSpace);\n th is.print_string(this._ch);\n } else if (this._ch === '=') { // no whitespace before or after\n this.eatWhitespace();\n this.print_string('=');\n if (whitespaceChar.test(this._ch)) {\n this._ch = '';\n }\n } else if (this._ch === '!' && !this._input.lookBack(\"\\\\\")) { // !important\n this._output.space_before_token = true;\n this.print_string(this._ch); \n } else {\n var preserveAfterSpace = previous_ch === '\"' || previous_ ch === '\\'';\n this.preserveSingleSpace(preserveAfterSpace || isAfterSpace );\n this.print_string(this._ch);\n\n if (!this._output.just_added_new line() && this._input.peek() === '\\n' && insideNonSemiColonValues) {\n t his._output.add_new_line();\n }\n }\n }\n\n var sweetCode = this._outp ut.get_code(eol);\n\n return sweetCode;\n};\n\nmodule.exports.Beautifier = Beau tifier;\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this softw are and associated documentation files\n (the \"Software\"), to deal in the Sof tware without restriction,\n including without limitation the rights to use, co py, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\ n subject to the following conditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n M ERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO E VENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARIS ING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALI NGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar Beautifier = require('./beau tifier').Beautifier,\n Options = require('./options').Options;\n\nfunction css_ beautify(source_text, options) {\n var beautifier = new Beautifier(source_text, options);\n return beautifier.beautify();\n}\n\nmodule.exports = css_beautify; \nmodule.exports.defaultOptions = function() {\n return new Options();\n};\n"," /*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-201 8 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby gran ted, free of charge, to any person\n obtaining a copy of this software and asso ciated documentation files\n (the \"Software\"), to deal in the Software withou t restriction,\n including without limitation the rights to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject t o the following conditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Softwar e.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXP RESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILI TY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL T HE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIA BILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OU T OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar BaseOptions = require('../core/options') .Options;\n\nfunction Options(options) {\n BaseOptions.call(this, options, 'css ');\n\n this.selector_separator_newline = this._get_boolean('selector_separator _newline', true);\n this.newline_between_rules = this._get_boolean('newline_bet ween_rules', true);\n var space_around_selector_separator = this._get_boolean(' space_around_selector_separator');\n this.space_around_combinator = this._get_b oolean('space_around_combinator') || space_around_selector_separator;\n\n var b race_style_split = this._get_selection_list('brace_style', ['collapse', 'expand' , 'end-expand', 'none', 'preserve-inline']);\n this.brace_style = 'collapse';\n for (var bs = 0; bs < brace_style_split.length; bs++) {\n if (brace_style_s plit[bs] !== 'expand') {\n // default to collapse, as only collapse|expand is implemented for now\n this.brace_style = 'collapse';\n } else {\n this.brace_style = brace_style_split[bs];\n }\n }\n}\nOptions.prototype = new BaseOptions();\n\n\n\nmodule.exports.Options = Options;\n","/*jshint node:tr ue */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmani s, Liam Newman, and contributors.\n\n Permission is hereby granted, free of cha rge, to any person\n obtaining a copy of this software and associated documenta tion files\n (the \"Software\"), to deal in the Software without restriction,\n including without limitation the rights to use, copy, modify, merge,\n publis h, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n The above copyright notice and this permission notice shall be\ n included in all copies or substantial portions of the Software.\n\n THE SOFT WARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR CO PYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CO NNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\ n\n'use strict';\n\nvar Options = require('../html/options').Options;\nvar Outpu t = require('../core/output').Output;\nvar Tokenizer = require('../html/tokenize r').Tokenizer;\nvar TOKEN = require('../html/tokenizer').TOKEN;\n\nvar lineBreak = /\\r\\n|[\\r\\n]/;\nvar allLineBreaks = /\\r\\n|[\\r\\n]/g;\n\nvar Printer = function(options, base_indent_string) { //handles input/output and some other pr inting functions\n\n this.indent_level = 0;\n this.alignment_size = 0;\n this .max_preserve_newlines = options.max_preserve_newlines;\n this.preserve_newline s = options.preserve_newlines;\n\n this._output = new Output(options, base_inde nt_string);\n\n};\n\nPrinter.prototype.current_line_has_match = function(pattern ) {\n return this._output.current_line.has_match(pattern);\n};\n\nPrinter.proto type.set_space_before_token = function(value, non_breaking) {\n this._output.sp ace_before_token = value;\n this._output.non_breaking_space = non_breaking;\n}; \n\nPrinter.prototype.set_wrap_point = function() {\n this._output.set_indent(t his.indent_level, this.alignment_size);\n this._output.set_wrap_point();\n};\n\ n\nPrinter.prototype.add_raw_token = function(token) {\n this._output.add_raw_t oken(token);\n};\n\nPrinter.prototype.print_preserved_newlines = function(raw_to ken) {\n var newlines = 0;\n if (raw_token.type !== TOKEN.TEXT && raw_token.pr evious.type !== TOKEN.TEXT) {\n newlines = raw_token.newlines ? 1 : 0;\n }\n \n if (this.preserve_newlines) {\n newlines = raw_token.newlines < this.max_ preserve_newlines + 1 ? raw_token.newlines : this.max_preserve_newlines + 1;\n }\n for (var n = 0; n < newlines; n++) {\n this.print_newline(n > 0);\n }\n \n return newlines !== 0;\n};\n\nPrinter.prototype.traverse_whitespace = functi on(raw_token) {\n if (raw_token.whitespace_before || raw_token.newlines) {\n if (!this.print_preserved_newlines(raw_token)) {\n this._output.space_befo re_token = true;\n }\n return true;\n }\n return false;\n};\n\nPrinter.p rototype.previous_token_wrapped = function() {\n return this._output.previous_t oken_wrapped;\n};\n\nPrinter.prototype.print_newline = function(force) {\n this ._output.add_new_line(force);\n};\n\nPrinter.prototype.print_token = function(to ken) {\n if (token.text) {\n this._output.set_indent(this.indent_level, this .alignment_size);\n this._output.add_token(token.text);\n }\n};\n\nPrinter.p rototype.indent = function() {\n this.indent_level++;\n};\n\nPrinter.prototype. get_full_indent = function(level) {\n level = this.indent_level + (level || 0); \n if (level < 1) {\n return '';\n }\n\n return this._output.get_indent_st ring(level);\n};\n\nvar get_type_attribute = function(start_token) {\n var resu lt = null;\n var raw_token = start_token.next;\n\n // Search attributes for a type attribute\n while (raw_token.type !== TOKEN.EOF && start_token.closed !== raw_token) {\n if (raw_token.type === TOKEN.ATTRIBUTE && raw_token.text === ' type') {\n if (raw_token.next && raw_token.next.type === TOKEN.EQUALS &&\n raw_token.next.next && raw_token.next.next.type === TOKEN.VALUE) {\n result = raw_token.next.next.text;\n }\n break;\n }\n raw_tok en = raw_token.next;\n }\n\n return result;\n};\n\nvar get_custom_beautifier_n ame = function(tag_check, raw_token) {\n var typeAttribute = null;\n var resul t = null;\n\n if (!raw_token.closed) {\n return null;\n }\n\n if (tag_chec k === 'script') {\n typeAttribute = 'text/javascript';\n } else if (tag_chec k === 'style') {\n typeAttribute = 'text/css';\n }\n\n typeAttribute = get_ type_attribute(raw_token) || typeAttribute;\n\n // For script and style tags th at have a type attribute, only enable custom beautifiers for matching values\n // For those without a type attribute use default;\n if (typeAttribute.search(' text/css') > -1) {\n result = 'css';\n } else if (typeAttribute.search(/modu le|((text|application|dojo)\\/(x-)?(javascript|ecmascript|jscript|livescript|(ld \\+)?json|method|aspect))/) > -1) {\n result = 'javascript';\n } else if (ty peAttribute.search(/(text|application|dojo)\\/(x-)?(html)/) > -1) {\n result = 'html';\n } else if (typeAttribute.search(/test\\/null/) > -1) {\n // Test only mime-type for testing the beautifier when null is passed as beautifing fun ction\n result = 'null';\n }\n\n return result;\n};\n\nfunction in_array(wh at, arr) {\n return arr.indexOf(what) !== -1;\n}\n\nfunction TagFrame(parent, p arser_token, indent_level) {\n this.parent = parent || null;\n this.tag = pars er_token ? parser_token.tag_name : '';\n this.indent_level = indent_level || 0; \n this.parser_token = parser_token || null;\n}\n\nfunction TagStack(printer) { \n this._printer = printer;\n this._current_frame = null;\n}\n\nTagStack.proto type.get_parser_token = function() {\n return this._current_frame ? this._curre nt_frame.parser_token : null;\n};\n\nTagStack.prototype.record_tag = function(pa rser_token) { //function to record a tag and its parent in this.tags Object\n v ar new_frame = new TagFrame(this._current_frame, parser_token, this._printer.ind ent_level);\n this._current_frame = new_frame;\n};\n\nTagStack.prototype._try_p op_frame = function(frame) { //function to retrieve the opening tag to the corre sponding closer\n var parser_token = null;\n\n if (frame) {\n parser_token = frame.parser_token;\n this._printer.indent_level = frame.indent_level;\n this._current_frame = frame.parent;\n }\n\n return parser_token;\n};\n\nTagSt ack.prototype._get_frame = function(tag_list, stop_list) { //function to retriev e the opening tag to the corresponding closer\n var frame = this._current_frame ;\n\n while (frame) { //till we reach '' (the initial value);\n if (tag_list .indexOf(frame.tag) !== -1) { //if this is it use it\n break;\n } else i f (stop_list && stop_list.indexOf(frame.tag) !== -1) {\n frame = null;\n break;\n }\n frame = frame.parent;\n }\n\n return frame;\n};\n\nTagSt ack.prototype.try_pop = function(tag, stop_list) { //function to retrieve the op ening tag to the corresponding closer\n var frame = this._get_frame([tag], stop _list);\n return this._try_pop_frame(frame);\n};\n\nTagStack.prototype.indent_t o_tag = function(tag_list) {\n var frame = this._get_frame(tag_list);\n if (fr ame) {\n this._printer.indent_level = frame.indent_level;\n }\n};\n\nfunctio n Beautifier(source_text, options, js_beautify, css_beautify) {\n //Wrapper fun ction to invoke all the necessary constructors and deal with the output.\n this ._source_text = source_text || '';\n options = options || {};\n this._js_beaut ify = js_beautify;\n this._css_beautify = css_beautify;\n this._tag_stack = nu ll;\n\n // Allow the setting of language/file-type specific options\n // with inheritance of overall settings\n var optionHtml = new Options(options, 'html') ;\n\n this._options = optionHtml;\n\n this._is_wrap_attributes_force = this._o ptions.wrap_attributes.substr(0, 'force'.length) === 'force';\n this._is_wrap_a ttributes_force_expand_multiline = (this._options.wrap_attributes === 'force-exp and-multiline');\n this._is_wrap_attributes_force_aligned = (this._options.wrap _attributes === 'force-aligned');\n this._is_wrap_attributes_aligned_multiple = (this._options.wrap_attributes === 'aligned-multiple');\n this._is_wrap_attrib utes_preserve = this._options.wrap_attributes.substr(0, 'preserve'.length) === ' preserve';\n this._is_wrap_attributes_preserve_aligned = (this._options.wrap_at tributes === 'preserve-aligned');\n}\n\nBeautifier.prototype.beautify = function () {\n\n // if disabled, return the input unchanged.\n if (this._options.disab led) {\n return this._source_text;\n }\n\n var source_text = this._source_t ext;\n var eol = this._options.eol;\n if (this._options.eol === 'auto') {\n eol = '\\n';\n if (source_text && lineBreak.test(source_text)) {\n eol = source_text.match(lineBreak)[0];\n }\n }\n\n // HACK: newline parsing inc onsistent. This brute force normalizes the input.\n source_text = source_text.r eplace(allLineBreaks, '\\n');\n\n var baseIndentString = source_text.match(/^[\ \t ]*/)[0];\n\n var last_token = {\n text: '',\n type: ''\n };\n\n var last_tag_token = new TagOpenParserToken();\n\n var printer = new Printer(this._ options, baseIndentString);\n var tokens = new Tokenizer(source_text, this._opt ions).tokenize();\n\n this._tag_stack = new TagStack(printer);\n\n var parser_ token = null;\n var raw_token = tokens.next();\n while (raw_token.type !== TOK EN.EOF) {\n\n if (raw_token.type === TOKEN.TAG_OPEN || raw_token.type === TOK EN.COMMENT) {\n parser_token = this._handle_tag_open(printer, raw_token, la st_tag_token, last_token);\n last_tag_token = parser_token;\n } else if ((raw_token.type === TOKEN.ATTRIBUTE || raw_token.type === TOKEN.EQUALS || raw_t oken.type === TOKEN.VALUE) ||\n (raw_token.type === TOKEN.TEXT && !last_tag _token.tag_complete)) {\n parser_token = this._handle_inside_tag(printer, r aw_token, last_tag_token, tokens);\n } else if (raw_token.type === TOKEN.TAG_ CLOSE) {\n parser_token = this._handle_tag_close(printer, raw_token, last_t ag_token);\n } else if (raw_token.type === TOKEN.TEXT) {\n parser_token = this._handle_text(printer, raw_token, last_tag_token);\n } else {\n // This should never happen, but if it does. Print the raw token\n printer.ad d_raw_token(raw_token);\n }\n\n last_token = parser_token;\n\n raw_toke n = tokens.next();\n }\n var sweet_code = printer._output.get_code(eol);\n\n return sweet_code;\n};\n\nBeautifier.prototype._handle_tag_close = function(prin ter, raw_token, last_tag_token) {\n var parser_token = {\n text: raw_token.t ext,\n type: raw_token.type\n };\n printer.alignment_size = 0;\n last_tag_ token.tag_complete = true;\n\n printer.set_space_before_token(raw_token.newline s || raw_token.whitespace_before !== '', true);\n if (last_tag_token.is_unforma tted) {\n printer.add_raw_token(raw_token);\n } else {\n if (last_tag_tok en.tag_start_char === '<') {\n printer.set_space_before_token(raw_token.tex t[0] === '/', true); // space before />, no space before >\n if (this._is_w rap_attributes_force_expand_multiline && last_tag_token.has_wrapped_attrs) {\n printer.print_newline(false);\n }\n }\n printer.print_token(raw _token);\n\n }\n\n if (last_tag_token.indent_content &&\n !(last_tag_token. is_unformatted || last_tag_token.is_content_unformatted)) {\n printer.indent( );\n\n // only indent once per opened tag\n last_tag_token.indent_content = false;\n }\n\n if (!last_tag_token.is_inline_element &&\n !(last_tag_toke n.is_unformatted || last_tag_token.is_content_unformatted)) {\n printer.set_w rap_point();\n }\n\n return parser_token;\n};\n\nBeautifier.prototype._handle_ inside_tag = function(printer, raw_token, last_tag_token, tokens) {\n var wrapp ed = last_tag_token.has_wrapped_attrs;\n var parser_token = {\n text: raw_to ken.text,\n type: raw_token.type\n };\n\n printer.set_space_before_token(ra w_token.newlines || raw_token.whitespace_before !== '', true);\n if (last_tag_t oken.is_unformatted) {\n printer.add_raw_token(raw_token);\n } else if (last _tag_token.tag_start_char === '{' && raw_token.type === TOKEN.TEXT) {\n // Fo r the insides of handlebars allow newlines or a single space between open and co ntents\n if (printer.print_preserved_newlines(raw_token)) {\n raw_token. newlines = 0;\n printer.add_raw_token(raw_token);\n } else {\n prin ter.print_token(raw_token);\n }\n } else {\n if (raw_token.type === TOKEN .ATTRIBUTE) {\n printer.set_space_before_token(true);\n last_tag_token .attr_count += 1;\n } else if (raw_token.type === TOKEN.EQUALS) { //no space before =\n printer.set_space_before_token(false);\n } else if (raw_token .type === TOKEN.VALUE && raw_token.previous.type === TOKEN.EQUALS) { //no space before value\n printer.set_space_before_token(false);\n }\n\n if (raw _token.type === TOKEN.ATTRIBUTE && last_tag_token.tag_start_char === '<') {\n if (this._is_wrap_attributes_preserve || this._is_wrap_attributes_preserve_al igned) {\n printer.traverse_whitespace(raw_token);\n wrapped = wra pped || raw_token.newlines !== 0;\n }\n\n\n if (this._is_wrap_attribut es_force) {\n var force_attr_wrap = last_tag_token.attr_count > 1;\n if (this._is_wrap_attributes_force_expand_multiline && last_tag_token.attr_co unt === 1) {\n var is_only_attribute = true;\n var peek_index = 0;\n var peek_token;\n do {\n peek_token = tokens .peek(peek_index);\n if (peek_token.type === TOKEN.ATTRIBUTE) {\n is_only_attribute = false;\n break;\n }\n peek_index += 1;\n } while (peek_index < 4 && peek_token.type != = TOKEN.EOF && peek_token.type !== TOKEN.TAG_CLOSE);\n\n force_attr_wra p = !is_only_attribute;\n }\n\n if (force_attr_wrap) {\n printer.print_newline(false);\n wrapped = true;\n }\n }\n }\n printer.print_token(raw_token);\n wrapped = wrapped || printer.previ ous_token_wrapped();\n last_tag_token.has_wrapped_attrs = wrapped;\n }\n re turn parser_token;\n};\n\nBeautifier.prototype._handle_text = function(printer, raw_token, last_tag_token) {\n var parser_token = {\n text: raw_token.text,\ n type: 'TK_CONTENT'\n };\n if (last_tag_token.custom_beautifier_name) { // check if we need to format javascript\n this._print_custom_beatifier_text(pri nter, raw_token, last_tag_token);\n } else if (last_tag_token.is_unformatted || last_tag_token.is_content_unformatted) {\n printer.add_raw_token(raw_token); \n } else {\n printer.traverse_whitespace(raw_token);\n printer.print_tok en(raw_token);\n }\n return parser_token;\n};\n\nBeautifier.prototype._print_c ustom_beatifier_text = function(printer, raw_token, last_tag_token) {\n var loc al = this;\n if (raw_token.text !== '') {\n\n var text = raw_token.text,\n _beautifier,\n script_indent_level = 1,\n pre = '',\n post = '';\n if (last_tag_token.custom_beautifier_name === 'javascript' && typeof th is._js_beautify === 'function') {\n _beautifier = this._js_beautify;\n } else if (last_tag_token.custom_beautifier_name === 'css' && typeof this._css_be autify === 'function') {\n _beautifier = this._css_beautify;\n } else if (last_tag_token.custom_beautifier_name === 'html') {\n _beautifier = funct ion(html_source, options) {\n var beautifier = new Beautifier(html_source , options, local._js_beautify, local._css_beautify);\n return beautifier. beautify();\n };\n }\n\n if (this._options.indent_scripts === \"keep\ ") {\n script_indent_level = 0;\n } else if (this._options.indent_script s === \"separate\") {\n script_indent_level = -printer.indent_level;\n } \n\n var indentation = printer.get_full_indent(script_indent_level);\n\n / / if there is at least one empty line at the end of this text, strip it\n // we'll be adding one back after the text but before the containing tag.\n text = text.replace(/\\n[ \\t]*$/, '');\n\n // Handle the case where content is w rapped in a comment or cdata.\n if (last_tag_token.custom_beautifier_name !== 'html' &&\n text[0] === '<' && text.match(/^(<!--|<!\\[CDATA\\[)/)) {\n var matched = /^(<!--[^\\n]*|<!\\[CDATA\\[)(\\n?)([ \\t\\n]*)([\\s\\S]*)(-->| ]]>)$/.exec(text);\n\n // if we start to wrap but don't finish, print raw\n if (!matched) {\n printer.add_raw_token(raw_token);\n return ;\n }\n\n pre = indentation + matched[1] + '\\n';\n text = matche d[4];\n if (matched[5]) {\n post = indentation + matched[5];\n }\n\n // if there is at least one empty line at the end of this text, strip it\n // we'll be adding one back after the text but before the containing tag.\n text = text.replace(/\\n[ \\t]*$/, '');\n\n if (matched[2] || m atched[3].indexOf('\\n') !== -1) {\n // if the first line of the non-comm ent text has spaces\n // use that as the basis for indenting in null case .\n matched = matched[3].match(/[ \\t]+$/);\n if (matched) {\n raw_token.whitespace_before = matched[0];\n }\n }\n }\n\n if (text) {\n if (_beautifier) {\n\n // call the Beautifier if ava liable\n var Child_options = function() {\n this.eol = '\\n';\n };\n Child_options.prototype = this._options.raw_options;\n var child_options = new Child_options();\n text = _beautifier(indentatio n + text, child_options);\n } else {\n // simply indent the string o therwise\n var white = raw_token.whitespace_before;\n if (white) { \n text = text.replace(new RegExp('\\n(' + white + ')?', 'g'), '\\n');\ n }\n\n text = indentation + text.replace(/\\n/g, '\\n' + indentat ion);\n }\n }\n\n if (pre) {\n if (!text) {\n text = pre + post;\n } else {\n text = pre + text + '\\n' + post;\n }\n }\n\n printer.print_newline(false);\n if (text) {\n raw_token.text = text;\n raw_token.whitespace_before = '';\n raw_token.newlines = 0;\n printer.add_raw_token(raw_token);\n printer.print_newline(true);\n }\n }\n};\n\nBeautifier.prototype._handle_tag_open = function(printer, raw_tok en, last_tag_token, last_token) {\n var parser_token = this._get_tag_open_token (raw_token);\n\n if ((last_tag_token.is_unformatted || last_tag_token.is_conten t_unformatted) &&\n !last_tag_token.is_empty_element &&\n raw_token.type = == TOKEN.TAG_OPEN && raw_token.text.indexOf('</') === 0) {\n // End element t ags for unformatted or content_unformatted elements\n // are printed raw to k eep any newlines inside them exactly the same.\n printer.add_raw_token(raw_to ken);\n parser_token.start_tag_token = this._tag_stack.try_pop(parser_token.t ag_name);\n } else {\n printer.traverse_whitespace(raw_token);\n this._se t_tag_position(printer, raw_token, parser_token, last_tag_token, last_token);\n if (!parser_token.is_inline_element) {\n printer.set_wrap_point();\n }\n printer.print_token(raw_token);\n }\n\n //indent attributes an auto, fo rced, aligned or forced-align line-wrap\n if (this._is_wrap_attributes_force_al igned || this._is_wrap_attributes_aligned_multiple || this._is_wrap_attributes_p reserve_aligned) {\n parser_token.alignment_size = raw_token.text.length + 1; \n }\n\n if (!parser_token.tag_complete && !parser_token.is_unformatted) {\n printer.alignment_size = parser_token.alignment_size;\n }\n\n return parser_ token;\n};\n\nvar TagOpenParserToken = function(parent, raw_token) {\n this.par ent = parent || null;\n this.text = '';\n this.type = 'TK_TAG_OPEN';\n this.t ag_name = '';\n this.is_inline_element = false;\n this.is_unformatted = false; \n this.is_content_unformatted = false;\n this.is_empty_element = false;\n th is.is_start_tag = false;\n this.is_end_tag = false;\n this.indent_content = fa lse;\n this.multiline_content = false;\n this.custom_beautifier_name = null;\n this.start_tag_token = null;\n this.attr_count = 0;\n this.has_wrapped_attrs = false;\n this.alignment_size = 0;\n this.tag_complete = false;\n this.tag_ start_char = '';\n this.tag_check = '';\n\n if (!raw_token) {\n this.tag_co mplete = true;\n } else {\n var tag_check_match;\n\n this.tag_start_char = raw_token.text[0];\n this.text = raw_token.text;\n\n if (this.tag_start_ char === '<') {\n tag_check_match = raw_token.text.match(/^<([^\\s>]*)/);\n this.tag_check = tag_check_match ? tag_check_match[1] : '';\n } else {\ n tag_check_match = raw_token.text.match(/^{{~?(?:[\\^]|#\\*?)?([^\\s}]+)/) ;\n this.tag_check = tag_check_match ? tag_check_match[1] : '';\n\n // handle \"{{#> myPartial}}\" or \"{{~#> myPartial}}\"\n if ((raw_token.text .startsWith('{{#>') || raw_token.text.startsWith('{{~#>')) && this.tag_check[0] === '>') {\n if (this.tag_check === '>' && raw_token.next !== null) {\n this.tag_check = raw_token.next.text.split(' ')[0];\n } else {\n this.tag_check = raw_token.text.split('>')[1];\n }\n }\n }\n\n this.tag_check = this.tag_check.toLowerCase();\n\n if (raw_token.ty pe === TOKEN.COMMENT) {\n this.tag_complete = true;\n }\n\n this.is_s tart_tag = this.tag_check.charAt(0) !== '/';\n this.tag_name = !this.is_start _tag ? this.tag_check.substr(1) : this.tag_check;\n this.is_end_tag = !this.i s_start_tag ||\n (raw_token.closed && raw_token.closed.text === '/>');\n\n // if whitespace handler ~ included (i.e. {{~#if true}}), handlebars tags sta rt at pos 3 not pos 2\n var handlebar_starts = 2;\n if (this.tag_start_cha r === '{' && this.text.length >= 3) {\n if (this.text.charAt(2) === '~') {\ n handlebar_starts = 3;\n }\n }\n\n // handlebars tags that do n't start with # or ^ are single_tags, and so also start and end.\n this.is_e nd_tag = this.is_end_tag ||\n (this.tag_start_char === '{' && (this.text.le ngth < 3 || (/[^#\\^]/.test(this.text.charAt(handlebar_starts)))));\n }\n};\n\n Beautifier.prototype._get_tag_open_token = function(raw_token) { //function to g et a full tag and parse its type\n var parser_token = new TagOpenParserToken(th is._tag_stack.get_parser_token(), raw_token);\n\n parser_token.alignment_size = this._options.wrap_attributes_indent_size;\n\n parser_token.is_end_tag = parse r_token.is_end_tag ||\n in_array(parser_token.tag_check, this._options.void_e lements);\n\n parser_token.is_empty_element = parser_token.tag_complete ||\n (parser_token.is_start_tag && parser_token.is_end_tag);\n\n parser_token.is_un formatted = !parser_token.tag_complete && in_array(parser_token.tag_check, this. _options.unformatted);\n parser_token.is_content_unformatted = !parser_token.is _empty_element && in_array(parser_token.tag_check, this._options.content_unforma tted);\n parser_token.is_inline_element = in_array(parser_token.tag_name, this. _options.inline) || parser_token.tag_start_char === '{';\n\n return parser_toke n;\n};\n\nBeautifier.prototype._set_tag_position = function(printer, raw_token, parser_token, last_tag_token, last_token) {\n\n if (!parser_token.is_empty_elem ent) {\n if (parser_token.is_end_tag) { //this tag is a double tag so check f or tag-ending\n parser_token.start_tag_token = this._tag_stack.try_pop(pars er_token.tag_name); //remove it and all ancestors\n } else { // it's a start- tag\n // check if this tag is starting an element that has optional end ele ment\n // and do an ending needed\n if (this._do_optional_end_element( parser_token)) {\n if (!parser_token.is_inline_element) {\n prin ter.print_newline(false);\n }\n }\n\n this._tag_stack.record_ta g(parser_token); //push it on the tag stack\n\n if ((parser_token.tag_name === 'script' || parser_token.tag_name === 'style') &&\n !(parser_token.is _unformatted || parser_token.is_content_unformatted)) {\n parser_token.cu stom_beautifier_name = get_custom_beautifier_name(parser_token.tag_check, raw_to ken);\n }\n }\n }\n\n if (in_array(parser_token.tag_check, this._optio ns.extra_liners)) { //check if this double needs an extra line\n printer.prin t_newline(false);\n if (!printer._output.just_added_blankline()) {\n pri nter.print_newline(true);\n }\n }\n\n if (parser_token.is_empty_element) { //if this tag name is a single tag type (either in the list or has a closing /)\ n\n // if you hit an else case, reset the indent level if you are inside an:\ n // 'if', 'unless', or 'each' block.\n if (parser_token.tag_start_char == = '{' && parser_token.tag_check === 'else') {\n this._tag_stack.indent_to_t ag(['if', 'unless', 'each']);\n parser_token.indent_content = true;\n // Don't add a newline if opening {{#if}} tag is on the current line\n var foundIfOnCurrentLine = printer.current_line_has_match(/{{#if/);\n if (!foun dIfOnCurrentLine) {\n printer.print_newline(false);\n }\n }\n\n // Don't add a newline before elements that should remain where they are.\n if (parser_token.tag_name === '!--' && last_token.type === TOKEN.TAG_CLOSE &&\n last_tag_token.is_end_tag && parser_token.text.indexOf('\\n') === -1) {\n //Do nothing. Leave comments on same line.\n } else {\n if (!(parse r_token.is_inline_element || parser_token.is_unformatted)) {\n printer.pr int_newline(false);\n }\n this._calcluate_parent_multiline(printer, pa rser_token);\n }\n } else if (parser_token.is_end_tag) { //this tag is a dou ble tag so check for tag-ending\n var do_end_expand = false;\n\n // decidi ng whether a block is multiline should not be this hard\n do_end_expand = par ser_token.start_tag_token && parser_token.start_tag_token.multiline_content;\n do_end_expand = do_end_expand || (!parser_token.is_inline_element &&\n !( last_tag_token.is_inline_element || last_tag_token.is_unformatted) &&\n !(l ast_token.type === TOKEN.TAG_CLOSE && parser_token.start_tag_token === last_tag_ token) &&\n last_token.type !== 'TK_CONTENT'\n );\n\n if (parser_toke n.is_content_unformatted || parser_token.is_unformatted) {\n do_end_expand = false;\n }\n\n if (do_end_expand) {\n printer.print_newline(false); \n }\n } else { // it's a start-tag\n parser_token.indent_content = !pars er_token.custom_beautifier_name;\n\n if (parser_token.tag_start_char === '<') {\n if (parser_token.tag_name === 'html') {\n parser_token.indent_c ontent = this._options.indent_inner_html;\n } else if (parser_token.tag_nam e === 'head') {\n parser_token.indent_content = this._options.indent_head _inner_html;\n } else if (parser_token.tag_name === 'body') {\n pars er_token.indent_content = this._options.indent_body_inner_html;\n }\n }\ n\n if (!(parser_token.is_inline_element || parser_token.is_unformatted) &&\n (last_token.type !== 'TK_CONTENT' || parser_token.is_content_unformatted)) {\n printer.print_newline(false);\n }\n\n this._calcluate_parent_mul tiline(printer, parser_token);\n }\n};\n\nBeautifier.prototype._calcluate_paren t_multiline = function(printer, parser_token) {\n if (parser_token.parent && pr inter._output.just_added_newline() &&\n !((parser_token.is_inline_element || parser_token.is_unformatted) && parser_token.parent.is_inline_element)) {\n p arser_token.parent.multiline_content = true;\n }\n};\n\n//To be used for <p> ta g special case:\nvar p_closers = ['address', 'article', 'aside', 'blockquote', ' details', 'div', 'dl', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1 ', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hr', 'main', 'nav', 'ol', 'p', 'pre' , 'section', 'table', 'ul'];\nvar p_parent_excludes = ['a', 'audio', 'del', 'ins ', 'map', 'noscript', 'video'];\n\nBeautifier.prototype._do_optional_end_element = function(parser_token) {\n var result = null;\n // NOTE: cases of \"if ther e is no more content in the parent element\"\n // are handled automatically by the beautifier.\n // It assumes parent or ancestor close tag closes all childre n.\n // https://www.w3.org/TR/html5/syntax.html#optional-tags\n if (parser_tok en.is_empty_element || !parser_token.is_start_tag || !parser_token.parent) {\n return;\n\n }\n\n if (parser_token.tag_name === 'body') {\n // A head ele ment’s end tag may be omitted if the head element is not immediately followed by a space character or a comment.\n result = result || this._tag_stack.try_pop ('head');\n\n //} else if (parser_token.tag_name === 'body') {\n // DONE: A body element’s end tag may be omitted if the body element is not immediately f ollowed by a comment.\n\n } else if (parser_token.tag_name === 'li') {\n // An li element’s end tag may be omitted if the li element is immediately followed by another li element or if there is no more content in the parent element.\n result = result || this._tag_stack.try_pop('li', ['ol', 'ul']);\n\n } else if (parser_token.tag_name === 'dd' || parser_token.tag_name === 'dt') {\n // A dd element’s end tag may be omitted if the dd element is immediately followed by another dd element or a dt element, or if there is no more content in the paren t element.\n // A dt element’s end tag may be omitted if the dt element is im mediately followed by another dt element or a dd element.\n result = result | | this._tag_stack.try_pop('dt', ['dl']);\n result = result || this._tag_stack .try_pop('dd', ['dl']);\n\n\n } else if (parser_token.parent.tag_name === 'p' & & p_closers.indexOf(parser_token.tag_name) !== -1) {\n // IMPORTANT: this els e-if works because p_closers has no overlap with any other element we look for i n this method\n // check for the parent element is an HTML element that is no t an <a>, <audio>, <del>, <ins>, <map>, <noscript>, or <video> element, or an a utonomous custom element.\n // To do this right, this needs to be coded as an inclusion of the inverse of the exclusion above.\n // But to start with (if we ignore \"autonomous custom elements\") the exclusion would be fine.\n var p_parent = parser_token.parent.parent;\n if (!p_parent || p_parent_excludes.i ndexOf(p_parent.tag_name) === -1) {\n result = result || this._tag_stack.tr y_pop('p');\n }\n } else if (parser_token.tag_name === 'rp' || parser_token. tag_name === 'rt') {\n // An rt element’s end tag may be omitted if the rt el ement is immediately followed by an rt or rp element, or if there is no more con tent in the parent element.\n // An rp element’s end tag may be omitted if th e rp element is immediately followed by an rt or rp element, or if there is no m ore content in the parent element.\n result = result || this._tag_stack.try_p op('rt', ['ruby', 'rtc']);\n result = result || this._tag_stack.try_pop('rp', ['ruby', 'rtc']);\n\n } else if (parser_token.tag_name === 'optgroup') {\n // An optgroup element’s end tag may be omitted if the optgroup element is immed iately followed by another optgroup element, or if there is no more content in t he parent element.\n // An option element’s end tag may be omitted if the opt ion element is immediately followed by another option element, or if it is immed iately followed by an optgroup element, or if there is no more content in the pa rent element.\n result = result || this._tag_stack.try_pop('optgroup', ['sele ct']);\n //result = result || this._tag_stack.try_pop('option', ['select']);\ n\n } else if (parser_token.tag_name === 'option') {\n // An option element’ s end tag may be omitted if the option element is immediately followed by anothe r option element, or if it is immediately followed by an optgroup element, or if there is no more content in the parent element.\n result = result || this._t ag_stack.try_pop('option', ['select', 'datalist', 'optgroup']);\n\n } else if ( parser_token.tag_name === 'colgroup') {\n // DONE: A colgroup element’s end t ag may be omitted if the colgroup element is not immediately followed by a space character or a comment.\n // A caption element's end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr element is started.\n result = result || this._tag_stack.try_pop('caption', ['table']);\n\n } else if (parser_token.t ag_name === 'thead') {\n // A colgroup element's end tag may be ommitted if a thead, tfoot, tbody, or tr element is started.\n // A caption element's end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr element is started .\n result = result || this._tag_stack.try_pop('caption', ['table']);\n re sult = result || this._tag_stack.try_pop('colgroup', ['table']);\n\n //} else if (parser_token.tag_name === 'caption') {\n // DONE: A caption element’s en d tag may be omitted if the caption element is not immediately followed by a spa ce character or a comment.\n\n } else if (parser_token.tag_name === 'tbody' || parser_token.tag_name === 'tfoot') {\n // A thead element’s end tag may be om itted if the thead element is immediately followed by a tbody or tfoot element.\ n // A tbody element’s end tag may be omitted if the tbody element is immedia tely followed by a tbody or tfoot element, or if there is no more content in the parent element.\n // A colgroup element's end tag may be ommitted if a thead , tfoot, tbody, or tr element is started.\n // A caption element's end tag ma y be ommitted if a colgroup, thead, tfoot, tbody, or tr element is started.\n result = result || this._tag_stack.try_pop('caption', ['table']);\n result = result || this._tag_stack.try_pop('colgroup', ['table']);\n result = result || this._tag_stack.try_pop('thead', ['table']);\n result = result || this._ta g_stack.try_pop('tbody', ['table']);\n\n //} else if (parser_token.tag_name = == 'tfoot') {\n // DONE: A tfoot element’s end tag may be omitted if there is no more content in the parent element.\n\n } else if (parser_token.tag_name == = 'tr') {\n // A tr element’s end tag may be omitted if the tr element is imm ediately followed by another tr element, or if there is no more content in the p arent element.\n // A colgroup element's end tag may be ommitted if a thead, tfoot, tbody, or tr element is started.\n // A caption element's end tag may be ommitted if a colgroup, thead, tfoot, tbody, or tr element is started.\n r esult = result || this._tag_stack.try_pop('caption', ['table']);\n result = r esult || this._tag_stack.try_pop('colgroup', ['table']);\n result = result || this._tag_stack.try_pop('tr', ['table', 'thead', 'tbody', 'tfoot']);\n\n } els e if (parser_token.tag_name === 'th' || parser_token.tag_name === 'td') {\n / / A td element’s end tag may be omitted if the td element is immediately followe d by a td or th element, or if there is no more content in the parent element.\n // A th element’s end tag may be omitted if the th element is immediately fo llowed by a td or th element, or if there is no more content in the parent eleme nt.\n result = result || this._tag_stack.try_pop('td', ['table', 'thead', 'tb ody', 'tfoot', 'tr']);\n result = result || this._tag_stack.try_pop('th', ['t able', 'thead', 'tbody', 'tfoot', 'tr']);\n }\n\n // Start element omission no t handled currently\n // A head element’s start tag may be omitted if the eleme nt is empty, or if the first thing inside the head element is an element.\n // A tbody element’s start tag may be omitted if the first thing inside the tbody e lement is a tr element, and if the element is not immediately preceded by a tbod y, thead, or tfoot element whose end tag has been omitted. (It can’t be omitted if the element is empty.)\n // A colgroup element’s start tag may be omitted if the first thing inside the colgroup element is a col element, and if the elemen t is not immediately preceded by another colgroup element whose end tag has been omitted. (It can’t be omitted if the element is empty.)\n\n // Fix up the pare nt of the parser token\n parser_token.parent = this._tag_stack.get_parser_token ();\n\n return result;\n};\n\nmodule.exports.Beautifier = Beautifier;\n","/*jsh int node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Ein ar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associate d documentation files\n (the \"Software\"), to deal in the Software without res triction,\n including without limitation the rights to use, copy, modify, merge ,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n The above copyright notice and this permission notic e shall be\n included in all copies or substantial portions of the Software.\n\ n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, F ITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AU THORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILIT Y, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOF TWARE.\n*/\n\n'use strict';\n\nvar Beautifier = require('./beautifier').Beautifi er,\n Options = require('./options').Options;\n\nfunction style_html(html_sourc e, options, js_beautify, css_beautify) {\n var beautifier = new Beautifier(html _source, options, js_beautify, css_beautify);\n return beautifier.beautify();\n }\n\nmodule.exports = style_html;\nmodule.exports.defaultOptions = function() {\ n return new Options();\n};\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributor s.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associated documentation files\n (the \"Software\" ), to deal in the Software without restriction,\n including without limitation the rights to use, copy, modify, merge,\n publish, distribute, sublicense, and/ or sell copies of the Software,\n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n The above copy right notice and this permission notice shall be\n included in all copies or su bstantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WIT HOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO T HE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FO R ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TO RT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR T HE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar BaseOpt ions = require('../core/options').Options;\n\nfunction Options(options) {\n Bas eOptions.call(this, options, 'html');\n if (this.templating.length === 1 && thi s.templating[0] === 'auto') {\n this.templating = ['django', 'erb', 'handleba rs', 'php'];\n }\n\n this.indent_inner_html = this._get_boolean('indent_inner_ html');\n this.indent_body_inner_html = this._get_boolean('indent_body_inner_ht ml', true);\n this.indent_head_inner_html = this._get_boolean('indent_head_inne r_html', true);\n\n this.indent_handlebars = this._get_boolean('indent_handleba rs', true);\n this.wrap_attributes = this._get_selection('wrap_attributes',\n ['auto', 'force', 'force-aligned', 'force-expand-multiline', 'aligned-multiple ', 'preserve', 'preserve-aligned']);\n this.wrap_attributes_indent_size = this. _get_number('wrap_attributes_indent_size', this.indent_size);\n this.extra_line rs = this._get_array('extra_liners', ['head', 'body', '/html']);\n\n // Block v s inline elements\n // https://developer.mozilla.org/en-US/docs/Web/HTML/Block- level_elements\n // https://developer.mozilla.org/en-US/docs/Web/HTML/Inline_el ements\n // https://www.w3.org/TR/html5/dom.html#phrasing-content\n this.inlin e = this._get_array('inline', [\n 'a', 'abbr', 'area', 'audio', 'b', 'bdi', ' bdo', 'br', 'button', 'canvas', 'cite',\n 'code', 'data', 'datalist', 'del', 'dfn', 'em', 'embed', 'i', 'iframe', 'img',\n 'input', 'ins', 'kbd', 'keygen' , 'label', 'map', 'mark', 'math', 'meter', 'noscript',\n 'object', 'output', 'progress', 'q', 'ruby', 's', 'samp', /* 'script', */ 'select', 'small',\n 's pan', 'strong', 'sub', 'sup', 'svg', 'template', 'textarea', 'time', 'u', 'var', \n 'video', 'wbr', 'text',\n // obsolete inline tags\n 'acronym', 'big' , 'strike', 'tt'\n ]);\n this.void_elements = this._get_array('void_elements', [\n // HTLM void elements - aka self-closing tags - aka singletons\n // h ttps://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements\n 'are a', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'keygen',\n 'link', ' menuitem', 'meta', 'param', 'source', 'track', 'wbr',\n // NOTE: Optional tag s are too complex for a simple list\n // they are hard coded in _do_optional_ end_element\n\n // Doctype and xml elements\n '!doctype', '?xml',\n\n / / obsolete tags\n // basefont: https://www.computerhope.com/jargon/h/html-bas efont-tag.htm\n // isndex: https://developer.mozilla.org/en-US/docs/Web/HTML/ Element/isindex\n 'basefont', 'isindex'\n ]);\n this.unformatted = this._ge t_array('unformatted', []);\n this.content_unformatted = this._get_array('conte nt_unformatted', [\n 'pre', 'textarea'\n ]);\n this.unformatted_content_del imiter = this._get_characters('unformatted_content_delimiter');\n this.indent_s cripts = this._get_selection('indent_scripts', ['normal', 'keep', 'separate']);\ n\n}\nOptions.prototype = new BaseOptions();\n\n\n\nmodule.exports.Options = Opt ions;\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c ) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is h ereby granted, free of charge, to any person\n obtaining a copy of this softwar e and associated documentation files\n (the \"Software\"), to deal in the Softw are without restriction,\n including without limitation the rights to use, copy , modify, merge,\n publish, distribute, sublicense, and/or sell copies of the S oftware,\n and to permit persons to whom the Software is furnished to do so,\n subject to the following conditions:\n\n The above copyright notice and this p ermission notice shall be\n included in all copies or substantial portions of t he Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KI ND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MER CHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVE NT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISIN G FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALING S IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar BaseTokenizer = require('../co re/tokenizer').Tokenizer;\nvar BASETOKEN = require('../core/tokenizer').TOKEN;\n var Directives = require('../core/directives').Directives;\nvar TemplatablePatte rn = require('../core/templatablepattern').TemplatablePattern;\nvar Pattern = re quire('../core/pattern').Pattern;\n\nvar TOKEN = {\n TAG_OPEN: 'TK_TAG_OPEN',\n TAG_CLOSE: 'TK_TAG_CLOSE',\n ATTRIBUTE: 'TK_ATTRIBUTE',\n EQUALS: 'TK_EQUALS ',\n VALUE: 'TK_VALUE',\n COMMENT: 'TK_COMMENT',\n TEXT: 'TK_TEXT',\n UNKNOW N: 'TK_UNKNOWN',\n START: BASETOKEN.START,\n RAW: BASETOKEN.RAW,\n EOF: BASET OKEN.EOF\n};\n\nvar directives_core = new Directives(/<\\!--/, /-->/);\n\nvar To kenizer = function(input_string, options) {\n BaseTokenizer.call(this, input_st ring, options);\n this._current_tag_name = '';\n\n // Words end at whitespace or when a tag starts\n // if we are indenting handlebars, they are considered t ags\n var templatable_reader = new TemplatablePattern(this._input).read_options (this._options);\n var pattern_reader = new Pattern(this._input);\n\n this.__p atterns = {\n word: templatable_reader.until(/[\\n\\r\\t <]/),\n single_qu ote: templatable_reader.until_after(/'/),\n double_quote: templatable_reader. until_after(/\"/),\n attribute: templatable_reader.until(/[\\n\\r\\t =>]|\\/> /),\n element_name: templatable_reader.until(/[\\n\\r\\t >\\/]/),\n\n hand lebars_comment: pattern_reader.starting_with(/{{!--/).until_after(/--}}/),\n handlebars: pattern_reader.starting_with(/{{/).until_after(/}}/),\n handlebar s_open: pattern_reader.until(/[\\n\\r\\t }]/),\n handlebars_raw_close: patter n_reader.until(/}}/),\n comment: pattern_reader.starting_with(/<!--/).until_a fter(/-->/),\n cdata: pattern_reader.starting_with(/<!\\[CDATA\\[/).until_aft er(/]]>/),\n // https://en.wikipedia.org/wiki/Conditional_comment\n condit ional_comment: pattern_reader.starting_with(/<!\\[/).until_after(/]>/),\n pro cessing: pattern_reader.starting_with(/<\\?/).until_after(/\\?>/)\n };\n\n if (this._options.indent_handlebars) {\n this.__patterns.word = this.__patterns. word.exclude('handlebars');\n }\n\n this._unformatted_content_delimiter = null ;\n\n if (this._options.unformatted_content_delimiter) {\n var literal_regex p = this._input.get_literal_regexp(this._options.unformatted_content_delimiter); \n this.__patterns.unformatted_content_delimiter =\n pattern_reader.matc hing(literal_regexp)\n .until_after(literal_regexp);\n }\n};\nTokenizer.pr ototype = new BaseTokenizer();\n\nTokenizer.prototype._is_comment = function(cur rent_token) { // jshint unused:false\n return false; //current_token.type === T OKEN.COMMENT || current_token.type === TOKEN.UNKNOWN;\n};\n\nTokenizer.prototype ._is_opening = function(current_token) {\n return current_token.type === TOKEN. TAG_OPEN;\n};\n\nTokenizer.prototype._is_closing = function(current_token, open_ token) {\n return current_token.type === TOKEN.TAG_CLOSE &&\n (open_token && (\n ((current_token.text === '>' || current_token.text === '/>') && open_t oken.text[0] === '<') ||\n (current_token.text === '}}' && open_token.text[ 0] === '{' && open_token.text[1] === '{')));\n};\n\nTokenizer.prototype._reset = function() {\n this._current_tag_name = '';\n};\n\nTokenizer.prototype._get_ne xt_token = function(previous_token, open_token) { // jshint unused:false\n var token = null;\n this._readWhitespace();\n var c = this._input.peek();\n\n if (c === null) {\n return this._create_token(TOKEN.EOF, '');\n }\n\n token = token || this._read_open_handlebars(c, open_token);\n token = token || this._re ad_attribute(c, previous_token, open_token);\n token = token || this._read_clos e(c, open_token);\n token = token || this._read_raw_content(c, previous_token, open_token);\n token = token || this._read_content_word(c);\n token = token || this._read_comment_or_cdata(c);\n token = token || this._read_processing(c);\n token = token || this._read_open(c, open_token);\n token = token || this._cre ate_token(TOKEN.UNKNOWN, this._input.next());\n\n return token;\n};\n\nTokenize r.prototype._read_comment_or_cdata = function(c) { // jshint unused:false\n var token = null;\n var resulting_string = null;\n var directives = null;\n\n if (c === '<') {\n var peek1 = this._input.peek(1);\n // We treat all commen ts as literals, even more than preformatted tags\n // we only look for the ap propriate closing marker\n if (peek1 === '!') {\n resulting_string = thi s.__patterns.comment.read();\n\n // only process directive on html comments \n if (resulting_string) {\n directives = directives_core.get_direct ives(resulting_string);\n if (directives && directives.ignore === 'start' ) {\n resulting_string += directives_core.readIgnored(this._input);\n }\n } else {\n resulting_string = this.__patterns.cdata.read() ;\n }\n }\n\n if (resulting_string) {\n token = this._create_tok en(TOKEN.COMMENT, resulting_string);\n token.directives = directives;\n }\n }\n\n return token;\n};\n\nTokenizer.prototype._read_processing = function (c) { // jshint unused:false\n var token = null;\n var resulting_string = null ;\n var directives = null;\n\n if (c === '<') {\n var peek1 = this._input.p eek(1);\n if (peek1 === '!' || peek1 === '?') {\n resulting_string = thi s.__patterns.conditional_comment.read();\n resulting_string = resulting_str ing || this.__patterns.processing.read();\n }\n\n if (resulting_string) {\ n token = this._create_token(TOKEN.COMMENT, resulting_string);\n token .directives = directives;\n }\n }\n\n return token;\n};\n\nTokenizer.protot ype._read_open = function(c, open_token) {\n var resulting_string = null;\n va r token = null;\n if (!open_token) {\n if (c === '<') {\n\n resulting_s tring = this._input.next();\n if (this._input.peek() === '/') {\n re sulting_string += this._input.next();\n }\n resulting_string += this._ _patterns.element_name.read();\n token = this._create_token(TOKEN.TAG_OPEN, resulting_string);\n }\n }\n return token;\n};\n\nTokenizer.prototype._rea d_open_handlebars = function(c, open_token) {\n var resulting_string = null;\n var token = null;\n if (!open_token) {\n if (this._options.indent_handlebar s && c === '{' && this._input.peek(1) === '{') {\n if (this._input.peek(2) === '!') {\n resulting_string = this.__patterns.handlebars_comment.read() ;\n resulting_string = resulting_string || this.__patterns.handlebars.rea d();\n token = this._create_token(TOKEN.COMMENT, resulting_string);\n } else {\n resulting_string = this.__patterns.handlebars_open.read();\n token = this._create_token(TOKEN.TAG_OPEN, resulting_string);\n }\n }\n }\n return token;\n};\n\n\nTokenizer.prototype._read_close = function( c, open_token) {\n var resulting_string = null;\n var token = null;\n if (ope n_token) {\n if (open_token.text[0] === '<' && (c === '>' || (c === '/' && th is._input.peek(1) === '>'))) {\n resulting_string = this._input.next();\n if (c === '/') { // for close tag \"/>\"\n resulting_string += this. _input.next();\n }\n token = this._create_token(TOKEN.TAG_CLOSE, resul ting_string);\n } else if (open_token.text[0] === '{' && c === '}' && this._i nput.peek(1) === '}') {\n this._input.next();\n this._input.next();\n token = this._create_token(TOKEN.TAG_CLOSE, '}}');\n }\n }\n\n return token;\n};\n\nTokenizer.prototype._read_attribute = function(c, previous_token, open_token) {\n var token = null;\n var resulting_string = '';\n if (open_tok en && open_token.text[0] === '<') {\n\n if (c === '=') {\n token = this. _create_token(TOKEN.EQUALS, this._input.next());\n } else if (c === '\"' || c === \"'\") {\n var content = this._input.next();\n if (c === '\"') {\ n content += this.__patterns.double_quote.read();\n } else {\n content += this.__patterns.single_quote.read();\n }\n token = this._ create_token(TOKEN.VALUE, content);\n } else {\n resulting_string = this .__patterns.attribute.read();\n\n if (resulting_string) {\n if (prev ious_token.type === TOKEN.EQUALS) {\n token = this._create_token(TOKEN. VALUE, resulting_string);\n } else {\n token = this._create_toke n(TOKEN.ATTRIBUTE, resulting_string);\n }\n }\n }\n }\n return token;\n};\n\nTokenizer.prototype._is_content_unformatted = function(tag_name) { \n // void_elements have no content and so cannot have unformatted content\n / / script and style tags should always be read as unformatted content\n // final ly content_unformatted and unformatted element contents are unformatted\n retur n this._options.void_elements.indexOf(tag_name) === -1 &&\n (this._options.co ntent_unformatted.indexOf(tag_name) !== -1 ||\n this._options.unformatted.i ndexOf(tag_name) !== -1);\n};\n\n\nTokenizer.prototype._read_raw_content = funct ion(c, previous_token, open_token) { // jshint unused:false\n var resulting_str ing = '';\n if (open_token && open_token.text[0] === '{') {\n resulting_stri ng = this.__patterns.handlebars_raw_close.read();\n } else if (previous_token.t ype === TOKEN.TAG_CLOSE &&\n previous_token.opened.text[0] === '<' && previou s_token.text[0] !== '/') {\n // ^^ empty tag has no content \n var tag_nam e = previous_token.opened.text.substr(1).toLowerCase();\n if (tag_name === 's cript' || tag_name === 'style') {\n // Script and style tags are allowed to have comments wrapping their content\n // or just have regular content.\n var token = this._read_comment_or_cdata(c);\n if (token) {\n to ken.type = TOKEN.TEXT;\n return token;\n }\n resulting_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\\\n\\\\r\\\\t ]*?>', 'ig '));\n } else if (this._is_content_unformatted(tag_name)) {\n\n resultin g_string = this._input.readUntil(new RegExp('</' + tag_name + '[\\\\n\\\\r\\\\t ]*?>', 'ig'));\n }\n }\n\n if (resulting_string) {\n return this._create _token(TOKEN.TEXT, resulting_string);\n }\n\n return null;\n};\n\nTokenizer.pr ototype._read_content_word = function(c) {\n var resulting_string = '';\n if ( this._options.unformatted_content_delimiter) {\n if (c === this._options.unfo rmatted_content_delimiter[0]) {\n resulting_string = this.__patterns.unform atted_content_delimiter.read();\n }\n }\n\n if (!resulting_string) {\n r esulting_string = this.__patterns.word.read();\n }\n if (resulting_string) {\n return this._create_token(TOKEN.TEXT, resulting_string);\n }\n};\n\nmodule. exports.Tokenizer = Tokenizer;\nmodule.exports.TOKEN = TOKEN;\n","/*jshint node: true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielma nis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of c harge, to any person\n obtaining a copy of this software and associated documen tation files\n (the \"Software\"), to deal in the Software without restriction, \n including without limitation the rights to use, copy, modify, merge,\n publ ish, distribute, sublicense, and/or sell copies of the Software,\n and to permi t persons to whom the Software is furnished to do so,\n subject to the followin g conditions:\n\n The above copyright notice and this permission notice shall b e\n included in all copies or substantial portions of the Software.\n\n THE SO FTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIE D, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FO R A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHE R IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n* /\n\n'use strict';\n\nvar js_beautify = require('./javascript/index');\nvar css_ beautify = require('./css/index');\nvar html_beautify = require('./html/index'); \n\nfunction style_html(html_source, options, js, css) {\n js = js || js_beauti fy;\n css = css || css_beautify;\n return html_beautify(html_source, options, js, css);\n}\nstyle_html.defaultOptions = html_beautify.defaultOptions;\n\nmodul e.exports.js = js_beautify;\nmodule.exports.css = css_beautify;\nmodule.exports. html = style_html;\n","/* jshint node: true, curly: false */\n// Parts of this s ection of code is taken from acorn.\n//\n// Acorn was written by Marijn Haverbek e and released under an MIT\n// license. The Unicode regexps (for identifiers an d whitespace) were\n// taken from [Esprima](http://esprima.org) by Ariya Hidayat .\n//\n// Git repositories for Acorn are available at\n//\n// http://marijnh averbeke.nl/git/acorn\n// https://github.com/marijnh/acorn.git\n\n// ## Char acter categories\n\n\n'use strict';\n\n// acorn used char codes to squeeze the l ast bit of performance out\n// Beautifier is okay without that, so we're using r egex\n// permit # (23), $ (36), and @ (64). @ is used in ES7 decorators.\n// 65 through 91 are uppercase letters.\n// permit _ (95).\n// 97 through 123 are lowe rcase letters.\nvar baseASCIIidentifierStartChars = \"\\\\x23\\\\x24\\\\x40\\\\x 41-\\\\x5a\\\\x5f\\\\x61-\\\\x7a\";\n\n// inside an identifier @ is not allowed but 0-9 are.\nvar baseASCIIidentifierChars = \"\\\\x24\\\\x30-\\\\x39\\\\x41-\\\ \x5a\\\\x5f\\\\x61-\\\\x7a\";\n\n// Big ugly regular expressions that match char acters in the\n// whitespace, identifier, and identifier-start categories. These \n// are only applied when a character is found to actually have a\n// code poin t above 128.\nvar nonASCIIidentifierStartChars = \"\\\\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\\\\u07 f4\\\\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\\\\u 0990\\\\u0993-\\\\u09a8\\\\u09aa-\\\\u09b0\\\\u09b2\\\\u09b6-\\\\u09b9\\\\u09bd\ \\\u09ce\\\\u09dc\\\\u09dd\\\\u09df-\\\\u09e1\\\\u09f0\\\\u09f1\\\\u0a05-\\\\u0a 0a\\\\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\\\\u 0ab2\\\\u0ab3\\\\u0ab5-\\\\u0ab9\\\\u0abd\\\\u0ad0\\\\u0ae0\\\\u0ae1\\\\u0b05-\\ \\u0b0c\\\\u0b0f\\\\u0b10\\\\u0b13-\\\\u0b28\\\\u0b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e df\\\\u0f00\\\\u0f40-\\\\u0f47\\\\u0f49-\\\\u0f6c\\\\u0f88-\\\\u0f8c\\\\u1000-\\ \\u102a\\\\u103f\\\\u1050-\\\\u1055\\\\u105a-\\\\u105d\\\\u1061\\\\u1065\\\\u106 6\\\\u106e-\\\\u1070\\\\u1075-\\\\u1081\\\\u108e\\\\u10a0-\\\\u10c5\\\\u10c7\\\\ u10cd\\\\u10d0-\\\\u10fa\\\\u10fc-\\\\u1248\\\\u124a-\\\\u124d\\\\u1250-\\\\u125 6\\\\u1258\\\\u125a-\\\\u125d\\\\u1260-\\\\u1288\\\\u128a-\\\\u128d\\\\u1290-\\\ \u12b0\\\\u12b2-\\\\u12b5\\\\u12b8-\\\\u12be\\\\u12c0\\\\u12c2-\\\\u12c5\\\\u12c 8-\\\\u12d6\\\\u12d8-\\\\u1310\\\\u1312-\\\\u1315\\\\u1318-\\\\u135a\\\\u1380-\\ \\u138f\\\\u13a0-\\\\u13f4\\\\u1401-\\\\u166c\\\\u166f-\\\\u167f\\\\u1681-\\\\u1 69a\\\\u16a0-\\\\u16ea\\\\u16ee-\\\\u16f0\\\\u1700-\\\\u170c\\\\u170e-\\\\u1711\ \\\u1720-\\\\u1731\\\\u1740-\\\\u1751\\\\u1760-\\\\u176c\\\\u176e-\\\\u1770\\\\u 1780-\\\\u17b3\\\\u17d7\\\\u17dc\\\\u1820-\\\\u1877\\\\u1880-\\\\u18a8\\\\u18aa\ \\\u18b0-\\\\u18f5\\\\u1900-\\\\u191c\\\\u1950-\\\\u196d\\\\u1970-\\\\u1974\\\\u 1980-\\\\u19ab\\\\u19c1-\\\\u19c7\\\\u1a00-\\\\u1a16\\\\u1a20-\\\\u1a54\\\\u1aa7 \\\\u1b05-\\\\u1b33\\\\u1b45-\\\\u1b4b\\\\u1b83-\\\\u1ba0\\\\u1bae\\\\u1baf\\\\u 1bba-\\\\u1be5\\\\u1c00-\\\\u1c23\\\\u1c4d-\\\\u1c4f\\\\u1c5a-\\\\u1c7d\\\\u1ce9 -\\\\u1cec\\\\u1cee-\\\\u1cf1\\\\u1cf5\\\\u1cf6\\\\u1d00-\\\\u1dbf\\\\u1e00-\\\\ u1f15\\\\u1f18-\\\\u1f1d\\\\u1f20-\\\\u1f45\\\\u1f48-\\\\u1f4d\\\\u1f50-\\\\u1f5 7\\\\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\\\\u2 13c-\\\\u213f\\\\u2145-\\\\u2149\\\\u214e\\\\u2160-\\\\u2188\\\\u2c00-\\\\u2c2e\ \\\u2c30-\\\\u2c5e\\\\u2c60-\\\\u2ce4\\\\u2ceb-\\\\u2cee\\\\u2cf2\\\\u2cf3\\\\u2 d00-\\\\u2d25\\\\u2d27\\\\u2d2d\\\\u2d30-\\\\u2d67\\\\u2d6f\\\\u2d80-\\\\u2d96\\ \\u2da0-\\\\u2da6\\\\u2da8-\\\\u2dae\\\\u2db0-\\\\u2db6\\\\u2db8-\\\\u2dbe\\\\u2 dc0-\\\\u2dc6\\\\u2dc8-\\\\u2dce\\\\u2dd0-\\\\u2dd6\\\\u2dd8-\\\\u2dde\\\\u2e2f\ \\\u3005-\\\\u3007\\\\u3021-\\\\u3029\\\\u3031-\\\\u3035\\\\u3038-\\\\u303c\\\\u 3041-\\\\u3096\\\\u309d-\\\\u309f\\\\u30a1-\\\\u30fa\\\\u30fc-\\\\u30ff\\\\u3105 -\\\\u312d\\\\u3131-\\\\u318e\\\\u31a0-\\\\u31ba\\\\u31f0-\\\\u31ff\\\\u3400-\\\ \u4db5\\\\u4e00-\\\\u9fcc\\\\ua000-\\\\ua48c\\\\ua4d0-\\\\ua4fd\\\\ua500-\\\\ua6 0c\\\\ua610-\\\\ua61f\\\\ua62a\\\\ua62b\\\\ua640-\\\\ua66e\\\\ua67f-\\\\ua697\\\ \ua6a0-\\\\ua6ef\\\\ua717-\\\\ua71f\\\\ua722-\\\\ua788\\\\ua78b-\\\\ua78e\\\\ua7 90-\\\\ua793\\\\ua7a0-\\\\ua7aa\\\\ua7f8-\\\\ua801\\\\ua803-\\\\ua805\\\\ua807-\ \\\ua80a\\\\ua80c-\\\\ua822\\\\ua840-\\\\ua873\\\\ua882-\\\\ua8b3\\\\ua8f2-\\\\u a8f7\\\\ua8fb\\\\ua90a-\\\\ua925\\\\ua930-\\\\ua946\\\\ua960-\\\\ua97c\\\\ua984- \\\\ua9b2\\\\ua9cf\\\\uaa00-\\\\uaa28\\\\uaa40-\\\\uaa42\\\\uaa44-\\\\uaa4b\\\\u aa60-\\\\uaa76\\\\uaa7a\\\\uaa80-\\\\uaaaf\\\\uaab1\\\\uaab5\\\\uaab6\\\\uaab9-\ \\\uaabd\\\\uaac0\\\\uaac2\\\\uaadb-\\\\uaadd\\\\uaae0-\\\\uaaea\\\\uaaf2-\\\\ua af4\\\\uab01-\\\\uab06\\\\uab09-\\\\uab0e\\\\uab11-\\\\uab16\\\\uab20-\\\\uab26\ \\\uab28-\\\\uab2e\\\\uabc0-\\\\uabe2\\\\uac00-\\\\ud7a3\\\\ud7b0-\\\\ud7c6\\\\u d7cb-\\\\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\\\\u fe76-\\\\ufefc\\\\uff21-\\\\uff3a\\\\uff41-\\\\uff5a\\\\uff66-\\\\uffbe\\\\uffc2 -\\\\uffc7\\\\uffca-\\\\uffcf\\\\uffd2-\\\\uffd7\\\\uffda-\\\\uffdc\";\nvar nonA SCIIidentifierChars = \"\\\\u0300-\\\\u036f\\\\u0483-\\\\u0487\\\\u0591-\\\\u05b d\\\\u05bf\\\\u05c1\\\\u05c2\\\\u05c4\\\\u05c5\\\\u05c7\\\\u0610-\\\\u061a\\\\u0 620-\\\\u0649\\\\u0672-\\\\u06d3\\\\u06e7-\\\\u06e8\\\\u06fb-\\\\u06fc\\\\u0730- \\\\u074a\\\\u0800-\\\\u0814\\\\u081b-\\\\u0823\\\\u0825-\\\\u0827\\\\u0829-\\\\ u082d\\\\u0840-\\\\u0857\\\\u08e4-\\\\u08fe\\\\u0900-\\\\u0903\\\\u093a-\\\\u093 c\\\\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\\\\u 0a4b-\\\\u0a4d\\\\u0a51\\\\u0a66-\\\\u0a71\\\\u0a75\\\\u0a81-\\\\u0a83\\\\u0abc\ \\\u0abe-\\\\u0ac5\\\\u0ac7-\\\\u0ac9\\\\u0acb-\\\\u0acd\\\\u0ae2-\\\\u0ae3\\\\u 0ae6-\\\\u0aef\\\\u0b01-\\\\u0b03\\\\u0b3c\\\\u0b3e-\\\\u0b44\\\\u0b47\\\\u0b48\ \\\u0b4b-\\\\u0b4d\\\\u0b56\\\\u0b57\\\\u0b5f-\\\\u0b60\\\\u0b66-\\\\u0b6f\\\\u0 b82\\\\u0bbe-\\\\u0bc2\\\\u0bc6-\\\\u0bc8\\\\u0bca-\\\\u0bcd\\\\u0bd7\\\\u0be6-\ \\\u0bef\\\\u0c01-\\\\u0c03\\\\u0c46-\\\\u0c48\\\\u0c4a-\\\\u0c4d\\\\u0c55\\\\u0 c56\\\\u0c62-\\\\u0c63\\\\u0c66-\\\\u0c6f\\\\u0c82\\\\u0c83\\\\u0cbc\\\\u0cbe-\\ \\u0cc4\\\\u0cc6-\\\\u0cc8\\\\u0cca-\\\\u0ccd\\\\u0cd5\\\\u0cd6\\\\u0ce2-\\\\u0c e3\\\\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\\\\u 0e50-\\\\u0e59\\\\u0eb4-\\\\u0eb9\\\\u0ec8-\\\\u0ecd\\\\u0ed0-\\\\u0ed9\\\\u0f18 \\\\u0f19\\\\u0f20-\\\\u0f29\\\\u0f35\\\\u0f37\\\\u0f39\\\\u0f41-\\\\u0f47\\\\u0 f71-\\\\u0f84\\\\u0f86-\\\\u0f87\\\\u0f8d-\\\\u0f97\\\\u0f99-\\\\u0fbc\\\\u0fc6\ \\\u1000-\\\\u1029\\\\u1040-\\\\u1049\\\\u1067-\\\\u106d\\\\u1071-\\\\u1074\\\\u 1082-\\\\u108d\\\\u108f-\\\\u109d\\\\u135d-\\\\u135f\\\\u170e-\\\\u1710\\\\u1720 -\\\\u1730\\\\u1740-\\\\u1750\\\\u1772\\\\u1773\\\\u1780-\\\\u17b2\\\\u17dd\\\\u 17e0-\\\\u17e9\\\\u180b-\\\\u180d\\\\u1810-\\\\u1819\\\\u1920-\\\\u192b\\\\u1930 -\\\\u193b\\\\u1951-\\\\u196d\\\\u19b0-\\\\u19c0\\\\u19c8-\\\\u19c9\\\\u19d0-\\\ \u19d9\\\\u1a00-\\\\u1a15\\\\u1a20-\\\\u1a53\\\\u1a60-\\\\u1a7c\\\\u1a7f-\\\\u1a 89\\\\u1a90-\\\\u1a99\\\\u1b46-\\\\u1b4b\\\\u1b50-\\\\u1b59\\\\u1b6b-\\\\u1b73\\ \\u1bb0-\\\\u1bb9\\\\u1be6-\\\\u1bf3\\\\u1c00-\\\\u1c22\\\\u1c40-\\\\u1c49\\\\u1 c5b-\\\\u1c7d\\\\u1cd0-\\\\u1cd2\\\\u1d00-\\\\u1dbe\\\\u1e01-\\\\u1f15\\\\u200c\ \\\u200d\\\\u203f\\\\u2040\\\\u2054\\\\u20d0-\\\\u20dc\\\\u20e1\\\\u20e5-\\\\u20 f0\\\\u2d81-\\\\u2d96\\\\u2de0-\\\\u2dff\\\\u3021-\\\\u3028\\\\u3099\\\\u309a\\\ \ua640-\\\\ua66d\\\\ua674-\\\\ua67d\\\\ua69f\\\\ua6f0-\\\\ua6f1\\\\ua7f8-\\\\ua8 00\\\\ua806\\\\ua80b\\\\ua823-\\\\ua827\\\\ua880-\\\\ua881\\\\ua8b4-\\\\ua8c4\\\ \ua8d0-\\\\ua8d9\\\\ua8f3-\\\\ua8f7\\\\ua900-\\\\ua909\\\\ua926-\\\\ua92d\\\\ua9 30-\\\\ua945\\\\ua980-\\\\ua983\\\\ua9b3-\\\\ua9c0\\\\uaa00-\\\\uaa27\\\\uaa40-\ \\\uaa41\\\\uaa4c-\\\\uaa4d\\\\uaa50-\\\\uaa59\\\\uaa7b\\\\uaae0-\\\\uaae9\\\\ua af2-\\\\uaaf3\\\\uabc0-\\\\uabe1\\\\uabec\\\\uabed\\\\uabf0-\\\\uabf9\\\\ufb20-\ \\\ufb28\\\\ufe00-\\\\ufe0f\\\\ufe20-\\\\ufe26\\\\ufe33\\\\ufe34\\\\ufe4d-\\\\uf e4f\\\\uff10-\\\\uff19\\\\uff3f\";\n//var nonASCIIidentifierStart = new RegExp(\ "[\" + nonASCIIidentifierStartChars + \"]\");\n//var nonASCIIidentifier = new Re gExp(\"[\" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"]\");\n\ nvar identifierStart = \"(?:\\\\\\\\u[0-9a-fA-F]{4}|[\" + baseASCIIidentifierSta rtChars + nonASCIIidentifierStartChars + \"])\";\nvar identifierChars = \"(?:\\\ \\\\\u[0-9a-fA-F]{4}|[\" + baseASCIIidentifierChars + nonASCIIidentifierStartCha rs + nonASCIIidentifierChars + \"])*\";\n\nexports.identifier = new RegExp(ident ifierStart + identifierChars, 'g');\nexports.identifierStart = new RegExp(identi fierStart);\nexports.identifierMatch = new RegExp(\"(?:\\\\\\\\u[0-9a-fA-F]{4}|[ \" + baseASCIIidentifierChars + nonASCIIidentifierStartChars + nonASCIIidentifie rChars + \"])+\");\n\nvar nonASCIIwhitespace = /[\\u1680\\u180e\\u2000-\\u200a\\ u202f\\u205f\\u3000\\ufeff]/; // jshint ignore:line\n\n// Whether a single chara cter denotes a newline.\n\nexports.newline = /[\\n\\r\\u2028\\u2029]/;\n\n// Mat ches a whole line break (where CRLF is considered a single\n// line break). Used to count lines.\n\n// in javascript, these two differ\n// in python they are th e same, different methods are called on them\nexports.lineBreak = new RegExp('\\ r\\n|' + exports.newline.source);\nexports.allLineBreaks = new RegExp(exports.li neBreak.source, 'g');\n","/*jshint node:true */\n/*\n\n The MIT License (MIT)\n \n Copyright (c) 2007-2018 Einar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associated documentation files\n (the \"Software\"), to d eal in the Software without restriction,\n including without limitation the rig hts to use, copy, modify, merge,\n publish, distribute, sublicense, and/or sell copies of the Software,\n and to permit persons to whom the Software is furnis hed to do so,\n subject to the following conditions:\n\n The above copyright n otice and this permission notice shall be\n included in all copies or substanti al portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WA RRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR ANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRING EMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY C LAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR O THERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n'use strict';\n\nvar Output = requi re('../core/output').Output;\nvar Token = require('../core/token').Token;\nvar a corn = require('./acorn');\nvar Options = require('./options').Options;\nvar Tok enizer = require('./tokenizer').Tokenizer;\nvar line_starters = require('./token izer').line_starters;\nvar positionable_operators = require('./tokenizer').posit ionable_operators;\nvar TOKEN = require('./tokenizer').TOKEN;\n\n\nfunction in_a rray(what, arr) {\n return arr.indexOf(what) !== -1;\n}\n\nfunction ltrim(s) {\ n return s.replace(/^\\s+/g, '');\n}\n\nfunction generateMapFromStrings(list) { \n var result = {};\n for (var x = 0; x < list.length; x++) {\n // make the mapped names underscored instead of dash\n result[list[x].replace(/-/g, '_') ] = list[x];\n }\n return result;\n}\n\nfunction reserved_word(token, word) {\ n return token && token.type === TOKEN.RESERVED && token.text === word;\n}\n\nf unction reserved_array(token, words) {\n return token && token.type === TOKEN.R ESERVED && in_array(token.text, words);\n}\n// Unsure of what they mean, but the y work. Worth cleaning up in future.\nvar special_words = ['case', 'return', 'do ', 'if', 'throw', 'else', 'await', 'break', 'continue', 'async'];\n\nvar validPo sitionValues = ['before-newline', 'after-newline', 'preserve-newline'];\n\n// Ge nerate map from array\nvar OPERATOR_POSITION = generateMapFromStrings(validPosit ionValues);\n\nvar OPERATOR_POSITION_BEFORE_OR_PRESERVE = [OPERATOR_POSITION.bef ore_newline, OPERATOR_POSITION.preserve_newline];\n\nvar MODE = {\n BlockStatem ent: 'BlockStatement', // 'BLOCK'\n Statement: 'Statement', // 'STATEMENT'\n O bjectLiteral: 'ObjectLiteral', // 'OBJECT',\n ArrayLiteral: 'ArrayLiteral', //' [EXPRESSION]',\n ForInitializer: 'ForInitializer', //'(FOR-EXPRESSION)',\n Con ditional: 'Conditional', //'(COND-EXPRESSION)',\n Expression: 'Expression' //'( EXPRESSION)'\n};\n\nfunction remove_redundant_indentation(output, frame) {\n // This implementation is effective but has some issues:\n // - can cause lin e wrap to happen too soon due to indent removal\n // after wrap point s are calculated\n // These issues are minor compared to ugly indentation.\n\n if (frame.multiline_frame ||\n frame.mode === MODE.ForInitializer ||\n fr ame.mode === MODE.Conditional) {\n return;\n }\n\n // remove one indent fro m each line inside this section\n output.remove_indent(frame.start_line_index); \n}\n\n// we could use just string.split, but\n// IE doesn't like returning empt y strings\nfunction split_linebreaks(s) {\n //return s.split(/\\x0d\\x0a|\\x0a/ );\n\n s = s.replace(acorn.allLineBreaks, '\\n');\n var out = [],\n idx = s .indexOf(\"\\n\");\n while (idx !== -1) {\n out.push(s.substring(0, idx));\n s = s.substring(idx + 1);\n idx = s.indexOf(\"\\n\");\n }\n if (s.lengt h) {\n out.push(s);\n }\n return out;\n}\n\nfunction is_array(mode) {\n re turn mode === MODE.ArrayLiteral;\n}\n\nfunction is_expression(mode) {\n return in_array(mode, [MODE.Expression, MODE.ForInitializer, MODE.Conditional]);\n}\n\n function all_lines_start_with(lines, c) {\n for (var i = 0; i < lines.length; i ++) {\n var line = lines[i].trim();\n if (line.charAt(0) !== c) {\n r eturn false;\n }\n }\n return true;\n}\n\nfunction each_line_matches_indent (lines, indent) {\n var i = 0,\n len = lines.length,\n line;\n for (; i < len; i++) {\n line = lines[i];\n // allow empty lines to pass through\n if (line && line.indexOf(indent) !== 0) {\n return false;\n }\n }\n return true;\n}\n\n\nfunction Beautifier(source_text, options) {\n options = o ptions || {};\n this._source_text = source_text || '';\n\n this._output = null ;\n this._tokens = null;\n this._last_last_text = null;\n this._flags = null; \n this._previous_flags = null;\n\n this._flag_store = null;\n this._options = new Options(options);\n}\n\nBeautifier.prototype.create_flags = function(flags _base, mode) {\n var next_indent_level = 0;\n if (flags_base) {\n next_inde nt_level = flags_base.indentation_level;\n if (!this._output.just_added_newli ne() &&\n flags_base.line_indent_level > next_indent_level) {\n next_i ndent_level = flags_base.line_indent_level;\n }\n }\n\n var next_flags = {\ n mode: mode,\n parent: flags_base,\n last_token: flags_base ? flags_ba se.last_token : new Token(TOKEN.START_BLOCK, ''), // last token text\n last_w ord: flags_base ? flags_base.last_word : '', // last TOKEN.WORD passed\n decl aration_statement: false,\n declaration_assignment: false,\n multiline_fra me: false,\n inline_frame: false,\n if_block: false,\n else_block: fals e,\n class_start_block: false, // class A { INSIDE HERE } or class B extends C { INSIDE HERE }\n do_block: false,\n do_while: false,\n import_block: false,\n in_case_statement: false, // switch(..){ INSIDE HERE }\n in_case : false, // we're on the exact line with \"case 0:\"\n case_body: false, // t he indented case-action block\n case_block: false, // the indented case-actio n block is wrapped with {}\n indentation_level: next_indent_level,\n align ment: 0,\n line_indent_level: flags_base ? flags_base.line_indent_level : nex t_indent_level,\n start_line_index: this._output.get_line_number(),\n tern ary_depth: 0\n };\n return next_flags;\n};\n\nBeautifier.prototype._reset = fu nction(source_text) {\n var baseIndentString = source_text.match(/^[\\t ]*/)[0] ;\n\n this._last_last_text = ''; // pre-last token text\n this._output = new O utput(this._options, baseIndentString);\n\n // If testing the ignore directive, start with output disable set to true\n this._output.raw = this._options.test_ output_raw;\n\n\n // Stack of parsing/formatting states, including MODE.\n // We tokenize, parse, and output in an almost purely a forward-only stream of toke n input\n // and formatted output. This makes the beautifier less accurate tha n full parsers\n // but also far more tolerant of syntax errors.\n //\n // Fo r example, the default mode is MODE.BlockStatement. If we see a '{' we push a ne w frame of type\n // MODE.BlockStatement on the the stack, even though it could be object literal. If we later\n // encounter a \":\", we'll switch to to MOD E.ObjectLiteral. If we then see a \";\",\n // most full parsers would die, but the beautifier gracefully falls back to\n // MODE.BlockStatement and continues on.\n this._flag_store = [];\n this.set_mode(MODE.BlockStatement);\n var tok enizer = new Tokenizer(source_text, this._options);\n this._tokens = tokenizer. tokenize();\n return source_text;\n};\n\nBeautifier.prototype.beautify = functi on() {\n // if disabled, return the input unchanged.\n if (this._options.disab led) {\n return this._source_text;\n }\n\n var sweet_code;\n var source_te xt = this._reset(this._source_text);\n\n var eol = this._options.eol;\n if (th is._options.eol === 'auto') {\n eol = '\\n';\n if (source_text && acorn.li neBreak.test(source_text || '')) {\n eol = source_text.match(acorn.lineBrea k)[0];\n }\n }\n\n var current_token = this._tokens.next();\n while (curre nt_token) {\n this.handle_token(current_token);\n\n this._last_last_text = this._flags.last_token.text;\n this._flags.last_token = current_token;\n\n current_token = this._tokens.next();\n }\n\n sweet_code = this._output.get_c ode(eol);\n\n return sweet_code;\n};\n\nBeautifier.prototype.handle_token = fun ction(current_token, preserve_statement_flags) {\n if (current_token.type === T OKEN.START_EXPR) {\n this.handle_start_expr(current_token);\n } else if (cur rent_token.type === TOKEN.END_EXPR) {\n this.handle_end_expr(current_token);\ n } else if (current_token.type === TOKEN.START_BLOCK) {\n this.handle_start _block(current_token);\n } else if (current_token.type === TOKEN.END_BLOCK) {\n this.handle_end_block(current_token);\n } else if (current_token.type === T OKEN.WORD) {\n this.handle_word(current_token);\n } else if (current_token.t ype === TOKEN.RESERVED) {\n this.handle_word(current_token);\n } else if (cu rrent_token.type === TOKEN.SEMICOLON) {\n this.handle_semicolon(current_token );\n } else if (current_token.type === TOKEN.STRING) {\n this.handle_string( current_token);\n } else if (current_token.type === TOKEN.EQUALS) {\n this.h andle_equals(current_token);\n } else if (current_token.type === TOKEN.OPERATOR ) {\n this.handle_operator(current_token);\n } else if (current_token.type = == TOKEN.COMMA) {\n this.handle_comma(current_token);\n } else if (current_t oken.type === TOKEN.BLOCK_COMMENT) {\n this.handle_block_comment(current_toke n, preserve_statement_flags);\n } else if (current_token.type === TOKEN.COMMENT ) {\n this.handle_comment(current_token, preserve_statement_flags);\n } else if (current_token.type === TOKEN.DOT) {\n this.handle_dot(current_token);\n } else if (current_token.type === TOKEN.EOF) {\n this.handle_eof(current_tok en);\n } else if (current_token.type === TOKEN.UNKNOWN) {\n this.handle_unkn own(current_token, preserve_statement_flags);\n } else {\n this.handle_unkno wn(current_token, preserve_statement_flags);\n }\n};\n\nBeautifier.prototype.ha ndle_whitespace_and_comments = function(current_token, preserve_statement_flags) {\n var newlines = current_token.newlines;\n var keep_whitespace = this._opti ons.keep_array_indentation && is_array(this._flags.mode);\n\n if (current_token .comments_before) {\n var comment_token = current_token.comments_before.next( );\n while (comment_token) {\n // The cleanest handling of inline commen ts is to treat them as though they aren't there.\n // Just continue formatt ing and the behavior should be logical.\n // Also ignore unknown tokens. A gain, this should result in better behavior.\n this.handle_whitespace_and_c omments(comment_token, preserve_statement_flags);\n this.handle_token(comme nt_token, preserve_statement_flags);\n comment_token = current_token.commen ts_before.next();\n }\n }\n\n if (keep_whitespace) {\n for (var i = 0; i < newlines; i += 1) {\n this.print_newline(i > 0, preserve_statement_flags );\n }\n } else {\n if (this._options.max_preserve_newlines && newlines > this._options.max_preserve_newlines) {\n newlines = this._options.max_pres erve_newlines;\n }\n\n if (this._options.preserve_newlines) {\n if (n ewlines > 1) {\n this.print_newline(false, preserve_statement_flags);\n for (var j = 1; j < newlines; j += 1) {\n this.print_newline(true , preserve_statement_flags);\n }\n }\n }\n }\n\n};\n\nvar newlin e_restricted_tokens = ['async', 'break', 'continue', 'return', 'throw', 'yield'] ;\n\nBeautifier.prototype.allow_wrap_or_preserved_newline = function(current_tok en, force_linewrap) {\n force_linewrap = (force_linewrap === undefined) ? false : force_linewrap;\n\n // Never wrap the first token on a line\n if (this._out put.just_added_newline()) {\n return;\n }\n\n var shouldPreserveOrForce = ( this._options.preserve_newlines && current_token.newlines) || force_linewrap;\n var operatorLogicApplies = in_array(this._flags.last_token.text, positionable_o perators) ||\n in_array(current_token.text, positionable_operators);\n\n if (operatorLogicApplies) {\n var shouldPrintOperatorNewline = (\n in_arr ay(this._flags.last_token.text, positionable_operators) &&\n in_array(thi s._options.operator_position, OPERATOR_POSITION_BEFORE_OR_PRESERVE)\n ) ||\ n in_array(current_token.text, positionable_operators);\n shouldPreserve OrForce = shouldPreserveOrForce && shouldPrintOperatorNewline;\n }\n\n if (sho uldPreserveOrForce) {\n this.print_newline(false, true);\n } else if (this._ options.wrap_line_length) {\n if (reserved_array(this._flags.last_token, newl ine_restricted_tokens)) {\n // These tokens should never have a newline ins erted\n // between them and the following expression.\n return;\n } \n this._output.set_wrap_point();\n }\n};\n\nBeautifier.prototype.print_newl ine = function(force_newline, preserve_statement_flags) {\n if (!preserve_state ment_flags) {\n if (this._flags.last_token.text !== ';' && this._flags.last_t oken.text !== ',' && this._flags.last_token.text !== '=' && (this._flags.last_to ken.type !== TOKEN.OPERATOR || this._flags.last_token.text === '--' || this._fla gs.last_token.text === '++')) {\n var next_token = this._tokens.peek();\n while (this._flags.mode === MODE.Statement &&\n !(this._flags.if_bloc k && reserved_word(next_token, 'else')) &&\n !this._flags.do_block) {\n this.restore_mode();\n }\n }\n }\n\n if (this._output.add_new_li ne(force_newline)) {\n this._flags.multiline_frame = true;\n }\n};\n\nBeauti fier.prototype.print_token_line_indentation = function(current_token) {\n if (t his._output.just_added_newline()) {\n if (this._options.keep_array_indentatio n &&\n current_token.newlines &&\n (current_token.text === '[' || is_a rray(this._flags.mode))) {\n this._output.current_line.set_indent(-1);\n this._output.current_line.push(current_token.whitespace_before);\n this. _output.space_before_token = false;\n } else if (this._output.set_indent(this ._flags.indentation_level, this._flags.alignment)) {\n this._flags.line_ind ent_level = this._flags.indentation_level;\n }\n }\n};\n\nBeautifier.prototy pe.print_token = function(current_token) {\n if (this._output.raw) {\n this. _output.add_raw_token(current_token);\n return;\n }\n\n if (this._options.c omma_first && current_token.previous && current_token.previous.type === TOKEN.CO MMA &&\n this._output.just_added_newline()) {\n if (this._output.previous_ line.last() === ',') {\n var popped = this._output.previous_line.pop();\n // if the comma was already at the start of the line,\n // pull back on to that line and reprint the indentation\n if (this._output.previous_line.i s_empty()) {\n this._output.previous_line.push(popped);\n this._ou tput.trim(true);\n this._output.current_line.pop();\n this._output .trim();\n }\n\n // add the comma in front of the next token\n th is.print_token_line_indentation(current_token);\n this._output.add_token(', ');\n this._output.space_before_token = true;\n }\n }\n\n this.print_t oken_line_indentation(current_token);\n this._output.non_breaking_space = true; \n this._output.add_token(current_token.text);\n if (this._output.previous_tok en_wrapped) {\n this._flags.multiline_frame = true;\n }\n};\n\nBeautifier.pr ototype.indent = function() {\n this._flags.indentation_level += 1;\n this._ou tput.set_indent(this._flags.indentation_level, this._flags.alignment);\n};\n\nBe autifier.prototype.deindent = function() {\n if (this._flags.indentation_level > 0 &&\n ((!this._flags.parent) || this._flags.indentation_level > this._flag s.parent.indentation_level)) {\n this._flags.indentation_level -= 1;\n thi s._output.set_indent(this._flags.indentation_level, this._flags.alignment);\n } \n};\n\nBeautifier.prototype.set_mode = function(mode) {\n if (this._flags) {\n this._flag_store.push(this._flags);\n this._previous_flags = this._flags; \n } else {\n this._previous_flags = this.create_flags(null, mode);\n }\n\n this._flags = this.create_flags(this._previous_flags, mode);\n this._output.s et_indent(this._flags.indentation_level, this._flags.alignment);\n};\n\n\nBeauti fier.prototype.restore_mode = function() {\n if (this._flag_store.length > 0) { \n this._previous_flags = this._flags;\n this._flags = this._flag_store.po p();\n if (this._previous_flags.mode === MODE.Statement) {\n remove_redu ndant_indentation(this._output, this._previous_flags);\n }\n this._output. set_indent(this._flags.indentation_level, this._flags.alignment);\n }\n};\n\nBe autifier.prototype.start_of_object_property = function() {\n return this._flags .parent.mode === MODE.ObjectLiteral && this._flags.mode === MODE.Statement && (\ n (this._flags.last_token.text === ':' && this._flags.ternary_depth === 0) || (reserved_array(this._flags.last_token, ['get', 'set'])));\n};\n\nBeautifier.pr ototype.start_of_statement = function(current_token) {\n var start = false;\n start = start || reserved_array(this._flags.last_token, ['var', 'let', 'const']) && current_token.type === TOKEN.WORD;\n start = start || reserved_word(this._f lags.last_token, 'do');\n start = start || (!(this._flags.parent.mode === MODE. ObjectLiteral && this._flags.mode === MODE.Statement)) && reserved_array(this._f lags.last_token, newline_restricted_tokens) && !current_token.newlines;\n start = start || reserved_word(this._flags.last_token, 'else') &&\n !(reserved_wor d(current_token, 'if') && !current_token.comments_before);\n start = start || ( this._flags.last_token.type === TOKEN.END_EXPR && (this._previous_flags.mode === MODE.ForInitializer || this._previous_flags.mode === MODE.Conditional));\n sta rt = start || (this._flags.last_token.type === TOKEN.WORD && this._flags.mode == = MODE.BlockStatement &&\n !this._flags.in_case &&\n !(current_token.text === '--' || current_token.text === '++') &&\n this._last_last_text !== 'funct ion' &&\n current_token.type !== TOKEN.WORD && current_token.type !== TOKEN.R ESERVED);\n start = start || (this._flags.mode === MODE.ObjectLiteral && (\n (this._flags.last_token.text === ':' && this._flags.ternary_depth === 0) || res erved_array(this._flags.last_token, ['get', 'set'])));\n\n if (start) {\n th is.set_mode(MODE.Statement);\n this.indent();\n\n this.handle_whitespace_a nd_comments(current_token, true);\n\n // Issue #276:\n // If starting a ne w statement with [if, for, while, do], push to a new line.\n // if (a) if (b) if(c) d(); else e(); else f();\n if (!this.start_of_object_property()) {\n this.allow_wrap_or_preserved_newline(current_token,\n reserved_array( current_token, ['do', 'for', 'if', 'while']));\n }\n return true;\n }\n return false;\n};\n\nBeautifier.prototype.handle_start_expr = function(current_t oken) {\n // The conditional starts the statement if appropriate.\n if (!this. start_of_statement(current_token)) {\n this.handle_whitespace_and_comments(cu rrent_token);\n }\n\n var next_mode = MODE.Expression;\n if (current_token.te xt === '[') {\n\n if (this._flags.last_token.type === TOKEN.WORD || this._fla gs.last_token.text === ')') {\n // this is array index specifier, break imm ediately\n // a[x], fn()[x]\n if (reserved_array(this._flags.last_toke n, line_starters)) {\n this._output.space_before_token = true;\n }\n this.print_token(current_token);\n this.set_mode(next_mode);\n t his.indent();\n if (this._options.space_in_paren) {\n this._output.s pace_before_token = true;\n }\n return;\n }\n\n next_mode = MODE .ArrayLiteral;\n if (is_array(this._flags.mode)) {\n if (this._flags.las t_token.text === '[' ||\n (this._flags.last_token.text === ',' && (this._ last_last_text === ']' || this._last_last_text === '}'))) {\n // ], [ goe s to new line\n // }, [ goes to new line\n if (!this._options.keep _array_indentation) {\n this.print_newline();\n }\n }\n }\n\n if (!in_array(this._flags.last_token.type, [TOKEN.START_EXPR, TOKEN.END _EXPR, TOKEN.WORD, TOKEN.OPERATOR, TOKEN.DOT])) {\n this._output.space_befo re_token = true;\n }\n } else {\n if (this._flags.last_token.type === TOK EN.RESERVED) {\n if (this._flags.last_token.text === 'for') {\n this ._output.space_before_token = this._options.space_before_conditional;\n n ext_mode = MODE.ForInitializer;\n } else if (in_array(this._flags.last_toke n.text, ['if', 'while', 'switch'])) {\n this._output.space_before_token = this._options.space_before_conditional;\n next_mode = MODE.Conditional;\ n } else if (in_array(this._flags.last_word, ['await', 'async'])) {\n // Should be a space between await and an IIFE, or async and an arrow function \n this._output.space_before_token = true;\n } else if (this._flags. last_token.text === 'import' && current_token.whitespace_before === '') {\n this._output.space_before_token = false;\n } else if (in_array(this._fla gs.last_token.text, line_starters) || this._flags.last_token.text === 'catch') { \n this._output.space_before_token = true;\n }\n } else if (this. _flags.last_token.type === TOKEN.EQUALS || this._flags.last_token.type === TOKEN .OPERATOR) {\n // Support of this kind of newline preservation.\n // a = (b &&\n // (c || d));\n if (!this.start_of_object_property()) { \n this.allow_wrap_or_preserved_newline(current_token);\n }\n } e lse if (this._flags.last_token.type === TOKEN.WORD) {\n this._output.space_ before_token = false;\n\n // function name() vs function name ()\n // function* name() vs function* name ()\n // async name() vs async name ()\n // In ES6, you can also define the method properties of an object\n // var obj = {a: function() {}}\n // It can be abbreviated\n // var obj = {a() {}}\n // var obj = { a() {}} vs var obj = { a () {}}\n // var o bj = { * a() {}} vs var obj = { * a () {}}\n var peek_back_two = this._toke ns.peek(-3);\n if (this._options.space_after_named_function && peek_back_tw o) {\n // peek starts at next character so -1 is current token\n v ar peek_back_three = this._tokens.peek(-4);\n if (reserved_array(peek_bac k_two, ['async', 'function']) ||\n (peek_back_two.text === '*' && reser ved_array(peek_back_three, ['async', 'function']))) {\n this._output.sp ace_before_token = true;\n } else if (this._flags.mode === MODE.ObjectLit eral) {\n if ((peek_back_two.text === '{' || peek_back_two.text === ',' ) ||\n (peek_back_two.text === '*' && (peek_back_three.text === '{' | | peek_back_three.text === ','))) {\n this._output.space_before_token = true;\n }\n } else if (this._flags.parent && this._flags.pare nt.class_start_block) {\n this._output.space_before_token = true;\n }\n }\n } else {\n // Support preserving wrapped arrow function expressions\n // a.b('c',\n // () => d.e\n // )\n this. allow_wrap_or_preserved_newline(current_token);\n }\n\n // function() vs f unction ()\n // yield*() vs yield* ()\n // function*() vs function* ()\n if ((this._flags.last_token.type === TOKEN.RESERVED && (this._flags.last_word === 'function' || this._flags.last_word === 'typeof')) ||\n (this._flags.la st_token.text === '*' &&\n (in_array(this._last_last_text, ['function', ' yield']) ||\n (this._flags.mode === MODE.ObjectLiteral && in_array(this ._last_last_text, ['{', ',']))))) {\n this._output.space_before_token = thi s._options.space_after_anon_function;\n }\n }\n\n if (this._flags.last_toke n.text === ';' || this._flags.last_token.type === TOKEN.START_BLOCK) {\n this .print_newline();\n } else if (this._flags.last_token.type === TOKEN.END_EXPR | | this._flags.last_token.type === TOKEN.START_EXPR || this._flags.last_token.typ e === TOKEN.END_BLOCK || this._flags.last_token.text === '.' || this._flags.last _token.type === TOKEN.COMMA) {\n // do nothing on (( and )( and ][ and ]( and .(\n // TODO: Consider whether forcing this is required. Review failing tes ts when removed.\n this.allow_wrap_or_preserved_newline(current_token, curren t_token.newlines);\n }\n\n this.print_token(current_token);\n this.set_mode(n ext_mode);\n if (this._options.space_in_paren) {\n this._output.space_before _token = true;\n }\n\n // In all cases, if we newline while inside an expressi on it should be indented.\n this.indent();\n};\n\nBeautifier.prototype.handle_e nd_expr = function(current_token) {\n // statements inside expressions are not valid syntax, but...\n // statements must all be closed when their container cl oses\n while (this._flags.mode === MODE.Statement) {\n this.restore_mode();\ n }\n\n this.handle_whitespace_and_comments(current_token);\n\n if (this._fla gs.multiline_frame) {\n this.allow_wrap_or_preserved_newline(current_token,\n current_token.text === ']' && is_array(this._flags.mode) && !this._options .keep_array_indentation);\n }\n\n if (this._options.space_in_paren) {\n if (this._flags.last_token.type === TOKEN.START_EXPR && !this._options.space_in_emp ty_paren) {\n // () [] no inner space in empty parens like these, ever, ref #320\n this._output.trim();\n this._output.space_before_token = false ;\n } else {\n this._output.space_before_token = true;\n }\n }\n th is.deindent();\n this.print_token(current_token);\n this.restore_mode();\n\n remove_redundant_indentation(this._output, this._previous_flags);\n\n // do {} while () // no statement required after\n if (this._flags.do_while && this._pre vious_flags.mode === MODE.Conditional) {\n this._previous_flags.mode = MODE.E xpression;\n this._flags.do_block = false;\n this._flags.do_while = false; \n\n }\n};\n\nBeautifier.prototype.handle_start_block = function(current_token) {\n this.handle_whitespace_and_comments(current_token);\n\n // Check if this is should be treated as a ObjectLiteral\n var next_token = this._tokens.peek(); \n var second_token = this._tokens.peek(1);\n if (this._flags.last_word === 's witch' && this._flags.last_token.type === TOKEN.END_EXPR) {\n this.set_mode(M ODE.BlockStatement);\n this._flags.in_case_statement = true;\n } else if (th is._flags.case_body) {\n this.set_mode(MODE.BlockStatement);\n } else if (se cond_token && (\n (in_array(second_token.text, [':', ',']) && in_array(next _token.type, [TOKEN.STRING, TOKEN.WORD, TOKEN.RESERVED])) ||\n (in_array(ne xt_token.text, ['get', 'set', '...']) && in_array(second_token.type, [TOKEN.WORD , TOKEN.RESERVED]))\n )) {\n // We don't support TypeScript,but we didn't break it for a very long time.\n // We'll try to keep not breaking it.\n i f (in_array(this._last_last_text, ['class', 'interface']) && !in_array(second_to ken.text, [':', ','])) {\n this.set_mode(MODE.BlockStatement);\n } else {\n this.set_mode(MODE.ObjectLiteral);\n }\n } else if (this._flags.las t_token.type === TOKEN.OPERATOR && this._flags.last_token.text === '=>') {\n // arrow function: (param1, paramN) => { statements }\n this.set_mode(MODE.Bl ockStatement);\n } else if (in_array(this._flags.last_token.type, [TOKEN.EQUALS , TOKEN.START_EXPR, TOKEN.COMMA, TOKEN.OPERATOR]) ||\n reserved_array(this._f lags.last_token, ['return', 'throw', 'import', 'default'])\n ) {\n // Detect ing shorthand function syntax is difficult by scanning forward,\n // so c heck the surrounding context.\n // If the block is being returned, imported, export default, passed as arg,\n // assigned with = or assigned in a nest ed object, treat as an ObjectLiteral.\n this.set_mode(MODE.ObjectLiteral);\n } else {\n this.set_mode(MODE.BlockStatement);\n }\n\n if (this._flags.las t_token) {\n if (reserved_array(this._flags.last_token.previous, ['class', 'e xtends'])) {\n this._flags.class_start_block = true;\n }\n }\n\n var e mpty_braces = !next_token.comments_before && next_token.text === '}';\n var emp ty_anonymous_function = empty_braces && this._flags.last_word === 'function' &&\ n this._flags.last_token.type === TOKEN.END_EXPR;\n\n if (this._options.brac e_preserve_inline) // check for inline, set inline_frame if so\n {\n // sear ch forward for a newline wanted inside this block\n var index = 0;\n var c heck_token = null;\n this._flags.inline_frame = true;\n do {\n index += 1;\n check_token = this._tokens.peek(index - 1);\n if (check_token. newlines) {\n this._flags.inline_frame = false;\n break;\n }\ n } while (check_token.type !== TOKEN.EOF &&\n !(check_token.type === TO KEN.END_BLOCK && check_token.opened === current_token));\n }\n\n if ((this._op tions.brace_style === \"expand\" ||\n (this._options.brace_style === \"none \" && current_token.newlines)) &&\n !this._flags.inline_frame) {\n if (thi s._flags.last_token.type !== TOKEN.OPERATOR &&\n (empty_anonymous_function ||\n this._flags.last_token.type === TOKEN.EQUALS ||\n (reserved_a rray(this._flags.last_token, special_words) && this._flags.last_token.text !== ' else'))) {\n this._output.space_before_token = true;\n } else {\n t his.print_newline(false, true);\n }\n } else { // collapse || inline_frame\n if (is_array(this._previous_flags.mode) && (this._flags.last_token.type === TOKEN.START_EXPR || this._flags.last_token.type === TOKEN.COMMA)) {\n if (t his._flags.last_token.type === TOKEN.COMMA || this._options.space_in_paren) {\n this._output.space_before_token = true;\n }\n\n if (this._flags .last_token.type === TOKEN.COMMA || (this._flags.last_token.type === TOKEN.START _EXPR && this._flags.inline_frame)) {\n this.allow_wrap_or_preserved_newl ine(current_token);\n this._previous_flags.multiline_frame = this._previo us_flags.multiline_frame || this._flags.multiline_frame;\n this._flags.mu ltiline_frame = false;\n }\n }\n if (this._flags.last_token.type !== TOKEN.OPERATOR && this._flags.last_token.type !== TOKEN.START_EXPR) {\n if (this._flags.last_token.type === TOKEN.START_BLOCK && !this._flags.inline_frame) {\n this.print_newline();\n } else {\n this._output.space_be fore_token = true;\n }\n }\n }\n this.print_token(current_token);\n t his.indent();\n\n // Except for specific cases, open braces are followed by a n ew line.\n if (!empty_braces && !(this._options.brace_preserve_inline && this._ flags.inline_frame)) {\n this.print_newline();\n }\n};\n\nBeautifier.prototy pe.handle_end_block = function(current_token) {\n // statements must all be clo sed when their container closes\n this.handle_whitespace_and_comments(current_t oken);\n\n while (this._flags.mode === MODE.Statement) {\n this.restore_mode ();\n }\n\n var empty_braces = this._flags.last_token.type === TOKEN.START_BLO CK;\n\n if (this._flags.inline_frame && !empty_braces) { // try inline_frame (o nly set if this._options.braces-preserve-inline) first\n this._output.space_b efore_token = true;\n } else if (this._options.brace_style === \"expand\") {\n if (!empty_braces) {\n this.print_newline();\n }\n } else {\n // skip {}\n if (!empty_braces) {\n if (is_array(this._flags.mode) && this. _options.keep_array_indentation) {\n // we REALLY need a newline here, bu t newliner would skip that\n this._options.keep_array_indentation = false ;\n this.print_newline();\n this._options.keep_array_indentation = true;\n\n } else {\n this.print_newline();\n }\n }\n }\n this.restore_mode();\n this.print_token(current_token);\n};\n\nBeautifier.proto type.handle_word = function(current_token) {\n if (current_token.type === TOKEN .RESERVED) {\n if (in_array(current_token.text, ['set', 'get']) && this._flag s.mode !== MODE.ObjectLiteral) {\n current_token.type = TOKEN.WORD;\n } else if (current_token.text === 'import' && in_array(this._tokens.peek().text, [ '(', '.'])) {\n current_token.type = TOKEN.WORD;\n } else if (in_array(c urrent_token.text, ['as', 'from']) && !this._flags.import_block) {\n curren t_token.type = TOKEN.WORD;\n } else if (this._flags.mode === MODE.ObjectLiter al) {\n var next_token = this._tokens.peek();\n if (next_token.text == = ':') {\n current_token.type = TOKEN.WORD;\n }\n }\n }\n\n if (this.start_of_statement(current_token)) {\n // The conditional starts the st atement if appropriate.\n if (reserved_array(this._flags.last_token, ['var', 'let', 'const']) && current_token.type === TOKEN.WORD) {\n this._flags.decl aration_statement = true;\n }\n } else if (current_token.newlines && !is_exp ression(this._flags.mode) &&\n (this._flags.last_token.type !== TOKEN.OPERATO R || (this._flags.last_token.text === '--' || this._flags.last_token.text === '+ +')) &&\n this._flags.last_token.type !== TOKEN.EQUALS &&\n (this._options .preserve_newlines || !reserved_array(this._flags.last_token, ['var', 'let', 'co nst', 'set', 'get']))) {\n this.handle_whitespace_and_comments(current_token) ;\n this.print_newline();\n } else {\n this.handle_whitespace_and_comment s(current_token);\n }\n\n if (this._flags.do_block && !this._flags.do_while) { \n if (reserved_word(current_token, 'while')) {\n // do {} ## while ()\n this._output.space_before_token = true;\n this.print_token(current_to ken);\n this._output.space_before_token = true;\n this._flags.do_while = true;\n return;\n } else {\n // do {} should always have while a s the next word.\n // if we don't see the expected while, recover\n th is.print_newline();\n this._flags.do_block = false;\n }\n }\n\n // if may be followed by else, or not\n // Bare/inline ifs are tricky\n // Need to u nwind the modes correctly: if (a) if (b) c(); else d(); else e();\n if (this._f lags.if_block) {\n if (!this._flags.else_block && reserved_word(current_token , 'else')) {\n this._flags.else_block = true;\n } else {\n while (t his._flags.mode === MODE.Statement) {\n this.restore_mode();\n }\n this._flags.if_block = false;\n this._flags.else_block = false;\n }\ n }\n\n if (this._flags.in_case_statement && reserved_array(current_token, ['c ase', 'default'])) {\n this.print_newline();\n if (!this._flags.case_block && (this._flags.case_body || this._options.jslint_happy)) {\n // switch ca ses following one another\n this.deindent();\n }\n this._flags.case_b ody = false;\n\n this.print_token(current_token);\n this._flags.in_case = true;\n return;\n }\n\n if (this._flags.last_token.type === TOKEN.COMMA || this._flags.last_token.type === TOKEN.START_EXPR || this._flags.last_token.type === TOKEN.EQUALS || this._flags.last_token.type === TOKEN.OPERATOR) {\n if (! this.start_of_object_property()) {\n this.allow_wrap_or_preserved_newline(c urrent_token);\n }\n }\n\n if (reserved_word(current_token, 'function')) {\ n if (in_array(this._flags.last_token.text, ['}', ';']) ||\n (this._outp ut.just_added_newline() && !(in_array(this._flags.last_token.text, ['(', '[', '{ ', ':', '=', ',']) || this._flags.last_token.type === TOKEN.OPERATOR))) {\n // make sure there is a nice clean space of at least one blank line\n // b efore a new function definition\n if (!this._output.just_added_blankline() && !current_token.comments_before) {\n this.print_newline();\n thi s.print_newline(true);\n }\n }\n if (this._flags.last_token.type === TOKEN.RESERVED || this._flags.last_token.type === TOKEN.WORD) {\n if (reser ved_array(this._flags.last_token, ['get', 'set', 'new', 'export']) ||\n r eserved_array(this._flags.last_token, newline_restricted_tokens)) {\n thi s._output.space_before_token = true;\n } else if (reserved_word(this._flags .last_token, 'default') && this._last_last_text === 'export') {\n this._o utput.space_before_token = true;\n } else if (this._flags.last_token.text = == 'declare') {\n // accomodates Typescript declare function formatting\n this._output.space_before_token = true;\n } else {\n this.pr int_newline();\n }\n } else if (this._flags.last_token.type === TOKEN.OP ERATOR || this._flags.last_token.text === '=') {\n // foo = function\n this._output.space_before_token = true;\n } else if (!this._flags.multiline_ frame && (is_expression(this._flags.mode) || is_array(this._flags.mode))) {\n // (function\n } else {\n this.print_newline();\n }\n\n this.pr int_token(current_token);\n this._flags.last_word = current_token.text;\n return;\n }\n\n var prefix = 'NONE';\n\n if (this._flags.last_token.type === TOKEN.END_BLOCK) {\n\n if (this._previous_flags.inline_frame) {\n prefix = 'SPACE';\n } else if (!reserved_array(current_token, ['else', 'catch', 'fi nally', 'from'])) {\n prefix = 'NEWLINE';\n } else {\n if (this._op tions.brace_style === \"expand\" ||\n this._options.brace_style === \"end -expand\" ||\n (this._options.brace_style === \"none\" && current_token.n ewlines)) {\n prefix = 'NEWLINE';\n } else {\n prefix = 'SPAC E';\n this._output.space_before_token = true;\n }\n }\n } else i f (this._flags.last_token.type === TOKEN.SEMICOLON && this._flags.mode === MODE. BlockStatement) {\n // TODO: Should this be for STATEMENT as well?\n prefi x = 'NEWLINE';\n } else if (this._flags.last_token.type === TOKEN.SEMICOLON && is_expression(this._flags.mode)) {\n prefix = 'SPACE';\n } else if (this._fl ags.last_token.type === TOKEN.STRING) {\n prefix = 'NEWLINE';\n } else if (t his._flags.last_token.type === TOKEN.RESERVED || this._flags.last_token.type === TOKEN.WORD ||\n (this._flags.last_token.text === '*' &&\n (in_array(thi s._last_last_text, ['function', 'yield']) ||\n (this._flags.mode === MODE .ObjectLiteral && in_array(this._last_last_text, ['{', ',']))))) {\n prefix = 'SPACE';\n } else if (this._flags.last_token.type === TOKEN.START_BLOCK) {\n if (this._flags.inline_frame) {\n prefix = 'SPACE';\n } else {\n prefix = 'NEWLINE';\n }\n } else if (this._flags.last_token.type === TOKEN.E ND_EXPR) {\n this._output.space_before_token = true;\n prefix = 'NEWLINE'; \n }\n\n if (reserved_array(current_token, line_starters) && this._flags.last_ token.text !== ')') {\n if (this._flags.inline_frame || this._flags.last_toke n.text === 'else' || this._flags.last_token.text === 'export') {\n prefix = 'SPACE';\n } else {\n prefix = 'NEWLINE';\n }\n\n }\n\n if (reserv ed_array(current_token, ['else', 'catch', 'finally'])) {\n if ((!(this._flags .last_token.type === TOKEN.END_BLOCK && this._previous_flags.mode === MODE.Block Statement) ||\n this._options.brace_style === \"expand\" ||\n this ._options.brace_style === \"end-expand\" ||\n (this._options.brace_style === \"none\" && current_token.newlines)) &&\n !this._flags.inline_frame) {\ n this.print_newline();\n } else {\n this._output.trim(true);\n var line = this._output.current_line;\n // If we trimmed and there's some thing other than a close block before us\n // put a newline back in. Handl es '} // comment' scenario.\n if (line.last() !== '}') {\n this.prin t_newline();\n }\n this._output.space_before_token = true;\n }\n } else if (prefix === 'NEWLINE') {\n if (reserved_array(this._flags.last_token , special_words)) {\n // no newline between 'return nnn'\n this._outpu t.space_before_token = true;\n } else if (this._flags.last_token.text === 'de clare' && reserved_array(current_token, ['var', 'let', 'const'])) {\n // ac comodates Typescript declare formatting\n this._output.space_before_token = true;\n } else if (this._flags.last_token.type !== TOKEN.END_EXPR) {\n if ((this._flags.last_token.type !== TOKEN.START_EXPR || !reserved_array(current _token, ['var', 'let', 'const'])) && this._flags.last_token.text !== ':') {\n // no need to force newline on 'var': for (var x = 0...)\n if (reser ved_word(current_token, 'if') && reserved_word(current_token.previous, 'else')) {\n // no newline for } else if {\n this._output.space_before_ token = true;\n } else {\n this.print_newline();\n }\n }\n } else if (reserved_array(current_token, line_starters) && this._flags .last_token.text !== ')') {\n this.print_newline();\n }\n } else if (th is._flags.multiline_frame && is_array(this._flags.mode) && this._flags.last_toke n.text === ',' && this._last_last_text === '}') {\n this.print_newline(); // }, in lists get a newline treatment\n } else if (prefix === 'SPACE') {\n thi s._output.space_before_token = true;\n }\n if (current_token.previous && (curr ent_token.previous.type === TOKEN.WORD || current_token.previous.type === TOKEN. RESERVED)) {\n this._output.space_before_token = true;\n }\n this.print_tok en(current_token);\n this._flags.last_word = current_token.text;\n\n if (curre nt_token.type === TOKEN.RESERVED) {\n if (current_token.text === 'do') {\n this._flags.do_block = true;\n } else if (current_token.text === 'if') {\n this._flags.if_block = true;\n } else if (current_token.text === 'impor t') {\n this._flags.import_block = true;\n } else if (this._flags.import _block && reserved_word(current_token, 'from')) {\n this._flags.import_bloc k = false;\n }\n }\n};\n\nBeautifier.prototype.handle_semicolon = function(c urrent_token) {\n if (this.start_of_statement(current_token)) {\n // The con ditional starts the statement if appropriate.\n // Semicolon can be the start (and end) of a statement\n this._output.space_before_token = false;\n } els e {\n this.handle_whitespace_and_comments(current_token);\n }\n\n var next_ token = this._tokens.peek();\n while (this._flags.mode === MODE.Statement &&\n !(this._flags.if_block && reserved_word(next_token, 'else')) &&\n !this._f lags.do_block) {\n this.restore_mode();\n }\n\n // hacky but effective for the moment\n if (this._flags.import_block) {\n this._flags.import_block = fa lse;\n }\n this.print_token(current_token);\n};\n\nBeautifier.prototype.handle _string = function(current_token) {\n if (current_token.text.startsWith(\"`\") && current_token.newlines === 0 && current_token.whitespace_before === '' && (cu rrent_token.previous.text === ')' || this._flags.last_token.type === TOKEN.WORD) ) {\n //Conditional for detectign backtick strings\n } else if (this.start_o f_statement(current_token)) {\n // The conditional starts the statement if ap propriate.\n // One difference - strings want at least a space before\n th is._output.space_before_token = true;\n } else {\n this.handle_whitespace_an d_comments(current_token);\n if (this._flags.last_token.type === TOKEN.RESERV ED || this._flags.last_token.type === TOKEN.WORD || this._flags.inline_frame) {\ n this._output.space_before_token = true;\n } else if (this._flags.last_ token.type === TOKEN.COMMA || this._flags.last_token.type === TOKEN.START_EXPR | | this._flags.last_token.type === TOKEN.EQUALS || this._flags.last_token.type == = TOKEN.OPERATOR) {\n if (!this.start_of_object_property()) {\n this .allow_wrap_or_preserved_newline(current_token);\n }\n } else if ((curre nt_token.text.startsWith(\"`\") && this._flags.last_token.type === TOKEN.END_EXP R && (current_token.previous.text === ']' || current_token.previous.text === ')' ) && current_token.newlines === 0)) {\n this._output.space_before_token = t rue;\n } else {\n this.print_newline();\n }\n }\n this.print_token( current_token);\n};\n\nBeautifier.prototype.handle_equals = function(current_tok en) {\n if (this.start_of_statement(current_token)) {\n // The conditional s tarts the statement if appropriate.\n } else {\n this.handle_whitespace_and_ comments(current_token);\n }\n\n if (this._flags.declaration_statement) {\n // just got an '=' in a var-line, different formatting/line-breaking, etc will now be done\n this._flags.declaration_assignment = true;\n }\n this._output .space_before_token = true;\n this.print_token(current_token);\n this._output. space_before_token = true;\n};\n\nBeautifier.prototype.handle_comma = function(c urrent_token) {\n this.handle_whitespace_and_comments(current_token, true);\n\n this.print_token(current_token);\n this._output.space_before_token = true;\n if (this._flags.declaration_statement) {\n if (is_expression(this._flags.par ent.mode)) {\n // do not break on comma, for(var a = 1, b = 2)\n this. _flags.declaration_assignment = false;\n }\n\n if (this._flags.declaration _assignment) {\n this._flags.declaration_assignment = false;\n this.pr int_newline(false, true);\n } else if (this._options.comma_first) {\n // for comma-first, we want to allow a newline before the comma\n // to turn into a newline after the comma, which we will fixup later\n this.allow_wrap _or_preserved_newline(current_token);\n }\n } else if (this._flags.mode === MODE.ObjectLiteral ||\n (this._flags.mode === MODE.Statement && this._flags.p arent.mode === MODE.ObjectLiteral)) {\n if (this._flags.mode === MODE.Stateme nt) {\n this.restore_mode();\n }\n\n if (!this._flags.inline_frame) { \n this.print_newline();\n }\n } else if (this._options.comma_first) {\ n // EXPR or DO_BLOCK\n // for comma-first, we want to allow a newline bef ore the comma\n // to turn into a newline after the comma, which we will fixu p later\n this.allow_wrap_or_preserved_newline(current_token);\n }\n};\n\nBe autifier.prototype.handle_operator = function(current_token) {\n var isGenerato rAsterisk = current_token.text === '*' &&\n (reserved_array(this._flags.last_ token, ['function', 'yield']) ||\n (in_array(this._flags.last_token.type, [ TOKEN.START_BLOCK, TOKEN.COMMA, TOKEN.END_BLOCK, TOKEN.SEMICOLON]))\n );\n v ar isUnary = in_array(current_token.text, ['-', '+']) && (\n in_array(this._f lags.last_token.type, [TOKEN.START_BLOCK, TOKEN.START_EXPR, TOKEN.EQUALS, TOKEN. OPERATOR]) ||\n in_array(this._flags.last_token.text, line_starters) ||\n this._flags.last_token.text === ','\n );\n\n if (this.start_of_statement(curre nt_token)) {\n // The conditional starts the statement if appropriate.\n } e lse {\n var preserve_statement_flags = !isGeneratorAsterisk;\n this.handle _whitespace_and_comments(current_token, preserve_statement_flags);\n }\n\n // hack for actionscript's import .*;\n if (current_token.text === '*' && this._fl ags.last_token.type === TOKEN.DOT) {\n this.print_token(current_token);\n return;\n }\n\n if (current_token.text === '::') {\n // no spaces around ex otic namespacing syntax operator\n this.print_token(current_token);\n retu rn;\n }\n\n // Allow line wrapping between operators when operator_position is \n // set to before or preserve\n if (this._flags.last_token.type === TOKEN. OPERATOR && in_array(this._options.operator_position, OPERATOR_POSITION_BEFORE_O R_PRESERVE)) {\n this.allow_wrap_or_preserved_newline(current_token);\n }\n\ n if (current_token.text === ':' && this._flags.in_case) {\n this.print_toke n(current_token);\n\n this._flags.in_case = false;\n this._flags.case_body = true;\n if (this._tokens.peek().type !== TOKEN.START_BLOCK) {\n this. indent();\n this.print_newline();\n this._flags.case_block = false;\n } else {\n this._flags.case_block = true;\n this._output.space_befo re_token = true;\n }\n return;\n }\n\n var space_before = true;\n var s pace_after = true;\n var in_ternary = false;\n if (current_token.text === ':') {\n if (this._flags.ternary_depth === 0) {\n // Colon is invalid javasc ript outside of ternary and object, but do our best to guess what was meant.\n space_before = false;\n } else {\n this._flags.ternary_depth -= 1;\n in_ternary = true;\n }\n } else if (current_token.text === '?') {\n this._flags.ternary_depth += 1;\n }\n\n // let's handle the operator_position option prior to any conflicting logic\n if (!isUnary && !isGeneratorAsterisk & & this._options.preserve_newlines && in_array(current_token.text, positionable_o perators)) {\n var isColon = current_token.text === ':';\n var isTernaryCo lon = (isColon && in_ternary);\n var isOtherColon = (isColon && !in_ternary); \n\n switch (this._options.operator_position) {\n case OPERATOR_POSITION .before_newline:\n // if the current token is : and it's not a ternary st atement then we set space_before to false\n this._output.space_before_tok en = !isOtherColon;\n\n this.print_token(current_token);\n\n if (! isColon || isTernaryColon) {\n this.allow_wrap_or_preserved_newline(cur rent_token);\n }\n\n this._output.space_before_token = true;\n return;\n\n case OPERATOR_POSITION.after_newline:\n // if the cu rrent token is anything but colon, or (via deduction) it's a colon and in a tern ary statement,\n // then print a newline.\n\n this._output.space _before_token = true;\n\n if (!isColon || isTernaryColon) {\n if (this._tokens.peek().newlines) {\n this.print_newline(false, true);\ n } else {\n this.allow_wrap_or_preserved_newline(current_to ken);\n }\n } else {\n this._output.space_before_token = false;\n }\n\n this.print_token(current_token);\n\n this. _output.space_before_token = true;\n return;\n\n case OPERATOR_POSIT ION.preserve_newline:\n if (!isOtherColon) {\n this.allow_wrap_o r_preserved_newline(current_token);\n }\n\n // if we just added a newline, or the current token is : and it's not a ternary statement,\n // then we set space_before to false\n space_before = !(this._output.just _added_newline() || isOtherColon);\n\n this._output.space_before_token = space_before;\n this.print_token(current_token);\n this._output.sp ace_before_token = true;\n return;\n }\n }\n\n if (isGeneratorAsteri sk) {\n this.allow_wrap_or_preserved_newline(current_token);\n space_befor e = false;\n var next_token = this._tokens.peek();\n space_after = next_to ken && in_array(next_token.type, [TOKEN.WORD, TOKEN.RESERVED]);\n } else if (cu rrent_token.text === '...') {\n this.allow_wrap_or_preserved_newline(current_ token);\n space_before = this._flags.last_token.type === TOKEN.START_BLOCK;\n space_after = false;\n } else if (in_array(current_token.text, ['--', '++', '!', '~']) || isUnary) {\n // unary operators (and binary +/- pretending to be unary) special cases\n if (this._flags.last_token.type === TOKEN.COMMA || this._flags.last_token.type === TOKEN.START_EXPR) {\n this.allow_wrap_or_pr eserved_newline(current_token);\n }\n\n space_before = false;\n space_a fter = false;\n\n // http://www.ecma-international.org/ecma-262/5.1/#sec-7.9. 1\n // if there is a newline between -- or ++ and anything else we should pre serve it.\n if (current_token.newlines && (current_token.text === '--' || cur rent_token.text === '++' || current_token.text === '~')) {\n var new_line_n eeded = reserved_array(this._flags.last_token, special_words) && current_token.n ewlines;\n if (new_line_needed && (this._previous_flags.if_block || this._p revious_flags.else_block)) {\n this.restore_mode();\n }\n this. print_newline(new_line_needed, true);\n }\n\n if (this._flags.last_token.t ext === ';' && is_expression(this._flags.mode)) {\n // for (;; ++i)\n // ^^^\n space_before = true;\n }\n\n if (this._flags.last_tok en.type === TOKEN.RESERVED) {\n space_before = true;\n } else if (this._ flags.last_token.type === TOKEN.END_EXPR) {\n space_before = !(this._flags. last_token.text === ']' && (current_token.text === '--' || current_token.text == = '++'));\n } else if (this._flags.last_token.type === TOKEN.OPERATOR) {\n // a++ + ++b;\n // a - -b\n space_before = in_array(current_token.t ext, ['--', '-', '++', '+']) && in_array(this._flags.last_token.text, ['--', '-' , '++', '+']);\n // + and - are not unary when preceeded by -- or ++ operat or\n // a-- + b\n // a * +b\n // a - -b\n if (in_array(curre nt_token.text, ['+', '-']) && in_array(this._flags.last_token.text, ['--', '++'] )) {\n space_after = true;\n }\n }\n\n\n if (((this._flags.mod e === MODE.BlockStatement && !this._flags.inline_frame) || this._flags.mode === MODE.Statement) &&\n (this._flags.last_token.text === '{' || this._flags.la st_token.text === ';')) {\n // { foo; --i }\n // foo(); --bar;\n this.print_newline();\n }\n }\n\n this._output.space_before_token = this._o utput.space_before_token || space_before;\n this.print_token(current_token);\n this._output.space_before_token = space_after;\n};\n\nBeautifier.prototype.hand le_block_comment = function(current_token, preserve_statement_flags) {\n if (th is._output.raw) {\n this._output.add_raw_token(current_token);\n if (curre nt_token.directives && current_token.directives.preserve === 'end') {\n // If we're testing the raw output behavior, do not allow a directive to turn it of f.\n this._output.raw = this._options.test_output_raw;\n }\n return;\ n }\n\n if (current_token.directives) {\n this.print_newline(false, preserv e_statement_flags);\n this.print_token(current_token);\n if (current_token .directives.preserve === 'start') {\n this._output.raw = true;\n }\n this.print_newline(false, true);\n return;\n }\n\n // inline block\n if (! acorn.newline.test(current_token.text) && !current_token.newlines) {\n this._ output.space_before_token = true;\n this.print_token(current_token);\n thi s._output.space_before_token = true;\n return;\n } else {\n this.print_bl ock_commment(current_token, preserve_statement_flags);\n }\n};\n\nBeautifier.pr ototype.print_block_commment = function(current_token, preserve_statement_flags) {\n var lines = split_linebreaks(current_token.text);\n var j; // iterator fo r this case\n var javadoc = false;\n var starless = false;\n var lastIndent = current_token.whitespace_before;\n var lastIndentLength = lastIndent.length;\n \n // block comment starts with a new line\n this.print_newline(false, preserv e_statement_flags);\n\n // first line always indented\n this.print_token_line_ indentation(current_token);\n this._output.add_token(lines[0]);\n this.print_n ewline(false, preserve_statement_flags);\n\n\n if (lines.length > 1) {\n lin es = lines.slice(1);\n javadoc = all_lines_start_with(lines, '*');\n starl ess = each_line_matches_indent(lines, lastIndent);\n\n if (javadoc) {\n this._flags.alignment = 1;\n }\n\n for (j = 0; j < lines.length; j++) {\n if (javadoc) {\n // javadoc: reformat and re-indent\n this.pr int_token_line_indentation(current_token);\n this._output.add_token(ltrim (lines[j]));\n } else if (starless && lines[j]) {\n // starless: re- indent non-empty content, avoiding trim\n this.print_token_line_indentati on(current_token);\n this._output.add_token(lines[j].substring(lastIndent Length));\n } else {\n // normal comments output raw\n this._ output.current_line.set_indent(-1);\n this._output.add_token(lines[j]);\n }\n\n // for comments on their own line or more than one line, make sure there's a new line after\n this.print_newline(false, preserve_statemen t_flags);\n }\n\n this._flags.alignment = 0;\n }\n};\n\n\nBeautifier.prot otype.handle_comment = function(current_token, preserve_statement_flags) {\n if (current_token.newlines) {\n this.print_newline(false, preserve_statement_fl ags);\n } else {\n this._output.trim(true);\n }\n\n this._output.space_bef ore_token = true;\n this.print_token(current_token);\n this.print_newline(fals e, preserve_statement_flags);\n};\n\nBeautifier.prototype.handle_dot = function( current_token) {\n if (this.start_of_statement(current_token)) {\n // The co nditional starts the statement if appropriate.\n } else {\n this.handle_whit espace_and_comments(current_token, true);\n }\n\n if (this._flags.last_token.t ext.match('^[0-9]+$')) {\n this._output.space_before_token = true;\n }\n\n if (reserved_array(this._flags.last_token, special_words)) {\n this._output.s pace_before_token = false;\n } else {\n // allow preserved newlines before d ots in general\n // force newlines on dots after close paren when break_chain ed - for bar().baz()\n this.allow_wrap_or_preserved_newline(current_token,\n this._flags.last_token.text === ')' && this._options.break_chained_methods) ;\n }\n\n // Only unindent chained method dot if this dot starts a new line.\n // Otherwise the automatic extra indentation removal will handle the over inde nt\n if (this._options.unindent_chained_methods && this._output.just_added_newl ine()) {\n this.deindent();\n }\n\n this.print_token(current_token);\n};\n\ nBeautifier.prototype.handle_unknown = function(current_token, preserve_statemen t_flags) {\n this.print_token(current_token);\n\n if (current_token.text[curre nt_token.text.length - 1] === '\\n') {\n this.print_newline(false, preserve_s tatement_flags);\n }\n};\n\nBeautifier.prototype.handle_eof = function(current_ token) {\n // Unwind any open statements\n while (this._flags.mode === MODE.St atement) {\n this.restore_mode();\n }\n this.handle_whitespace_and_comments (current_token);\n};\n\nmodule.exports.Beautifier = Beautifier;\n","/*jshint nod e:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Liel manis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associated docum entation files\n (the \"Software\"), to deal in the Software without restrictio n,\n including without limitation the rights to use, copy, modify, merge,\n pu blish, distribute, sublicense, and/or sell copies of the Software,\n and to per mit persons to whom the Software is furnished to do so,\n subject to the follow ing conditions:\n\n The above copyright notice and this permission notice shall be\n included in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPL IED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS O R COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHET HER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\ n*/\n\n'use strict';\n\nvar Beautifier = require('./beautifier').Beautifier,\n Options = require('./options').Options;\n\nfunction js_beautify(js_source_text, options) {\n var beautifier = new Beautifier(js_source_text, options);\n retur n beautifier.beautify();\n}\n\nmodule.exports = js_beautify;\nmodule.exports.def aultOptions = function() {\n return new Options();\n};\n","/*jshint node:true * /\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Einar Lielmanis, L iam Newman, and contributors.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associated documentation files\n (the \"Software\"), to deal in the Software without restriction,\n in cluding without limitation the rights to use, copy, modify, merge,\n publish, d istribute, sublicense, and/or sell copies of the Software,\n and to permit pers ons to whom the Software is furnished to do so,\n subject to the following cond itions:\n\n The above copyright notice and this permission notice shall be\n i ncluded in all copies or substantial portions of the Software.\n\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INC LUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PA RTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRI GHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN A N\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNEC TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n*/\n\n' use strict';\n\nvar BaseOptions = require('../core/options').Options;\n\nvar val idPositionValues = ['before-newline', 'after-newline', 'preserve-newline'];\n\nf unction Options(options) {\n BaseOptions.call(this, options, 'js');\n\n // com patibility, re\n var raw_brace_style = this.raw_options.brace_style || null;\n if (raw_brace_style === \"expand-strict\") { //graceful handling of deprecated option\n this.raw_options.brace_style = \"expand\";\n } else if (raw_brace_s tyle === \"collapse-preserve-inline\") { //graceful handling of deprecated optio n\n this.raw_options.brace_style = \"collapse,preserve-inline\";\n } else if (this.raw_options.braces_on_own_line !== undefined) { //graceful handling of de precated option\n this.raw_options.brace_style = this.raw_options.braces_on_o wn_line ? \"expand\" : \"collapse\";\n // } else if (!raw_brace_style) { //No thing exists to set it\n // raw_brace_style = \"collapse\";\n }\n\n //pre serve-inline in delimited string will trigger brace_preserve_inline, everything\ n //else is considered a brace_style and the last one only will have an effect\ n\n var brace_style_split = this._get_selection_list('brace_style', ['collapse' , 'expand', 'end-expand', 'none', 'preserve-inline']);\n\n this.brace_preserve_ inline = false; //Defaults in case one or other was not specified in meta-option \n this.brace_style = \"collapse\";\n\n for (var bs = 0; bs < brace_style_spli t.length; bs++) {\n if (brace_style_split[bs] === \"preserve-inline\") {\n this.brace_preserve_inline = true;\n } else {\n this.brace_style = br ace_style_split[bs];\n }\n }\n\n this.unindent_chained_methods = this._get_ boolean('unindent_chained_methods');\n this.break_chained_methods = this._get_b oolean('break_chained_methods');\n this.space_in_paren = this._get_boolean('spa ce_in_paren');\n this.space_in_empty_paren = this._get_boolean('space_in_empty_ paren');\n this.jslint_happy = this._get_boolean('jslint_happy');\n this.space _after_anon_function = this._get_boolean('space_after_anon_function');\n this.s pace_after_named_function = this._get_boolean('space_after_named_function');\n this.keep_array_indentation = this._get_boolean('keep_array_indentation');\n th is.space_before_conditional = this._get_boolean('space_before_conditional', true );\n this.unescape_strings = this._get_boolean('unescape_strings');\n this.e4x = this._get_boolean('e4x');\n this.comma_first = this._get_boolean('comma_firs t');\n this.operator_position = this._get_selection('operator_position', validP ositionValues);\n\n // For testing of beautify preserve:start directive\n this .test_output_raw = this._get_boolean('test_output_raw');\n\n // force this._opt ions.space_after_anon_function to true if this._options.jslint_happy\n if (this .jslint_happy) {\n this.space_after_anon_function = true;\n }\n\n}\nOptions. prototype = new BaseOptions();\n\n\n\nmodule.exports.Options = Options;\n","/*js hint node:true */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2018 Ei nar Lielmanis, Liam Newman, and contributors.\n\n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associat ed documentation files\n (the \"Software\"), to deal in the Software without re striction,\n including without limitation the rights to use, copy, modify, merg e,\n publish, distribute, sublicense, and/or sell copies of the Software,\n an d to permit persons to whom the Software is furnished to do so,\n subject to th e following conditions:\n\n The above copyright notice and this permission noti ce shall be\n included in all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n NONINFRINGEMENT. IN NO EVENT SHALL THE A UTHORS OR COPYRIGHT HOLDERS\n BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILI TY, WHETHER IN AN\n ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SO FTWARE.\n*/\n\n'use strict';\n\nvar InputScanner = require('../core/inputscanner ').InputScanner;\nvar BaseTokenizer = require('../core/tokenizer').Tokenizer;\nv ar BASETOKEN = require('../core/tokenizer').TOKEN;\nvar Directives = require('.. /core/directives').Directives;\nvar acorn = require('./acorn');\nvar Pattern = r equire('../core/pattern').Pattern;\nvar TemplatablePattern = require('../core/te mplatablepattern').TemplatablePattern;\n\n\nfunction in_array(what, arr) {\n re turn arr.indexOf(what) !== -1;\n}\n\n\nvar TOKEN = {\n START_EXPR: 'TK_START_EX PR',\n END_EXPR: 'TK_END_EXPR',\n START_BLOCK: 'TK_START_BLOCK',\n END_BLOCK: 'TK_END_BLOCK',\n WORD: 'TK_WORD',\n RESERVED: 'TK_RESERVED',\n SEMICOLON: ' TK_SEMICOLON',\n STRING: 'TK_STRING',\n EQUALS: 'TK_EQUALS',\n OPERATOR: 'TK_ OPERATOR',\n COMMA: 'TK_COMMA',\n BLOCK_COMMENT: 'TK_BLOCK_COMMENT',\n COMMEN T: 'TK_COMMENT',\n DOT: 'TK_DOT',\n UNKNOWN: 'TK_UNKNOWN',\n START: BASETOKEN .START,\n RAW: BASETOKEN.RAW,\n EOF: BASETOKEN.EOF\n};\n\n\nvar directives_cor e = new Directives(/\\/\\*/, /\\*\\//);\n\nvar number_pattern = /0[xX][012345678 9abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\\d[\\d_]*n|(?:\\.\\d[\\d_] *|\\d[\\d_]*\\.?[\\d_]*)(?:[eE][+-]?[\\d_]+)?/;\n\nvar digit = /[0-9]/;\n\n// Do t \".\" must be distinguished from \"...\" and decimal\nvar dot_pattern = /[^\\d \\.]/;\n\nvar positionable_operators = (\n \">>> === !== &&= ??= ||= \" +\n \" << && >= ** != == <= >> || ?? |> \" +\n \"< / - + > : & % ? ^ | *\").split(' ') ;\n\n// IMPORTANT: this must be sorted longest to shortest or tokenizing many no t work.\n// Also, you must update possitionable operators separately from punct\ nvar punct =\n \">>>= \" +\n \"... >>= <<= === >>> !== **= &&= ??= ||= \" +\n \"=> ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> \" +\n \"= ! ? > < : / ^ - + * & % ~ |\";\n\npunct = punct.replace(/[-[\\]{}()*+?.,\\\\ ^$|#]/g, \"\\\\$&\");\n// ?. but not if followed by a number \npunct = '\\\\?\\\ \.(?!\\\\d) ' + punct;\npunct = punct.replace(/ /g, '|');\n\nvar punct_pattern = new RegExp(punct);\n\n// words which should always start on new line.\nvar line _starters = 'continue,try,throw,return,var,let,const,if,switch,case,default,for, while,break,function,import,export'.split(',');\nvar reserved_words = line_start ers.concat(['do', 'in', 'of', 'else', 'get', 'set', 'new', 'catch', 'finally', ' typeof', 'yield', 'async', 'await', 'from', 'as', 'class', 'extends']);\nvar res erved_word_pattern = new RegExp('^(?:' + reserved_words.join('|') + ')$');\n\n// var template_pattern = /(?:(?:<\\?php|<\\?=)[\\s\\S]*?\\?>)|(?:<%[\\s\\S]*?%>)/ g;\n\nvar in_html_comment;\n\nvar Tokenizer = function(input_string, options) {\ n BaseTokenizer.call(this, input_string, options);\n\n this._patterns.whitespa ce = this._patterns.whitespace.matching(\n /\\u00A0\\u1680\\u180e\\u2000-\\u2 00a\\u202f\\u205f\\u3000\\ufeff/.source,\n /\\u2028\\u2029/.source);\n\n var pattern_reader = new Pattern(this._input);\n var templatable = new Templatable Pattern(this._input)\n .read_options(this._options);\n\n this.__patterns = { \n template: templatable,\n identifier: templatable.starting_with(acorn.id entifier).matching(acorn.identifierMatch),\n number: pattern_reader.matching( number_pattern),\n punct: pattern_reader.matching(punct_pattern),\n // com ment ends just before nearest linefeed or end of file\n comment: pattern_read er.starting_with(/\\/\\//).until(/[\\n\\r\\u2028\\u2029]/),\n // /* ... */ c omment ends with nearest */ or end of file\n block_comment: pattern_reader.st arting_with(/\\/\\*/).until_after(/\\*\\//),\n html_comment_start: pattern_re ader.matching(/<!--/),\n html_comment_end: pattern_reader.matching(/-->/),\n include: pattern_reader.starting_with(/#include/).until_after(acorn.lineBreak ),\n shebang: pattern_reader.starting_with(/#!/).until_after(acorn.lineBreak) ,\n xml: pattern_reader.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*>/),\n single_quote: templatable.until(/['\\\\\\n\\r\\u2028\\u2029]/),\n double_quot e: templatable.until(/[\"\\\\\\n\\r\\u2028\\u2029]/),\n template_text: templa table.until(/[`\\\\$]/),\n template_expression: templatable.until(/[`}\\\\]/) \n };\n\n};\nTokenizer.prototype = new BaseTokenizer();\n\nTokenizer.prototype. _is_comment = function(current_token) {\n return current_token.type === TOKEN.C OMMENT || current_token.type === TOKEN.BLOCK_COMMENT || current_token.type === T OKEN.UNKNOWN;\n};\n\nTokenizer.prototype._is_opening = function(current_token) { \n return current_token.type === TOKEN.START_BLOCK || current_token.type === TO KEN.START_EXPR;\n};\n\nTokenizer.prototype._is_closing = function(current_token, open_token) {\n return (current_token.type === TOKEN.END_BLOCK || current_toke n.type === TOKEN.END_EXPR) &&\n (open_token && (\n (current_token.text = == ']' && open_token.text === '[') ||\n (current_token.text === ')' && open _token.text === '(') ||\n (current_token.text === '}' && open_token.text == = '{')));\n};\n\nTokenizer.prototype._reset = function() {\n in_html_comment = false;\n};\n\nTokenizer.prototype._get_next_token = function(previous_token, ope n_token) { // jshint unused:false\n var token = null;\n this._readWhitespace() ;\n var c = this._input.peek();\n\n if (c === null) {\n return this._create _token(TOKEN.EOF, '');\n }\n\n token = token || this._read_non_javascript(c);\ n token = token || this._read_string(c);\n token = token || this._read_word(pr evious_token);\n token = token || this._read_singles(c);\n token = token || th is._read_comment(c);\n token = token || this._read_regexp(c, previous_token);\n token = token || this._read_xml(c, previous_token);\n token = token || this._ read_punctuation();\n token = token || this._create_token(TOKEN.UNKNOWN, this._ input.next());\n\n return token;\n};\n\nTokenizer.prototype._read_word = functi on(previous_token) {\n var resulting_string;\n resulting_string = this.__patte rns.identifier.read();\n if (resulting_string !== '') {\n resulting_string = resulting_string.replace(acorn.allLineBreaks, '\\n');\n if (!(previous_token .type === TOKEN.DOT ||\n (previous_token.type === TOKEN.RESERVED && (prev ious_token.text === 'set' || previous_token.text === 'get'))) &&\n reserved _word_pattern.test(resulting_string)) {\n if ((resulting_string === 'in' || resulting_string === 'of') &&\n (previous_token.type === TOKEN.WORD || p revious_token.type === TOKEN.STRING)) { // hack for 'in' and 'of' operators\n return this._create_token(TOKEN.OPERATOR, resulting_string);\n }\n return this._create_token(TOKEN.RESERVED, resulting_string);\n }\n retur n this._create_token(TOKEN.WORD, resulting_string);\n }\n\n resulting_string = this.__patterns.number.read();\n if (resulting_string !== '') {\n return th is._create_token(TOKEN.WORD, resulting_string);\n }\n};\n\nTokenizer.prototype. _read_singles = function(c) {\n var token = null;\n if (c === '(' || c === '[' ) {\n token = this._create_token(TOKEN.START_EXPR, c);\n } else if (c === ') ' || c === ']') {\n token = this._create_token(TOKEN.END_EXPR, c);\n } else if (c === '{') {\n token = this._create_token(TOKEN.START_BLOCK, c);\n } els e if (c === '}') {\n token = this._create_token(TOKEN.END_BLOCK, c);\n } els e if (c === ';') {\n token = this._create_token(TOKEN.SEMICOLON, c);\n } els e if (c === '.' && dot_pattern.test(this._input.peek(1))) {\n token = this._c reate_token(TOKEN.DOT, c);\n } else if (c === ',') {\n token = this._create_ token(TOKEN.COMMA, c);\n }\n\n if (token) {\n this._input.next();\n }\n r eturn token;\n};\n\nTokenizer.prototype._read_punctuation = function() {\n var resulting_string = this.__patterns.punct.read();\n\n if (resulting_string !== ' ') {\n if (resulting_string === '=') {\n return this._create_token(TOKEN .EQUALS, resulting_string);\n } else if (resulting_string === '?.') {\n return this._create_token(TOKEN.DOT, resulting_string);\n } else {\n ret urn this._create_token(TOKEN.OPERATOR, resulting_string);\n }\n }\n};\n\nTok enizer.prototype._read_non_javascript = function(c) {\n var resulting_string = '';\n\n if (c === '#') {\n if (this._is_first_token()) {\n resulting_st ring = this.__patterns.shebang.read();\n\n if (resulting_string) {\n return this._create_token(TOKEN.UNKNOWN, resulting_string.trim() + '\\n');\n }\n }\n\n // handles extendscript #includes\n resulting_string = thi s.__patterns.include.read();\n\n if (resulting_string) {\n return this._ create_token(TOKEN.UNKNOWN, resulting_string.trim() + '\\n');\n }\n\n c = this._input.next();\n\n // Spidermonkey-specific sharp variables for circular references. Considered obsolete.\n var sharp = '#';\n if (this._input.has Next() && this._input.testChar(digit)) {\n do {\n c = this._input.ne xt();\n sharp += c;\n } while (this._input.hasNext() && c !== '#' && c !== '=');\n if (c === '#') {\n //\n } else if (this._input.p eek() === '[' && this._input.peek(1) === ']') {\n sharp += '[]';\n this._input.next();\n this._input.next();\n } else if (this._input. peek() === '{' && this._input.peek(1) === '}') {\n sharp += '{}';\n this._input.next();\n this._input.next();\n }\n return this._ create_token(TOKEN.WORD, sharp);\n }\n\n this._input.back();\n\n } else i f (c === '<' && this._is_first_token()) {\n resulting_string = this.__pattern s.html_comment_start.read();\n if (resulting_string) {\n while (this._in put.hasNext() && !this._input.testChar(acorn.newline)) {\n resulting_stri ng += this._input.next();\n }\n in_html_comment = true;\n return this._create_token(TOKEN.COMMENT, resulting_string);\n }\n } else if (in_htm l_comment && c === '-') {\n resulting_string = this.__patterns.html_comment_e nd.read();\n if (resulting_string) {\n in_html_comment = false;\n r eturn this._create_token(TOKEN.COMMENT, resulting_string);\n }\n }\n\n retu rn null;\n};\n\nTokenizer.prototype._read_comment = function(c) {\n var token = null;\n if (c === '/') {\n var comment = '';\n if (this._input.peek(1) = == '*') {\n // peek for comment /* ... */\n comment = this.__patterns. block_comment.read();\n var directives = directives_core.get_directives(com ment);\n if (directives && directives.ignore === 'start') {\n commen t += directives_core.readIgnored(this._input);\n }\n comment = comment .replace(acorn.allLineBreaks, '\\n');\n token = this._create_token(TOKEN.BL OCK_COMMENT, comment);\n token.directives = directives;\n } else if (thi s._input.peek(1) === '/') {\n // peek for comment // ...\n comment = t his.__patterns.comment.read();\n token = this._create_token(TOKEN.COMMENT, comment);\n }\n }\n return token;\n};\n\nTokenizer.prototype._read_string = function(c) {\n if (c === '`' || c === \"'\" || c === '\"') {\n var resulti ng_string = this._input.next();\n this.has_char_escapes = false;\n\n if (c === '`') {\n resulting_string += this._read_string_recursive('`', true, '$ {');\n } else {\n resulting_string += this._read_string_recursive(c);\n }\n\n if (this.has_char_escapes && this._options.unescape_strings) {\n resulting_string = unescape_string(resulting_string);\n }\n\n if (this._ input.peek() === c) {\n resulting_string += this._input.next();\n }\n\n resulting_string = resulting_string.replace(acorn.allLineBreaks, '\\n');\n\n return this._create_token(TOKEN.STRING, resulting_string);\n }\n\n return n ull;\n};\n\nTokenizer.prototype._allow_regexp_or_xml = function(previous_token) {\n // regex and xml can only appear in specific locations during parsing\n re turn (previous_token.type === TOKEN.RESERVED && in_array(previous_token.text, [' return', 'case', 'throw', 'else', 'do', 'typeof', 'yield'])) ||\n (previous_t oken.type === TOKEN.END_EXPR && previous_token.text === ')' &&\n previous_t oken.opened.previous.type === TOKEN.RESERVED && in_array(previous_token.opened.p revious.text, ['if', 'while', 'for'])) ||\n (in_array(previous_token.type, [T OKEN.COMMENT, TOKEN.START_EXPR, TOKEN.START_BLOCK, TOKEN.START,\n TOKEN.END _BLOCK, TOKEN.OPERATOR, TOKEN.EQUALS, TOKEN.EOF, TOKEN.SEMICOLON, TOKEN.COMMA\n ]));\n};\n\nTokenizer.prototype._read_regexp = function(c, previous_token) {\ n\n if (c === '/' && this._allow_regexp_or_xml(previous_token)) {\n // handl e regexp\n //\n var resulting_string = this._input.next();\n var esc = false;\n\n var in_char_class = false;\n while (this._input.hasNext() &&\n ((esc || in_char_class || this._input.peek() !== c) &&\n !this._inpu t.testChar(acorn.newline))) {\n resulting_string += this._input.peek();\n if (!esc) {\n esc = this._input.peek() === '\\\\';\n if (this. _input.peek() === '[') {\n in_char_class = true;\n } else if (th is._input.peek() === ']') {\n in_char_class = false;\n }\n } else {\n esc = false;\n }\n this._input.next();\n }\n\n if (this._input.peek() === c) {\n resulting_string += this._input.next();\ n\n // regexps may have modifiers /regexp/MOD , so fetch those, too\n // Only [gim] are valid, but if the user puts in garbage, do what we can to take it.\n resulting_string += this._input.read(acorn.identifier);\n }\n return this._create_token(TOKEN.STRING, resulting_string);\n }\n return null;\ n};\n\nTokenizer.prototype._read_xml = function(c, previous_token) {\n\n if (th is._options.e4x && c === \"<\" && this._allow_regexp_or_xml(previous_token)) {\n var xmlStr = '';\n var match = this.__patterns.xml.read_match();\n // handle e4x xml literals\n //\n if (match) {\n // Trim root tag to att empt to\n var rootTag = match[2].replace(/^{\\s+/, '{').replace(/\\s+}$/, ' }');\n var isCurlyRoot = rootTag.indexOf('{') === 0;\n var depth = 0;\ n while (match) {\n var isEndTag = !!match[1];\n var tagName = match[2];\n var isSingletonTag = (!!match[match.length - 1]) || (tagNam e.slice(0, 8) === \"![CDATA[\");\n if (!isSingletonTag &&\n (tag Name === rootTag || (isCurlyRoot && tagName.replace(/^{\\s+/, '{').replace(/\\s+ }$/, '}')))) {\n if (isEndTag) {\n --depth;\n } els e {\n ++depth;\n }\n }\n xmlStr += match[0];\n if (depth <= 0) {\n break;\n }\n match = this.__p atterns.xml.read_match();\n }\n // if we didn't close correctly, keep unformatted.\n if (!match) {\n xmlStr += this._input.match(/[\\s\\S] */g)[0];\n }\n xmlStr = xmlStr.replace(acorn.allLineBreaks, '\\n');\n return this._create_token(TOKEN.STRING, xmlStr);\n }\n }\n\n return nu ll;\n};\n\nfunction unescape_string(s) {\n // You think that a regex would work for this\n // return s.replace(/\\\\x([0-9a-f]{2})/gi, function(match, val) {\ n // return String.fromCharCode(parseInt(val, 16));\n // })\n // However, dealing with '\\xff', '\\\\xff', '\\\\\\xff' makes this more fun.\n va r out = '',\n escaped = 0;\n\n var input_scan = new InputScanner(s);\n var matched = null;\n\n while (input_scan.hasNext()) {\n // Keep any whitespace, non-slash characters\n // also keep slash pairs.\n matched = input_scan.m atch(/([\\s]|[^\\\\]|\\\\\\\\)+/g);\n\n if (matched) {\n out += matched[ 0];\n }\n\n if (input_scan.peek() === '\\\\') {\n input_scan.next();\ n if (input_scan.peek() === 'x') {\n matched = input_scan.match(/x([ 0-9A-Fa-f]{2})/g);\n } else if (input_scan.peek() === 'u') {\n match ed = input_scan.match(/u([0-9A-Fa-f]{4})/g);\n } else {\n out += '\\ \\';\n if (input_scan.hasNext()) {\n out += input_scan.next();\n }\n continue;\n }\n\n // If there's some error decoding , return the original string\n if (!matched) {\n return s;\n }\ n\n escaped = parseInt(matched[1], 16);\n\n if (escaped > 0x7e && esca ped <= 0xff && matched[0].indexOf('x') === 0) {\n // we bail out on \\x7f ..\\xff,\n // leaving whole string escaped,\n // as it's probably completely binary\n return s;\n } else if (escaped >= 0x00 && escape d < 0x20) {\n // leave 0x00...0x1f escaped\n out += '\\\\' + match ed[0];\n continue;\n } else if (escaped === 0x22 || escaped === 0x27 || escaped === 0x5c) {\n // single-quote, apostrophe, backslash - escape these\n out += '\\\\' + String.fromCharCode(escaped);\n } else {\n out += String.fromCharCode(escaped);\n }\n }\n }\n\n return out ;\n}\n\n// handle string\n//\nTokenizer.prototype._read_string_recursive = funct ion(delimiter, allow_unescaped_newlines, start_sub) {\n var current_char;\n va r pattern;\n if (delimiter === '\\'') {\n pattern = this.__patterns.single_q uote;\n } else if (delimiter === '\"') {\n pattern = this.__patterns.double_ quote;\n } else if (delimiter === '`') {\n pattern = this.__patterns.templat e_text;\n } else if (delimiter === '}') {\n pattern = this.__patterns.templa te_expression;\n }\n\n var resulting_string = pattern.read();\n var next = '' ;\n while (this._input.hasNext()) {\n next = this._input.next();\n if (ne xt === delimiter ||\n (!allow_unescaped_newlines && acorn.newline.test(next ))) {\n this._input.back();\n break;\n } else if (next === '\\\\' & & this._input.hasNext()) {\n current_char = this._input.peek();\n\n if (current_char === 'x' || current_char === 'u') {\n this.has_char_escapes = true;\n } else if (current_char === '\\r' && this._input.peek(1) === '\\ n') {\n this._input.next();\n }\n next += this._input.next();\n } else if (start_sub) {\n if (start_sub === '${' && next === '$' && thi s._input.peek() === '{') {\n next += this._input.next();\n }\n\n if (start_sub === next) {\n if (delimiter === '`') {\n next += this._read_string_recursive('}', allow_unescaped_newlines, '`');\n } els e {\n next += this._read_string_recursive('`', allow_unescaped_newlines , '${');\n }\n if (this._input.hasNext()) {\n next += thi s._input.next();\n }\n }\n }\n next += pattern.read();\n re sulting_string += next;\n }\n\n return resulting_string;\n};\n\nmodule.exports .Tokenizer = Tokenizer;\nmodule.exports.TOKEN = TOKEN;\nmodule.exports.positiona ble_operators = positionable_operators.slice();\nmodule.exports.line_starters = line_starters.slice();\n","// The module cache\nvar __webpack_module_cache__ = { };\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Ch eck if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleI d];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\ n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_ module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loade d needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack _modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Retur n the exports of the module\n\treturn module.exports;\n}\n\n","// startup\n// Lo ad entry module and return exports\n// This entry module used 'module' so it can 't be inlined\nvar __webpack_exports__ = __webpack_require__(772);\n"],"names":[ "root","factory","exports","module","define","amd","self","windows","window","gl obal","this","Directives","start_block_pattern","end_block_pattern","source","__ directives_block_pattern","RegExp","__directive_pattern","__directives_end_ignor e_pattern","prototype","get_directives","text","match","directives","lastIndex", "directive_match","exec","readIgnored","input","readUntilAfter","regexp_has_stic ky","hasOwnProperty","InputScanner","input_string","__input","__input_length","l ength","__position","restart","back","hasNext","next","val","charAt","peek","ind ex","__match","pattern","pattern_match","sticky","test","testChar","read","start ing_pattern","until_pattern","until_after","readUntil","match_index","substring" ,"get_regexp","match_from","result","flags","get_literal_regexp","literal_string ","replace","peekUntilAfter","start","lookBack","testVal","toLowerCase","Options ","options","merge_child_field","raw_options","allOptions","childFieldName","nam e","finalOpts","key","convertedOpts","_normalizeOpts","_mergeOpts","disabled","_ get_boolean","eol","_get_characters","end_with_newline","indent_size","_get_numb er","indent_char","indent_level","preserve_newlines","max_preserve_newlines","in dent_with_tabs","wrap_line_length","indent_empty_lines","templating","_get_selec tion_list","_get_array","default_value","option_value","concat","split","undefin ed","parseInt","isNaN","_get_selection","selection_list","Error","_is_valid_sele ction","some","item","indexOf","OutputLine","parent","__parent","__character_cou nt","__indent_count","__alignment_count","__wrap_point_index","__wrap_point_char acter_count","__wrap_point_indent_count","__wrap_point_alignment_count","__items ","IndentStringCache","baseIndentString","__cache","__indent_size","__indent_str ing","Array","join","__base_string","__base_string_length","Output","__indent_ca che","raw","_end_with_newline","__lines","previous_line","current_line","next_li ne","space_before_token","non_breaking_space","previous_token_wrapped","__add_ou tputline","clone_empty","line","set_indent","has_match","lastCheckedOutput","ind ent","alignment","is_empty","get_indent_size","_set_wrap_point","_should_wrap"," _allow_wrap","add_new_line","slice","splice","last","push","last_newline_index", "lastIndexOf","pop","_remove_indent","_remove_wrap_indent","trim","toString","ge t_indent_string","column","__ensure_cache","__add_column","Math","floor","get_li ne_number","force_newline","just_added_newline","get_code","last_item","sweet_co de","set_wrap_point","add_raw_token","token","x","newlines","whitespace_before", "add_token","printable_token","__add_space_before_token","remove_indent","output _length","eat_newlines","just_added_blankline","ensure_empty_line_above","starts _with","ends_with","potentialEmptyLine","Pattern","input_scanner","_input","_sta rting_pattern","_match_pattern","_until_pattern","_until_after","read_match","_c reate","_update","until","starting_with","matching","template_names","django","e rb","handlebars","php","smarty","TemplatablePattern","call","__template_pattern" ,"_disabled","Object","assign","_excluded","__patterns","handlebars_comment","ha ndlebars_unescaped","django_value","django_comment","smarty_comment","smarty_lit eral","__set_templated_pattern","disable","language","read_options","exclude","_ read_template","items","resulting_string","c","peek1","type","comments_before"," previous","opened","closed","Token","TokenStream","WhitespacePattern","TOKEN","S TART","RAW","EOF","Tokenizer","_options","__tokens","_patterns","whitespace","to kenize","current","_reset","open_token","open_stack","comments","_get_next_token ","_is_comment","add","isEmpty","_is_opening","_is_closing","_is_first_token","p revious_token","_readWhitespace","_create_token","current_token","newline_count" ,"whitespace_before_token","parent_token","__tokens_length","__parent_token","_l ine_regexp","__set_whitespace_patterns","whitespace_chars","newline_chars","_new line_regexp","matches","__split","regexp","start_index","next_match","directives _core","lineBreak","allLineBreaks","whitespaceChar","whitespacePattern","block_c omment_pattern","comment_pattern","Beautifier","source_text","_source_text","_ch ","NESTED_AT_RULE","CONDITIONAL_GROUP_RULE","NON_SEMICOLON_NEWLINE_PROPERTY","ea tString","endChars","eatWhitespace","allowAtLeastOneNewLine","_output","foundNes tedPseudoClass","openParen","i","ch","print_string","output_string","_indentLeve l","preserveSingleSpace","isAfterSpace","outdent","beautify","_nestedLevel","pre vious_ch","parenLevel","insideRule","insidePropertyValue","enteringConditionalGr oup","insideAtExtend","insideAtImport","insideScssMap","topCharacter","insideNon SemiColonValues","comment","ignore","variableOrRule","newline_between_rules","br ace_style","preserveQuoteSpace","space_needed","selector_separator_newline","pre serveAfterSpace","space_around_combinator","defaultOptions","BaseOptions","space _around_selector_separator","brace_style_split","bs","Printer","base_indent_stri ng","alignment_size","current_line_has_match","set_space_before_token","value"," non_breaking","print_preserved_newlines","raw_token","TEXT","n","print_newline", "traverse_whitespace","force","print_token","get_full_indent","level","in_array" ,"what","arr","TagFrame","parser_token","tag","tag_name","TagStack","printer","_ printer","_current_frame","js_beautify","css_beautify","_js_beautify","_css_beau tify","_tag_stack","optionHtml","_is_wrap_attributes_force","wrap_attributes","s ubstr","_is_wrap_attributes_force_expand_multiline","_is_wrap_attributes_force_a ligned","_is_wrap_attributes_aligned_multiple","_is_wrap_attributes_preserve","_ is_wrap_attributes_preserve_aligned","get_parser_token","record_tag","new_frame" ,"_try_pop_frame","frame","_get_frame","tag_list","stop_list","try_pop","indent_ to_tag","last_token","last_tag_token","TagOpenParserToken","tokens","TAG_OPEN"," COMMENT","_handle_tag_open","ATTRIBUTE","EQUALS","VALUE","tag_complete","_handle _inside_tag","TAG_CLOSE","_handle_tag_close","_handle_text","is_unformatted","ta g_start_char","has_wrapped_attrs","indent_content","is_content_unformatted","is_ inline_element","wrapped","attr_count","force_attr_wrap","peek_token","is_only_a ttribute","peek_index","custom_beautifier_name","_print_custom_beatifier_text"," local","_beautifier","script_indent_level","pre","post","html_source","indent_sc ripts","indentation","matched","Child_options","white","_get_tag_open_token","is _empty_element","_set_tag_position","start_tag_token","is_start_tag","is_end_tag ","multiline_content","tag_check","tag_check_match","startsWith","handlebar_star ts","wrap_attributes_indent_size","void_elements","unformatted","content_unforma tted","inline","_do_optional_end_element","typeAttribute","start_token","get_typ e_attribute","search","get_custom_beautifier_name","extra_liners","_calcluate_pa rent_multiline","do_end_expand","indent_inner_html","indent_head_inner_html","in dent_body_inner_html","p_closers","p_parent_excludes","p_parent","indent_handleb ars","unformatted_content_delimiter","BaseTokenizer","BASETOKEN","UNKNOWN","_cur rent_tag_name","templatable_reader","pattern_reader","word","single_quote","doub le_quote","attribute","element_name","handlebars_open","handlebars_raw_close","c data","conditional_comment","processing","_unformatted_content_delimiter","liter al_regexp","_read_open_handlebars","_read_attribute","_read_close","_read_raw_co ntent","_read_content_word","_read_comment_or_cdata","_read_processing","_read_o pen","content","_is_content_unformatted","html_beautify","style_html","js","css" ,"html","nonASCIIidentifierStartChars","identifierStart","identifier","identifie rMatch","newline","acorn","line_starters","positionable_operators","reserved_wor d","RESERVED","reserved_array","words","special_words","OPERATOR_POSITION","list ","generateMapFromStrings","OPERATOR_POSITION_BEFORE_OR_PRESERVE","before_newlin e","preserve_newline","MODE","remove_redundant_indentation","output","multiline_ frame","mode","start_line_index","is_array","is_expression","_tokens","_last_las t_text","_flags","_previous_flags","_flag_store","create_flags","flags_base","ne xt_indent_level","indentation_level","line_indent_level","START_BLOCK","last_wor d","declaration_statement","declaration_assignment","inline_frame","if_block","e lse_block","class_start_block","do_block","do_while","import_block","in_case_sta tement","in_case","case_body","case_block","ternary_depth","test_output_raw","se t_mode","tokenizer","handle_token","preserve_statement_flags","START_EXPR","hand le_start_expr","END_EXPR","handle_end_expr","handle_start_block","END_BLOCK","ha ndle_end_block","WORD","handle_word","SEMICOLON","handle_semicolon","STRING","ha ndle_string","handle_equals","OPERATOR","handle_operator","COMMA","handle_comma" ,"BLOCK_COMMENT","handle_block_comment","handle_comment","DOT","handle_dot","han dle_eof","handle_unknown","handle_whitespace_and_comments","keep_whitespace","ke ep_array_indentation","comment_token","j","newline_restricted_tokens","allow_wra p_or_preserved_newline","force_linewrap","shouldPreserveOrForce","shouldPrintOpe ratorNewline","operator_position","next_token","restore_mode","print_token_line_ indentation","comma_first","popped","deindent","start_of_object_property","start _of_statement","next_mode","space_in_paren","space_before_conditional","peek_bac k_two","space_after_named_function","peek_back_three","space_after_anon_function ","space_in_empty_paren","second_token","empty_braces","empty_anonymous_function ","brace_preserve_inline","check_token","jslint_happy","prefix","isGeneratorAste risk","isUnary","space_before","space_after","in_ternary","isColon","isTernaryCo lon","isOtherColon","after_newline","new_line_needed","preserve","print_block_co mmment","lines","s","out","idx","split_linebreaks","javadoc","starless","lastInd ent","lastIndentLength","all_lines_start_with","len","each_line_matches_indent", "break_chained_methods","unindent_chained_methods","js_source_text","validPositi onValues","raw_brace_style","braces_on_own_line","unescape_strings","e4x","numbe r_pattern","digit","dot_pattern","punct","in_html_comment","punct_pattern","rese rved_words","reserved_word_pattern","templatable","template","number","block_com ment","html_comment_start","html_comment_end","include","shebang","xml","templat e_text","template_expression","_read_non_javascript","_read_string","_read_word" ,"_read_singles","_read_comment","_read_regexp","_read_xml","_read_punctuation", "sharp","has_char_escapes","_read_string_recursive","escaped","input_scan","Stri ng","fromCharCode","unescape_string","_allow_regexp_or_xml","esc","in_char_class ","xmlStr","rootTag","isCurlyRoot","depth","isEndTag","tagName","delimiter","all ow_unescaped_newlines","start_sub","current_char","__webpack_module_cache__","__ webpack_require__","moduleId","cachedModule","__webpack_modules__"],"sourceRoot" :""}
 End of changes. 1 change blocks. 
lines changed or deleted lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)