Version 3.5.1
authoralexlamsl <alexlamsl@gmail.com>
Mon, 22 May 2017 13:30:58 +0000 (21:30 +0800)
committeralexlamsl <alexlamsl@gmail.com>
Mon, 22 May 2017 13:30:58 +0000 (21:30 +0800)
README.md
dist/htmlminifier.js
dist/htmlminifier.min.js
index.html
package.json

index 70e2aad..988f59b 100644 (file)
--- a/README.md
+++ b/README.md
@@ -23,18 +23,18 @@ How does HTMLMinifier compare to other solutions — [HTML Minifier from Will Pe
 | Site                                                                        | Original size *(KB)* | HTMLMinifier | minimize | Will Peavy | htmlcompressor.com |
 | --------------------------------------------------------------------------- |:--------------------:| ------------:| --------:| ----------:| ------------------:|
 | [Google](https://www.google.com/)                                           | 44                   | **42**       | 45       | 46         | 45                 |
-| [HTMLMinifier](https://github.com/kangax/html-minifier)                     | 126                  | **98**       | 106      | 110        | 106                |
-| [CNN](http://www.cnn.com/)                                                  | 133                  | **122**      | 131      | 132        | 126                |
-| [Amazon](http://www.amazon.co.uk/)                                          | 196                  | **164**      | 187      | 190        | n/a                |
-| [New York Times](http://www.nytimes.com/)                                   | 210                  | **141**      | 158      | 158        | 148                |
-| [Stack Overflow](http://stackoverflow.com/)                                 | 218                  | **168**      | 176      | 184        | 174                |
-| [BBC](http://www.bbc.co.uk/)                                                | 240                  | **196**      | 232      | 239        | 227                |
+| [HTMLMinifier](https://github.com/kangax/html-minifier)                     | 127                  | **100**      | 108      | 112        | 107                |
+| [CNN](http://www.cnn.com/)                                                  | 136                  | **125**      | 133      | 134        | 129                |
+| [Amazon](http://www.amazon.co.uk/)                                          | 196                  | **165**      | 188      | 192        | n/a                |
+| [Stack Overflow](http://stackoverflow.com/)                                 | 223                  | **172**      | 181      | 188        | 178                |
+| [New York Times](http://www.nytimes.com/)                                   | 224                  | **153**      | 172      | 170        | 159                |
+| [BBC](http://www.bbc.co.uk/)                                                | 236                  | **194**      | 229      | 236        | 223                |
 | [Bootstrap CSS](http://getbootstrap.com/css/)                               | 272                  | **260**      | 269      | 229        | 269                |
-| [Wikipedia](https://en.wikipedia.org/wiki/President_of_the_United_States)   | 549                  | **502**      | 530      | 548        | 529                |
-| [NBC](http://www.nbc.com/)                                                  | 644                  | **612**      | 642      | 645        | n/a                |
+| [Wikipedia](https://en.wikipedia.org/wiki/President_of_the_United_States)   | 550                  | **503**      | 530      | 548        | 529                |
+| [NBC](http://www.nbc.com/)                                                  | 643                  | **612**      | 641      | 643        | n/a                |
 | [Eloquent Javascript](http://eloquentjavascript.net/1st_edition/print.html) | 870                  | **815**      | 840      | 864        | n/a                |
-| [ES6 table](http://kangax.github.io/compat-table/es6/)                      | 4381                 | **3696**     | 4131     | n/a        | n/a                |
-| [ES6 draft](https://tc39.github.io/ecma262/)                                | 5506                 | **4913**     | 5060     | n/a        | n/a                |
+| [ES6 table](http://kangax.github.io/compat-table/es6/)                      | 4105                 | **3467**     | 3871     | n/a        | n/a                |
+| [ES6 draft](https://tc39.github.io/ecma262/)                                | 5512                 | **4919**     | 5066     | n/a        | n/a                |
 
 ## Options Quick Reference
 
index f46a7ab..19cc2e0 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * HTMLMinifier v3.5.0 (http://kangax.github.io/html-minifier/)
+ * HTMLMinifier v3.5.1 (http://kangax.github.io/html-minifier/)
  * Copyright 2010-2017 Juriy "kangax" Zaytsev
  * Licensed under the MIT license
  */
@@ -9987,7 +9987,7 @@ function proxyOptionsFrom(httpProxy) {
 module.exports = inlineRequestFrom;
 
 }).call(this,require('_process'))
-},{"../utils/override":96,"_process":114,"url":161}],64:[function(require,module,exports){
+},{"../utils/override":96,"_process":114,"url":162}],64:[function(require,module,exports){
 var DEFAULT_TIMEOUT = 5000;
 
 function inlineTimeoutFrom(option) {
@@ -10686,7 +10686,7 @@ function track(maps, source, data) {
 
 module.exports = inputSourceMapTracker;
 
-},{"source-map":155}],73:[function(require,module,exports){
+},{"source-map":156}],73:[function(require,module,exports){
 var path = require('path');
 var url = require('url');
 
@@ -10765,7 +10765,7 @@ function isRemoteRule(rule) {
 
 module.exports = isAllowedResource;
 
-},{"../utils/has-protocol":89,"../utils/is-remote-resource":94,"path":112,"url":161}],74:[function(require,module,exports){
+},{"../utils/has-protocol":89,"../utils/is-remote-resource":94,"path":112,"url":162}],74:[function(require,module,exports){
 var fs = require('fs');
 var path = require('path');
 
@@ -10969,7 +10969,7 @@ function loadRemoteResource(uri, inlineRequest, inlineTimeout, callback) {
 
 module.exports = loadRemoteResource;
 
-},{"../utils/is-http-resource":91,"../utils/is-https-resource":92,"../utils/override":96,"http":156,"https":105,"url":161}],76:[function(require,module,exports){
+},{"../utils/is-http-resource":91,"../utils/is-https-resource":92,"../utils/override":96,"http":157,"https":105,"url":162}],76:[function(require,module,exports){
 var DATA_URI_PATTERN = /^data:(\S*?)?(;charset=[^;]+)?(;[^,]+?)?,(.+)/;
 
 function matchDataUri(uri) {
@@ -11363,7 +11363,7 @@ function rebaseRemoteMap(sourceMap, sourceUri) {
 
 module.exports = rebaseRemoteMap;
 
-},{"path":112,"url":161}],81:[function(require,module,exports){
+},{"path":112,"url":162}],81:[function(require,module,exports){
 var extractImportUrlAndMedia = require('./extract-import-url-and-media');
 var restoreImport = require('./restore-import');
 var rewriteUrl = require('./rewrite-url');
@@ -11595,7 +11595,7 @@ function rewriteUrl(originalUrl, rebaseConfig, pathOnly) {
 module.exports = rewriteUrl;
 
 }).call(this,require('_process'))
-},{"_process":114,"path":112,"url":161}],84:[function(require,module,exports){
+},{"_process":114,"path":112,"url":162}],84:[function(require,module,exports){
 var Marker = {
   ASTERISK: '*',
   AT: '@',
@@ -11672,6 +11672,7 @@ var BLOCK_RULES = [
   '@supports'
 ];
 
+var REPEAT_PATTERN = /^\[\s*\d+\s*\]$/;
 var RULE_WORD_SEPARATOR_PATTERN = /[\s\(]/;
 var TAIL_BROKEN_VALUE_PATTERN = /[\s|\}]*$/;
 
@@ -12020,6 +12021,12 @@ function intoTokens(source, externalContext, internalContext, isNested) {
       // comma within a property after space, e.g. a{background:url(image.png) ,<--
       propertyToken.push([Token.PROPERTY_VALUE, character, [[position.line, position.column, position.source]]]);
 
+      buffer = [];
+    } else if (character == Marker.CLOSE_SQUARE_BRACKET && propertyToken && propertyToken.length > 1 && buffer.length > 0 && isRepeatToken(buffer)) {
+      buffer.push(character);
+      serializedBuffer = buffer.join('').trim();
+      propertyToken[propertyToken.length - 1][1] += serializedBuffer;
+
       buffer = [];
     } else if ((isSpace || (isNewLineNix && !isNewLineWin)) && level == Level.RULE && seekingValue && propertyToken && buffer.length > 0) {
       // space or *nix newline within property, e.g. a{margin:0 <--
@@ -12104,6 +12111,10 @@ function tokenScopeFrom(tokenType) {
   }
 }
 
+function isRepeatToken(buffer) {
+  return REPEAT_PATTERN.test(buffer.join('') + Marker.CLOSE_SQUARE_BRACKET);
+}
+
 module.exports = tokenize;
 
 },{"../utils/format-position":88,"./marker":84,"./token":85}],87:[function(require,module,exports){
@@ -12743,7 +12754,7 @@ function serializeStylesAndSourceMap(tokens, context) {
 module.exports = serializeStylesAndSourceMap;
 
 }).call(this,require('_process'))
-},{"../utils/is-remote-resource":94,"./helpers":98,"_process":114,"os":111,"source-map":155}],102:[function(require,module,exports){
+},{"../utils/is-remote-resource":94,"./helpers":98,"_process":114,"os":111,"source-map":156}],102:[function(require,module,exports){
 (function (Buffer){
 // Copyright Joyent, Inc. and other Node contributors.
 //
@@ -13520,7 +13531,7 @@ https.request = function (params, cb) {
     return http.request.call(this, params, cb);
 }
 
-},{"http":156}],106:[function(require,module,exports){
+},{"http":157}],106:[function(require,module,exports){
 exports.read = function (buffer, offset, isLE, mLen, nBytes) {
   var e, m
   var eLen = nBytes * 8 - mLen - 1
@@ -13672,7 +13683,7 @@ function getRange(re) {
 // http://www.w3.org/TR/1999/REC-xml-names-19990114/#NT-NCName
 module.exports = new RegExp('^[' + getRange(xmlChars.letter) + '_][' + getRange(xmlChars.letter) + getRange(xmlChars.digit) + '\\.\\-_' + getRange(xmlChars.combiningChar) + getRange(xmlChars.extender) + ']*$');
 
-},{"xml-char-classes":164}],111:[function(require,module,exports){
+},{"xml-char-classes":165}],111:[function(require,module,exports){
 exports.endianness = function () { return 'LE' };
 
 exports.hostname = function () {
@@ -16667,7 +16678,7 @@ function CorkedRequest(state) {
   };
 }
 }).call(this,require('_process'))
-},{"./_stream_duplex":119,"./internal/streams/stream":125,"_process":114,"buffer":5,"buffer-shims":4,"core-util-is":102,"inherits":107,"process-nextick-args":113,"util-deprecate":163}],124:[function(require,module,exports){
+},{"./_stream_duplex":119,"./internal/streams/stream":125,"_process":114,"buffer":5,"buffer-shims":4,"core-util-is":102,"inherits":107,"process-nextick-args":113,"util-deprecate":164}],124:[function(require,module,exports){
 'use strict';
 
 var Buffer = require('buffer').Buffer;
@@ -16738,8 +16749,7 @@ module.exports = require('events').EventEmitter;
 },{"events":103}],126:[function(require,module,exports){
 'use strict';
 
-var Buffer = require('buffer').Buffer;
-var bufferShim = require('buffer-shims');
+var Buffer = require('safe-buffer').Buffer;
 
 var isEncoding = Buffer.isEncoding || function (encoding) {
   encoding = '' + encoding;
@@ -16816,7 +16826,7 @@ function StringDecoder(encoding) {
   }
   this.lastNeed = 0;
   this.lastTotal = 0;
-  this.lastChar = bufferShim.allocUnsafe(nb);
+  this.lastChar = Buffer.allocUnsafe(nb);
 }
 
 StringDecoder.prototype.write = function (buf) {
@@ -17009,7 +17019,7 @@ function simpleWrite(buf) {
 function simpleEnd(buf) {
   return buf && buf.length ? this.write(buf) : '';
 }
-},{"buffer":5,"buffer-shims":4}],127:[function(require,module,exports){
+},{"safe-buffer":145}],127:[function(require,module,exports){
 exports = module.exports = require('./lib/_stream_readable.js');
 exports.Stream = exports;
 exports.Readable = exports;
@@ -17810,7 +17820,7 @@ function parseUrlString(url, options)
 
 module.exports = parseUrlString;
 
-},{"url":161}],139:[function(require,module,exports){
+},{"url":162}],139:[function(require,module,exports){
 "use strict";
 
 var findRelation = require("./findRelation");
@@ -18189,6 +18199,9 @@ module.exports =
 };
 
 },{}],145:[function(require,module,exports){
+module.exports = require('buffer')
+
+},{"buffer":5}],146:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -18294,7 +18307,7 @@ ArraySet.prototype.toArray = function ArraySet_toArray() {
 
 exports.ArraySet = ArraySet;
 
-},{"./util":154}],146:[function(require,module,exports){
+},{"./util":155}],147:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -18436,7 +18449,7 @@ exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {
   aOutParam.rest = aIndex;
 };
 
-},{"./base64":147}],147:[function(require,module,exports){
+},{"./base64":148}],148:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -18505,7 +18518,7 @@ exports.decode = function (charCode) {
   return -1;
 };
 
-},{}],148:[function(require,module,exports){
+},{}],149:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -18618,7 +18631,7 @@ exports.search = function search(aNeedle, aHaystack, aCompare, aBias) {
   return index;
 };
 
-},{}],149:[function(require,module,exports){
+},{}],150:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2014 Mozilla Foundation and contributors
@@ -18699,7 +18712,7 @@ MappingList.prototype.toArray = function MappingList_toArray() {
 
 exports.MappingList = MappingList;
 
-},{"./util":154}],150:[function(require,module,exports){
+},{"./util":155}],151:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -18815,7 +18828,7 @@ exports.quickSort = function (ary, comparator) {
   doQuickSort(ary, comparator, 0, ary.length - 1);
 };
 
-},{}],151:[function(require,module,exports){
+},{}],152:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -19899,7 +19912,7 @@ IndexedSourceMapConsumer.prototype._parseMappings =
 
 exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;
 
-},{"./array-set":145,"./base64-vlq":146,"./binary-search":148,"./quick-sort":150,"./util":154}],152:[function(require,module,exports){
+},{"./array-set":146,"./base64-vlq":147,"./binary-search":149,"./quick-sort":151,"./util":155}],153:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -20305,7 +20318,7 @@ SourceMapGenerator.prototype.toString =
 
 exports.SourceMapGenerator = SourceMapGenerator;
 
-},{"./array-set":145,"./base64-vlq":146,"./mapping-list":149,"./util":154}],153:[function(require,module,exports){
+},{"./array-set":146,"./base64-vlq":147,"./mapping-list":150,"./util":155}],154:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -20714,7 +20727,7 @@ SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSou
 
 exports.SourceNode = SourceNode;
 
-},{"./source-map-generator":152,"./util":154}],154:[function(require,module,exports){
+},{"./source-map-generator":153,"./util":155}],155:[function(require,module,exports){
 /* -*- Mode: js; js-indent-level: 2; -*- */
 /*
  * Copyright 2011 Mozilla Foundation and contributors
@@ -21133,7 +21146,7 @@ function compareByGeneratedPositionsInflated(mappingA, mappingB) {
 }
 exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;
 
-},{}],155:[function(require,module,exports){
+},{}],156:[function(require,module,exports){
 /*
  * Copyright 2009-2011 Mozilla Foundation and contributors
  * Licensed under the New BSD license. See LICENSE.txt or:
@@ -21143,7 +21156,7 @@ exports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGene
 exports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer;
 exports.SourceNode = require('./lib/source-node').SourceNode;
 
-},{"./lib/source-map-consumer":151,"./lib/source-map-generator":152,"./lib/source-node":153}],156:[function(require,module,exports){
+},{"./lib/source-map-consumer":152,"./lib/source-map-generator":153,"./lib/source-node":154}],157:[function(require,module,exports){
 (function (global){
 var ClientRequest = require('./lib/request')
 var extend = require('xtend')
@@ -21225,7 +21238,7 @@ http.METHODS = [
        'UNSUBSCRIBE'
 ]
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
-},{"./lib/request":158,"builtin-status-codes":6,"url":161,"xtend":165}],157:[function(require,module,exports){
+},{"./lib/request":159,"builtin-status-codes":6,"url":162,"xtend":166}],158:[function(require,module,exports){
 (function (global){
 exports.fetch = isFunction(global.fetch) && isFunction(global.ReadableStream)
 
@@ -21298,7 +21311,7 @@ function isFunction (value) {
 xhr = null // Help gc
 
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
-},{}],158:[function(require,module,exports){
+},{}],159:[function(require,module,exports){
 (function (process,global,Buffer){
 var capability = require('./capability')
 var inherits = require('inherits')
@@ -21608,7 +21621,7 @@ var unsafeHeaders = [
 ]
 
 }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
-},{"./capability":157,"./response":159,"_process":114,"buffer":5,"inherits":107,"readable-stream":127,"to-arraybuffer":160}],159:[function(require,module,exports){
+},{"./capability":158,"./response":160,"_process":114,"buffer":5,"inherits":107,"readable-stream":127,"to-arraybuffer":161}],160:[function(require,module,exports){
 (function (process,global,Buffer){
 var capability = require('./capability')
 var inherits = require('inherits')
@@ -21794,7 +21807,7 @@ IncomingMessage.prototype._onXHRProgress = function () {
 }
 
 }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
-},{"./capability":157,"_process":114,"buffer":5,"inherits":107,"readable-stream":127}],160:[function(require,module,exports){
+},{"./capability":158,"_process":114,"buffer":5,"inherits":107,"readable-stream":127}],161:[function(require,module,exports){
 var Buffer = require('buffer').Buffer
 
 module.exports = function (buf) {
@@ -21823,7 +21836,7 @@ module.exports = function (buf) {
        }
 }
 
-},{"buffer":5}],161:[function(require,module,exports){
+},{"buffer":5}],162:[function(require,module,exports){
 // Copyright Joyent, Inc. and other Node contributors.
 //
 // Permission is hereby granted, free of charge, to any person obtaining a
@@ -22557,7 +22570,7 @@ Url.prototype.parseHost = function() {
   if (host) this.hostname = host;
 };
 
-},{"./util":162,"punycode":115,"querystring":118}],162:[function(require,module,exports){
+},{"./util":163,"punycode":115,"querystring":118}],163:[function(require,module,exports){
 'use strict';
 
 module.exports = {
@@ -22575,7 +22588,7 @@ module.exports = {
   }
 };
 
-},{}],163:[function(require,module,exports){
+},{}],164:[function(require,module,exports){
 (function (global){
 
 /**
@@ -22646,7 +22659,7 @@ function config (name) {
 }
 
 }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
-},{}],164:[function(require,module,exports){
+},{}],165:[function(require,module,exports){
 exports.baseChar = /[A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7\u04C8\u04CB\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B36-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60\u0D61\u0E01-\u0E2E\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD\u0EAE\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102\u1103\u1105-\u1107\u1109\u110B\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D\u116E\u1172\u1173\u1175\u119E\u11A8\u11AB\u11AE\u11AF\u11B7\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A\u212B\u212E\u2180-\u2182\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\uAC00-\uD7A3]/;
 
 exports.ideographic = /[\u3007\u3021-\u3029\u4E00-\u9FA5]/;
@@ -22658,7 +22671,7 @@ exports.combiningChar = /[\u0300-\u0345\u0360\u0361\u0483-\u0486\u0591-\u05A1\u0
 exports.digit = /[0-9\u0660-\u0669\u06F0-\u06F9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE7-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29]/;
 
 exports.extender = /[\xB7\u02D0\u02D1\u0387\u0640\u0E46\u0EC6\u3005\u3031-\u3035\u309D\u309E\u30FC-\u30FE]/;
-},{}],165:[function(require,module,exports){
+},{}],166:[function(require,module,exports){
 module.exports = extend
 
 var hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -22679,7 +22692,7 @@ function extend() {
     return target
 }
 
-},{}],166:[function(require,module,exports){
+},{}],167:[function(require,module,exports){
 /*!
  * HTML Parser By John Resig (ejohn.org)
  * Modified by Juriy "kangax" Zaytsev
@@ -23209,7 +23222,7 @@ exports.HTMLtoDOM = function(html, doc) {
   return doc;
 };
 
-},{"./utils":168,"ncname":110}],167:[function(require,module,exports){
+},{"./utils":169,"ncname":110}],168:[function(require,module,exports){
 'use strict';
 
 function Sorter() {
@@ -23282,7 +23295,7 @@ TokenChain.prototype = {
 
 module.exports = TokenChain;
 
-},{}],168:[function(require,module,exports){
+},{}],169:[function(require,module,exports){
 'use strict';
 
 function createMap(values, ignoreCase) {
@@ -23931,13 +23944,11 @@ function processOptions(options) {
     options.log = identity;
   }
 
-  var defaultTesters = ['canCollapseWhitespace', 'canTrimWhitespace'];
-  for (var i = 0, len = defaultTesters.length; i < len; i++) {
-    if (!options[defaultTesters[i]]) {
-      options[defaultTesters[i]] = function() {
-        return false;
-      };
-    }
+  if (!options.canCollapseWhitespace) {
+    options.canCollapseWhitespace = canCollapseWhitespace;
+  }
+  if (!options.canTrimWhitespace) {
+    options.canTrimWhitespace = canTrimWhitespace;
   }
 
   if (!('ignoreCustomComments' in options)) {
@@ -24199,11 +24210,11 @@ function minify(value, options, partialMarkup) {
   }
 
   function _canCollapseWhitespace(tag, attrs) {
-    return canCollapseWhitespace(tag) || options.canCollapseWhitespace(tag, attrs);
+    return options.canCollapseWhitespace(tag, attrs, canCollapseWhitespace);
   }
 
   function _canTrimWhitespace(tag, attrs) {
-    return canTrimWhitespace(tag) || options.canTrimWhitespace(tag, attrs);
+    return options.canTrimWhitespace(tag, attrs, canTrimWhitespace);
   }
 
   function removeStartTag() {
@@ -24606,8 +24617,8 @@ exports.minify = function(value, options) {
   return minify(value, options);
 };
 
-},{"./htmlparser":166,"./tokenchain":167,"./utils":168,"clean-css":7,"he":104,"relateurl":130,"uglify-js":"uglify-js"}],"uglify-js":[function(require,module,exports){
+},{"./htmlparser":167,"./tokenchain":168,"./utils":169,"clean-css":7,"he":104,"relateurl":130,"uglify-js":"uglify-js"}],"uglify-js":[function(require,module,exports){
 (function (Buffer){
-(function(exports){"use strict";function array_to_hash(a){var ret=Object.create(null);for(var i=0;i<a.length;++i)ret[a[i]]=true;return ret}function slice(a,start){return Array.prototype.slice.call(a,start||0)}function characters(str){return str.split("")}function member(name,array){return array.indexOf(name)>=0}function find_if(func,array){for(var i=0,n=array.length;i<n;++i){if(func(array[i]))return array[i]}}function repeat_string(str,i){if(i<=0)return"";if(i==1)return str;var d=repeat_string(str,i>>1);d+=d;if(i&1)d+=str;return d}function configure_error_stack(fn){Object.defineProperty(fn.prototype,"stack",{get:function(){var err=new Error(this.message);err.name=this.name;try{throw err}catch(e){return e.stack}}})}function DefaultsError(msg,defs){this.message=msg;this.defs=defs}DefaultsError.prototype=Object.create(Error.prototype);DefaultsError.prototype.constructor=DefaultsError;DefaultsError.prototype.name="DefaultsError";configure_error_stack(DefaultsError);DefaultsError.croak=function(msg,defs){throw new DefaultsError(msg,defs)};function defaults(args,defs,croak){if(args===true)args={};var ret=args||{};if(croak)for(var i in ret)if(HOP(ret,i)&&!HOP(defs,i))DefaultsError.croak("`"+i+"` is not a supported option",defs);for(var i in defs)if(HOP(defs,i)){ret[i]=args&&HOP(args,i)?args[i]:defs[i]}return ret}function merge(obj,ext){var count=0;for(var i in ext)if(HOP(ext,i)){obj[i]=ext[i];count++}return count}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var MAP=function(){function MAP(a,f,backwards){var ret=[],top=[],i;function doit(){var val=f(a[i],i);var is_last=val instanceof Last;if(is_last)val=val.v;if(val instanceof AtTop){val=val.v;if(val instanceof Splice){top.push.apply(top,backwards?val.v.slice().reverse():val.v)}else{top.push(val)}}else if(val!==skip){if(val instanceof Splice){ret.push.apply(ret,backwards?val.v.slice().reverse():val.v)}else{ret.push(val)}}return is_last}if(a instanceof Array){if(backwards){for(i=a.length;--i>=0;)if(doit())break;ret.reverse();top.reverse()}else{for(i=0;i<a.length;++i)if(doit())break}}else{for(i in a)if(HOP(a,i))if(doit())break}return top.concat(ret)}MAP.at_top=function(val){return new AtTop(val)};MAP.splice=function(val){return new Splice(val)};MAP.last=function(val){return new Last(val)};var skip=MAP.skip={};function AtTop(val){this.v=val}function Splice(val){this.v=val}function Last(val){this.v=val}return MAP}();function push_uniq(array,el){if(array.indexOf(el)<0)array.push(el)}function string_template(text,props){return text.replace(/\{(.+?)\}/g,function(str,p){return props&&props[p]})}function remove(array,el){for(var i=array.length;--i>=0;){if(array[i]===el)array.splice(i,1)}}function mergeSort(array,cmp){if(array.length<2)return array.slice();function merge(a,b){var r=[],ai=0,bi=0,i=0;while(ai<a.length&&bi<b.length){cmp(a[ai],b[bi])<=0?r[i++]=a[ai++]:r[i++]=b[bi++]}if(ai<a.length)r.push.apply(r,a.slice(ai));if(bi<b.length)r.push.apply(r,b.slice(bi));return r}function _ms(a){if(a.length<=1)return a;var m=Math.floor(a.length/2),left=a.slice(0,m),right=a.slice(m);left=_ms(left);right=_ms(right);return merge(left,right)}return _ms(array)}function set_difference(a,b){return a.filter(function(el){return b.indexOf(el)<0})}function set_intersection(a,b){return a.filter(function(el){return b.indexOf(el)>=0})}function makePredicate(words){if(!(words instanceof Array))words=words.split(" ");var f="",cats=[];out:for(var i=0;i<words.length;++i){for(var j=0;j<cats.length;++j)if(cats[j][0].length==words[i].length){cats[j].push(words[i]);continue out}cats.push([words[i]])}function quote(word){return JSON.stringify(word).replace(/[\u2028\u2029]/g,function(s){switch(s){case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}return s})}function compareTo(arr){if(arr.length==1)return f+="return str === "+quote(arr[0])+";";f+="switch(str){";for(var i=0;i<arr.length;++i)f+="case "+quote(arr[i])+":";f+="return true}return false;"}if(cats.length>3){cats.sort(function(a,b){return b.length-a.length});f+="switch(str.length){";for(var i=0;i<cats.length;++i){var cat=cats[i];f+="case "+cat[0].length+":";compareTo(cat)}f+="}"}else{compareTo(words)}return new Function("str",f)}function all(array,predicate){for(var i=array.length;--i>=0;)if(!predicate(array[i]))return false;return true}function Dictionary(){this._values=Object.create(null);this._size=0}Dictionary.prototype={set:function(key,val){if(!this.has(key))++this._size;this._values["$"+key]=val;return this},add:function(key,val){if(this.has(key)){this.get(key).push(val)}else{this.set(key,[val])}return this},get:function(key){return this._values["$"+key]},del:function(key){if(this.has(key)){--this._size;delete this._values["$"+key]}return this},has:function(key){return"$"+key in this._values},each:function(f){for(var i in this._values)f(this._values[i],i.substr(1))},size:function(){return this._size},map:function(f){var ret=[];for(var i in this._values)ret.push(f(this._values[i],i.substr(1)));return ret},toObject:function(){return this._values}};Dictionary.fromObject=function(obj){var dict=new Dictionary;dict._size=merge(dict._values,obj);return dict};function HOP(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}function first_in_statement(stack){var node=stack.parent(-1);for(var i=0,p;p=stack.parent(i);i++){if(p instanceof AST_Statement&&p.body===node)return true;if(p instanceof AST_Sequence&&p.expressions[0]===node||p instanceof AST_Call&&p.expression===node&&!(p instanceof AST_New)||p instanceof AST_Dot&&p.expression===node||p instanceof AST_Sub&&p.expression===node||p instanceof AST_Conditional&&p.condition===node||p instanceof AST_Binary&&p.left===node||p instanceof AST_UnaryPostfix&&p.expression===node){node=p}else{return false}}}"use strict";function DEFNODE(type,props,methods,base){if(arguments.length<4)base=AST_Node;if(!props)props=[];else props=props.split(/\s+/);var self_props=props;if(base&&base.PROPS)props=props.concat(base.PROPS);var code="return function AST_"+type+"(props){ if (props) { ";for(var i=props.length;--i>=0;){code+="this."+props[i]+" = props."+props[i]+";"}var proto=base&&new base;if(proto&&proto.initialize||methods&&methods.initialize)code+="this.initialize();";code+="}}";var ctor=new Function(code)();if(proto){ctor.prototype=proto;ctor.BASE=base}if(base)base.SUBCLASSES.push(ctor);ctor.prototype.CTOR=ctor;ctor.PROPS=props||null;ctor.SELF_PROPS=self_props;ctor.SUBCLASSES=[];if(type){ctor.prototype.TYPE=ctor.TYPE=type}if(methods)for(i in methods)if(HOP(methods,i)){if(/^\$/.test(i)){ctor[i.substr(1)]=methods[i]}else{ctor.prototype[i]=methods[i]}}ctor.DEFMETHOD=function(name,method){this.prototype[name]=method};if(typeof exports!=="undefined"){exports["AST_"+type]=ctor}return ctor}var AST_Token=DEFNODE("Token","type value line col pos endline endcol endpos nlb comments_before file raw",{},null);var AST_Node=DEFNODE("Node","start end",{_clone:function(deep){if(deep){var self=this.clone();return self.transform(new TreeTransformer(function(node){if(node!==self){return node.clone(true)}}))}return new this.CTOR(this)},clone:function(deep){return this._clone(deep)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(visitor){return visitor._visit(this)},walk:function(visitor){return this._walk(visitor)}},null);AST_Node.warn_function=null;AST_Node.warn=function(txt,props){if(AST_Node.warn_function)AST_Node.warn_function(string_template(txt,props))};var AST_Statement=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var AST_Debugger=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},AST_Statement);var AST_Directive=DEFNODE("Directive","value scope quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",scope:"[AST_Scope/S] The scope that this directive affects",quote:"[string] the original quote character"}},AST_Statement);var AST_SimpleStatement=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(visitor){return visitor._visit(this,function(){this.body._walk(visitor)})}},AST_Statement);function walk_body(node,visitor){var body=node.body;if(body instanceof AST_Statement){body._walk(visitor)}else for(var i=0,len=body.length;i<len;i++){body[i]._walk(visitor)}}var AST_Block=DEFNODE("Block","body",{$documentation:"A body of statements (usually bracketed)",$propdoc:{body:"[AST_Statement*] an array of statements"},_walk:function(visitor){return visitor._visit(this,function(){walk_body(this,visitor)})}},AST_Statement);var AST_BlockStatement=DEFNODE("BlockStatement",null,{$documentation:"A block statement"},AST_Block);var AST_EmptyStatement=DEFNODE("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)"},AST_Statement);var AST_StatementWithBody=DEFNODE("StatementWithBody","body",{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},AST_Statement);var AST_LabeledStatement=DEFNODE("LabeledStatement","label",{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(visitor){return visitor._visit(this,function(){this.label._walk(visitor);this.body._walk(visitor)})},clone:function(deep){var node=this._clone(deep);if(deep){var label=node.label;var def=this.label;node.walk(new TreeWalker(function(node){if(node instanceof AST_LoopControl&&node.label&&node.label.thedef===def){node.label.thedef=label;label.references.push(node)}}))}return node}},AST_StatementWithBody);var AST_IterationStatement=DEFNODE("IterationStatement",null,{$documentation:"Internal class.  All loops inherit from it."},AST_StatementWithBody);var AST_DWLoop=DEFNODE("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition.  Should not be instanceof AST_Statement"}},AST_IterationStatement);var AST_Do=DEFNODE("Do",null,{$documentation:"A `do` statement",_walk:function(visitor){return visitor._visit(this,function(){this.body._walk(visitor);this.condition._walk(visitor)})}},AST_DWLoop);var AST_While=DEFNODE("While",null,{$documentation:"A `while` statement",_walk:function(visitor){return visitor._visit(this,function(){this.condition._walk(visitor);this.body._walk(visitor)})}},AST_DWLoop);var AST_For=DEFNODE("For","init condition step",{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(visitor){return visitor._visit(this,function(){if(this.init)this.init._walk(visitor);if(this.condition)this.condition._walk(visitor);if(this.step)this.step._walk(visitor);this.body._walk(visitor)})}},AST_IterationStatement);var AST_ForIn=DEFNODE("ForIn","init name object",{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",name:"[AST_SymbolRef?] the loop variable, only if `init` is AST_Var",object:"[AST_Node] the object that we're looping through"},_walk:function(visitor){return visitor._visit(this,function(){this.init._walk(visitor);this.object._walk(visitor);this.body._walk(visitor)})}},AST_IterationStatement);var AST_With=DEFNODE("With","expression",{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);this.body._walk(visitor)})}},AST_StatementWithBody);var AST_Scope=DEFNODE("Scope","directives variables functions uses_with uses_eval parent_scope enclosed cname",{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{directives:"[string*/S] an array of directives declared in this scope",variables:"[Object/S] a map of name -> SymbolDef for all variables/functions defined in this scope",functions:"[Object/S] like `variables`, but only lists function declarations",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"}},AST_Block);var AST_Toplevel=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Object/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(name){var body=this.body;var wrapped_tl="(function(exports){'$ORIG';})(typeof "+name+"=='undefined'?("+name+"={}):"+name+");";wrapped_tl=parse(wrapped_tl);wrapped_tl=wrapped_tl.transform(new TreeTransformer(function before(node){if(node instanceof AST_Directive&&node.value=="$ORIG"){return MAP.splice(body)}}));return wrapped_tl}},AST_Scope);var AST_Lambda=DEFNODE("Lambda","name argnames uses_arguments",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg*] array of function arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array"},_walk:function(visitor){return visitor._visit(this,function(){if(this.name)this.name._walk(visitor);var argnames=this.argnames;for(var i=0,len=argnames.length;i<len;i++){argnames[i]._walk(visitor)}walk_body(this,visitor)})}},AST_Scope);var AST_Accessor=DEFNODE("Accessor",null,{$documentation:"A setter/getter function.  The `name` property is always null."},AST_Lambda);var AST_Function=DEFNODE("Function",null,{$documentation:"A function expression"},AST_Lambda);var AST_Defun=DEFNODE("Defun",null,{$documentation:"A function definition"},AST_Lambda);var AST_Jump=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},AST_Statement);var AST_Exit=DEFNODE("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(visitor){return visitor._visit(this,this.value&&function(){this.value._walk(visitor)})}},AST_Jump);var AST_Return=DEFNODE("Return",null,{$documentation:"A `return` statement"},AST_Exit);var AST_Throw=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},AST_Exit);var AST_LoopControl=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(visitor){return visitor._visit(this,this.label&&function(){this.label._walk(visitor)})}},AST_Jump);var AST_Break=DEFNODE("Break",null,{$documentation:"A `break` statement"},AST_LoopControl);var AST_Continue=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},AST_LoopControl);var AST_If=DEFNODE("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(visitor){return visitor._visit(this,function(){this.condition._walk(visitor);this.body._walk(visitor);if(this.alternative)this.alternative._walk(visitor)})}},AST_StatementWithBody);var AST_Switch=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);walk_body(this,visitor)})}},AST_Block);var AST_SwitchBranch=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},AST_Block);var AST_Default=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},AST_SwitchBranch);var AST_Case=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);walk_body(this,visitor)})}},AST_SwitchBranch);var AST_Try=DEFNODE("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(visitor){return visitor._visit(this,function(){walk_body(this,visitor);if(this.bcatch)this.bcatch._walk(visitor);if(this.bfinally)this.bfinally._walk(visitor)})}},AST_Block);var AST_Catch=DEFNODE("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch] symbol for the exception"},_walk:function(visitor){return visitor._visit(this,function(){this.argname._walk(visitor);walk_body(this,visitor)})}},AST_Block);var AST_Finally=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},AST_Block);var AST_Definitions=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(visitor){return visitor._visit(this,function(){var definitions=this.definitions;for(var i=0,len=definitions.length;i<len;i++){definitions[i]._walk(visitor)}})}},AST_Statement);var AST_Var=DEFNODE("Var",null,{$documentation:"A `var` statement"},AST_Definitions);var AST_VarDef=DEFNODE("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_SymbolVar] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(visitor){return visitor._visit(this,function(){this.name._walk(visitor);if(this.value)this.value._walk(visitor)})}});var AST_Call=DEFNODE("Call","expression args",{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments"},_walk:function(visitor){return visitor._visit(this,function(){var args=this.args;for(var i=0,len=args.length;i<len;i++){args[i]._walk(visitor)}this.expression._walk(visitor)})}});var AST_New=DEFNODE("New",null,{$documentation:"An object instantiation.  Derives from a function call since it has exactly the same properties"},AST_Call);var AST_Sequence=DEFNODE("Sequence","expressions",{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(visitor){return visitor._visit(this,function(){this.expressions.forEach(function(node){node._walk(visitor)})})}});var AST_PropAccess=DEFNODE("PropAccess","expression property",{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the “container” expression",property:"[AST_Node|string] the property to access.  For AST_Dot this is always a plain string, while for AST_Sub it's an arbitrary AST_Node"}});var AST_Dot=DEFNODE("Dot",null,{$documentation:"A dotted property access expression",_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor)})}},AST_PropAccess);var AST_Sub=DEFNODE("Sub",null,{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);this.property._walk(visitor)})}},AST_PropAccess);var AST_Unary=DEFNODE("Unary","operator expression",{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor)})}});var AST_UnaryPrefix=DEFNODE("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},AST_Unary);var AST_UnaryPostfix=DEFNODE("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},AST_Unary);var AST_Binary=DEFNODE("Binary","operator left right",{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(visitor){return visitor._visit(this,function(){this.left._walk(visitor);this.right._walk(visitor)})}});var AST_Conditional=DEFNODE("Conditional","condition consequent alternative",{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(visitor){return visitor._visit(this,function(){this.condition._walk(visitor);this.consequent._walk(visitor);this.alternative._walk(visitor)})}});var AST_Assign=DEFNODE("Assign",null,{$documentation:"An assignment expression — `a = b + 5`"},AST_Binary);var AST_Array=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(visitor){return visitor._visit(this,function(){var elements=this.elements;for(var i=0,len=elements.length;i<len;i++){elements[i]._walk(visitor)}})}});var AST_Object=DEFNODE("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(visitor){return visitor._visit(this,function(){var properties=this.properties;for(var i=0,len=properties.length;i<len;i++){properties[i]._walk(visitor)}})}});var AST_ObjectProperty=DEFNODE("ObjectProperty","key value",{$documentation:"Base class for literal object properties",$propdoc:{key:"[string] the property name converted to a string for ObjectKeyVal.  For setters and getters this is an AST_SymbolAccessor.",value:"[AST_Node] property value.  For setters and getters this is an AST_Accessor."},_walk:function(visitor){return visitor._visit(this,function(){this.value._walk(visitor)})}});var AST_ObjectKeyVal=DEFNODE("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"}},AST_ObjectProperty);var AST_ObjectSetter=DEFNODE("ObjectSetter",null,{$documentation:"An object setter property"},AST_ObjectProperty);var AST_ObjectGetter=DEFNODE("ObjectGetter",null,{$documentation:"An object getter property"},AST_ObjectProperty);var AST_Symbol=DEFNODE("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"});var AST_SymbolAccessor=DEFNODE("SymbolAccessor",null,{$documentation:"The name of a property accessor (setter/getter function)"},AST_Symbol);var AST_SymbolDeclaration=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var, function name or argument, symbol in catch)"},AST_Symbol);var AST_SymbolVar=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},AST_SymbolDeclaration);var AST_SymbolFunarg=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},AST_SymbolVar);var AST_SymbolDefun=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},AST_SymbolDeclaration);var AST_SymbolLambda=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},AST_SymbolDeclaration);var AST_SymbolCatch=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},AST_SymbolDeclaration);var AST_Label=DEFNODE("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[];this.thedef=this}},AST_Symbol);var AST_SymbolRef=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},AST_Symbol);var AST_LabelRef=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},AST_Symbol);var AST_This=DEFNODE("This",null,{$documentation:"The `this` symbol"},AST_Symbol);var AST_Constant=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var AST_String=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},AST_Constant);var AST_Number=DEFNODE("Number","value literal",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",literal:"[string] numeric value as string (optional)"}},AST_Constant);var AST_RegExp=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},AST_Constant);var AST_Atom=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},AST_Constant);var AST_Null=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},AST_Atom);var AST_NaN=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},AST_Atom);var AST_Undefined=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},AST_Atom);var AST_Hole=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},AST_Atom);var AST_Infinity=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},AST_Atom);var AST_Boolean=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},AST_Atom);var AST_False=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},AST_Boolean);var AST_True=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},AST_Boolean);function TreeWalker(callback){this.visit=callback;this.stack=[];this.directives=Object.create(null)}TreeWalker.prototype={_visit:function(node,descend){this.push(node);var ret=this.visit(node,descend?function(){descend.call(node)}:noop);if(!ret&&descend){descend.call(node)}this.pop(node);return ret},parent:function(n){return this.stack[this.stack.length-2-(n||0)]},push:function(node){if(node instanceof AST_Lambda){this.directives=Object.create(this.directives)}else if(node instanceof AST_Directive&&!this.directives[node.value]){this.directives[node.value]=node}this.stack.push(node)},pop:function(node){this.stack.pop();if(node instanceof AST_Lambda){this.directives=Object.getPrototypeOf(this.directives)}},self:function(){return this.stack[this.stack.length-1]},find_parent:function(type){var stack=this.stack;for(var i=stack.length;--i>=0;){var x=stack[i];if(x instanceof type)return x}},has_directive:function(type){var dir=this.directives[type];if(dir)return dir;var node=this.stack[this.stack.length-1];if(node instanceof AST_Scope){for(var i=0;i<node.body.length;++i){var st=node.body[i];if(!(st instanceof AST_Directive))break;if(st.value==type)return st}}},in_boolean_context:function(){var stack=this.stack;var i=stack.length,self=stack[--i];while(i>0){var p=stack[--i];if(p instanceof AST_If&&p.condition===self||p instanceof AST_Conditional&&p.condition===self||p instanceof AST_DWLoop&&p.condition===self||p instanceof AST_For&&p.condition===self||p instanceof AST_UnaryPrefix&&p.operator=="!"&&p.expression===self){return true}if(!(p instanceof AST_Binary&&(p.operator=="&&"||p.operator=="||")))return false;self=p}},loopcontrol_target:function(node){var stack=this.stack;if(node.label)for(var i=stack.length;--i>=0;){var x=stack[i];if(x instanceof AST_LabeledStatement&&x.label.name==node.label.name)return x.body}else for(var i=stack.length;--i>=0;){var x=stack[i];if(x instanceof AST_IterationStatement||node instanceof AST_Break&&x instanceof AST_Switch)return x}}};"use strict";var KEYWORDS="break case catch const continue debugger default delete do else finally for function if in instanceof new return switch throw try typeof var void while with";var KEYWORDS_ATOM="false null true";var RESERVED_WORDS="abstract boolean byte char class double enum export extends final float goto implements import int interface let long native package private protected public short static super synchronized this throws transient volatile yield"+" "+KEYWORDS_ATOM+" "+KEYWORDS;var KEYWORDS_BEFORE_EXPRESSION="return new delete throw else case";KEYWORDS=makePredicate(KEYWORDS);RESERVED_WORDS=makePredicate(RESERVED_WORDS);KEYWORDS_BEFORE_EXPRESSION=makePredicate(KEYWORDS_BEFORE_EXPRESSION);KEYWORDS_ATOM=makePredicate(KEYWORDS_ATOM);var OPERATOR_CHARS=makePredicate(characters("+-*&%=<>!?|~^"));var RE_HEX_NUMBER=/^0x[0-9a-f]+$/i;var RE_OCT_NUMBER=/^0[0-7]+$/;var OPERATORS=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]);var WHITESPACE_CHARS=makePredicate(characters("  \n\r\t\f\v​           \u2028\u2029   \ufeff"));var NEWLINE_CHARS=makePredicate(characters("\n\r\u2028\u2029"));var PUNC_BEFORE_EXPRESSION=makePredicate(characters("[{(,;:"));var PUNC_CHARS=makePredicate(characters("[]{}(),;:"));var REGEXP_MODIFIERS=makePredicate(characters("gmsiy"));var UNICODE={letter:new RegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"),digit:new RegExp("[\\u0030-\\u0039\\u0660-\\u0669\\u06F0-\\u06F9\\u07C0-\\u07C9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE6-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0DE6-\\u0DEF\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\u1040-\\u1049\\u1090-\\u1099\\u17E0-\\u17E9\\u1810-\\u1819\\u1946-\\u194F\\u19D0-\\u19D9\\u1A80-\\u1A89\\u1A90-\\u1A99\\u1B50-\\u1B59\\u1BB0-\\u1BB9\\u1C40-\\u1C49\\u1C50-\\u1C59\\uA620-\\uA629\\uA8D0-\\uA8D9\\uA900-\\uA909\\uA9D0-\\uA9D9\\uA9F0-\\uA9F9\\uAA50-\\uAA59\\uABF0-\\uABF9\\uFF10-\\uFF19]"),non_spacing_mark:new RegExp("[\\u0300-\\u036F\\u0483-\\u0487\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065E\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0900-\\u0902\\u093C\\u0941-\\u0948\\u094D\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09BC\\u09C1-\\u09C4\\u09CD\\u09E2\\u09E3\\u0A01\\u0A02\\u0A3C\\u0A41\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81\\u0A82\\u0ABC\\u0AC1-\\u0AC5\\u0AC7\\u0AC8\\u0ACD\\u0AE2\\u0AE3\\u0B01\\u0B3C\\u0B3F\\u0B41-\\u0B44\\u0B4D\\u0B56\\u0B62\\u0B63\\u0B82\\u0BC0\\u0BCD\\u0C3E-\\u0C40\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0CBC\\u0CBF\\u0CC6\\u0CCC\\u0CCD\\u0CE2\\u0CE3\\u0D41-\\u0D44\\u0D4D\\u0D62\\u0D63\\u0DCA\\u0DD2-\\u0DD4\\u0DD6\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F71-\\u0F7E\\u0F80-\\u0F84\\u0F86\\u0F87\\u0F90-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102D-\\u1030\\u1032-\\u1037\\u1039\\u103A\\u103D\\u103E\\u1058\\u1059\\u105E-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108D\\u109D\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B7-\\u17BD\\u17C6\\u17C9-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193B\\u1A17\\u1A18\\u1A56\\u1A58-\\u1A5E\\u1A60\\u1A62\\u1A65-\\u1A6C\\u1A73-\\u1A7C\\u1A7F\\u1B00-\\u1B03\\u1B34\\u1B36-\\u1B3A\\u1B3C\\u1B42\\u1B6B-\\u1B73\\u1B80\\u1B81\\u1BA2-\\u1BA5\\u1BA8\\u1BA9\\u1C2C-\\u1C33\\u1C36\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE0\\u1CE2-\\u1CE8\\u1CED\\u1DC0-\\u1DE6\\u1DFD-\\u1DFF\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2CEF-\\u2CF1\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F\\uA67C\\uA67D\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA825\\uA826\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA951\\uA980-\\uA982\\uA9B3\\uA9B6-\\uA9B9\\uA9BC\\uAA29-\\uAA2E\\uAA31\\uAA32\\uAA35\\uAA36\\uAA43\\uAA4C\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uABE5\\uABE8\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE26]"),space_combining_mark:new RegExp("[\\u0903\\u093E-\\u0940\\u0949-\\u094C\\u094E\\u0982\\u0983\\u09BE-\\u09C0\\u09C7\\u09C8\\u09CB\\u09CC\\u09D7\\u0A03\\u0A3E-\\u0A40\\u0A83\\u0ABE-\\u0AC0\\u0AC9\\u0ACB\\u0ACC\\u0B02\\u0B03\\u0B3E\\u0B40\\u0B47\\u0B48\\u0B4B\\u0B4C\\u0B57\\u0BBE\\u0BBF\\u0BC1\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCC\\u0BD7\\u0C01-\\u0C03\\u0C41-\\u0C44\\u0C82\\u0C83\\u0CBE\\u0CC0-\\u0CC4\\u0CC7\\u0CC8\\u0CCA\\u0CCB\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D40\\u0D46-\\u0D48\\u0D4A-\\u0D4C\\u0D57\\u0D82\\u0D83\\u0DCF-\\u0DD1\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0F3E\\u0F3F\\u0F7F\\u102B\\u102C\\u1031\\u1038\\u103B\\u103C\\u1056\\u1057\\u1062-\\u1064\\u1067-\\u106D\\u1083\\u1084\\u1087-\\u108C\\u108F\\u109A-\\u109C\\u17B6\\u17BE-\\u17C5\\u17C7\\u17C8\\u1923-\\u1926\\u1929-\\u192B\\u1930\\u1931\\u1933-\\u1938\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A19-\\u1A1B\\u1A55\\u1A57\\u1A61\\u1A63\\u1A64\\u1A6D-\\u1A72\\u1B04\\u1B35\\u1B3B\\u1B3D-\\u1B41\\u1B43\\u1B44\\u1B82\\u1BA1\\u1BA6\\u1BA7\\u1BAA\\u1C24-\\u1C2B\\u1C34\\u1C35\\u1CE1\\u1CF2\\uA823\\uA824\\uA827\\uA880\\uA881\\uA8B4-\\uA8C3\\uA952\\uA953\\uA983\\uA9B4\\uA9B5\\uA9BA\\uA9BB\\uA9BD-\\uA9C0\\uAA2F\\uAA30\\uAA33\\uAA34\\uAA4D\\uAA7B\\uABE3\\uABE4\\uABE6\\uABE7\\uABE9\\uABEA\\uABEC]"),connector_punctuation:new RegExp("[\\u005F\\u203F\\u2040\\u2054\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFF3F]")};function is_letter(code){return code>=97&&code<=122||code>=65&&code<=90||code>=170&&UNICODE.letter.test(String.fromCharCode(code))}function is_digit(code){return code>=48&&code<=57}function is_alphanumeric_char(code){return is_digit(code)||is_letter(code)}function is_unicode_digit(code){return UNICODE.digit.test(String.fromCharCode(code))}function is_unicode_combining_mark(ch){return UNICODE.non_spacing_mark.test(ch)||UNICODE.space_combining_mark.test(ch)}function is_unicode_connector_punctuation(ch){return UNICODE.connector_punctuation.test(ch)}function is_identifier(name){return!RESERVED_WORDS(name)&&/^[a-z_$][a-z0-9_$]*$/i.test(name)}function is_identifier_start(code){return code==36||code==95||is_letter(code)}function is_identifier_char(ch){var code=ch.charCodeAt(0);return is_identifier_start(code)||is_digit(code)||code==8204||code==8205||is_unicode_combining_mark(ch)||is_unicode_connector_punctuation(ch)||is_unicode_digit(code)}function is_identifier_string(str){return/^[a-z_$][a-z0-9_$]*$/i.test(str)}function parse_js_number(num){if(RE_HEX_NUMBER.test(num)){return parseInt(num.substr(2),16)}else if(RE_OCT_NUMBER.test(num)){return parseInt(num.substr(1),8)}else{var val=parseFloat(num);if(val==num)return val}}function JS_Parse_Error(message,filename,line,col,pos){this.message=message;this.filename=filename;this.line=line;this.col=col;this.pos=pos}JS_Parse_Error.prototype=Object.create(Error.prototype);JS_Parse_Error.prototype.constructor=JS_Parse_Error;JS_Parse_Error.prototype.name="SyntaxError";configure_error_stack(JS_Parse_Error);function js_error(message,filename,line,col,pos){throw new JS_Parse_Error(message,filename,line,col,pos)}function is_token(token,type,val){return token.type==type&&(val==null||token.value==val)}var EX_EOF={};function tokenizer($TEXT,filename,html5_comments,shebang){var S={text:$TEXT,filename:filename,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,comments_before:[],directives:{},directive_stack:[]};function peek(){return S.text.charAt(S.pos)}function next(signal_eof,in_string){var ch=S.text.charAt(S.pos++);if(signal_eof&&!ch)throw EX_EOF;if(NEWLINE_CHARS(ch)){S.newline_before=S.newline_before||!in_string;++S.line;S.col=0;if(!in_string&&ch=="\r"&&peek()=="\n"){++S.pos;ch="\n"}}else{++S.col}return ch}function forward(i){while(i-- >0)next()}function looking_at(str){return S.text.substr(S.pos,str.length)==str}function find_eol(){var text=S.text;for(var i=S.pos,n=S.text.length;i<n;++i){var ch=text[i];if(NEWLINE_CHARS(ch))return i}return-1}function find(what,signal_eof){var pos=S.text.indexOf(what,S.pos);if(signal_eof&&pos==-1)throw EX_EOF;return pos}function start_token(){S.tokline=S.line;S.tokcol=S.col;S.tokpos=S.pos}var prev_was_dot=false;function token(type,value,is_comment){S.regex_allowed=type=="operator"&&!UNARY_POSTFIX(value)||type=="keyword"&&KEYWORDS_BEFORE_EXPRESSION(value)||type=="punc"&&PUNC_BEFORE_EXPRESSION(value);prev_was_dot=type=="punc"&&value==".";var ret={type:type,value:value,line:S.tokline,col:S.tokcol,pos:S.tokpos,endline:S.line,endcol:S.col,endpos:S.pos,nlb:S.newline_before,file:filename};if(/^(?:num|string|regexp)$/i.test(type)){ret.raw=$TEXT.substring(ret.pos,ret.endpos)}if(!is_comment){ret.comments_before=S.comments_before;S.comments_before=[];for(var i=0,len=ret.comments_before.length;i<len;i++){ret.nlb=ret.nlb||ret.comments_before[i].nlb}}S.newline_before=false;return new AST_Token(ret)}function skip_whitespace(){while(WHITESPACE_CHARS(peek()))next()}function read_while(pred){var ret="",ch,i=0;while((ch=peek())&&pred(ch,i++))ret+=next();return ret}function parse_error(err){js_error(err,filename,S.tokline,S.tokcol,S.tokpos)}function read_num(prefix){var has_e=false,after_e=false,has_x=false,has_dot=prefix==".";var num=read_while(function(ch,i){var code=ch.charCodeAt(0);switch(code){case 120:case 88:return has_x?false:has_x=true;case 101:case 69:return has_x?true:has_e?false:has_e=after_e=true;case 45:return after_e||i==0&&!prefix;case 43:return after_e;case after_e=false,46:return!has_dot&&!has_x&&!has_e?has_dot=true:false}return is_alphanumeric_char(code)});if(prefix)num=prefix+num;if(RE_OCT_NUMBER.test(num)&&next_token.has_directive("use strict")){parse_error("Legacy octal literals are not allowed in strict mode")}var valid=parse_js_number(num);if(!isNaN(valid)){return token("num",valid)}else{parse_error("Invalid syntax: "+num)}}function read_escaped_char(in_string){var ch=next(true,in_string);switch(ch.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2));case 117:return String.fromCharCode(hex_bytes(4));case 10:return"";case 13:if(peek()=="\n"){next(true,in_string);return""}}if(ch>="0"&&ch<="7")return read_octal_escape_sequence(ch);return ch}function read_octal_escape_sequence(ch){var p=peek();if(p>="0"&&p<="7"){ch+=next(true);if(ch[0]<="3"&&(p=peek())>="0"&&p<="7")ch+=next(true)}if(ch==="0")return"\0";if(ch.length>0&&next_token.has_directive("use strict"))parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(ch,8))}function hex_bytes(n){var num=0;for(;n>0;--n){var digit=parseInt(next(true),16);if(isNaN(digit))parse_error("Invalid hex-character pattern in string");num=num<<4|digit}return num}var read_string=with_eof_error("Unterminated string constant",function(quote_char){var quote=next(),ret="";for(;;){var ch=next(true,true);if(ch=="\\")ch=read_escaped_char(true);else if(NEWLINE_CHARS(ch))parse_error("Unterminated string constant");else if(ch==quote)break;ret+=ch}var tok=token("string",ret);tok.quote=quote_char;return tok});function skip_line_comment(type){var regex_allowed=S.regex_allowed;var i=find_eol(),ret;if(i==-1){ret=S.text.substr(S.pos);S.pos=S.text.length}else{ret=S.text.substring(S.pos,i);S.pos=i}S.col=S.tokcol+(S.pos-S.tokpos);S.comments_before.push(token(type,ret,true));S.regex_allowed=regex_allowed;return next_token}var skip_multiline_comment=with_eof_error("Unterminated multiline comment",function(){var regex_allowed=S.regex_allowed;var i=find("*/",true);var text=S.text.substring(S.pos,i).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(text.length+2);S.comments_before.push(token("comment2",text,true));S.regex_allowed=regex_allowed;return next_token});function read_name(){var backslash=false,name="",ch,escaped=false,hex;while((ch=peek())!=null){if(!backslash){if(ch=="\\")escaped=backslash=true,next();else if(is_identifier_char(ch))name+=next();else break}else{if(ch!="u")parse_error("Expecting UnicodeEscapeSequence -- uXXXX");ch=read_escaped_char();if(!is_identifier_char(ch))parse_error("Unicode char: "+ch.charCodeAt(0)+" is not valid in identifier");name+=ch;backslash=false}}if(KEYWORDS(name)&&escaped){hex=name.charCodeAt(0).toString(16).toUpperCase();name="\\u"+"0000".substr(hex.length)+hex+name.slice(1)}return name}var read_regexp=with_eof_error("Unterminated regular expression",function(regexp){var prev_backslash=false,ch,in_class=false;while(ch=next(true))if(NEWLINE_CHARS(ch)){parse_error("Unexpected line terminator")}else if(prev_backslash){regexp+="\\"+ch;prev_backslash=false}else if(ch=="["){in_class=true;regexp+=ch}else if(ch=="]"&&in_class){in_class=false;regexp+=ch}else if(ch=="/"&&!in_class){break}else if(ch=="\\"){prev_backslash=true}else{regexp+=ch}var mods=read_name();try{return token("regexp",new RegExp(regexp,mods))}catch(e){parse_error(e.message)}});function read_operator(prefix){function grow(op){if(!peek())return op;var bigger=op+peek();if(OPERATORS(bigger)){next();return grow(bigger)}else{return op}}return token("operator",grow(prefix||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return skip_multiline_comment()}return S.regex_allowed?read_regexp(""):read_operator("/")}function handle_dot(){next();return is_digit(peek().charCodeAt(0))?read_num("."):token("punc",".")}function read_word(){var word=read_name();if(prev_was_dot)return token("name",word);return KEYWORDS_ATOM(word)?token("atom",word):!KEYWORDS(word)?token("name",word):OPERATORS(word)?token("operator",word):token("keyword",word)}function with_eof_error(eof_error,cont){return function(x){try{return cont(x)}catch(ex){if(ex===EX_EOF)parse_error(eof_error);else throw ex}}}function next_token(force_regexp){if(force_regexp!=null)return read_regexp(force_regexp);if(shebang&&S.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(html5_comments){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&S.newline_before){forward(3);skip_line_comment("comment4");continue}}var ch=peek();if(!ch)return token("eof");var code=ch.charCodeAt(0);switch(code){case 34:case 39:return read_string(ch);case 46:return handle_dot();case 47:{var tok=handle_slash();if(tok===next_token)continue;return tok}}if(is_digit(code))return read_num();if(PUNC_CHARS(ch))return token("punc",next());if(OPERATOR_CHARS(ch))return read_operator();if(code==92||is_identifier_start(code))return read_word();break}parse_error("Unexpected character '"+ch+"'")}next_token.context=function(nc){if(nc)S=nc;return S};next_token.add_directive=function(directive){S.directive_stack[S.directive_stack.length-1].push(directive);if(S.directives[directive]===undefined){S.directives[directive]=1}else{S.directives[directive]++}};next_token.push_directives_stack=function(){S.directive_stack.push([])};next_token.pop_directives_stack=function(){var directives=S.directive_stack[S.directive_stack.length-1];for(var i=0;i<directives.length;i++){S.directives[directives[i]]--}S.directive_stack.pop()};next_token.has_directive=function(directive){return S.directives[directive]>0};return next_token}var UNARY_PREFIX=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var UNARY_POSTFIX=makePredicate(["--","++"]);var ASSIGNMENT=makePredicate(["=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&="]);var PRECEDENCE=function(a,ret){for(var i=0;i<a.length;++i){var b=a[i];for(var j=0;j<b.length;++j){ret[b[j]]=i+1}}return ret}([["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]],{});var STATEMENTS_WITH_LABELS=array_to_hash(["for","do","while","switch"]);var ATOMIC_START_TOKEN=array_to_hash(["atom","num","string","regexp","name"]);function parse($TEXT,options){options=defaults(options,{bare_returns:false,expression:false,filename:null,html5_comments:true,shebang:true,strict:false,toplevel:null});var S={input:typeof $TEXT=="string"?tokenizer($TEXT,options.filename,options.html5_comments,options.shebang):$TEXT,token:null,prev:null,peeked:null,in_function:0,in_directives:true,in_loop:0,labels:[]};S.token=next();function is(type,value){return is_token(S.token,type,value)}function peek(){return S.peeked||(S.peeked=S.input())}function next(){S.prev=S.token;if(S.peeked){S.token=S.peeked;S.peeked=null}else{S.token=S.input()}S.in_directives=S.in_directives&&(S.token.type=="string"||is("punc",";"));return S.token}function prev(){return S.prev}function croak(msg,line,col,pos){var ctx=S.input.context();js_error(msg,ctx.filename,line!=null?line:ctx.tokline,col!=null?col:ctx.tokcol,pos!=null?pos:ctx.tokpos)}function token_error(token,msg){croak(msg,token.line,token.col)}function unexpected(token){if(token==null)token=S.token;token_error(token,"Unexpected token: "+token.type+" ("+token.value+")")}function expect_token(type,val){if(is(type,val)){return next()}token_error(S.token,"Unexpected token "+S.token.type+" «"+S.token.value+"»"+", expected "+type+" «"+val+"»")}function expect(punc){return expect_token("punc",punc)}function can_insert_semicolon(){return!options.strict&&(S.token.nlb||is("eof")||is("punc","}"))}function semicolon(optional){if(is("punc",";"))next();else if(!optional&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var exp=expression(true);expect(")");return exp}function embed_tokens(parser){return function(){var start=S.token;var expr=parser();var end=prev();expr.start=start;expr.end=end;return expr}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){S.peeked=null;S.token=S.input(S.token.value.substr(1))}}var statement=embed_tokens(function(){var tmp;handle_regexp();switch(S.token.type){case"string":if(S.in_directives){tmp=peek();if(S.token.raw.indexOf("\\")==-1&&(tmp.nlb||is_token(tmp,"eof")||is_token(tmp,"punc",";")||is_token(tmp,"punc","}"))){S.input.add_directive(S.token.value)}else{S.in_directives=false}}var dir=S.in_directives,stat=simple_statement();return dir?new AST_Directive(stat.body):stat;case"num":case"regexp":case"operator":case"atom":return simple_statement();case"name":return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch(S.token.value){case"{":return new AST_BlockStatement({start:S.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":S.in_directives=false;next();return new AST_EmptyStatement;default:unexpected()}case"keyword":switch(tmp=S.token.value,next(),tmp){case"break":return break_cont(AST_Break);case"continue":return break_cont(AST_Continue);case"debugger":semicolon();return new AST_Debugger;case"do":return new AST_Do({body:in_loop(statement),condition:(expect_token("keyword","while"),tmp=parenthesised(),semicolon(true),tmp)});case"while":return new AST_While({condition:parenthesised(),body:in_loop(statement)});case"for":return for_();case"function":return function_(AST_Defun);case"if":return if_();case"return":if(S.in_function==0&&!options.bare_returns)croak("'return' outside of function");return new AST_Return({value:is("punc",";")?(next(),null):can_insert_semicolon()?null:(tmp=expression(true),semicolon(),tmp)});case"switch":return new AST_Switch({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":if(S.token.nlb)croak("Illegal newline after 'throw'");return new AST_Throw({value:(tmp=expression(true),semicolon(),tmp)});case"try":return try_();case"var":return tmp=var_(),semicolon(),tmp;case"with":if(S.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}return new AST_With({expression:parenthesised(),body:statement()})}}unexpected()});function labeled_statement(){var label=as_symbol(AST_Label);if(find_if(function(l){return l.name==label.name},S.labels)){croak("Label "+label.name+" defined twice")}expect(":");S.labels.push(label);var stat=statement();S.labels.pop();if(!(stat instanceof AST_IterationStatement)){label.references.forEach(function(ref){if(ref instanceof AST_Continue){ref=ref.label.start;croak("Continue label `"+label.name+"` refers to non-IterationStatement.",ref.line,ref.col,ref.pos)}})}return new AST_LabeledStatement({body:stat,label:label})}function simple_statement(tmp){return new AST_SimpleStatement({body:(tmp=expression(true),semicolon(),tmp)})}function break_cont(type){var label=null,ldef;if(!can_insert_semicolon()){label=as_symbol(AST_LabelRef,true)}if(label!=null){ldef=find_if(function(l){return l.name==label.name},S.labels);if(!ldef)croak("Undefined label "+label.name);label.thedef=ldef}else if(S.in_loop==0)croak(type.TYPE+" not inside a loop or switch");semicolon();var stat=new type({label:label});if(ldef)ldef.references.push(stat);return stat}function for_(){expect("(");var init=null;if(!is("punc",";")){init=is("keyword","var")?(next(),var_(true)):expression(true,true);if(is("operator","in")){if(init instanceof AST_Var&&init.definitions.length>1)croak("Only one variable declaration allowed in for..in loop");next();return for_in(init)}}return regular_for(init)}function regular_for(init){expect(";");var test=is("punc",";")?null:expression(true);expect(";");var step=is("punc",")")?null:expression(true);expect(")");return new AST_For({init:init,condition:test,step:step,body:in_loop(statement)})}function for_in(init){var lhs=init instanceof AST_Var?init.definitions[0].name:null;var obj=expression(true);expect(")");return new AST_ForIn({init:init,name:lhs,object:obj,body:in_loop(statement)})}var function_=function(ctor){var in_statement=ctor===AST_Defun;var name=is("name")?as_symbol(in_statement?AST_SymbolDefun:AST_SymbolLambda):null;if(in_statement&&!name)unexpected();expect("(");var argnames=[];for(var first=true;!is("punc",")");){if(first)first=false;else expect(",");argnames.push(as_symbol(AST_SymbolFunarg))}next();var loop=S.in_loop;var labels=S.labels;++S.in_function;S.in_directives=true;S.input.push_directives_stack();S.in_loop=0;S.labels=[];var body=block_();if(S.input.has_directive("use strict")){if(name)strict_verify_symbol(name);argnames.forEach(strict_verify_symbol)}S.input.pop_directives_stack();--S.in_function;S.in_loop=loop;S.labels=labels;return new ctor({name:name,argnames:argnames,body:body})};function if_(){var cond=parenthesised(),body=statement(),belse=null;if(is("keyword","else")){next();belse=statement()}return new AST_If({condition:cond,body:body,alternative:belse})}function block_(){expect("{");var a=[];while(!is("punc","}")){if(is("eof"))unexpected();a.push(statement())}next();return a}function switch_body_(){expect("{");var a=[],cur=null,branch=null,tmp;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(branch)branch.end=prev();cur=[];branch=new AST_Case({start:(tmp=S.token,next(),tmp),expression:expression(true),body:cur});a.push(branch);expect(":")}else if(is("keyword","default")){if(branch)branch.end=prev();cur=[];branch=new AST_Default({start:(tmp=S.token,next(),expect(":"),tmp),body:cur});a.push(branch)}else{if(!cur)unexpected();cur.push(statement())}}if(branch)branch.end=prev();next();return a}function try_(){var body=block_(),bcatch=null,bfinally=null;if(is("keyword","catch")){var start=S.token;next();expect("(");var name=as_symbol(AST_SymbolCatch);expect(")");bcatch=new AST_Catch({start:start,argname:name,body:block_(),end:prev()})}if(is("keyword","finally")){var start=S.token;next();bfinally=new AST_Finally({start:start,body:block_(),end:prev()})}if(!bcatch&&!bfinally)croak("Missing catch/finally blocks");return new AST_Try({body:body,bcatch:bcatch,bfinally:bfinally})}function vardefs(no_in){var a=[];for(;;){a.push(new AST_VarDef({start:S.token,name:as_symbol(AST_SymbolVar),value:is("operator","=")?(next(),expression(false,no_in)):null,end:prev()}));if(!is("punc",","))break;next()}return a}var var_=function(no_in){return new AST_Var({start:prev(),definitions:vardefs(no_in),end:prev()})};var new_=function(allow_calls){var start=S.token;expect_token("operator","new");var newexp=expr_atom(false),args;if(is("punc","(")){next();args=expr_list(")")}else{args=[]}return subscripts(new AST_New({start:start,expression:newexp,args:args,end:prev()}),allow_calls)};function as_atom_node(){var tok=S.token,ret;switch(tok.type){case"name":case"keyword":ret=_make_symbol(AST_SymbolRef);break;case"num":ret=new AST_Number({start:tok,end:tok,value:tok.value});break;case"string":ret=new AST_String({start:tok,end:tok,value:tok.value,quote:tok.quote});break;case"regexp":ret=new AST_RegExp({start:tok,end:tok,value:tok.value});break;case"atom":switch(tok.value){case"false":ret=new AST_False({start:tok,end:tok});break;case"true":ret=new AST_True({start:tok,end:tok});break;case"null":ret=new AST_Null({start:tok,end:tok});break}break;case"operator":if(!is_identifier_string(tok.value)){croak("Invalid getter/setter name: "+tok.value,tok.line,tok.col,tok.pos)}ret=_make_symbol(AST_SymbolRef);break}next();return ret}var expr_atom=function(allow_calls){if(is("operator","new")){return new_(allow_calls)}var start=S.token;if(is("punc")){switch(start.value){case"(":next();var ex=expression(true);ex.start=start;ex.end=S.token;expect(")");return subscripts(ex,allow_calls);case"[":return subscripts(array_(),allow_calls);case"{":return subscripts(object_(),allow_calls)}unexpected()}if(is("keyword","function")){next();var func=function_(AST_Function);func.start=start;func.end=prev();return subscripts(func,allow_calls)}if(ATOMIC_START_TOKEN[S.token.type]){return subscripts(as_atom_node(),allow_calls)}unexpected()};function expr_list(closing,allow_trailing_comma,allow_empty){var first=true,a=[];while(!is("punc",closing)){if(first)first=false;else expect(",");if(allow_trailing_comma&&is("punc",closing))break;if(is("punc",",")&&allow_empty){a.push(new AST_Hole({start:S.token,end:S.token}))}else{a.push(expression(false))}}next();return a}var array_=embed_tokens(function(){expect("[");return new AST_Array({elements:expr_list("]",!options.strict,true)})});var create_accessor=embed_tokens(function(){return function_(AST_Accessor)});var object_=embed_tokens(function(){expect("{");var first=true,a=[];while(!is("punc","}")){if(first)first=false;else expect(",");if(!options.strict&&is("punc","}"))break;var start=S.token;var type=start.type;var name=as_property_name();if(type=="name"&&!is("punc",":")){var key=new AST_SymbolAccessor({start:S.token,name:as_property_name(),end:prev()});if(name=="get"){a.push(new AST_ObjectGetter({start:start,key:key,value:create_accessor(),end:prev()}));continue}if(name=="set"){a.push(new AST_ObjectSetter({start:start,key:key,value:create_accessor(),end:prev()}));continue}}expect(":");a.push(new AST_ObjectKeyVal({start:start,quote:start.quote,key:name,value:expression(false),end:prev()}))}next();return new AST_Object({properties:a})});function as_property_name(){var tmp=S.token;switch(tmp.type){case"operator":if(!KEYWORDS(tmp.value))unexpected();case"num":case"string":case"name":case"keyword":case"atom":next();return tmp.value;default:unexpected()}}function as_name(){var tmp=S.token;if(tmp.type!="name")unexpected();next();return tmp.value}function _make_symbol(type){var name=S.token.value;return new(name=="this"?AST_This:type)({name:String(name),start:S.token,end:S.token})}function strict_verify_symbol(sym){if(sym.name=="arguments"||sym.name=="eval")croak("Unexpected "+sym.name+" in strict mode",sym.start.line,sym.start.col,sym.start.pos)}function as_symbol(type,noerror){if(!is("name")){if(!noerror)croak("Name expected");return null}var sym=_make_symbol(type);if(S.input.has_directive("use strict")&&sym instanceof AST_SymbolDeclaration){strict_verify_symbol(sym)}next();return sym}var subscripts=function(expr,allow_calls){var start=expr.start;if(is("punc",".")){next();return subscripts(new AST_Dot({start:start,expression:expr,property:as_name(),end:prev()}),allow_calls)}if(is("punc","[")){next();var prop=expression(true);expect("]");return subscripts(new AST_Sub({start:start,expression:expr,property:prop,end:prev()}),allow_calls)}if(allow_calls&&is("punc","(")){next();return subscripts(new AST_Call({start:start,expression:expr,args:expr_list(")"),end:prev()}),true)}return expr};var maybe_unary=function(allow_calls){var start=S.token;if(is("operator")&&UNARY_PREFIX(start.value)){next();handle_regexp();var ex=make_unary(AST_UnaryPrefix,start,maybe_unary(allow_calls));ex.start=start;ex.end=prev();return ex}var val=expr_atom(allow_calls);while(is("operator")&&UNARY_POSTFIX(S.token.value)&&!S.token.nlb){val=make_unary(AST_UnaryPostfix,S.token,val);val.start=start;val.end=S.token;next()}return val};function make_unary(ctor,token,expr){var op=token.value;switch(op){case"++":case"--":if(!is_assignable(expr))croak("Invalid use of "+op+" operator",token.line,token.col,token.pos);break;case"delete":if(expr instanceof AST_SymbolRef&&S.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",expr.start.line,expr.start.col,expr.start.pos);break}return new ctor({operator:op,expression:expr})}var expr_op=function(left,min_prec,no_in){var op=is("operator")?S.token.value:null;if(op=="in"&&no_in)op=null;var prec=op!=null?PRECEDENCE[op]:null;if(prec!=null&&prec>min_prec){next();var right=expr_op(maybe_unary(true),prec,no_in);return expr_op(new AST_Binary({start:left.start,left:left,operator:op,right:right,end:right.end}),min_prec,no_in)}return left};function expr_ops(no_in){return expr_op(maybe_unary(true),0,no_in)}var maybe_conditional=function(no_in){var start=S.token;var expr=expr_ops(no_in);if(is("operator","?")){next();var yes=expression(false);expect(":");return new AST_Conditional({start:start,condition:expr,consequent:yes,alternative:expression(false,no_in),end:prev()})}return expr};function is_assignable(expr){return expr instanceof AST_PropAccess||expr instanceof AST_SymbolRef}var maybe_assign=function(no_in){var start=S.token;var left=maybe_conditional(no_in),val=S.token.value;if(is("operator")&&ASSIGNMENT(val)){if(is_assignable(left)){next();return new AST_Assign({start:start,left:left,operator:val,right:maybe_assign(no_in),end:prev()})}croak("Invalid assignment")}return left};var expression=function(commas,no_in){var start=S.token;var exprs=[];while(true){exprs.push(maybe_assign(no_in));if(!commas||!is("punc",","))break;next();commas=true}return exprs.length==1?exprs[0]:new AST_Sequence({start:start,expressions:exprs,end:peek()})};function in_loop(cont){++S.in_loop;var ret=cont();--S.in_loop;return ret}if(options.expression){return expression(true)}return function(){var start=S.token;var body=[];S.input.push_directives_stack();while(!is("eof"))body.push(statement());S.input.pop_directives_stack();var end=prev();var toplevel=options.toplevel;if(toplevel){toplevel.body=toplevel.body.concat(body);toplevel.end=end}else{toplevel=new AST_Toplevel({start:start,body:body,end:end})}return toplevel}()}"use strict";function TreeTransformer(before,after){TreeWalker.call(this);this.before=before;this.after=after}TreeTransformer.prototype=new TreeWalker;(function(undefined){function _(node,descend){node.DEFMETHOD("transform",function(tw,in_list){var x,y;tw.push(this);if(tw.before)x=tw.before(this,descend,in_list);if(x===undefined){if(!tw.after){x=this;descend(x,tw)}else{tw.stack[tw.stack.length-1]=x=this;descend(x,tw);y=tw.after(x,in_list);if(y!==undefined)x=y}}tw.pop(this);return x})}function do_list(list,tw){return MAP(list,function(node){return node.transform(tw,true)})}_(AST_Node,noop);_(AST_LabeledStatement,function(self,tw){self.label=self.label.transform(tw);self.body=self.body.transform(tw)});_(AST_SimpleStatement,function(self,tw){self.body=self.body.transform(tw)});_(AST_Block,function(self,tw){self.body=do_list(self.body,tw)});_(AST_DWLoop,function(self,tw){self.condition=self.condition.transform(tw);self.body=self.body.transform(tw)});_(AST_For,function(self,tw){if(self.init)self.init=self.init.transform(tw);if(self.condition)self.condition=self.condition.transform(tw);if(self.step)self.step=self.step.transform(tw);self.body=self.body.transform(tw)});_(AST_ForIn,function(self,tw){self.init=self.init.transform(tw);self.object=self.object.transform(tw);self.body=self.body.transform(tw)});_(AST_With,function(self,tw){self.expression=self.expression.transform(tw);self.body=self.body.transform(tw)});_(AST_Exit,function(self,tw){if(self.value)self.value=self.value.transform(tw)});_(AST_LoopControl,function(self,tw){if(self.label)self.label=self.label.transform(tw)});_(AST_If,function(self,tw){self.condition=self.condition.transform(tw);self.body=self.body.transform(tw);if(self.alternative)self.alternative=self.alternative.transform(tw)});_(AST_Switch,function(self,tw){self.expression=self.expression.transform(tw);self.body=do_list(self.body,tw)});_(AST_Case,function(self,tw){self.expression=self.expression.transform(tw);self.body=do_list(self.body,tw)});_(AST_Try,function(self,tw){self.body=do_list(self.body,tw);if(self.bcatch)self.bcatch=self.bcatch.transform(tw);if(self.bfinally)self.bfinally=self.bfinally.transform(tw)});_(AST_Catch,function(self,tw){self.argname=self.argname.transform(tw);self.body=do_list(self.body,tw)});_(AST_Definitions,function(self,tw){self.definitions=do_list(self.definitions,tw)});_(AST_VarDef,function(self,tw){self.name=self.name.transform(tw);if(self.value)self.value=self.value.transform(tw)});_(AST_Lambda,function(self,tw){if(self.name)self.name=self.name.transform(tw);self.argnames=do_list(self.argnames,tw);self.body=do_list(self.body,tw)});_(AST_Call,function(self,tw){self.expression=self.expression.transform(tw);self.args=do_list(self.args,tw)});_(AST_Sequence,function(self,tw){self.expressions=do_list(self.expressions,tw)});_(AST_Dot,function(self,tw){self.expression=self.expression.transform(tw)});_(AST_Sub,function(self,tw){self.expression=self.expression.transform(tw);self.property=self.property.transform(tw)});_(AST_Unary,function(self,tw){self.expression=self.expression.transform(tw)});_(AST_Binary,function(self,tw){self.left=self.left.transform(tw);self.right=self.right.transform(tw)});_(AST_Conditional,function(self,tw){self.condition=self.condition.transform(tw);self.consequent=self.consequent.transform(tw);self.alternative=self.alternative.transform(tw)});_(AST_Array,function(self,tw){self.elements=do_list(self.elements,tw)});_(AST_Object,function(self,tw){self.properties=do_list(self.properties,tw)});_(AST_ObjectProperty,function(self,tw){self.value=self.value.transform(tw)})})();"use strict";function SymbolDef(scope,index,orig){this.name=orig.name;this.orig=[orig];this.scope=scope;this.references=[];this.global=false;this.mangled_name=null;this.undeclared=false;this.index=index;this.id=SymbolDef.next_id++}SymbolDef.next_id=1;SymbolDef.prototype={unmangleable:function(options){if(!options)options={};return this.global&&!options.toplevel||this.undeclared||!options.eval&&(this.scope.uses_eval||this.scope.uses_with)||options.keep_fnames&&(this.orig[0]instanceof AST_SymbolLambda||this.orig[0]instanceof AST_SymbolDefun)},mangle:function(options){var cache=options.cache&&options.cache.props;if(this.global&&cache&&cache.has(this.name)){this.mangled_name=cache.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(options)){var s=this.scope;var sym=this.orig[0];if(options.ie8&&sym instanceof AST_SymbolLambda)s=s.parent_scope;var def;if(this.defun&&(def=this.defun.variables.get(this.name))){this.mangled_name=def.mangled_name||def.name}else this.mangled_name=s.next_mangled(options,this);if(this.global&&cache){cache.set(this.name,this.mangled_name)}}}};AST_Toplevel.DEFMETHOD("figure_out_scope",function(options){options=defaults(options,{cache:null,ie8:false});var self=this;var scope=self.parent_scope=null;var labels=new Dictionary;var defun=null;var tw=new TreeWalker(function(node,descend){if(node instanceof AST_Catch){var save_scope=scope;scope=new AST_Scope(node);scope.init_scope_vars(save_scope);descend();scope=save_scope;return true}if(node instanceof AST_Scope){node.init_scope_vars(scope);var save_scope=scope;var save_defun=defun;var save_labels=labels;defun=scope=node;labels=new Dictionary;descend();scope=save_scope;defun=save_defun;labels=save_labels;return true}if(node instanceof AST_LabeledStatement){var l=node.label;if(labels.has(l.name)){throw new Error(string_template("Label {name} defined twice",l))}labels.set(l.name,l);descend();labels.del(l.name);return true}if(node instanceof AST_With){for(var s=scope;s;s=s.parent_scope)s.uses_with=true;return}if(node instanceof AST_Symbol){node.scope=scope}if(node instanceof AST_Label){node.thedef=node;node.references=[]}if(node instanceof AST_SymbolLambda){defun.def_function(node)}else if(node instanceof AST_SymbolDefun){(node.scope=defun.parent_scope).def_function(node)}else if(node instanceof AST_SymbolVar){defun.def_variable(node);if(defun!==scope){node.mark_enclosed(options);var def=scope.find_variable(node);if(node.thedef!==def){node.thedef=def;node.reference(options)}}}else if(node instanceof AST_SymbolCatch){scope.def_variable(node).defun=defun}else if(node instanceof AST_LabelRef){var sym=labels.get(node.name);if(!sym)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:node.name,line:node.start.line,col:node.start.col}));node.thedef=sym}});self.walk(tw);var func=null;var globals=self.globals=new Dictionary;var tw=new TreeWalker(function(node,descend){if(node instanceof AST_Lambda){var prev_func=func;func=node;descend();func=prev_func;return true}if(node instanceof AST_LoopControl&&node.label){node.label.thedef.references.push(node);return true}if(node instanceof AST_SymbolRef){var name=node.name;if(name=="eval"&&tw.parent()instanceof AST_Call){for(var s=node.scope;s&&!s.uses_eval;s=s.parent_scope){s.uses_eval=true}}var sym=node.scope.find_variable(name);if(node.scope instanceof AST_Lambda&&name=="arguments"){node.scope.uses_arguments=true}if(!sym){sym=self.def_global(node)}node.thedef=sym;node.reference(options);return true}});self.walk(tw);if(options.ie8){self.walk(new TreeWalker(function(node,descend){if(node instanceof AST_SymbolCatch){var name=node.name;var refs=node.thedef.references;var scope=node.thedef.defun;var def=scope.find_variable(name)||self.globals.get(name)||scope.def_variable(node);refs.forEach(function(ref){ref.thedef=def;ref.reference(options)});node.thedef=def;return true}}))}if(options.cache){this.cname=options.cache.cname}});AST_Toplevel.DEFMETHOD("def_global",function(node){var globals=this.globals,name=node.name;if(globals.has(name)){return globals.get(name)}else{var g=new SymbolDef(this,globals.size(),node);g.undeclared=true;g.global=true;globals.set(name,g);return g}});AST_Scope.DEFMETHOD("init_scope_vars",function(parent_scope){this.variables=new Dictionary;this.functions=new Dictionary;this.uses_with=false;this.uses_eval=false;this.parent_scope=parent_scope;this.enclosed=[];this.cname=-1});AST_Lambda.DEFMETHOD("init_scope_vars",function(){AST_Scope.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new AST_SymbolFunarg({name:"arguments",start:this.start,end:this.end}))});AST_Symbol.DEFMETHOD("mark_enclosed",function(options){var def=this.definition();var s=this.scope;while(s){push_uniq(s.enclosed,def);if(options.keep_fnames){s.functions.each(function(d){push_uniq(def.scope.enclosed,d)})}if(s===def.scope)break;s=s.parent_scope}});AST_Symbol.DEFMETHOD("reference",function(options){this.definition().references.push(this);this.mark_enclosed(options)});AST_Scope.DEFMETHOD("find_variable",function(name){if(name instanceof AST_Symbol)name=name.name;return this.variables.get(name)||this.parent_scope&&this.parent_scope.find_variable(name)});AST_Scope.DEFMETHOD("def_function",function(symbol){this.functions.set(symbol.name,this.def_variable(symbol))});AST_Scope.DEFMETHOD("def_variable",function(symbol){var def;if(!this.variables.has(symbol.name)){def=new SymbolDef(this,this.variables.size(),symbol);this.variables.set(symbol.name,def);def.global=!this.parent_scope}else{def=this.variables.get(symbol.name);def.orig.push(symbol)}return symbol.thedef=def});AST_Scope.DEFMETHOD("next_mangled",function(options){var ext=this.enclosed;out:while(true){var m=base54(++this.cname);if(!is_identifier(m))continue;if(options.reserved.indexOf(m)>=0)continue;for(var i=ext.length;--i>=0;){var sym=ext[i];var name=sym.mangled_name||sym.unmangleable(options)&&sym.name;if(m==name)continue out}return m}});AST_Function.DEFMETHOD("next_mangled",function(options,def){var tricky_def=def.orig[0]instanceof AST_SymbolFunarg&&this.name&&this.name.definition();var tricky_name=tricky_def?tricky_def.mangled_name||tricky_def.name:null;while(true){var name=AST_Lambda.prototype.next_mangled.call(this,options,def);if(!tricky_name||tricky_name!=name)return name}});AST_Symbol.DEFMETHOD("unmangleable",function(options){return this.definition().unmangleable(options)});AST_Label.DEFMETHOD("unmangleable",function(){return false});AST_Symbol.DEFMETHOD("unreferenced",function(){return this.definition().references.length==0&&!(this.scope.uses_eval||this.scope.uses_with)});AST_Symbol.DEFMETHOD("undeclared",function(){return this.definition().undeclared});AST_LabelRef.DEFMETHOD("undeclared",function(){return false});AST_Label.DEFMETHOD("undeclared",function(){return false});AST_Symbol.DEFMETHOD("definition",function(){return this.thedef});AST_Symbol.DEFMETHOD("global",function(){return this.definition().global});AST_Toplevel.DEFMETHOD("_default_mangler_options",function(options){return defaults(options,{eval:false,ie8:false,keep_fnames:false,reserved:[],toplevel:false})});AST_Toplevel.DEFMETHOD("mangle_names",function(options){options=this._default_mangler_options(options);options.reserved.push("arguments");var lname=-1;var to_mangle=[];if(options.cache){this.globals.each(function(symbol){if(options.reserved.indexOf(symbol.name)<0){to_mangle.push(symbol)}})}var tw=new TreeWalker(function(node,descend){if(node instanceof AST_LabeledStatement){var save_nesting=lname;descend();lname=save_nesting;return true}if(node instanceof AST_Scope){var p=tw.parent(),a=[];node.variables.each(function(symbol){if(options.reserved.indexOf(symbol.name)<0){a.push(symbol)}});to_mangle.push.apply(to_mangle,a);return}if(node instanceof AST_Label){var name;do{name=base54(++lname)}while(!is_identifier(name));node.mangled_name=name;return true}if(!options.ie8&&node instanceof AST_SymbolCatch){to_mangle.push(node.definition());return}});this.walk(tw);to_mangle.forEach(function(def){def.mangle(options)});if(options.cache){options.cache.cname=this.cname}});AST_Toplevel.DEFMETHOD("compute_char_frequency",function(options){options=this._default_mangler_options(options);var tw=new TreeWalker(function(node){if(node instanceof AST_Constant)base54.consider(node.print_to_string());else if(node instanceof AST_Return)base54.consider("return");else if(node instanceof AST_Throw)base54.consider("throw");else if(node instanceof AST_Continue)base54.consider("continue");else if(node instanceof AST_Break)base54.consider("break");else if(node instanceof AST_Debugger)base54.consider("debugger");else if(node instanceof AST_Directive)base54.consider(node.value);else if(node instanceof AST_While)base54.consider("while");else if(node instanceof AST_Do)base54.consider("do while");else if(node instanceof AST_If){base54.consider("if");if(node.alternative)base54.consider("else")}else if(node instanceof AST_Var)base54.consider("var");else if(node instanceof AST_Lambda)base54.consider("function");else if(node instanceof AST_For)base54.consider("for");else if(node instanceof AST_ForIn)base54.consider("for in");else if(node instanceof AST_Switch)base54.consider("switch");else if(node instanceof AST_Case)base54.consider("case");else if(node instanceof AST_Default)base54.consider("default");else if(node instanceof AST_With)base54.consider("with");else if(node instanceof AST_ObjectSetter)base54.consider("set"+node.key);else if(node instanceof AST_ObjectGetter)base54.consider("get"+node.key);else if(node instanceof AST_ObjectKeyVal)base54.consider(node.key);else if(node instanceof AST_New)base54.consider("new");else if(node instanceof AST_This)base54.consider("this");else if(node instanceof AST_Try)base54.consider("try");else if(node instanceof AST_Catch)base54.consider("catch");else if(node instanceof AST_Finally)base54.consider("finally");else if(node instanceof AST_Symbol&&node.unmangleable(options))base54.consider(node.name);else if(node instanceof AST_Unary||node instanceof AST_Binary)base54.consider(node.operator);else if(node instanceof AST_Dot)base54.consider(node.property)});this.walk(tw);base54.sort()});var base54=function(){var string="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_0123456789";var chars,frequency;function reset(){frequency=Object.create(null);chars=string.split("").map(function(ch){return ch.charCodeAt(0)});chars.forEach(function(ch){frequency[ch]=0})}base54.consider=function(str){for(var i=str.length;--i>=0;){var code=str.charCodeAt(i);if(code in frequency)++frequency[code]}};base54.sort=function(){chars=mergeSort(chars,function(a,b){if(is_digit(a)&&!is_digit(b))return 1;if(is_digit(b)&&!is_digit(a))return-1;return frequency[b]-frequency[a]})};base54.reset=reset;reset();base54.get=function(){return chars};base54.freq=function(){return frequency};function base54(num){var ret="",base=54;num++;do{num--;ret+=String.fromCharCode(chars[num%base]);num=Math.floor(num/base);base=64}while(num>0);return ret}return base54}();"use strict";var EXPECT_DIRECTIVE=/^$|[;{][\s\n]*$/;function is_some_comments(comment){return comment.type=="comment2"&&/@preserve|@license|@cc_on/i.test(comment.value)}function OutputStream(options){options=defaults(options,{ascii_only:false,beautify:false,bracketize:false,comments:false,ie8:false,indent_level:4,indent_start:0,inline_script:true,keep_quoted_props:false,max_line_len:false,preamble:null,preserve_line:false,quote_keys:false,quote_style:0,semicolons:true,shebang:true,source_map:null,space_colon:true,unescape_regexps:false,width:80,wrap_iife:false},true);var comment_filter=return_false;if(options.comments){var comments=options.comments;if(typeof options.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(options.comments)){var regex_pos=options.comments.lastIndexOf("/");comments=new RegExp(options.comments.substr(1,regex_pos-1),options.comments.substr(regex_pos+1))}if(comments instanceof RegExp){comment_filter=function(comment){return comment.type!="comment5"&&comments.test(comment.value)}}else if(typeof comments==="function"){comment_filter=function(comment){return comment.type!="comment5"&&comments(this,comment)}}else if(comments==="some"){comment_filter=is_some_comments}else{comment_filter=return_true}}var indentation=0;var current_col=0;var current_line=1;var current_pos=0;var OUTPUT="";function to_ascii(str,identifier){return str.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(ch){var code=ch.charCodeAt(0).toString(16);if(code.length<=2&&!identifier){while(code.length<2)code="0"+code;return"\\x"+code}else{while(code.length<4)code="0"+code;return"\\u"+code}})}function make_string(str,quote){var dq=0,sq=0;str=str.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(s,i){switch(s){case'"':++dq;return'"';case"'":++sq;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return options.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-7]/.test(str.charAt(i+1))?"\\x00":"\\0"}return s});function quote_single(){return"'"+str.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+str.replace(/\x22/g,'\\"')+'"'}if(options.ascii_only)str=to_ascii(str);switch(options.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return quote=="'"?quote_single():quote_double();default:return dq>sq?quote_single():quote_double()}}function encode_string(str,quote){var ret=make_string(str,quote);if(options.inline_script){ret=ret.replace(/<\x2fscript([>\/\t\n\f\r ])/gi,"<\\/script$1");ret=ret.replace(/\x3c!--/g,"\\x3c!--");ret=ret.replace(/--\x3e/g,"--\\x3e")}return ret}function make_name(name){name=name.toString();if(options.ascii_only)name=to_ascii(name,true);return name}function make_indent(back){return repeat_string(" ",options.indent_start+indentation-back*options.indent_level)}var might_need_space=false;var might_need_semicolon=false;var might_add_newline=0;var last="";var ensure_line_len=options.max_line_len?function(){if(current_col>options.max_line_len){if(might_add_newline){var left=OUTPUT.slice(0,might_add_newline);var right=OUTPUT.slice(might_add_newline);OUTPUT=left+"\n"+right;current_line++;current_pos++;current_col=right.length}if(current_col>options.max_line_len){AST_Node.warn("Output exceeds {max_line_len} characters",options)}}might_add_newline=0}:noop;var requireSemicolonChars=makePredicate("( [ + * / - , .");function print(str){str=String(str);var ch=str.charAt(0);var prev=last.charAt(last.length-1);if(might_need_semicolon){might_need_semicolon=false;if(prev==":"&&ch=="}"||(!ch||";}".indexOf(ch)<0)&&prev!=";"){if(options.semicolons||requireSemicolonChars(ch)){OUTPUT+=";";current_col++;current_pos++}else{ensure_line_len();OUTPUT+="\n";current_pos++;current_line++;current_col=0;if(/^\s+$/.test(str)){might_need_semicolon=true}}if(!options.beautify)might_need_space=false}}if(!options.beautify&&options.preserve_line&&stack[stack.length-1]){var target_line=stack[stack.length-1].start.line;while(current_line<target_line){ensure_line_len();OUTPUT+="\n";current_pos++;current_line++;current_col=0;might_need_space=false}}if(might_need_space){if(is_identifier_char(prev)&&(is_identifier_char(ch)||ch=="\\")||ch=="/"&&ch==prev||(ch=="+"||ch=="-")&&ch==last){OUTPUT+=" ";current_col++;current_pos++}might_need_space=false}OUTPUT+=str;current_pos+=str.length;var a=str.split(/\r?\n/),n=a.length-1;current_line+=n;current_col+=a[0].length;if(n>0){ensure_line_len();current_col=a[n].length}last=str}var space=options.beautify?function(){print(" ")}:function(){might_need_space=true};var indent=options.beautify?function(half){if(options.beautify){print(make_indent(half?.5:0))}}:noop;var with_indent=options.beautify?function(col,cont){if(col===true)col=next_indent();var save_indentation=indentation;indentation=col;var ret=cont();indentation=save_indentation;return ret}:function(col,cont){return cont()};var newline=options.beautify?function(){print("\n")}:options.max_line_len?function(){ensure_line_len();might_add_newline=OUTPUT.length}:noop;var semicolon=options.beautify?function(){print(";")}:function(){might_need_semicolon=true};function force_semicolon(){might_need_semicolon=false;print(";")}function next_indent(){return indentation+options.indent_level}function with_block(cont){var ret;print("{");newline();with_indent(next_indent(),function(){ret=cont()});indent();print("}");return ret}function with_parens(cont){print("(");var ret=cont();print(")");return ret}function with_square(cont){print("[");var ret=cont();print("]");return ret}function comma(){print(",");space()}function colon(){print(":");if(options.space_colon)space()}var add_mapping=options.source_map?function(token,name){try{if(token)options.source_map.add(token.file||"?",current_line,current_col,token.line,token.col,!name&&token.type=="name"?token.value:name)}catch(ex){AST_Node.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]",{file:token.file,line:token.line,col:token.col,cline:current_line,ccol:current_col,name:name||""})}}:noop;function get(){if(might_add_newline){ensure_line_len()}return OUTPUT}var stack=[];return{get:get,toString:get,indent:indent,indentation:function(){return indentation},current_width:function(){return current_col-indentation},should_break:function(){return options.width&&this.current_width()>=options.width},newline:newline,print:print,space:space,comma:comma,colon:colon,last:function(){return last},semicolon:semicolon,force_semicolon:force_semicolon,to_ascii:to_ascii,print_name:function(name){print(make_name(name))},print_string:function(str,quote,escape_directive){var encoded=encode_string(str,quote);if(escape_directive===true&&encoded.indexOf("\\")===-1){if(!EXPECT_DIRECTIVE.test(OUTPUT)){force_semicolon()}force_semicolon()}print(encoded)},encode_string:encode_string,next_indent:next_indent,with_indent:with_indent,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:add_mapping,option:function(opt){return options[opt]},comment_filter:comment_filter,line:function(){return current_line},col:function(){return current_col},pos:function(){return current_pos},push_node:function(node){stack.push(node)},pop_node:function(){return stack.pop()},parent:function(n){return stack[stack.length-2-(n||0)]}}}(function(){function DEFPRINT(nodetype,generator){nodetype.DEFMETHOD("_codegen",generator)}var use_asm=false;var in_directive=false;AST_Node.DEFMETHOD("print",function(stream,force_parens){var self=this,generator=self._codegen,prev_use_asm=use_asm;if(self instanceof AST_Directive&&self.value=="use asm"&&stream.parent()instanceof AST_Scope){use_asm=true}function doit(){self.add_comments(stream);self.add_source_map(stream);generator(self,stream)}stream.push_node(self);if(force_parens||self.needs_parens(stream)){stream.with_parens(doit)}else{doit()}stream.pop_node();if(self instanceof AST_Scope){use_asm=prev_use_asm}});AST_Node.DEFMETHOD("print_to_string",function(options){var s=OutputStream(options);if(!options)s._readonly=true;this.print(s);return s.get()});AST_Node.DEFMETHOD("add_comments",function(output){if(output._readonly)return;var self=this;var start=self.start;if(start&&!start._comments_dumped){start._comments_dumped=true;var comments=start.comments_before||[];if(self instanceof AST_Exit&&self.value){self.value.walk(new TreeWalker(function(node){if(node.start&&node.start.comments_before){comments=comments.concat(node.start.comments_before);node.start.comments_before=[]}if(node instanceof AST_Function||node instanceof AST_Array||node instanceof AST_Object){return true}}))}if(output.pos()==0){if(comments.length>0&&output.option("shebang")&&comments[0].type=="comment5"){output.print("#!"+comments.shift().value+"\n");output.indent()}var preamble=output.option("preamble");if(preamble){output.print(preamble.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}comments=comments.filter(output.comment_filter,self);if(!output.option("beautify")&&comments.length>0&&/comment[134]/.test(comments[0].type)&&output.col()!==0&&comments[0].nlb){output.print("\n")}comments.forEach(function(c){if(/comment[134]/.test(c.type)){output.print("//"+c.value+"\n");output.indent()}else if(c.type=="comment2"){output.print("/*"+c.value+"*/");if(start.nlb){output.print("\n");output.indent()}else{output.space()}}})}});function PARENS(nodetype,func){if(Array.isArray(nodetype)){nodetype.forEach(function(nodetype){PARENS(nodetype,func)})}else{nodetype.DEFMETHOD("needs_parens",func)}}PARENS(AST_Node,function(){return false});PARENS(AST_Function,function(output){if(first_in_statement(output)){return true}if(output.option("wrap_iife")){var p=output.parent();return p instanceof AST_Call&&p.expression===this}return false});PARENS(AST_Object,function(output){return first_in_statement(output)});PARENS(AST_Unary,function(output){var p=output.parent();return p instanceof AST_PropAccess&&p.expression===this||p instanceof AST_Call&&p.expression===this});PARENS(AST_Sequence,function(output){var p=output.parent();return p instanceof AST_Call||p instanceof AST_Unary||p instanceof AST_Binary||p instanceof AST_VarDef||p instanceof AST_PropAccess||p instanceof AST_Array||p instanceof AST_ObjectProperty||p instanceof AST_Conditional});PARENS(AST_Binary,function(output){var p=output.parent();if(p instanceof AST_Call&&p.expression===this)return true;if(p instanceof AST_Unary)return true;if(p instanceof AST_PropAccess&&p.expression===this)return true;if(p instanceof AST_Binary){var po=p.operator,pp=PRECEDENCE[po];var so=this.operator,sp=PRECEDENCE[so];if(pp>sp||pp==sp&&this===p.right){return true}}});PARENS(AST_PropAccess,function(output){var p=output.parent();if(p instanceof AST_New&&p.expression===this){try{this.walk(new TreeWalker(function(node){if(node instanceof AST_Call)throw p}))}catch(ex){if(ex!==p)throw ex;return true}}});PARENS(AST_Call,function(output){var p=output.parent(),p1;if(p instanceof AST_New&&p.expression===this)return true;return this.expression instanceof AST_Function&&p instanceof AST_PropAccess&&p.expression===this&&(p1=output.parent(1))instanceof AST_Assign&&p1.left===p});PARENS(AST_New,function(output){var p=output.parent();if(!need_constructor_parens(this,output)&&(p instanceof AST_PropAccess||p instanceof AST_Call&&p.expression===this))return true});PARENS(AST_Number,function(output){var p=output.parent();if(p instanceof AST_PropAccess&&p.expression===this){var value=this.getValue();if(value<0||/^0/.test(make_num(value))){return true}}});PARENS([AST_Assign,AST_Conditional],function(output){var p=output.parent();if(p instanceof AST_Unary)return true;if(p instanceof AST_Binary&&!(p instanceof AST_Assign))return true;if(p instanceof AST_Call&&p.expression===this)return true;if(p instanceof AST_Conditional&&p.condition===this)return true;if(p instanceof AST_PropAccess&&p.expression===this)return true});DEFPRINT(AST_Directive,function(self,output){output.print_string(self.value,self.quote);output.semicolon()});DEFPRINT(AST_Debugger,function(self,output){output.print("debugger");output.semicolon()});function display_body(body,is_toplevel,output,allow_directives){var last=body.length-1;in_directive=allow_directives;body.forEach(function(stmt,i){if(in_directive===true&&!(stmt instanceof AST_Directive||stmt instanceof AST_EmptyStatement||stmt instanceof AST_SimpleStatement&&stmt.body instanceof AST_String)){in_directive=false}if(!(stmt instanceof AST_EmptyStatement)){output.indent();stmt.print(output);if(!(i==last&&is_toplevel)){output.newline();if(is_toplevel)output.newline()}}if(in_directive===true&&stmt instanceof AST_SimpleStatement&&stmt.body instanceof AST_String){in_directive=false}});in_directive=false}AST_StatementWithBody.DEFMETHOD("_do_print_body",function(output){force_statement(this.body,output)});DEFPRINT(AST_Statement,function(self,output){self.body.print(output);output.semicolon()});DEFPRINT(AST_Toplevel,function(self,output){display_body(self.body,true,output,true);output.print("")});DEFPRINT(AST_LabeledStatement,function(self,output){self.label.print(output);output.colon();self.body.print(output)});DEFPRINT(AST_SimpleStatement,function(self,output){self.body.print(output);output.semicolon()});function print_bracketed(body,output,allow_directives){if(body.length>0)output.with_block(function(){display_body(body,false,output,allow_directives)});else output.print("{}")}DEFPRINT(AST_BlockStatement,function(self,output){print_bracketed(self.body,output)});DEFPRINT(AST_EmptyStatement,function(self,output){output.semicolon()});DEFPRINT(AST_Do,function(self,output){output.print("do");output.space();make_block(self.body,output);output.space();output.print("while");output.space();output.with_parens(function(){self.condition.print(output)});output.semicolon()});DEFPRINT(AST_While,function(self,output){output.print("while");output.space();output.with_parens(function(){self.condition.print(output)});output.space();self._do_print_body(output)});DEFPRINT(AST_For,function(self,output){output.print("for");output.space();output.with_parens(function(){if(self.init){if(self.init instanceof AST_Definitions){self.init.print(output)}else{parenthesize_for_noin(self.init,output,true)}output.print(";");output.space()}else{output.print(";")}if(self.condition){self.condition.print(output);output.print(";");output.space()}else{output.print(";")}if(self.step){self.step.print(output)}});output.space();self._do_print_body(output)});DEFPRINT(AST_ForIn,function(self,output){output.print("for");output.space();output.with_parens(function(){self.init.print(output);output.space();output.print("in");output.space();self.object.print(output)});output.space();self._do_print_body(output)});DEFPRINT(AST_With,function(self,output){output.print("with");output.space();output.with_parens(function(){self.expression.print(output)});output.space();self._do_print_body(output)});AST_Lambda.DEFMETHOD("_do_print",function(output,nokeyword){var self=this;if(!nokeyword){output.print("function")}if(self.name){output.space();self.name.print(output)}output.with_parens(function(){self.argnames.forEach(function(arg,i){if(i)output.comma();arg.print(output)})});output.space();print_bracketed(self.body,output,true)});DEFPRINT(AST_Lambda,function(self,output){self._do_print(output)});AST_Exit.DEFMETHOD("_do_print",function(output,kind){output.print(kind);if(this.value){output.space();this.value.print(output)}output.semicolon()});DEFPRINT(AST_Return,function(self,output){self._do_print(output,"return")});DEFPRINT(AST_Throw,function(self,output){self._do_print(output,"throw")});AST_LoopControl.DEFMETHOD("_do_print",function(output,kind){output.print(kind);if(this.label){output.space();this.label.print(output)}output.semicolon()});DEFPRINT(AST_Break,function(self,output){self._do_print(output,"break")});DEFPRINT(AST_Continue,function(self,output){self._do_print(output,"continue")});function make_then(self,output){var b=self.body;if(output.option("bracketize")||output.option("ie8")&&b instanceof AST_Do)return make_block(b,output);if(!b)return output.force_semicolon();while(true){if(b instanceof AST_If){if(!b.alternative){make_block(self.body,output);return}b=b.alternative}else if(b instanceof AST_StatementWithBody){b=b.body}else break}force_statement(self.body,output)}DEFPRINT(AST_If,function(self,output){output.print("if");output.space();output.with_parens(function(){self.condition.print(output)});output.space();if(self.alternative){make_then(self,output);output.space();output.print("else");output.space();if(self.alternative instanceof AST_If)self.alternative.print(output);else force_statement(self.alternative,output)}else{self._do_print_body(output)}});DEFPRINT(AST_Switch,function(self,output){output.print("switch");output.space();output.with_parens(function(){self.expression.print(output)});output.space();var last=self.body.length-1;if(last<0)output.print("{}");else output.with_block(function(){self.body.forEach(function(branch,i){output.indent(true);branch.print(output);if(i<last&&branch.body.length>0)output.newline()})})});AST_SwitchBranch.DEFMETHOD("_do_print_body",function(output){output.newline();this.body.forEach(function(stmt){output.indent();stmt.print(output);output.newline()})});DEFPRINT(AST_Default,function(self,output){output.print("default:");self._do_print_body(output)});DEFPRINT(AST_Case,function(self,output){output.print("case");output.space();self.expression.print(output);output.print(":");self._do_print_body(output)});DEFPRINT(AST_Try,function(self,output){output.print("try");output.space();print_bracketed(self.body,output);if(self.bcatch){output.space();self.bcatch.print(output)}if(self.bfinally){output.space();self.bfinally.print(output)}});DEFPRINT(AST_Catch,function(self,output){output.print("catch");output.space();output.with_parens(function(){self.argname.print(output)});output.space();print_bracketed(self.body,output)});DEFPRINT(AST_Finally,function(self,output){output.print("finally");output.space();print_bracketed(self.body,output)});AST_Definitions.DEFMETHOD("_do_print",function(output,kind){output.print(kind);output.space();this.definitions.forEach(function(def,i){if(i)output.comma();def.print(output)});var p=output.parent();var in_for=p instanceof AST_For||p instanceof AST_ForIn;var avoid_semicolon=in_for&&p.init===this;if(!avoid_semicolon)output.semicolon()});DEFPRINT(AST_Var,function(self,output){self._do_print(output,"var")});function parenthesize_for_noin(node,output,noin){if(!noin)node.print(output);else try{node.walk(new TreeWalker(function(node){if(node instanceof AST_Binary&&node.operator=="in")throw output}));node.print(output)}catch(ex){if(ex!==output)throw ex;node.print(output,true)}}DEFPRINT(AST_VarDef,function(self,output){self.name.print(output);if(self.value){output.space();output.print("=");output.space();var p=output.parent(1);var noin=p instanceof AST_For||p instanceof AST_ForIn;parenthesize_for_noin(self.value,output,noin)}});DEFPRINT(AST_Call,function(self,output){self.expression.print(output);if(self instanceof AST_New&&!need_constructor_parens(self,output))return;output.with_parens(function(){self.args.forEach(function(expr,i){if(i)output.comma();expr.print(output)})})});DEFPRINT(AST_New,function(self,output){output.print("new");output.space();AST_Call.prototype._codegen(self,output)});AST_Sequence.DEFMETHOD("_do_print",function(output){this.expressions.forEach(function(node,index){if(index>0){output.comma();if(output.should_break()){output.newline();output.indent()}}node.print(output)})});DEFPRINT(AST_Sequence,function(self,output){self._do_print(output)});DEFPRINT(AST_Dot,function(self,output){var expr=self.expression;expr.print(output);if(expr instanceof AST_Number&&expr.getValue()>=0){if(!/[xa-f.)]/i.test(output.last())){output.print(".")}}output.print(".");output.add_mapping(self.end);output.print_name(self.property)});DEFPRINT(AST_Sub,function(self,output){self.expression.print(output);output.print("[");self.property.print(output);output.print("]")});DEFPRINT(AST_UnaryPrefix,function(self,output){var op=self.operator;output.print(op);if(/^[a-z]/i.test(op)||/[+-]$/.test(op)&&self.expression instanceof AST_UnaryPrefix&&/^[+-]/.test(self.expression.operator)){output.space()}self.expression.print(output)});DEFPRINT(AST_UnaryPostfix,function(self,output){self.expression.print(output);output.print(self.operator)});DEFPRINT(AST_Binary,function(self,output){var op=self.operator;self.left.print(output);if(op[0]==">"&&self.left instanceof AST_UnaryPostfix&&self.left.operator=="--"){output.print(" ")}else{output.space()}output.print(op);if((op=="<"||op=="<<")&&self.right instanceof AST_UnaryPrefix&&self.right.operator=="!"&&self.right.expression instanceof AST_UnaryPrefix&&self.right.expression.operator=="--"){output.print(" ")}else{output.space()}self.right.print(output)});DEFPRINT(AST_Conditional,function(self,output){self.condition.print(output);output.space();output.print("?");output.space();self.consequent.print(output);output.space();output.colon();self.alternative.print(output)});DEFPRINT(AST_Array,function(self,output){output.with_square(function(){var a=self.elements,len=a.length;if(len>0)output.space();a.forEach(function(exp,i){if(i)output.comma();exp.print(output);if(i===len-1&&exp instanceof AST_Hole)output.comma()});if(len>0)output.space()})});DEFPRINT(AST_Object,function(self,output){if(self.properties.length>0)output.with_block(function(){self.properties.forEach(function(prop,i){if(i){output.print(",");output.newline()}output.indent();prop.print(output)});output.newline()});else output.print("{}")});DEFPRINT(AST_ObjectKeyVal,function(self,output){var key=self.key;var quote=self.quote;if(output.option("quote_keys")){output.print_string(key+"")}else if((typeof key=="number"||!output.option("beautify")&&+key+""==key)&&parseFloat(key)>=0){output.print(make_num(key))}else if(RESERVED_WORDS(key)?!output.option("ie8"):is_identifier_string(key)){if(quote&&output.option("keep_quoted_props")){output.print_string(key,quote)}else{output.print_name(key)}}else{output.print_string(key,quote)}output.colon();self.value.print(output)});DEFPRINT(AST_ObjectSetter,function(self,output){output.print("set");output.space();self.key.print(output);self.value._do_print(output,true)});DEFPRINT(AST_ObjectGetter,function(self,output){output.print("get");output.space();self.key.print(output);self.value._do_print(output,true)});DEFPRINT(AST_Symbol,function(self,output){var def=self.definition();output.print_name(def?def.mangled_name||def.name:self.name)});DEFPRINT(AST_Hole,noop);DEFPRINT(AST_This,function(self,output){output.print("this")});DEFPRINT(AST_Constant,function(self,output){output.print(self.getValue())});DEFPRINT(AST_String,function(self,output){output.print_string(self.getValue(),self.quote,in_directive)});DEFPRINT(AST_Number,function(self,output){if(use_asm&&self.start&&self.start.raw!=null){output.print(self.start.raw)}else{output.print(make_num(self.getValue()))}});function regexp_safe_literal(code){return[92,47,46,43,42,63,40,41,91,93,123,125,36,94,58,124,33,10,13,0,65279,8232,8233].indexOf(code)<0}DEFPRINT(AST_RegExp,function(self,output){var str=self.getValue().toString();if(output.option("ascii_only")){str=output.to_ascii(str)}else if(output.option("unescape_regexps")){str=str.split("\\\\").map(function(str){return str.replace(/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}/g,function(s){var code=parseInt(s.substr(2),16);return regexp_safe_literal(code)?String.fromCharCode(code):s})}).join("\\\\")}output.print(str);var p=output.parent();if(p instanceof AST_Binary&&/^in/.test(p.operator)&&p.left===self)output.print(" ")});function force_statement(stat,output){if(output.option("bracketize")){make_block(stat,output)}else{if(!stat||stat instanceof AST_EmptyStatement)output.force_semicolon();else stat.print(output)}}function need_constructor_parens(self,output){if(self.args.length>0)return true;return output.option("beautify")}function best_of(a){var best=a[0],len=best.length;for(var i=1;i<a.length;++i){if(a[i].length<len){best=a[i];len=best.length}}return best}function make_num(num){var str=num.toString(10),a=[str.replace(/^0\./,".").replace("e+","e")],m;if(Math.floor(num)===num){if(num>=0){a.push("0x"+num.toString(16).toLowerCase(),"0"+num.toString(8))}else{a.push("-0x"+(-num).toString(16).toLowerCase(),"-0"+(-num).toString(8))}if(m=/^(.*?)(0+)$/.exec(num)){a.push(m[1]+"e"+m[2].length)}}else if(m=/^0?\.(0+)(.*)$/.exec(num)){a.push(m[2]+"e-"+(m[1].length+m[2].length),str.substr(str.indexOf(".")))}return best_of(a)}function make_block(stmt,output){if(!stmt||stmt instanceof AST_EmptyStatement)output.print("{}");else if(stmt instanceof AST_BlockStatement)stmt.print(output);else output.with_block(function(){output.indent();stmt.print(output);output.newline()})}function DEFMAP(nodetype,generator){nodetype.DEFMETHOD("add_source_map",function(stream){generator(this,stream)})}DEFMAP(AST_Node,noop);function basic_sourcemap_gen(self,output){output.add_mapping(self.start)}DEFMAP(AST_Directive,basic_sourcemap_gen);DEFMAP(AST_Debugger,basic_sourcemap_gen);DEFMAP(AST_Symbol,basic_sourcemap_gen);DEFMAP(AST_Jump,basic_sourcemap_gen);DEFMAP(AST_StatementWithBody,basic_sourcemap_gen);DEFMAP(AST_LabeledStatement,noop);DEFMAP(AST_Lambda,basic_sourcemap_gen);DEFMAP(AST_Switch,basic_sourcemap_gen);DEFMAP(AST_SwitchBranch,basic_sourcemap_gen);DEFMAP(AST_BlockStatement,basic_sourcemap_gen);DEFMAP(AST_Toplevel,noop);DEFMAP(AST_New,basic_sourcemap_gen);DEFMAP(AST_Try,basic_sourcemap_gen);DEFMAP(AST_Catch,basic_sourcemap_gen);DEFMAP(AST_Finally,basic_sourcemap_gen);DEFMAP(AST_Definitions,basic_sourcemap_gen);DEFMAP(AST_Constant,basic_sourcemap_gen);DEFMAP(AST_ObjectSetter,function(self,output){output.add_mapping(self.start,self.key.name)});DEFMAP(AST_ObjectGetter,function(self,output){output.add_mapping(self.start,self.key.name)});DEFMAP(AST_ObjectProperty,function(self,output){output.add_mapping(self.start,self.key)})})();"use strict";function Compressor(options,false_by_default){if(!(this instanceof Compressor))return new Compressor(options,false_by_default);TreeTransformer.call(this,this.before,this.after);this.options=defaults(options,{booleans:!false_by_default,cascade:!false_by_default,collapse_vars:!false_by_default,comparisons:!false_by_default,conditionals:!false_by_default,dead_code:!false_by_default,drop_console:false,drop_debugger:!false_by_default,evaluate:!false_by_default,expression:false,global_defs:{},hoist_funs:!false_by_default,hoist_vars:false,ie8:false,if_return:!false_by_default,join_vars:!false_by_default,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!false_by_default,negate_iife:!false_by_default,passes:1,properties:!false_by_default,pure_getters:!false_by_default&&"strict",pure_funcs:null,reduce_vars:!false_by_default,sequences:!false_by_default,side_effects:!false_by_default,switches:!false_by_default,top_retain:null,toplevel:!!(options&&options["top_retain"]),unsafe:false,unsafe_comps:false,unsafe_math:false,unsafe_proto:false,unused:!false_by_default,warnings:false},true);var pure_funcs=this.options["pure_funcs"];if(typeof pure_funcs=="function"){this.pure_funcs=pure_funcs}else{this.pure_funcs=pure_funcs?function(node){return pure_funcs.indexOf(node.expression.print_to_string())<0}:return_true}var top_retain=this.options["top_retain"];if(top_retain instanceof RegExp){this.top_retain=function(def){return top_retain.test(def.name)}}else if(typeof top_retain=="function"){this.top_retain=top_retain}else if(top_retain){if(typeof top_retain=="string"){top_retain=top_retain.split(/,/)}this.top_retain=function(def){return top_retain.indexOf(def.name)>=0}}var toplevel=this.options["toplevel"];if(typeof toplevel=="string"){this.toplevel.funcs=/funcs/.test(toplevel);this.toplevel.vars=/vars/.test(toplevel)}else{this.toplevel=toplevel?return_true:return_false;this.toplevel.funcs=this.toplevel.vars=toplevel}var sequences=this.options["sequences"];this.sequences_limit=sequences==1?800:sequences|0;this.warnings_produced={}}Compressor.prototype=new TreeTransformer;merge(Compressor.prototype,{option:function(key){return this.options[key]},toplevel:function(def){for(var i=0,len=def.orig.length;i<len;i++)if(!this.toplevel[def.orig[i]instanceof AST_SymbolDefun?"funcs":"vars"])return false;return true},compress:function(node){if(this.option("expression")){node.process_expression(true)}var passes=+this.options.passes||1;for(var pass=0;pass<passes&&pass<3;++pass){if(pass>0||this.option("reduce_vars"))node.reset_opt_flags(this,true);node=node.transform(this)}if(this.option("expression")){node.process_expression(false)}return node},info:function(){if(this.options.warnings=="verbose"){AST_Node.warn.apply(AST_Node,arguments)}},warn:function(text,props){if(this.options.warnings){var message=string_template(text,props);if(!(message in this.warnings_produced)){this.warnings_produced[message]=true;AST_Node.warn.apply(AST_Node,arguments)}}},clear_warnings:function(){this.warnings_produced={}},before:function(node,descend,in_list){if(node._squeezed)return node;var was_scope=false;if(node instanceof AST_Scope){node=node.hoist_declarations(this);was_scope=true}descend(node,this);descend(node,this);var opt=node.optimize(this);if(was_scope&&opt instanceof AST_Scope){opt.drop_unused(this);descend(opt,this)}if(opt===node)opt._squeezed=true;return opt}});(function(){function OPT(node,optimizer){node.DEFMETHOD("optimize",function(compressor){var self=this;if(self._optimized)return self;if(compressor.has_directive("use asm"))return self;var opt=optimizer(self,compressor);opt._optimized=true;return opt})}OPT(AST_Node,function(self,compressor){return self});AST_Node.DEFMETHOD("equivalent_to",function(node){return this.TYPE==node.TYPE&&this.print_to_string()==node.print_to_string()});AST_Scope.DEFMETHOD("process_expression",function(insert,compressor){var self=this;var tt=new TreeTransformer(function(node){if(insert&&node instanceof AST_SimpleStatement){return make_node(AST_Return,node,{value:node.body})}if(!insert&&node instanceof AST_Return){if(compressor){var value=node.value&&node.value.drop_side_effect_free(compressor,true);return value?make_node(AST_SimpleStatement,node,{body:value}):make_node(AST_EmptyStatement,node)}return make_node(AST_SimpleStatement,node,{body:node.value||make_node(AST_UnaryPrefix,node,{operator:"void",expression:make_node(AST_Number,node,{value:0})})})}if(node instanceof AST_Lambda&&node!==self){return node}if(node instanceof AST_Block){var index=node.body.length-1;if(index>=0){node.body[index]=node.body[index].transform(tt)}}if(node instanceof AST_If){node.body=node.body.transform(tt);if(node.alternative){node.alternative=node.alternative.transform(tt)}}if(node instanceof AST_With){node.body=node.body.transform(tt)}return node});self.transform(tt)});AST_Node.DEFMETHOD("reset_opt_flags",function(compressor,rescan){var reduce_vars=rescan&&compressor.option("reduce_vars");var safe_ids=Object.create(null);var suppressor=new TreeWalker(function(node){if(node instanceof AST_Symbol){var d=node.definition();if(node instanceof AST_SymbolRef)d.references.push(node);d.fixed=false}});var tw=new TreeWalker(function(node,descend){node._squeezed=false;node._optimized=false;if(reduce_vars){if(node instanceof AST_Toplevel)node.globals.each(reset_def);if(node instanceof AST_Scope)node.variables.each(reset_def);if(node instanceof AST_SymbolRef){var d=node.definition();d.references.push(node);if(d.fixed===undefined||!safe_to_read(d)||is_modified(node,0,is_immutable(node.fixed_value()))){d.fixed=false}else{var parent=tw.parent();if(parent instanceof AST_Assign&&parent.operator=="="&&node===parent.right||parent instanceof AST_Call&&node!==parent.expression||parent instanceof AST_Return&&node===parent.value&&node.scope!==d.scope||parent instanceof AST_VarDef&&node===parent.value){d.escaped=true}}}if(node instanceof AST_SymbolCatch){node.definition().fixed=false}if(node instanceof AST_VarDef){var d=node.name.definition();if(d.fixed===undefined||safe_to_assign(d,node.value)){if(node.value){d.fixed=function(){return node.value};mark(d,false);descend()}else{d.fixed=null}mark(d,true);return true}else if(node.value){d.fixed=false}}if(node instanceof AST_Assign&&node.operator=="="&&node.left instanceof AST_SymbolRef){var d=node.left.definition();if(safe_to_assign(d,node.right)){d.references.push(node.left);d.fixed=function(){return node.right};mark(d,false);node.right.walk(tw);mark(d,true);return true}}if(node instanceof AST_Defun){var d=node.name.definition();if(d.global&&!compressor.toplevel(d)||safe_to_read(d)){d.fixed=false}else{d.fixed=node;mark(d,true)}var save_ids=safe_ids;safe_ids=Object.create(null);descend();safe_ids=save_ids;return true}if(node instanceof AST_Function){push();var iife;if(!node.name&&(iife=tw.parent())instanceof AST_Call&&iife.expression===node){node.argnames.forEach(function(arg,i){var d=arg.definition();if(!node.uses_arguments&&d.fixed===undefined){d.fixed=function(){return iife.args[i]||make_node(AST_Undefined,iife)};mark(d,true)}else{d.fixed=false}})}descend();pop();return true}if(node instanceof AST_Accessor){var save_ids=safe_ids;safe_ids=Object.create(null);descend();safe_ids=save_ids;return true}if(node instanceof AST_Binary&&(node.operator=="&&"||node.operator=="||")){node.left.walk(tw);push();node.right.walk(tw);pop();return true}if(node instanceof AST_Conditional){node.condition.walk(tw);push();node.consequent.walk(tw);pop();push();node.alternative.walk(tw);pop();return true}if(node instanceof AST_If){node.condition.walk(tw);push();node.body.walk(tw);pop();if(node.alternative){push();node.alternative.walk(tw);pop()}return true}if(node instanceof AST_DWLoop){push();node.condition.walk(tw);node.body.walk(tw);pop();return true}if(node instanceof AST_LabeledStatement){push();node.body.walk(tw);pop();return true}if(node instanceof AST_For){if(node.init)node.init.walk(tw);if(node.condition){push();node.condition.walk(tw);pop()}push();node.body.walk(tw);pop();if(node.step){push();node.step.walk(tw);pop()}return true}if(node instanceof AST_ForIn){node.init.walk(suppressor);node.object.walk(tw);push();node.body.walk(tw);pop();return true}if(node instanceof AST_Try){push();walk_body(node,tw);pop();if(node.bcatch){push();node.bcatch.walk(tw);pop()}if(node.bfinally)node.bfinally.walk(tw);return true}if(node instanceof AST_SwitchBranch){push();descend();pop();return true}}});this.walk(tw);function mark(def,safe){safe_ids[def.id]=safe}function safe_to_read(def){if(safe_ids[def.id]){if(def.fixed==null){var orig=def.orig[0];if(orig instanceof AST_SymbolFunarg||orig.name=="arguments")return false;def.fixed=make_node(AST_Undefined,orig)}return true}}function safe_to_assign(def,value){if(!HOP(safe_ids,def.id))return false;if(!safe_to_read(def))return false;if(def.fixed===false)return false;if(def.fixed!=null&&(!value||def.references.length>0))return false;return!def.orig.some(function(sym){return sym instanceof AST_SymbolDefun||sym instanceof AST_SymbolLambda})}function push(){safe_ids=Object.create(safe_ids)}function pop(){safe_ids=Object.getPrototypeOf(safe_ids)}function reset_def(def){def.escaped=false;if(def.scope.uses_eval){def.fixed=false}else if(!def.global||compressor.toplevel(def)){def.fixed=undefined}else{def.fixed=false}def.references=[];def.should_replace=undefined}function is_immutable(value){return value&&value.is_constant()||value instanceof AST_Lambda}function is_modified(node,level,immutable){var parent=tw.parent(level);if(is_lhs(node,parent)||!immutable&&parent instanceof AST_Call&&parent.expression===node){return true}else if(parent instanceof AST_PropAccess&&parent.expression===node){return!immutable&&is_modified(parent,level+1)}}});AST_SymbolRef.DEFMETHOD("fixed_value",function(){var fixed=this.definition().fixed;if(!fixed||fixed instanceof AST_Node)return fixed;return fixed()});function is_lhs_read_only(lhs){return lhs instanceof AST_SymbolRef&&lhs.definition().orig[0]instanceof AST_SymbolLambda}function find_variable(compressor,name){var scope,i=0;while(scope=compressor.parent(i++)){if(scope instanceof AST_Scope)break;if(scope instanceof AST_Catch){scope=scope.argname.definition().scope;break}}return scope.find_variable(name)}function make_node(ctor,orig,props){if(!props)props={};if(orig){if(!props.start)props.start=orig.start;if(!props.end)props.end=orig.end}return new ctor(props)}function make_sequence(orig,expressions){if(expressions.length==1)return expressions[0];return make_node(AST_Sequence,orig,{expressions:expressions})}function make_node_from_constant(val,orig){switch(typeof val){case"string":return make_node(AST_String,orig,{value:val});case"number":if(isNaN(val))return make_node(AST_NaN,orig);if(isFinite(val)){return 1/val<0?make_node(AST_UnaryPrefix,orig,{operator:"-",expression:make_node(AST_Number,orig,{value:-val})}):make_node(AST_Number,orig,{value:val})}return val<0?make_node(AST_UnaryPrefix,orig,{operator:"-",expression:make_node(AST_Infinity,orig)}):make_node(AST_Infinity,orig);case"boolean":return make_node(val?AST_True:AST_False,orig);case"undefined":return make_node(AST_Undefined,orig);default:if(val===null){return make_node(AST_Null,orig,{value:null})}if(val instanceof RegExp){return make_node(AST_RegExp,orig,{value:val})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof val}))}}function maintain_this_binding(parent,orig,val){if(parent instanceof AST_UnaryPrefix&&parent.operator=="delete"||parent instanceof AST_Call&&parent.expression===orig&&(val instanceof AST_PropAccess||val instanceof AST_SymbolRef&&val.name=="eval")){return make_sequence(orig,[make_node(AST_Number,orig,{value:0}),val])}return val}function merge_sequence(array,node){if(node instanceof AST_Sequence){array.push.apply(array,node.expressions)}else{array.push(node)}}function as_statement_array(thing){if(thing===null)return[];if(thing instanceof AST_BlockStatement)return thing.body;if(thing instanceof AST_EmptyStatement)return[];if(thing instanceof AST_Statement)return[thing];throw new Error("Can't convert thing to statement array")}function is_empty(thing){if(thing===null)return true;if(thing instanceof AST_EmptyStatement)return true;if(thing instanceof AST_BlockStatement)return thing.body.length==0;return false}function loop_body(x){if(x instanceof AST_Switch)return x;if(x instanceof AST_For||x instanceof AST_ForIn||x instanceof AST_DWLoop){return x.body instanceof AST_BlockStatement?x.body:x}return x}function is_iife_call(node){if(node instanceof AST_Call&&!(node instanceof AST_New)){return node.expression instanceof AST_Function||is_iife_call(node.expression)}return false}function tighten_body(statements,compressor){var CHANGED,max_iter=10;do{CHANGED=false;statements=eliminate_spurious_blocks(statements);if(compressor.option("dead_code")){statements=eliminate_dead_code(statements,compressor)}if(compressor.option("if_return")){statements=handle_if_return(statements,compressor)}if(compressor.sequences_limit>0){statements=sequencesize(statements,compressor)}if(compressor.option("join_vars")){statements=join_consecutive_vars(statements,compressor)}if(compressor.option("collapse_vars")){statements=collapse(statements,compressor)}}while(CHANGED&&max_iter-- >0);return statements;function collapse(statements,compressor){var scope=compressor.find_parent(AST_Scope);if(scope.uses_eval||scope.uses_with)return statements;var candidates=[];var stat_index=statements.length;while(--stat_index>=0){extract_candidates(statements[stat_index]);while(candidates.length>0){var candidate=candidates.pop();var lhs=get_lhs(candidate);if(!lhs||is_lhs_read_only(lhs))continue;var lvalues=get_lvalues(candidate);if(lhs instanceof AST_SymbolRef)lvalues[lhs.name]=false;var side_effects=value_has_side_effects(candidate);var hit=false,abort=false,replaced=false;var tt=new TreeTransformer(function(node,descend){if(abort)return node;if(!hit){if(node===candidate){hit=true;return node}return}var parent=tt.parent();if(node instanceof AST_Assign&&node.operator!="="&&lhs.equivalent_to(node.left)||node instanceof AST_Debugger||node instanceof AST_IterationStatement&&!(node instanceof AST_For)||node instanceof AST_SymbolRef&&node.undeclared()||node instanceof AST_Try||node instanceof AST_With||parent instanceof AST_For&&node!==parent.init){abort=true;return node}if(!(node instanceof AST_SymbolDeclaration)&&!is_lhs(node,parent)&&lhs.equivalent_to(node)){CHANGED=replaced=abort=true;compressor.info("Collapsing {name} [{file}:{line},{col}]",{name:node.print_to_string(),file:node.start.file,line:node.start.line,col:node.start.col});if(candidate instanceof AST_UnaryPostfix){return make_node(AST_UnaryPrefix,candidate,candidate)}if(candidate instanceof AST_VarDef){var def=candidate.name.definition();if(def.references.length==1&&(!def.global||compressor.toplevel(def))){return maintain_this_binding(parent,node,candidate.value)}return make_node(AST_Assign,candidate,{operator:"=",left:make_node(AST_SymbolRef,candidate.name,candidate.name),right:candidate.value})}return candidate}var sym;if(node instanceof AST_Call||node instanceof AST_Exit||node instanceof AST_PropAccess||node instanceof AST_SymbolRef&&(lvalues[node.name]||side_effects&&!references_in_scope(node.definition()))||(sym=lhs_or_def(node))&&get_symbol(sym).name in lvalues||parent instanceof AST_Binary&&(parent.operator=="&&"||parent.operator=="||")||parent instanceof AST_Case||parent instanceof AST_Conditional||parent instanceof AST_For||parent instanceof AST_If){if(!(node instanceof AST_Scope))descend(node,tt);abort=true;return node}if(node instanceof AST_Default||node instanceof AST_Scope)return node});for(var i=stat_index;!abort&&i<statements.length;i++){statements[i].transform(tt)}if(replaced&&!remove_candidate(candidate))statements.splice(stat_index,1)}}return statements;function extract_candidates(expr){if(expr instanceof AST_Assign&&!expr.left.has_side_effects(compressor)||expr instanceof AST_Unary&&(expr.operator=="++"||expr.operator=="--")){candidates.push(expr)}else if(expr instanceof AST_Sequence){expr.expressions.forEach(extract_candidates)}else if(expr instanceof AST_Definitions){expr.definitions.forEach(function(var_def){if(var_def.value)candidates.push(var_def)})}else if(expr instanceof AST_SimpleStatement){extract_candidates(expr.body)}else if(expr instanceof AST_For&&expr.init){extract_candidates(expr.init)}}function get_lhs(expr){if(expr instanceof AST_VarDef){var def=expr.name.definition();if(def.orig.length>1||def.references.length==1&&(!def.global||compressor.toplevel(def))){return make_node(AST_SymbolRef,expr.name,expr.name)}}else{return expr[expr instanceof AST_Assign?"left":"expression"]}}function get_symbol(node){while(node instanceof AST_PropAccess)node=node.expression;return node}function get_lvalues(expr){var lvalues=Object.create(null);if(expr instanceof AST_Unary)return lvalues;var scope;var tw=new TreeWalker(function(node,descend){if(node instanceof AST_Scope){var save_scope=scope;descend();scope=save_scope;return true}if(node instanceof AST_SymbolRef||node instanceof AST_PropAccess){var sym=get_symbol(node);if(sym instanceof AST_SymbolRef){lvalues[sym.name]=lvalues[sym.name]||is_lhs(node,tw.parent())}}});expr[expr instanceof AST_Assign?"right":"value"].walk(tw);return lvalues}function lhs_or_def(node){if(node instanceof AST_VarDef)return node.value&&node.name;return is_lhs(node.left,node)}function remove_candidate(expr){var found=false;return statements[stat_index].transform(new TreeTransformer(function(node,descend,in_list){if(found)return node;if(node===expr){found=true;if(node instanceof AST_VarDef){remove(node.name.definition().orig,node.name)}return in_list?MAP.skip:null}},function(node){if(node instanceof AST_Sequence)switch(node.expressions.length){case 0:return null;case 1:return node.expressions[0]}if(node instanceof AST_Definitions&&node.definitions.length==0||node instanceof AST_SimpleStatement&&!node.body){return null}}))}function value_has_side_effects(expr){if(expr instanceof AST_Unary)return false;return expr[expr instanceof AST_Assign?"right":"value"].has_side_effects(compressor)}function references_in_scope(def){if(def.orig.length==1&&def.orig[0]instanceof AST_SymbolDefun)return true;if(def.scope!==scope)return false;return def.references.every(function(ref){return ref.scope===scope})}}function eliminate_spurious_blocks(statements){var seen_dirs=[];return statements.reduce(function(a,stat){if(stat instanceof AST_BlockStatement){CHANGED=true;a.push.apply(a,eliminate_spurious_blocks(stat.body))}else if(stat instanceof AST_EmptyStatement){CHANGED=true}else if(stat instanceof AST_Directive){if(seen_dirs.indexOf(stat.value)<0){a.push(stat);seen_dirs.push(stat.value)}else{CHANGED=true}}else{a.push(stat)}return a},[])}function handle_if_return(statements,compressor){var self=compressor.self();var multiple_if_returns=has_multiple_if_returns(statements);var in_lambda=self instanceof AST_Lambda;var ret=[];loop:for(var i=statements.length;--i>=0;){var stat=statements[i];switch(true){case in_lambda&&stat instanceof AST_Return&&!stat.value&&ret.length==0:CHANGED=true;continue loop;case stat instanceof AST_If:if(stat.body instanceof AST_Return){if((in_lambda&&ret.length==0||ret[0]instanceof AST_Return&&!ret[0].value)&&!stat.body.value&&!stat.alternative){CHANGED=true;var cond=make_node(AST_SimpleStatement,stat.condition,{body:stat.condition});ret.unshift(cond);continue loop}if(ret[0]instanceof AST_Return&&stat.body.value&&ret[0].value&&!stat.alternative){CHANGED=true;stat=stat.clone();stat.alternative=ret[0];ret[0]=stat.transform(compressor);continue loop}if(multiple_if_returns&&(ret.length==0||ret[0]instanceof AST_Return)&&stat.body.value&&!stat.alternative&&in_lambda){CHANGED=true;stat=stat.clone();stat.alternative=ret[0]||make_node(AST_Return,stat,{value:null});ret[0]=stat.transform(compressor);continue loop}if(!stat.body.value&&in_lambda){CHANGED=true;stat=stat.clone();stat.condition=stat.condition.negate(compressor);var body=as_statement_array(stat.alternative).concat(ret);var funs=extract_functions_from_statement_array(body);stat.body=make_node(AST_BlockStatement,stat,{body:body});stat.alternative=null;ret=funs.concat([stat.transform(compressor)]);continue loop}if(compressor.option("sequences")&&i>0&&statements[i-1]instanceof AST_If&&statements[i-1].body instanceof AST_Return&&ret.length==1&&in_lambda&&ret[0]instanceof AST_SimpleStatement&&!stat.alternative){CHANGED=true;ret.push(make_node(AST_Return,ret[0],{value:null}).transform(compressor));ret.unshift(stat);continue loop}}var ab=aborts(stat.body);var lct=ab instanceof AST_LoopControl?compressor.loopcontrol_target(ab):null;if(ab&&(ab instanceof AST_Return&&!ab.value&&in_lambda||ab instanceof AST_Continue&&self===loop_body(lct)||ab instanceof AST_Break&&lct instanceof AST_BlockStatement&&self===lct)){if(ab.label){remove(ab.label.thedef.references,ab)}CHANGED=true;var body=as_statement_array(stat.body).slice(0,-1);stat=stat.clone();stat.condition=stat.condition.negate(compressor);stat.body=make_node(AST_BlockStatement,stat,{body:as_statement_array(stat.alternative).concat(ret)});stat.alternative=make_node(AST_BlockStatement,stat,{body:body});ret=[stat.transform(compressor)];continue loop}var ab=aborts(stat.alternative);var lct=ab instanceof AST_LoopControl?compressor.loopcontrol_target(ab):null;if(ab&&(ab instanceof AST_Return&&!ab.value&&in_lambda||ab instanceof AST_Continue&&self===loop_body(lct)||ab instanceof AST_Break&&lct instanceof AST_BlockStatement&&self===lct)){if(ab.label){remove(ab.label.thedef.references,ab)}CHANGED=true;stat=stat.clone();stat.body=make_node(AST_BlockStatement,stat.body,{body:as_statement_array(stat.body).concat(ret)});stat.alternative=make_node(AST_BlockStatement,stat.alternative,{body:as_statement_array(stat.alternative).slice(0,-1)});ret=[stat.transform(compressor)];continue loop}ret.unshift(stat);break;default:ret.unshift(stat);break}}return ret;function has_multiple_if_returns(statements){var n=0;for(var i=statements.length;--i>=0;){var stat=statements[i];if(stat instanceof AST_If&&stat.body instanceof AST_Return){if(++n>1)return true}}return false}}function eliminate_dead_code(statements,compressor){var has_quit=false;var orig=statements.length;var self=compressor.self();statements=statements.reduce(function(a,stat){if(has_quit){extract_declarations_from_unreachable_code(compressor,stat,a)}else{if(stat instanceof AST_LoopControl){var lct=compressor.loopcontrol_target(stat);if(stat instanceof AST_Break&&!(lct instanceof AST_IterationStatement)&&loop_body(lct)===self||stat instanceof AST_Continue&&loop_body(lct)===self){if(stat.label){remove(stat.label.thedef.references,stat)}}else{a.push(stat)}}else{a.push(stat)}if(aborts(stat))has_quit=true}return a},[]);CHANGED=statements.length!=orig;return statements}function sequencesize(statements,compressor){if(statements.length<2)return statements;var seq=[],ret=[];function push_seq(){if(!seq.length)return;var body=make_sequence(seq[0],seq);ret.push(make_node(AST_SimpleStatement,body,{body:body}));seq=[]}statements.forEach(function(stat){if(stat instanceof AST_SimpleStatement){if(seq.length>=compressor.sequences_limit)push_seq();var body=stat.body;if(seq.length>0)body=body.drop_side_effect_free(compressor);if(body)merge_sequence(seq,body)}else{push_seq();ret.push(stat)}});push_seq();ret=sequencesize_2(ret,compressor);CHANGED=ret.length!=statements.length;return ret}function sequencesize_2(statements,compressor){function cons_seq(right){ret.pop();var left=prev.body;if(!(left instanceof AST_Sequence)){left=make_node(AST_Sequence,left,{expressions:[left]})}merge_sequence(left.expressions,right);return left.transform(compressor)}var ret=[],prev=null;statements.forEach(function(stat){if(prev){if(stat instanceof AST_For){try{prev.body.walk(new TreeWalker(function(node){if(node instanceof AST_Binary&&node.operator=="in")throw cons_seq}));if(stat.init&&!(stat.init instanceof AST_Definitions)){stat.init=cons_seq(stat.init)}else if(!stat.init){stat.init=prev.body.drop_side_effect_free(compressor);ret.pop()}}catch(ex){if(ex!==cons_seq)throw ex}}else if(stat instanceof AST_If){stat.condition=cons_seq(stat.condition)}else if(stat instanceof AST_With){stat.expression=cons_seq(stat.expression)}else if(stat instanceof AST_Exit&&stat.value){stat.value=cons_seq(stat.value)}else if(stat instanceof AST_Exit){stat.value=cons_seq(make_node(AST_Undefined,stat).transform(compressor))}else if(stat instanceof AST_Switch){stat.expression=cons_seq(stat.expression)}}ret.push(stat);prev=stat instanceof AST_SimpleStatement?stat:null});return ret}function join_consecutive_vars(statements,compressor){var prev=null;return statements.reduce(function(a,stat){if(stat instanceof AST_Definitions&&prev&&prev.TYPE==stat.TYPE){prev.definitions=prev.definitions.concat(stat.definitions);CHANGED=true}else if(stat instanceof AST_For&&prev instanceof AST_Var&&(!stat.init||stat.init.TYPE==prev.TYPE)){CHANGED=true;a.pop();if(stat.init){stat.init.definitions=prev.definitions.concat(stat.init.definitions)}else{stat.init=prev}a.push(stat);prev=stat}else{prev=stat;a.push(stat)}return a},[])}}function extract_functions_from_statement_array(statements){var funs=[];for(var i=statements.length-1;i>=0;--i){var stat=statements[i];if(stat instanceof AST_Defun){statements.splice(i,1);funs.unshift(stat)}}return funs}function extract_declarations_from_unreachable_code(compressor,stat,target){if(!(stat instanceof AST_Defun)){compressor.warn("Dropping unreachable code [{file}:{line},{col}]",stat.start)}stat.walk(new TreeWalker(function(node){if(node instanceof AST_Definitions){compressor.warn("Declarations in unreachable code! [{file}:{line},{col}]",node.start);node.remove_initializers();target.push(node);return true}if(node instanceof AST_Defun){target.push(node);return true}if(node instanceof AST_Scope){return true}}))}function is_undefined(node,compressor){return node.is_undefined||node instanceof AST_Undefined||node instanceof AST_UnaryPrefix&&node.operator=="void"&&!node.expression.has_side_effects(compressor)}(function(def){AST_Node.DEFMETHOD("may_throw_on_access",function(compressor){var pure_getters=compressor.option("pure_getters");return!pure_getters||this._throw_on_access(pure_getters)});function is_strict(pure_getters){return/strict/.test(pure_getters)}def(AST_Node,is_strict);def(AST_Null,return_true);def(AST_Undefined,return_true);def(AST_Constant,return_false);def(AST_Array,return_false);def(AST_Object,function(pure_getters){if(!is_strict(pure_getters))return false;for(var i=this.properties.length;--i>=0;)if(this.properties[i].value instanceof AST_Accessor)return true;return false});def(AST_Function,return_false);def(AST_UnaryPostfix,return_false);def(AST_UnaryPrefix,function(){return this.operator=="void"});def(AST_Binary,function(pure_getters){switch(this.operator){case"&&":return this.left._throw_on_access(pure_getters);case"||":return this.left._throw_on_access(pure_getters)&&this.right._throw_on_access(pure_getters);default:return false}});def(AST_Assign,function(pure_getters){return this.operator=="="&&this.right._throw_on_access(pure_getters)});def(AST_Conditional,function(pure_getters){return this.consequent._throw_on_access(pure_getters)||this.alternative._throw_on_access(pure_getters)});def(AST_Sequence,function(pure_getters){return this.expressions[this.expressions.length-1]._throw_on_access(pure_getters)});def(AST_SymbolRef,function(pure_getters){if(this.is_undefined)return true;if(!is_strict(pure_getters))return false;var fixed=this.fixed_value();return!fixed||fixed._throw_on_access(pure_getters)})})(function(node,func){node.DEFMETHOD("_throw_on_access",func)});(function(def){var unary_bool=["!","delete"];var binary_bool=["in","instanceof","==","!=","===","!==","<","<=",">=",">"];def(AST_Node,return_false);def(AST_UnaryPrefix,function(){return member(this.operator,unary_bool)});def(AST_Binary,function(){return member(this.operator,binary_bool)||(this.operator=="&&"||this.operator=="||")&&this.left.is_boolean()&&this.right.is_boolean()});def(AST_Conditional,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()});def(AST_Assign,function(){return this.operator=="="&&this.right.is_boolean()});def(AST_Sequence,function(){return this.expressions[this.expressions.length-1].is_boolean()});def(AST_True,return_true);def(AST_False,return_true)})(function(node,func){node.DEFMETHOD("is_boolean",func)});(function(def){def(AST_Node,return_false);def(AST_Number,return_true);var unary=makePredicate("+ - ~ ++ --");def(AST_Unary,function(){return unary(this.operator)});var binary=makePredicate("- * / % & | ^ << >> >>>");def(AST_Binary,function(compressor){return binary(this.operator)||this.operator=="+"&&this.left.is_number(compressor)&&this.right.is_number(compressor)});def(AST_Assign,function(compressor){return binary(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(compressor)});def(AST_Sequence,function(compressor){return this.expressions[this.expressions.length-1].is_number(compressor)});def(AST_Conditional,function(compressor){return this.consequent.is_number(compressor)&&this.alternative.is_number(compressor)})})(function(node,func){node.DEFMETHOD("is_number",func)});(function(def){def(AST_Node,return_false);def(AST_String,return_true);def(AST_UnaryPrefix,function(){return this.operator=="typeof"});def(AST_Binary,function(compressor){return this.operator=="+"&&(this.left.is_string(compressor)||this.right.is_string(compressor))});def(AST_Assign,function(compressor){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(compressor)});def(AST_Sequence,function(compressor){return this.expressions[this.expressions.length-1].is_string(compressor)});def(AST_Conditional,function(compressor){return this.consequent.is_string(compressor)&&this.alternative.is_string(compressor)})})(function(node,func){node.DEFMETHOD("is_string",func)});var unary_side_effects=makePredicate("delete ++ --");function is_lhs(node,parent){if(parent instanceof AST_Unary&&unary_side_effects(parent.operator))return parent.expression;if(parent instanceof AST_Assign&&parent.left===node)return node}(function(def){AST_Node.DEFMETHOD("resolve_defines",function(compressor){if(!compressor.option("global_defs"))return;var def=this._find_defs(compressor,"");if(def){var node,parent=this,level=0;do{node=parent;parent=compressor.parent(level++)}while(parent instanceof AST_PropAccess&&parent.expression===node);if(is_lhs(node,parent)){compressor.warn("global_defs "+this.print_to_string()+" redefined [{file}:{line},{col}]",this.start)}else{return def}}});function to_node(value,orig){if(value instanceof AST_Node)return make_node(value.CTOR,orig,value);if(Array.isArray(value))return make_node(AST_Array,orig,{elements:value.map(function(value){return to_node(value,orig)})});if(value&&typeof value=="object"){var props=[];for(var key in value){props.push(make_node(AST_ObjectKeyVal,orig,{key:key,value:to_node(value[key],orig)}))}return make_node(AST_Object,orig,{properties:props})}return make_node_from_constant(value,orig)}def(AST_Node,noop);def(AST_Dot,function(compressor,suffix){return this.expression._find_defs(compressor,"."+this.property+suffix)});def(AST_SymbolRef,function(compressor,suffix){if(!this.global())return;var name;var defines=compressor.option("global_defs");if(defines&&HOP(defines,name=this.name+suffix)){var node=to_node(defines[name],this);var top=compressor.find_parent(AST_Toplevel);node.walk(new TreeWalker(function(node){if(node instanceof AST_SymbolRef){node.scope=top;node.thedef=top.def_global(node)}}));return node}})})(function(node,func){node.DEFMETHOD("_find_defs",func)});function best_of_expression(ast1,ast2){return ast1.print_to_string().length>ast2.print_to_string().length?ast2:ast1}function best_of_statement(ast1,ast2){return best_of_expression(make_node(AST_SimpleStatement,ast1,{body:ast1}),make_node(AST_SimpleStatement,ast2,{body:ast2})).body}function best_of(compressor,ast1,ast2){return(first_in_statement(compressor)?best_of_statement:best_of_expression)(ast1,ast2)}(function(def){AST_Node.DEFMETHOD("evaluate",function(compressor){if(!compressor.option("evaluate"))return this;try{var val=this._eval(compressor);return!val||val instanceof RegExp||typeof val!="object"?val:this}catch(ex){if(ex!==def)throw ex;return this}});var unaryPrefix=makePredicate("! ~ - + void");AST_Node.DEFMETHOD("is_constant",function(){if(this instanceof AST_Constant){return!(this instanceof AST_RegExp)}else{return this instanceof AST_UnaryPrefix&&this.expression instanceof AST_Constant&&unaryPrefix(this.operator)}});AST_Node.DEFMETHOD("constant_value",function(compressor){if(this instanceof AST_Constant&&!(this instanceof AST_RegExp)){return this.value}if(this instanceof AST_UnaryPrefix&&this.expression instanceof AST_Constant)switch(this.operator){case"!":return!this.expression.value;case"~":return~this.expression.value;case"-":return-this.expression.value;case"+":return+this.expression.value;default:throw new Error(string_template("Cannot evaluate unary expression {value}",{value:this.print_to_string()}))}var result=this.evaluate(compressor);if(result!==this){return result}throw new Error(string_template("Cannot evaluate constant [{file}:{line},{col}]",this.start))});def(AST_Statement,function(){throw new Error(string_template("Cannot evaluate a statement [{file}:{line},{col}]",this.start))});def(AST_Lambda,function(){throw def});function ev(node,compressor){if(!compressor)throw new Error("Compressor must be passed");return node._eval(compressor)}def(AST_Node,function(){throw def});def(AST_Constant,function(){return this.getValue()});def(AST_Array,function(compressor){if(compressor.option("unsafe")){return this.elements.map(function(element){return ev(element,compressor)})}throw def});def(AST_Object,function(compressor){if(compressor.option("unsafe")){var val={};for(var i=0,len=this.properties.length;i<len;i++){var prop=this.properties[i];var key=prop.key;if(key instanceof AST_Symbol){key=key.name}else if(key instanceof AST_Node){key=ev(key,compressor)}if(typeof Object.prototype[key]==="function"){throw def}val[key]=ev(prop.value,compressor)}return val}throw def});def(AST_UnaryPrefix,function(compressor){var e=this.expression;switch(this.operator){case"!":return!ev(e,compressor);case"typeof":if(e instanceof AST_Function)return typeof function(){};e=ev(e,compressor);if(e instanceof RegExp)throw def;return typeof e;case"void":return void ev(e,compressor);case"~":return~ev(e,compressor);case"-":return-ev(e,compressor);case"+":return+ev(e,compressor)}throw def});def(AST_Binary,function(c){var left=this.left,right=this.right,result;switch(this.operator){case"&&":result=ev(left,c)&&ev(right,c);break;case"||":result=ev(left,c)||ev(right,c);break;case"|":result=ev(left,c)|ev(right,c);break;case"&":result=ev(left,c)&ev(right,c);break;case"^":result=ev(left,c)^ev(right,c);break;case"+":result=ev(left,c)+ev(right,c);break;case"*":result=ev(left,c)*ev(right,c);break;case"/":result=ev(left,c)/ev(right,c);break;case"%":result=ev(left,c)%ev(right,c);break;case"-":result=ev(left,c)-ev(right,c);break;case"<<":result=ev(left,c)<<ev(right,c);break;case">>":result=ev(left,c)>>ev(right,c);break;case">>>":result=ev(left,c)>>>ev(right,c);break;case"==":result=ev(left,c)==ev(right,c);break;case"===":result=ev(left,c)===ev(right,c);break;case"!=":result=ev(left,c)!=ev(right,c);break;case"!==":result=ev(left,c)!==ev(right,c);break;case"<":result=ev(left,c)<ev(right,c);break;case"<=":result=ev(left,c)<=ev(right,c);break;case">":result=ev(left,c)>ev(right,c);break;case">=":result=ev(left,c)>=ev(right,c);break;default:throw def}if(isNaN(result)&&c.find_parent(AST_With)){throw def}return result});def(AST_Conditional,function(compressor){return ev(this.condition,compressor)?ev(this.consequent,compressor):ev(this.alternative,compressor)});def(AST_SymbolRef,function(compressor){if(!compressor.option("reduce_vars")||this._evaluating)throw def;this._evaluating=true;try{var fixed=this.fixed_value();if(!fixed)throw def;var value=ev(fixed,compressor);if(!HOP(fixed,"_eval"))fixed._eval=function(){return value};if(value&&typeof value=="object"&&this.definition().escaped)throw def;return value}finally{this._evaluating=false}});def(AST_PropAccess,function(compressor){if(compressor.option("unsafe")){var key=this.property;if(key instanceof AST_Node){key=ev(key,compressor)}var val=ev(this.expression,compressor);if(val&&HOP(val,key)){return val[key]}}throw def})})(function(node,func){node.DEFMETHOD("_eval",func)});(function(def){function basic_negation(exp){return make_node(AST_UnaryPrefix,exp,{operator:"!",expression:exp})}function best(orig,alt,first_in_statement){var negated=basic_negation(orig);if(first_in_statement){var stat=make_node(AST_SimpleStatement,alt,{body:alt});return best_of_expression(negated,stat)===stat?alt:negated}return best_of_expression(negated,alt)}def(AST_Node,function(){return basic_negation(this)});def(AST_Statement,function(){throw new Error("Cannot negate a statement")});def(AST_Function,function(){return basic_negation(this)});def(AST_UnaryPrefix,function(){if(this.operator=="!")return this.expression;return basic_negation(this)});def(AST_Sequence,function(compressor){var expressions=this.expressions.slice();expressions.push(expressions.pop().negate(compressor));return make_sequence(this,expressions)});def(AST_Conditional,function(compressor,first_in_statement){var self=this.clone();self.consequent=self.consequent.negate(compressor);self.alternative=self.alternative.negate(compressor);return best(this,self,first_in_statement)});def(AST_Binary,function(compressor,first_in_statement){var self=this.clone(),op=this.operator;if(compressor.option("unsafe_comps")){switch(op){case"<=":self.operator=">";return self;case"<":self.operator=">=";return self;case">=":self.operator="<";return self;case">":self.operator="<=";return self}}switch(op){case"==":self.operator="!=";return self;case"!=":self.operator="==";return self;case"===":self.operator="!==";return self;case"!==":self.operator="===";return self;case"&&":self.operator="||";self.left=self.left.negate(compressor,first_in_statement);self.right=self.right.negate(compressor);return best(this,self,first_in_statement);case"||":self.operator="&&";self.left=self.left.negate(compressor,first_in_statement);self.right=self.right.negate(compressor);return best(this,self,first_in_statement)}return basic_negation(this)})})(function(node,func){node.DEFMETHOD("negate",function(compressor,first_in_statement){return func.call(this,compressor,first_in_statement)})});AST_Call.DEFMETHOD("has_pure_annotation",function(compressor){if(!compressor.option("side_effects"))return false;if(this.pure!==undefined)return this.pure;var pure=false;var comments,last_comment;if(this.start&&(comments=this.start.comments_before)&&comments.length&&/[@#]__PURE__/.test((last_comment=comments[comments.length-1]).value)){pure=last_comment}return this.pure=pure});(function(def){def(AST_Node,return_true);def(AST_EmptyStatement,return_false);def(AST_Constant,return_false);def(AST_This,return_false);def(AST_Call,function(compressor){if(!this.has_pure_annotation(compressor)&&compressor.pure_funcs(this))return true;for(var i=this.args.length;--i>=0;){if(this.args[i].has_side_effects(compressor))return true}return false});function any(list,compressor){for(var i=list.length;--i>=0;)if(list[i].has_side_effects(compressor))return true;return false}def(AST_Block,function(compressor){return any(this.body,compressor)});def(AST_Switch,function(compressor){return this.expression.has_side_effects(compressor)||any(this.body,compressor)});def(AST_Case,function(compressor){return this.expression.has_side_effects(compressor)||any(this.body,compressor)});def(AST_Try,function(compressor){return any(this.body,compressor)||this.bcatch&&this.bcatch.has_side_effects(compressor)||this.bfinally&&this.bfinally.has_side_effects(compressor)});def(AST_If,function(compressor){return this.condition.has_side_effects(compressor)||this.body&&this.body.has_side_effects(compressor)||this.alternative&&this.alternative.has_side_effects(compressor)});def(AST_LabeledStatement,function(compressor){return this.body.has_side_effects(compressor)});def(AST_SimpleStatement,function(compressor){return this.body.has_side_effects(compressor)});def(AST_Defun,return_true);def(AST_Function,return_false);def(AST_Binary,function(compressor){return this.left.has_side_effects(compressor)||this.right.has_side_effects(compressor)});def(AST_Assign,return_true);def(AST_Conditional,function(compressor){return this.condition.has_side_effects(compressor)||this.consequent.has_side_effects(compressor)||this.alternative.has_side_effects(compressor)});def(AST_Unary,function(compressor){return unary_side_effects(this.operator)||this.expression.has_side_effects(compressor)});def(AST_SymbolRef,function(compressor){return this.undeclared()});def(AST_SymbolDeclaration,return_false);def(AST_Object,function(compressor){return any(this.properties,compressor)});def(AST_ObjectProperty,function(compressor){return this.value.has_side_effects(compressor)});def(AST_Array,function(compressor){return any(this.elements,compressor)});def(AST_Dot,function(compressor){return this.expression.may_throw_on_access(compressor)||this.expression.has_side_effects(compressor)});def(AST_Sub,function(compressor){return this.expression.may_throw_on_access(compressor)||this.expression.has_side_effects(compressor)||this.property.has_side_effects(compressor)});def(AST_Sequence,function(compressor){return this.expressions.some(function(expression,index){return expression.has_side_effects(compressor)})})})(function(node,func){node.DEFMETHOD("has_side_effects",func)});(function(def){function all(list){for(var i=list.length;--i>=0;)if(!list[i].is_constant_expression())return false;return true}def(AST_Node,return_false);def(AST_Constant,return_true);def(AST_Unary,function(){return this.expression.is_constant_expression()});def(AST_Binary,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()});def(AST_Array,function(){return all(this.elements)});def(AST_Object,function(){return all(this.properties)});def(AST_ObjectProperty,function(){return this.value.is_constant_expression()})})(function(node,func){node.DEFMETHOD("is_constant_expression",func)});function aborts(thing){return thing&&thing.aborts()}(function(def){def(AST_Statement,return_null);def(AST_Jump,return_this);function block_aborts(){var n=this.body.length;return n>0&&aborts(this.body[n-1])}def(AST_BlockStatement,block_aborts);def(AST_SwitchBranch,block_aborts);def(AST_If,function(){return this.alternative&&aborts(this.body)&&aborts(this.alternative)&&this})})(function(node,func){node.DEFMETHOD("aborts",func)});OPT(AST_Directive,function(self,compressor){if(compressor.has_directive(self.value)!==self){return make_node(AST_EmptyStatement,self)}return self});OPT(AST_Debugger,function(self,compressor){if(compressor.option("drop_debugger"))return make_node(AST_EmptyStatement,self);return self});OPT(AST_LabeledStatement,function(self,compressor){if(self.body instanceof AST_Break&&compressor.loopcontrol_target(self.body)===self.body){return make_node(AST_EmptyStatement,self)}return self.label.references.length==0?self.body:self});OPT(AST_Block,function(self,compressor){self.body=tighten_body(self.body,compressor);return self});OPT(AST_BlockStatement,function(self,compressor){self.body=tighten_body(self.body,compressor);switch(self.body.length){case 1:return self.body[0];case 0:return make_node(AST_EmptyStatement,self)}return self});AST_Scope.DEFMETHOD("drop_unused",function(compressor){if(!compressor.option("unused"))return;if(compressor.has_directive("use asm"))return;var self=this;if(self.uses_eval||self.uses_with)return;var drop_funcs=!(self instanceof AST_Toplevel)||compressor.toplevel.funcs;var drop_vars=!(self instanceof AST_Toplevel)||compressor.toplevel.vars;if(!drop_funcs&&!drop_vars)return;var assign_as_unused=!/keep_assign/.test(compressor.option("unused"));var in_use=[];var in_use_ids=Object.create(null);if(self instanceof AST_Toplevel&&compressor.top_retain){self.variables.each(function(def){if(compressor.top_retain(def)&&!(def.id in in_use_ids)){in_use_ids[def.id]=true;in_use.push(def)}})}var var_defs_by_id=new Dictionary;var initializations=new Dictionary;var scope=this;var tw=new TreeWalker(function(node,descend){if(node!==self){if(node instanceof AST_Defun){if(!drop_funcs&&scope===self){var node_def=node.name.definition();if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}}initializations.add(node.name.name,node);return true}if(node instanceof AST_Definitions&&scope===self){node.definitions.forEach(function(def){var node_def=def.name.definition();if(def.name instanceof AST_SymbolVar){var_defs_by_id.add(node_def.id,def)}if(!drop_vars){if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}}if(def.value){initializations.add(def.name.name,def.value);if(def.value.has_side_effects(compressor)){def.value.walk(tw)}}});return true}if(assign_as_unused&&node instanceof AST_Assign&&node.operator=="="&&node.left instanceof AST_SymbolRef&&scope===self){node.right.walk(tw);return true}if(node instanceof AST_SymbolRef){var node_def=node.definition();if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}return true}if(node instanceof AST_Scope){var save_scope=scope;scope=node;descend();scope=save_scope;return true}}});self.walk(tw);for(var i=0;i<in_use.length;++i){in_use[i].orig.forEach(function(decl){var init=initializations.get(decl.name);if(init)init.forEach(function(init){var tw=new TreeWalker(function(node){if(node instanceof AST_SymbolRef){var node_def=node.definition();if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}}});init.walk(tw)})})}var tt=new TreeTransformer(function before(node,descend,in_list){if(node instanceof AST_Function&&node.name&&!compressor.option("keep_fnames")){var def=node.name.definition();if(!(def.id in in_use_ids)||def.orig.length>1)node.name=null}if(node instanceof AST_Lambda&&!(node instanceof AST_Accessor)){var trim=!compressor.option("keep_fargs");for(var a=node.argnames,i=a.length;--i>=0;){var sym=a[i];if(!(sym.definition().id in in_use_ids)){sym.__unused=true;if(trim){a.pop();compressor[sym.unreferenced()?"warn":"info"]("Dropping unused function argument {name} [{file}:{line},{col}]",template(sym))}}else{trim=false}}}if(drop_funcs&&node instanceof AST_Defun&&node!==self){if(!(node.name.definition().id in in_use_ids)){compressor[node.name.unreferenced()?"warn":"info"]("Dropping unused function {name} [{file}:{line},{col}]",template(node.name));return make_node(AST_EmptyStatement,node)}return node}if(drop_vars&&node instanceof AST_Definitions&&!(tt.parent()instanceof AST_ForIn&&tt.parent().init===node)){var body=[],head=[],tail=[];var side_effects=[];node.definitions.forEach(function(def){if(def.value)def.value=def.value.transform(tt);var sym=def.name.definition();if(sym.id in in_use_ids){if(def.name instanceof AST_SymbolVar){var var_defs=var_defs_by_id.get(sym.id);if(var_defs.length>1&&!def.value){compressor.warn("Dropping duplicated definition of variable {name} [{file}:{line},{col}]",template(def.name));remove(var_defs,def);remove(sym.orig,def.name);return}}if(def.value){if(side_effects.length>0){if(tail.length>0){merge_sequence(side_effects,def.value);def.value=make_sequence(def.value,side_effects)}else{body.push(make_node(AST_SimpleStatement,node,{body:make_sequence(node,side_effects)}))}side_effects=[]}tail.push(def)}else{head.push(def)}}else if(sym.orig[0]instanceof AST_SymbolCatch){var value=def.value&&def.value.drop_side_effect_free(compressor);if(value)merge_sequence(side_effects,value);def.value=null;head.push(def)}else{var value=def.value&&def.value.drop_side_effect_free(compressor);if(value){compressor.warn("Side effects in initialization of unused variable {name} [{file}:{line},{col}]",template(def.name));merge_sequence(side_effects,value)}else{compressor[def.name.unreferenced()?"warn":"info"]("Dropping unused variable {name} [{file}:{line},{col}]",template(def.name))}remove(sym.orig,def.name)}});if(head.length==0&&tail.length==1&&tail[0].name instanceof AST_SymbolVar){var var_defs=var_defs_by_id.get(tail[0].name.definition().id);if(var_defs.length>1){var def=tail.pop();compressor.warn("Converting duplicated definition of variable {name} to assignment [{file}:{line},{col}]",template(def.name));remove(var_defs,def);remove(def.name.definition().orig,def.name);side_effects.unshift(make_node(AST_Assign,def,{operator:"=",left:make_node(AST_SymbolRef,def.name,def.name),right:def.value}))}}if(head.length>0||tail.length>0){node.definitions=head.concat(tail);body.push(node)}if(side_effects.length>0){body.push(make_node(AST_SimpleStatement,node,{body:make_sequence(node,side_effects)}))}switch(body.length){case 0:return in_list?MAP.skip:make_node(AST_EmptyStatement,node);case 1:return body[0];default:return in_list?MAP.splice(body):make_node(AST_BlockStatement,node,{body:body})}}if(drop_vars&&assign_as_unused&&node instanceof AST_Assign&&node.operator=="="&&node.left instanceof AST_SymbolRef){var def=node.left.definition();if(!(def.id in in_use_ids)&&self.variables.get(def.name)===def){return maintain_this_binding(tt.parent(),node,node.right.transform(tt))}}if(node instanceof AST_For){descend(node,this);if(node.init instanceof AST_BlockStatement){var block=node.init;node.init=block.body.pop();block.body.push(node);return in_list?MAP.splice(block.body):block}else if(node.init instanceof AST_SimpleStatement){node.init=node.init.body}else if(is_empty(node.init)){node.init=null}return node}if(node instanceof AST_LabeledStatement&&node.body instanceof AST_For){descend(node,this);if(node.body instanceof AST_BlockStatement){var block=node.body;node.body=block.body.pop();block.body.push(node);return in_list?MAP.splice(block.body):block}return node}if(node instanceof AST_Scope&&node!==self)return node;function template(sym){return{name:sym.name,file:sym.start.file,line:sym.start.line,col:sym.start.col}}});self.transform(tt)});AST_Scope.DEFMETHOD("hoist_declarations",function(compressor){var self=this;if(compressor.has_directive("use asm"))return self;var hoist_funs=compressor.option("hoist_funs");var hoist_vars=compressor.option("hoist_vars");if(hoist_funs||hoist_vars){var dirs=[];var hoisted=[];var vars=new Dictionary,vars_found=0,var_decl=0;self.walk(new TreeWalker(function(node){if(node instanceof AST_Scope&&node!==self)return true;if(node instanceof AST_Var){++var_decl;return true}}));hoist_vars=hoist_vars&&var_decl>1;var tt=new TreeTransformer(function before(node){if(node!==self){if(node instanceof AST_Directive){dirs.push(node);return make_node(AST_EmptyStatement,node)}if(node instanceof AST_Defun&&hoist_funs){hoisted.push(node);return make_node(AST_EmptyStatement,node)}if(node instanceof AST_Var&&hoist_vars){node.definitions.forEach(function(def){vars.set(def.name.name,def);++vars_found});var seq=node.to_assignments(compressor);var p=tt.parent();if(p instanceof AST_ForIn&&p.init===node){if(seq==null){var def=node.definitions[0].name;return make_node(AST_SymbolRef,def,def)}return seq}if(p instanceof AST_For&&p.init===node){return seq}if(!seq)return make_node(AST_EmptyStatement,node);return make_node(AST_SimpleStatement,node,{body:seq})}if(node instanceof AST_Scope)return node}});self=self.transform(tt);if(vars_found>0){var defs=[];vars.each(function(def,name){if(self instanceof AST_Lambda&&find_if(function(x){return x.name==def.name.name},self.argnames)){vars.del(name)}else{def=def.clone();def.value=null;defs.push(def);vars.set(name,def)}});if(defs.length>0){for(var i=0;i<self.body.length;){if(self.body[i]instanceof AST_SimpleStatement){var expr=self.body[i].body,sym,assign;if(expr instanceof AST_Assign&&expr.operator=="="&&(sym=expr.left)instanceof AST_Symbol&&vars.has(sym.name)){var def=vars.get(sym.name);if(def.value)break;def.value=expr.right;remove(defs,def);defs.push(def);self.body.splice(i,1);continue}if(expr instanceof AST_Sequence&&(assign=expr.expressions[0])instanceof AST_Assign&&assign.operator=="="&&(sym=assign.left)instanceof AST_Symbol&&vars.has(sym.name)){var def=vars.get(sym.name);if(def.value)break;def.value=assign.right;remove(defs,def);defs.push(def);self.body[i].body=make_sequence(expr,expr.expressions.slice(1));continue}}if(self.body[i]instanceof AST_EmptyStatement){self.body.splice(i,1);continue}if(self.body[i]instanceof AST_BlockStatement){var tmp=[i,1].concat(self.body[i].body);self.body.splice.apply(self.body,tmp);continue}break}defs=make_node(AST_Var,self,{definitions:defs});hoisted.push(defs)}}self.body=dirs.concat(hoisted,self.body)}return self});(function(def){function trim(nodes,compressor,first_in_statement){var len=nodes.length;if(!len)return null;var ret=[],changed=false;for(var i=0;i<len;i++){var node=nodes[i].drop_side_effect_free(compressor,first_in_statement);changed|=node!==nodes[i];if(node){merge_sequence(ret,node);first_in_statement=false}}return changed?ret.length?ret:null:nodes}def(AST_Node,return_this);def(AST_Constant,return_null);def(AST_This,return_null);def(AST_Call,function(compressor,first_in_statement){if(!this.has_pure_annotation(compressor)&&compressor.pure_funcs(this)){if(this.expression instanceof AST_Function&&(!this.expression.name||!this.expression.name.definition().references.length)){var node=this.clone();node.expression.process_expression(false,compressor);return node}return this}if(this.pure){compressor.warn("Dropping __PURE__ call [{file}:{line},{col}]",this.start);this.pure.value=this.pure.value.replace(/[@#]__PURE__/g," ")}var args=trim(this.args,compressor,first_in_statement);return args&&make_sequence(this,args)});def(AST_Accessor,return_null);def(AST_Function,return_null);def(AST_Binary,function(compressor,first_in_statement){var right=this.right.drop_side_effect_free(compressor);if(!right)return this.left.drop_side_effect_free(compressor,first_in_statement);switch(this.operator){case"&&":case"||":if(right===this.right)return this;var node=this.clone();node.right=right;return node;default:var left=this.left.drop_side_effect_free(compressor,first_in_statement);if(!left)return this.right.drop_side_effect_free(compressor,first_in_statement);return make_sequence(this,[left,right])}});def(AST_Assign,return_this);def(AST_Conditional,function(compressor){var consequent=this.consequent.drop_side_effect_free(compressor);var alternative=this.alternative.drop_side_effect_free(compressor);if(consequent===this.consequent&&alternative===this.alternative)return this;if(!consequent)return alternative?make_node(AST_Binary,this,{operator:"||",left:this.condition,right:alternative}):this.condition.drop_side_effect_free(compressor);if(!alternative)return make_node(AST_Binary,this,{operator:"&&",left:this.condition,right:consequent});var node=this.clone();node.consequent=consequent;node.alternative=alternative;return node});def(AST_Unary,function(compressor,first_in_statement){if(unary_side_effects(this.operator))return this;if(this.operator=="typeof"&&this.expression instanceof AST_SymbolRef)return null;var expression=this.expression.drop_side_effect_free(compressor,first_in_statement);if(first_in_statement&&this instanceof AST_UnaryPrefix&&is_iife_call(expression)){if(expression===this.expression&&this.operator.length===1)return this;return make_node(AST_UnaryPrefix,this,{operator:this.operator.length===1?this.operator:"!",expression:expression})}return expression});def(AST_SymbolRef,function(){return this.undeclared()?this:null});def(AST_Object,function(compressor,first_in_statement){var values=trim(this.properties,compressor,first_in_statement);return values&&make_sequence(this,values)});def(AST_ObjectProperty,function(compressor,first_in_statement){return this.value.drop_side_effect_free(compressor,first_in_statement)});def(AST_Array,function(compressor,first_in_statement){var values=trim(this.elements,compressor,first_in_statement);return values&&make_sequence(this,values)});def(AST_Dot,function(compressor,first_in_statement){if(this.expression.may_throw_on_access(compressor))return this;return this.expression.drop_side_effect_free(compressor,first_in_statement)});def(AST_Sub,function(compressor,first_in_statement){if(this.expression.may_throw_on_access(compressor))return this;var expression=this.expression.drop_side_effect_free(compressor,first_in_statement);if(!expression)return this.property.drop_side_effect_free(compressor,first_in_statement);var property=this.property.drop_side_effect_free(compressor);if(!property)return expression;return make_sequence(this,[expression,property])});def(AST_Sequence,function(compressor){var last=this.expressions[this.expressions.length-1];var expr=last.drop_side_effect_free(compressor);if(expr===last)return this;var expressions=this.expressions.slice(0,-1);if(expr)merge_sequence(expressions,expr);return make_sequence(this,expressions)})})(function(node,func){node.DEFMETHOD("drop_side_effect_free",func)});OPT(AST_SimpleStatement,function(self,compressor){if(compressor.option("side_effects")){var body=self.body;var node=body.drop_side_effect_free(compressor,true);if(!node){compressor.warn("Dropping side-effect-free statement [{file}:{line},{col}]",self.start);return make_node(AST_EmptyStatement,self)}if(node!==body){return make_node(AST_SimpleStatement,self,{body:node})}}return self});OPT(AST_DWLoop,function(self,compressor){if(!compressor.option("loops"))return self;var cond=self.condition.evaluate(compressor);if(cond!==self.condition){if(cond){return make_node(AST_For,self,{body:self.body})}if(compressor.option("dead_code")&&self instanceof AST_While){var a=[];extract_declarations_from_unreachable_code(compressor,self.body,a);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}if(self instanceof AST_Do){var has_loop_control=false;var tw=new TreeWalker(function(node){if(node instanceof AST_Scope||has_loop_control)return true;if(node instanceof AST_LoopControl&&tw.loopcontrol_target(node)===self)return has_loop_control=true});var parent=compressor.parent();(parent instanceof AST_LabeledStatement?parent:self).walk(tw);if(!has_loop_control)return self.body}}if(self instanceof AST_While){return make_node(AST_For,self,self).optimize(compressor)}return self});function if_break_in_loop(self,compressor){function drop_it(rest){rest=as_statement_array(rest);if(self.body instanceof AST_BlockStatement){self.body=self.body.clone();self.body.body=rest.concat(self.body.body.slice(1));self.body=self.body.transform(compressor)}else{self.body=make_node(AST_BlockStatement,self.body,{body:rest}).transform(compressor)}if_break_in_loop(self,compressor)}var first=self.body instanceof AST_BlockStatement?self.body.body[0]:self.body;if(first instanceof AST_If){if(first.body instanceof AST_Break&&compressor.loopcontrol_target(first.body)===compressor.self()){if(self.condition){self.condition=make_node(AST_Binary,self.condition,{left:self.condition,operator:"&&",right:first.condition.negate(compressor)})}else{self.condition=first.condition.negate(compressor)}drop_it(first.alternative)}else if(first.alternative instanceof AST_Break&&compressor.loopcontrol_target(first.alternative)===compressor.self()){if(self.condition){self.condition=make_node(AST_Binary,self.condition,{left:self.condition,operator:"&&",right:first.condition})}else{self.condition=first.condition}drop_it(first.body)}}}OPT(AST_For,function(self,compressor){if(!compressor.option("loops"))return self;if(self.condition){var cond=self.condition.evaluate(compressor);if(compressor.option("dead_code")&&!cond){var a=[];if(self.init instanceof AST_Statement){a.push(self.init)}else if(self.init){a.push(make_node(AST_SimpleStatement,self.init,{body:self.init}))}extract_declarations_from_unreachable_code(compressor,self.body,a);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}if(cond!==self.condition){cond=make_node_from_constant(cond,self.condition).transform(compressor);self.condition=best_of_expression(cond,self.condition)}}if_break_in_loop(self,compressor);return self});OPT(AST_If,function(self,compressor){if(is_empty(self.alternative))self.alternative=null;if(!compressor.option("conditionals"))return self;var cond=self.condition.evaluate(compressor);if(cond!==self.condition){if(cond){compressor.warn("Condition always true [{file}:{line},{col}]",self.condition.start);if(compressor.option("dead_code")){var a=[];if(self.alternative){extract_declarations_from_unreachable_code(compressor,self.alternative,a)}a.push(self.body);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}}else{compressor.warn("Condition always false [{file}:{line},{col}]",self.condition.start);if(compressor.option("dead_code")){var a=[];extract_declarations_from_unreachable_code(compressor,self.body,a);if(self.alternative)a.push(self.alternative);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}}cond=make_node_from_constant(cond,self.condition).transform(compressor);self.condition=best_of_expression(cond,self.condition)}var negated=self.condition.negate(compressor);var self_condition_length=self.condition.print_to_string().length;var negated_length=negated.print_to_string().length;var negated_is_best=negated_length<self_condition_length;if(self.alternative&&negated_is_best){negated_is_best=false;self.condition=negated;var tmp=self.body;self.body=self.alternative||make_node(AST_EmptyStatement,self);self.alternative=tmp}if(is_empty(self.body)&&is_empty(self.alternative)){return make_node(AST_SimpleStatement,self.condition,{body:self.condition.clone()}).optimize(compressor)}if(self.body instanceof AST_SimpleStatement&&self.alternative instanceof AST_SimpleStatement){return make_node(AST_SimpleStatement,self,{body:make_node(AST_Conditional,self,{condition:self.condition,consequent:self.body.body,alternative:self.alternative.body})}).optimize(compressor)}if(is_empty(self.alternative)&&self.body instanceof AST_SimpleStatement){if(self_condition_length===negated_length&&!negated_is_best&&self.condition instanceof AST_Binary&&self.condition.operator=="||"){negated_is_best=true}if(negated_is_best)return make_node(AST_SimpleStatement,self,{body:make_node(AST_Binary,self,{operator:"||",left:negated,right:self.body.body})}).optimize(compressor);return make_node(AST_SimpleStatement,self,{body:make_node(AST_Binary,self,{operator:"&&",left:self.condition,right:self.body.body})}).optimize(compressor)}if(self.body instanceof AST_EmptyStatement&&self.alternative instanceof AST_SimpleStatement){return make_node(AST_SimpleStatement,self,{body:make_node(AST_Binary,self,{operator:"||",left:self.condition,right:self.alternative.body})}).optimize(compressor)}if(self.body instanceof AST_Exit&&self.alternative instanceof AST_Exit&&self.body.TYPE==self.alternative.TYPE){return make_node(self.body.CTOR,self,{value:make_node(AST_Conditional,self,{condition:self.condition,consequent:self.body.value||make_node(AST_Undefined,self.body),alternative:self.alternative.value||make_node(AST_Undefined,self.alternative)}).transform(compressor)}).optimize(compressor)}if(self.body instanceof AST_If&&!self.body.alternative&&!self.alternative){self=make_node(AST_If,self,{condition:make_node(AST_Binary,self.condition,{operator:"&&",left:self.condition,right:self.body.condition}),body:self.body.body,alternative:null})}if(aborts(self.body)){if(self.alternative){var alt=self.alternative;self.alternative=null;return make_node(AST_BlockStatement,self,{body:[self,alt]}).optimize(compressor)}}if(aborts(self.alternative)){var body=self.body;self.body=self.alternative;self.condition=negated_is_best?negated:self.condition.negate(compressor);self.alternative=null;return make_node(AST_BlockStatement,self,{body:[self,body]}).optimize(compressor)}return self});OPT(AST_Switch,function(self,compressor){if(!compressor.option("switches"))return self;var branch;var value=self.expression.evaluate(compressor);if(value!==self.expression){var expression=make_node_from_constant(value,self.expression).transform(compressor);self.expression=best_of_expression(expression,self.expression)}if(!compressor.option("dead_code"))return self;var decl=[];var body=[];var default_branch;var exact_match;for(var i=0,len=self.body.length;i<len&&!exact_match;i++){branch=self.body[i];if(branch instanceof AST_Default){if(!default_branch){default_branch=branch}else{eliminate_branch(branch,body[body.length-1])}}else if(value!==self.expression){var exp=branch.expression.evaluate(compressor);if(exp===value){exact_match=branch;if(default_branch){var default_index=body.indexOf(default_branch);body.splice(default_index,1);eliminate_branch(default_branch,body[default_index-1]);default_branch=null}}else if(exp!==branch.expression){eliminate_branch(branch,body[body.length-1]);continue}}if(aborts(branch)){var prev=body[body.length-1];if(aborts(prev)&&prev.body.length==branch.body.length&&make_node(AST_BlockStatement,prev,prev).equivalent_to(make_node(AST_BlockStatement,branch,branch))){prev.body=[]}}body.push(branch)}while(i<len)eliminate_branch(self.body[i++],body[body.length-1]);if(body.length>0){body[0].body=decl.concat(body[0].body)}self.body=body;while(branch=body[body.length-1]){var stat=branch.body[branch.body.length-1];if(stat instanceof AST_Break&&compressor.loopcontrol_target(stat)===self)branch.body.pop();if(branch.body.length||branch instanceof AST_Case&&(default_branch||branch.expression.has_side_effects(compressor)))break;if(body.pop()===default_branch)default_branch=null}if(body.length==0){return make_node(AST_BlockStatement,self,{body:decl.concat(make_node(AST_SimpleStatement,self.expression,{body:self.expression}))}).optimize(compressor)}if(body.length==1&&(body[0]===exact_match||body[0]===default_branch)){var has_break=false;var tw=new TreeWalker(function(node){if(has_break||node instanceof AST_Lambda||node instanceof AST_SimpleStatement)return true;if(node instanceof AST_Break&&tw.loopcontrol_target(node)===self)has_break=true});self.walk(tw);if(!has_break){body=body[0].body.slice();body.unshift(make_node(AST_SimpleStatement,self.expression,{body:self.expression}));return make_node(AST_BlockStatement,self,{body:body}).optimize(compressor)}}return self;function eliminate_branch(branch,prev){if(prev&&!aborts(prev)){prev.body=prev.body.concat(branch.body)}else{extract_declarations_from_unreachable_code(compressor,branch,decl)}}});OPT(AST_Try,function(self,compressor){self.body=tighten_body(self.body,compressor);if(self.bcatch&&self.bfinally&&all(self.bfinally.body,is_empty))self.bfinally=null;if(all(self.body,is_empty)){var body=[];if(self.bcatch)extract_declarations_from_unreachable_code(compressor,self.bcatch,body);if(self.bfinally)body=body.concat(self.bfinally.body);return make_node(AST_BlockStatement,self,{body:body}).optimize(compressor)}return self});AST_Definitions.DEFMETHOD("remove_initializers",function(){this.definitions.forEach(function(def){def.value=null})});AST_Definitions.DEFMETHOD("to_assignments",function(compressor){var reduce_vars=compressor.option("reduce_vars");var assignments=this.definitions.reduce(function(a,def){if(def.value){var name=make_node(AST_SymbolRef,def.name,def.name);a.push(make_node(AST_Assign,def,{operator:"=",left:name,right:def.value}));if(reduce_vars)name.definition().fixed=false}return a},[]);if(assignments.length==0)return null;return make_sequence(this,assignments)});OPT(AST_Definitions,function(self,compressor){if(self.definitions.length==0)return make_node(AST_EmptyStatement,self);return self});OPT(AST_Call,function(self,compressor){var exp=self.expression;if(compressor.option("reduce_vars")&&exp instanceof AST_SymbolRef){var def=exp.definition();var fixed=exp.fixed_value();if(fixed instanceof AST_Defun){def.fixed=fixed=make_node(AST_Function,fixed,fixed).clone(true)}if(fixed instanceof AST_Function){exp=fixed;if(compressor.option("unused")&&def.references.length==1&&!(def.scope.uses_arguments&&def.orig[0]instanceof AST_SymbolFunarg)&&!def.scope.uses_eval&&compressor.find_parent(AST_Scope)===def.scope){self.expression=exp}}}if(compressor.option("unused")&&exp instanceof AST_Function&&!exp.uses_arguments&&!exp.uses_eval){var pos=0,last=0;for(var i=0,len=self.args.length;i<len;i++){var trim=i>=exp.argnames.length;if(trim||exp.argnames[i].__unused){var node=self.args[i].drop_side_effect_free(compressor);if(node){self.args[pos++]=node}else if(!trim){self.args[pos++]=make_node(AST_Number,self.args[i],{value:0});continue}}else{self.args[pos++]=self.args[i]}last=pos}self.args.length=last}if(compressor.option("unsafe")){if(exp instanceof AST_SymbolRef&&exp.undeclared()){switch(exp.name){case"Array":if(self.args.length!=1){return make_node(AST_Array,self,{elements:self.args}).optimize(compressor)}break;case"Object":if(self.args.length==0){return make_node(AST_Object,self,{properties:[]})}break;case"String":if(self.args.length==0)return make_node(AST_String,self,{value:""});if(self.args.length<=1)return make_node(AST_Binary,self,{left:self.args[0],operator:"+",right:make_node(AST_String,self,{value:""})}).optimize(compressor);break;case"Number":if(self.args.length==0)return make_node(AST_Number,self,{value:0});if(self.args.length==1)return make_node(AST_UnaryPrefix,self,{expression:self.args[0],operator:"+"}).optimize(compressor);case"Boolean":if(self.args.length==0)return make_node(AST_False,self);if(self.args.length==1)return make_node(AST_UnaryPrefix,self,{expression:make_node(AST_UnaryPrefix,self,{expression:self.args[0],operator:"!"}),operator:"!"}).optimize(compressor);break;case"Function":if(self.args.length==0)return make_node(AST_Function,self,{argnames:[],body:[]});if(all(self.args,function(x){return x instanceof AST_String})){try{var code="(function("+self.args.slice(0,-1).map(function(arg){return arg.value}).join(",")+"){"+self.args[self.args.length-1].value+"})()";var ast=parse(code);var mangle={ie8:compressor.option("ie8")};ast.figure_out_scope(mangle);var comp=new Compressor(compressor.options);ast=ast.transform(comp);ast.figure_out_scope(mangle);ast.mangle_names();var fun;try{ast.walk(new TreeWalker(function(node){if(node instanceof AST_Lambda){fun=node;throw ast}}))}catch(ex){if(ex!==ast)throw ex}if(!fun)return self;var args=fun.argnames.map(function(arg,i){return make_node(AST_String,self.args[i],{value:arg.print_to_string()})});var code=OutputStream();AST_BlockStatement.prototype._codegen.call(fun,fun,code);code=code.toString().replace(/^\{|\}$/g,"");args.push(make_node(AST_String,self.args[self.args.length-1],{value:code}));self.args=args;return self}catch(ex){if(ex instanceof JS_Parse_Error){compressor.warn("Error parsing code passed to new Function [{file}:{line},{col}]",self.args[self.args.length-1].start);compressor.warn(ex.toString())}else{console.log(ex);throw ex}}}break}}else if(exp instanceof AST_Dot&&exp.property=="toString"&&self.args.length==0){return make_node(AST_Binary,self,{left:make_node(AST_String,self,{value:""}),operator:"+",right:exp.expression}).optimize(compressor)}else if(exp instanceof AST_Dot&&exp.expression instanceof AST_Array&&exp.property=="join")EXIT:{var separator;if(self.args.length>0){separator=self.args[0].evaluate(compressor);if(separator===self.args[0])break EXIT}var elements=[];var consts=[];exp.expression.elements.forEach(function(el){var value=el.evaluate(compressor);if(value!==el){consts.push(value)}else{if(consts.length>0){elements.push(make_node(AST_String,self,{value:consts.join(separator)}));consts.length=0}elements.push(el)}});if(consts.length>0){elements.push(make_node(AST_String,self,{value:consts.join(separator)}))}if(elements.length==0)return make_node(AST_String,self,{value:""});if(elements.length==1){if(elements[0].is_string(compressor)){return elements[0]}return make_node(AST_Binary,elements[0],{operator:"+",left:make_node(AST_String,self,{value:""}),right:elements[0]})}if(separator==""){var first;if(elements[0].is_string(compressor)||elements[1].is_string(compressor)){first=elements.shift()}else{first=make_node(AST_String,self,{value:""})}return elements.reduce(function(prev,el){return make_node(AST_Binary,el,{operator:"+",left:prev,right:el})},first).optimize(compressor)}var node=self.clone();node.expression=node.expression.clone();node.expression.expression=node.expression.expression.clone();node.expression.expression.elements=elements;return best_of(compressor,self,node)}else if(exp instanceof AST_Dot&&exp.expression.is_string(compressor)&&exp.property=="charAt"){var arg=self.args[0];var index=arg?arg.evaluate(compressor):0;if(index!==arg){return make_node(AST_Sub,exp,{expression:exp.expression,property:make_node_from_constant(index|0,arg||exp)}).optimize(compressor)}}}if(exp instanceof AST_Function){if(exp.body[0]instanceof AST_Return){var value=exp.body[0].value;if(!value||value.is_constant_expression()){var args=self.args.concat(value||make_node(AST_Undefined,self));return make_sequence(self,args).transform(compressor)}}if(compressor.option("side_effects")&&all(exp.body,is_empty)){var args=self.args.concat(make_node(AST_Undefined,self));return make_sequence(self,args).transform(compressor)}}if(compressor.option("drop_console")){if(exp instanceof AST_PropAccess){var name=exp.expression;while(name.expression){name=name.expression}if(name instanceof AST_SymbolRef&&name.name=="console"&&name.undeclared()){return make_node(AST_Undefined,self).optimize(compressor)}}}if(compressor.option("negate_iife")&&compressor.parent()instanceof AST_SimpleStatement&&is_iife_call(self)){return self.negate(compressor,true)}return self});OPT(AST_New,function(self,compressor){if(compressor.option("unsafe")){var exp=self.expression;if(exp instanceof AST_SymbolRef&&exp.undeclared()){switch(exp.name){case"Object":case"RegExp":case"Function":case"Error":case"Array":return make_node(AST_Call,self,self).transform(compressor)}}}return self});OPT(AST_Sequence,function(self,compressor){if(!compressor.option("side_effects"))return self;var expressions=[];filter_for_side_effects();var end=expressions.length-1;trim_right_for_undefined();if(end>0&&compressor.option("cascade"))trim_left_for_assignment();if(end==0){self=maintain_this_binding(compressor.parent(),self,expressions[0]);if(!(self instanceof AST_Sequence))self=self.optimize(compressor);return self}self.expressions=expressions;return self;function filter_for_side_effects(){var first=first_in_statement(compressor);var last=self.expressions.length-1;self.expressions.forEach(function(expr,index){if(index<last)expr=expr.drop_side_effect_free(compressor,first);if(expr){merge_sequence(expressions,expr);first=false}})}function trim_right_for_undefined(){while(end>0&&is_undefined(expressions[end],compressor))end--;if(end<expressions.length-1){expressions[end]=make_node(AST_UnaryPrefix,self,{operator:"void",expression:expressions[end]});expressions.length=end+1}}function trim_left_for_assignment(){for(var i=0,j=1;j<=end;j++){var left=expressions[i];var cdr=expressions[j];if(left instanceof AST_Assign&&!left.left.has_side_effects(compressor)){left=left.left}else if(left instanceof AST_Unary&&(left.operator=="++"||left.operator=="--")){left=left.expression}else left=null;if(!left||is_lhs_read_only(left)){expressions[++i]=cdr;continue}var parent=null,field;while(true){if(cdr.equivalent_to(left)){var car=expressions[i];if(car instanceof AST_UnaryPostfix){car=make_node(AST_UnaryPrefix,car,{operator:car.operator,expression:left})}if(parent){parent[field]=car;expressions[i]=expressions[j]}else{expressions[i]=car}break}if(cdr instanceof AST_Binary&&!(cdr instanceof AST_Assign)){if(cdr.left.is_constant()){if(cdr.operator=="||"||cdr.operator=="&&"){expressions[++i]=expressions[j];break}field="right"}else{field="left"}}else if(cdr instanceof AST_Call||cdr instanceof AST_PropAccess||cdr instanceof AST_Unary&&!unary_side_effects(cdr.operator)){field="expression"}else{expressions[++i]=expressions[j];break}parent=cdr;cdr=cdr[field]}}end=i;expressions.length=end+1}});AST_Unary.DEFMETHOD("lift_sequences",function(compressor){if(compressor.option("sequences")){if(this.expression instanceof AST_Sequence){var x=this.expression.expressions.slice();var e=this.clone();e.expression=x.pop();x.push(e);return make_sequence(this,x).optimize(compressor)}}return this});OPT(AST_UnaryPostfix,function(self,compressor){return self.lift_sequences(compressor)});OPT(AST_UnaryPrefix,function(self,compressor){var e=self.expression;if(self.operator=="delete"&&!(e instanceof AST_SymbolRef||e instanceof AST_PropAccess||e instanceof AST_NaN||e instanceof AST_Infinity||e instanceof AST_Undefined)){if(e instanceof AST_Sequence){e=e.expressions.slice();e.push(make_node(AST_True,self));return make_sequence(self,e).optimize(compressor)}return make_sequence(self,[e,make_node(AST_True,self)]).optimize(compressor)}var seq=self.lift_sequences(compressor);if(seq!==self){return seq}if(compressor.option("side_effects")&&self.operator=="void"){e=e.drop_side_effect_free(compressor);if(e){self.expression=e;return self}else{return make_node(AST_Undefined,self).optimize(compressor)}}if(compressor.option("booleans")&&compressor.in_boolean_context()){switch(self.operator){case"!":if(e instanceof AST_UnaryPrefix&&e.operator=="!"){return e.expression}if(e instanceof AST_Binary){self=best_of(compressor,self,e.negate(compressor,first_in_statement(compressor)))}break;case"typeof":compressor.warn("Boolean expression always true [{file}:{line},{col}]",self.start);return(e instanceof AST_SymbolRef?make_node(AST_True,self):make_sequence(self,[e,make_node(AST_True,self)])).optimize(compressor)}}if(self.operator=="-"&&e instanceof AST_Infinity){e=e.transform(compressor)}if(e instanceof AST_Binary&&(self.operator=="+"||self.operator=="-")&&(e.operator=="*"||e.operator=="/"||e.operator=="%")){return make_node(AST_Binary,self,{operator:e.operator,left:make_node(AST_UnaryPrefix,e.left,{operator:self.operator,expression:e.left}),right:e.right})}if(self.operator!="-"||!(e instanceof AST_Number||e instanceof AST_Infinity)){var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}}return self});AST_Binary.DEFMETHOD("lift_sequences",function(compressor){if(compressor.option("sequences")){if(this.left instanceof AST_Sequence){var x=this.left.expressions.slice();var e=this.clone();e.left=x.pop();x.push(e);return make_sequence(this,x).optimize(compressor)}if(this.right instanceof AST_Sequence&&!this.left.has_side_effects(compressor)){var assign=this.operator=="="&&this.left instanceof AST_SymbolRef;var x=this.right.expressions;var last=x.length-1;for(var i=0;i<last;i++){if(!assign&&x[i].has_side_effects(compressor))break}if(i==last){x=x.slice();var e=this.clone();e.right=x.pop();x.push(e);return make_sequence(this,x).optimize(compressor)}else if(i>0){var e=this.clone();e.right=make_sequence(this.right,x.slice(i));x=x.slice(0,i);x.push(e);return make_sequence(this,x).optimize(compressor)}}}return this});var commutativeOperators=makePredicate("== === != !== * & | ^");OPT(AST_Binary,function(self,compressor){function reversible(){return self.left.is_constant()||self.right.is_constant()||!self.left.has_side_effects(compressor)&&!self.right.has_side_effects(compressor)}function reverse(op){if(reversible()){if(op)self.operator=op;var tmp=self.left;self.left=self.right;self.right=tmp}}if(commutativeOperators(self.operator)){if(self.right.is_constant()&&!self.left.is_constant()){if(!(self.left instanceof AST_Binary&&PRECEDENCE[self.left.operator]>=PRECEDENCE[self.operator])){reverse()}}}self=self.lift_sequences(compressor);if(compressor.option("comparisons"))switch(self.operator){case"===":case"!==":if(self.left.is_string(compressor)&&self.right.is_string(compressor)||self.left.is_number(compressor)&&self.right.is_number(compressor)||self.left.is_boolean()&&self.right.is_boolean()){self.operator=self.operator.substr(0,2)}case"==":case"!=":if(self.left instanceof AST_String&&self.left.value=="undefined"&&self.right instanceof AST_UnaryPrefix&&self.right.operator=="typeof"){var expr=self.right.expression;if(expr instanceof AST_SymbolRef?!expr.undeclared():!(expr instanceof AST_PropAccess&&compressor.option("ie8"))){self.right=expr;self.left=make_node(AST_Undefined,self.left).optimize(compressor);if(self.operator.length==2)self.operator+="="}}break}if(compressor.option("booleans")&&self.operator=="+"&&compressor.in_boolean_context()){var ll=self.left.evaluate(compressor);var rr=self.right.evaluate(compressor);if(ll&&typeof ll=="string"){compressor.warn("+ in boolean context always true [{file}:{line},{col}]",self.start);return make_sequence(self,[self.right,make_node(AST_True,self)]).optimize(compressor)}if(rr&&typeof rr=="string"){compressor.warn("+ in boolean context always true [{file}:{line},{col}]",self.start);return make_sequence(self,[self.left,make_node(AST_True,self)]).optimize(compressor)}}if(compressor.option("comparisons")&&self.is_boolean()){if(!(compressor.parent()instanceof AST_Binary)||compressor.parent()instanceof AST_Assign){var negated=make_node(AST_UnaryPrefix,self,{operator:"!",expression:self.negate(compressor,first_in_statement(compressor))});self=best_of(compressor,self,negated)}if(compressor.option("unsafe_comps")){switch(self.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(self.operator=="+"){if(self.right instanceof AST_String&&self.right.getValue()==""&&self.left.is_string(compressor)){return self.left}if(self.left instanceof AST_String&&self.left.getValue()==""&&self.right.is_string(compressor)){return self.right}if(self.left instanceof AST_Binary&&self.left.operator=="+"&&self.left.left instanceof AST_String&&self.left.left.getValue()==""&&self.right.is_string(compressor)){self.left=self.left.right;return self.transform(compressor)}}if(compressor.option("evaluate")){switch(self.operator){case"&&":var ll=self.left.evaluate(compressor);if(!ll){compressor.warn("Condition left of && always false [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.left).optimize(compressor)}else if(ll!==self.left){compressor.warn("Condition left of && always true [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.right).optimize(compressor)}if(compressor.option("booleans")&&compressor.in_boolean_context()){var rr=self.right.evaluate(compressor);if(!rr){compressor.warn("Boolean && always false [{file}:{line},{col}]",self.start);return make_sequence(self,[self.left,make_node(AST_False,self)]).optimize(compressor)}else if(rr!==self.right){compressor.warn("Dropping side-effect-free && in boolean context [{file}:{line},{col}]",self.start);return self.left.optimize(compressor)}}break;case"||":var ll=self.left.evaluate(compressor);if(!ll){compressor.warn("Condition left of || always false [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.right).optimize(compressor)}else if(ll!==self.left){compressor.warn("Condition left of || always true [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.left).optimize(compressor)}if(compressor.option("booleans")&&compressor.in_boolean_context()){var rr=self.right.evaluate(compressor);if(!rr){compressor.warn("Dropping side-effect-free || in boolean context [{file}:{line},{col}]",self.start);return self.left.optimize(compressor)}else if(rr!==self.right){compressor.warn("Boolean || always true [{file}:{line},{col}]",self.start);return make_sequence(self,[self.left,make_node(AST_True,self)]).optimize(compressor)}}break}var associative=true;switch(self.operator){case"+":if(self.left instanceof AST_Constant&&self.right instanceof AST_Binary&&self.right.operator=="+"&&self.right.left instanceof AST_Constant&&self.right.is_string(compressor)){self=make_node(AST_Binary,self,{operator:"+",left:make_node(AST_String,self.left,{value:""+self.left.getValue()+self.right.left.getValue(),start:self.left.start,end:self.right.left.end}),right:self.right.right})}if(self.right instanceof AST_Constant&&self.left instanceof AST_Binary&&self.left.operator=="+"&&self.left.right instanceof AST_Constant&&self.left.is_string(compressor)){self=make_node(AST_Binary,self,{operator:"+",left:self.left.left,right:make_node(AST_String,self.right,{value:""+self.left.right.getValue()+self.right.getValue(),start:self.left.right.start,end:self.right.end})})}if(self.left instanceof AST_Binary&&self.left.operator=="+"&&self.left.is_string(compressor)&&self.left.right instanceof AST_Constant&&self.right instanceof AST_Binary&&self.right.operator=="+"&&self.right.left instanceof AST_Constant&&self.right.is_string(compressor)){self=make_node(AST_Binary,self,{operator:"+",left:make_node(AST_Binary,self.left,{operator:"+",left:self.left.left,right:make_node(AST_String,self.left.right,{value:""+self.left.right.getValue()+self.right.left.getValue(),start:self.left.right.start,end:self.right.left.end})}),right:self.right.right})}if(self.right instanceof AST_UnaryPrefix&&self.right.operator=="-"&&self.left.is_number(compressor)){self=make_node(AST_Binary,self,{operator:"-",left:self.left,right:self.right.expression});break}if(self.left instanceof AST_UnaryPrefix&&self.left.operator=="-"&&reversible()&&self.right.is_number(compressor)){self=make_node(AST_Binary,self,{operator:"-",left:self.right,right:self.left.expression});break}case"*":associative=compressor.option("unsafe_math");case"&":case"|":case"^":if(self.left.is_number(compressor)&&self.right.is_number(compressor)&&reversible()&&!(self.left instanceof AST_Binary&&self.left.operator!=self.operator&&PRECEDENCE[self.left.operator]>=PRECEDENCE[self.operator])){var reversed=make_node(AST_Binary,self,{operator:self.operator,left:self.right,right:self.left});if(self.right instanceof AST_Constant&&!(self.left instanceof AST_Constant)){self=best_of(compressor,reversed,self)}else{self=best_of(compressor,self,reversed)}}if(associative&&self.is_number(compressor)){if(self.right instanceof AST_Binary&&self.right.operator==self.operator){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:self.left,right:self.right.left,start:self.left.start,end:self.right.left.end}),right:self.right.right})}if(self.right instanceof AST_Constant&&self.left instanceof AST_Binary&&self.left.operator==self.operator){if(self.left.left instanceof AST_Constant){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:self.left.left,right:self.right,start:self.left.left.start,end:self.right.end}),right:self.left.right})}else if(self.left.right instanceof AST_Constant){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:self.left.right,right:self.right,start:self.left.right.start,end:self.right.end}),right:self.left.left})}}if(self.left instanceof AST_Binary&&self.left.operator==self.operator&&self.left.right instanceof AST_Constant&&self.right instanceof AST_Binary&&self.right.operator==self.operator&&self.right.left instanceof AST_Constant){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:make_node(AST_Binary,self.left.left,{operator:self.operator,left:self.left.right,right:self.right.left,start:self.left.right.start,end:self.right.left.end}),right:self.left.left}),right:self.right.right})}}}}if(self.right instanceof AST_Binary&&self.right.operator==self.operator&&(self.operator=="&&"||self.operator=="||"||self.operator=="+"&&(self.right.left.is_string(compressor)||self.left.is_string(compressor)&&self.right.right.is_string(compressor)))){self.left=make_node(AST_Binary,self.left,{operator:self.operator,left:self.left,right:self.right.left});self.right=self.right.right;return self.transform(compressor)}var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}return self});OPT(AST_SymbolRef,function(self,compressor){var def=self.resolve_defines(compressor);if(def){return def.optimize(compressor)}if(!compressor.option("ie8")&&self.undeclared()&&(!self.scope.uses_with||!compressor.find_parent(AST_With))){switch(self.name){case"undefined":return make_node(AST_Undefined,self).optimize(compressor);case"NaN":return make_node(AST_NaN,self).optimize(compressor);case"Infinity":return make_node(AST_Infinity,self).optimize(compressor)}}if(compressor.option("evaluate")&&compressor.option("reduce_vars")&&is_lhs(self,compressor.parent())!==self){var d=self.definition();var fixed=self.fixed_value();if(fixed){if(d.should_replace===undefined){var init=fixed.evaluate(compressor);if(init!==fixed){init=make_node_from_constant(init,fixed);var value_length=init.optimize(compressor).print_to_string().length;var fn;if(has_symbol_ref(fixed)){fn=function(){var result=init.optimize(compressor);return result===init?result.clone(true):result}}else{value_length=Math.min(value_length,fixed.print_to_string().length);fn=function(){var result=best_of_expression(init.optimize(compressor),fixed);return result===init||result===fixed?result.clone(true):result}}var name_length=d.name.length;var overhead=0;if(compressor.option("unused")&&(!d.global||compressor.toplevel(d))){overhead=(name_length+2+value_length)/d.references.length}d.should_replace=value_length<=name_length+overhead?fn:false}else{d.should_replace=false}}if(d.should_replace){return d.should_replace()}}}return self;function has_symbol_ref(value){var found;value.walk(new TreeWalker(function(node){if(node instanceof AST_SymbolRef)found=true;if(found)return true}));return found}});function is_atomic(lhs,self){return lhs instanceof AST_SymbolRef||lhs.TYPE===self.TYPE}OPT(AST_Undefined,function(self,compressor){if(compressor.option("unsafe")){var undef=find_variable(compressor,"undefined");if(undef){var ref=make_node(AST_SymbolRef,self,{name:"undefined",scope:undef.scope,thedef:undef});ref.is_undefined=true;return ref}}var lhs=is_lhs(compressor.self(),compressor.parent());if(lhs&&is_atomic(lhs,self))return self;return make_node(AST_UnaryPrefix,self,{operator:"void",expression:make_node(AST_Number,self,{value:0})})});OPT(AST_Infinity,function(self,compressor){var lhs=is_lhs(compressor.self(),compressor.parent());if(lhs&&is_atomic(lhs,self))return self;if(compressor.option("keep_infinity")&&!(lhs&&!is_atomic(lhs,self))&&!find_variable(compressor,"Infinity"))return self;return make_node(AST_Binary,self,{operator:"/",left:make_node(AST_Number,self,{value:1}),right:make_node(AST_Number,self,{value:0})})});OPT(AST_NaN,function(self,compressor){var lhs=is_lhs(compressor.self(),compressor.parent());if(lhs&&!is_atomic(lhs,self)||find_variable(compressor,"NaN")){return make_node(AST_Binary,self,{operator:"/",left:make_node(AST_Number,self,{value:0}),right:make_node(AST_Number,self,{value:0})})}return self});var ASSIGN_OPS=["+","-","/","*","%",">>","<<",">>>","|","^","&"];var ASSIGN_OPS_COMMUTATIVE=["*","|","^","&"];OPT(AST_Assign,function(self,compressor){self=self.lift_sequences(compressor);if(self.operator=="="&&self.left instanceof AST_SymbolRef&&self.right instanceof AST_Binary){if(self.right.left instanceof AST_SymbolRef&&self.right.left.name==self.left.name&&member(self.right.operator,ASSIGN_OPS)){self.operator=self.right.operator+"=";self.right=self.right.right}else if(self.right.right instanceof AST_SymbolRef&&self.right.right.name==self.left.name&&member(self.right.operator,ASSIGN_OPS_COMMUTATIVE)&&!self.right.left.has_side_effects(compressor)){self.operator=self.right.operator+"=";self.right=self.right.left}}return self});OPT(AST_Conditional,function(self,compressor){if(!compressor.option("conditionals"))return self;if(self.condition instanceof AST_Sequence){var expressions=self.condition.expressions.slice();self.condition=expressions.pop();expressions.push(self);return make_sequence(self,expressions)}var cond=self.condition.evaluate(compressor);if(cond!==self.condition){if(cond){compressor.warn("Condition always true [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.consequent)}else{compressor.warn("Condition always false [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.alternative)}}var negated=cond.negate(compressor,first_in_statement(compressor));if(best_of(compressor,cond,negated)===negated){self=make_node(AST_Conditional,self,{condition:negated,consequent:self.alternative,alternative:self.consequent})}var condition=self.condition;var consequent=self.consequent;var alternative=self.alternative;if(condition instanceof AST_SymbolRef&&consequent instanceof AST_SymbolRef&&condition.definition()===consequent.definition()){return make_node(AST_Binary,self,{operator:"||",left:condition,right:alternative})}if(consequent instanceof AST_Assign&&alternative instanceof AST_Assign&&consequent.operator==alternative.operator&&consequent.left.equivalent_to(alternative.left)&&(!self.condition.has_side_effects(compressor)||consequent.operator=="="&&!consequent.left.has_side_effects(compressor))){return make_node(AST_Assign,self,{operator:consequent.operator,left:consequent.left,right:make_node(AST_Conditional,self,{condition:self.condition,consequent:consequent.right,alternative:alternative.right})})}if(consequent instanceof AST_Call&&alternative.TYPE===consequent.TYPE&&consequent.args.length==1&&alternative.args.length==1&&consequent.expression.equivalent_to(alternative.expression)&&!consequent.expression.has_side_effects(compressor)){consequent.args[0]=make_node(AST_Conditional,self,{condition:self.condition,consequent:consequent.args[0],alternative:alternative.args[0]});return consequent}if(consequent instanceof AST_Conditional&&consequent.alternative.equivalent_to(alternative)){return make_node(AST_Conditional,self,{condition:make_node(AST_Binary,self,{left:self.condition,operator:"&&",right:consequent.condition}),consequent:consequent.consequent,alternative:alternative})}if(consequent.equivalent_to(alternative)){return make_sequence(self,[self.condition,consequent]).optimize(compressor)}if(is_true(self.consequent)){if(is_false(self.alternative)){return booleanize(self.condition)}return make_node(AST_Binary,self,{operator:"||",left:booleanize(self.condition),right:self.alternative})}if(is_false(self.consequent)){if(is_true(self.alternative)){return booleanize(self.condition.negate(compressor))}return make_node(AST_Binary,self,{operator:"&&",left:booleanize(self.condition.negate(compressor)),right:self.alternative})}if(is_true(self.alternative)){return make_node(AST_Binary,self,{operator:"||",left:booleanize(self.condition.negate(compressor)),right:self.consequent})}if(is_false(self.alternative)){return make_node(AST_Binary,self,{operator:"&&",left:booleanize(self.condition),right:self.consequent})}return self;function booleanize(node){if(node.is_boolean())return node;return make_node(AST_UnaryPrefix,node,{operator:"!",expression:node.negate(compressor)})}function is_true(node){return node instanceof AST_True||node instanceof AST_UnaryPrefix&&node.operator=="!"&&node.expression instanceof AST_Constant&&!node.expression.value}function is_false(node){return node instanceof AST_False||node instanceof AST_UnaryPrefix&&node.operator=="!"&&node.expression instanceof AST_Constant&&!!node.expression.value}});OPT(AST_Boolean,function(self,compressor){if(compressor.option("booleans")){var p=compressor.parent();if(p instanceof AST_Binary&&(p.operator=="=="||p.operator=="!=")){compressor.warn("Non-strict equality against boolean: {operator} {value} [{file}:{line},{col}]",{operator:p.operator,value:self.value,file:p.start.file,line:p.start.line,col:p.start.col});return make_node(AST_Number,self,{value:+self.value})}return make_node(AST_UnaryPrefix,self,{operator:"!",expression:make_node(AST_Number,self,{value:1-self.value})})}return self});OPT(AST_Sub,function(self,compressor){var prop=self.property;if(prop instanceof AST_String&&compressor.option("properties")){prop=prop.getValue();if(RESERVED_WORDS(prop)?!compressor.option("ie8"):is_identifier_string(prop)){return make_node(AST_Dot,self,{expression:self.expression,property:prop}).optimize(compressor)}var v=parseFloat(prop);if(!isNaN(v)&&v.toString()==prop){self.property=make_node(AST_Number,self.property,{value:v})}}var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}return self});OPT(AST_Dot,function(self,compressor){var def=self.resolve_defines(compressor);if(def){return def.optimize(compressor)}var prop=self.property;if(RESERVED_WORDS(prop)&&compressor.option("ie8")){return make_node(AST_Sub,self,{expression:self.expression,property:make_node(AST_String,self,{value:prop})}).optimize(compressor)}if(compressor.option("unsafe_proto")&&self.expression instanceof AST_Dot&&self.expression.property=="prototype"){var exp=self.expression.expression;if(exp instanceof AST_SymbolRef&&exp.undeclared())switch(exp.name){case"Array":self.expression=make_node(AST_Array,self.expression,{elements:[]});break;case"Object":self.expression=make_node(AST_Object,self.expression,{properties:[]});break;case"String":self.expression=make_node(AST_String,self.expression,{value:""});break}}var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}return self});function literals_in_boolean_context(self,compressor){if(compressor.option("booleans")&&compressor.in_boolean_context()){return best_of(compressor,self,make_sequence(self,[self,make_node(AST_True,self)]).optimize(compressor))}return self}OPT(AST_Array,literals_in_boolean_context);OPT(AST_Object,literals_in_boolean_context);OPT(AST_RegExp,literals_in_boolean_context);OPT(AST_Return,function(self,compressor){if(self.value&&is_undefined(self.value,compressor)){self.value=null}return self});OPT(AST_VarDef,function(self,compressor){var defines=compressor.option("global_defs");if(defines&&HOP(defines,self.name.name)){compressor.warn("global_defs "+self.name.name+" redefined [{file}:{line},{col}]",self.start)}return self})})();"use strict";function SourceMap(options){options=defaults(options,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0});var generator=new MOZ_SourceMap.SourceMapGenerator({file:options.file,sourceRoot:options.root});var orig_map=options.orig&&new MOZ_SourceMap.SourceMapConsumer(options.orig);if(orig_map&&Array.isArray(options.orig.sources)){orig_map._sources.toArray().forEach(function(source){var sourceContent=orig_map.sourceContentFor(source,true);if(sourceContent){generator.setSourceContent(source,sourceContent)}})}function add(source,gen_line,gen_col,orig_line,orig_col,name){if(orig_map){var info=orig_map.originalPositionFor({line:orig_line,column:orig_col});if(info.source===null){return}source=info.source;orig_line=info.line;orig_col=info.column;name=info.name||name}generator.addMapping({generated:{line:gen_line+options.dest_line_diff,column:gen_col},original:{line:orig_line+options.orig_line_diff,column:orig_col},source:source,name:name})}return{add:add,get:function(){return generator},toString:function(){return JSON.stringify(generator.toJSON())}}}"use strict";(function(){var normalize_directives=function(body){var in_directive=true;for(var i=0;i<body.length;i++){if(in_directive&&body[i]instanceof AST_Statement&&body[i].body instanceof AST_String){body[i]=new AST_Directive({start:body[i].start,end:body[i].end,value:body[i].body.value})}else if(in_directive&&!(body[i]instanceof AST_Statement&&body[i].body instanceof AST_String)){in_directive=false}}return body};var MOZ_TO_ME={Program:function(M){return new AST_Toplevel({start:my_start_token(M),end:my_end_token(M),body:normalize_directives(M.body.map(from_moz))})},FunctionDeclaration:function(M){return new AST_Defun({start:my_start_token(M),end:my_end_token(M),name:from_moz(M.id),argnames:M.params.map(from_moz),body:normalize_directives(from_moz(M.body).body)})},FunctionExpression:function(M){return new AST_Function({start:my_start_token(M),end:my_end_token(M),name:from_moz(M.id),argnames:M.params.map(from_moz),body:normalize_directives(from_moz(M.body).body)})},ExpressionStatement:function(M){return new AST_SimpleStatement({start:my_start_token(M),end:my_end_token(M),body:from_moz(M.expression)})},TryStatement:function(M){var handlers=M.handlers||[M.handler];if(handlers.length>1||M.guardedHandlers&&M.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new AST_Try({start:my_start_token(M),end:my_end_token(M),body:from_moz(M.block).body,bcatch:from_moz(handlers[0]),bfinally:M.finalizer?new AST_Finally(from_moz(M.finalizer)):null})},Property:function(M){var key=M.key;var args={start:my_start_token(key),end:my_end_token(M.value),key:key.type=="Identifier"?key.name:key.value,value:from_moz(M.value)};if(M.kind=="init")return new AST_ObjectKeyVal(args);args.key=new AST_SymbolAccessor({name:args.key});args.value=new AST_Accessor(args.value);if(M.kind=="get")return new AST_ObjectGetter(args);if(M.kind=="set")return new AST_ObjectSetter(args)},ArrayExpression:function(M){return new AST_Array({start:my_start_token(M),end:my_end_token(M),elements:M.elements.map(function(elem){return elem===null?new AST_Hole:from_moz(elem)})})},ObjectExpression:function(M){return new AST_Object({start:my_start_token(M),end:my_end_token(M),properties:M.properties.map(function(prop){prop.type="Property";return from_moz(prop)})})},SequenceExpression:function(M){return new AST_Sequence({start:my_start_token(M),end:my_end_token(M),expressions:M.expressions.map(from_moz)})},MemberExpression:function(M){return new(M.computed?AST_Sub:AST_Dot)({start:my_start_token(M),end:my_end_token(M),property:M.computed?from_moz(M.property):M.property.name,expression:from_moz(M.object)})},SwitchCase:function(M){return new(M.test?AST_Case:AST_Default)({start:my_start_token(M),end:my_end_token(M),expression:from_moz(M.test),body:M.consequent.map(from_moz)})},VariableDeclaration:function(M){return new AST_Var({start:my_start_token(M),end:my_end_token(M),definitions:M.declarations.map(from_moz)})},Literal:function(M){var val=M.value,args={start:my_start_token(M),end:my_end_token(M)};if(val===null)return new AST_Null(args);switch(typeof val){case"string":args.value=val;return new AST_String(args);case"number":args.value=val;return new AST_Number(args);case"boolean":return new(val?AST_True:AST_False)(args);default:var rx=M.regex;if(rx&&rx.pattern){args.value=new RegExp(rx.pattern,rx.flags).toString()}else{args.value=M.regex&&M.raw?M.raw:val}return new AST_RegExp(args)}},Identifier:function(M){var p=FROM_MOZ_STACK[FROM_MOZ_STACK.length-2];return new(p.type=="LabeledStatement"?AST_Label:p.type=="VariableDeclarator"&&p.id===M?AST_SymbolVar:p.type=="FunctionExpression"?p.id===M?AST_SymbolLambda:AST_SymbolFunarg:p.type=="FunctionDeclaration"?p.id===M?AST_SymbolDefun:AST_SymbolFunarg:p.type=="CatchClause"?AST_SymbolCatch:p.type=="BreakStatement"||p.type=="ContinueStatement"?AST_LabelRef:AST_SymbolRef)({start:my_start_token(M),end:my_end_token(M),name:M.name})}};MOZ_TO_ME.UpdateExpression=MOZ_TO_ME.UnaryExpression=function To_Moz_Unary(M){var prefix="prefix"in M?M.prefix:M.type=="UnaryExpression"?true:false;return new(prefix?AST_UnaryPrefix:AST_UnaryPostfix)({start:my_start_token(M),end:my_end_token(M),operator:M.operator,expression:from_moz(M.argument)})};map("EmptyStatement",AST_EmptyStatement);map("BlockStatement",AST_BlockStatement,"body@body");map("IfStatement",AST_If,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",AST_LabeledStatement,"label>label, body>body");map("BreakStatement",AST_Break,"label>label");map("ContinueStatement",AST_Continue,"label>label");map("WithStatement",AST_With,"object>expression, body>body");map("SwitchStatement",AST_Switch,"discriminant>expression, cases@body");map("ReturnStatement",AST_Return,"argument>value");map("ThrowStatement",AST_Throw,"argument>value");map("WhileStatement",AST_While,"test>condition, body>body");map("DoWhileStatement",AST_Do,"test>condition, body>body");map("ForStatement",AST_For,"init>init, test>condition, update>step, body>body");map("ForInStatement",AST_ForIn,"left>init, right>object, body>body");map("DebuggerStatement",AST_Debugger);map("VariableDeclarator",AST_VarDef,"id>name, init>value");map("CatchClause",AST_Catch,"param>argname, body%body");map("ThisExpression",AST_This);map("BinaryExpression",AST_Binary,"operator=operator, left>left, right>right");map("LogicalExpression",AST_Binary,"operator=operator, left>left, right>right");map("AssignmentExpression",AST_Assign,"operator=operator, left>left, right>right");map("ConditionalExpression",AST_Conditional,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",AST_New,"callee>expression, arguments@args");map("CallExpression",AST_Call,"callee>expression, arguments@args");def_to_moz(AST_Toplevel,function To_Moz_Program(M){return to_moz_scope("Program",M)});def_to_moz(AST_Defun,function To_Moz_FunctionDeclaration(M){return{type:"FunctionDeclaration",id:to_moz(M.name),params:M.argnames.map(to_moz),body:to_moz_scope("BlockStatement",M)}});def_to_moz(AST_Function,function To_Moz_FunctionExpression(M){return{type:"FunctionExpression",id:to_moz(M.name),params:M.argnames.map(to_moz),body:to_moz_scope("BlockStatement",M)}});def_to_moz(AST_Directive,function To_Moz_Directive(M){return{type:"ExpressionStatement",expression:{type:"Literal",value:M.value}}});def_to_moz(AST_SimpleStatement,function To_Moz_ExpressionStatement(M){return{type:"ExpressionStatement",expression:to_moz(M.body)}});def_to_moz(AST_SwitchBranch,function To_Moz_SwitchCase(M){return{type:"SwitchCase",test:to_moz(M.expression),consequent:M.body.map(to_moz)}});def_to_moz(AST_Try,function To_Moz_TryStatement(M){return{type:"TryStatement",block:to_moz_block(M),handler:to_moz(M.bcatch),guardedHandlers:[],finalizer:to_moz(M.bfinally)}});def_to_moz(AST_Catch,function To_Moz_CatchClause(M){return{type:"CatchClause",param:to_moz(M.argname),guard:null,body:to_moz_block(M)}});def_to_moz(AST_Definitions,function To_Moz_VariableDeclaration(M){return{type:"VariableDeclaration",kind:"var",declarations:M.definitions.map(to_moz)}});def_to_moz(AST_Sequence,function To_Moz_SequenceExpression(M){return{type:"SequenceExpression",expressions:M.expressions.map(to_moz)}});def_to_moz(AST_PropAccess,function To_Moz_MemberExpression(M){var isComputed=M instanceof AST_Sub;return{type:"MemberExpression",object:to_moz(M.expression),computed:isComputed,property:isComputed?to_moz(M.property):{type:"Identifier",name:M.property}}});def_to_moz(AST_Unary,function To_Moz_Unary(M){return{type:M.operator=="++"||M.operator=="--"?"UpdateExpression":"UnaryExpression",operator:M.operator,prefix:M instanceof AST_UnaryPrefix,argument:to_moz(M.expression)}});def_to_moz(AST_Binary,function To_Moz_BinaryExpression(M){return{type:M.operator=="&&"||M.operator=="||"?"LogicalExpression":"BinaryExpression",left:to_moz(M.left),operator:M.operator,right:to_moz(M.right)}});def_to_moz(AST_Array,function To_Moz_ArrayExpression(M){return{type:"ArrayExpression",elements:M.elements.map(to_moz)}});def_to_moz(AST_Object,function To_Moz_ObjectExpression(M){return{type:"ObjectExpression",properties:M.properties.map(to_moz)}});def_to_moz(AST_ObjectProperty,function To_Moz_Property(M){var key={type:"Literal",value:M.key instanceof AST_SymbolAccessor?M.key.name:M.key};var kind;if(M instanceof AST_ObjectKeyVal){kind="init"}else if(M instanceof AST_ObjectGetter){kind="get"}else if(M instanceof AST_ObjectSetter){kind="set"}return{type:"Property",kind:kind,key:key,value:to_moz(M.value)}});def_to_moz(AST_Symbol,function To_Moz_Identifier(M){var def=M.definition();return{type:"Identifier",name:def?def.mangled_name||def.name:M.name}});def_to_moz(AST_RegExp,function To_Moz_RegExpLiteral(M){var value=M.value;return{type:"Literal",value:value,raw:value.toString(),regex:{pattern:value.source,flags:value.toString().match(/[gimuy]*$/)[0]}}});def_to_moz(AST_Constant,function To_Moz_Literal(M){var value=M.value;if(typeof value==="number"&&(value<0||value===0&&1/value<0)){return{type:"UnaryExpression",operator:"-",prefix:true,argument:{type:"Literal",value:-value,raw:M.start.raw}}}return{type:"Literal",value:value,raw:M.start.raw}});def_to_moz(AST_Atom,function To_Moz_Atom(M){return{type:"Identifier",name:String(M.value)}});AST_Boolean.DEFMETHOD("to_mozilla_ast",AST_Constant.prototype.to_mozilla_ast);AST_Null.DEFMETHOD("to_mozilla_ast",AST_Constant.prototype.to_mozilla_ast);AST_Hole.DEFMETHOD("to_mozilla_ast",function To_Moz_ArrayHole(){return null});AST_Block.DEFMETHOD("to_mozilla_ast",AST_BlockStatement.prototype.to_mozilla_ast);AST_Lambda.DEFMETHOD("to_mozilla_ast",AST_Function.prototype.to_mozilla_ast);function raw_token(moznode){if(moznode.type=="Literal"){return moznode.raw!=null?moznode.raw:moznode.value+""}}function my_start_token(moznode){var loc=moznode.loc,start=loc&&loc.start;var range=moznode.range;return new AST_Token({file:loc&&loc.source,line:start&&start.line,col:start&&start.column,pos:range?range[0]:moznode.start,endline:start&&start.line,endcol:start&&start.column,endpos:range?range[0]:moznode.start,raw:raw_token(moznode)})}function my_end_token(moznode){var loc=moznode.loc,end=loc&&loc.end;var range=moznode.range;return new AST_Token({file:loc&&loc.source,line:end&&end.line,col:end&&end.column,pos:range?range[1]:moznode.end,endline:end&&end.line,endcol:end&&end.column,endpos:range?range[1]:moznode.end,raw:raw_token(moznode)})}function map(moztype,mytype,propmap){var moz_to_me="function From_Moz_"+moztype+"(M){\n";moz_to_me+="return new U2."+mytype.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var me_to_moz="function To_Moz_"+moztype+"(M){\n";me_to_moz+="return {\n"+"type: "+JSON.stringify(moztype);if(propmap)propmap.split(/\s*,\s*/).forEach(function(prop){var m=/([a-z0-9$_]+)(=|@|>|%)([a-z0-9$_]+)/i.exec(prop);if(!m)throw new Error("Can't understand property map: "+prop);var moz=m[1],how=m[2],my=m[3];moz_to_me+=",\n"+my+": ";me_to_moz+=",\n"+moz+": ";switch(how){case"@":moz_to_me+="M."+moz+".map(from_moz)";me_to_moz+="M."+my+".map(to_moz)";break;case">":moz_to_me+="from_moz(M."+moz+")";me_to_moz+="to_moz(M."+my+")";break;case"=":moz_to_me+="M."+moz;me_to_moz+="M."+my;break;case"%":moz_to_me+="from_moz(M."+moz+").body";me_to_moz+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+prop)}});moz_to_me+="\n})\n}";me_to_moz+="\n}\n}";moz_to_me=new Function("U2","my_start_token","my_end_token","from_moz","return("+moz_to_me+")")(exports,my_start_token,my_end_token,from_moz);me_to_moz=new Function("to_moz","to_moz_block","to_moz_scope","return("+me_to_moz+")")(to_moz,to_moz_block,to_moz_scope);MOZ_TO_ME[moztype]=moz_to_me;def_to_moz(mytype,me_to_moz)}var FROM_MOZ_STACK=null;function from_moz(node){FROM_MOZ_STACK.push(node);var ret=node!=null?MOZ_TO_ME[node.type](node):null;FROM_MOZ_STACK.pop();return ret}AST_Node.from_mozilla_ast=function(node){var save_stack=FROM_MOZ_STACK;FROM_MOZ_STACK=[];var ast=from_moz(node);FROM_MOZ_STACK=save_stack;return ast};function set_moz_loc(mynode,moznode,myparent){var start=mynode.start;var end=mynode.end;if(start.pos!=null&&end.endpos!=null){moznode.range=[start.pos,end.endpos]}if(start.line){moznode.loc={start:{line:start.line,column:start.col},end:end.endline?{line:end.endline,column:end.endcol}:null};if(start.file){moznode.loc.source=start.file}}return moznode}function def_to_moz(mytype,handler){mytype.DEFMETHOD("to_mozilla_ast",function(){return set_moz_loc(this,handler(this))})}function to_moz(node){return node!=null?node.to_mozilla_ast():null}function to_moz_block(node){return{type:"BlockStatement",body:node.body.map(to_moz)}}function to_moz_scope(type,node){var body=node.body.map(to_moz);if(node.body[0]instanceof AST_SimpleStatement&&node.body[0].body instanceof AST_String){body.unshift(to_moz(new AST_EmptyStatement(node.body[0])))}return{type:type,body:body}}})();"use strict";function find_builtins(reserved){["null","true","false","Infinity","-Infinity","undefined"].forEach(add);[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp].forEach(function(ctor){Object.getOwnPropertyNames(ctor).map(add);if(ctor.prototype){Object.getOwnPropertyNames(ctor.prototype).map(add)}});function add(name){push_uniq(reserved,name)}}function mangle_properties(ast,options){options=defaults(options,{builtins:false,cache:null,debug:false,keep_quoted:false,only_cache:false,regex:null,reserved:null});var reserved=options.reserved||[];if(!options.builtins)find_builtins(reserved);var cache=options.cache;if(cache==null){cache={cname:-1,props:new Dictionary}}var regex=options.regex;var keep_quoted=options.keep_quoted;var debug=options.debug!==false;var debug_name_suffix;if(debug){debug_name_suffix=options.debug===true?"":options.debug}var names_to_mangle=[];var unmangleable=[];var to_keep={};ast.walk(new TreeWalker(function(node){if(node instanceof AST_ObjectKeyVal){add(node.key,keep_quoted&&node.quote)}else if(node instanceof AST_ObjectProperty){add(node.key.name)}else if(node instanceof AST_Dot){add(node.property)}else if(node instanceof AST_Sub){addStrings(node.property,keep_quoted)}}));return ast.transform(new TreeTransformer(function(node){if(node instanceof AST_ObjectKeyVal){if(!(keep_quoted&&node.quote))node.key=mangle(node.key)}else if(node instanceof AST_ObjectProperty){node.key.name=mangle(node.key.name)}else if(node instanceof AST_Dot){node.property=mangle(node.property)}else if(node instanceof AST_Sub){if(!keep_quoted)node.property=mangleStrings(node.property)}}));function can_mangle(name){if(unmangleable.indexOf(name)>=0)return false;if(reserved.indexOf(name)>=0)return false;if(options.only_cache){return cache.props.has(name)}if(/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(name))return false;return true}function should_mangle(name){if(keep_quoted&&name in to_keep)return false;if(regex&&!regex.test(name))return false;if(reserved.indexOf(name)>=0)return false;return cache.props.has(name)||names_to_mangle.indexOf(name)>=0}function add(name,keep){if(keep){to_keep[name]=true;return}if(can_mangle(name))push_uniq(names_to_mangle,name);if(!should_mangle(name)){push_uniq(unmangleable,name)}}function mangle(name){if(!should_mangle(name)){return name}var mangled=cache.props.get(name);if(!mangled){if(debug){var debug_mangled="_$"+name+"$"+debug_name_suffix+"_";if(can_mangle(debug_mangled)&&!(keep_quoted&&debug_mangled in to_keep)){mangled=debug_mangled}}if(!mangled){do{mangled=base54(++cache.cname)}while(!can_mangle(mangled)||keep_quoted&&mangled in to_keep)}cache.props.set(name,mangled)}return mangled}function addStrings(node,keep){var out={};try{(function walk(node){node.walk(new TreeWalker(function(node){if(node instanceof AST_Sequence){walk(node.expressions[node.expressions.length-1]);return true}if(node instanceof AST_String){add(node.value,keep);return true}if(node instanceof AST_Conditional){walk(node.consequent);walk(node.alternative);return true}throw out}))})(node)}catch(ex){if(ex!==out)throw ex}}function mangleStrings(node){return node.transform(new TreeTransformer(function(node){if(node instanceof AST_Sequence){var last=node.expressions.length-1;node.expressions[last]=mangleStrings(node.expressions[last])}else if(node instanceof AST_String){node.value=mangle(node.value)}else if(node instanceof AST_Conditional){node.consequent=mangleStrings(node.consequent);node.alternative=mangleStrings(node.alternative)}return node}))}}"use strict";var to_ascii=typeof atob=="undefined"?function(b64){return new Buffer(b64,"base64").toString()}:atob;var to_base64=typeof btoa=="undefined"?function(str){return new Buffer(str).toString("base64")}:btoa;function read_source_map(code){var match=/\n\/\/# sourceMappingURL=data:application\/json(;.*?)?;base64,(.*)/.exec(code);if(!match){AST_Node.warn("inline source map not found");return null}return to_ascii(match[2])}function set_shorthand(name,options,keys){if(options[name]){keys.forEach(function(key){if(options[key]){if(typeof options[key]!="object")options[key]={};if(!(name in options[key]))options[key][name]=options[name]}})}}function minify(files,options){var warn_function=AST_Node.warn_function;try{if(typeof files=="string"){files=[files]}options=defaults(options,{compress:{},ie8:false,keep_fnames:false,mangle:{},output:{},parse:{},sourceMap:false,toplevel:false,warnings:false,wrap:false},true);set_shorthand("ie8",options,["compress","mangle","output"]);set_shorthand("keep_fnames",options,["compress","mangle"]);set_shorthand("toplevel",options,["compress","mangle"]);set_shorthand("warnings",options,["compress"]);if(options.mangle){options.mangle=defaults(options.mangle,{cache:null,eval:false,ie8:false,keep_fnames:false,properties:false,reserved:[],toplevel:false},true)}if(options.sourceMap){options.sourceMap=defaults(options.sourceMap,{content:null,filename:null,includeSources:false,root:null,url:null},true)}var warnings=[];if(options.warnings&&!AST_Node.warn_function){AST_Node.warn_function=function(warning){warnings.push(warning)}}var toplevel;if(files instanceof AST_Toplevel){toplevel=files}else{options.parse=options.parse||{};options.parse.toplevel=null;for(var name in files){options.parse.filename=name;options.parse.toplevel=parse(files[name],options.parse);if(options.sourceMap&&options.sourceMap.content=="inline"){if(Object.keys(files).length>1)throw new Error("inline source map only works with singular input");options.sourceMap.content=read_source_map(files[name])}}toplevel=options.parse.toplevel}if(options.wrap){toplevel=toplevel.wrap_commonjs(options.wrap)}if(options.compress){toplevel.figure_out_scope(options.mangle);toplevel=new Compressor(options.compress).compress(toplevel)}if(options.mangle){toplevel.figure_out_scope(options.mangle);base54.reset();toplevel.compute_char_frequency(options.mangle);toplevel.mangle_names(options.mangle);if(options.mangle.properties){toplevel=mangle_properties(toplevel,options.mangle.properties)}}var result={};if(options.output.ast){result.ast=toplevel}if(!HOP(options.output,"code")||options.output.code){if(options.sourceMap){if(typeof options.sourceMap.content=="string"){options.sourceMap.content=JSON.parse(options.sourceMap.content)}options.output.source_map=SourceMap({file:options.sourceMap.filename,orig:options.sourceMap.content,root:options.sourceMap.root});if(options.sourceMap.includeSources){for(var name in files){options.output.source_map.get().setSourceContent(name,files[name])}}}delete options.output.ast;delete options.output.code;var stream=OutputStream(options.output);toplevel.print(stream);result.code=stream.get();if(options.sourceMap){result.map=options.output.source_map.toString();if(options.sourceMap.url=="inline"){result.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+to_base64(result.map)}else if(options.sourceMap.url){result.code+="\n//# sourceMappingURL="+options.sourceMap.url}}}if(warnings.length){result.warnings=warnings}return result}catch(ex){return{error:ex}}finally{AST_Node.warn_function=warn_function}}exports["Dictionary"]=Dictionary;exports["TreeWalker"]=TreeWalker;exports["minify"]=minify;exports["_push_uniq"]=push_uniq})(typeof exports=="undefined"?exports={}:exports);
+(function(exports){"use strict";function array_to_hash(a){var ret=Object.create(null);for(var i=0;i<a.length;++i)ret[a[i]]=true;return ret}function slice(a,start){return Array.prototype.slice.call(a,start||0)}function characters(str){return str.split("")}function member(name,array){return array.indexOf(name)>=0}function find_if(func,array){for(var i=0,n=array.length;i<n;++i){if(func(array[i]))return array[i]}}function repeat_string(str,i){if(i<=0)return"";if(i==1)return str;var d=repeat_string(str,i>>1);d+=d;if(i&1)d+=str;return d}function configure_error_stack(fn){Object.defineProperty(fn.prototype,"stack",{get:function(){var err=new Error(this.message);err.name=this.name;try{throw err}catch(e){return e.stack}}})}function DefaultsError(msg,defs){this.message=msg;this.defs=defs}DefaultsError.prototype=Object.create(Error.prototype);DefaultsError.prototype.constructor=DefaultsError;DefaultsError.prototype.name="DefaultsError";configure_error_stack(DefaultsError);DefaultsError.croak=function(msg,defs){throw new DefaultsError(msg,defs)};function defaults(args,defs,croak){if(args===true)args={};var ret=args||{};if(croak)for(var i in ret)if(HOP(ret,i)&&!HOP(defs,i))DefaultsError.croak("`"+i+"` is not a supported option",defs);for(var i in defs)if(HOP(defs,i)){ret[i]=args&&HOP(args,i)?args[i]:defs[i]}return ret}function merge(obj,ext){var count=0;for(var i in ext)if(HOP(ext,i)){obj[i]=ext[i];count++}return count}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var MAP=function(){function MAP(a,f,backwards){var ret=[],top=[],i;function doit(){var val=f(a[i],i);var is_last=val instanceof Last;if(is_last)val=val.v;if(val instanceof AtTop){val=val.v;if(val instanceof Splice){top.push.apply(top,backwards?val.v.slice().reverse():val.v)}else{top.push(val)}}else if(val!==skip){if(val instanceof Splice){ret.push.apply(ret,backwards?val.v.slice().reverse():val.v)}else{ret.push(val)}}return is_last}if(a instanceof Array){if(backwards){for(i=a.length;--i>=0;)if(doit())break;ret.reverse();top.reverse()}else{for(i=0;i<a.length;++i)if(doit())break}}else{for(i in a)if(HOP(a,i))if(doit())break}return top.concat(ret)}MAP.at_top=function(val){return new AtTop(val)};MAP.splice=function(val){return new Splice(val)};MAP.last=function(val){return new Last(val)};var skip=MAP.skip={};function AtTop(val){this.v=val}function Splice(val){this.v=val}function Last(val){this.v=val}return MAP}();function push_uniq(array,el){if(array.indexOf(el)<0)array.push(el)}function string_template(text,props){return text.replace(/\{(.+?)\}/g,function(str,p){return props&&props[p]})}function remove(array,el){for(var i=array.length;--i>=0;){if(array[i]===el)array.splice(i,1)}}function mergeSort(array,cmp){if(array.length<2)return array.slice();function merge(a,b){var r=[],ai=0,bi=0,i=0;while(ai<a.length&&bi<b.length){cmp(a[ai],b[bi])<=0?r[i++]=a[ai++]:r[i++]=b[bi++]}if(ai<a.length)r.push.apply(r,a.slice(ai));if(bi<b.length)r.push.apply(r,b.slice(bi));return r}function _ms(a){if(a.length<=1)return a;var m=Math.floor(a.length/2),left=a.slice(0,m),right=a.slice(m);left=_ms(left);right=_ms(right);return merge(left,right)}return _ms(array)}function set_difference(a,b){return a.filter(function(el){return b.indexOf(el)<0})}function set_intersection(a,b){return a.filter(function(el){return b.indexOf(el)>=0})}function makePredicate(words){if(!(words instanceof Array))words=words.split(" ");var f="",cats=[];out:for(var i=0;i<words.length;++i){for(var j=0;j<cats.length;++j)if(cats[j][0].length==words[i].length){cats[j].push(words[i]);continue out}cats.push([words[i]])}function quote(word){return JSON.stringify(word).replace(/[\u2028\u2029]/g,function(s){switch(s){case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}return s})}function compareTo(arr){if(arr.length==1)return f+="return str === "+quote(arr[0])+";";f+="switch(str){";for(var i=0;i<arr.length;++i)f+="case "+quote(arr[i])+":";f+="return true}return false;"}if(cats.length>3){cats.sort(function(a,b){return b.length-a.length});f+="switch(str.length){";for(var i=0;i<cats.length;++i){var cat=cats[i];f+="case "+cat[0].length+":";compareTo(cat)}f+="}"}else{compareTo(words)}return new Function("str",f)}function all(array,predicate){for(var i=array.length;--i>=0;)if(!predicate(array[i]))return false;return true}function Dictionary(){this._values=Object.create(null);this._size=0}Dictionary.prototype={set:function(key,val){if(!this.has(key))++this._size;this._values["$"+key]=val;return this},add:function(key,val){if(this.has(key)){this.get(key).push(val)}else{this.set(key,[val])}return this},get:function(key){return this._values["$"+key]},del:function(key){if(this.has(key)){--this._size;delete this._values["$"+key]}return this},has:function(key){return"$"+key in this._values},each:function(f){for(var i in this._values)f(this._values[i],i.substr(1))},size:function(){return this._size},map:function(f){var ret=[];for(var i in this._values)ret.push(f(this._values[i],i.substr(1)));return ret},toObject:function(){return this._values}};Dictionary.fromObject=function(obj){var dict=new Dictionary;dict._size=merge(dict._values,obj);return dict};function HOP(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}function first_in_statement(stack){var node=stack.parent(-1);for(var i=0,p;p=stack.parent(i);i++){if(p instanceof AST_Statement&&p.body===node)return true;if(p instanceof AST_Sequence&&p.expressions[0]===node||p instanceof AST_Call&&p.expression===node&&!(p instanceof AST_New)||p instanceof AST_Dot&&p.expression===node||p instanceof AST_Sub&&p.expression===node||p instanceof AST_Conditional&&p.condition===node||p instanceof AST_Binary&&p.left===node||p instanceof AST_UnaryPostfix&&p.expression===node){node=p}else{return false}}}"use strict";function DEFNODE(type,props,methods,base){if(arguments.length<4)base=AST_Node;if(!props)props=[];else props=props.split(/\s+/);var self_props=props;if(base&&base.PROPS)props=props.concat(base.PROPS);var code="return function AST_"+type+"(props){ if (props) { ";for(var i=props.length;--i>=0;){code+="this."+props[i]+" = props."+props[i]+";"}var proto=base&&new base;if(proto&&proto.initialize||methods&&methods.initialize)code+="this.initialize();";code+="}}";var ctor=new Function(code)();if(proto){ctor.prototype=proto;ctor.BASE=base}if(base)base.SUBCLASSES.push(ctor);ctor.prototype.CTOR=ctor;ctor.PROPS=props||null;ctor.SELF_PROPS=self_props;ctor.SUBCLASSES=[];if(type){ctor.prototype.TYPE=ctor.TYPE=type}if(methods)for(i in methods)if(HOP(methods,i)){if(/^\$/.test(i)){ctor[i.substr(1)]=methods[i]}else{ctor.prototype[i]=methods[i]}}ctor.DEFMETHOD=function(name,method){this.prototype[name]=method};if(typeof exports!=="undefined"){exports["AST_"+type]=ctor}return ctor}var AST_Token=DEFNODE("Token","type value line col pos endline endcol endpos nlb comments_before file raw",{},null);var AST_Node=DEFNODE("Node","start end",{_clone:function(deep){if(deep){var self=this.clone();return self.transform(new TreeTransformer(function(node){if(node!==self){return node.clone(true)}}))}return new this.CTOR(this)},clone:function(deep){return this._clone(deep)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(visitor){return visitor._visit(this)},walk:function(visitor){return this._walk(visitor)}},null);AST_Node.warn_function=null;AST_Node.warn=function(txt,props){if(AST_Node.warn_function)AST_Node.warn_function(string_template(txt,props))};var AST_Statement=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var AST_Debugger=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},AST_Statement);var AST_Directive=DEFNODE("Directive","value scope quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",scope:"[AST_Scope/S] The scope that this directive affects",quote:"[string] the original quote character"}},AST_Statement);var AST_SimpleStatement=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(visitor){return visitor._visit(this,function(){this.body._walk(visitor)})}},AST_Statement);function walk_body(node,visitor){var body=node.body;if(body instanceof AST_Statement){body._walk(visitor)}else for(var i=0,len=body.length;i<len;i++){body[i]._walk(visitor)}}var AST_Block=DEFNODE("Block","body",{$documentation:"A body of statements (usually bracketed)",$propdoc:{body:"[AST_Statement*] an array of statements"},_walk:function(visitor){return visitor._visit(this,function(){walk_body(this,visitor)})}},AST_Statement);var AST_BlockStatement=DEFNODE("BlockStatement",null,{$documentation:"A block statement"},AST_Block);var AST_EmptyStatement=DEFNODE("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)"},AST_Statement);var AST_StatementWithBody=DEFNODE("StatementWithBody","body",{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},AST_Statement);var AST_LabeledStatement=DEFNODE("LabeledStatement","label",{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(visitor){return visitor._visit(this,function(){this.label._walk(visitor);this.body._walk(visitor)})},clone:function(deep){var node=this._clone(deep);if(deep){var label=node.label;var def=this.label;node.walk(new TreeWalker(function(node){if(node instanceof AST_LoopControl&&node.label&&node.label.thedef===def){node.label.thedef=label;label.references.push(node)}}))}return node}},AST_StatementWithBody);var AST_IterationStatement=DEFNODE("IterationStatement",null,{$documentation:"Internal class.  All loops inherit from it."},AST_StatementWithBody);var AST_DWLoop=DEFNODE("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition.  Should not be instanceof AST_Statement"}},AST_IterationStatement);var AST_Do=DEFNODE("Do",null,{$documentation:"A `do` statement",_walk:function(visitor){return visitor._visit(this,function(){this.body._walk(visitor);this.condition._walk(visitor)})}},AST_DWLoop);var AST_While=DEFNODE("While",null,{$documentation:"A `while` statement",_walk:function(visitor){return visitor._visit(this,function(){this.condition._walk(visitor);this.body._walk(visitor)})}},AST_DWLoop);var AST_For=DEFNODE("For","init condition step",{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(visitor){return visitor._visit(this,function(){if(this.init)this.init._walk(visitor);if(this.condition)this.condition._walk(visitor);if(this.step)this.step._walk(visitor);this.body._walk(visitor)})}},AST_IterationStatement);var AST_ForIn=DEFNODE("ForIn","init name object",{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",name:"[AST_SymbolRef?] the loop variable, only if `init` is AST_Var",object:"[AST_Node] the object that we're looping through"},_walk:function(visitor){return visitor._visit(this,function(){this.init._walk(visitor);this.object._walk(visitor);this.body._walk(visitor)})}},AST_IterationStatement);var AST_With=DEFNODE("With","expression",{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);this.body._walk(visitor)})}},AST_StatementWithBody);var AST_Scope=DEFNODE("Scope","directives variables functions uses_with uses_eval parent_scope enclosed cname",{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{directives:"[string*/S] an array of directives declared in this scope",variables:"[Object/S] a map of name -> SymbolDef for all variables/functions defined in this scope",functions:"[Object/S] like `variables`, but only lists function declarations",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"}},AST_Block);var AST_Toplevel=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Object/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(name){var body=this.body;var wrapped_tl="(function(exports){'$ORIG';})(typeof "+name+"=='undefined'?("+name+"={}):"+name+");";wrapped_tl=parse(wrapped_tl);wrapped_tl=wrapped_tl.transform(new TreeTransformer(function before(node){if(node instanceof AST_Directive&&node.value=="$ORIG"){return MAP.splice(body)}}));return wrapped_tl}},AST_Scope);var AST_Lambda=DEFNODE("Lambda","name argnames uses_arguments",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg*] array of function arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array"},_walk:function(visitor){return visitor._visit(this,function(){if(this.name)this.name._walk(visitor);var argnames=this.argnames;for(var i=0,len=argnames.length;i<len;i++){argnames[i]._walk(visitor)}walk_body(this,visitor)})}},AST_Scope);var AST_Accessor=DEFNODE("Accessor",null,{$documentation:"A setter/getter function.  The `name` property is always null."},AST_Lambda);var AST_Function=DEFNODE("Function",null,{$documentation:"A function expression"},AST_Lambda);var AST_Defun=DEFNODE("Defun",null,{$documentation:"A function definition"},AST_Lambda);var AST_Jump=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},AST_Statement);var AST_Exit=DEFNODE("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(visitor){return visitor._visit(this,this.value&&function(){this.value._walk(visitor)})}},AST_Jump);var AST_Return=DEFNODE("Return",null,{$documentation:"A `return` statement"},AST_Exit);var AST_Throw=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},AST_Exit);var AST_LoopControl=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(visitor){return visitor._visit(this,this.label&&function(){this.label._walk(visitor)})}},AST_Jump);var AST_Break=DEFNODE("Break",null,{$documentation:"A `break` statement"},AST_LoopControl);var AST_Continue=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},AST_LoopControl);var AST_If=DEFNODE("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(visitor){return visitor._visit(this,function(){this.condition._walk(visitor);this.body._walk(visitor);if(this.alternative)this.alternative._walk(visitor)})}},AST_StatementWithBody);var AST_Switch=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);walk_body(this,visitor)})}},AST_Block);var AST_SwitchBranch=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},AST_Block);var AST_Default=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},AST_SwitchBranch);var AST_Case=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);walk_body(this,visitor)})}},AST_SwitchBranch);var AST_Try=DEFNODE("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(visitor){return visitor._visit(this,function(){walk_body(this,visitor);if(this.bcatch)this.bcatch._walk(visitor);if(this.bfinally)this.bfinally._walk(visitor)})}},AST_Block);var AST_Catch=DEFNODE("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch] symbol for the exception"},_walk:function(visitor){return visitor._visit(this,function(){this.argname._walk(visitor);walk_body(this,visitor)})}},AST_Block);var AST_Finally=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},AST_Block);var AST_Definitions=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(visitor){return visitor._visit(this,function(){var definitions=this.definitions;for(var i=0,len=definitions.length;i<len;i++){definitions[i]._walk(visitor)}})}},AST_Statement);var AST_Var=DEFNODE("Var",null,{$documentation:"A `var` statement"},AST_Definitions);var AST_VarDef=DEFNODE("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_SymbolVar] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(visitor){return visitor._visit(this,function(){this.name._walk(visitor);if(this.value)this.value._walk(visitor)})}});var AST_Call=DEFNODE("Call","expression args",{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments"},_walk:function(visitor){return visitor._visit(this,function(){var args=this.args;for(var i=0,len=args.length;i<len;i++){args[i]._walk(visitor)}this.expression._walk(visitor)})}});var AST_New=DEFNODE("New",null,{$documentation:"An object instantiation.  Derives from a function call since it has exactly the same properties"},AST_Call);var AST_Sequence=DEFNODE("Sequence","expressions",{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(visitor){return visitor._visit(this,function(){this.expressions.forEach(function(node){node._walk(visitor)})})}});var AST_PropAccess=DEFNODE("PropAccess","expression property",{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the “container” expression",property:"[AST_Node|string] the property to access.  For AST_Dot this is always a plain string, while for AST_Sub it's an arbitrary AST_Node"}});var AST_Dot=DEFNODE("Dot",null,{$documentation:"A dotted property access expression",_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor)})}},AST_PropAccess);var AST_Sub=DEFNODE("Sub",null,{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor);this.property._walk(visitor)})}},AST_PropAccess);var AST_Unary=DEFNODE("Unary","operator expression",{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(visitor){return visitor._visit(this,function(){this.expression._walk(visitor)})}});var AST_UnaryPrefix=DEFNODE("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},AST_Unary);var AST_UnaryPostfix=DEFNODE("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},AST_Unary);var AST_Binary=DEFNODE("Binary","operator left right",{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(visitor){return visitor._visit(this,function(){this.left._walk(visitor);this.right._walk(visitor)})}});var AST_Conditional=DEFNODE("Conditional","condition consequent alternative",{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(visitor){return visitor._visit(this,function(){this.condition._walk(visitor);this.consequent._walk(visitor);this.alternative._walk(visitor)})}});var AST_Assign=DEFNODE("Assign",null,{$documentation:"An assignment expression — `a = b + 5`"},AST_Binary);var AST_Array=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(visitor){return visitor._visit(this,function(){var elements=this.elements;for(var i=0,len=elements.length;i<len;i++){elements[i]._walk(visitor)}})}});var AST_Object=DEFNODE("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(visitor){return visitor._visit(this,function(){var properties=this.properties;for(var i=0,len=properties.length;i<len;i++){properties[i]._walk(visitor)}})}});var AST_ObjectProperty=DEFNODE("ObjectProperty","key value",{$documentation:"Base class for literal object properties",$propdoc:{key:"[string] the property name converted to a string for ObjectKeyVal.  For setters and getters this is an AST_SymbolAccessor.",value:"[AST_Node] property value.  For setters and getters this is an AST_Accessor."},_walk:function(visitor){return visitor._visit(this,function(){this.value._walk(visitor)})}});var AST_ObjectKeyVal=DEFNODE("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"}},AST_ObjectProperty);var AST_ObjectSetter=DEFNODE("ObjectSetter",null,{$documentation:"An object setter property"},AST_ObjectProperty);var AST_ObjectGetter=DEFNODE("ObjectGetter",null,{$documentation:"An object getter property"},AST_ObjectProperty);var AST_Symbol=DEFNODE("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"});var AST_SymbolAccessor=DEFNODE("SymbolAccessor",null,{$documentation:"The name of a property accessor (setter/getter function)"},AST_Symbol);var AST_SymbolDeclaration=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var, function name or argument, symbol in catch)"},AST_Symbol);var AST_SymbolVar=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},AST_SymbolDeclaration);var AST_SymbolFunarg=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},AST_SymbolVar);var AST_SymbolDefun=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},AST_SymbolDeclaration);var AST_SymbolLambda=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},AST_SymbolDeclaration);var AST_SymbolCatch=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},AST_SymbolDeclaration);var AST_Label=DEFNODE("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[];this.thedef=this}},AST_Symbol);var AST_SymbolRef=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},AST_Symbol);var AST_LabelRef=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},AST_Symbol);var AST_This=DEFNODE("This",null,{$documentation:"The `this` symbol"},AST_Symbol);var AST_Constant=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var AST_String=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},AST_Constant);var AST_Number=DEFNODE("Number","value literal",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",literal:"[string] numeric value as string (optional)"}},AST_Constant);var AST_RegExp=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},AST_Constant);var AST_Atom=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},AST_Constant);var AST_Null=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},AST_Atom);var AST_NaN=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},AST_Atom);var AST_Undefined=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},AST_Atom);var AST_Hole=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},AST_Atom);var AST_Infinity=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},AST_Atom);var AST_Boolean=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},AST_Atom);var AST_False=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},AST_Boolean);var AST_True=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},AST_Boolean);function TreeWalker(callback){this.visit=callback;this.stack=[];this.directives=Object.create(null)}TreeWalker.prototype={_visit:function(node,descend){this.push(node);var ret=this.visit(node,descend?function(){descend.call(node)}:noop);if(!ret&&descend){descend.call(node)}this.pop(node);return ret},parent:function(n){return this.stack[this.stack.length-2-(n||0)]},push:function(node){if(node instanceof AST_Lambda){this.directives=Object.create(this.directives)}else if(node instanceof AST_Directive&&!this.directives[node.value]){this.directives[node.value]=node}this.stack.push(node)},pop:function(node){this.stack.pop();if(node instanceof AST_Lambda){this.directives=Object.getPrototypeOf(this.directives)}},self:function(){return this.stack[this.stack.length-1]},find_parent:function(type){var stack=this.stack;for(var i=stack.length;--i>=0;){var x=stack[i];if(x instanceof type)return x}},has_directive:function(type){var dir=this.directives[type];if(dir)return dir;var node=this.stack[this.stack.length-1];if(node instanceof AST_Scope){for(var i=0;i<node.body.length;++i){var st=node.body[i];if(!(st instanceof AST_Directive))break;if(st.value==type)return st}}},in_boolean_context:function(){var stack=this.stack;var i=stack.length,self=stack[--i];while(i>0){var p=stack[--i];if(p instanceof AST_If&&p.condition===self||p instanceof AST_Conditional&&p.condition===self||p instanceof AST_DWLoop&&p.condition===self||p instanceof AST_For&&p.condition===self||p instanceof AST_UnaryPrefix&&p.operator=="!"&&p.expression===self){return true}if(!(p instanceof AST_Binary&&(p.operator=="&&"||p.operator=="||")))return false;self=p}},loopcontrol_target:function(node){var stack=this.stack;if(node.label)for(var i=stack.length;--i>=0;){var x=stack[i];if(x instanceof AST_LabeledStatement&&x.label.name==node.label.name)return x.body}else for(var i=stack.length;--i>=0;){var x=stack[i];if(x instanceof AST_IterationStatement||node instanceof AST_Break&&x instanceof AST_Switch)return x}}};"use strict";var KEYWORDS="break case catch const continue debugger default delete do else finally for function if in instanceof new return switch throw try typeof var void while with";var KEYWORDS_ATOM="false null true";var RESERVED_WORDS="abstract boolean byte char class double enum export extends final float goto implements import int interface let long native package private protected public short static super synchronized this throws transient volatile yield"+" "+KEYWORDS_ATOM+" "+KEYWORDS;var KEYWORDS_BEFORE_EXPRESSION="return new delete throw else case";KEYWORDS=makePredicate(KEYWORDS);RESERVED_WORDS=makePredicate(RESERVED_WORDS);KEYWORDS_BEFORE_EXPRESSION=makePredicate(KEYWORDS_BEFORE_EXPRESSION);KEYWORDS_ATOM=makePredicate(KEYWORDS_ATOM);var OPERATOR_CHARS=makePredicate(characters("+-*&%=<>!?|~^"));var RE_HEX_NUMBER=/^0x[0-9a-f]+$/i;var RE_OCT_NUMBER=/^0[0-7]+$/;var OPERATORS=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]);var WHITESPACE_CHARS=makePredicate(characters("  \n\r\t\f\v​           \u2028\u2029   \ufeff"));var NEWLINE_CHARS=makePredicate(characters("\n\r\u2028\u2029"));var PUNC_BEFORE_EXPRESSION=makePredicate(characters("[{(,;:"));var PUNC_CHARS=makePredicate(characters("[]{}(),;:"));var REGEXP_MODIFIERS=makePredicate(characters("gmsiy"));var UNICODE={letter:new RegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"),digit:new RegExp("[\\u0030-\\u0039\\u0660-\\u0669\\u06F0-\\u06F9\\u07C0-\\u07C9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE6-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0DE6-\\u0DEF\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\u1040-\\u1049\\u1090-\\u1099\\u17E0-\\u17E9\\u1810-\\u1819\\u1946-\\u194F\\u19D0-\\u19D9\\u1A80-\\u1A89\\u1A90-\\u1A99\\u1B50-\\u1B59\\u1BB0-\\u1BB9\\u1C40-\\u1C49\\u1C50-\\u1C59\\uA620-\\uA629\\uA8D0-\\uA8D9\\uA900-\\uA909\\uA9D0-\\uA9D9\\uA9F0-\\uA9F9\\uAA50-\\uAA59\\uABF0-\\uABF9\\uFF10-\\uFF19]"),non_spacing_mark:new RegExp("[\\u0300-\\u036F\\u0483-\\u0487\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065E\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0900-\\u0902\\u093C\\u0941-\\u0948\\u094D\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09BC\\u09C1-\\u09C4\\u09CD\\u09E2\\u09E3\\u0A01\\u0A02\\u0A3C\\u0A41\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81\\u0A82\\u0ABC\\u0AC1-\\u0AC5\\u0AC7\\u0AC8\\u0ACD\\u0AE2\\u0AE3\\u0B01\\u0B3C\\u0B3F\\u0B41-\\u0B44\\u0B4D\\u0B56\\u0B62\\u0B63\\u0B82\\u0BC0\\u0BCD\\u0C3E-\\u0C40\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0CBC\\u0CBF\\u0CC6\\u0CCC\\u0CCD\\u0CE2\\u0CE3\\u0D41-\\u0D44\\u0D4D\\u0D62\\u0D63\\u0DCA\\u0DD2-\\u0DD4\\u0DD6\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F71-\\u0F7E\\u0F80-\\u0F84\\u0F86\\u0F87\\u0F90-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102D-\\u1030\\u1032-\\u1037\\u1039\\u103A\\u103D\\u103E\\u1058\\u1059\\u105E-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108D\\u109D\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B7-\\u17BD\\u17C6\\u17C9-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193B\\u1A17\\u1A18\\u1A56\\u1A58-\\u1A5E\\u1A60\\u1A62\\u1A65-\\u1A6C\\u1A73-\\u1A7C\\u1A7F\\u1B00-\\u1B03\\u1B34\\u1B36-\\u1B3A\\u1B3C\\u1B42\\u1B6B-\\u1B73\\u1B80\\u1B81\\u1BA2-\\u1BA5\\u1BA8\\u1BA9\\u1C2C-\\u1C33\\u1C36\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE0\\u1CE2-\\u1CE8\\u1CED\\u1DC0-\\u1DE6\\u1DFD-\\u1DFF\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2CEF-\\u2CF1\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F\\uA67C\\uA67D\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA825\\uA826\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA951\\uA980-\\uA982\\uA9B3\\uA9B6-\\uA9B9\\uA9BC\\uAA29-\\uAA2E\\uAA31\\uAA32\\uAA35\\uAA36\\uAA43\\uAA4C\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uABE5\\uABE8\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE26]"),space_combining_mark:new RegExp("[\\u0903\\u093E-\\u0940\\u0949-\\u094C\\u094E\\u0982\\u0983\\u09BE-\\u09C0\\u09C7\\u09C8\\u09CB\\u09CC\\u09D7\\u0A03\\u0A3E-\\u0A40\\u0A83\\u0ABE-\\u0AC0\\u0AC9\\u0ACB\\u0ACC\\u0B02\\u0B03\\u0B3E\\u0B40\\u0B47\\u0B48\\u0B4B\\u0B4C\\u0B57\\u0BBE\\u0BBF\\u0BC1\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCC\\u0BD7\\u0C01-\\u0C03\\u0C41-\\u0C44\\u0C82\\u0C83\\u0CBE\\u0CC0-\\u0CC4\\u0CC7\\u0CC8\\u0CCA\\u0CCB\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D40\\u0D46-\\u0D48\\u0D4A-\\u0D4C\\u0D57\\u0D82\\u0D83\\u0DCF-\\u0DD1\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0F3E\\u0F3F\\u0F7F\\u102B\\u102C\\u1031\\u1038\\u103B\\u103C\\u1056\\u1057\\u1062-\\u1064\\u1067-\\u106D\\u1083\\u1084\\u1087-\\u108C\\u108F\\u109A-\\u109C\\u17B6\\u17BE-\\u17C5\\u17C7\\u17C8\\u1923-\\u1926\\u1929-\\u192B\\u1930\\u1931\\u1933-\\u1938\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A19-\\u1A1B\\u1A55\\u1A57\\u1A61\\u1A63\\u1A64\\u1A6D-\\u1A72\\u1B04\\u1B35\\u1B3B\\u1B3D-\\u1B41\\u1B43\\u1B44\\u1B82\\u1BA1\\u1BA6\\u1BA7\\u1BAA\\u1C24-\\u1C2B\\u1C34\\u1C35\\u1CE1\\u1CF2\\uA823\\uA824\\uA827\\uA880\\uA881\\uA8B4-\\uA8C3\\uA952\\uA953\\uA983\\uA9B4\\uA9B5\\uA9BA\\uA9BB\\uA9BD-\\uA9C0\\uAA2F\\uAA30\\uAA33\\uAA34\\uAA4D\\uAA7B\\uABE3\\uABE4\\uABE6\\uABE7\\uABE9\\uABEA\\uABEC]"),connector_punctuation:new RegExp("[\\u005F\\u203F\\u2040\\u2054\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFF3F]")};function is_letter(code){return code>=97&&code<=122||code>=65&&code<=90||code>=170&&UNICODE.letter.test(String.fromCharCode(code))}function is_digit(code){return code>=48&&code<=57}function is_alphanumeric_char(code){return is_digit(code)||is_letter(code)}function is_unicode_digit(code){return UNICODE.digit.test(String.fromCharCode(code))}function is_unicode_combining_mark(ch){return UNICODE.non_spacing_mark.test(ch)||UNICODE.space_combining_mark.test(ch)}function is_unicode_connector_punctuation(ch){return UNICODE.connector_punctuation.test(ch)}function is_identifier(name){return!RESERVED_WORDS(name)&&/^[a-z_$][a-z0-9_$]*$/i.test(name)}function is_identifier_start(code){return code==36||code==95||is_letter(code)}function is_identifier_char(ch){var code=ch.charCodeAt(0);return is_identifier_start(code)||is_digit(code)||code==8204||code==8205||is_unicode_combining_mark(ch)||is_unicode_connector_punctuation(ch)||is_unicode_digit(code)}function is_identifier_string(str){return/^[a-z_$][a-z0-9_$]*$/i.test(str)}function parse_js_number(num){if(RE_HEX_NUMBER.test(num)){return parseInt(num.substr(2),16)}else if(RE_OCT_NUMBER.test(num)){return parseInt(num.substr(1),8)}else{var val=parseFloat(num);if(val==num)return val}}function JS_Parse_Error(message,filename,line,col,pos){this.message=message;this.filename=filename;this.line=line;this.col=col;this.pos=pos}JS_Parse_Error.prototype=Object.create(Error.prototype);JS_Parse_Error.prototype.constructor=JS_Parse_Error;JS_Parse_Error.prototype.name="SyntaxError";configure_error_stack(JS_Parse_Error);function js_error(message,filename,line,col,pos){throw new JS_Parse_Error(message,filename,line,col,pos)}function is_token(token,type,val){return token.type==type&&(val==null||token.value==val)}var EX_EOF={};function tokenizer($TEXT,filename,html5_comments,shebang){var S={text:$TEXT,filename:filename,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,comments_before:[],directives:{},directive_stack:[]};function peek(){return S.text.charAt(S.pos)}function next(signal_eof,in_string){var ch=S.text.charAt(S.pos++);if(signal_eof&&!ch)throw EX_EOF;if(NEWLINE_CHARS(ch)){S.newline_before=S.newline_before||!in_string;++S.line;S.col=0;if(!in_string&&ch=="\r"&&peek()=="\n"){++S.pos;ch="\n"}}else{++S.col}return ch}function forward(i){while(i-- >0)next()}function looking_at(str){return S.text.substr(S.pos,str.length)==str}function find_eol(){var text=S.text;for(var i=S.pos,n=S.text.length;i<n;++i){var ch=text[i];if(NEWLINE_CHARS(ch))return i}return-1}function find(what,signal_eof){var pos=S.text.indexOf(what,S.pos);if(signal_eof&&pos==-1)throw EX_EOF;return pos}function start_token(){S.tokline=S.line;S.tokcol=S.col;S.tokpos=S.pos}var prev_was_dot=false;function token(type,value,is_comment){S.regex_allowed=type=="operator"&&!UNARY_POSTFIX(value)||type=="keyword"&&KEYWORDS_BEFORE_EXPRESSION(value)||type=="punc"&&PUNC_BEFORE_EXPRESSION(value);if(type=="punc"&&value=="."){prev_was_dot=true}else if(!is_comment){prev_was_dot=false}var ret={type:type,value:value,line:S.tokline,col:S.tokcol,pos:S.tokpos,endline:S.line,endcol:S.col,endpos:S.pos,nlb:S.newline_before,file:filename};if(/^(?:num|string|regexp)$/i.test(type)){ret.raw=$TEXT.substring(ret.pos,ret.endpos)}if(!is_comment){ret.comments_before=S.comments_before;S.comments_before=[];for(var i=0,len=ret.comments_before.length;i<len;i++){ret.nlb=ret.nlb||ret.comments_before[i].nlb}}S.newline_before=false;return new AST_Token(ret)}function skip_whitespace(){while(WHITESPACE_CHARS(peek()))next()}function read_while(pred){var ret="",ch,i=0;while((ch=peek())&&pred(ch,i++))ret+=next();return ret}function parse_error(err){js_error(err,filename,S.tokline,S.tokcol,S.tokpos)}function read_num(prefix){var has_e=false,after_e=false,has_x=false,has_dot=prefix==".";var num=read_while(function(ch,i){var code=ch.charCodeAt(0);switch(code){case 120:case 88:return has_x?false:has_x=true;case 101:case 69:return has_x?true:has_e?false:has_e=after_e=true;case 45:return after_e||i==0&&!prefix;case 43:return after_e;case after_e=false,46:return!has_dot&&!has_x&&!has_e?has_dot=true:false}return is_alphanumeric_char(code)});if(prefix)num=prefix+num;if(RE_OCT_NUMBER.test(num)&&next_token.has_directive("use strict")){parse_error("Legacy octal literals are not allowed in strict mode")}var valid=parse_js_number(num);if(!isNaN(valid)){return token("num",valid)}else{parse_error("Invalid syntax: "+num)}}function read_escaped_char(in_string){var ch=next(true,in_string);switch(ch.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2));case 117:return String.fromCharCode(hex_bytes(4));case 10:return"";case 13:if(peek()=="\n"){next(true,in_string);return""}}if(ch>="0"&&ch<="7")return read_octal_escape_sequence(ch);return ch}function read_octal_escape_sequence(ch){var p=peek();if(p>="0"&&p<="7"){ch+=next(true);if(ch[0]<="3"&&(p=peek())>="0"&&p<="7")ch+=next(true)}if(ch==="0")return"\0";if(ch.length>0&&next_token.has_directive("use strict"))parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(ch,8))}function hex_bytes(n){var num=0;for(;n>0;--n){var digit=parseInt(next(true),16);if(isNaN(digit))parse_error("Invalid hex-character pattern in string");num=num<<4|digit}return num}var read_string=with_eof_error("Unterminated string constant",function(quote_char){var quote=next(),ret="";for(;;){var ch=next(true,true);if(ch=="\\")ch=read_escaped_char(true);else if(NEWLINE_CHARS(ch))parse_error("Unterminated string constant");else if(ch==quote)break;ret+=ch}var tok=token("string",ret);tok.quote=quote_char;return tok});function skip_line_comment(type){var regex_allowed=S.regex_allowed;var i=find_eol(),ret;if(i==-1){ret=S.text.substr(S.pos);S.pos=S.text.length}else{ret=S.text.substring(S.pos,i);S.pos=i}S.col=S.tokcol+(S.pos-S.tokpos);S.comments_before.push(token(type,ret,true));S.regex_allowed=regex_allowed;return next_token}var skip_multiline_comment=with_eof_error("Unterminated multiline comment",function(){var regex_allowed=S.regex_allowed;var i=find("*/",true);var text=S.text.substring(S.pos,i).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(text.length+2);S.comments_before.push(token("comment2",text,true));S.regex_allowed=regex_allowed;return next_token});function read_name(){var backslash=false,name="",ch,escaped=false,hex;while((ch=peek())!=null){if(!backslash){if(ch=="\\")escaped=backslash=true,next();else if(is_identifier_char(ch))name+=next();else break}else{if(ch!="u")parse_error("Expecting UnicodeEscapeSequence -- uXXXX");ch=read_escaped_char();if(!is_identifier_char(ch))parse_error("Unicode char: "+ch.charCodeAt(0)+" is not valid in identifier");name+=ch;backslash=false}}if(KEYWORDS(name)&&escaped){hex=name.charCodeAt(0).toString(16).toUpperCase();name="\\u"+"0000".substr(hex.length)+hex+name.slice(1)}return name}var read_regexp=with_eof_error("Unterminated regular expression",function(source){var prev_backslash=false,ch,in_class=false;while(ch=next(true))if(NEWLINE_CHARS(ch)){parse_error("Unexpected line terminator")}else if(prev_backslash){source+="\\"+ch;prev_backslash=false}else if(ch=="["){in_class=true;source+=ch}else if(ch=="]"&&in_class){in_class=false;source+=ch}else if(ch=="/"&&!in_class){break}else if(ch=="\\"){prev_backslash=true}else{source+=ch}var mods=read_name();try{var regexp=new RegExp(source,mods);regexp.raw_source=source;return token("regexp",regexp)}catch(e){parse_error(e.message)}});function read_operator(prefix){function grow(op){if(!peek())return op;var bigger=op+peek();if(OPERATORS(bigger)){next();return grow(bigger)}else{return op}}return token("operator",grow(prefix||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return skip_multiline_comment()}return S.regex_allowed?read_regexp(""):read_operator("/")}function handle_dot(){next();return is_digit(peek().charCodeAt(0))?read_num("."):token("punc",".")}function read_word(){var word=read_name();if(prev_was_dot)return token("name",word);return KEYWORDS_ATOM(word)?token("atom",word):!KEYWORDS(word)?token("name",word):OPERATORS(word)?token("operator",word):token("keyword",word)}function with_eof_error(eof_error,cont){return function(x){try{return cont(x)}catch(ex){if(ex===EX_EOF)parse_error(eof_error);else throw ex}}}function next_token(force_regexp){if(force_regexp!=null)return read_regexp(force_regexp);if(shebang&&S.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(html5_comments){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&S.newline_before){forward(3);skip_line_comment("comment4");continue}}var ch=peek();if(!ch)return token("eof");var code=ch.charCodeAt(0);switch(code){case 34:case 39:return read_string(ch);case 46:return handle_dot();case 47:{var tok=handle_slash();if(tok===next_token)continue;return tok}}if(is_digit(code))return read_num();if(PUNC_CHARS(ch))return token("punc",next());if(OPERATOR_CHARS(ch))return read_operator();if(code==92||is_identifier_start(code))return read_word();break}parse_error("Unexpected character '"+ch+"'")}next_token.context=function(nc){if(nc)S=nc;return S};next_token.add_directive=function(directive){S.directive_stack[S.directive_stack.length-1].push(directive);if(S.directives[directive]===undefined){S.directives[directive]=1}else{S.directives[directive]++}};next_token.push_directives_stack=function(){S.directive_stack.push([])};next_token.pop_directives_stack=function(){var directives=S.directive_stack[S.directive_stack.length-1];for(var i=0;i<directives.length;i++){S.directives[directives[i]]--}S.directive_stack.pop()};next_token.has_directive=function(directive){return S.directives[directive]>0};return next_token}var UNARY_PREFIX=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var UNARY_POSTFIX=makePredicate(["--","++"]);var ASSIGNMENT=makePredicate(["=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&="]);var PRECEDENCE=function(a,ret){for(var i=0;i<a.length;++i){var b=a[i];for(var j=0;j<b.length;++j){ret[b[j]]=i+1}}return ret}([["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]],{});var STATEMENTS_WITH_LABELS=array_to_hash(["for","do","while","switch"]);var ATOMIC_START_TOKEN=array_to_hash(["atom","num","string","regexp","name"]);function parse($TEXT,options){options=defaults(options,{bare_returns:false,expression:false,filename:null,html5_comments:true,shebang:true,strict:false,toplevel:null});var S={input:typeof $TEXT=="string"?tokenizer($TEXT,options.filename,options.html5_comments,options.shebang):$TEXT,token:null,prev:null,peeked:null,in_function:0,in_directives:true,in_loop:0,labels:[]};S.token=next();function is(type,value){return is_token(S.token,type,value)}function peek(){return S.peeked||(S.peeked=S.input())}function next(){S.prev=S.token;if(S.peeked){S.token=S.peeked;S.peeked=null}else{S.token=S.input()}S.in_directives=S.in_directives&&(S.token.type=="string"||is("punc",";"));return S.token}function prev(){return S.prev}function croak(msg,line,col,pos){var ctx=S.input.context();js_error(msg,ctx.filename,line!=null?line:ctx.tokline,col!=null?col:ctx.tokcol,pos!=null?pos:ctx.tokpos)}function token_error(token,msg){croak(msg,token.line,token.col)}function unexpected(token){if(token==null)token=S.token;token_error(token,"Unexpected token: "+token.type+" ("+token.value+")")}function expect_token(type,val){if(is(type,val)){return next()}token_error(S.token,"Unexpected token "+S.token.type+" «"+S.token.value+"»"+", expected "+type+" «"+val+"»")}function expect(punc){return expect_token("punc",punc)}function can_insert_semicolon(){return!options.strict&&(S.token.nlb||is("eof")||is("punc","}"))}function semicolon(optional){if(is("punc",";"))next();else if(!optional&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var exp=expression(true);expect(")");return exp}function embed_tokens(parser){return function(){var start=S.token;var expr=parser();var end=prev();expr.start=start;expr.end=end;return expr}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){S.peeked=null;S.token=S.input(S.token.value.substr(1))}}var statement=embed_tokens(function(){handle_regexp();switch(S.token.type){case"string":if(S.in_directives){var token=peek();if(S.token.raw.indexOf("\\")==-1&&(token.nlb||is_token(token,"eof")||is_token(token,"punc",";")||is_token(token,"punc","}"))){S.input.add_directive(S.token.value)}else{S.in_directives=false}}var dir=S.in_directives,stat=simple_statement();return dir?new AST_Directive(stat.body):stat;case"num":case"regexp":case"operator":case"atom":return simple_statement();case"name":return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch(S.token.value){case"{":return new AST_BlockStatement({start:S.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":S.in_directives=false;next();return new AST_EmptyStatement;default:unexpected()}case"keyword":switch(S.token.value){case"break":next();return break_cont(AST_Break);case"continue":next();return break_cont(AST_Continue);case"debugger":next();semicolon();return new AST_Debugger;case"do":next();var body=in_loop(statement);expect_token("keyword","while");var condition=parenthesised();semicolon(true);return new AST_Do({body:body,condition:condition});case"while":next();return new AST_While({condition:parenthesised(),body:in_loop(statement)});case"for":next();return for_();case"function":next();return function_(AST_Defun);case"if":next();return if_();case"return":if(S.in_function==0&&!options.bare_returns)croak("'return' outside of function");next();var value=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){value=expression(true);semicolon()}return new AST_Return({value:value});case"switch":next();return new AST_Switch({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(S.token.nlb)croak("Illegal newline after 'throw'");var value=expression(true);semicolon();return new AST_Throw({value:value});case"try":next();return try_();case"var":next();var node=var_();semicolon();return node;case"with":if(S.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new AST_With({expression:parenthesised(),body:statement()})}}unexpected()});function labeled_statement(){var label=as_symbol(AST_Label);if(find_if(function(l){return l.name==label.name},S.labels)){croak("Label "+label.name+" defined twice")}expect(":");S.labels.push(label);var stat=statement();S.labels.pop();if(!(stat instanceof AST_IterationStatement)){label.references.forEach(function(ref){if(ref instanceof AST_Continue){ref=ref.label.start;croak("Continue label `"+label.name+"` refers to non-IterationStatement.",ref.line,ref.col,ref.pos)}})}return new AST_LabeledStatement({body:stat,label:label})}function simple_statement(tmp){return new AST_SimpleStatement({body:(tmp=expression(true),semicolon(),tmp)})}function break_cont(type){var label=null,ldef;if(!can_insert_semicolon()){label=as_symbol(AST_LabelRef,true)}if(label!=null){ldef=find_if(function(l){return l.name==label.name},S.labels);if(!ldef)croak("Undefined label "+label.name);label.thedef=ldef}else if(S.in_loop==0)croak(type.TYPE+" not inside a loop or switch");semicolon();var stat=new type({label:label});if(ldef)ldef.references.push(stat);return stat}function for_(){expect("(");var init=null;if(!is("punc",";")){init=is("keyword","var")?(next(),var_(true)):expression(true,true);if(is("operator","in")){if(init instanceof AST_Var&&init.definitions.length>1)croak("Only one variable declaration allowed in for..in loop");next();return for_in(init)}}return regular_for(init)}function regular_for(init){expect(";");var test=is("punc",";")?null:expression(true);expect(";");var step=is("punc",")")?null:expression(true);expect(")");return new AST_For({init:init,condition:test,step:step,body:in_loop(statement)})}function for_in(init){var lhs=init instanceof AST_Var?init.definitions[0].name:null;var obj=expression(true);expect(")");return new AST_ForIn({init:init,name:lhs,object:obj,body:in_loop(statement)})}var function_=function(ctor){var in_statement=ctor===AST_Defun;var name=is("name")?as_symbol(in_statement?AST_SymbolDefun:AST_SymbolLambda):null;if(in_statement&&!name)unexpected();expect("(");var argnames=[];for(var first=true;!is("punc",")");){if(first)first=false;else expect(",");argnames.push(as_symbol(AST_SymbolFunarg))}next();var loop=S.in_loop;var labels=S.labels;++S.in_function;S.in_directives=true;S.input.push_directives_stack();S.in_loop=0;S.labels=[];var body=block_();if(S.input.has_directive("use strict")){if(name)strict_verify_symbol(name);argnames.forEach(strict_verify_symbol)}S.input.pop_directives_stack();--S.in_function;S.in_loop=loop;S.labels=labels;return new ctor({name:name,argnames:argnames,body:body})};function if_(){var cond=parenthesised(),body=statement(),belse=null;if(is("keyword","else")){next();belse=statement()}return new AST_If({condition:cond,body:body,alternative:belse})}function block_(){expect("{");var a=[];while(!is("punc","}")){if(is("eof"))unexpected();a.push(statement())}next();return a}function switch_body_(){expect("{");var a=[],cur=null,branch=null,tmp;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(branch)branch.end=prev();cur=[];branch=new AST_Case({start:(tmp=S.token,next(),tmp),expression:expression(true),body:cur});a.push(branch);expect(":")}else if(is("keyword","default")){if(branch)branch.end=prev();cur=[];branch=new AST_Default({start:(tmp=S.token,next(),expect(":"),tmp),body:cur});a.push(branch)}else{if(!cur)unexpected();cur.push(statement())}}if(branch)branch.end=prev();next();return a}function try_(){var body=block_(),bcatch=null,bfinally=null;if(is("keyword","catch")){var start=S.token;next();expect("(");var name=as_symbol(AST_SymbolCatch);expect(")");bcatch=new AST_Catch({start:start,argname:name,body:block_(),end:prev()})}if(is("keyword","finally")){var start=S.token;next();bfinally=new AST_Finally({start:start,body:block_(),end:prev()})}if(!bcatch&&!bfinally)croak("Missing catch/finally blocks");return new AST_Try({body:body,bcatch:bcatch,bfinally:bfinally})}function vardefs(no_in){var a=[];for(;;){a.push(new AST_VarDef({start:S.token,name:as_symbol(AST_SymbolVar),value:is("operator","=")?(next(),expression(false,no_in)):null,end:prev()}));if(!is("punc",","))break;next()}return a}var var_=function(no_in){return new AST_Var({start:prev(),definitions:vardefs(no_in),end:prev()})};var new_=function(allow_calls){var start=S.token;expect_token("operator","new");var newexp=expr_atom(false),args;if(is("punc","(")){next();args=expr_list(")")}else{args=[]}return subscripts(new AST_New({start:start,expression:newexp,args:args,end:prev()}),allow_calls)};function as_atom_node(){var tok=S.token,ret;switch(tok.type){case"name":case"keyword":ret=_make_symbol(AST_SymbolRef);break;case"num":ret=new AST_Number({start:tok,end:tok,value:tok.value});break;case"string":ret=new AST_String({start:tok,end:tok,value:tok.value,quote:tok.quote});break;case"regexp":ret=new AST_RegExp({start:tok,end:tok,value:tok.value});break;case"atom":switch(tok.value){case"false":ret=new AST_False({start:tok,end:tok});break;case"true":ret=new AST_True({start:tok,end:tok});break;case"null":ret=new AST_Null({start:tok,end:tok});break}break;case"operator":if(!is_identifier_string(tok.value)){croak("Invalid getter/setter name: "+tok.value,tok.line,tok.col,tok.pos)}ret=_make_symbol(AST_SymbolRef);break}next();return ret}var expr_atom=function(allow_calls){if(is("operator","new")){return new_(allow_calls)}var start=S.token;if(is("punc")){switch(start.value){case"(":next();var ex=expression(true);ex.start=start;ex.end=S.token;expect(")");return subscripts(ex,allow_calls);case"[":return subscripts(array_(),allow_calls);case"{":return subscripts(object_(),allow_calls)}unexpected()}if(is("keyword","function")){next();var func=function_(AST_Function);func.start=start;func.end=prev();return subscripts(func,allow_calls)}if(ATOMIC_START_TOKEN[S.token.type]){return subscripts(as_atom_node(),allow_calls)}unexpected()};function expr_list(closing,allow_trailing_comma,allow_empty){var first=true,a=[];while(!is("punc",closing)){if(first)first=false;else expect(",");if(allow_trailing_comma&&is("punc",closing))break;if(is("punc",",")&&allow_empty){a.push(new AST_Hole({start:S.token,end:S.token}))}else{a.push(expression(false))}}next();return a}var array_=embed_tokens(function(){expect("[");return new AST_Array({elements:expr_list("]",!options.strict,true)})});var create_accessor=embed_tokens(function(){return function_(AST_Accessor)});var object_=embed_tokens(function(){expect("{");var first=true,a=[];while(!is("punc","}")){if(first)first=false;else expect(",");if(!options.strict&&is("punc","}"))break;var start=S.token;var type=start.type;var name=as_property_name();if(type=="name"&&!is("punc",":")){var key=new AST_SymbolAccessor({start:S.token,name:as_property_name(),end:prev()});if(name=="get"){a.push(new AST_ObjectGetter({start:start,key:key,value:create_accessor(),end:prev()}));continue}if(name=="set"){a.push(new AST_ObjectSetter({start:start,key:key,value:create_accessor(),end:prev()}));continue}}expect(":");a.push(new AST_ObjectKeyVal({start:start,quote:start.quote,key:name,value:expression(false),end:prev()}))}next();return new AST_Object({properties:a})});function as_property_name(){var tmp=S.token;switch(tmp.type){case"operator":if(!KEYWORDS(tmp.value))unexpected();case"num":case"string":case"name":case"keyword":case"atom":next();return tmp.value;default:unexpected()}}function as_name(){var tmp=S.token;if(tmp.type!="name")unexpected();next();return tmp.value}function _make_symbol(type){var name=S.token.value;return new(name=="this"?AST_This:type)({name:String(name),start:S.token,end:S.token})}function strict_verify_symbol(sym){if(sym.name=="arguments"||sym.name=="eval")croak("Unexpected "+sym.name+" in strict mode",sym.start.line,sym.start.col,sym.start.pos)}function as_symbol(type,noerror){if(!is("name")){if(!noerror)croak("Name expected");return null}var sym=_make_symbol(type);if(S.input.has_directive("use strict")&&sym instanceof AST_SymbolDeclaration){strict_verify_symbol(sym)}next();return sym}var subscripts=function(expr,allow_calls){var start=expr.start;if(is("punc",".")){next();return subscripts(new AST_Dot({start:start,expression:expr,property:as_name(),end:prev()}),allow_calls)}if(is("punc","[")){next();var prop=expression(true);expect("]");return subscripts(new AST_Sub({start:start,expression:expr,property:prop,end:prev()}),allow_calls)}if(allow_calls&&is("punc","(")){next();return subscripts(new AST_Call({start:start,expression:expr,args:expr_list(")"),end:prev()}),true)}return expr};var maybe_unary=function(allow_calls){var start=S.token;if(is("operator")&&UNARY_PREFIX(start.value)){next();handle_regexp();var ex=make_unary(AST_UnaryPrefix,start,maybe_unary(allow_calls));ex.start=start;ex.end=prev();return ex}var val=expr_atom(allow_calls);while(is("operator")&&UNARY_POSTFIX(S.token.value)&&!S.token.nlb){val=make_unary(AST_UnaryPostfix,S.token,val);val.start=start;val.end=S.token;next()}return val};function make_unary(ctor,token,expr){var op=token.value;switch(op){case"++":case"--":if(!is_assignable(expr))croak("Invalid use of "+op+" operator",token.line,token.col,token.pos);break;case"delete":if(expr instanceof AST_SymbolRef&&S.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",expr.start.line,expr.start.col,expr.start.pos);break}return new ctor({operator:op,expression:expr})}var expr_op=function(left,min_prec,no_in){var op=is("operator")?S.token.value:null;if(op=="in"&&no_in)op=null;var prec=op!=null?PRECEDENCE[op]:null;if(prec!=null&&prec>min_prec){next();var right=expr_op(maybe_unary(true),prec,no_in);return expr_op(new AST_Binary({start:left.start,left:left,operator:op,right:right,end:right.end}),min_prec,no_in)}return left};function expr_ops(no_in){return expr_op(maybe_unary(true),0,no_in)}var maybe_conditional=function(no_in){var start=S.token;var expr=expr_ops(no_in);if(is("operator","?")){next();var yes=expression(false);expect(":");return new AST_Conditional({start:start,condition:expr,consequent:yes,alternative:expression(false,no_in),end:prev()})}return expr};function is_assignable(expr){return expr instanceof AST_PropAccess||expr instanceof AST_SymbolRef}var maybe_assign=function(no_in){var start=S.token;var left=maybe_conditional(no_in),val=S.token.value;if(is("operator")&&ASSIGNMENT(val)){if(is_assignable(left)){next();return new AST_Assign({start:start,left:left,operator:val,right:maybe_assign(no_in),end:prev()})}croak("Invalid assignment")}return left};var expression=function(commas,no_in){var start=S.token;var exprs=[];while(true){exprs.push(maybe_assign(no_in));if(!commas||!is("punc",","))break;next();commas=true}return exprs.length==1?exprs[0]:new AST_Sequence({start:start,expressions:exprs,end:peek()})};function in_loop(cont){++S.in_loop;var ret=cont();--S.in_loop;return ret}if(options.expression){return expression(true)}return function(){var start=S.token;var body=[];S.input.push_directives_stack();while(!is("eof"))body.push(statement());S.input.pop_directives_stack();var end=prev();var toplevel=options.toplevel;if(toplevel){toplevel.body=toplevel.body.concat(body);toplevel.end=end}else{toplevel=new AST_Toplevel({start:start,body:body,end:end})}return toplevel}()}"use strict";function TreeTransformer(before,after){TreeWalker.call(this);this.before=before;this.after=after}TreeTransformer.prototype=new TreeWalker;(function(undefined){function _(node,descend){node.DEFMETHOD("transform",function(tw,in_list){var x,y;tw.push(this);if(tw.before)x=tw.before(this,descend,in_list);if(x===undefined){if(!tw.after){x=this;descend(x,tw)}else{tw.stack[tw.stack.length-1]=x=this;descend(x,tw);y=tw.after(x,in_list);if(y!==undefined)x=y}}tw.pop(this);return x})}function do_list(list,tw){return MAP(list,function(node){return node.transform(tw,true)})}_(AST_Node,noop);_(AST_LabeledStatement,function(self,tw){self.label=self.label.transform(tw);self.body=self.body.transform(tw)});_(AST_SimpleStatement,function(self,tw){self.body=self.body.transform(tw)});_(AST_Block,function(self,tw){self.body=do_list(self.body,tw)});_(AST_DWLoop,function(self,tw){self.condition=self.condition.transform(tw);self.body=self.body.transform(tw)});_(AST_For,function(self,tw){if(self.init)self.init=self.init.transform(tw);if(self.condition)self.condition=self.condition.transform(tw);if(self.step)self.step=self.step.transform(tw);self.body=self.body.transform(tw)});_(AST_ForIn,function(self,tw){self.init=self.init.transform(tw);self.object=self.object.transform(tw);self.body=self.body.transform(tw)});_(AST_With,function(self,tw){self.expression=self.expression.transform(tw);self.body=self.body.transform(tw)});_(AST_Exit,function(self,tw){if(self.value)self.value=self.value.transform(tw)});_(AST_LoopControl,function(self,tw){if(self.label)self.label=self.label.transform(tw)});_(AST_If,function(self,tw){self.condition=self.condition.transform(tw);self.body=self.body.transform(tw);if(self.alternative)self.alternative=self.alternative.transform(tw)});_(AST_Switch,function(self,tw){self.expression=self.expression.transform(tw);self.body=do_list(self.body,tw)});_(AST_Case,function(self,tw){self.expression=self.expression.transform(tw);self.body=do_list(self.body,tw)});_(AST_Try,function(self,tw){self.body=do_list(self.body,tw);if(self.bcatch)self.bcatch=self.bcatch.transform(tw);if(self.bfinally)self.bfinally=self.bfinally.transform(tw)});_(AST_Catch,function(self,tw){self.argname=self.argname.transform(tw);self.body=do_list(self.body,tw)});_(AST_Definitions,function(self,tw){self.definitions=do_list(self.definitions,tw)});_(AST_VarDef,function(self,tw){self.name=self.name.transform(tw);if(self.value)self.value=self.value.transform(tw)});_(AST_Lambda,function(self,tw){if(self.name)self.name=self.name.transform(tw);self.argnames=do_list(self.argnames,tw);self.body=do_list(self.body,tw)});_(AST_Call,function(self,tw){self.expression=self.expression.transform(tw);self.args=do_list(self.args,tw)});_(AST_Sequence,function(self,tw){self.expressions=do_list(self.expressions,tw)});_(AST_Dot,function(self,tw){self.expression=self.expression.transform(tw)});_(AST_Sub,function(self,tw){self.expression=self.expression.transform(tw);self.property=self.property.transform(tw)});_(AST_Unary,function(self,tw){self.expression=self.expression.transform(tw)});_(AST_Binary,function(self,tw){self.left=self.left.transform(tw);self.right=self.right.transform(tw)});_(AST_Conditional,function(self,tw){self.condition=self.condition.transform(tw);self.consequent=self.consequent.transform(tw);self.alternative=self.alternative.transform(tw)});_(AST_Array,function(self,tw){self.elements=do_list(self.elements,tw)});_(AST_Object,function(self,tw){self.properties=do_list(self.properties,tw)});_(AST_ObjectProperty,function(self,tw){self.value=self.value.transform(tw)})})();"use strict";function SymbolDef(scope,index,orig){this.name=orig.name;this.orig=[orig];this.scope=scope;this.references=[];this.global=false;this.mangled_name=null;this.undeclared=false;this.index=index;this.id=SymbolDef.next_id++}SymbolDef.next_id=1;SymbolDef.prototype={unmangleable:function(options){if(!options)options={};return this.global&&!options.toplevel||this.undeclared||!options.eval&&(this.scope.uses_eval||this.scope.uses_with)||options.keep_fnames&&(this.orig[0]instanceof AST_SymbolLambda||this.orig[0]instanceof AST_SymbolDefun)},mangle:function(options){var cache=options.cache&&options.cache.props;if(this.global&&cache&&cache.has(this.name)){this.mangled_name=cache.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(options)){var s=this.scope;var sym=this.orig[0];if(options.ie8&&sym instanceof AST_SymbolLambda)s=s.parent_scope;var def;if(this.defun&&(def=this.defun.variables.get(this.name))){this.mangled_name=def.mangled_name||def.name}else this.mangled_name=s.next_mangled(options,this);if(this.global&&cache){cache.set(this.name,this.mangled_name)}}}};AST_Toplevel.DEFMETHOD("figure_out_scope",function(options){options=defaults(options,{cache:null,ie8:false});var self=this;var scope=self.parent_scope=null;var labels=new Dictionary;var defun=null;var tw=new TreeWalker(function(node,descend){if(node instanceof AST_Catch){var save_scope=scope;scope=new AST_Scope(node);scope.init_scope_vars(save_scope);descend();scope=save_scope;return true}if(node instanceof AST_Scope){node.init_scope_vars(scope);var save_scope=scope;var save_defun=defun;var save_labels=labels;defun=scope=node;labels=new Dictionary;descend();scope=save_scope;defun=save_defun;labels=save_labels;return true}if(node instanceof AST_LabeledStatement){var l=node.label;if(labels.has(l.name)){throw new Error(string_template("Label {name} defined twice",l))}labels.set(l.name,l);descend();labels.del(l.name);return true}if(node instanceof AST_With){for(var s=scope;s;s=s.parent_scope)s.uses_with=true;return}if(node instanceof AST_Symbol){node.scope=scope}if(node instanceof AST_Label){node.thedef=node;node.references=[]}if(node instanceof AST_SymbolLambda){defun.def_function(node)}else if(node instanceof AST_SymbolDefun){(node.scope=defun.parent_scope).def_function(node)}else if(node instanceof AST_SymbolVar){defun.def_variable(node);if(defun!==scope){node.mark_enclosed(options);var def=scope.find_variable(node);if(node.thedef!==def){node.thedef=def;node.reference(options)}}}else if(node instanceof AST_SymbolCatch){scope.def_variable(node).defun=defun}else if(node instanceof AST_LabelRef){var sym=labels.get(node.name);if(!sym)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:node.name,line:node.start.line,col:node.start.col}));node.thedef=sym}});self.walk(tw);var func=null;var globals=self.globals=new Dictionary;var tw=new TreeWalker(function(node,descend){if(node instanceof AST_Lambda){var prev_func=func;func=node;descend();func=prev_func;return true}if(node instanceof AST_LoopControl&&node.label){node.label.thedef.references.push(node);return true}if(node instanceof AST_SymbolRef){var name=node.name;if(name=="eval"&&tw.parent()instanceof AST_Call){for(var s=node.scope;s&&!s.uses_eval;s=s.parent_scope){s.uses_eval=true}}var sym=node.scope.find_variable(name);if(node.scope instanceof AST_Lambda&&name=="arguments"){node.scope.uses_arguments=true}if(!sym){sym=self.def_global(node)}node.thedef=sym;node.reference(options);return true}});self.walk(tw);if(options.ie8){self.walk(new TreeWalker(function(node,descend){if(node instanceof AST_SymbolCatch){var name=node.name;var refs=node.thedef.references;var scope=node.thedef.defun;var def=scope.find_variable(name)||self.globals.get(name)||scope.def_variable(node);refs.forEach(function(ref){ref.thedef=def;ref.reference(options)});node.thedef=def;return true}}))}if(options.cache){this.cname=options.cache.cname}});AST_Toplevel.DEFMETHOD("def_global",function(node){var globals=this.globals,name=node.name;if(globals.has(name)){return globals.get(name)}else{var g=new SymbolDef(this,globals.size(),node);g.undeclared=true;g.global=true;globals.set(name,g);return g}});AST_Scope.DEFMETHOD("init_scope_vars",function(parent_scope){this.variables=new Dictionary;this.functions=new Dictionary;this.uses_with=false;this.uses_eval=false;this.parent_scope=parent_scope;this.enclosed=[];this.cname=-1});AST_Lambda.DEFMETHOD("init_scope_vars",function(){AST_Scope.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new AST_SymbolFunarg({name:"arguments",start:this.start,end:this.end}))});AST_Symbol.DEFMETHOD("mark_enclosed",function(options){var def=this.definition();var s=this.scope;while(s){push_uniq(s.enclosed,def);if(options.keep_fnames){s.functions.each(function(d){push_uniq(def.scope.enclosed,d)})}if(s===def.scope)break;s=s.parent_scope}});AST_Symbol.DEFMETHOD("reference",function(options){this.definition().references.push(this);this.mark_enclosed(options)});AST_Scope.DEFMETHOD("find_variable",function(name){if(name instanceof AST_Symbol)name=name.name;return this.variables.get(name)||this.parent_scope&&this.parent_scope.find_variable(name)});AST_Scope.DEFMETHOD("def_function",function(symbol){this.functions.set(symbol.name,this.def_variable(symbol))});AST_Scope.DEFMETHOD("def_variable",function(symbol){var def;if(!this.variables.has(symbol.name)){def=new SymbolDef(this,this.variables.size(),symbol);this.variables.set(symbol.name,def);def.global=!this.parent_scope}else{def=this.variables.get(symbol.name);def.orig.push(symbol)}return symbol.thedef=def});AST_Scope.DEFMETHOD("next_mangled",function(options){var ext=this.enclosed;out:while(true){var m=base54(++this.cname);if(!is_identifier(m))continue;if(options.reserved.indexOf(m)>=0)continue;for(var i=ext.length;--i>=0;){var sym=ext[i];var name=sym.mangled_name||sym.unmangleable(options)&&sym.name;if(m==name)continue out}return m}});AST_Function.DEFMETHOD("next_mangled",function(options,def){var tricky_def=def.orig[0]instanceof AST_SymbolFunarg&&this.name&&this.name.definition();var tricky_name=tricky_def?tricky_def.mangled_name||tricky_def.name:null;while(true){var name=AST_Lambda.prototype.next_mangled.call(this,options,def);if(!tricky_name||tricky_name!=name)return name}});AST_Symbol.DEFMETHOD("unmangleable",function(options){return this.definition().unmangleable(options)});AST_Label.DEFMETHOD("unmangleable",function(){return false});AST_Symbol.DEFMETHOD("unreferenced",function(){return this.definition().references.length==0&&!(this.scope.uses_eval||this.scope.uses_with)});AST_Symbol.DEFMETHOD("undeclared",function(){return this.definition().undeclared});AST_LabelRef.DEFMETHOD("undeclared",function(){return false});AST_Label.DEFMETHOD("undeclared",function(){return false});AST_Symbol.DEFMETHOD("definition",function(){return this.thedef});AST_Symbol.DEFMETHOD("global",function(){return this.definition().global});AST_Toplevel.DEFMETHOD("_default_mangler_options",function(options){return defaults(options,{eval:false,ie8:false,keep_fnames:false,reserved:[],toplevel:false})});AST_Toplevel.DEFMETHOD("mangle_names",function(options){options=this._default_mangler_options(options);options.reserved.push("arguments");var lname=-1;var to_mangle=[];if(options.cache){this.globals.each(function(symbol){if(options.reserved.indexOf(symbol.name)<0){to_mangle.push(symbol)}})}var tw=new TreeWalker(function(node,descend){if(node instanceof AST_LabeledStatement){var save_nesting=lname;descend();lname=save_nesting;return true}if(node instanceof AST_Scope){var p=tw.parent(),a=[];node.variables.each(function(symbol){if(options.reserved.indexOf(symbol.name)<0){a.push(symbol)}});to_mangle.push.apply(to_mangle,a);return}if(node instanceof AST_Label){var name;do{name=base54(++lname)}while(!is_identifier(name));node.mangled_name=name;return true}if(!options.ie8&&node instanceof AST_SymbolCatch){to_mangle.push(node.definition());return}});this.walk(tw);to_mangle.forEach(function(def){def.mangle(options)});if(options.cache){options.cache.cname=this.cname}});AST_Toplevel.DEFMETHOD("compute_char_frequency",function(options){options=this._default_mangler_options(options);var tw=new TreeWalker(function(node){if(node instanceof AST_Constant)base54.consider(node.print_to_string());else if(node instanceof AST_Return)base54.consider("return");else if(node instanceof AST_Throw)base54.consider("throw");else if(node instanceof AST_Continue)base54.consider("continue");else if(node instanceof AST_Break)base54.consider("break");else if(node instanceof AST_Debugger)base54.consider("debugger");else if(node instanceof AST_Directive)base54.consider(node.value);else if(node instanceof AST_While)base54.consider("while");else if(node instanceof AST_Do)base54.consider("do while");else if(node instanceof AST_If){base54.consider("if");if(node.alternative)base54.consider("else")}else if(node instanceof AST_Var)base54.consider("var");else if(node instanceof AST_Lambda)base54.consider("function");else if(node instanceof AST_For)base54.consider("for");else if(node instanceof AST_ForIn)base54.consider("for in");else if(node instanceof AST_Switch)base54.consider("switch");else if(node instanceof AST_Case)base54.consider("case");else if(node instanceof AST_Default)base54.consider("default");else if(node instanceof AST_With)base54.consider("with");else if(node instanceof AST_ObjectSetter)base54.consider("set"+node.key);else if(node instanceof AST_ObjectGetter)base54.consider("get"+node.key);else if(node instanceof AST_ObjectKeyVal)base54.consider(node.key);else if(node instanceof AST_New)base54.consider("new");else if(node instanceof AST_This)base54.consider("this");else if(node instanceof AST_Try)base54.consider("try");else if(node instanceof AST_Catch)base54.consider("catch");else if(node instanceof AST_Finally)base54.consider("finally");else if(node instanceof AST_Symbol&&node.unmangleable(options))base54.consider(node.name);else if(node instanceof AST_Unary||node instanceof AST_Binary)base54.consider(node.operator);else if(node instanceof AST_Dot)base54.consider(node.property)});this.walk(tw);base54.sort()});var base54=function(){var string="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_0123456789";var chars,frequency;function reset(){frequency=Object.create(null);chars=string.split("").map(function(ch){return ch.charCodeAt(0)});chars.forEach(function(ch){frequency[ch]=0})}base54.consider=function(str){for(var i=str.length;--i>=0;){var code=str.charCodeAt(i);if(code in frequency)++frequency[code]}};base54.sort=function(){chars=mergeSort(chars,function(a,b){if(is_digit(a)&&!is_digit(b))return 1;if(is_digit(b)&&!is_digit(a))return-1;return frequency[b]-frequency[a]})};base54.reset=reset;reset();base54.get=function(){return chars};base54.freq=function(){return frequency};function base54(num){var ret="",base=54;num++;do{num--;ret+=String.fromCharCode(chars[num%base]);num=Math.floor(num/base);base=64}while(num>0);return ret}return base54}();"use strict";var EXPECT_DIRECTIVE=/^$|[;{][\s\n]*$/;function is_some_comments(comment){return comment.type=="comment2"&&/@preserve|@license|@cc_on/i.test(comment.value)}function OutputStream(options){options=defaults(options,{ascii_only:false,beautify:false,bracketize:false,comments:false,ie8:false,indent_level:4,indent_start:0,inline_script:true,keep_quoted_props:false,max_line_len:false,preamble:null,preserve_line:false,quote_keys:false,quote_style:0,semicolons:true,shebang:true,source_map:null,width:80,wrap_iife:false},true);var comment_filter=return_false;if(options.comments){var comments=options.comments;if(typeof options.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(options.comments)){var regex_pos=options.comments.lastIndexOf("/");comments=new RegExp(options.comments.substr(1,regex_pos-1),options.comments.substr(regex_pos+1))}if(comments instanceof RegExp){comment_filter=function(comment){return comment.type!="comment5"&&comments.test(comment.value)}}else if(typeof comments==="function"){comment_filter=function(comment){return comment.type!="comment5"&&comments(this,comment)}}else if(comments==="some"){comment_filter=is_some_comments}else{comment_filter=return_true}}var indentation=0;var current_col=0;var current_line=1;var current_pos=0;var OUTPUT="";function to_ascii(str,identifier){return str.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(ch){var code=ch.charCodeAt(0).toString(16);if(code.length<=2&&!identifier){while(code.length<2)code="0"+code;return"\\x"+code}else{while(code.length<4)code="0"+code;return"\\u"+code}})}function make_string(str,quote){var dq=0,sq=0;str=str.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(s,i){switch(s){case'"':++dq;return'"';case"'":++sq;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return options.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-7]/.test(str.charAt(i+1))?"\\x00":"\\0"}return s});function quote_single(){return"'"+str.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+str.replace(/\x22/g,'\\"')+'"'}if(options.ascii_only)str=to_ascii(str);switch(options.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return quote=="'"?quote_single():quote_double();default:return dq>sq?quote_single():quote_double()}}function encode_string(str,quote){var ret=make_string(str,quote);if(options.inline_script){ret=ret.replace(/<\x2fscript([>\/\t\n\f\r ])/gi,"<\\/script$1");ret=ret.replace(/\x3c!--/g,"\\x3c!--");ret=ret.replace(/--\x3e/g,"--\\x3e")}return ret}function make_name(name){name=name.toString();if(options.ascii_only)name=to_ascii(name,true);return name}function make_indent(back){return repeat_string(" ",options.indent_start+indentation-back*options.indent_level)}var might_need_space=false;var might_need_semicolon=false;var might_add_newline=0;var last="";var ensure_line_len=options.max_line_len?function(){if(current_col>options.max_line_len){if(might_add_newline){var left=OUTPUT.slice(0,might_add_newline);var right=OUTPUT.slice(might_add_newline);OUTPUT=left+"\n"+right;current_line++;current_pos++;current_col=right.length}if(current_col>options.max_line_len){AST_Node.warn("Output exceeds {max_line_len} characters",options)}}might_add_newline=0}:noop;var requireSemicolonChars=makePredicate("( [ + * / - , .");function print(str){str=String(str);var ch=str.charAt(0);var prev=last.charAt(last.length-1);if(might_need_semicolon){might_need_semicolon=false;if(prev==":"&&ch=="}"||(!ch||";}".indexOf(ch)<0)&&prev!=";"){if(options.semicolons||requireSemicolonChars(ch)){OUTPUT+=";";current_col++;current_pos++}else{ensure_line_len();OUTPUT+="\n";current_pos++;current_line++;current_col=0;if(/^\s+$/.test(str)){might_need_semicolon=true}}if(!options.beautify)might_need_space=false}}if(!options.beautify&&options.preserve_line&&stack[stack.length-1]){var target_line=stack[stack.length-1].start.line;while(current_line<target_line){ensure_line_len();OUTPUT+="\n";current_pos++;current_line++;current_col=0;might_need_space=false}}if(might_need_space){if(is_identifier_char(prev)&&(is_identifier_char(ch)||ch=="\\")||ch=="/"&&ch==prev||(ch=="+"||ch=="-")&&ch==last){OUTPUT+=" ";current_col++;current_pos++}might_need_space=false}OUTPUT+=str;current_pos+=str.length;var a=str.split(/\r?\n/),n=a.length-1;current_line+=n;current_col+=a[0].length;if(n>0){ensure_line_len();current_col=a[n].length}last=str}var space=options.beautify?function(){print(" ")}:function(){might_need_space=true};var indent=options.beautify?function(half){if(options.beautify){print(make_indent(half?.5:0))}}:noop;var with_indent=options.beautify?function(col,cont){if(col===true)col=next_indent();var save_indentation=indentation;indentation=col;var ret=cont();indentation=save_indentation;return ret}:function(col,cont){return cont()};var newline=options.beautify?function(){print("\n")}:options.max_line_len?function(){ensure_line_len();might_add_newline=OUTPUT.length}:noop;var semicolon=options.beautify?function(){print(";")}:function(){might_need_semicolon=true};function force_semicolon(){might_need_semicolon=false;print(";")}function next_indent(){return indentation+options.indent_level}function with_block(cont){var ret;print("{");newline();with_indent(next_indent(),function(){ret=cont()});indent();print("}");return ret}function with_parens(cont){print("(");var ret=cont();print(")");return ret}function with_square(cont){print("[");var ret=cont();print("]");return ret}function comma(){print(",");space()}function colon(){print(":");space()}var add_mapping=options.source_map?function(token,name){try{if(token)options.source_map.add(token.file||"?",current_line,current_col,token.line,token.col,!name&&token.type=="name"?token.value:name)}catch(ex){AST_Node.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]",{file:token.file,line:token.line,col:token.col,cline:current_line,ccol:current_col,name:name||""})}}:noop;function get(){if(might_add_newline){ensure_line_len()}return OUTPUT}var stack=[];return{get:get,toString:get,indent:indent,indentation:function(){return indentation},current_width:function(){return current_col-indentation},should_break:function(){return options.width&&this.current_width()>=options.width},newline:newline,print:print,space:space,comma:comma,colon:colon,last:function(){return last},semicolon:semicolon,force_semicolon:force_semicolon,to_ascii:to_ascii,print_name:function(name){print(make_name(name))},print_string:function(str,quote,escape_directive){var encoded=encode_string(str,quote);if(escape_directive===true&&encoded.indexOf("\\")===-1){if(!EXPECT_DIRECTIVE.test(OUTPUT)){force_semicolon()}force_semicolon()}print(encoded)},encode_string:encode_string,next_indent:next_indent,with_indent:with_indent,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:add_mapping,option:function(opt){return options[opt]},comment_filter:comment_filter,line:function(){return current_line},col:function(){return current_col},pos:function(){return current_pos},push_node:function(node){stack.push(node)},pop_node:function(){return stack.pop()},parent:function(n){return stack[stack.length-2-(n||0)]}}}(function(){function DEFPRINT(nodetype,generator){nodetype.DEFMETHOD("_codegen",generator)}var use_asm=false;var in_directive=false;AST_Node.DEFMETHOD("print",function(stream,force_parens){var self=this,generator=self._codegen,prev_use_asm=use_asm;if(self instanceof AST_Directive&&self.value=="use asm"&&stream.parent()instanceof AST_Scope){use_asm=true}function doit(){self.add_comments(stream);self.add_source_map(stream);generator(self,stream)}stream.push_node(self);if(force_parens||self.needs_parens(stream)){stream.with_parens(doit)}else{doit()}stream.pop_node();if(self instanceof AST_Scope){use_asm=prev_use_asm}});AST_Node.DEFMETHOD("print_to_string",function(options){var s=OutputStream(options);if(!options)s._readonly=true;this.print(s);return s.get()});AST_Node.DEFMETHOD("add_comments",function(output){if(output._readonly)return;var self=this;var start=self.start;if(start&&!start._comments_dumped){start._comments_dumped=true;var comments=start.comments_before||[];if(self instanceof AST_Exit&&self.value){self.value.walk(new TreeWalker(function(node){if(node.start&&node.start.comments_before){comments=comments.concat(node.start.comments_before);node.start.comments_before=[]}if(node instanceof AST_Function||node instanceof AST_Array||node instanceof AST_Object){return true}}))}if(output.pos()==0){if(comments.length>0&&output.option("shebang")&&comments[0].type=="comment5"){output.print("#!"+comments.shift().value+"\n");output.indent()}var preamble=output.option("preamble");if(preamble){output.print(preamble.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}comments=comments.filter(output.comment_filter,self);if(!output.option("beautify")&&comments.length>0&&/comment[134]/.test(comments[0].type)&&output.col()!==0&&comments[0].nlb){output.print("\n")}comments.forEach(function(c){if(/comment[134]/.test(c.type)){output.print("//"+c.value+"\n");output.indent()}else if(c.type=="comment2"){output.print("/*"+c.value+"*/");if(start.nlb){output.print("\n");output.indent()}else{output.space()}}})}});function PARENS(nodetype,func){if(Array.isArray(nodetype)){nodetype.forEach(function(nodetype){PARENS(nodetype,func)})}else{nodetype.DEFMETHOD("needs_parens",func)}}PARENS(AST_Node,function(){return false});PARENS(AST_Function,function(output){if(first_in_statement(output)){return true}if(output.option("wrap_iife")){var p=output.parent();return p instanceof AST_Call&&p.expression===this}return false});PARENS(AST_Object,function(output){return first_in_statement(output)});PARENS(AST_Unary,function(output){var p=output.parent();return p instanceof AST_PropAccess&&p.expression===this||p instanceof AST_Call&&p.expression===this});PARENS(AST_Sequence,function(output){var p=output.parent();return p instanceof AST_Call||p instanceof AST_Unary||p instanceof AST_Binary||p instanceof AST_VarDef||p instanceof AST_PropAccess||p instanceof AST_Array||p instanceof AST_ObjectProperty||p instanceof AST_Conditional});PARENS(AST_Binary,function(output){var p=output.parent();if(p instanceof AST_Call&&p.expression===this)return true;if(p instanceof AST_Unary)return true;if(p instanceof AST_PropAccess&&p.expression===this)return true;if(p instanceof AST_Binary){var po=p.operator,pp=PRECEDENCE[po];var so=this.operator,sp=PRECEDENCE[so];if(pp>sp||pp==sp&&this===p.right){return true}}});PARENS(AST_PropAccess,function(output){var p=output.parent();if(p instanceof AST_New&&p.expression===this){try{this.walk(new TreeWalker(function(node){if(node instanceof AST_Call)throw p}))}catch(ex){if(ex!==p)throw ex;return true}}});PARENS(AST_Call,function(output){var p=output.parent(),p1;if(p instanceof AST_New&&p.expression===this)return true;return this.expression instanceof AST_Function&&p instanceof AST_PropAccess&&p.expression===this&&(p1=output.parent(1))instanceof AST_Assign&&p1.left===p});PARENS(AST_New,function(output){var p=output.parent();if(!need_constructor_parens(this,output)&&(p instanceof AST_PropAccess||p instanceof AST_Call&&p.expression===this))return true});PARENS(AST_Number,function(output){var p=output.parent();if(p instanceof AST_PropAccess&&p.expression===this){var value=this.getValue();if(value<0||/^0/.test(make_num(value))){return true}}});PARENS([AST_Assign,AST_Conditional],function(output){var p=output.parent();if(p instanceof AST_Unary)return true;if(p instanceof AST_Binary&&!(p instanceof AST_Assign))return true;if(p instanceof AST_Call&&p.expression===this)return true;if(p instanceof AST_Conditional&&p.condition===this)return true;if(p instanceof AST_PropAccess&&p.expression===this)return true});DEFPRINT(AST_Directive,function(self,output){output.print_string(self.value,self.quote);output.semicolon()});DEFPRINT(AST_Debugger,function(self,output){output.print("debugger");output.semicolon()});function display_body(body,is_toplevel,output,allow_directives){var last=body.length-1;in_directive=allow_directives;body.forEach(function(stmt,i){if(in_directive===true&&!(stmt instanceof AST_Directive||stmt instanceof AST_EmptyStatement||stmt instanceof AST_SimpleStatement&&stmt.body instanceof AST_String)){in_directive=false}if(!(stmt instanceof AST_EmptyStatement)){output.indent();stmt.print(output);if(!(i==last&&is_toplevel)){output.newline();if(is_toplevel)output.newline()}}if(in_directive===true&&stmt instanceof AST_SimpleStatement&&stmt.body instanceof AST_String){in_directive=false}});in_directive=false}AST_StatementWithBody.DEFMETHOD("_do_print_body",function(output){force_statement(this.body,output)});DEFPRINT(AST_Statement,function(self,output){self.body.print(output);output.semicolon()});DEFPRINT(AST_Toplevel,function(self,output){display_body(self.body,true,output,true);output.print("")});DEFPRINT(AST_LabeledStatement,function(self,output){self.label.print(output);output.colon();self.body.print(output)});DEFPRINT(AST_SimpleStatement,function(self,output){self.body.print(output);output.semicolon()});function print_bracketed(body,output,allow_directives){if(body.length>0)output.with_block(function(){display_body(body,false,output,allow_directives)});else output.print("{}")}DEFPRINT(AST_BlockStatement,function(self,output){print_bracketed(self.body,output)});DEFPRINT(AST_EmptyStatement,function(self,output){output.semicolon()});DEFPRINT(AST_Do,function(self,output){output.print("do");output.space();make_block(self.body,output);output.space();output.print("while");output.space();output.with_parens(function(){self.condition.print(output)});output.semicolon()});DEFPRINT(AST_While,function(self,output){output.print("while");output.space();output.with_parens(function(){self.condition.print(output)});output.space();self._do_print_body(output)});DEFPRINT(AST_For,function(self,output){output.print("for");output.space();output.with_parens(function(){if(self.init){if(self.init instanceof AST_Definitions){self.init.print(output)}else{parenthesize_for_noin(self.init,output,true)}output.print(";");output.space()}else{output.print(";")}if(self.condition){self.condition.print(output);output.print(";");output.space()}else{output.print(";")}if(self.step){self.step.print(output)}});output.space();self._do_print_body(output)});DEFPRINT(AST_ForIn,function(self,output){output.print("for");output.space();output.with_parens(function(){self.init.print(output);output.space();output.print("in");output.space();self.object.print(output)});output.space();self._do_print_body(output)});DEFPRINT(AST_With,function(self,output){output.print("with");output.space();output.with_parens(function(){self.expression.print(output)});output.space();self._do_print_body(output)});AST_Lambda.DEFMETHOD("_do_print",function(output,nokeyword){var self=this;if(!nokeyword){output.print("function")}if(self.name){output.space();self.name.print(output)}output.with_parens(function(){self.argnames.forEach(function(arg,i){if(i)output.comma();arg.print(output)})});output.space();print_bracketed(self.body,output,true)});DEFPRINT(AST_Lambda,function(self,output){self._do_print(output)});AST_Exit.DEFMETHOD("_do_print",function(output,kind){output.print(kind);if(this.value){output.space();this.value.print(output)}output.semicolon()});DEFPRINT(AST_Return,function(self,output){self._do_print(output,"return")});DEFPRINT(AST_Throw,function(self,output){self._do_print(output,"throw")});AST_LoopControl.DEFMETHOD("_do_print",function(output,kind){output.print(kind);if(this.label){output.space();this.label.print(output)}output.semicolon()});DEFPRINT(AST_Break,function(self,output){self._do_print(output,"break")});DEFPRINT(AST_Continue,function(self,output){self._do_print(output,"continue")});function make_then(self,output){var b=self.body;if(output.option("bracketize")||output.option("ie8")&&b instanceof AST_Do)return make_block(b,output);if(!b)return output.force_semicolon();while(true){if(b instanceof AST_If){if(!b.alternative){make_block(self.body,output);return}b=b.alternative}else if(b instanceof AST_StatementWithBody){b=b.body}else break}force_statement(self.body,output)}DEFPRINT(AST_If,function(self,output){output.print("if");output.space();output.with_parens(function(){self.condition.print(output)});output.space();if(self.alternative){make_then(self,output);output.space();output.print("else");output.space();if(self.alternative instanceof AST_If)self.alternative.print(output);else force_statement(self.alternative,output)}else{self._do_print_body(output)}});DEFPRINT(AST_Switch,function(self,output){output.print("switch");output.space();output.with_parens(function(){self.expression.print(output)});output.space();var last=self.body.length-1;if(last<0)output.print("{}");else output.with_block(function(){self.body.forEach(function(branch,i){output.indent(true);branch.print(output);if(i<last&&branch.body.length>0)output.newline()})})});AST_SwitchBranch.DEFMETHOD("_do_print_body",function(output){output.newline();this.body.forEach(function(stmt){output.indent();stmt.print(output);output.newline()})});DEFPRINT(AST_Default,function(self,output){output.print("default:");self._do_print_body(output)});DEFPRINT(AST_Case,function(self,output){output.print("case");output.space();self.expression.print(output);output.print(":");self._do_print_body(output)});DEFPRINT(AST_Try,function(self,output){output.print("try");output.space();print_bracketed(self.body,output);if(self.bcatch){output.space();self.bcatch.print(output)}if(self.bfinally){output.space();self.bfinally.print(output)}});DEFPRINT(AST_Catch,function(self,output){output.print("catch");output.space();output.with_parens(function(){self.argname.print(output)});output.space();print_bracketed(self.body,output)});DEFPRINT(AST_Finally,function(self,output){output.print("finally");output.space();print_bracketed(self.body,output)});AST_Definitions.DEFMETHOD("_do_print",function(output,kind){output.print(kind);output.space();this.definitions.forEach(function(def,i){if(i)output.comma();def.print(output)});var p=output.parent();var in_for=p instanceof AST_For||p instanceof AST_ForIn;var avoid_semicolon=in_for&&p.init===this;if(!avoid_semicolon)output.semicolon()});DEFPRINT(AST_Var,function(self,output){self._do_print(output,"var")});function parenthesize_for_noin(node,output,noin){if(!noin)node.print(output);else try{node.walk(new TreeWalker(function(node){if(node instanceof AST_Binary&&node.operator=="in")throw output}));node.print(output)}catch(ex){if(ex!==output)throw ex;node.print(output,true)}}DEFPRINT(AST_VarDef,function(self,output){self.name.print(output);if(self.value){output.space();output.print("=");output.space();var p=output.parent(1);var noin=p instanceof AST_For||p instanceof AST_ForIn;parenthesize_for_noin(self.value,output,noin)}});DEFPRINT(AST_Call,function(self,output){self.expression.print(output);if(self instanceof AST_New&&!need_constructor_parens(self,output))return;output.with_parens(function(){self.args.forEach(function(expr,i){if(i)output.comma();expr.print(output)})})});DEFPRINT(AST_New,function(self,output){output.print("new");output.space();AST_Call.prototype._codegen(self,output)});AST_Sequence.DEFMETHOD("_do_print",function(output){this.expressions.forEach(function(node,index){if(index>0){output.comma();if(output.should_break()){output.newline();output.indent()}}node.print(output)})});DEFPRINT(AST_Sequence,function(self,output){self._do_print(output)});DEFPRINT(AST_Dot,function(self,output){var expr=self.expression;expr.print(output);if(expr instanceof AST_Number&&expr.getValue()>=0){if(!/[xa-f.)]/i.test(output.last())){output.print(".")}}output.print(".");output.add_mapping(self.end);output.print_name(self.property)});DEFPRINT(AST_Sub,function(self,output){self.expression.print(output);output.print("[");self.property.print(output);output.print("]")});DEFPRINT(AST_UnaryPrefix,function(self,output){var op=self.operator;output.print(op);if(/^[a-z]/i.test(op)||/[+-]$/.test(op)&&self.expression instanceof AST_UnaryPrefix&&/^[+-]/.test(self.expression.operator)){output.space()}self.expression.print(output)});DEFPRINT(AST_UnaryPostfix,function(self,output){self.expression.print(output);output.print(self.operator)});DEFPRINT(AST_Binary,function(self,output){var op=self.operator;self.left.print(output);if(op[0]==">"&&self.left instanceof AST_UnaryPostfix&&self.left.operator=="--"){output.print(" ")}else{output.space()}output.print(op);if((op=="<"||op=="<<")&&self.right instanceof AST_UnaryPrefix&&self.right.operator=="!"&&self.right.expression instanceof AST_UnaryPrefix&&self.right.expression.operator=="--"){output.print(" ")}else{output.space()}self.right.print(output)});DEFPRINT(AST_Conditional,function(self,output){self.condition.print(output);output.space();output.print("?");output.space();self.consequent.print(output);output.space();output.colon();self.alternative.print(output)});DEFPRINT(AST_Array,function(self,output){output.with_square(function(){var a=self.elements,len=a.length;if(len>0)output.space();a.forEach(function(exp,i){if(i)output.comma();exp.print(output);if(i===len-1&&exp instanceof AST_Hole)output.comma()});if(len>0)output.space()})});DEFPRINT(AST_Object,function(self,output){if(self.properties.length>0)output.with_block(function(){self.properties.forEach(function(prop,i){if(i){output.print(",");output.newline()}output.indent();prop.print(output)});output.newline()});else output.print("{}")});DEFPRINT(AST_ObjectKeyVal,function(self,output){var key=self.key;var quote=self.quote;if(output.option("quote_keys")){output.print_string(key+"")}else if((typeof key=="number"||!output.option("beautify")&&+key+""==key)&&parseFloat(key)>=0){output.print(make_num(key))}else if(RESERVED_WORDS(key)?!output.option("ie8"):is_identifier_string(key)){if(quote&&output.option("keep_quoted_props")){output.print_string(key,quote)}else{output.print_name(key)}}else{output.print_string(key,quote)}output.colon();self.value.print(output)});DEFPRINT(AST_ObjectSetter,function(self,output){output.print("set");output.space();self.key.print(output);self.value._do_print(output,true)});DEFPRINT(AST_ObjectGetter,function(self,output){output.print("get");output.space();self.key.print(output);self.value._do_print(output,true)});DEFPRINT(AST_Symbol,function(self,output){var def=self.definition();output.print_name(def?def.mangled_name||def.name:self.name)});DEFPRINT(AST_Hole,noop);DEFPRINT(AST_This,function(self,output){output.print("this")});DEFPRINT(AST_Constant,function(self,output){output.print(self.getValue())});DEFPRINT(AST_String,function(self,output){output.print_string(self.getValue(),self.quote,in_directive)});DEFPRINT(AST_Number,function(self,output){if(use_asm&&self.start&&self.start.raw!=null){output.print(self.start.raw)}else{output.print(make_num(self.getValue()))}});DEFPRINT(AST_RegExp,function(self,output){var regexp=self.getValue();var str=regexp.toString();if(regexp.raw_source){str="/"+regexp.raw_source+str.slice(str.lastIndexOf("/"))}if(output.option("ascii_only")){str=output.to_ascii(str)}output.print(str);var p=output.parent();if(p instanceof AST_Binary&&/^in/.test(p.operator)&&p.left===self)output.print(" ")});function force_statement(stat,output){if(output.option("bracketize")){make_block(stat,output)}else{if(!stat||stat instanceof AST_EmptyStatement)output.force_semicolon();else stat.print(output)}}function need_constructor_parens(self,output){if(self.args.length>0)return true;return output.option("beautify")}function best_of(a){var best=a[0],len=best.length;for(var i=1;i<a.length;++i){if(a[i].length<len){best=a[i];len=best.length}}return best}function make_num(num){var str=num.toString(10),a=[str.replace(/^0\./,".").replace("e+","e")],m;if(Math.floor(num)===num){if(num>=0){a.push("0x"+num.toString(16).toLowerCase(),"0"+num.toString(8))}else{a.push("-0x"+(-num).toString(16).toLowerCase(),"-0"+(-num).toString(8))}if(m=/^(.*?)(0+)$/.exec(num)){a.push(m[1]+"e"+m[2].length)}}else if(m=/^0?\.(0+)(.*)$/.exec(num)){a.push(m[2]+"e-"+(m[1].length+m[2].length),str.substr(str.indexOf(".")))}return best_of(a)}function make_block(stmt,output){if(!stmt||stmt instanceof AST_EmptyStatement)output.print("{}");else if(stmt instanceof AST_BlockStatement)stmt.print(output);else output.with_block(function(){output.indent();stmt.print(output);output.newline()})}function DEFMAP(nodetype,generator){nodetype.DEFMETHOD("add_source_map",function(stream){generator(this,stream)})}DEFMAP(AST_Node,noop);function basic_sourcemap_gen(self,output){output.add_mapping(self.start)}DEFMAP(AST_Directive,basic_sourcemap_gen);DEFMAP(AST_Debugger,basic_sourcemap_gen);DEFMAP(AST_Symbol,basic_sourcemap_gen);DEFMAP(AST_Jump,basic_sourcemap_gen);DEFMAP(AST_StatementWithBody,basic_sourcemap_gen);DEFMAP(AST_LabeledStatement,noop);DEFMAP(AST_Lambda,basic_sourcemap_gen);DEFMAP(AST_Switch,basic_sourcemap_gen);DEFMAP(AST_SwitchBranch,basic_sourcemap_gen);DEFMAP(AST_BlockStatement,basic_sourcemap_gen);DEFMAP(AST_Toplevel,noop);DEFMAP(AST_New,basic_sourcemap_gen);DEFMAP(AST_Try,basic_sourcemap_gen);DEFMAP(AST_Catch,basic_sourcemap_gen);DEFMAP(AST_Finally,basic_sourcemap_gen);DEFMAP(AST_Definitions,basic_sourcemap_gen);DEFMAP(AST_Constant,basic_sourcemap_gen);DEFMAP(AST_ObjectSetter,function(self,output){output.add_mapping(self.start,self.key.name)});DEFMAP(AST_ObjectGetter,function(self,output){output.add_mapping(self.start,self.key.name)});DEFMAP(AST_ObjectProperty,function(self,output){output.add_mapping(self.start,self.key)})})();"use strict";function Compressor(options,false_by_default){if(!(this instanceof Compressor))return new Compressor(options,false_by_default);TreeTransformer.call(this,this.before,this.after);this.options=defaults(options,{booleans:!false_by_default,cascade:!false_by_default,collapse_vars:!false_by_default,comparisons:!false_by_default,conditionals:!false_by_default,dead_code:!false_by_default,drop_console:false,drop_debugger:!false_by_default,evaluate:!false_by_default,expression:false,global_defs:{},hoist_funs:!false_by_default,hoist_vars:false,ie8:false,if_return:!false_by_default,join_vars:!false_by_default,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!false_by_default,negate_iife:!false_by_default,passes:1,properties:!false_by_default,pure_getters:!false_by_default&&"strict",pure_funcs:null,reduce_vars:!false_by_default,sequences:!false_by_default,side_effects:!false_by_default,switches:!false_by_default,top_retain:null,toplevel:!!(options&&options["top_retain"]),unsafe:false,unsafe_comps:false,unsafe_math:false,unsafe_proto:false,unsafe_regexp:false,unused:!false_by_default,warnings:false},true);var pure_funcs=this.options["pure_funcs"];if(typeof pure_funcs=="function"){this.pure_funcs=pure_funcs}else{this.pure_funcs=pure_funcs?function(node){return pure_funcs.indexOf(node.expression.print_to_string())<0}:return_true}var top_retain=this.options["top_retain"];if(top_retain instanceof RegExp){this.top_retain=function(def){return top_retain.test(def.name)}}else if(typeof top_retain=="function"){this.top_retain=top_retain}else if(top_retain){if(typeof top_retain=="string"){top_retain=top_retain.split(/,/)}this.top_retain=function(def){return top_retain.indexOf(def.name)>=0}}var toplevel=this.options["toplevel"];if(typeof toplevel=="string"){this.toplevel.funcs=/funcs/.test(toplevel);this.toplevel.vars=/vars/.test(toplevel)}else{this.toplevel=toplevel?return_true:return_false;this.toplevel.funcs=this.toplevel.vars=toplevel}var sequences=this.options["sequences"];this.sequences_limit=sequences==1?800:sequences|0;this.warnings_produced={}}Compressor.prototype=new TreeTransformer;merge(Compressor.prototype,{option:function(key){return this.options[key]},toplevel:function(def){for(var i=0,len=def.orig.length;i<len;i++)if(!this.toplevel[def.orig[i]instanceof AST_SymbolDefun?"funcs":"vars"])return false;return true},compress:function(node){if(this.option("expression")){node.process_expression(true)}var passes=+this.options.passes||1;for(var pass=0;pass<passes&&pass<3;++pass){if(pass>0||this.option("reduce_vars"))node.reset_opt_flags(this,true);node=node.transform(this)}if(this.option("expression")){node.process_expression(false)}return node},info:function(){if(this.options.warnings=="verbose"){AST_Node.warn.apply(AST_Node,arguments)}},warn:function(text,props){if(this.options.warnings){var message=string_template(text,props);if(!(message in this.warnings_produced)){this.warnings_produced[message]=true;AST_Node.warn.apply(AST_Node,arguments)}}},clear_warnings:function(){this.warnings_produced={}},before:function(node,descend,in_list){if(node._squeezed)return node;var was_scope=false;if(node instanceof AST_Scope){node=node.hoist_declarations(this);was_scope=true}descend(node,this);descend(node,this);var opt=node.optimize(this);if(was_scope&&opt instanceof AST_Scope){opt.drop_unused(this);descend(opt,this)}if(opt===node)opt._squeezed=true;return opt}});(function(){function OPT(node,optimizer){node.DEFMETHOD("optimize",function(compressor){var self=this;if(self._optimized)return self;if(compressor.has_directive("use asm"))return self;var opt=optimizer(self,compressor);opt._optimized=true;return opt})}OPT(AST_Node,function(self,compressor){return self});AST_Node.DEFMETHOD("equivalent_to",function(node){return this.TYPE==node.TYPE&&this.print_to_string()==node.print_to_string()});AST_Scope.DEFMETHOD("process_expression",function(insert,compressor){var self=this;var tt=new TreeTransformer(function(node){if(insert&&node instanceof AST_SimpleStatement){return make_node(AST_Return,node,{value:node.body})}if(!insert&&node instanceof AST_Return){if(compressor){var value=node.value&&node.value.drop_side_effect_free(compressor,true);return value?make_node(AST_SimpleStatement,node,{body:value}):make_node(AST_EmptyStatement,node)}return make_node(AST_SimpleStatement,node,{body:node.value||make_node(AST_UnaryPrefix,node,{operator:"void",expression:make_node(AST_Number,node,{value:0})})})}if(node instanceof AST_Lambda&&node!==self){return node}if(node instanceof AST_Block){var index=node.body.length-1;if(index>=0){node.body[index]=node.body[index].transform(tt)}}if(node instanceof AST_If){node.body=node.body.transform(tt);if(node.alternative){node.alternative=node.alternative.transform(tt)}}if(node instanceof AST_With){node.body=node.body.transform(tt)}return node});self.transform(tt)});AST_Node.DEFMETHOD("reset_opt_flags",function(compressor,rescan){var reduce_vars=rescan&&compressor.option("reduce_vars");var safe_ids=Object.create(null);var suppressor=new TreeWalker(function(node){if(node instanceof AST_Symbol){var d=node.definition();if(node instanceof AST_SymbolRef)d.references.push(node);d.fixed=false}});var tw=new TreeWalker(function(node,descend){node._squeezed=false;node._optimized=false;if(reduce_vars){if(node instanceof AST_Toplevel)node.globals.each(reset_def);if(node instanceof AST_Scope)node.variables.each(reset_def);if(node instanceof AST_SymbolRef){var d=node.definition();d.references.push(node);if(d.fixed===undefined||!safe_to_read(d)||is_modified(node,0,is_immutable(node.fixed_value()))){d.fixed=false}else{var parent=tw.parent();if(parent instanceof AST_Assign&&parent.operator=="="&&node===parent.right||parent instanceof AST_Call&&node!==parent.expression||parent instanceof AST_Return&&node===parent.value&&node.scope!==d.scope||parent instanceof AST_VarDef&&node===parent.value){d.escaped=true}}}if(node instanceof AST_SymbolCatch){node.definition().fixed=false}if(node instanceof AST_VarDef){var d=node.name.definition();if(d.fixed===undefined||safe_to_assign(d,node.value)){if(node.value){d.fixed=function(){return node.value};mark(d,false);descend()}else{d.fixed=null}mark(d,true);return true}else if(node.value){d.fixed=false}}if(node instanceof AST_Assign&&node.operator=="="&&node.left instanceof AST_SymbolRef){var d=node.left.definition();if(safe_to_assign(d,node.right)){d.references.push(node.left);d.fixed=function(){return node.right};mark(d,false);node.right.walk(tw);mark(d,true);return true}}if(node instanceof AST_Defun){var d=node.name.definition();if(d.global&&!compressor.toplevel(d)||safe_to_read(d)){d.fixed=false}else{d.fixed=node;mark(d,true)}var save_ids=safe_ids;safe_ids=Object.create(null);descend();safe_ids=save_ids;return true}if(node instanceof AST_Function){push();var iife;if(!node.name&&(iife=tw.parent())instanceof AST_Call&&iife.expression===node){node.argnames.forEach(function(arg,i){var d=arg.definition();if(!node.uses_arguments&&d.fixed===undefined){d.fixed=function(){return iife.args[i]||make_node(AST_Undefined,iife)};mark(d,true)}else{d.fixed=false}})}descend();pop();return true}if(node instanceof AST_Accessor){var save_ids=safe_ids;safe_ids=Object.create(null);descend();safe_ids=save_ids;return true}if(node instanceof AST_Binary&&(node.operator=="&&"||node.operator=="||")){node.left.walk(tw);push();node.right.walk(tw);pop();return true}if(node instanceof AST_Conditional){node.condition.walk(tw);push();node.consequent.walk(tw);pop();push();node.alternative.walk(tw);pop();return true}if(node instanceof AST_If){node.condition.walk(tw);push();node.body.walk(tw);pop();if(node.alternative){push();node.alternative.walk(tw);pop()}return true}if(node instanceof AST_DWLoop){push();node.condition.walk(tw);node.body.walk(tw);pop();return true}if(node instanceof AST_LabeledStatement){push();node.body.walk(tw);pop();return true}if(node instanceof AST_For){if(node.init)node.init.walk(tw);if(node.condition){push();node.condition.walk(tw);pop()}push();node.body.walk(tw);pop();if(node.step){push();node.step.walk(tw);pop()}return true}if(node instanceof AST_ForIn){node.init.walk(suppressor);node.object.walk(tw);push();node.body.walk(tw);pop();return true}if(node instanceof AST_Try){push();walk_body(node,tw);pop();if(node.bcatch){push();node.bcatch.walk(tw);pop()}if(node.bfinally)node.bfinally.walk(tw);return true}if(node instanceof AST_SwitchBranch){push();descend();pop();return true}}});this.walk(tw);function mark(def,safe){safe_ids[def.id]=safe}function safe_to_read(def){if(safe_ids[def.id]){if(def.fixed==null){var orig=def.orig[0];if(orig instanceof AST_SymbolFunarg||orig.name=="arguments")return false;def.fixed=make_node(AST_Undefined,orig)}return true}}function safe_to_assign(def,value){if(!HOP(safe_ids,def.id))return false;if(!safe_to_read(def))return false;if(def.fixed===false)return false;if(def.fixed!=null&&(!value||def.references.length>0))return false;return!def.orig.some(function(sym){return sym instanceof AST_SymbolDefun||sym instanceof AST_SymbolLambda})}function push(){safe_ids=Object.create(safe_ids)}function pop(){safe_ids=Object.getPrototypeOf(safe_ids)}function reset_def(def){def.escaped=false;if(def.scope.uses_eval){def.fixed=false}else if(!def.global||compressor.toplevel(def)){def.fixed=undefined}else{def.fixed=false}def.references=[];def.should_replace=undefined}function is_immutable(value){return value&&value.is_constant()||value instanceof AST_Lambda}function is_modified(node,level,immutable){var parent=tw.parent(level);if(is_lhs(node,parent)||!immutable&&parent instanceof AST_Call&&parent.expression===node){return true}else if(parent instanceof AST_PropAccess&&parent.expression===node){return!immutable&&is_modified(parent,level+1)}}});AST_SymbolRef.DEFMETHOD("fixed_value",function(){var fixed=this.definition().fixed;if(!fixed||fixed instanceof AST_Node)return fixed;return fixed()});function is_lhs_read_only(lhs){return lhs instanceof AST_SymbolRef&&lhs.definition().orig[0]instanceof AST_SymbolLambda}function find_variable(compressor,name){var scope,i=0;while(scope=compressor.parent(i++)){if(scope instanceof AST_Scope)break;if(scope instanceof AST_Catch){scope=scope.argname.definition().scope;break}}return scope.find_variable(name)}function make_node(ctor,orig,props){if(!props)props={};if(orig){if(!props.start)props.start=orig.start;if(!props.end)props.end=orig.end}return new ctor(props)}function make_sequence(orig,expressions){if(expressions.length==1)return expressions[0];return make_node(AST_Sequence,orig,{expressions:expressions})}function make_node_from_constant(val,orig){switch(typeof val){case"string":return make_node(AST_String,orig,{value:val});case"number":if(isNaN(val))return make_node(AST_NaN,orig);if(isFinite(val)){return 1/val<0?make_node(AST_UnaryPrefix,orig,{operator:"-",expression:make_node(AST_Number,orig,{value:-val})}):make_node(AST_Number,orig,{value:val})}return val<0?make_node(AST_UnaryPrefix,orig,{operator:"-",expression:make_node(AST_Infinity,orig)}):make_node(AST_Infinity,orig);case"boolean":return make_node(val?AST_True:AST_False,orig);case"undefined":return make_node(AST_Undefined,orig);default:if(val===null){return make_node(AST_Null,orig,{value:null})}if(val instanceof RegExp){return make_node(AST_RegExp,orig,{value:val})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof val}))}}function maintain_this_binding(parent,orig,val){if(parent instanceof AST_UnaryPrefix&&parent.operator=="delete"||parent instanceof AST_Call&&parent.expression===orig&&(val instanceof AST_PropAccess||val instanceof AST_SymbolRef&&val.name=="eval")){return make_sequence(orig,[make_node(AST_Number,orig,{value:0}),val])}return val}function merge_sequence(array,node){if(node instanceof AST_Sequence){array.push.apply(array,node.expressions)}else{array.push(node)}}function as_statement_array(thing){if(thing===null)return[];if(thing instanceof AST_BlockStatement)return thing.body;if(thing instanceof AST_EmptyStatement)return[];if(thing instanceof AST_Statement)return[thing];throw new Error("Can't convert thing to statement array")}function is_empty(thing){if(thing===null)return true;if(thing instanceof AST_EmptyStatement)return true;if(thing instanceof AST_BlockStatement)return thing.body.length==0;return false}function loop_body(x){if(x instanceof AST_Switch)return x;if(x instanceof AST_For||x instanceof AST_ForIn||x instanceof AST_DWLoop){return x.body instanceof AST_BlockStatement?x.body:x}return x}function is_iife_call(node){if(node instanceof AST_Call&&!(node instanceof AST_New)){return node.expression instanceof AST_Function||is_iife_call(node.expression)}return false}function tighten_body(statements,compressor){var CHANGED,max_iter=10;do{CHANGED=false;statements=eliminate_spurious_blocks(statements);if(compressor.option("dead_code")){statements=eliminate_dead_code(statements,compressor)}if(compressor.option("if_return")){statements=handle_if_return(statements,compressor)}if(compressor.sequences_limit>0){statements=sequencesize(statements,compressor)}if(compressor.option("join_vars")){statements=join_consecutive_vars(statements,compressor)}if(compressor.option("collapse_vars")){statements=collapse(statements,compressor)}}while(CHANGED&&max_iter-- >0);return statements;function collapse(statements,compressor){var scope=compressor.find_parent(AST_Scope);if(scope.uses_eval||scope.uses_with)return statements;var candidates=[];var stat_index=statements.length;while(--stat_index>=0){extract_candidates(statements[stat_index]);while(candidates.length>0){var candidate=candidates.pop();var lhs=get_lhs(candidate);if(!lhs||is_lhs_read_only(lhs))continue;var lvalues=get_lvalues(candidate);if(lhs instanceof AST_SymbolRef)lvalues[lhs.name]=false;var side_effects=value_has_side_effects(candidate);var hit=false,abort=false,replaced=false;var tt=new TreeTransformer(function(node,descend){if(abort)return node;if(!hit){if(node===candidate){hit=true;return node}return}var parent=tt.parent();if(node instanceof AST_Assign&&node.operator!="="&&lhs.equivalent_to(node.left)||node instanceof AST_Debugger||node instanceof AST_IterationStatement&&!(node instanceof AST_For)||node instanceof AST_SymbolRef&&node.undeclared()||node instanceof AST_Try||node instanceof AST_With||parent instanceof AST_For&&node!==parent.init){abort=true;return node}if(!(node instanceof AST_SymbolDeclaration)&&!is_lhs(node,parent)&&lhs.equivalent_to(node)){CHANGED=replaced=abort=true;compressor.info("Collapsing {name} [{file}:{line},{col}]",{name:node.print_to_string(),file:node.start.file,line:node.start.line,col:node.start.col});if(candidate instanceof AST_UnaryPostfix){return make_node(AST_UnaryPrefix,candidate,candidate)}if(candidate instanceof AST_VarDef){var def=candidate.name.definition();if(def.references.length==1&&(!def.global||compressor.toplevel(def))){return maintain_this_binding(parent,node,candidate.value)}return make_node(AST_Assign,candidate,{operator:"=",left:make_node(AST_SymbolRef,candidate.name,candidate.name),right:candidate.value})}return candidate}var sym;if(node instanceof AST_Call||node instanceof AST_Exit||node instanceof AST_PropAccess||node instanceof AST_SymbolRef&&(lvalues[node.name]||side_effects&&!references_in_scope(node.definition()))||(sym=lhs_or_def(node))&&get_symbol(sym).name in lvalues||parent instanceof AST_Binary&&(parent.operator=="&&"||parent.operator=="||")||parent instanceof AST_Case||parent instanceof AST_Conditional||parent instanceof AST_For||parent instanceof AST_If){if(!(node instanceof AST_Scope))descend(node,tt);abort=true;return node}if(node instanceof AST_Default||node instanceof AST_Scope)return node});for(var i=stat_index;!abort&&i<statements.length;i++){statements[i].transform(tt)}if(replaced&&!remove_candidate(candidate))statements.splice(stat_index,1)}}return statements;function extract_candidates(expr){if(expr instanceof AST_Assign&&!expr.left.has_side_effects(compressor)||expr instanceof AST_Unary&&(expr.operator=="++"||expr.operator=="--")){candidates.push(expr)}else if(expr instanceof AST_Sequence){expr.expressions.forEach(extract_candidates)}else if(expr instanceof AST_Definitions){expr.definitions.forEach(function(var_def){if(var_def.value)candidates.push(var_def)})}else if(expr instanceof AST_SimpleStatement){extract_candidates(expr.body)}else if(expr instanceof AST_For&&expr.init){extract_candidates(expr.init)}}function get_lhs(expr){if(expr instanceof AST_VarDef){var def=expr.name.definition();if(def.orig.length>1||def.references.length==1&&(!def.global||compressor.toplevel(def))){return make_node(AST_SymbolRef,expr.name,expr.name)}}else{return expr[expr instanceof AST_Assign?"left":"expression"]}}function get_symbol(node){while(node instanceof AST_PropAccess)node=node.expression;return node}function get_lvalues(expr){var lvalues=Object.create(null);if(expr instanceof AST_Unary)return lvalues;var scope;var tw=new TreeWalker(function(node,descend){if(node instanceof AST_Scope){var save_scope=scope;descend();scope=save_scope;return true}if(node instanceof AST_SymbolRef||node instanceof AST_PropAccess){var sym=get_symbol(node);if(sym instanceof AST_SymbolRef){lvalues[sym.name]=lvalues[sym.name]||is_lhs(node,tw.parent())}}});expr[expr instanceof AST_Assign?"right":"value"].walk(tw);return lvalues}function lhs_or_def(node){if(node instanceof AST_VarDef)return node.value&&node.name;return is_lhs(node.left,node)}function remove_candidate(expr){var found=false;return statements[stat_index].transform(new TreeTransformer(function(node,descend,in_list){if(found)return node;if(node===expr){found=true;if(node instanceof AST_VarDef){remove(node.name.definition().orig,node.name)}return in_list?MAP.skip:null}},function(node){if(node instanceof AST_Sequence)switch(node.expressions.length){case 0:return null;case 1:return node.expressions[0]}if(node instanceof AST_Definitions&&node.definitions.length==0||node instanceof AST_SimpleStatement&&!node.body){return null}}))}function value_has_side_effects(expr){if(expr instanceof AST_Unary)return false;return expr[expr instanceof AST_Assign?"right":"value"].has_side_effects(compressor)}function references_in_scope(def){if(def.orig.length==1&&def.orig[0]instanceof AST_SymbolDefun)return true;if(def.scope!==scope)return false;return def.references.every(function(ref){return ref.scope===scope})}}function eliminate_spurious_blocks(statements){var seen_dirs=[];return statements.reduce(function(a,stat){if(stat instanceof AST_BlockStatement){CHANGED=true;a.push.apply(a,eliminate_spurious_blocks(stat.body))}else if(stat instanceof AST_EmptyStatement){CHANGED=true}else if(stat instanceof AST_Directive){if(seen_dirs.indexOf(stat.value)<0){a.push(stat);seen_dirs.push(stat.value)}else{CHANGED=true}}else{a.push(stat)}return a},[])}function handle_if_return(statements,compressor){var self=compressor.self();var multiple_if_returns=has_multiple_if_returns(statements);var in_lambda=self instanceof AST_Lambda;var ret=[];loop:for(var i=statements.length;--i>=0;){var stat=statements[i];switch(true){case in_lambda&&stat instanceof AST_Return&&!stat.value&&ret.length==0:CHANGED=true;continue loop;case stat instanceof AST_If:if(stat.body instanceof AST_Return){var value=stat.body.value;if((in_lambda&&ret.length==0||ret[0]instanceof AST_Return&&!ret[0].value)&&!value&&!stat.alternative){CHANGED=true;var cond=make_node(AST_SimpleStatement,stat.condition,{body:stat.condition});ret.unshift(cond);continue loop}if(ret[0]instanceof AST_Return&&value&&ret[0].value&&!stat.alternative){CHANGED=true;stat=stat.clone();stat.alternative=ret[0];ret[0]=stat.transform(compressor);continue loop}if(multiple_if_returns&&(ret.length==0||ret[0]instanceof AST_Return)&&value&&!stat.alternative&&in_lambda){CHANGED=true;stat=stat.clone();stat.alternative=ret[0]||make_node(AST_Return,stat,{value:null});ret[0]=stat.transform(compressor);continue loop}if(in_lambda&&(!value||value instanceof AST_UnaryPrefix&&value.operator=="void")){CHANGED=true;stat=stat.clone();stat.condition=stat.condition.negate(compressor);var body=as_statement_array(stat.alternative).concat(ret);var funs=extract_functions_from_statement_array(body);stat.body=make_node(AST_BlockStatement,stat,{body:body});stat.alternative=value?make_node(AST_SimpleStatement,value,{body:value.expression}):null;ret=funs.concat([stat.transform(compressor)]);continue loop}if(compressor.option("sequences")&&i>0&&statements[i-1]instanceof AST_If&&statements[i-1].body instanceof AST_Return&&ret.length==1&&in_lambda&&ret[0]instanceof AST_SimpleStatement&&!stat.alternative){CHANGED=true;ret.push(make_node(AST_Return,ret[0],{value:null}).transform(compressor));ret.unshift(stat);continue loop}}var ab=aborts(stat.body);var lct=ab instanceof AST_LoopControl?compressor.loopcontrol_target(ab):null;if(ab&&(ab instanceof AST_Return&&!ab.value&&in_lambda||ab instanceof AST_Continue&&self===loop_body(lct)||ab instanceof AST_Break&&lct instanceof AST_BlockStatement&&self===lct)){if(ab.label){remove(ab.label.thedef.references,ab)}CHANGED=true;var body=as_statement_array(stat.body).slice(0,-1);stat=stat.clone();stat.condition=stat.condition.negate(compressor);stat.body=make_node(AST_BlockStatement,stat,{body:as_statement_array(stat.alternative).concat(ret)});stat.alternative=make_node(AST_BlockStatement,stat,{body:body});ret=[stat.transform(compressor)];continue loop}var ab=aborts(stat.alternative);var lct=ab instanceof AST_LoopControl?compressor.loopcontrol_target(ab):null;if(ab&&(ab instanceof AST_Return&&!ab.value&&in_lambda||ab instanceof AST_Continue&&self===loop_body(lct)||ab instanceof AST_Break&&lct instanceof AST_BlockStatement&&self===lct)){if(ab.label){remove(ab.label.thedef.references,ab)}CHANGED=true;stat=stat.clone();stat.body=make_node(AST_BlockStatement,stat.body,{body:as_statement_array(stat.body).concat(ret)});stat.alternative=make_node(AST_BlockStatement,stat.alternative,{body:as_statement_array(stat.alternative).slice(0,-1)});ret=[stat.transform(compressor)];continue loop}ret.unshift(stat);break;default:ret.unshift(stat);break}}return ret;function has_multiple_if_returns(statements){var n=0;for(var i=statements.length;--i>=0;){var stat=statements[i];if(stat instanceof AST_If&&stat.body instanceof AST_Return){if(++n>1)return true}}return false}}function eliminate_dead_code(statements,compressor){var has_quit=false;var orig=statements.length;var self=compressor.self();statements=statements.reduce(function(a,stat){if(has_quit){extract_declarations_from_unreachable_code(compressor,stat,a)}else{if(stat instanceof AST_LoopControl){var lct=compressor.loopcontrol_target(stat);if(stat instanceof AST_Break&&!(lct instanceof AST_IterationStatement)&&loop_body(lct)===self||stat instanceof AST_Continue&&loop_body(lct)===self){if(stat.label){remove(stat.label.thedef.references,stat)}}else{a.push(stat)}}else{a.push(stat)}if(aborts(stat))has_quit=true}return a},[]);CHANGED=statements.length!=orig;return statements}function sequencesize(statements,compressor){if(statements.length<2)return statements;var seq=[],ret=[];function push_seq(){if(!seq.length)return;var body=make_sequence(seq[0],seq);ret.push(make_node(AST_SimpleStatement,body,{body:body}));seq=[]}statements.forEach(function(stat){if(stat instanceof AST_SimpleStatement){if(seq.length>=compressor.sequences_limit)push_seq();var body=stat.body;if(seq.length>0)body=body.drop_side_effect_free(compressor);if(body)merge_sequence(seq,body)}else{push_seq();ret.push(stat)}});push_seq();ret=sequencesize_2(ret,compressor);CHANGED=ret.length!=statements.length;return ret}function sequencesize_2(statements,compressor){function cons_seq(right){ret.pop();var left=prev.body;if(!(left instanceof AST_Sequence)){left=make_node(AST_Sequence,left,{expressions:[left]})}merge_sequence(left.expressions,right);return left.transform(compressor)}var ret=[],prev=null;statements.forEach(function(stat){if(prev){if(stat instanceof AST_For){try{prev.body.walk(new TreeWalker(function(node){if(node instanceof AST_Binary&&node.operator=="in")throw cons_seq}));if(stat.init&&!(stat.init instanceof AST_Definitions)){stat.init=cons_seq(stat.init)}else if(!stat.init){stat.init=prev.body.drop_side_effect_free(compressor);ret.pop()}}catch(ex){if(ex!==cons_seq)throw ex}}else if(stat instanceof AST_If){stat.condition=cons_seq(stat.condition)}else if(stat instanceof AST_With){stat.expression=cons_seq(stat.expression)}else if(stat instanceof AST_Exit&&stat.value){stat.value=cons_seq(stat.value)}else if(stat instanceof AST_Exit){stat.value=cons_seq(make_node(AST_Undefined,stat).transform(compressor))}else if(stat instanceof AST_Switch){stat.expression=cons_seq(stat.expression)}}ret.push(stat);prev=stat instanceof AST_SimpleStatement?stat:null});return ret}function join_consecutive_vars(statements,compressor){var prev=null;return statements.reduce(function(a,stat){if(stat instanceof AST_Definitions&&prev&&prev.TYPE==stat.TYPE){prev.definitions=prev.definitions.concat(stat.definitions);CHANGED=true}else if(stat instanceof AST_For&&prev instanceof AST_Var&&(!stat.init||stat.init.TYPE==prev.TYPE)){CHANGED=true;a.pop();if(stat.init){stat.init.definitions=prev.definitions.concat(stat.init.definitions)}else{stat.init=prev}a.push(stat);prev=stat}else{prev=stat;a.push(stat)}return a},[])}}function extract_functions_from_statement_array(statements){var funs=[];for(var i=statements.length-1;i>=0;--i){var stat=statements[i];if(stat instanceof AST_Defun){statements.splice(i,1);funs.unshift(stat)}}return funs}function extract_declarations_from_unreachable_code(compressor,stat,target){if(!(stat instanceof AST_Defun)){compressor.warn("Dropping unreachable code [{file}:{line},{col}]",stat.start)}stat.walk(new TreeWalker(function(node){if(node instanceof AST_Definitions){compressor.warn("Declarations in unreachable code! [{file}:{line},{col}]",node.start);node.remove_initializers();target.push(node);return true}if(node instanceof AST_Defun){target.push(node);return true}if(node instanceof AST_Scope){return true}}))}function is_undefined(node,compressor){return node.is_undefined||node instanceof AST_Undefined||node instanceof AST_UnaryPrefix&&node.operator=="void"&&!node.expression.has_side_effects(compressor)}(function(def){AST_Node.DEFMETHOD("may_throw_on_access",function(compressor){var pure_getters=compressor.option("pure_getters");return!pure_getters||this._throw_on_access(pure_getters)});function is_strict(pure_getters){return/strict/.test(pure_getters)}def(AST_Node,is_strict);def(AST_Null,return_true);def(AST_Undefined,return_true);def(AST_Constant,return_false);def(AST_Array,return_false);def(AST_Object,function(pure_getters){if(!is_strict(pure_getters))return false;for(var i=this.properties.length;--i>=0;)if(this.properties[i].value instanceof AST_Accessor)return true;return false});def(AST_Function,return_false);def(AST_UnaryPostfix,return_false);def(AST_UnaryPrefix,function(){return this.operator=="void"});def(AST_Binary,function(pure_getters){switch(this.operator){case"&&":return this.left._throw_on_access(pure_getters);case"||":return this.left._throw_on_access(pure_getters)&&this.right._throw_on_access(pure_getters);default:return false}});def(AST_Assign,function(pure_getters){return this.operator=="="&&this.right._throw_on_access(pure_getters)});def(AST_Conditional,function(pure_getters){return this.consequent._throw_on_access(pure_getters)||this.alternative._throw_on_access(pure_getters)});def(AST_Sequence,function(pure_getters){return this.expressions[this.expressions.length-1]._throw_on_access(pure_getters)});def(AST_SymbolRef,function(pure_getters){if(this.is_undefined)return true;if(!is_strict(pure_getters))return false;var fixed=this.fixed_value();return!fixed||fixed._throw_on_access(pure_getters)})})(function(node,func){node.DEFMETHOD("_throw_on_access",func)});(function(def){var unary_bool=["!","delete"];var binary_bool=["in","instanceof","==","!=","===","!==","<","<=",">=",">"];def(AST_Node,return_false);def(AST_UnaryPrefix,function(){return member(this.operator,unary_bool)});def(AST_Binary,function(){return member(this.operator,binary_bool)||(this.operator=="&&"||this.operator=="||")&&this.left.is_boolean()&&this.right.is_boolean()});def(AST_Conditional,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()});def(AST_Assign,function(){return this.operator=="="&&this.right.is_boolean()});def(AST_Sequence,function(){return this.expressions[this.expressions.length-1].is_boolean()});def(AST_True,return_true);def(AST_False,return_true)})(function(node,func){node.DEFMETHOD("is_boolean",func)});(function(def){def(AST_Node,return_false);def(AST_Number,return_true);var unary=makePredicate("+ - ~ ++ --");def(AST_Unary,function(){return unary(this.operator)});var binary=makePredicate("- * / % & | ^ << >> >>>");def(AST_Binary,function(compressor){return binary(this.operator)||this.operator=="+"&&this.left.is_number(compressor)&&this.right.is_number(compressor)});def(AST_Assign,function(compressor){return binary(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(compressor)});def(AST_Sequence,function(compressor){return this.expressions[this.expressions.length-1].is_number(compressor)});def(AST_Conditional,function(compressor){return this.consequent.is_number(compressor)&&this.alternative.is_number(compressor)})})(function(node,func){node.DEFMETHOD("is_number",func)});(function(def){def(AST_Node,return_false);def(AST_String,return_true);def(AST_UnaryPrefix,function(){return this.operator=="typeof"});def(AST_Binary,function(compressor){return this.operator=="+"&&(this.left.is_string(compressor)||this.right.is_string(compressor))});def(AST_Assign,function(compressor){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(compressor)});def(AST_Sequence,function(compressor){return this.expressions[this.expressions.length-1].is_string(compressor)});def(AST_Conditional,function(compressor){return this.consequent.is_string(compressor)&&this.alternative.is_string(compressor)})})(function(node,func){node.DEFMETHOD("is_string",func)});var unary_side_effects=makePredicate("delete ++ --");function is_lhs(node,parent){if(parent instanceof AST_Unary&&unary_side_effects(parent.operator))return parent.expression;if(parent instanceof AST_Assign&&parent.left===node)return node}(function(def){AST_Node.DEFMETHOD("resolve_defines",function(compressor){if(!compressor.option("global_defs"))return;var def=this._find_defs(compressor,"");if(def){var node,parent=this,level=0;do{node=parent;parent=compressor.parent(level++)}while(parent instanceof AST_PropAccess&&parent.expression===node);if(is_lhs(node,parent)){compressor.warn("global_defs "+this.print_to_string()+" redefined [{file}:{line},{col}]",this.start)}else{return def}}});function to_node(value,orig){if(value instanceof AST_Node)return make_node(value.CTOR,orig,value);if(Array.isArray(value))return make_node(AST_Array,orig,{elements:value.map(function(value){return to_node(value,orig)})});if(value&&typeof value=="object"){var props=[];for(var key in value){props.push(make_node(AST_ObjectKeyVal,orig,{key:key,value:to_node(value[key],orig)}))}return make_node(AST_Object,orig,{properties:props})}return make_node_from_constant(value,orig)}def(AST_Node,noop);def(AST_Dot,function(compressor,suffix){return this.expression._find_defs(compressor,"."+this.property+suffix)});def(AST_SymbolRef,function(compressor,suffix){if(!this.global())return;var name;var defines=compressor.option("global_defs");if(defines&&HOP(defines,name=this.name+suffix)){var node=to_node(defines[name],this);var top=compressor.find_parent(AST_Toplevel);node.walk(new TreeWalker(function(node){if(node instanceof AST_SymbolRef){node.scope=top;node.thedef=top.def_global(node)}}));return node}})})(function(node,func){node.DEFMETHOD("_find_defs",func)});function best_of_expression(ast1,ast2){return ast1.print_to_string().length>ast2.print_to_string().length?ast2:ast1}function best_of_statement(ast1,ast2){return best_of_expression(make_node(AST_SimpleStatement,ast1,{body:ast1}),make_node(AST_SimpleStatement,ast2,{body:ast2})).body}function best_of(compressor,ast1,ast2){return(first_in_statement(compressor)?best_of_statement:best_of_expression)(ast1,ast2)}(function(def){AST_Node.DEFMETHOD("evaluate",function(compressor){if(!compressor.option("evaluate"))return this;try{var val=this._eval(compressor);return!val||val instanceof RegExp||typeof val!="object"?val:this}catch(ex){if(ex!==def)throw ex;return this}});var unaryPrefix=makePredicate("! ~ - + void");AST_Node.DEFMETHOD("is_constant",function(){if(this instanceof AST_Constant){return!(this instanceof AST_RegExp)}else{return this instanceof AST_UnaryPrefix&&this.expression instanceof AST_Constant&&unaryPrefix(this.operator)}});AST_Node.DEFMETHOD("constant_value",function(compressor){if(this instanceof AST_Constant&&!(this instanceof AST_RegExp)){return this.value}if(this instanceof AST_UnaryPrefix&&this.expression instanceof AST_Constant)switch(this.operator){case"!":return!this.expression.value;case"~":return~this.expression.value;case"-":return-this.expression.value;case"+":return+this.expression.value;default:throw new Error(string_template("Cannot evaluate unary expression {value}",{value:this.print_to_string()}))}var result=this.evaluate(compressor);if(result!==this){return result}throw new Error(string_template("Cannot evaluate constant [{file}:{line},{col}]",this.start))});def(AST_Statement,function(){throw new Error(string_template("Cannot evaluate a statement [{file}:{line},{col}]",this.start))});def(AST_Lambda,function(){throw def});function ev(node,compressor){if(!compressor)throw new Error("Compressor must be passed");return node._eval(compressor)}def(AST_Node,function(){throw def});def(AST_Constant,function(){return this.getValue()});def(AST_Array,function(compressor){if(compressor.option("unsafe")){return this.elements.map(function(element){return ev(element,compressor)})}throw def});def(AST_Object,function(compressor){if(compressor.option("unsafe")){var val={};for(var i=0,len=this.properties.length;i<len;i++){var prop=this.properties[i];var key=prop.key;if(key instanceof AST_Symbol){key=key.name}else if(key instanceof AST_Node){key=ev(key,compressor)}if(typeof Object.prototype[key]==="function"){throw def}val[key]=ev(prop.value,compressor)}return val}throw def});def(AST_UnaryPrefix,function(compressor){var e=this.expression;switch(this.operator){case"!":return!ev(e,compressor);case"typeof":if(e instanceof AST_Function)return typeof function(){};e=ev(e,compressor);if(e instanceof RegExp)throw def;return typeof e;case"void":return void ev(e,compressor);case"~":return~ev(e,compressor);case"-":return-ev(e,compressor);case"+":return+ev(e,compressor)}throw def});def(AST_Binary,function(c){var left=this.left,right=this.right,result;switch(this.operator){case"&&":result=ev(left,c)&&ev(right,c);break;case"||":result=ev(left,c)||ev(right,c);break;case"|":result=ev(left,c)|ev(right,c);break;case"&":result=ev(left,c)&ev(right,c);break;case"^":result=ev(left,c)^ev(right,c);break;case"+":result=ev(left,c)+ev(right,c);break;case"*":result=ev(left,c)*ev(right,c);break;case"/":result=ev(left,c)/ev(right,c);break;case"%":result=ev(left,c)%ev(right,c);break;case"-":result=ev(left,c)-ev(right,c);break;case"<<":result=ev(left,c)<<ev(right,c);break;case">>":result=ev(left,c)>>ev(right,c);break;case">>>":result=ev(left,c)>>>ev(right,c);break;case"==":result=ev(left,c)==ev(right,c);break;case"===":result=ev(left,c)===ev(right,c);break;case"!=":result=ev(left,c)!=ev(right,c);break;case"!==":result=ev(left,c)!==ev(right,c);break;case"<":result=ev(left,c)<ev(right,c);break;case"<=":result=ev(left,c)<=ev(right,c);break;case">":result=ev(left,c)>ev(right,c);break;case">=":result=ev(left,c)>=ev(right,c);break;default:throw def}if(isNaN(result)&&c.find_parent(AST_With)){throw def}return result});def(AST_Conditional,function(compressor){return ev(this.condition,compressor)?ev(this.consequent,compressor):ev(this.alternative,compressor)});def(AST_SymbolRef,function(compressor){if(!compressor.option("reduce_vars")||this._evaluating)throw def;this._evaluating=true;try{var fixed=this.fixed_value();if(!fixed)throw def;var value=ev(fixed,compressor);if(!HOP(fixed,"_eval"))fixed._eval=function(){return value};if(value&&typeof value=="object"&&this.definition().escaped)throw def;return value}finally{this._evaluating=false}});def(AST_PropAccess,function(compressor){if(compressor.option("unsafe")){var key=this.property;if(key instanceof AST_Node){key=ev(key,compressor)}var val=ev(this.expression,compressor);if(val&&HOP(val,key)){return val[key]}}throw def})})(function(node,func){node.DEFMETHOD("_eval",func)});(function(def){function basic_negation(exp){return make_node(AST_UnaryPrefix,exp,{operator:"!",expression:exp})}function best(orig,alt,first_in_statement){var negated=basic_negation(orig);if(first_in_statement){var stat=make_node(AST_SimpleStatement,alt,{body:alt});return best_of_expression(negated,stat)===stat?alt:negated}return best_of_expression(negated,alt)}def(AST_Node,function(){return basic_negation(this)});def(AST_Statement,function(){throw new Error("Cannot negate a statement")});def(AST_Function,function(){return basic_negation(this)});def(AST_UnaryPrefix,function(){if(this.operator=="!")return this.expression;return basic_negation(this)});def(AST_Sequence,function(compressor){var expressions=this.expressions.slice();expressions.push(expressions.pop().negate(compressor));return make_sequence(this,expressions)});def(AST_Conditional,function(compressor,first_in_statement){var self=this.clone();self.consequent=self.consequent.negate(compressor);self.alternative=self.alternative.negate(compressor);return best(this,self,first_in_statement)});def(AST_Binary,function(compressor,first_in_statement){var self=this.clone(),op=this.operator;if(compressor.option("unsafe_comps")){switch(op){case"<=":self.operator=">";return self;case"<":self.operator=">=";return self;case">=":self.operator="<";return self;case">":self.operator="<=";return self}}switch(op){case"==":self.operator="!=";return self;case"!=":self.operator="==";return self;case"===":self.operator="!==";return self;case"!==":self.operator="===";return self;case"&&":self.operator="||";self.left=self.left.negate(compressor,first_in_statement);self.right=self.right.negate(compressor);return best(this,self,first_in_statement);case"||":self.operator="&&";self.left=self.left.negate(compressor,first_in_statement);self.right=self.right.negate(compressor);return best(this,self,first_in_statement)}return basic_negation(this)})})(function(node,func){node.DEFMETHOD("negate",function(compressor,first_in_statement){return func.call(this,compressor,first_in_statement)})});AST_Call.DEFMETHOD("has_pure_annotation",function(compressor){if(!compressor.option("side_effects"))return false;if(this.pure!==undefined)return this.pure;var pure=false;var comments,last_comment;if(this.start&&(comments=this.start.comments_before)&&comments.length&&/[@#]__PURE__/.test((last_comment=comments[comments.length-1]).value)){pure=last_comment}return this.pure=pure});(function(def){def(AST_Node,return_true);def(AST_EmptyStatement,return_false);def(AST_Constant,return_false);def(AST_This,return_false);def(AST_Call,function(compressor){if(!this.has_pure_annotation(compressor)&&compressor.pure_funcs(this))return true;for(var i=this.args.length;--i>=0;){if(this.args[i].has_side_effects(compressor))return true}return false});function any(list,compressor){for(var i=list.length;--i>=0;)if(list[i].has_side_effects(compressor))return true;return false}def(AST_Block,function(compressor){return any(this.body,compressor)});def(AST_Switch,function(compressor){return this.expression.has_side_effects(compressor)||any(this.body,compressor)});def(AST_Case,function(compressor){return this.expression.has_side_effects(compressor)||any(this.body,compressor)});def(AST_Try,function(compressor){return any(this.body,compressor)||this.bcatch&&this.bcatch.has_side_effects(compressor)||this.bfinally&&this.bfinally.has_side_effects(compressor)});def(AST_If,function(compressor){return this.condition.has_side_effects(compressor)||this.body&&this.body.has_side_effects(compressor)||this.alternative&&this.alternative.has_side_effects(compressor)});def(AST_LabeledStatement,function(compressor){return this.body.has_side_effects(compressor)});def(AST_SimpleStatement,function(compressor){return this.body.has_side_effects(compressor)});def(AST_Defun,return_true);def(AST_Function,return_false);def(AST_Binary,function(compressor){return this.left.has_side_effects(compressor)||this.right.has_side_effects(compressor)});def(AST_Assign,return_true);def(AST_Conditional,function(compressor){return this.condition.has_side_effects(compressor)||this.consequent.has_side_effects(compressor)||this.alternative.has_side_effects(compressor)});def(AST_Unary,function(compressor){return unary_side_effects(this.operator)||this.expression.has_side_effects(compressor)});def(AST_SymbolRef,function(compressor){return this.undeclared()});def(AST_SymbolDeclaration,return_false);def(AST_Object,function(compressor){return any(this.properties,compressor)});def(AST_ObjectProperty,function(compressor){return this.value.has_side_effects(compressor)});def(AST_Array,function(compressor){return any(this.elements,compressor)});def(AST_Dot,function(compressor){return this.expression.may_throw_on_access(compressor)||this.expression.has_side_effects(compressor)});def(AST_Sub,function(compressor){return this.expression.may_throw_on_access(compressor)||this.expression.has_side_effects(compressor)||this.property.has_side_effects(compressor)});def(AST_Sequence,function(compressor){return this.expressions.some(function(expression,index){return expression.has_side_effects(compressor)})})})(function(node,func){node.DEFMETHOD("has_side_effects",func)});(function(def){function all(list){for(var i=list.length;--i>=0;)if(!list[i].is_constant_expression())return false;return true}def(AST_Node,return_false);def(AST_Constant,return_true);def(AST_Unary,function(){return this.expression.is_constant_expression()});def(AST_Binary,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()});def(AST_Array,function(){return all(this.elements)});def(AST_Object,function(){return all(this.properties)});def(AST_ObjectProperty,function(){return this.value.is_constant_expression()})})(function(node,func){node.DEFMETHOD("is_constant_expression",func)});function aborts(thing){return thing&&thing.aborts()}(function(def){def(AST_Statement,return_null);def(AST_Jump,return_this);function block_aborts(){var n=this.body.length;return n>0&&aborts(this.body[n-1])}def(AST_BlockStatement,block_aborts);def(AST_SwitchBranch,block_aborts);def(AST_If,function(){return this.alternative&&aborts(this.body)&&aborts(this.alternative)&&this})})(function(node,func){node.DEFMETHOD("aborts",func)});OPT(AST_Directive,function(self,compressor){if(compressor.has_directive(self.value)!==self){return make_node(AST_EmptyStatement,self)}return self});OPT(AST_Debugger,function(self,compressor){if(compressor.option("drop_debugger"))return make_node(AST_EmptyStatement,self);return self});OPT(AST_LabeledStatement,function(self,compressor){if(self.body instanceof AST_Break&&compressor.loopcontrol_target(self.body)===self.body){return make_node(AST_EmptyStatement,self)}return self.label.references.length==0?self.body:self});OPT(AST_Block,function(self,compressor){self.body=tighten_body(self.body,compressor);return self});OPT(AST_BlockStatement,function(self,compressor){self.body=tighten_body(self.body,compressor);switch(self.body.length){case 1:return self.body[0];case 0:return make_node(AST_EmptyStatement,self)}return self});AST_Scope.DEFMETHOD("drop_unused",function(compressor){if(!compressor.option("unused"))return;if(compressor.has_directive("use asm"))return;var self=this;if(self.uses_eval||self.uses_with)return;var drop_funcs=!(self instanceof AST_Toplevel)||compressor.toplevel.funcs;var drop_vars=!(self instanceof AST_Toplevel)||compressor.toplevel.vars;if(!drop_funcs&&!drop_vars)return;var assign_as_unused=!/keep_assign/.test(compressor.option("unused"));var in_use=[];var in_use_ids=Object.create(null);if(self instanceof AST_Toplevel&&compressor.top_retain){self.variables.each(function(def){if(compressor.top_retain(def)&&!(def.id in in_use_ids)){in_use_ids[def.id]=true;in_use.push(def)}})}var var_defs_by_id=new Dictionary;var initializations=new Dictionary;var scope=this;var tw=new TreeWalker(function(node,descend){if(node!==self){if(node instanceof AST_Defun){if(!drop_funcs&&scope===self){var node_def=node.name.definition();if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}}initializations.add(node.name.name,node);return true}if(node instanceof AST_Definitions&&scope===self){node.definitions.forEach(function(def){var node_def=def.name.definition();if(def.name instanceof AST_SymbolVar){var_defs_by_id.add(node_def.id,def)}if(!drop_vars){if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}}if(def.value){initializations.add(def.name.name,def.value);if(def.value.has_side_effects(compressor)){def.value.walk(tw)}}});return true}if(assign_as_unused&&node instanceof AST_Assign&&node.operator=="="&&node.left instanceof AST_SymbolRef&&scope===self){node.right.walk(tw);return true}if(node instanceof AST_SymbolRef){var node_def=node.definition();if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}return true}if(node instanceof AST_Scope){var save_scope=scope;scope=node;descend();scope=save_scope;return true}}});self.walk(tw);for(var i=0;i<in_use.length;++i){in_use[i].orig.forEach(function(decl){var init=initializations.get(decl.name);if(init)init.forEach(function(init){var tw=new TreeWalker(function(node){if(node instanceof AST_SymbolRef){var node_def=node.definition();if(!(node_def.id in in_use_ids)){in_use_ids[node_def.id]=true;in_use.push(node_def)}}});init.walk(tw)})})}var tt=new TreeTransformer(function before(node,descend,in_list){if(node instanceof AST_Function&&node.name&&!compressor.option("keep_fnames")){var def=node.name.definition();if(!(def.id in in_use_ids)||def.orig.length>1)node.name=null}if(node instanceof AST_Lambda&&!(node instanceof AST_Accessor)){var trim=!compressor.option("keep_fargs");for(var a=node.argnames,i=a.length;--i>=0;){var sym=a[i];if(!(sym.definition().id in in_use_ids)){sym.__unused=true;if(trim){a.pop();compressor[sym.unreferenced()?"warn":"info"]("Dropping unused function argument {name} [{file}:{line},{col}]",template(sym))}}else{trim=false}}}if(drop_funcs&&node instanceof AST_Defun&&node!==self){if(!(node.name.definition().id in in_use_ids)){compressor[node.name.unreferenced()?"warn":"info"]("Dropping unused function {name} [{file}:{line},{col}]",template(node.name));return make_node(AST_EmptyStatement,node)}return node}if(drop_vars&&node instanceof AST_Definitions&&!(tt.parent()instanceof AST_ForIn&&tt.parent().init===node)){var body=[],head=[],tail=[];var side_effects=[];node.definitions.forEach(function(def){if(def.value)def.value=def.value.transform(tt);var sym=def.name.definition();if(sym.id in in_use_ids){if(def.name instanceof AST_SymbolVar){var var_defs=var_defs_by_id.get(sym.id);if(var_defs.length>1&&!def.value){compressor.warn("Dropping duplicated definition of variable {name} [{file}:{line},{col}]",template(def.name));remove(var_defs,def);remove(sym.orig,def.name);return}}if(def.value){if(side_effects.length>0){if(tail.length>0){merge_sequence(side_effects,def.value);def.value=make_sequence(def.value,side_effects)}else{body.push(make_node(AST_SimpleStatement,node,{body:make_sequence(node,side_effects)}))}side_effects=[]}tail.push(def)}else{head.push(def)}}else if(sym.orig[0]instanceof AST_SymbolCatch){var value=def.value&&def.value.drop_side_effect_free(compressor);if(value)merge_sequence(side_effects,value);def.value=null;head.push(def)}else{var value=def.value&&def.value.drop_side_effect_free(compressor);if(value){compressor.warn("Side effects in initialization of unused variable {name} [{file}:{line},{col}]",template(def.name));merge_sequence(side_effects,value)}else{compressor[def.name.unreferenced()?"warn":"info"]("Dropping unused variable {name} [{file}:{line},{col}]",template(def.name))}remove(sym.orig,def.name)}});if(head.length==0&&tail.length==1&&tail[0].name instanceof AST_SymbolVar){var var_defs=var_defs_by_id.get(tail[0].name.definition().id);if(var_defs.length>1){var def=tail.pop();compressor.warn("Converting duplicated definition of variable {name} to assignment [{file}:{line},{col}]",template(def.name));remove(var_defs,def);remove(def.name.definition().orig,def.name);side_effects.unshift(make_node(AST_Assign,def,{operator:"=",left:make_node(AST_SymbolRef,def.name,def.name),right:def.value}))}}if(head.length>0||tail.length>0){node.definitions=head.concat(tail);body.push(node)}if(side_effects.length>0){body.push(make_node(AST_SimpleStatement,node,{body:make_sequence(node,side_effects)}))}switch(body.length){case 0:return in_list?MAP.skip:make_node(AST_EmptyStatement,node);case 1:return body[0];default:return in_list?MAP.splice(body):make_node(AST_BlockStatement,node,{body:body})}}if(drop_vars&&assign_as_unused&&node instanceof AST_Assign&&node.operator=="="&&node.left instanceof AST_SymbolRef){var def=node.left.definition();if(!(def.id in in_use_ids)&&self.variables.get(def.name)===def){return maintain_this_binding(tt.parent(),node,node.right.transform(tt))}}if(node instanceof AST_For){descend(node,this);if(node.init instanceof AST_BlockStatement){var block=node.init;node.init=block.body.pop();block.body.push(node);return in_list?MAP.splice(block.body):block}else if(node.init instanceof AST_SimpleStatement){node.init=node.init.body}else if(is_empty(node.init)){node.init=null}return node}if(node instanceof AST_LabeledStatement&&node.body instanceof AST_For){descend(node,this);if(node.body instanceof AST_BlockStatement){var block=node.body;node.body=block.body.pop();block.body.push(node);return in_list?MAP.splice(block.body):block}return node}if(node instanceof AST_Scope&&node!==self)return node;function template(sym){return{name:sym.name,file:sym.start.file,line:sym.start.line,col:sym.start.col}}});self.transform(tt)});AST_Scope.DEFMETHOD("hoist_declarations",function(compressor){var self=this;if(compressor.has_directive("use asm"))return self;var hoist_funs=compressor.option("hoist_funs");var hoist_vars=compressor.option("hoist_vars");if(hoist_funs||hoist_vars){var dirs=[];var hoisted=[];var vars=new Dictionary,vars_found=0,var_decl=0;self.walk(new TreeWalker(function(node){if(node instanceof AST_Scope&&node!==self)return true;if(node instanceof AST_Var){++var_decl;return true}}));hoist_vars=hoist_vars&&var_decl>1;var tt=new TreeTransformer(function before(node){if(node!==self){if(node instanceof AST_Directive){dirs.push(node);return make_node(AST_EmptyStatement,node)}if(node instanceof AST_Defun&&hoist_funs){hoisted.push(node);return make_node(AST_EmptyStatement,node)}if(node instanceof AST_Var&&hoist_vars){node.definitions.forEach(function(def){vars.set(def.name.name,def);++vars_found});var seq=node.to_assignments(compressor);var p=tt.parent();if(p instanceof AST_ForIn&&p.init===node){if(seq==null){var def=node.definitions[0].name;return make_node(AST_SymbolRef,def,def)}return seq}if(p instanceof AST_For&&p.init===node){return seq}if(!seq)return make_node(AST_EmptyStatement,node);return make_node(AST_SimpleStatement,node,{body:seq})}if(node instanceof AST_Scope)return node}});self=self.transform(tt);if(vars_found>0){var defs=[];vars.each(function(def,name){if(self instanceof AST_Lambda&&find_if(function(x){return x.name==def.name.name},self.argnames)){vars.del(name)}else{def=def.clone();def.value=null;defs.push(def);vars.set(name,def)}});if(defs.length>0){for(var i=0;i<self.body.length;){if(self.body[i]instanceof AST_SimpleStatement){var expr=self.body[i].body,sym,assign;if(expr instanceof AST_Assign&&expr.operator=="="&&(sym=expr.left)instanceof AST_Symbol&&vars.has(sym.name)){var def=vars.get(sym.name);if(def.value)break;def.value=expr.right;remove(defs,def);defs.push(def);self.body.splice(i,1);continue}if(expr instanceof AST_Sequence&&(assign=expr.expressions[0])instanceof AST_Assign&&assign.operator=="="&&(sym=assign.left)instanceof AST_Symbol&&vars.has(sym.name)){var def=vars.get(sym.name);if(def.value)break;def.value=assign.right;remove(defs,def);defs.push(def);self.body[i].body=make_sequence(expr,expr.expressions.slice(1));continue}}if(self.body[i]instanceof AST_EmptyStatement){self.body.splice(i,1);continue}if(self.body[i]instanceof AST_BlockStatement){var tmp=[i,1].concat(self.body[i].body);self.body.splice.apply(self.body,tmp);continue}break}defs=make_node(AST_Var,self,{definitions:defs});hoisted.push(defs)}}self.body=dirs.concat(hoisted,self.body)}return self});(function(def){function trim(nodes,compressor,first_in_statement){var len=nodes.length;if(!len)return null;var ret=[],changed=false;for(var i=0;i<len;i++){var node=nodes[i].drop_side_effect_free(compressor,first_in_statement);changed|=node!==nodes[i];if(node){merge_sequence(ret,node);first_in_statement=false}}return changed?ret.length?ret:null:nodes}def(AST_Node,return_this);def(AST_Constant,return_null);def(AST_This,return_null);def(AST_Call,function(compressor,first_in_statement){if(!this.has_pure_annotation(compressor)&&compressor.pure_funcs(this)){if(this.expression instanceof AST_Function&&(!this.expression.name||!this.expression.name.definition().references.length)){var node=this.clone();node.expression.process_expression(false,compressor);return node}return this}if(this.pure){compressor.warn("Dropping __PURE__ call [{file}:{line},{col}]",this.start);this.pure.value=this.pure.value.replace(/[@#]__PURE__/g," ")}var args=trim(this.args,compressor,first_in_statement);return args&&make_sequence(this,args)});def(AST_Accessor,return_null);def(AST_Function,return_null);def(AST_Binary,function(compressor,first_in_statement){var right=this.right.drop_side_effect_free(compressor);if(!right)return this.left.drop_side_effect_free(compressor,first_in_statement);switch(this.operator){case"&&":case"||":if(right===this.right)return this;var node=this.clone();node.right=right;return node;default:var left=this.left.drop_side_effect_free(compressor,first_in_statement);if(!left)return this.right.drop_side_effect_free(compressor,first_in_statement);return make_sequence(this,[left,right])}});def(AST_Assign,return_this);def(AST_Conditional,function(compressor){var consequent=this.consequent.drop_side_effect_free(compressor);var alternative=this.alternative.drop_side_effect_free(compressor);if(consequent===this.consequent&&alternative===this.alternative)return this;if(!consequent)return alternative?make_node(AST_Binary,this,{operator:"||",left:this.condition,right:alternative}):this.condition.drop_side_effect_free(compressor);if(!alternative)return make_node(AST_Binary,this,{operator:"&&",left:this.condition,right:consequent});var node=this.clone();node.consequent=consequent;node.alternative=alternative;return node});def(AST_Unary,function(compressor,first_in_statement){if(unary_side_effects(this.operator))return this;if(this.operator=="typeof"&&this.expression instanceof AST_SymbolRef)return null;var expression=this.expression.drop_side_effect_free(compressor,first_in_statement);if(first_in_statement&&this instanceof AST_UnaryPrefix&&is_iife_call(expression)){if(expression===this.expression&&this.operator.length===1)return this;return make_node(AST_UnaryPrefix,this,{operator:this.operator.length===1?this.operator:"!",expression:expression})}return expression});def(AST_SymbolRef,function(){return this.undeclared()?this:null});def(AST_Object,function(compressor,first_in_statement){var values=trim(this.properties,compressor,first_in_statement);return values&&make_sequence(this,values)});def(AST_ObjectProperty,function(compressor,first_in_statement){return this.value.drop_side_effect_free(compressor,first_in_statement)});def(AST_Array,function(compressor,first_in_statement){var values=trim(this.elements,compressor,first_in_statement);return values&&make_sequence(this,values)});def(AST_Dot,function(compressor,first_in_statement){if(this.expression.may_throw_on_access(compressor))return this;return this.expression.drop_side_effect_free(compressor,first_in_statement)});def(AST_Sub,function(compressor,first_in_statement){if(this.expression.may_throw_on_access(compressor))return this;var expression=this.expression.drop_side_effect_free(compressor,first_in_statement);if(!expression)return this.property.drop_side_effect_free(compressor,first_in_statement);var property=this.property.drop_side_effect_free(compressor);if(!property)return expression;return make_sequence(this,[expression,property])});def(AST_Sequence,function(compressor){var last=this.expressions[this.expressions.length-1];var expr=last.drop_side_effect_free(compressor);if(expr===last)return this;var expressions=this.expressions.slice(0,-1);if(expr)merge_sequence(expressions,expr);return make_sequence(this,expressions)})})(function(node,func){node.DEFMETHOD("drop_side_effect_free",func)});OPT(AST_SimpleStatement,function(self,compressor){if(compressor.option("side_effects")){var body=self.body;var node=body.drop_side_effect_free(compressor,true);if(!node){compressor.warn("Dropping side-effect-free statement [{file}:{line},{col}]",self.start);return make_node(AST_EmptyStatement,self)}if(node!==body){return make_node(AST_SimpleStatement,self,{body:node})}}return self});OPT(AST_DWLoop,function(self,compressor){if(!compressor.option("loops"))return self;var cond=self.condition.evaluate(compressor);if(cond!==self.condition){if(cond){return make_node(AST_For,self,{body:self.body})}if(compressor.option("dead_code")&&self instanceof AST_While){var a=[];extract_declarations_from_unreachable_code(compressor,self.body,a);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}if(self instanceof AST_Do){var has_loop_control=false;var tw=new TreeWalker(function(node){if(node instanceof AST_Scope||has_loop_control)return true;if(node instanceof AST_LoopControl&&tw.loopcontrol_target(node)===self)return has_loop_control=true});var parent=compressor.parent();(parent instanceof AST_LabeledStatement?parent:self).walk(tw);if(!has_loop_control)return self.body}}if(self instanceof AST_While){return make_node(AST_For,self,self).optimize(compressor)}return self});function if_break_in_loop(self,compressor){function drop_it(rest){rest=as_statement_array(rest);if(self.body instanceof AST_BlockStatement){self.body=self.body.clone();self.body.body=rest.concat(self.body.body.slice(1));self.body=self.body.transform(compressor)}else{self.body=make_node(AST_BlockStatement,self.body,{body:rest}).transform(compressor)}if_break_in_loop(self,compressor)}var first=self.body instanceof AST_BlockStatement?self.body.body[0]:self.body;if(first instanceof AST_If){if(first.body instanceof AST_Break&&compressor.loopcontrol_target(first.body)===compressor.self()){if(self.condition){self.condition=make_node(AST_Binary,self.condition,{left:self.condition,operator:"&&",right:first.condition.negate(compressor)})}else{self.condition=first.condition.negate(compressor)}drop_it(first.alternative)}else if(first.alternative instanceof AST_Break&&compressor.loopcontrol_target(first.alternative)===compressor.self()){if(self.condition){self.condition=make_node(AST_Binary,self.condition,{left:self.condition,operator:"&&",right:first.condition})}else{self.condition=first.condition}drop_it(first.body)}}}OPT(AST_For,function(self,compressor){if(!compressor.option("loops"))return self;if(self.condition){var cond=self.condition.evaluate(compressor);if(compressor.option("dead_code")&&!cond){var a=[];if(self.init instanceof AST_Statement){a.push(self.init)}else if(self.init){a.push(make_node(AST_SimpleStatement,self.init,{body:self.init}))}extract_declarations_from_unreachable_code(compressor,self.body,a);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}if(cond!==self.condition){cond=make_node_from_constant(cond,self.condition).transform(compressor);self.condition=best_of_expression(cond,self.condition)}}if_break_in_loop(self,compressor);return self});OPT(AST_If,function(self,compressor){if(is_empty(self.alternative))self.alternative=null;if(!compressor.option("conditionals"))return self;var cond=self.condition.evaluate(compressor);if(cond!==self.condition){if(cond){compressor.warn("Condition always true [{file}:{line},{col}]",self.condition.start);if(compressor.option("dead_code")){var a=[];if(self.alternative){extract_declarations_from_unreachable_code(compressor,self.alternative,a)}a.push(self.body);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}}else{compressor.warn("Condition always false [{file}:{line},{col}]",self.condition.start);if(compressor.option("dead_code")){var a=[];extract_declarations_from_unreachable_code(compressor,self.body,a);if(self.alternative)a.push(self.alternative);return make_node(AST_BlockStatement,self,{body:a}).optimize(compressor)}}cond=make_node_from_constant(cond,self.condition).transform(compressor);self.condition=best_of_expression(cond,self.condition)}var negated=self.condition.negate(compressor);var self_condition_length=self.condition.print_to_string().length;var negated_length=negated.print_to_string().length;var negated_is_best=negated_length<self_condition_length;if(self.alternative&&negated_is_best){negated_is_best=false;self.condition=negated;var tmp=self.body;self.body=self.alternative||make_node(AST_EmptyStatement,self);self.alternative=tmp}if(is_empty(self.body)&&is_empty(self.alternative)){return make_node(AST_SimpleStatement,self.condition,{body:self.condition.clone()}).optimize(compressor)}if(self.body instanceof AST_SimpleStatement&&self.alternative instanceof AST_SimpleStatement){return make_node(AST_SimpleStatement,self,{body:make_node(AST_Conditional,self,{condition:self.condition,consequent:self.body.body,alternative:self.alternative.body})}).optimize(compressor)}if(is_empty(self.alternative)&&self.body instanceof AST_SimpleStatement){if(self_condition_length===negated_length&&!negated_is_best&&self.condition instanceof AST_Binary&&self.condition.operator=="||"){negated_is_best=true}if(negated_is_best)return make_node(AST_SimpleStatement,self,{body:make_node(AST_Binary,self,{operator:"||",left:negated,right:self.body.body})}).optimize(compressor);return make_node(AST_SimpleStatement,self,{body:make_node(AST_Binary,self,{operator:"&&",left:self.condition,right:self.body.body})}).optimize(compressor)}if(self.body instanceof AST_EmptyStatement&&self.alternative instanceof AST_SimpleStatement){return make_node(AST_SimpleStatement,self,{body:make_node(AST_Binary,self,{operator:"||",left:self.condition,right:self.alternative.body})}).optimize(compressor)}if(self.body instanceof AST_Exit&&self.alternative instanceof AST_Exit&&self.body.TYPE==self.alternative.TYPE){return make_node(self.body.CTOR,self,{value:make_node(AST_Conditional,self,{condition:self.condition,consequent:self.body.value||make_node(AST_Undefined,self.body),alternative:self.alternative.value||make_node(AST_Undefined,self.alternative)}).transform(compressor)}).optimize(compressor)}if(self.body instanceof AST_If&&!self.body.alternative&&!self.alternative){self=make_node(AST_If,self,{condition:make_node(AST_Binary,self.condition,{operator:"&&",left:self.condition,right:self.body.condition}),body:self.body.body,alternative:null})}if(aborts(self.body)){if(self.alternative){var alt=self.alternative;self.alternative=null;return make_node(AST_BlockStatement,self,{body:[self,alt]}).optimize(compressor)}}if(aborts(self.alternative)){var body=self.body;self.body=self.alternative;self.condition=negated_is_best?negated:self.condition.negate(compressor);self.alternative=null;return make_node(AST_BlockStatement,self,{body:[self,body]}).optimize(compressor)}return self});OPT(AST_Switch,function(self,compressor){if(!compressor.option("switches"))return self;var branch;var value=self.expression.evaluate(compressor);if(value!==self.expression){var expression=make_node_from_constant(value,self.expression).transform(compressor);self.expression=best_of_expression(expression,self.expression)}if(!compressor.option("dead_code"))return self;var decl=[];var body=[];var default_branch;var exact_match;for(var i=0,len=self.body.length;i<len&&!exact_match;i++){branch=self.body[i];if(branch instanceof AST_Default){if(!default_branch){default_branch=branch}else{eliminate_branch(branch,body[body.length-1])}}else if(value!==self.expression){var exp=branch.expression.evaluate(compressor);if(exp===value){exact_match=branch;if(default_branch){var default_index=body.indexOf(default_branch);body.splice(default_index,1);eliminate_branch(default_branch,body[default_index-1]);default_branch=null}}else if(exp!==branch.expression){eliminate_branch(branch,body[body.length-1]);continue}}if(aborts(branch)){var prev=body[body.length-1];if(aborts(prev)&&prev.body.length==branch.body.length&&make_node(AST_BlockStatement,prev,prev).equivalent_to(make_node(AST_BlockStatement,branch,branch))){prev.body=[]}}body.push(branch)}while(i<len)eliminate_branch(self.body[i++],body[body.length-1]);if(body.length>0){body[0].body=decl.concat(body[0].body)}self.body=body;while(branch=body[body.length-1]){var stat=branch.body[branch.body.length-1];if(stat instanceof AST_Break&&compressor.loopcontrol_target(stat)===self)branch.body.pop();if(branch.body.length||branch instanceof AST_Case&&(default_branch||branch.expression.has_side_effects(compressor)))break;if(body.pop()===default_branch)default_branch=null}if(body.length==0){return make_node(AST_BlockStatement,self,{body:decl.concat(make_node(AST_SimpleStatement,self.expression,{body:self.expression}))}).optimize(compressor)}if(body.length==1&&(body[0]===exact_match||body[0]===default_branch)){var has_break=false;var tw=new TreeWalker(function(node){if(has_break||node instanceof AST_Lambda||node instanceof AST_SimpleStatement)return true;if(node instanceof AST_Break&&tw.loopcontrol_target(node)===self)has_break=true});self.walk(tw);if(!has_break){body=body[0].body.slice();body.unshift(make_node(AST_SimpleStatement,self.expression,{body:self.expression}));return make_node(AST_BlockStatement,self,{body:body}).optimize(compressor)}}return self;function eliminate_branch(branch,prev){if(prev&&!aborts(prev)){prev.body=prev.body.concat(branch.body)}else{extract_declarations_from_unreachable_code(compressor,branch,decl)}}});OPT(AST_Try,function(self,compressor){self.body=tighten_body(self.body,compressor);if(self.bcatch&&self.bfinally&&all(self.bfinally.body,is_empty))self.bfinally=null;if(all(self.body,is_empty)){var body=[];if(self.bcatch)extract_declarations_from_unreachable_code(compressor,self.bcatch,body);if(self.bfinally)body=body.concat(self.bfinally.body);return make_node(AST_BlockStatement,self,{body:body}).optimize(compressor)}return self});AST_Definitions.DEFMETHOD("remove_initializers",function(){this.definitions.forEach(function(def){def.value=null})});AST_Definitions.DEFMETHOD("to_assignments",function(compressor){var reduce_vars=compressor.option("reduce_vars");var assignments=this.definitions.reduce(function(a,def){if(def.value){var name=make_node(AST_SymbolRef,def.name,def.name);a.push(make_node(AST_Assign,def,{operator:"=",left:name,right:def.value}));if(reduce_vars)name.definition().fixed=false}return a},[]);if(assignments.length==0)return null;return make_sequence(this,assignments)});OPT(AST_Definitions,function(self,compressor){if(self.definitions.length==0)return make_node(AST_EmptyStatement,self);return self});OPT(AST_Call,function(self,compressor){var exp=self.expression;if(compressor.option("reduce_vars")&&exp instanceof AST_SymbolRef){var def=exp.definition();var fixed=exp.fixed_value();if(fixed instanceof AST_Defun){def.fixed=fixed=make_node(AST_Function,fixed,fixed).clone(true)}if(fixed instanceof AST_Function){exp=fixed;if(compressor.option("unused")&&def.references.length==1&&!(def.scope.uses_arguments&&def.orig[0]instanceof AST_SymbolFunarg)&&!def.scope.uses_eval&&compressor.find_parent(AST_Scope)===def.scope){self.expression=exp}}}if(compressor.option("unused")&&exp instanceof AST_Function&&!exp.uses_arguments&&!exp.uses_eval){var pos=0,last=0;for(var i=0,len=self.args.length;i<len;i++){var trim=i>=exp.argnames.length;if(trim||exp.argnames[i].__unused){var node=self.args[i].drop_side_effect_free(compressor);if(node){self.args[pos++]=node}else if(!trim){self.args[pos++]=make_node(AST_Number,self.args[i],{value:0});continue}}else{self.args[pos++]=self.args[i]}last=pos}self.args.length=last}if(compressor.option("unsafe")){if(exp instanceof AST_SymbolRef&&exp.undeclared()){switch(exp.name){case"Array":if(self.args.length!=1){return make_node(AST_Array,self,{elements:self.args}).optimize(compressor)}break;case"Object":if(self.args.length==0){return make_node(AST_Object,self,{properties:[]})}break;case"String":if(self.args.length==0)return make_node(AST_String,self,{value:""});if(self.args.length<=1)return make_node(AST_Binary,self,{left:self.args[0],operator:"+",right:make_node(AST_String,self,{value:""})}).optimize(compressor);break;case"Number":if(self.args.length==0)return make_node(AST_Number,self,{value:0});if(self.args.length==1)return make_node(AST_UnaryPrefix,self,{expression:self.args[0],operator:"+"}).optimize(compressor);case"Boolean":if(self.args.length==0)return make_node(AST_False,self);if(self.args.length==1)return make_node(AST_UnaryPrefix,self,{expression:make_node(AST_UnaryPrefix,self,{expression:self.args[0],operator:"!"}),operator:"!"}).optimize(compressor);break;case"Function":if(self.args.length==0)return make_node(AST_Function,self,{argnames:[],body:[]});if(all(self.args,function(x){return x instanceof AST_String})){try{var code="(function("+self.args.slice(0,-1).map(function(arg){return arg.value}).join(",")+"){"+self.args[self.args.length-1].value+"})()";var ast=parse(code);var mangle={ie8:compressor.option("ie8")};ast.figure_out_scope(mangle);var comp=new Compressor(compressor.options);ast=ast.transform(comp);ast.figure_out_scope(mangle);ast.mangle_names();var fun;try{ast.walk(new TreeWalker(function(node){if(node instanceof AST_Lambda){fun=node;throw ast}}))}catch(ex){if(ex!==ast)throw ex}if(!fun)return self;var args=fun.argnames.map(function(arg,i){return make_node(AST_String,self.args[i],{value:arg.print_to_string()})});var code=OutputStream();AST_BlockStatement.prototype._codegen.call(fun,fun,code);code=code.toString().replace(/^\{|\}$/g,"");args.push(make_node(AST_String,self.args[self.args.length-1],{value:code}));self.args=args;return self}catch(ex){if(ex instanceof JS_Parse_Error){compressor.warn("Error parsing code passed to new Function [{file}:{line},{col}]",self.args[self.args.length-1].start);compressor.warn(ex.toString())}else{console.log(ex);throw ex}}}break}}else if(exp instanceof AST_Dot&&exp.property=="toString"&&self.args.length==0){return make_node(AST_Binary,self,{left:make_node(AST_String,self,{value:""}),operator:"+",right:exp.expression}).optimize(compressor)}else if(exp instanceof AST_Dot&&exp.expression instanceof AST_Array&&exp.property=="join")EXIT:{var separator;if(self.args.length>0){separator=self.args[0].evaluate(compressor);if(separator===self.args[0])break EXIT}var elements=[];var consts=[];exp.expression.elements.forEach(function(el){var value=el.evaluate(compressor);if(value!==el){consts.push(value)}else{if(consts.length>0){elements.push(make_node(AST_String,self,{value:consts.join(separator)}));consts.length=0}elements.push(el)}});if(consts.length>0){elements.push(make_node(AST_String,self,{value:consts.join(separator)}))}if(elements.length==0)return make_node(AST_String,self,{value:""});if(elements.length==1){if(elements[0].is_string(compressor)){return elements[0]}return make_node(AST_Binary,elements[0],{operator:"+",left:make_node(AST_String,self,{value:""}),right:elements[0]})}if(separator==""){var first;if(elements[0].is_string(compressor)||elements[1].is_string(compressor)){first=elements.shift()}else{first=make_node(AST_String,self,{value:""})}return elements.reduce(function(prev,el){return make_node(AST_Binary,el,{operator:"+",left:prev,right:el})},first).optimize(compressor)}var node=self.clone();node.expression=node.expression.clone();node.expression.expression=node.expression.expression.clone();node.expression.expression.elements=elements;return best_of(compressor,self,node)}else if(exp instanceof AST_Dot&&exp.expression.is_string(compressor)&&exp.property=="charAt"){var arg=self.args[0];var index=arg?arg.evaluate(compressor):0;if(index!==arg){return make_node(AST_Sub,exp,{expression:exp.expression,property:make_node_from_constant(index|0,arg||exp)}).optimize(compressor)}}}if(exp instanceof AST_Function){if(exp.body[0]instanceof AST_Return){var value=exp.body[0].value;if(!value||value.is_constant_expression()){var args=self.args.concat(value||make_node(AST_Undefined,self));return make_sequence(self,args).transform(compressor)}}if(compressor.option("side_effects")&&all(exp.body,is_empty)){var args=self.args.concat(make_node(AST_Undefined,self));return make_sequence(self,args).transform(compressor)}}if(compressor.option("drop_console")){if(exp instanceof AST_PropAccess){var name=exp.expression;while(name.expression){name=name.expression}if(name instanceof AST_SymbolRef&&name.name=="console"&&name.undeclared()){return make_node(AST_Undefined,self).optimize(compressor)}}}if(compressor.option("negate_iife")&&compressor.parent()instanceof AST_SimpleStatement&&is_iife_call(self)){return self.negate(compressor,true)}return self});OPT(AST_New,function(self,compressor){if(compressor.option("unsafe")){var exp=self.expression;if(exp instanceof AST_SymbolRef&&exp.undeclared()){switch(exp.name){case"Object":case"RegExp":case"Function":case"Error":case"Array":return make_node(AST_Call,self,self).transform(compressor)}}}return self});OPT(AST_Sequence,function(self,compressor){if(!compressor.option("side_effects"))return self;var expressions=[];filter_for_side_effects();var end=expressions.length-1;trim_right_for_undefined();if(end>0&&compressor.option("cascade"))trim_left_for_assignment();if(end==0){self=maintain_this_binding(compressor.parent(),self,expressions[0]);if(!(self instanceof AST_Sequence))self=self.optimize(compressor);return self}self.expressions=expressions;return self;function filter_for_side_effects(){var first=first_in_statement(compressor);var last=self.expressions.length-1;self.expressions.forEach(function(expr,index){if(index<last)expr=expr.drop_side_effect_free(compressor,first);if(expr){merge_sequence(expressions,expr);first=false}})}function trim_right_for_undefined(){while(end>0&&is_undefined(expressions[end],compressor))end--;if(end<expressions.length-1){expressions[end]=make_node(AST_UnaryPrefix,self,{operator:"void",expression:expressions[end]});expressions.length=end+1}}function trim_left_for_assignment(){for(var i=0,j=1;j<=end;j++){var left=expressions[i];var cdr=expressions[j];if(left instanceof AST_Assign&&!left.left.has_side_effects(compressor)){left=left.left}else if(left instanceof AST_Unary&&(left.operator=="++"||left.operator=="--")){left=left.expression}else left=null;if(!left||is_lhs_read_only(left)){expressions[++i]=cdr;continue}var parent=null,field;while(true){if(cdr.equivalent_to(left)){var car=expressions[i];if(car instanceof AST_UnaryPostfix){car=make_node(AST_UnaryPrefix,car,{operator:car.operator,expression:left})}if(parent){parent[field]=car;expressions[i]=expressions[j]}else{expressions[i]=car}break}if(cdr instanceof AST_Binary&&!(cdr instanceof AST_Assign)){if(cdr.left.is_constant()){if(cdr.operator=="||"||cdr.operator=="&&"){expressions[++i]=expressions[j];break}field="right"}else{field="left"}}else if(cdr instanceof AST_Call||cdr instanceof AST_PropAccess||cdr instanceof AST_Unary&&!unary_side_effects(cdr.operator)){field="expression"}else{expressions[++i]=expressions[j];break}parent=cdr;cdr=cdr[field]}}end=i;expressions.length=end+1}});AST_Unary.DEFMETHOD("lift_sequences",function(compressor){if(compressor.option("sequences")){if(this.expression instanceof AST_Sequence){var x=this.expression.expressions.slice();var e=this.clone();e.expression=x.pop();x.push(e);return make_sequence(this,x).optimize(compressor)}}return this});OPT(AST_UnaryPostfix,function(self,compressor){return self.lift_sequences(compressor)});OPT(AST_UnaryPrefix,function(self,compressor){var e=self.expression;if(self.operator=="delete"&&!(e instanceof AST_SymbolRef||e instanceof AST_PropAccess||e instanceof AST_NaN||e instanceof AST_Infinity||e instanceof AST_Undefined)){if(e instanceof AST_Sequence){e=e.expressions.slice();e.push(make_node(AST_True,self));return make_sequence(self,e).optimize(compressor)}return make_sequence(self,[e,make_node(AST_True,self)]).optimize(compressor)}var seq=self.lift_sequences(compressor);if(seq!==self){return seq}if(compressor.option("side_effects")&&self.operator=="void"){e=e.drop_side_effect_free(compressor);if(e){self.expression=e;return self}else{return make_node(AST_Undefined,self).optimize(compressor)}}if(compressor.option("booleans")&&compressor.in_boolean_context()){switch(self.operator){case"!":if(e instanceof AST_UnaryPrefix&&e.operator=="!"){return e.expression}if(e instanceof AST_Binary){self=best_of(compressor,self,e.negate(compressor,first_in_statement(compressor)))}break;case"typeof":compressor.warn("Boolean expression always true [{file}:{line},{col}]",self.start);return(e instanceof AST_SymbolRef?make_node(AST_True,self):make_sequence(self,[e,make_node(AST_True,self)])).optimize(compressor)}}if(self.operator=="-"&&e instanceof AST_Infinity){e=e.transform(compressor)}if(e instanceof AST_Binary&&(self.operator=="+"||self.operator=="-")&&(e.operator=="*"||e.operator=="/"||e.operator=="%")){return make_node(AST_Binary,self,{operator:e.operator,left:make_node(AST_UnaryPrefix,e.left,{operator:self.operator,expression:e.left}),right:e.right})}if(self.operator!="-"||!(e instanceof AST_Number||e instanceof AST_Infinity)){var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}}return self});AST_Binary.DEFMETHOD("lift_sequences",function(compressor){if(compressor.option("sequences")){if(this.left instanceof AST_Sequence){var x=this.left.expressions.slice();var e=this.clone();e.left=x.pop();x.push(e);return make_sequence(this,x).optimize(compressor)}if(this.right instanceof AST_Sequence&&!this.left.has_side_effects(compressor)){var assign=this.operator=="="&&this.left instanceof AST_SymbolRef;var x=this.right.expressions;var last=x.length-1;for(var i=0;i<last;i++){if(!assign&&x[i].has_side_effects(compressor))break}if(i==last){x=x.slice();var e=this.clone();e.right=x.pop();x.push(e);return make_sequence(this,x).optimize(compressor)}else if(i>0){var e=this.clone();e.right=make_sequence(this.right,x.slice(i));x=x.slice(0,i);x.push(e);return make_sequence(this,x).optimize(compressor)}}}return this});var commutativeOperators=makePredicate("== === != !== * & | ^");OPT(AST_Binary,function(self,compressor){function reversible(){return self.left.is_constant()||self.right.is_constant()||!self.left.has_side_effects(compressor)&&!self.right.has_side_effects(compressor)}function reverse(op){if(reversible()){if(op)self.operator=op;var tmp=self.left;self.left=self.right;self.right=tmp}}if(commutativeOperators(self.operator)){if(self.right.is_constant()&&!self.left.is_constant()){if(!(self.left instanceof AST_Binary&&PRECEDENCE[self.left.operator]>=PRECEDENCE[self.operator])){reverse()}}}self=self.lift_sequences(compressor);if(compressor.option("comparisons"))switch(self.operator){case"===":case"!==":if(self.left.is_string(compressor)&&self.right.is_string(compressor)||self.left.is_number(compressor)&&self.right.is_number(compressor)||self.left.is_boolean()&&self.right.is_boolean()){self.operator=self.operator.substr(0,2)}case"==":case"!=":if(self.left instanceof AST_String&&self.left.value=="undefined"&&self.right instanceof AST_UnaryPrefix&&self.right.operator=="typeof"){var expr=self.right.expression;if(expr instanceof AST_SymbolRef?!expr.undeclared():!(expr instanceof AST_PropAccess&&compressor.option("ie8"))){self.right=expr;self.left=make_node(AST_Undefined,self.left).optimize(compressor);if(self.operator.length==2)self.operator+="="}}break}if(compressor.option("booleans")&&self.operator=="+"&&compressor.in_boolean_context()){var ll=self.left.evaluate(compressor);var rr=self.right.evaluate(compressor);if(ll&&typeof ll=="string"){compressor.warn("+ in boolean context always true [{file}:{line},{col}]",self.start);return make_sequence(self,[self.right,make_node(AST_True,self)]).optimize(compressor)}if(rr&&typeof rr=="string"){compressor.warn("+ in boolean context always true [{file}:{line},{col}]",self.start);return make_sequence(self,[self.left,make_node(AST_True,self)]).optimize(compressor)}}if(compressor.option("comparisons")&&self.is_boolean()){if(!(compressor.parent()instanceof AST_Binary)||compressor.parent()instanceof AST_Assign){var negated=make_node(AST_UnaryPrefix,self,{operator:"!",expression:self.negate(compressor,first_in_statement(compressor))});self=best_of(compressor,self,negated)}if(compressor.option("unsafe_comps")){switch(self.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(self.operator=="+"){if(self.right instanceof AST_String&&self.right.getValue()==""&&self.left.is_string(compressor)){return self.left}if(self.left instanceof AST_String&&self.left.getValue()==""&&self.right.is_string(compressor)){return self.right}if(self.left instanceof AST_Binary&&self.left.operator=="+"&&self.left.left instanceof AST_String&&self.left.left.getValue()==""&&self.right.is_string(compressor)){self.left=self.left.right;return self.transform(compressor)}}if(compressor.option("evaluate")){switch(self.operator){case"&&":var ll=self.left.evaluate(compressor);if(!ll){compressor.warn("Condition left of && always false [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.left).optimize(compressor)}else if(ll!==self.left){compressor.warn("Condition left of && always true [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.right).optimize(compressor)}if(compressor.option("booleans")&&compressor.in_boolean_context()){var rr=self.right.evaluate(compressor);if(!rr){compressor.warn("Boolean && always false [{file}:{line},{col}]",self.start);return make_sequence(self,[self.left,make_node(AST_False,self)]).optimize(compressor)}else if(rr!==self.right){compressor.warn("Dropping side-effect-free && in boolean context [{file}:{line},{col}]",self.start);return self.left.optimize(compressor)}}break;case"||":var ll=self.left.evaluate(compressor);if(!ll){compressor.warn("Condition left of || always false [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.right).optimize(compressor)}else if(ll!==self.left){compressor.warn("Condition left of || always true [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.left).optimize(compressor)}if(compressor.option("booleans")&&compressor.in_boolean_context()){var rr=self.right.evaluate(compressor);if(!rr){compressor.warn("Dropping side-effect-free || in boolean context [{file}:{line},{col}]",self.start);return self.left.optimize(compressor)}else if(rr!==self.right){compressor.warn("Boolean || always true [{file}:{line},{col}]",self.start);return make_sequence(self,[self.left,make_node(AST_True,self)]).optimize(compressor)}}break}var associative=true;switch(self.operator){case"+":if(self.left instanceof AST_Constant&&self.right instanceof AST_Binary&&self.right.operator=="+"&&self.right.left instanceof AST_Constant&&self.right.is_string(compressor)){self=make_node(AST_Binary,self,{operator:"+",left:make_node(AST_String,self.left,{value:""+self.left.getValue()+self.right.left.getValue(),start:self.left.start,end:self.right.left.end}),right:self.right.right})}if(self.right instanceof AST_Constant&&self.left instanceof AST_Binary&&self.left.operator=="+"&&self.left.right instanceof AST_Constant&&self.left.is_string(compressor)){self=make_node(AST_Binary,self,{operator:"+",left:self.left.left,right:make_node(AST_String,self.right,{value:""+self.left.right.getValue()+self.right.getValue(),start:self.left.right.start,end:self.right.end})})}if(self.left instanceof AST_Binary&&self.left.operator=="+"&&self.left.is_string(compressor)&&self.left.right instanceof AST_Constant&&self.right instanceof AST_Binary&&self.right.operator=="+"&&self.right.left instanceof AST_Constant&&self.right.is_string(compressor)){self=make_node(AST_Binary,self,{operator:"+",left:make_node(AST_Binary,self.left,{operator:"+",left:self.left.left,right:make_node(AST_String,self.left.right,{value:""+self.left.right.getValue()+self.right.left.getValue(),start:self.left.right.start,end:self.right.left.end})}),right:self.right.right})}if(self.right instanceof AST_UnaryPrefix&&self.right.operator=="-"&&self.left.is_number(compressor)){self=make_node(AST_Binary,self,{operator:"-",left:self.left,right:self.right.expression});break}if(self.left instanceof AST_UnaryPrefix&&self.left.operator=="-"&&reversible()&&self.right.is_number(compressor)){self=make_node(AST_Binary,self,{operator:"-",left:self.right,right:self.left.expression});break}case"*":associative=compressor.option("unsafe_math");case"&":case"|":case"^":if(self.left.is_number(compressor)&&self.right.is_number(compressor)&&reversible()&&!(self.left instanceof AST_Binary&&self.left.operator!=self.operator&&PRECEDENCE[self.left.operator]>=PRECEDENCE[self.operator])){var reversed=make_node(AST_Binary,self,{operator:self.operator,left:self.right,right:self.left});if(self.right instanceof AST_Constant&&!(self.left instanceof AST_Constant)){self=best_of(compressor,reversed,self)}else{self=best_of(compressor,self,reversed)}}if(associative&&self.is_number(compressor)){if(self.right instanceof AST_Binary&&self.right.operator==self.operator){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:self.left,right:self.right.left,start:self.left.start,end:self.right.left.end}),right:self.right.right})}if(self.right instanceof AST_Constant&&self.left instanceof AST_Binary&&self.left.operator==self.operator){if(self.left.left instanceof AST_Constant){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:self.left.left,right:self.right,start:self.left.left.start,end:self.right.end}),right:self.left.right})}else if(self.left.right instanceof AST_Constant){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:self.left.right,right:self.right,start:self.left.right.start,end:self.right.end}),right:self.left.left})}}if(self.left instanceof AST_Binary&&self.left.operator==self.operator&&self.left.right instanceof AST_Constant&&self.right instanceof AST_Binary&&self.right.operator==self.operator&&self.right.left instanceof AST_Constant){self=make_node(AST_Binary,self,{operator:self.operator,left:make_node(AST_Binary,self.left,{operator:self.operator,left:make_node(AST_Binary,self.left.left,{operator:self.operator,left:self.left.right,right:self.right.left,start:self.left.right.start,end:self.right.left.end}),right:self.left.left}),right:self.right.right})}}}}if(self.right instanceof AST_Binary&&self.right.operator==self.operator&&(self.operator=="&&"||self.operator=="||"||self.operator=="+"&&(self.right.left.is_string(compressor)||self.left.is_string(compressor)&&self.right.right.is_string(compressor)))){self.left=make_node(AST_Binary,self.left,{operator:self.operator,left:self.left,right:self.right.left});self.right=self.right.right;return self.transform(compressor)}var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}return self});OPT(AST_SymbolRef,function(self,compressor){var def=self.resolve_defines(compressor);if(def){return def.optimize(compressor)}if(!compressor.option("ie8")&&self.undeclared()&&(!self.scope.uses_with||!compressor.find_parent(AST_With))){switch(self.name){case"undefined":return make_node(AST_Undefined,self).optimize(compressor);case"NaN":return make_node(AST_NaN,self).optimize(compressor);case"Infinity":return make_node(AST_Infinity,self).optimize(compressor)}}if(compressor.option("evaluate")&&compressor.option("reduce_vars")&&is_lhs(self,compressor.parent())!==self){var d=self.definition();var fixed=self.fixed_value();if(fixed){if(d.should_replace===undefined){var init=fixed.evaluate(compressor);if(init!==fixed&&(compressor.option("unsafe_regexp")||!(init instanceof RegExp))){init=make_node_from_constant(init,fixed);var value_length=init.optimize(compressor).print_to_string().length;var fn;if(has_symbol_ref(fixed)){fn=function(){var result=init.optimize(compressor);return result===init?result.clone(true):result}}else{value_length=Math.min(value_length,fixed.print_to_string().length);fn=function(){var result=best_of_expression(init.optimize(compressor),fixed);return result===init||result===fixed?result.clone(true):result}}var name_length=d.name.length;var overhead=0;if(compressor.option("unused")&&(!d.global||compressor.toplevel(d))){overhead=(name_length+2+value_length)/d.references.length}d.should_replace=value_length<=name_length+overhead?fn:false}else{d.should_replace=false}}if(d.should_replace){return d.should_replace()}}}return self;function has_symbol_ref(value){var found;value.walk(new TreeWalker(function(node){if(node instanceof AST_SymbolRef)found=true;if(found)return true}));return found}});function is_atomic(lhs,self){return lhs instanceof AST_SymbolRef||lhs.TYPE===self.TYPE}OPT(AST_Undefined,function(self,compressor){if(compressor.option("unsafe")){var undef=find_variable(compressor,"undefined");if(undef){var ref=make_node(AST_SymbolRef,self,{name:"undefined",scope:undef.scope,thedef:undef});ref.is_undefined=true;return ref}}var lhs=is_lhs(compressor.self(),compressor.parent());if(lhs&&is_atomic(lhs,self))return self;return make_node(AST_UnaryPrefix,self,{operator:"void",expression:make_node(AST_Number,self,{value:0})})});OPT(AST_Infinity,function(self,compressor){var lhs=is_lhs(compressor.self(),compressor.parent());if(lhs&&is_atomic(lhs,self))return self;if(compressor.option("keep_infinity")&&!(lhs&&!is_atomic(lhs,self))&&!find_variable(compressor,"Infinity"))return self;return make_node(AST_Binary,self,{operator:"/",left:make_node(AST_Number,self,{value:1}),right:make_node(AST_Number,self,{value:0})})});OPT(AST_NaN,function(self,compressor){var lhs=is_lhs(compressor.self(),compressor.parent());if(lhs&&!is_atomic(lhs,self)||find_variable(compressor,"NaN")){return make_node(AST_Binary,self,{operator:"/",left:make_node(AST_Number,self,{value:0}),right:make_node(AST_Number,self,{value:0})})}return self});var ASSIGN_OPS=["+","-","/","*","%",">>","<<",">>>","|","^","&"];var ASSIGN_OPS_COMMUTATIVE=["*","|","^","&"];OPT(AST_Assign,function(self,compressor){self=self.lift_sequences(compressor);if(self.operator=="="&&self.left instanceof AST_SymbolRef&&self.right instanceof AST_Binary){if(self.right.left instanceof AST_SymbolRef&&self.right.left.name==self.left.name&&member(self.right.operator,ASSIGN_OPS)){self.operator=self.right.operator+"=";self.right=self.right.right}else if(self.right.right instanceof AST_SymbolRef&&self.right.right.name==self.left.name&&member(self.right.operator,ASSIGN_OPS_COMMUTATIVE)&&!self.right.left.has_side_effects(compressor)){self.operator=self.right.operator+"=";self.right=self.right.left}}return self});OPT(AST_Conditional,function(self,compressor){if(!compressor.option("conditionals"))return self;if(self.condition instanceof AST_Sequence){var expressions=self.condition.expressions.slice();self.condition=expressions.pop();expressions.push(self);return make_sequence(self,expressions)}var cond=self.condition.evaluate(compressor);if(cond!==self.condition){if(cond){compressor.warn("Condition always true [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.consequent)}else{compressor.warn("Condition always false [{file}:{line},{col}]",self.start);return maintain_this_binding(compressor.parent(),self,self.alternative)}}var negated=cond.negate(compressor,first_in_statement(compressor));if(best_of(compressor,cond,negated)===negated){self=make_node(AST_Conditional,self,{condition:negated,consequent:self.alternative,alternative:self.consequent})}var condition=self.condition;var consequent=self.consequent;var alternative=self.alternative;if(condition instanceof AST_SymbolRef&&consequent instanceof AST_SymbolRef&&condition.definition()===consequent.definition()){return make_node(AST_Binary,self,{operator:"||",left:condition,right:alternative})}if(consequent instanceof AST_Assign&&alternative instanceof AST_Assign&&consequent.operator==alternative.operator&&consequent.left.equivalent_to(alternative.left)&&(!self.condition.has_side_effects(compressor)||consequent.operator=="="&&!consequent.left.has_side_effects(compressor))){return make_node(AST_Assign,self,{operator:consequent.operator,left:consequent.left,right:make_node(AST_Conditional,self,{condition:self.condition,consequent:consequent.right,alternative:alternative.right})})}if(consequent instanceof AST_Call&&alternative.TYPE===consequent.TYPE&&consequent.args.length==1&&alternative.args.length==1&&consequent.expression.equivalent_to(alternative.expression)&&!consequent.expression.has_side_effects(compressor)){consequent.args[0]=make_node(AST_Conditional,self,{condition:self.condition,consequent:consequent.args[0],alternative:alternative.args[0]});return consequent}if(consequent instanceof AST_Conditional&&consequent.alternative.equivalent_to(alternative)){return make_node(AST_Conditional,self,{condition:make_node(AST_Binary,self,{left:self.condition,operator:"&&",right:consequent.condition}),consequent:consequent.consequent,alternative:alternative})}if(consequent.equivalent_to(alternative)){return make_sequence(self,[self.condition,consequent]).optimize(compressor)}if(is_true(self.consequent)){if(is_false(self.alternative)){return booleanize(self.condition)}return make_node(AST_Binary,self,{operator:"||",left:booleanize(self.condition),right:self.alternative})}if(is_false(self.consequent)){if(is_true(self.alternative)){return booleanize(self.condition.negate(compressor))}return make_node(AST_Binary,self,{operator:"&&",left:booleanize(self.condition.negate(compressor)),right:self.alternative})}if(is_true(self.alternative)){return make_node(AST_Binary,self,{operator:"||",left:booleanize(self.condition.negate(compressor)),right:self.consequent})}if(is_false(self.alternative)){return make_node(AST_Binary,self,{operator:"&&",left:booleanize(self.condition),right:self.consequent})}return self;function booleanize(node){if(node.is_boolean())return node;return make_node(AST_UnaryPrefix,node,{operator:"!",expression:node.negate(compressor)})}function is_true(node){return node instanceof AST_True||node instanceof AST_UnaryPrefix&&node.operator=="!"&&node.expression instanceof AST_Constant&&!node.expression.value}function is_false(node){return node instanceof AST_False||node instanceof AST_UnaryPrefix&&node.operator=="!"&&node.expression instanceof AST_Constant&&!!node.expression.value}});OPT(AST_Boolean,function(self,compressor){if(compressor.option("booleans")){var p=compressor.parent();if(p instanceof AST_Binary&&(p.operator=="=="||p.operator=="!=")){compressor.warn("Non-strict equality against boolean: {operator} {value} [{file}:{line},{col}]",{operator:p.operator,value:self.value,file:p.start.file,line:p.start.line,col:p.start.col});return make_node(AST_Number,self,{value:+self.value})}return make_node(AST_UnaryPrefix,self,{operator:"!",expression:make_node(AST_Number,self,{value:1-self.value})})}return self});OPT(AST_Sub,function(self,compressor){var prop=self.property;if(prop instanceof AST_String&&compressor.option("properties")){prop=prop.getValue();if(RESERVED_WORDS(prop)?!compressor.option("ie8"):is_identifier_string(prop)){return make_node(AST_Dot,self,{expression:self.expression,property:prop}).optimize(compressor)}var v=parseFloat(prop);if(!isNaN(v)&&v.toString()==prop){self.property=make_node(AST_Number,self.property,{value:v})}}var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}return self});OPT(AST_Dot,function(self,compressor){var def=self.resolve_defines(compressor);if(def){return def.optimize(compressor)}var prop=self.property;if(RESERVED_WORDS(prop)&&compressor.option("ie8")){return make_node(AST_Sub,self,{expression:self.expression,property:make_node(AST_String,self,{value:prop})}).optimize(compressor)}if(compressor.option("unsafe_proto")&&self.expression instanceof AST_Dot&&self.expression.property=="prototype"){var exp=self.expression.expression;if(exp instanceof AST_SymbolRef&&exp.undeclared())switch(exp.name){case"Array":self.expression=make_node(AST_Array,self.expression,{elements:[]});break;case"Object":self.expression=make_node(AST_Object,self.expression,{properties:[]});break;case"String":self.expression=make_node(AST_String,self.expression,{value:""});break}}var ev=self.evaluate(compressor);if(ev!==self){ev=make_node_from_constant(ev,self).optimize(compressor);return best_of(compressor,ev,self)}return self});function literals_in_boolean_context(self,compressor){if(compressor.option("booleans")&&compressor.in_boolean_context()){return best_of(compressor,self,make_sequence(self,[self,make_node(AST_True,self)]).optimize(compressor))}return self}OPT(AST_Array,literals_in_boolean_context);OPT(AST_Object,literals_in_boolean_context);OPT(AST_RegExp,literals_in_boolean_context);OPT(AST_Return,function(self,compressor){if(self.value&&is_undefined(self.value,compressor)){self.value=null}return self});OPT(AST_VarDef,function(self,compressor){var defines=compressor.option("global_defs");if(defines&&HOP(defines,self.name.name)){compressor.warn("global_defs "+self.name.name+" redefined [{file}:{line},{col}]",self.start)}return self})})();"use strict";function SourceMap(options){options=defaults(options,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0});var generator=new MOZ_SourceMap.SourceMapGenerator({file:options.file,sourceRoot:options.root});var orig_map=options.orig&&new MOZ_SourceMap.SourceMapConsumer(options.orig);if(orig_map&&Array.isArray(options.orig.sources)){orig_map._sources.toArray().forEach(function(source){var sourceContent=orig_map.sourceContentFor(source,true);if(sourceContent){generator.setSourceContent(source,sourceContent)}})}function add(source,gen_line,gen_col,orig_line,orig_col,name){if(orig_map){var info=orig_map.originalPositionFor({line:orig_line,column:orig_col});if(info.source===null){return}source=info.source;orig_line=info.line;orig_col=info.column;name=info.name||name}generator.addMapping({generated:{line:gen_line+options.dest_line_diff,column:gen_col},original:{line:orig_line+options.orig_line_diff,column:orig_col},source:source,name:name})}return{add:add,get:function(){return generator},toString:function(){return JSON.stringify(generator.toJSON())}}}"use strict";(function(){var normalize_directives=function(body){var in_directive=true;for(var i=0;i<body.length;i++){if(in_directive&&body[i]instanceof AST_Statement&&body[i].body instanceof AST_String){body[i]=new AST_Directive({start:body[i].start,end:body[i].end,value:body[i].body.value})}else if(in_directive&&!(body[i]instanceof AST_Statement&&body[i].body instanceof AST_String)){in_directive=false}}return body};var MOZ_TO_ME={Program:function(M){return new AST_Toplevel({start:my_start_token(M),end:my_end_token(M),body:normalize_directives(M.body.map(from_moz))})},FunctionDeclaration:function(M){return new AST_Defun({start:my_start_token(M),end:my_end_token(M),name:from_moz(M.id),argnames:M.params.map(from_moz),body:normalize_directives(from_moz(M.body).body)})},FunctionExpression:function(M){return new AST_Function({start:my_start_token(M),end:my_end_token(M),name:from_moz(M.id),argnames:M.params.map(from_moz),body:normalize_directives(from_moz(M.body).body)})},ExpressionStatement:function(M){return new AST_SimpleStatement({start:my_start_token(M),end:my_end_token(M),body:from_moz(M.expression)})},TryStatement:function(M){var handlers=M.handlers||[M.handler];if(handlers.length>1||M.guardedHandlers&&M.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new AST_Try({start:my_start_token(M),end:my_end_token(M),body:from_moz(M.block).body,bcatch:from_moz(handlers[0]),bfinally:M.finalizer?new AST_Finally(from_moz(M.finalizer)):null})},Property:function(M){var key=M.key;var args={start:my_start_token(key),end:my_end_token(M.value),key:key.type=="Identifier"?key.name:key.value,value:from_moz(M.value)};if(M.kind=="init")return new AST_ObjectKeyVal(args);args.key=new AST_SymbolAccessor({name:args.key});args.value=new AST_Accessor(args.value);if(M.kind=="get")return new AST_ObjectGetter(args);if(M.kind=="set")return new AST_ObjectSetter(args)},ArrayExpression:function(M){return new AST_Array({start:my_start_token(M),end:my_end_token(M),elements:M.elements.map(function(elem){return elem===null?new AST_Hole:from_moz(elem)})})},ObjectExpression:function(M){return new AST_Object({start:my_start_token(M),end:my_end_token(M),properties:M.properties.map(function(prop){prop.type="Property";return from_moz(prop)})})},SequenceExpression:function(M){return new AST_Sequence({start:my_start_token(M),end:my_end_token(M),expressions:M.expressions.map(from_moz)})},MemberExpression:function(M){return new(M.computed?AST_Sub:AST_Dot)({start:my_start_token(M),end:my_end_token(M),property:M.computed?from_moz(M.property):M.property.name,expression:from_moz(M.object)})},SwitchCase:function(M){return new(M.test?AST_Case:AST_Default)({start:my_start_token(M),end:my_end_token(M),expression:from_moz(M.test),body:M.consequent.map(from_moz)})},VariableDeclaration:function(M){return new AST_Var({start:my_start_token(M),end:my_end_token(M),definitions:M.declarations.map(from_moz)})},Literal:function(M){var val=M.value,args={start:my_start_token(M),end:my_end_token(M)};if(val===null)return new AST_Null(args);switch(typeof val){case"string":args.value=val;return new AST_String(args);case"number":args.value=val;return new AST_Number(args);case"boolean":return new(val?AST_True:AST_False)(args);default:var rx=M.regex;if(rx&&rx.pattern){args.value=new RegExp(rx.pattern,rx.flags).toString()}else{args.value=M.regex&&M.raw?M.raw:val}return new AST_RegExp(args)}},Identifier:function(M){var p=FROM_MOZ_STACK[FROM_MOZ_STACK.length-2];return new(p.type=="LabeledStatement"?AST_Label:p.type=="VariableDeclarator"&&p.id===M?AST_SymbolVar:p.type=="FunctionExpression"?p.id===M?AST_SymbolLambda:AST_SymbolFunarg:p.type=="FunctionDeclaration"?p.id===M?AST_SymbolDefun:AST_SymbolFunarg:p.type=="CatchClause"?AST_SymbolCatch:p.type=="BreakStatement"||p.type=="ContinueStatement"?AST_LabelRef:AST_SymbolRef)({start:my_start_token(M),end:my_end_token(M),name:M.name})}};MOZ_TO_ME.UpdateExpression=MOZ_TO_ME.UnaryExpression=function To_Moz_Unary(M){var prefix="prefix"in M?M.prefix:M.type=="UnaryExpression"?true:false;return new(prefix?AST_UnaryPrefix:AST_UnaryPostfix)({start:my_start_token(M),end:my_end_token(M),operator:M.operator,expression:from_moz(M.argument)})};map("EmptyStatement",AST_EmptyStatement);map("BlockStatement",AST_BlockStatement,"body@body");map("IfStatement",AST_If,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",AST_LabeledStatement,"label>label, body>body");map("BreakStatement",AST_Break,"label>label");map("ContinueStatement",AST_Continue,"label>label");map("WithStatement",AST_With,"object>expression, body>body");map("SwitchStatement",AST_Switch,"discriminant>expression, cases@body");map("ReturnStatement",AST_Return,"argument>value");map("ThrowStatement",AST_Throw,"argument>value");map("WhileStatement",AST_While,"test>condition, body>body");map("DoWhileStatement",AST_Do,"test>condition, body>body");map("ForStatement",AST_For,"init>init, test>condition, update>step, body>body");map("ForInStatement",AST_ForIn,"left>init, right>object, body>body");map("DebuggerStatement",AST_Debugger);map("VariableDeclarator",AST_VarDef,"id>name, init>value");map("CatchClause",AST_Catch,"param>argname, body%body");map("ThisExpression",AST_This);map("BinaryExpression",AST_Binary,"operator=operator, left>left, right>right");map("LogicalExpression",AST_Binary,"operator=operator, left>left, right>right");map("AssignmentExpression",AST_Assign,"operator=operator, left>left, right>right");map("ConditionalExpression",AST_Conditional,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",AST_New,"callee>expression, arguments@args");map("CallExpression",AST_Call,"callee>expression, arguments@args");def_to_moz(AST_Toplevel,function To_Moz_Program(M){return to_moz_scope("Program",M)});def_to_moz(AST_Defun,function To_Moz_FunctionDeclaration(M){return{type:"FunctionDeclaration",id:to_moz(M.name),params:M.argnames.map(to_moz),body:to_moz_scope("BlockStatement",M)}});def_to_moz(AST_Function,function To_Moz_FunctionExpression(M){return{type:"FunctionExpression",id:to_moz(M.name),params:M.argnames.map(to_moz),body:to_moz_scope("BlockStatement",M)}});def_to_moz(AST_Directive,function To_Moz_Directive(M){return{type:"ExpressionStatement",expression:{type:"Literal",value:M.value}}});def_to_moz(AST_SimpleStatement,function To_Moz_ExpressionStatement(M){return{type:"ExpressionStatement",expression:to_moz(M.body)}});def_to_moz(AST_SwitchBranch,function To_Moz_SwitchCase(M){return{type:"SwitchCase",test:to_moz(M.expression),consequent:M.body.map(to_moz)}});def_to_moz(AST_Try,function To_Moz_TryStatement(M){return{type:"TryStatement",block:to_moz_block(M),handler:to_moz(M.bcatch),guardedHandlers:[],finalizer:to_moz(M.bfinally)}});def_to_moz(AST_Catch,function To_Moz_CatchClause(M){return{type:"CatchClause",param:to_moz(M.argname),guard:null,body:to_moz_block(M)}});def_to_moz(AST_Definitions,function To_Moz_VariableDeclaration(M){return{type:"VariableDeclaration",kind:"var",declarations:M.definitions.map(to_moz)}});def_to_moz(AST_Sequence,function To_Moz_SequenceExpression(M){return{type:"SequenceExpression",expressions:M.expressions.map(to_moz)}});def_to_moz(AST_PropAccess,function To_Moz_MemberExpression(M){var isComputed=M instanceof AST_Sub;return{type:"MemberExpression",object:to_moz(M.expression),computed:isComputed,property:isComputed?to_moz(M.property):{type:"Identifier",name:M.property}}});def_to_moz(AST_Unary,function To_Moz_Unary(M){return{type:M.operator=="++"||M.operator=="--"?"UpdateExpression":"UnaryExpression",operator:M.operator,prefix:M instanceof AST_UnaryPrefix,argument:to_moz(M.expression)}});def_to_moz(AST_Binary,function To_Moz_BinaryExpression(M){return{type:M.operator=="&&"||M.operator=="||"?"LogicalExpression":"BinaryExpression",left:to_moz(M.left),operator:M.operator,right:to_moz(M.right)}});def_to_moz(AST_Array,function To_Moz_ArrayExpression(M){return{type:"ArrayExpression",elements:M.elements.map(to_moz)}});def_to_moz(AST_Object,function To_Moz_ObjectExpression(M){return{type:"ObjectExpression",properties:M.properties.map(to_moz)}});def_to_moz(AST_ObjectProperty,function To_Moz_Property(M){var key={type:"Literal",value:M.key instanceof AST_SymbolAccessor?M.key.name:M.key};var kind;if(M instanceof AST_ObjectKeyVal){kind="init"}else if(M instanceof AST_ObjectGetter){kind="get"}else if(M instanceof AST_ObjectSetter){kind="set"}return{type:"Property",kind:kind,key:key,value:to_moz(M.value)}});def_to_moz(AST_Symbol,function To_Moz_Identifier(M){var def=M.definition();return{type:"Identifier",name:def?def.mangled_name||def.name:M.name}});def_to_moz(AST_RegExp,function To_Moz_RegExpLiteral(M){var value=M.value;return{type:"Literal",value:value,raw:value.toString(),regex:{pattern:value.source,flags:value.toString().match(/[gimuy]*$/)[0]}}});def_to_moz(AST_Constant,function To_Moz_Literal(M){var value=M.value;if(typeof value==="number"&&(value<0||value===0&&1/value<0)){return{type:"UnaryExpression",operator:"-",prefix:true,argument:{type:"Literal",value:-value,raw:M.start.raw}}}return{type:"Literal",value:value,raw:M.start.raw}});def_to_moz(AST_Atom,function To_Moz_Atom(M){return{type:"Identifier",name:String(M.value)}});AST_Boolean.DEFMETHOD("to_mozilla_ast",AST_Constant.prototype.to_mozilla_ast);AST_Null.DEFMETHOD("to_mozilla_ast",AST_Constant.prototype.to_mozilla_ast);AST_Hole.DEFMETHOD("to_mozilla_ast",function To_Moz_ArrayHole(){return null});AST_Block.DEFMETHOD("to_mozilla_ast",AST_BlockStatement.prototype.to_mozilla_ast);AST_Lambda.DEFMETHOD("to_mozilla_ast",AST_Function.prototype.to_mozilla_ast);function raw_token(moznode){if(moznode.type=="Literal"){return moznode.raw!=null?moznode.raw:moznode.value+""}}function my_start_token(moznode){var loc=moznode.loc,start=loc&&loc.start;var range=moznode.range;return new AST_Token({file:loc&&loc.source,line:start&&start.line,col:start&&start.column,pos:range?range[0]:moznode.start,endline:start&&start.line,endcol:start&&start.column,endpos:range?range[0]:moznode.start,raw:raw_token(moznode)})}function my_end_token(moznode){var loc=moznode.loc,end=loc&&loc.end;var range=moznode.range;return new AST_Token({file:loc&&loc.source,line:end&&end.line,col:end&&end.column,pos:range?range[1]:moznode.end,endline:end&&end.line,endcol:end&&end.column,endpos:range?range[1]:moznode.end,raw:raw_token(moznode)})}function map(moztype,mytype,propmap){var moz_to_me="function From_Moz_"+moztype+"(M){\n";moz_to_me+="return new U2."+mytype.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var me_to_moz="function To_Moz_"+moztype+"(M){\n";me_to_moz+="return {\n"+"type: "+JSON.stringify(moztype);if(propmap)propmap.split(/\s*,\s*/).forEach(function(prop){var m=/([a-z0-9$_]+)(=|@|>|%)([a-z0-9$_]+)/i.exec(prop);if(!m)throw new Error("Can't understand property map: "+prop);var moz=m[1],how=m[2],my=m[3];moz_to_me+=",\n"+my+": ";me_to_moz+=",\n"+moz+": ";switch(how){case"@":moz_to_me+="M."+moz+".map(from_moz)";me_to_moz+="M."+my+".map(to_moz)";break;case">":moz_to_me+="from_moz(M."+moz+")";me_to_moz+="to_moz(M."+my+")";break;case"=":moz_to_me+="M."+moz;me_to_moz+="M."+my;break;case"%":moz_to_me+="from_moz(M."+moz+").body";me_to_moz+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+prop)}});moz_to_me+="\n})\n}";me_to_moz+="\n}\n}";moz_to_me=new Function("U2","my_start_token","my_end_token","from_moz","return("+moz_to_me+")")(exports,my_start_token,my_end_token,from_moz);me_to_moz=new Function("to_moz","to_moz_block","to_moz_scope","return("+me_to_moz+")")(to_moz,to_moz_block,to_moz_scope);MOZ_TO_ME[moztype]=moz_to_me;def_to_moz(mytype,me_to_moz)}var FROM_MOZ_STACK=null;function from_moz(node){FROM_MOZ_STACK.push(node);var ret=node!=null?MOZ_TO_ME[node.type](node):null;FROM_MOZ_STACK.pop();return ret}AST_Node.from_mozilla_ast=function(node){var save_stack=FROM_MOZ_STACK;FROM_MOZ_STACK=[];var ast=from_moz(node);FROM_MOZ_STACK=save_stack;return ast};function set_moz_loc(mynode,moznode,myparent){var start=mynode.start;var end=mynode.end;if(start.pos!=null&&end.endpos!=null){moznode.range=[start.pos,end.endpos]}if(start.line){moznode.loc={start:{line:start.line,column:start.col},end:end.endline?{line:end.endline,column:end.endcol}:null};if(start.file){moznode.loc.source=start.file}}return moznode}function def_to_moz(mytype,handler){mytype.DEFMETHOD("to_mozilla_ast",function(){return set_moz_loc(this,handler(this))})}function to_moz(node){return node!=null?node.to_mozilla_ast():null}function to_moz_block(node){return{type:"BlockStatement",body:node.body.map(to_moz)}}function to_moz_scope(type,node){var body=node.body.map(to_moz);if(node.body[0]instanceof AST_SimpleStatement&&node.body[0].body instanceof AST_String){body.unshift(to_moz(new AST_EmptyStatement(node.body[0])))}return{type:type,body:body}}})();"use strict";function find_builtins(reserved){["null","true","false","Infinity","-Infinity","undefined"].forEach(add);[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp].forEach(function(ctor){Object.getOwnPropertyNames(ctor).map(add);if(ctor.prototype){Object.getOwnPropertyNames(ctor.prototype).map(add)}});function add(name){push_uniq(reserved,name)}}function mangle_properties(ast,options){options=defaults(options,{builtins:false,cache:null,debug:false,keep_quoted:false,only_cache:false,regex:null,reserved:null});var reserved=options.reserved||[];if(!options.builtins)find_builtins(reserved);var cache=options.cache;if(cache==null){cache={cname:-1,props:new Dictionary}}var regex=options.regex;var keep_quoted=options.keep_quoted;var debug=options.debug!==false;var debug_name_suffix;if(debug){debug_name_suffix=options.debug===true?"":options.debug}var names_to_mangle=[];var unmangleable=[];var to_keep={};ast.walk(new TreeWalker(function(node){if(node instanceof AST_ObjectKeyVal){add(node.key,keep_quoted&&node.quote)}else if(node instanceof AST_ObjectProperty){add(node.key.name)}else if(node instanceof AST_Dot){add(node.property)}else if(node instanceof AST_Sub){addStrings(node.property,keep_quoted)}}));return ast.transform(new TreeTransformer(function(node){if(node instanceof AST_ObjectKeyVal){if(!(keep_quoted&&node.quote))node.key=mangle(node.key)}else if(node instanceof AST_ObjectProperty){node.key.name=mangle(node.key.name)}else if(node instanceof AST_Dot){node.property=mangle(node.property)}else if(node instanceof AST_Sub){if(!keep_quoted)node.property=mangleStrings(node.property)}}));function can_mangle(name){if(unmangleable.indexOf(name)>=0)return false;if(reserved.indexOf(name)>=0)return false;if(options.only_cache){return cache.props.has(name)}if(/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(name))return false;return true}function should_mangle(name){if(keep_quoted&&name in to_keep)return false;if(regex&&!regex.test(name))return false;if(reserved.indexOf(name)>=0)return false;return cache.props.has(name)||names_to_mangle.indexOf(name)>=0}function add(name,keep){if(keep){to_keep[name]=true;return}if(can_mangle(name))push_uniq(names_to_mangle,name);if(!should_mangle(name)){push_uniq(unmangleable,name)}}function mangle(name){if(!should_mangle(name)){return name}var mangled=cache.props.get(name);if(!mangled){if(debug){var debug_mangled="_$"+name+"$"+debug_name_suffix+"_";if(can_mangle(debug_mangled)&&!(keep_quoted&&debug_mangled in to_keep)){mangled=debug_mangled}}if(!mangled){do{mangled=base54(++cache.cname)}while(!can_mangle(mangled)||keep_quoted&&mangled in to_keep)}cache.props.set(name,mangled)}return mangled}function addStrings(node,keep){var out={};try{(function walk(node){node.walk(new TreeWalker(function(node){if(node instanceof AST_Sequence){walk(node.expressions[node.expressions.length-1]);return true}if(node instanceof AST_String){add(node.value,keep);return true}if(node instanceof AST_Conditional){walk(node.consequent);walk(node.alternative);return true}throw out}))})(node)}catch(ex){if(ex!==out)throw ex}}function mangleStrings(node){return node.transform(new TreeTransformer(function(node){if(node instanceof AST_Sequence){var last=node.expressions.length-1;node.expressions[last]=mangleStrings(node.expressions[last])}else if(node instanceof AST_String){node.value=mangle(node.value)}else if(node instanceof AST_Conditional){node.consequent=mangleStrings(node.consequent);node.alternative=mangleStrings(node.alternative)}return node}))}}"use strict";var to_ascii=typeof atob=="undefined"?function(b64){return new Buffer(b64,"base64").toString()}:atob;var to_base64=typeof btoa=="undefined"?function(str){return new Buffer(str).toString("base64")}:btoa;function read_source_map(code){var match=/\n\/\/# sourceMappingURL=data:application\/json(;.*?)?;base64,(.*)/.exec(code);if(!match){AST_Node.warn("inline source map not found");return null}return to_ascii(match[2])}function set_shorthand(name,options,keys){if(options[name]){keys.forEach(function(key){if(options[key]){if(typeof options[key]!="object")options[key]={};if(!(name in options[key]))options[key][name]=options[name]}})}}function minify(files,options){var warn_function=AST_Node.warn_function;try{if(typeof files=="string"){files=[files]}options=defaults(options,{compress:{},ie8:false,keep_fnames:false,mangle:{},output:{},parse:{},sourceMap:false,toplevel:false,warnings:false,wrap:false},true);set_shorthand("ie8",options,["compress","mangle","output"]);set_shorthand("keep_fnames",options,["compress","mangle"]);set_shorthand("toplevel",options,["compress","mangle"]);set_shorthand("warnings",options,["compress"]);if(options.mangle){options.mangle=defaults(options.mangle,{cache:null,eval:false,ie8:false,keep_fnames:false,properties:false,reserved:[],toplevel:false},true)}if(options.sourceMap){options.sourceMap=defaults(options.sourceMap,{content:null,filename:null,includeSources:false,root:null,url:null},true)}var warnings=[];if(options.warnings&&!AST_Node.warn_function){AST_Node.warn_function=function(warning){warnings.push(warning)}}var toplevel;if(files instanceof AST_Toplevel){toplevel=files}else{options.parse=options.parse||{};options.parse.toplevel=null;for(var name in files){options.parse.filename=name;options.parse.toplevel=parse(files[name],options.parse);if(options.sourceMap&&options.sourceMap.content=="inline"){if(Object.keys(files).length>1)throw new Error("inline source map only works with singular input");options.sourceMap.content=read_source_map(files[name])}}toplevel=options.parse.toplevel}if(options.wrap){toplevel=toplevel.wrap_commonjs(options.wrap)}if(options.compress){toplevel.figure_out_scope(options.mangle);toplevel=new Compressor(options.compress).compress(toplevel)}if(options.mangle){toplevel.figure_out_scope(options.mangle);base54.reset();toplevel.compute_char_frequency(options.mangle);toplevel.mangle_names(options.mangle);if(options.mangle.properties){toplevel=mangle_properties(toplevel,options.mangle.properties)}}var result={};if(options.output.ast){result.ast=toplevel}if(!HOP(options.output,"code")||options.output.code){if(options.sourceMap){if(typeof options.sourceMap.content=="string"){options.sourceMap.content=JSON.parse(options.sourceMap.content)}options.output.source_map=SourceMap({file:options.sourceMap.filename,orig:options.sourceMap.content,root:options.sourceMap.root});if(options.sourceMap.includeSources){for(var name in files){options.output.source_map.get().setSourceContent(name,files[name])}}}delete options.output.ast;delete options.output.code;var stream=OutputStream(options.output);toplevel.print(stream);result.code=stream.get();if(options.sourceMap){result.map=options.output.source_map.toString();if(options.sourceMap.url=="inline"){result.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+to_base64(result.map)}else if(options.sourceMap.url){result.code+="\n//# sourceMappingURL="+options.sourceMap.url}}}if(warnings.length){result.warnings=warnings}return result}catch(ex){return{error:ex}}finally{AST_Node.warn_function=warn_function}}exports["Dictionary"]=Dictionary;exports["TreeWalker"]=TreeWalker;exports["TreeTransformer"]=TreeTransformer;exports["minify"]=minify;exports["_push_uniq"]=push_uniq})(typeof exports=="undefined"?exports={}:exports);
 }).call(this,require("buffer").Buffer)
 },{"buffer":5}]},{},["html-minifier"]);
index 1887e53..85d68c7 100644 (file)
@@ -1,7 +1,7 @@
 /*!
- * HTMLMinifier v3.5.0 (http://kangax.github.io/html-minifier/)
+ * HTMLMinifier v3.5.1 (http://kangax.github.io/html-minifier/)
  * Copyright 2010-2017 Juriy "kangax" Zaytsev
  * Licensed under the MIT license
  */
 
-require=function e(t,n,r){function o(a,u){if(!n[a]){if(!t[a]){var s="function"==typeof require&&require;if(!u&&s)return s(a,!0);if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return o(n||e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){"use strict";function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function o(e){return 3*e.length/4-r(e)}function i(e){var t,n,o,i,a,u,s=e.length;a=r(e),u=new f(3*s/4-a),o=a>0?s-4:s;var l=0;for(t=0,n=0;t<o;t+=4,n+=3)i=c[e.charCodeAt(t)]<<18|c[e.charCodeAt(t+1)]<<12|c[e.charCodeAt(t+2)]<<6|c[e.charCodeAt(t+3)],u[l++]=i>>16&255,u[l++]=i>>8&255,u[l++]=255&i;return 2===a?(i=c[e.charCodeAt(t)]<<2|c[e.charCodeAt(t+1)]>>4,u[l++]=255&i):1===a&&(i=c[e.charCodeAt(t)]<<10|c[e.charCodeAt(t+1)]<<4|c[e.charCodeAt(t+2)]>>2,u[l++]=i>>8&255,u[l++]=255&i),u}function a(e){return l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e]}function u(e,t,n){for(var r,o=[],i=t;i<n;i+=3)r=(e[i]<<16)+(e[i+1]<<8)+e[i+2],o.push(a(r));return o.join("")}function s(e){for(var t,n=e.length,r=n%3,o="",i=[],a=0,s=n-r;a<s;a+=16383)i.push(u(e,a,a+16383>s?s:a+16383));return 1===r?(t=e[n-1],o+=l[t>>2],o+=l[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=l[t>>10],o+=l[t>>4&63],o+=l[t<<2&63],o+="="),i.push(o),i.join("")}n.byteLength=o,n.toByteArray=i,n.fromByteArray=s;for(var l=[],c=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,d=p.length;h<d;++h)l[h]=p[h],c[p.charCodeAt(h)]=h;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},{}],2:[function(e,t,n){},{}],3:[function(e,t,n){arguments[4][2][0].apply(n,arguments)},{dup:2}],4:[function(e,t,n){(function(t){"use strict";var r=e("buffer"),o=r.Buffer,i=r.SlowBuffer,a=r.kMaxLength||2147483647;n.alloc=function(e,t,n){if("function"==typeof o.alloc)return o.alloc(e,t,n);if("number"==typeof n)throw new TypeError("encoding must not be number");if("number"!=typeof e)throw new TypeError("size must be a number");if(e>a)throw new RangeError("size is too large");var r=n,i=t;void 0===i&&(r=void 0,i=0);var u=new o(e);if("string"==typeof i)for(var s=new o(i,r),l=s.length,c=-1;++c<e;)u[c]=s[c%l];else u.fill(i);return u},n.allocUnsafe=function(e){if("function"==typeof o.allocUnsafe)return o.allocUnsafe(e);if("number"!=typeof e)throw new TypeError("size must be a number");if(e>a)throw new RangeError("size is too large");return new o(e)},n.from=function(e,n,r){if("function"==typeof o.from&&(!t.Uint8Array||Uint8Array.from!==o.from))return o.from(e,n,r);if("number"==typeof e)throw new TypeError('"value" argument must not be a number');if("string"==typeof e)return new o(e,n);if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer){var i=n;if(1===arguments.length)return new o(e);void 0===i&&(i=0);var a=r;if(void 0===a&&(a=e.byteLength-i),i>=e.byteLength)throw new RangeError("'offset' is out of bounds");if(a>e.byteLength-i)throw new RangeError("'length' is out of bounds");return new o(e.slice(i,i+a))}if(o.isBuffer(e)){var u=new o(e.length);return e.copy(u,0,0,e.length),u}if(e){if(Array.isArray(e)||"undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return new o(e);if("Buffer"===e.type&&Array.isArray(e.data))return new o(e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")},n.allocUnsafeSlow=function(e){if("function"==typeof o.allocUnsafeSlow)return o.allocUnsafeSlow(e);if("number"!=typeof e)throw new TypeError("size must be a number");if(e>=a)throw new RangeError("size is too large");return new i(e)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{buffer:5}],5:[function(e,t,n){(function(t){"use strict";function r(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(r()<t)throw new RangeError("Invalid typed array length");return i.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=i.prototype:(null===e&&(e=new i(t)),e.length=t),e}function i(e,t,n){if(!(i.TYPED_ARRAY_SUPPORT||this instanceof i))return new i(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return l(this,e)}return a(this,e,t,n)}function a(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?p(e,t,n,r):"string"==typeof t?c(e,t,n):h(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function s(e,t,n,r){return u(t),t<=0?o(e,t):void 0!==n?"string"==typeof r?o(e,t).fill(n,r):o(e,t).fill(n):o(e,t)}function l(e,t){if(u(t),e=o(e,t<0?0:0|d(t)),!i.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function c(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!i.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|g(t,n),a=(e=o(e,r)).write(t,n);return a!==r&&(e=e.slice(0,a)),e}function f(e,t){var n=t.length<0?0:0|d(t.length);e=o(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),i.TYPED_ARRAY_SUPPORT?(e=t).__proto__=i.prototype:e=f(e,t),e}function h(e,t){if(i.isBuffer(t)){var n=0|d(t.length);return 0===(e=o(e,n)).length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||W(t.length)?o(e,0):f(e,t);if("Buffer"===t.type&&J(t.data))return f(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function d(e){if(e>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function m(e){return+e!=e&&(e=0),i.alloc(+e)}function g(e,t){if(i.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return $(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Y(e).length;default:if(r)return $(e).length;t=(""+t).toLowerCase(),r=!0}}function v(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return R(this,t,n);case"utf8":case"utf-8":return B(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return O(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function b(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:_(e,t,n,r,o);if("number"==typeof t)return t&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function _(e,t,n,r,o){function i(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,u=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,u/=2,s/=2,n/=2}var l;if(o){var c=-1;for(l=n;l<u;l++)if(i(e,l)===i(t,-1===c?0:l-c)){if(-1===c&&(c=l),l-c+1===s)return c*a}else-1!==c&&(l-=l-c),c=-1}else for(n+s>u&&(n=u-s),l=n;l>=0;l--){for(var f=!0,p=0;p<s;p++)if(i(e,l+p)!==i(t,p)){f=!1;break}if(f)return l}return-1}function w(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var u=parseInt(t.substr(2*a,2),16);if(isNaN(u))return a;e[n+a]=u}return a}function A(e,t,n,r){return G($(t,e.length-n),e,n,r)}function E(e,t,n,r){return G(H(t),e,n,r)}function x(e,t,n,r){return E(e,t,n,r)}function C(e,t,n,r){return G(Y(t),e,n,r)}function k(e,t,n,r){return G(K(t,e.length-n),e,n,r)}function O(e,t,n){return 0===t&&n===e.length?Q.fromByteArray(e):Q.fromByteArray(e.slice(t,n))}function B(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i=e[o],a=null,u=i>239?4:i>223?3:i>191?2:1;if(o+u<=n){var s,l,c,f;switch(u){case 1:i<128&&(a=i);break;case 2:128==(192&(s=e[o+1]))&&(f=(31&i)<<6|63&s)>127&&(a=f);break;case 3:s=e[o+1],l=e[o+2],128==(192&s)&&128==(192&l)&&(f=(15&i)<<12|(63&s)<<6|63&l)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:s=e[o+1],l=e[o+2],c=e[o+3],128==(192&s)&&128==(192&l)&&128==(192&c)&&(f=(15&i)<<18|(63&s)<<12|(63&l)<<6|63&c)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,u=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),o+=u}return S(r)}function S(e){var t=e.length;if(t<=X)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=X));return n}function D(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function T(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function R(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=V(e[i]);return o}function F(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function L(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,n,r,o,a){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function P(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function U(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function N(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function q(e,t,n,r,o){return o||N(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Z.write(e,t,n,r,23,4),n+4}function z(e,t,n,r,o){return o||N(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Z.write(e,t,n,r,52,8),n+8}function I(e){if((e=j(e).replace(ee,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function j(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function V(e){return e<16?"0"+e.toString(16):e.toString(16)}function $(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function H(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function K(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}function Y(e){return Q.toByteArray(I(e))}function G(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function W(e){return e!==e}var Q=e("base64-js"),Z=e("ieee754"),J=e("isarray");n.Buffer=i,n.SlowBuffer=m,n.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),n.kMaxLength=r(),i.poolSize=8192,i._augment=function(e){return e.__proto__=i.prototype,e},i.from=function(e,t,n){return a(null,e,t,n)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0})),i.alloc=function(e,t,n){return s(null,e,t,n)},i.allocUnsafe=function(e){return l(null,e)},i.allocUnsafeSlow=function(e){return l(null,e)},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.compare=function(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o<a;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(e,t){if(!J(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return i.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=i.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(!i.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},i.byteLength=g,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)b(this,t,t+1);return this},i.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)b(this,t,t+3),b(this,t+1,t+2);return this},i.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)b(this,t,t+7),b(this,t+1,t+6),b(this,t+2,t+5),b(this,t+3,t+4);return this},i.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?B(this,0,e):v.apply(this,arguments)},i.prototype.equals=function(e){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===i.compare(this,e)},i.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},i.prototype.compare=function(e,t,n,r,o){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var a=o-r,u=n-t,s=Math.min(a,u),l=this.slice(r,o),c=e.slice(t,n),f=0;f<s;++f)if(l[f]!==c[f]){a=l[f],u=c[f];break}return a<u?-1:u<a?1:0},i.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},i.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},i.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},i.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return A(this,e,t,n);case"ascii":return E(this,e,t,n);case"latin1":case"binary":return x(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var X=4096;i.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r;if(i.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=i.prototype;else{var o=t-e;r=new i(o,void 0);for(var a=0;a<o;++a)r[a]=this[a+e]}return r},i.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},i.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},i.prototype.readUInt8=function(e,t){return t||L(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return t||L(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return t||L(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},i.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},i.prototype.readInt8=function(e,t){return t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){t||L(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(e,t){t||L(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(e,t){return t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return t||L(e,4,this.length),Z.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return t||L(e,4,this.length),Z.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return t||L(e,8,this.length),Z.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return t||L(e,8,this.length),Z.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||M(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},i.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||M(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},i.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,255,0),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},i.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},i.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):U(this,e,t,!0),t+4},i.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):U(this,e,t,!1),t+4},i.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);M(this,e,t,n,o-1,-o)}var i=0,a=1,u=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===u&&0!==this[t+i-1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+n},i.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);M(this,e,t,n,o-1,-o)}var i=n-1,a=1,u=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===u&&0!==this[t+i+1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+n},i.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,127,-128),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},i.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},i.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):U(this,e,t,!0),t+4},i.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):U(this,e,t,!1),t+4},i.prototype.writeFloatLE=function(e,t,n){return q(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){return q(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){return z(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){return z(this,e,t,!1,n)},i.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,a=r-n;if(this===e&&n<t&&t<r)for(o=a-1;o>=0;--o)e[o+t]=this[o+n];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},i.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!i.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var a;if("number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var u=i.isBuffer(e)?e:$(new i(e,r).toString()),s=u.length;for(a=0;a<n-t;++a)this[a+t]=u[a%s]}return this};var ee=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":1,ieee754:106,isarray:109}],6:[function(e,t,n){t.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],7:[function(e,t,n){t.exports=e("./lib/clean")},{"./lib/clean":8}],8:[function(e,t,n){(function(n){function r(e,t,n,r){var u="function"!=typeof n?n:null,s="function"==typeof r?r:"function"==typeof n?n:null,l={stats:{efficiency:0,minifiedSize:0,originalSize:0,startedAt:Date.now(),timeSpent:0},cache:{specificity:{}},errors:[],inlinedStylesheets:[],inputSourceMapTracker:A(),localOnly:!s,options:t,source:null,sourcesContent:{},validator:f(t.compatibility),warnings:[]};return u&&l.inputSourceMapTracker.track(void 0,u),o(l.localOnly)(function(){return E(e,l,function(e){var t=a((l.options.sourceMap?C:x)(i(e,l),l),l);return s?s(l.errors.length>0?l.errors:null,t):t})})}function o(e){return e?function(e){return e()}:n.nextTick}function i(e,t){var n;return n=s(e,t),n=b.One in t.options.level?l(e,t):e,n=b.Two in t.options.level?c(e,t,!0):n}function a(e,t){return e.stats=u(e.styles,t),e.errors=t.errors,e.inlinedStylesheets=t.inlinedStylesheets,e.warnings=t.warnings,e}function u(e,t){var n=Date.now()-t.stats.startedAt;return delete t.stats.startedAt,t.stats.timeSpent=n,t.stats.efficiency=1-e.length/t.stats.originalSize,t.stats.minifiedSize=e.length,t.stats}var s=e("./optimizer/level-0/optimize"),l=e("./optimizer/level-1/optimize"),c=e("./optimizer/level-2/optimize"),f=e("./optimizer/validator"),p=e("./options/compatibility"),h=e("./options/fetch"),d=e("./options/format").formatFrom,m=e("./options/inline"),g=e("./options/inline-request"),v=e("./options/inline-timeout"),b=e("./options/optimization-level").OptimizationLevel,y=e("./options/optimization-level").optimizationLevelFrom,_=e("./options/rebase"),w=e("./options/rebase-to"),A=e("./reader/input-source-map-tracker"),E=e("./reader/read-sources"),x=e("./writer/simple"),C=e("./writer/source-maps");(t.exports=function(e){e=e||{},this.options={compatibility:p(e.compatibility),fetch:h(e.fetch),format:d(e.format),inline:m(e.inline),inlineRequest:g(e.inlineRequest),inlineTimeout:v(e.inlineTimeout),level:y(e.level),rebase:_(e.rebase),rebaseTo:w(e.rebaseTo),returnPromise:!!e.returnPromise,sourceMap:!!e.sourceMap,sourceMapInlineSources:!!e.sourceMapInlineSources}}).prototype.minify=function(e,t,n){var o=this.options;return o.returnPromise?new Promise(function(n,i){r(e,o,t,function(e,t){return e?i(e):n(t)})}):r(e,o,t,n)}}).call(this,e("_process"))},{"./optimizer/level-0/optimize":10,"./optimizer/level-1/optimize":11,"./optimizer/level-2/optimize":30,"./optimizer/validator":58,"./options/compatibility":60,"./options/fetch":61,"./options/format":62,"./options/inline":65,"./options/inline-request":63,"./options/inline-timeout":64,"./options/optimization-level":66,"./options/rebase":68,"./options/rebase-to":67,"./reader/input-source-map-tracker":72,"./reader/read-sources":78,"./writer/simple":100,"./writer/source-maps":101,_process:114}],9:[function(e,t,n){var r={ASTERISK:"asterisk",BANG:"bang",BACKSLASH:"backslash",UNDERSCORE:"underscore"};t.exports=r},{}],10:[function(e,t,n){function r(e){return e}t.exports=r},{}],11:[function(e,t,n){function r(e){return e&&"-"==e[1][0]&&parseFloat(e[1])<0}function o(e){return re.test(e)}function i(e){return ie.test(e)}function a(e){return e.replace(ie,"url(").replace(/\\?\n|\\?\r\n/g,"")}function u(e){var t=e.value;1==t.length&&"none"==t[0][1]&&(t[0][1]="0 0"),1==t.length&&"transparent"==t[0][1]&&(t[0][1]="0 0")}function s(e){var t,n=e.value;3==n.length&&"/"==n[1][1]&&n[0][1]==n[2][1]?t=1:5==n.length&&"/"==n[2][1]&&n[0][1]==n[3][1]&&n[1][1]==n[4][1]?t=2:7==n.length&&"/"==n[3][1]&&n[0][1]==n[4][1]&&n[1][1]==n[5][1]&&n[2][1]==n[6][1]?t=3:9==n.length&&"/"==n[4][1]&&n[0][1]==n[5][1]&&n[1][1]==n[6][1]&&n[2][1]==n[7][1]&&n[3][1]==n[8][1]&&(t=4),t&&(e.value.splice(t),e.dirty=!0)}function l(e,t,n){return-1===t.indexOf("#")&&-1==t.indexOf("rgb")&&-1==t.indexOf("hsl")?F(t):(t=t.replace(/rgb\((\-?\d+),(\-?\d+),(\-?\d+)\)/g,function(e,t,n,r){return M(t,n,r)}).replace(/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/g,function(e,t,n,r){return L(t,n,r)}).replace(/(^|[^='"])#([0-9a-f]{6})/gi,function(e,t,n){return n[0]==n[1]&&n[2]==n[3]&&n[4]==n[5]?(t+"#"+n[0]+n[2]+n[4]).toLowerCase():(t+"#"+n).toLowerCase()}).replace(/(^|[^='"])#([0-9a-f]{3})/gi,function(e,t,n){return t+"#"+n.toLowerCase()}).replace(/(rgb|rgba|hsl|hsla)\(([^\)]+)\)/g,function(e,t,n){var r=n.split(",");return"hsl"==t&&3==r.length||"hsla"==t&&4==r.length||"rgb"==t&&3==r.length&&n.indexOf("%")>0||"rgba"==t&&4==r.length&&n.indexOf("%")>0?(-1==r[1].indexOf("%")&&(r[1]+="%"),-1==r[2].indexOf("%")&&(r[2]+="%"),t+"("+r.join(",")+")"):e}),n.colors.opacity&&-1==e.indexOf("background")&&(t=t.replace(/(?:rgba|hsla)\(0,0%?,0%?,0\)/g,function(e){return G(t,",").pop().indexOf("gradient(")>-1?e:"transparent"})),F(t))}function c(e){1==e.value.length&&(e.value[0][1]=e.value[0][1].replace(/progid:DXImageTransform\.Microsoft\.(Alpha|Chroma)(\W)/,function(e,t,n){return t.toLowerCase()+n})),e.value[0][1]=e.value[0][1].replace(/,(\S)/g,", $1").replace(/ ?= ?/g,"=")}function f(e,t){var n=e.value[t][1];"normal"==n?n="400":"bold"==n&&(n="700"),e.value[t][1]=n}function p(e){var t,n=e.value;4==n.length&&"0"===n[0][1]&&"0"===n[1][1]&&"0"===n[2][1]&&"0"===n[3][1]&&(t=e.name.indexOf("box-shadow")>-1?2:1),t&&(e.value.splice(t),e.dirty=!0)}function h(e){var t=e.value;1==t.length&&"none"==t[0][1]&&(t[0][1]="0")}function d(e,t,n){return X.test(t)?t.replace(X,function(e,t){var r,o=parseInt(t);return 0===o?e:(n.properties.shorterLengthUnits&&n.units.pt&&3*o%4==0&&(r=3*o/4+"pt"),n.properties.shorterLengthUnits&&n.units.pc&&o%16==0&&(r=o/16+"pc"),n.properties.shorterLengthUnits&&n.units.in&&o%96==0&&(r=o/96+"in"),r&&(r=e.substring(0,e.indexOf(t))+r),r&&r.length<e.length?r:e)}):t}function m(e,t,n){return n.enabled&&-1!==t.indexOf(".")?t.replace(n.decimalPointMatcher,"$1$2$3").replace(n.zeroMatcher,function(e,t,r,o){var i=n.units[o].multiplier,a=parseInt(t),u=isNaN(a)?0:a,s=parseFloat(r);return Math.round((u+s)*i)/i+o}):t}function g(e,t){return ee.test(t)?t.replace(ee,function(e,t,n){var r;return"ms"==n?r=parseInt(t)/1e3+"s":"s"==n&&(r=1e3*parseFloat(t)+"ms"),r.length<e.length?r:e}):t}function v(e,t,n){return/^(?:\-moz\-calc|\-webkit\-calc|calc|rgb|hsl|rgba|hsla)\(/.test(t)?t:"flex"==e||"-ms-flex"==e||"-webkit-flex"==e||"flex-basis"==e||"-webkit-flex-basis"==e?t:t.indexOf("%")>0&&("height"==e||"max-height"==e)?t:t.replace(n,"$10$2").replace(n,"$10$2")}function b(e,t){return e.indexOf("filter")>-1||-1==t.indexOf(" ")||0===t.indexOf("expression")?t:t.indexOf(K.SINGLE_QUOTE)>-1||t.indexOf(K.DOUBLE_QUOTE)>-1?t:((t=t.replace(/\s+/g," ")).indexOf("calc")>-1&&(t=t.replace(/\) ?\/ ?/g,")/ ")),t.replace(/(\(;?)\s+/g,"$1").replace(/\s+(;?\))/g,"$1").replace(/, /g,","))}function y(e,t){return-1==t.indexOf("0deg")?t:t.replace(/\(0deg\)/g,"(0)")}function _(e,t){return-1==t.indexOf("0")?t:(t.indexOf("-")>-1&&(t=t.replace(/([^\w\d\-]|^)\-0([^\.]|$)/g,"$10$2").replace(/([^\w\d\-]|^)\-0([^\.]|$)/g,"$10$2")),t.replace(/(^|\s)0+([1-9])/g,"$1$2").replace(/(^|\D)\.0+(\D|$)/g,"$10$2").replace(/(^|\D)\.0+(\D|$)/g,"$10$2").replace(/\.([1-9]*)0+(\D|$)/g,function(e,t,n){return(t.length>0?".":"")+t+n}).replace(/(^|\D)0\.(\d)/g,"$1.$2"))}function w(e,t){return"content"==e||e.indexOf("font-feature-settings")>-1||e.indexOf("grid-")>-1?t:oe.test(t)?t.substring(1,t.length-1):t}function A(e){return!/^url\(['"].+['"]\)$/.test(e)||/^url\(['"].*[\*\s\(\)'"].*['"]\)$/.test(e)||/^url\(['"]data:[^;]+;charset/.test(e)?e:e.replace(/["']/g,"")}function E(e,t,n){var r=n(e,t);return void 0===r?t:!1===r?W:r}function x(e,t){var n,k,O,B,S,D,R=t.options,F=R.level[$.One],L=V(e,!0);e:for(var M=0,P=L.length;M<P;M++)if(n=L[M],k=n.name,te.test(k)||(D=n.all[n.position],t.warnings.push("Invalid property name '"+k+"' at "+Y(D[1][2][0])+". Ignoring."),n.unused=!0),0===n.value.length&&(D=n.all[n.position],t.warnings.push("Empty property '"+k+"' at "+Y(D[1][2][0])+". Ignoring."),n.unused=!0),n.hack&&((n.hack[0]==z.ASTERISK||n.hack[0]==z.UNDERSCORE)&&!R.compatibility.properties.iePrefixHack||n.hack[0]==z.BACKSLASH&&!R.compatibility.properties.ieSuffixHack||n.hack[0]==z.BANG&&!R.compatibility.properties.ieBangHack)&&(n.unused=!0),F.removeNegativePaddings&&0===k.indexOf("padding")&&(r(n.value[0])||r(n.value[1])||r(n.value[2])||r(n.value[3]))&&(n.unused=!0),!R.compatibility.properties.ieFilters&&T(n)&&(n.unused=!0),!n.unused)if(n.block)x(n.value[0][1],t);else if(!ae.test(k)){for(var U=0,N=n.value.length;U<N;U++){if(O=n.value[U][0],B=n.value[U][1],S=i(B),O==H.PROPERTY_BLOCK){n.unused=!0,t.warnings.push("Invalid value token at "+Y(B[0][1][2][0])+". Ignoring.");break}if(S&&!t.validator.isUrl(B)){n.unused=!0,t.warnings.push("Broken URL '"+B+"' at "+Y(n.value[U][2][0])+". Ignoring.");break}if(S?(B=F.normalizeUrls?a(B):B,B=R.compatibility.properties.urlQuotes?B:A(B)):o(B)?B=F.removeQuotes?w(k,B):B:(B=d(k,B=m(k,B=F.removeWhitespace?b(k,B):B,R.precision),R.compatibility),B=F.replaceTimeUnits?g(k,B):B,B=F.replaceZeroUnits?_(k,B):B,R.compatibility.properties.zeroUnits&&(B=v(k,B=y(k,B),R.unitsRegexp)),R.compatibility.properties.colors&&(B=l(k,B,R.compatibility))),(B=E(k,B,F.transform))===W){n.unused=!0;continue e}n.value[U][1]=B}F.replaceMultipleZeros&&p(n),"background"==k&&F.optimizeBackground?u(n):0===k.indexOf("border")&&k.indexOf("radius")>0&&F.optimizeBorderRadius?s(n):"filter"==k&&F.optimizeFilter&&R.compatibility.properties.ieFilters?c(n):"font-weight"==k&&F.optimizeFontWeight?f(n,0):"outline"==k&&F.optimizeOutline&&h(n)}j(L),I(L),L.length!=e.length&&C(e,R)}function C(e,t){var n,r;for(r=0;r<e.length;r++)(n=e[r])[0]==H.COMMENT&&(k(n,t),0===n[1].length&&(e.splice(r,1),r--))}function k(e,t){if(e[1][2]==K.EXCLAMATION&&("all"==t.level[$.One].specialComments||t.commentsKept<t.level[$.One].specialComments))return void t.commentsKept++;e[1]=[]}function O(e){for(var t=!1,n=0,r=e.length;n<r;n++){var o=e[n];o[0]==H.AT_RULE&&(Z.test(o[1])&&(t||-1==o[1].indexOf(Q)?(e.splice(n,1),n--,r--):(t=!0,e.splice(n,1),e.unshift([H.AT_RULE,o[1].replace(Z,Q)]))))}}function B(e){var t=["px","em","ex","cm","mm","in","pt","pc","%"];return["ch","rem","vh","vm","vmax","vmin","vw"].forEach(function(n){e.compatibility.units[n]&&t.push(n)}),new RegExp("(^|\\s|\\(|,)0(?:"+t.join("|")+")(\\W|$)","g")}function S(e){var t,n,r={matcher:null,units:{}},o=[];for(t in e)(n=e[t])!=J&&(r.units[t]={},r.units[t].value=n,r.units[t].multiplier=Math.pow(10,n),o.push(t));return o.length>0&&(r.enabled=!0,r.decimalPointMatcher=new RegExp("(\\d)\\.($|"+o.join("|")+")($|W)","g"),r.zeroMatcher=new RegExp("(\\d*)(\\.\\d+)("+o.join("|")+")","g")),r}function D(e){return ne.test(e[1])}function T(e){var t;return("filter"==e.name||"-ms-filter"==e.name)&&((t=e.value[0][1]).indexOf("progid")>-1||0===t.indexOf("alpha")||0===t.indexOf("chroma"))}function R(e,t){var n=t.options,r=n.level[$.One],o=n.compatibility.selectors.ie7Hack,i=n.compatibility.selectors.adjacentSpace,a=n.compatibility.properties.spaceAfterClosingBrace,u=n.format,s=!1,l=!1;n.unitsRegexp=n.unitsRegexp||B(n),n.precision=n.precision||S(r.roundingPrecision),n.commentsKept=n.commentsKept||0;for(var c=0,f=e.length;c<f;c++){var p=e[c];switch(p[0]){case H.AT_RULE:p[1]=D(p)&&l?"":p[1],p[1]=r.tidyAtRules?q(p[1]):p[1],s=!0;break;case H.AT_RULE_BLOCK:x(p[2],t),l=!0;break;case H.NESTED_BLOCK:p[1]=r.tidyBlockScopes?N(p[1],a):p[1],R(p[2],t),l=!0;break;case H.COMMENT:k(p,n);break;case H.RULE:p[1]=r.tidySelectors?U(p[1],!o,i,u,t.warnings):p[1],p[1]=p[1].length>1?P(p[1],r.selectorsSortingMethod):p[1],x(p[2],t),l=!0}r.removeEmpty&&(0===p[1].length||p[2]&&0===p[2].length)&&(e.splice(c,1),c--,f--)}return r.cleanupCharsets&&s&&O(e),e}var F=e("./shorten-hex"),L=e("./shorten-hsl"),M=e("./shorten-rgb"),P=e("./sort-selectors"),U=e("./tidy-rules"),N=e("./tidy-block"),q=e("./tidy-at-rule"),z=e("../hack"),I=e("../remove-unused"),j=e("../restore-from-optimizing"),V=e("../wrap-for-optimizing").all,$=e("../../options/optimization-level").OptimizationLevel,H=e("../../tokenizer/token"),K=e("../../tokenizer/marker"),Y=e("../../utils/format-position"),G=e("../../utils/split"),W="ignore-property",Q="@charset",Z=new RegExp("^"+Q,"i"),J=e("../../options/rounding-precision").DEFAULT,X=/(?:^|\s|\()(-?\d+)px/,ee=/^(\-?[\d\.]+)(m?s)$/,te=/^(?:\-chrome\-|\-[\w\-]+\w|\w[\w\-]+\w|\-\-\S+)$/,ne=/^@import/i,re=/^('.*'|".*")$/,oe=/^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/,ie=/^url\(/i,ae=/^--\S+$/;t.exports=R},{"../../options/optimization-level":66,"../../options/rounding-precision":69,"../../tokenizer/marker":84,"../../tokenizer/token":85,"../../utils/format-position":88,"../../utils/split":97,"../hack":9,"../remove-unused":56,"../restore-from-optimizing":57,"../wrap-for-optimizing":59,"./shorten-hex":12,"./shorten-hsl":13,"./shorten-rgb":14,"./sort-selectors":15,"./tidy-at-rule":16,"./tidy-block":17,"./tidy-rules":18}],12:[function(e,t,n){function r(e,t,n,r){return t+u[n.toLowerCase()]+r}function o(e,t,n){return s[t.toLowerCase()]+n}function i(e){var t=e.indexOf("#")>-1,n=e.replace(f,r);return n!=e&&(n=n.replace(f,r)),t?n.replace(p,o):n}var a={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#0ff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000",blanchedalmond:"#ffebcd",blue:"#00f",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#f0f",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#0f0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#f00",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#fff",whitesmoke:"#f5f5f5",yellow:"#ff0",yellowgreen:"#9acd32"},u={},s={};for(var l in a){var c=a[l];l.length<c.length?s[c]=l:u[l]=c}var f=new RegExp("(^| |,|\\))("+Object.keys(u).join("|")+")( |,|\\)|$)","ig"),p=new RegExp("("+Object.keys(s).join("|")+")([^a-f0-9]|$)","ig");t.exports=i},{}],13:[function(e,t,n){function r(e,t,n){var r,i,a;if((e%=360)<0&&(e+=360),e=~~e/360,t<0?t=0:t>100&&(t=100),t=~~t/100,n<0?n=0:n>100&&(n=100),n=~~n/100,0===t)r=i=a=n;else{var u=n<.5?n*(1+t):n+t-n*t,s=2*n-u;r=o(s,u,e+1/3),i=o(s,u,e),a=o(s,u,e-1/3)}return[~~(255*r),~~(255*i),~~(255*a)]}function o(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function i(e,t,n){var o=r(e,t,n),i=o[0].toString(16),a=o[1].toString(16),u=o[2].toString(16);return"#"+(1==i.length?"0":"")+i+(1==a.length?"0":"")+a+(1==u.length?"0":"")+u}t.exports=i},{}],14:[function(e,t,n){function r(e,t,n){return"#"+("00000"+(Math.max(0,Math.min(parseInt(e),255))<<16|Math.max(0,Math.min(parseInt(t),255))<<8|Math.max(0,Math.min(parseInt(n),255))).toString(16)).slice(-6)}t.exports=r},{}],15:[function(e,t,n){function r(e,t){return a(e[1],t[1])}function o(e,t){return e[1]>t[1]?1:-1}function i(e,t){switch(t){case"natural":return e.sort(r);case"standard":return e.sort(o);case"none":case!1:return e}}var a=e("../../utils/natural-compare");t.exports=i},{"../../utils/natural-compare":95}],16:[function(e,t,n){function r(e){return e.replace(/\s+/g," ").replace(/url\(\s+/g,"url(").replace(/\s+\)/g,")").trim()}t.exports=r},{}],17:[function(e,t,n){function r(e,t){var n,r;for(r=e.length-1;r>=0;r--)n=!t&&o.test(e[r][1]),e[r][1]=e[r][1].replace(/\n|\r\n/g," ").replace(/\s+/g," ").replace(/(,|:|\() /g,"$1").replace(/ \)/g,")").replace(/'([a-zA-Z][a-zA-Z\d\-_]+)'/,"$1").replace(/"([a-zA-Z][a-zA-Z\d\-_]+)"/,"$1").replace(n?/\) /g:null,")");return e}var o=/^@media\W/;t.exports=r},{}],18:[function(e,t,n){function r(e){var t,n,r,o,i=!1,a=!1;for(r=0,o=e.length;r<o;r++){if(n=e[r],t);else if(n==s.SINGLE_QUOTE||n==s.DOUBLE_QUOTE)a=!a;else{if(!(a||n!=s.CLOSE_CURLY_BRACKET&&n!=s.EXCLAMATION&&n!=w&&n!=s.SEMICOLON)){i=!0;break}if(!a&&0===r&&v.test(n)){i=!0;break}}t=n==s.BACK_SLASH}return i}function o(e,t){var n,r,o,i,a,l,p,h,d,m,g,y,_,w=[],A=0,E=!1,x=!1,C=c.test(e),k=t&&t.spaces[u.AroundSelectorRelation];for(y=0,_=e.length;y<_;y++){if(n=e[y],r=n==s.NEW_LINE_NIX,o=n==s.NEW_LINE_NIX&&e[y-1]==s.NEW_LINE_WIN,l=p||h,m=!i&&0===A&&v.test(n),g=b.test(n),a&&l&&o)w.pop(),w.pop();else if(i&&l&&r)w.pop();else if(i)w.push(n);else if(n!=s.OPEN_SQUARE_BRACKET||l)if(n!=s.CLOSE_SQUARE_BRACKET||l)if(n!=s.OPEN_ROUND_BRACKET||l)if(n!=s.CLOSE_ROUND_BRACKET||l)if(n!=s.SINGLE_QUOTE||l)if(n!=s.DOUBLE_QUOTE||l)if(n==s.SINGLE_QUOTE&&l)w.push(n),p=!1;else if(n==s.DOUBLE_QUOTE&&l)w.push(n),h=!1;else{if(g&&E&&!k)continue;!g&&E&&k?(w.push(s.SPACE),w.push(n)):g&&(d||A>0)&&!l||g&&x&&!l||(o||r)&&(d||A>0)&&l||(m&&x&&!k?(w.pop(),w.push(n)):m&&!x&&k?(w.push(s.SPACE),w.push(n)):g?w.push(s.SPACE):w.push(n))}else w.push(n),h=!0;else w.push(n),p=!0;else w.push(n),A--;else w.push(n),A++;else w.push(n),d=!1;else w.push(n),d=!0;a=i,i=n==s.BACK_SLASH,E=m,x=g}return C?w.join("").replace(f,"$1 $2]"):w.join("")}function i(e){return-1==e.indexOf("'")&&-1==e.indexOf('"')?e:e.replace(m,"=$1 $2").replace(g,"=$1$2").replace(p,"=$1 $2").replace(h,"=$1$2")}function a(e,t,n,a,u){function s(e,t){return u.push("HTML comment '"+t+"' at "+l(e[2][0])+". Removing."),""}for(var c=[],f=[],p=0,h=e.length;p<h;p++){var m=e[p],g=m[1];r(g=g.replace(d,s.bind(null,m)))?u.push("Invalid selector '"+m[1]+"' at "+l(m[2][0])+". Ignoring."):(g=i(g=o(g,a)),n&&g.indexOf("nav")>0&&(g=g.replace(/\+nav(\S|$)/,"+ nav$1")),t&&g.indexOf(y)>-1||t&&g.indexOf(_)>-1||(g.indexOf("*")>-1&&(g=g.replace(/\*([:#\.\[])/g,"$1").replace(/^(\:first\-child)?\+html/,"*$1+html")),f.indexOf(g)>-1||(m[1]=g,f.push(g),c.push(m))))}return 1==c.length&&0===c[0][1].length&&(u.push("Empty selector '"+c[0][1]+"' at "+l(c[0][2][0])+". Ignoring."),c=[]),c}var u=e("../../options/format").Spaces,s=e("../../tokenizer/marker"),l=e("../../utils/format-position"),c=/[\s"'][iI]\s*\]/,f=/([\d\w])([iI])\]/g,p=/="([a-zA-Z][a-zA-Z\d\-_]+)"([iI])/g,h=/="([a-zA-Z][a-zA-Z\d\-_]+)"(\s|\])/g,d=/^(?:(?:<!--|-->)\s*)+/,m=/='([a-zA-Z][a-zA-Z\d\-_]+)'([iI])/g,g=/='([a-zA-Z][a-zA-Z\d\-_]+)'(\s|\])/g,v=/[>\+~]/,b=/\s/,y="*+html ",_="*:first-child+html ",w="<";t.exports=a},{"../../options/format":62,"../../tokenizer/marker":84,"../../utils/format-position":88}],19:[function(e,t,n){function r(e){var t,n;for(t=0,n=e.length;t<n;t++)if("inherit"==e[t][1])return!0;return!1}function o(e){return function(t){return"invert"==t[1]||e.isColor(t[1])||e.isPrefixed(t[1])}}function i(e){return function(t){return"inherit"!=t[1]&&e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}function a(e,t,n){var r=n[e];return v(r.doubleValues&&2==r.defaultValue.length?[b.PROPERTY,[b.PROPERTY_NAME,e],[b.PROPERTY_VALUE,r.defaultValue[0]],[b.PROPERTY_VALUE,r.defaultValue[1]]]:r.doubleValues&&1==r.defaultValue.length?[b.PROPERTY,[b.PROPERTY_NAME,e],[b.PROPERTY_VALUE,r.defaultValue[0]]]:[b.PROPERTY,[b.PROPERTY_NAME,e],[b.PROPERTY_VALUE,r.defaultValue]])}function u(e){return function(t){return"inherit"!=t[1]&&(e.isWidth(t[1])||e.isUnit(t[1])&&!e.isDynamicUnit(t[1]))&&!e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}function s(e,t,n){var o,i,u,s=a(e.name+"-duration",e,t),l=a(e.name+"-timing-function",e,t),c=a(e.name+"-delay",e,t),f=a(e.name+"-iteration-count",e,t),p=a(e.name+"-direction",e,t),h=a(e.name+"-fill-mode",e,t),d=a(e.name+"-play-state",e,t),m=a(e.name+"-name",e,t),v=[s,l,c,f,p,h,d,m],b=e.value,y=!1,w=!1,A=!1,E=!1,x=!1,C=!1,k=!1,O=!1;if(1==e.value.length&&"inherit"==e.value[0][1])return s.value=l.value=c.value=f.value=p.value=h.value=d.value=m.value=e.value,v;if(b.length>1&&r(b))throw new g("Invalid animation values at "+_(b[0][2][0])+". Ignoring.");for(i=0,u=b.length;i<u;i++)if(o=b[i],n.isTime(o[1])&&!y)s.value=[o],y=!0;else if(n.isTime(o[1])&&!A)c.value=[o],A=!0;else if(!n.isGlobal(o[1])&&!n.isAnimationTimingFunction(o[1])||w)if(!n.isAnimationIterationCountKeyword(o[1])&&!n.isPositiveNumber(o[1])||E)if(n.isAnimationDirectionKeyword(o[1])&&!x)p.value=[o],x=!0;else if(n.isAnimationFillModeKeyword(o[1])&&!C)h.value=[o],C=!0;else if(n.isAnimationPlayStateKeyword(o[1])&&!k)d.value=[o],k=!0;else{if(!n.isAnimationNameKeyword(o[1])&&!n.isIdentifier(o[1])||O)throw new g("Invalid animation value at "+_(o[2][0])+". Ignoring.");m.value=[o],O=!0}else f.value=[o],E=!0;else l.value=[o],w=!0;return v}function l(e,t,n){var r=a("background-image",e,t),o=a("background-position",e,t),i=a("background-size",e,t),u=a("background-repeat",e,t),s=a("background-attachment",e,t),l=a("background-origin",e,t),c=a("background-clip",e,t),f=a("background-color",e,t),p=[r,o,i,u,s,l,c,f],h=e.value,d=!1,m=!1,v=!1,b=!1,w=!1;if(1==e.value.length&&"inherit"==e.value[0][1])return f.value=r.value=u.value=o.value=i.value=l.value=c.value=e.value,p;if(1==e.value.length&&"0 0"==e.value[0][1])return p;for(var A=h.length-1;A>=0;A--){var E=h[A];if(n.isBackgroundAttachmentKeyword(E[1]))s.value=[E],w=!0;else if(n.isBackgroundClipKeyword(E[1])||n.isBackgroundOriginKeyword(E[1]))m?(l.value=[E],v=!0):(c.value=[E],m=!0),w=!0;else if(n.isBackgroundRepeatKeyword(E[1]))b?u.value.unshift(E):(u.value=[E],b=!0),w=!0;else if(n.isBackgroundPositionKeyword(E[1])||n.isBackgroundSizeKeyword(E[1])||n.isUnit(E[1])||n.isDynamicUnit(E[1])){if(A>0){var x=h[A-1];x[1]==y.FORWARD_SLASH?i.value=[E]:A>1&&h[A-2][1]==y.FORWARD_SLASH?(i.value=[x,E],A-=2):(d||(o.value=[]),o.value.unshift(E),d=!0)}else d||(o.value=[]),o.value.unshift(E),d=!0;w=!0}else f.value[0][1]!=t[f.name].defaultValue&&"none"!=f.value[0][1]||!n.isColor(E[1])&&!n.isPrefixed(E[1])?(n.isUrl(E[1])||n.isFunction(E[1]))&&(r.value=[E],w=!0):(f.value=[E],w=!0)}if(m&&!v&&(l.value=c.value.slice(0)),!w)throw new g("Invalid background value at "+_(h[0][2][0])+". Ignoring.");return p}function c(e,t){for(var n=e.value,r=-1,o=0,i=n.length;o<i;o++)if(n[o][1]==y.FORWARD_SLASH){r=o;break}if(0===r||r===n.length-1)throw new g("Invalid border-radius value at "+_(n[0][2][0])+". Ignoring.");var u=a(e.name,e,t);u.value=r>-1?n.slice(0,r):n.slice(0),u.components=p(u,t);var s=a(e.name,e,t);s.value=r>-1?n.slice(r+1):n.slice(0),s.components=p(s,t);for(var l=0;l<4;l++)u.components[l].multiplex=!0,u.components[l].value=u.components[l].value.concat(s.components[l].value);return u.components}function f(e,t,n){var o,i,u,s,l=a("font-style",e,t),c=a("font-variant",e,t),f=a("font-weight",e,t),p=a("font-stretch",e,t),h=a("font-size",e,t),d=a("line-height",e,t),m=a("font-family",e,t),v=[l,c,f,p,h,d,m],b=e.value,w=0,A=!1,E=!1,x=!1,C=!1,k=!1,O=!1;if(!b[w])throw new g("Missing font values at "+_(e.all[e.position][1][2][0])+". Ignoring.");if(1==b.length&&"inherit"==b[0][1])return l.value=c.value=f.value=p.value=h.value=d.value=m.value=b,v;if(1==b.length&&(n.isFontKeyword(b[0][1])||n.isGlobal(b[0][1])||n.isPrefixed(b[0][1])))return b[0][1]=y.INTERNAL+b[0][1],l.value=c.value=f.value=p.value=h.value=d.value=m.value=b,v;if(b.length>1&&r(b))throw new g("Invalid font values at "+_(b[0][2][0])+". Ignoring.");for(;w<4;){if(o=n.isFontStretchKeyword(b[w][1])||n.isGlobal(b[w][1]),i=n.isFontStyleKeyword(b[w][1])||n.isGlobal(b[w][1]),u=n.isFontVariantKeyword(b[w][1])||n.isGlobal(b[w][1]),s=n.isFontWeightKeyword(b[w][1])||n.isGlobal(b[w][1]),i&&!E)l.value=[b[w]],E=!0;else if(u&&!x)c.value=[b[w]],x=!0;else if(s&&!C)f.value=[b[w]],C=!0;else{if(!o||A){if(i&&E||u&&x||s&&C||o&&A)throw new g("Invalid font style / variant / weight / stretch value at "+_(b[0][2][0])+". Ignoring.");break}p.value=[b[w]],A=!0}w++}if(!(n.isFontSizeKeyword(b[w][1])||n.isUnit(b[w][1])&&!n.isDynamicUnit(b[w][1])))throw new g("Missing font size at "+_(b[0][2][0])+". Ignoring.");if(h.value=[b[w]],k=!0,w++,!b[w])throw new g("Missing font family at "+_(b[0][2][0])+". Ignoring.");for(k&&b[w]&&b[w][1]==y.FORWARD_SLASH&&b[w+1]&&(n.isLineHeightKeyword(b[w+1][1])||n.isUnit(b[w+1][1])||n.isNumber(b[w+1][1]))&&(d.value=[b[w+1]],w++,w++),m.value=[];b[w];)b[w][1]==y.COMMA?O=!1:(O?m.value[m.value.length-1][1]+=y.SPACE+b[w][1]:m.value.push(b[w]),O=!0),w++;if(0===m.value.length)throw new g("Missing font family at "+_(b[0][2][0])+". Ignoring.");return v}function p(e,t){var n=t[e.name].components,r=[],o=e.value;if(o.length<1)return[];o.length<2&&(o[1]=o[0].slice(0)),o.length<3&&(o[2]=o[0].slice(0)),o.length<4&&(o[3]=o[1].slice(0));for(var i=n.length-1;i>=0;i--){var a=v([b.PROPERTY,[b.PROPERTY_NAME,n[i]]]);a.value=[o[i]],r.unshift(a)}return r}function h(e){return function(t,n,r){var o,i,u,s,l=[],c=t.value;for(o=0,u=c.length;o<u;o++)","==c[o][1]&&l.push(o);if(0===l.length)return e(t,n,r);var f=[];for(o=0,u=l.length;o<=u;o++){var p=0===o?0:l[o-1]+1,h=o<u?l[o]:c.length,d=a(t.name,t,n);d.value=c.slice(p,h),f.push(e(d,n,r))}var m=f[0];for(o=0,u=m.length;o<u;o++)for(m[o].multiplex=!0,i=1,s=f.length;i<s;i++)m[o].value.push([b.PROPERTY_VALUE,y.COMMA]),Array.prototype.push.apply(m[o].value,f[i][o].value);return m}}function d(e,t,n){var r=a("list-style-type",e,t),o=a("list-style-position",e,t),i=a("list-style-image",e,t),u=[r,o,i];if(1==e.value.length&&"inherit"==e.value[0][1])return r.value=o.value=i.value=[e.value[0]],u;var s=e.value.slice(0),l=s.length,c=0;for(c=0,l=s.length;c<l;c++)if(n.isUrl(s[c][1])||"0"==s[c][1]){i.value=[s[c]],s.splice(c,1);break}for(c=0,l=s.length;c<l;c++)if(n.isListStylePositionKeyword(s[c][1])){o.value=[s[c]],s.splice(c,1);break}return s.length>0&&(n.isListStyleTypeKeyword(s[0][1])||n.isIdentifier(s[0][1]))&&(r.value=[s[0]]),u}function m(e,t,n){for(var r,s,l,c=t[e.name],f=[a(c.components[0],e,t),a(c.components[1],e,t),a(c.components[2],e,t)],p=0;p<3;p++){var h=f[p];h.name.indexOf("color")>0?r=h:h.name.indexOf("style")>0?s=h:l=h}if(1==e.value.length&&"inherit"==e.value[0][1]||3==e.value.length&&"inherit"==e.value[0][1]&&"inherit"==e.value[1][1]&&"inherit"==e.value[2][1])return r.value=s.value=l.value=[e.value[0]],f;var d,m,g=e.value.slice(0);return g.length>0&&(d=(m=g.filter(u(n))).length>1&&("none"==m[0][1]||"auto"==m[0][1])?m[1]:m[0])&&(l.value=[d],g.splice(g.indexOf(d),1)),g.length>0&&(d=g.filter(i(n))[0])&&(s.value=[d],g.splice(g.indexOf(d),1)),g.length>0&&(d=g.filter(o(n))[0])&&(r.value=[d],g.splice(g.indexOf(d),1)),f}var g=e("./invalid-property-error"),v=e("../wrap-for-optimizing").single,b=e("../../tokenizer/token"),y=e("../../tokenizer/marker"),_=e("../../utils/format-position");t.exports={animation:s,background:l,border:m,borderRadius:c,font:f,fourValues:p,listStyle:d,multiplex:h,outline:m}},{"../../tokenizer/marker":84,"../../tokenizer/token":85,"../../utils/format-position":88,"../wrap-for-optimizing":59,"./invalid-property-error":24}],20:[function(e,t,n){function r(e,t,n){return!!(w(e,t,n,0,!0)||e.isAnimationIterationCountKeyword(n)||e.isPositiveNumber(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(e.isAnimationIterationCountKeyword(n)||e.isPositiveNumber(n)))}function o(e,t,n){return!!(w(e,t,n,0,!0)||e.isAnimationNameKeyword(n)||e.isIdentifier(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(e.isAnimationNameKeyword(n)||e.isIdentifier(n)))}function i(e,t,n){return!!(w(e,t,n,0,!0)||e.isAnimationTimingFunction(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(e.isAnimationTimingFunction(n)||e.isGlobal(n)))}function a(e,t,n){return!(!e.isFunction(t)||!e.isFunction(n))&&t.substring(0,t.indexOf("("))===n.substring(0,n.indexOf("("))}function u(e,t,n){return!!(w(e,t,n,0,!0)||e.isBackgroundPositionKeyword(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(!(!e.isBackgroundPositionKeyword(n)&&!e.isGlobal(n))||b(e,t,n)))}function s(e,t,n){return!!(w(e,t,n,0,!0)||e.isBackgroundSizeKeyword(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(!(!e.isBackgroundSizeKeyword(n)&&!e.isGlobal(n))||b(e,t,n)))}function l(e,t,n){return!(!w(e,t,n,0,!0)&&!e.isColor(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(!e.colorOpacity&&(e.isRgbColor(t)||e.isHslColor(t)))&&(!(!e.colorOpacity&&(e.isRgbColor(n)||e.isHslColor(n)))&&(!(!e.isColor(t)||!e.isColor(n))||m(e,t,n))))}function c(e){return function(t,n,r,o){return e[o](t,n,r)}}function f(e,t,n){return w(e,t,n,0,!0)}function p(e,t,n){return!(!w(e,t,n,0,!0)&&!e.isImage(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(!!e.isImage(n)||!e.isImage(t)&&m(e,t,n)))}function h(e){return function(t,n,r){return!(!w(t,n,r,0,!0)&&!t.isKeyword(e)(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||t.isKeyword(e)(r))}}function d(e){return function(t,n,r){return!!(w(t,n,r,0,!0)||t.isKeyword(e)(r)||t.isGlobal(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||(t.isKeyword(e)(r)||t.isGlobal(r)))}}function m(e,t,n){return!!a(e,t,n)||t===n}function g(e,t,n){return!!(w(e,t,n,0,!0)||e.isUnit(n)||e.isColor(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(e.isUnit(n)||e.isColor(n)||e.isGlobal(n)))}function v(e,t,n){return!(!w(e,t,n,0,!0)&&!e.isTime(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(e.isTime(t)&&!e.isTime(n))&&(!!e.isTime(n)||!e.isTime(t)&&(!(!e.isFunction(t)||e.isPrefixed(t)||!e.isFunction(n)||e.isPrefixed(n))||m(e,t,n))))}function b(e,t,n){return!(!w(e,t,n,0,!0)&&!e.isUnit(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(e.isUnit(t)&&!e.isUnit(n))&&(!!e.isUnit(n)||!e.isUnit(t)&&(!(!e.isFunction(t)||e.isPrefixed(t)||!e.isFunction(n)||e.isPrefixed(n))||m(e,t,n))))}function y(e){var t=d(e);return function(e,n,r){return b(e,n,r)||t(e,n,r)}}function _(e,t,n){return!(!w(e,t,n,0,!0)&&!e.isZIndex(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||e.isZIndex(n))}var w=e("./properties/understandable");t.exports={generic:{color:l,components:c,image:p,time:v,unit:b},property:{animationDirection:d("animation-direction"),animationFillMode:h("animation-fill-mode"),animationIterationCount:r,animationName:o,animationPlayState:d("animation-play-state"),animationTimingFunction:i,backgroundAttachment:h("background-attachment"),backgroundClip:d("background-clip"),backgroundOrigin:h("background-origin"),backgroundPosition:u,backgroundRepeat:h("background-repeat"),backgroundSize:s,bottom:y("bottom"),borderCollapse:h("border-collapse"),borderStyle:d("*-style"),clear:d("clear"),cursor:d("cursor"),display:d("display"),float:d("float"),left:y("left"),fontFamily:f,fontStretch:d("font-stretch"),fontStyle:d("font-style"),fontVariant:d("font-variant"),fontWeight:d("font-weight"),listStyleType:d("list-style-type"),listStylePosition:d("list-style-position"),outlineStyle:d("*-style"),overflow:d("overflow"),position:d("position"),right:y("right"),textAlign:d("text-align"),textDecoration:d("text-decoration"),textOverflow:d("text-overflow"),textShadow:g,top:y("top"),transform:m,verticalAlign:y("vertical-align"),visibility:d("visibility"),whiteSpace:d("white-space"),zIndex:_}}},{"./properties/understandable":41}],21:[function(e,t,n){function r(e){for(var t=o(e),n=e.components.length-1;n>=0;n--){var r=o(e.components[n]);r.value=e.components[n].value.slice(0),t.components.unshift(r)}return t.dirty=!0,t.value=e.value.slice(0),t}function o(e){var t=i([a.PROPERTY,[a.PROPERTY_NAME,e.name]]);return t.important=e.important,t.hack=e.hack,t.unused=!1,t}var i=e("../wrap-for-optimizing").single,a=e("../../tokenizer/token");t.exports={deep:r,shallow:o}},{"../../tokenizer/token":85,"../wrap-for-optimizing":59}],22:[function(e,t,n){var r=e("./break-up"),o=e("./can-override"),i=e("./restore"),a=e("../../utils/override"),u={animation:{canOverride:o.generic.components([o.generic.time,o.property.animationTimingFunction,o.generic.time,o.property.animationIterationCount,o.property.animationDirection,o.property.animationFillMode,o.property.animationPlayState,o.property.animationName]),components:["animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state","animation-name"],breakUp:r.multiplex(r.animation),defaultValue:"none",restore:i.multiplex(i.withoutDefaults),shorthand:!0,vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-delay":{canOverride:o.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-direction":{canOverride:o.property.animationDirection,componentOf:["animation"],defaultValue:"normal",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-duration":{canOverride:o.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-fill-mode":{canOverride:o.property.animationFillMode,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-iteration-count":{canOverride:o.property.animationIterationCount,componentOf:["animation"],defaultValue:"1",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-name":{canOverride:o.property.animationName,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-play-state":{canOverride:o.property.animationPlayState,componentOf:["animation"],defaultValue:"running",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-timing-function":{canOverride:o.property.animationTimingFunction,componentOf:["animation"],defaultValue:"ease",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},background:{canOverride:o.generic.components([o.generic.image,o.property.backgroundPosition,o.property.backgroundSize,o.property.backgroundRepeat,o.property.backgroundAttachment,o.property.backgroundOrigin,o.property.backgroundClip,o.generic.color]),components:["background-image","background-position","background-size","background-repeat","background-attachment","background-origin","background-clip","background-color"],breakUp:r.multiplex(r.background),defaultValue:"0 0",restore:i.multiplex(i.background),shortestValue:"0",shorthand:!0},"background-attachment":{canOverride:o.property.backgroundAttachment,componentOf:["background"],defaultValue:"scroll",intoMultiplexMode:"real"},"background-clip":{canOverride:o.property.backgroundClip,componentOf:["background"],defaultValue:"border-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-color":{canOverride:o.generic.color,componentOf:["background"],defaultValue:"transparent",intoMultiplexMode:"real",multiplexLastOnly:!0,nonMergeableValue:"none",shortestValue:"red"},"background-image":{canOverride:o.generic.image,componentOf:["background"],defaultValue:"none",intoMultiplexMode:"default"},"background-origin":{canOverride:o.property.backgroundOrigin,componentOf:["background"],defaultValue:"padding-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-position":{canOverride:o.property.backgroundPosition,componentOf:["background"],defaultValue:["0","0"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0"},"background-repeat":{canOverride:o.property.backgroundRepeat,componentOf:["background"],defaultValue:["repeat"],doubleValues:!0,intoMultiplexMode:"real"},"background-size":{canOverride:o.property.backgroundSize,componentOf:["background"],defaultValue:["auto"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0 0"},bottom:{canOverride:o.property.bottom,defaultValue:"auto"},border:{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-width","border-style","border-color"],defaultValue:"none",overridesShorthands:["border-bottom","border-left","border-right","border-top"],restore:i.withoutDefaults,shorthand:!0,shorthandComponents:!0},"border-bottom":{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-bottom-width","border-bottom-style","border-bottom-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0},"border-bottom-color":{canOverride:o.generic.color,componentOf:["border-bottom","border-color"],defaultValue:"none"},"border-bottom-left-radius":{canOverride:o.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-bottom-right-radius":{canOverride:o.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-bottom-style":{canOverride:o.property.borderStyle,componentOf:["border-bottom","border-style"],defaultValue:"none"},"border-bottom-width":{canOverride:o.generic.unit,componentOf:["border-bottom","border-width"],defaultValue:"medium",oppositeTo:"border-top-width",shortestValue:"0"},"border-collapse":{canOverride:o.property.borderCollapse,defaultValue:"separate"},"border-color":{breakUp:r.fourValues,canOverride:o.generic.components([o.generic.color,o.generic.color,o.generic.color,o.generic.color]),componentOf:["border"],components:["border-top-color","border-right-color","border-bottom-color","border-left-color"],defaultValue:"none",restore:i.fourValues,shortestValue:"red",shorthand:!0},"border-left":{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-left-width","border-left-style","border-left-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0},"border-left-color":{canOverride:o.generic.color,componentOf:["border-color","border-left"],defaultValue:"none"},"border-left-style":{canOverride:o.property.borderStyle,componentOf:["border-left","border-style"],defaultValue:"none"},"border-left-width":{canOverride:o.generic.unit,componentOf:["border-left","border-width"],defaultValue:"medium",oppositeTo:"border-right-width",shortestValue:"0"},"border-radius":{breakUp:r.borderRadius,canOverride:o.generic.components([o.generic.unit,o.generic.unit,o.generic.unit,o.generic.unit]),components:["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],defaultValue:"0",restore:i.borderRadius,shorthand:!0,vendorPrefixes:["-moz-","-o-"]},"border-right":{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-right-width","border-right-style","border-right-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0},"border-right-color":{canOverride:o.generic.color,componentOf:["border-color","border-right"],defaultValue:"none"},"border-right-style":{canOverride:o.property.borderStyle,componentOf:["border-right","border-style"],defaultValue:"none"},"border-right-width":{canOverride:o.generic.unit,componentOf:["border-right","border-width"],defaultValue:"medium",oppositeTo:"border-left-width",shortestValue:"0"},"border-style":{breakUp:r.fourValues,canOverride:o.generic.components([o.property.borderStyle,o.property.borderStyle,o.property.borderStyle,o.property.borderStyle]),componentOf:["border"],components:["border-top-style","border-right-style","border-bottom-style","border-left-style"],defaultValue:"none",restore:i.fourValues,shorthand:!0},"border-top":{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-top-width","border-top-style","border-top-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0},"border-top-color":{canOverride:o.generic.color,componentOf:["border-color","border-top"],defaultValue:"none"},"border-top-left-radius":{canOverride:o.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-top-right-radius":{canOverride:o.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-top-style":{canOverride:o.property.borderStyle,componentOf:["border-style","border-top"],defaultValue:"none"},"border-top-width":{canOverride:o.generic.unit,componentOf:["border-top","border-width"],defaultValue:"medium",oppositeTo:"border-bottom-width",shortestValue:"0"},"border-width":{breakUp:r.fourValues,canOverride:o.generic.components([o.generic.unit,o.generic.unit,o.generic.unit,o.generic.unit]),componentOf:["border"],components:["border-top-width","border-right-width","border-bottom-width","border-left-width"],defaultValue:"medium",restore:i.fourValues,shortestValue:"0",shorthand:!0},clear:{canOverride:o.property.clear,defaultValue:"none"},color:{canOverride:o.generic.color,defaultValue:"transparent",shortestValue:"red"},cursor:{canOverride:o.property.cursor,defaultValue:"auto"},display:{canOverride:o.property.display},float:{canOverride:o.property.float,defaultValue:"none"},font:{breakUp:r.font,canOverride:o.generic.components([o.property.fontStyle,o.property.fontVariant,o.property.fontWeight,o.property.fontStretch,o.generic.unit,o.generic.unit,o.property.fontFamily]),components:["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],restore:i.font,shorthand:!0},"font-family":{canOverride:o.property.fontFamily,defaultValue:"user|agent|specific"},"font-size":{canOverride:o.generic.unit,defaultValue:"medium",shortestValue:"0"},"font-stretch":{canOverride:o.property.fontStretch,defaultValue:"normal"},"font-style":{canOverride:o.property.fontStyle,defaultValue:"normal"},"font-variant":{canOverride:o.property.fontVariant,defaultValue:"normal"},"font-weight":{canOverride:o.property.fontWeight,defaultValue:"normal",shortestValue:"400"},height:{canOverride:o.generic.unit,defaultValue:"auto",shortestValue:"0"},left:{canOverride:o.property.left,defaultValue:"auto"},"line-height":{canOverride:o.generic.unit,defaultValue:"normal",shortestValue:"0"},"list-style":{canOverride:o.generic.components([o.property.listStyleType,o.property.listStylePosition,o.property.listStyleImage]),components:["list-style-type","list-style-position","list-style-image"],breakUp:r.listStyle,restore:i.withoutDefaults,defaultValue:"outside",shortestValue:"none",shorthand:!0},"list-style-image":{canOverride:o.generic.image,componentOf:["list-style"],defaultValue:"none"},"list-style-position":{canOverride:o.property.listStylePosition,componentOf:["list-style"],defaultValue:"outside",shortestValue:"inside"},"list-style-type":{canOverride:o.property.listStyleType,componentOf:["list-style"],defaultValue:"decimal|disc",shortestValue:"none"},margin:{breakUp:r.fourValues,canOverride:o.generic.components([o.generic.unit,o.generic.unit,o.generic.unit,o.generic.unit]),components:["margin-top","margin-right","margin-bottom","margin-left"],defaultValue:"0",restore:i.fourValues,shorthand:!0},"margin-bottom":{canOverride:o.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-top"},"margin-left":{canOverride:o.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-right"},"margin-right":{canOverride:o.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-left"},"margin-top":{canOverride:o.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-bottom"},outline:{canOverride:o.generic.components([o.generic.color,o.property.outlineStyle,o.generic.unit]),components:["outline-color","outline-style","outline-width"],breakUp:r.outline,restore:i.withoutDefaults,defaultValue:"0",shorthand:!0},"outline-color":{canOverride:o.generic.color,componentOf:["outline"],defaultValue:"invert",shortestValue:"red"},"outline-style":{canOverride:o.property.outlineStyle,componentOf:["outline"],defaultValue:"none"},"outline-width":{canOverride:o.generic.unit,componentOf:["outline"],defaultValue:"medium",shortestValue:"0"},overflow:{canOverride:o.property.overflow,defaultValue:"visible"},"overflow-x":{canOverride:o.property.overflow,defaultValue:"visible"},"overflow-y":{canOverride:o.property.overflow,defaultValue:"visible"},padding:{breakUp:r.fourValues,canOverride:o.generic.components([o.generic.unit,o.generic.unit,o.generic.unit,o.generic.unit]),components:["padding-top","padding-right","padding-bottom","padding-left"],defaultValue:"0",restore:i.fourValues,shorthand:!0},"padding-bottom":{canOverride:o.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-top"},"padding-left":{canOverride:o.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-right"},"padding-right":{canOverride:o.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-left"},"padding-top":{canOverride:o.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-bottom"},position:{canOverride:o.property.position,defaultValue:"static"},right:{canOverride:o.property.right,defaultValue:"auto"},"text-align":{canOverride:o.property.textAlign,defaultValue:"left|right"},"text-decoration":{canOverride:o.property.textDecoration,defaultValue:"none"},"text-overflow":{canOverride:o.property.textOverflow,defaultValue:"none"},"text-shadow":{canOverride:o.property.textShadow,defaultValue:"none"},top:{canOverride:o.property.top,defaultValue:"auto"},transform:{canOverride:o.property.transform,vendorPrefixes:["-moz-","-ms-","-webkit-"]},"vertical-align":{canOverride:o.property.verticalAlign,defaultValue:"baseline"},visibility:{canOverride:o.property.visibility,defaultValue:"visible"},"white-space":{canOverride:o.property.whiteSpace,defaultValue:"normal"},width:{canOverride:o.generic.unit,defaultValue:"auto",shortestValue:"0"},"z-index":{canOverride:o.property.zIndex,defaultValue:"auto"}},s={};for(var l in u){var c=u[l];if("vendorPrefixes"in c){for(var f=0;f<c.vendorPrefixes.length;f++){var p=c.vendorPrefixes[f],h=function(e,t){var n=a(u[e],{});return"componentOf"in n&&(n.componentOf=n.componentOf.map(function(e){return t+e})),"components"in n&&(n.components=n.components.map(function(e){return t+e})),n}(l,p);delete h.vendorPrefixes,s[p+l]=h}delete c.vendorPrefixes}}t.exports=a(u,s)},{"../../utils/override":96,"./break-up":19,"./can-override":20,"./restore":50}],23:[function(e,t,n){function r(e){var t,n,s,l,c,f,p=[];if(e[0]==i.RULE)for(t=!/[\.\+>~]/.test(a(e[1])),c=0,f=e[2].length;c<f;c++)(n=e[2][c])[0]==i.PROPERTY&&0!==(s=n[1][1]).length&&0!==s.indexOf("--")&&(l=u(n,c),p.push([s,l,o(s),e[2][c],s+":"+l,e[1],t]));else if(e[0]==i.NESTED_BLOCK)for(c=0,f=e[2].length;c<f;c++)p=p.concat(r(e[2][c]));return p}function o(e){return"list-style"==e?e:e.indexOf("-radius")>0?"border-radius":"border-collapse"==e||"border-spacing"==e||"border-image"==e?e:0===e.indexOf("border-")&&/^border\-\w+\-\w+$/.test(e)?e.match(/border\-\w+/)[0]:0===e.indexOf("border-")&&/^border\-\w+$/.test(e)?"border":0===e.indexOf("text-")?e:"-chrome-"==e?e:e.replace(/^\-\w+\-/,"").match(/([a-zA-Z]+)/)[0].toLowerCase()}var i=e("../../tokenizer/token"),a=e("../../writer/one-time").rules,u=e("../../writer/one-time").value;t.exports=r},{"../../tokenizer/token":85,"../../writer/one-time":99}],24:[function(e,t,n){function r(e){this.name="InvalidPropertyError",this.message=e,this.stack=(new Error).stack}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,t.exports=r},{}],25:[function(e,t,n){function r(e,t,n,r){var u,s,l,c=h(e,p.COMMA);for(s=0,l=c.length;s<l;s++)if(0===(u=c[s]).length||o(u)||u.indexOf(p.COLON)>-1&&!a(u,i(u),t,n,r))return!1;return!0}function o(e){return d.test(e)}function i(e){var t,n,r,o,i,a,u=[],s=[],l=w.ROOT,c=0,f=!1,h=!1;for(i=0,a=e.length;i<a;i++)t=e[i],o=!r&&b.test(t),n=l==w.DOUBLE_QUOTE||l==w.SINGLE_QUOTE,r?s.push(t):t==p.DOUBLE_QUOTE&&l==w.ROOT?(s.push(t),l=w.DOUBLE_QUOTE):t==p.DOUBLE_QUOTE&&l==w.DOUBLE_QUOTE?(s.push(t),l=w.ROOT):t==p.SINGLE_QUOTE&&l==w.ROOT?(s.push(t),l=w.SINGLE_QUOTE):t==p.SINGLE_QUOTE&&l==w.SINGLE_QUOTE?(s.push(t),l=w.ROOT):n?s.push(t):t==p.OPEN_ROUND_BRACKET?(s.push(t),c++):t==p.CLOSE_ROUND_BRACKET&&1==c&&f?(s.push(t),u.push(s.join("")),c--,s=[],f=!1):t==p.CLOSE_ROUND_BRACKET?(s.push(t),c--):t==p.COLON&&0===c&&f&&!h?(u.push(s.join("")),(s=[]).push(t)):t!=p.COLON||0!==c||h?t==p.SPACE&&0===c&&f?(u.push(s.join("")),s=[],f=!1):o&&0===c&&f?(u.push(s.join("")),s=[],f=!1):s.push(t):((s=[]).push(t),f=!0),r=t==p.BACK_SLASH,h=t==p.COLON;return s.length>0&&f&&u.push(s.join("")),u}function a(e,t,n,r,o){return u(t,n,r)&&s(t)&&(t.length<2||!l(e,t))&&(t.length<2||o&&c(t))}function u(e,t,n){var r,o,i,a;for(i=0,a=e.length;i<a;i++)if(r=e[i],o=r.indexOf(p.OPEN_ROUND_BRACKET)>-1?r.substring(0,r.indexOf(p.OPEN_ROUND_BRACKET)):r,-1===t.indexOf(o)&&-1===n.indexOf(o))return!1;return!0}function s(e){var t,n,r,o,i,a;for(i=0,a=e.length;i<a;i++){if(t=e[i],r=t.indexOf(p.OPEN_ROUND_BRACKET),o=r>-1,n=o?t.substring(0,r):t,o&&-1==v.indexOf(n))return!1;if(!o&&v.indexOf(n)>-1)return!1}return!0}function l(e,t){var n,r,o,i,a,u,s,l,c=0;for(s=0,l=t.length;s<l&&(n=t[s],o=t[s+1]);s++)if(r=e.indexOf(n,c),i=e.indexOf(n,r+1),c=i,r+n.length==i&&(a=n.indexOf(p.OPEN_ROUND_BRACKET)>-1?n.substring(0,n.indexOf(p.OPEN_ROUND_BRACKET)):n,u=o.indexOf(p.OPEN_ROUND_BRACKET)>-1?o.substring(0,o.indexOf(p.OPEN_ROUND_BRACKET)):o,a!=g||u!=g))return!0;return!1}function c(e){var t,n,r,o=0;for(n=0,r=e.length;n<r;n++)if(t=e[n],f(t)?o+=_.indexOf(t)>-1?1:0:o+=y.indexOf(t)>-1?1:0,o>1)return!1;return!0}function f(e){return m.test(e)}var p=e("../../tokenizer/marker"),h=e("../../utils/split"),d=/\/deep\//,m=/^::/,g=":not",v=[":dir",":lang",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type"],b=/[>\+~]/,y=[":after",":before",":first-letter",":first-line",":lang"],_=["::after","::before","::first-letter","::first-line"],w={DOUBLE_QUOTE:"double-quote",SINGLE_QUOTE:"single-quote",ROOT:"root"};t.exports=r},{"../../tokenizer/marker":84,"../../utils/split":97}],26:[function(e,t,n){function r(e,t){for(var n=[null,[],[]],r=t.options,p=r.compatibility.selectors.adjacentSpace,h=r.level[s.One].selectorsSortingMethod,d=r.compatibility.selectors.mergeablePseudoClasses,m=r.compatibility.selectors.mergeablePseudoElements,g=r.compatibility.selectors.mergeLimit,v=r.compatibility.selectors.multiplePseudoMerging,b=0,y=e.length;b<y;b++){var _=e[b];_[0]==f.RULE?n[0]==f.RULE&&c(_[1])==c(n[1])?(Array.prototype.push.apply(n[2],_[2]),i(n[2],!0,!0,t),_[2]=[]):n[0]==f.RULE&&l(_[2])==l(n[2])&&o(c(_[1]),d,m,v)&&o(c(n[1]),d,m,v)&&n[1].length<g?(n[1]=u(n[1].concat(_[1]),!1,p,!1,t.warnings),n[1]=n.length>1?a(n[1],h):n[1],_[2]=[]):n=_:n=[null,[],[]]}}var o=e("./is-mergeable"),i=e("./properties/optimize"),a=e("../level-1/sort-selectors"),u=e("../level-1/tidy-rules"),s=e("../../options/optimization-level").OptimizationLevel,l=e("../../writer/one-time").body,c=e("../../writer/one-time").rules,f=e("../../tokenizer/token");t.exports=r},{"../../options/optimization-level":66,"../../tokenizer/token":85,"../../writer/one-time":99,"../level-1/sort-selectors":15,"../level-1/tidy-rules":18,"./is-mergeable":25,"./properties/optimize":37}],27:[function(e,t,n){function r(e,t){for(var n=t.options.level[c.Two].mergeSemantically,r=t.cache.specificity,a={},s=[],p=e.length-1;p>=0;p--){var h=e[p];if(h[0]==f.NESTED_BLOCK){var d=l(h[1]),m=a[d];m||(m=[],a[d]=m),m.push(p)}}for(var g in a){var v=a[g];e:for(var b=v.length-1;b>0;b--){var y=v[b],_=e[y],w=v[b-1],A=e[w];t:for(var E=1;E>=-1;E-=2){for(var x=1==E,C=x?y+1:w-1,k=x?w:y,O=x?1:-1,B=x?_:A,S=x?A:_,D=u(B);C!=k;){var T=u(e[C]);if(C+=O,!(n&&o(D,T,r)||i(D,T,r)))continue t}S[2]=x?B[2].concat(S[2]):S[2].concat(B[2]),B[2]=[],s.push(S);continue e}}}return s}function o(e,t,n){var r,o,i,u,l,c,f,p;for(l=0,c=e.length;l<c;l++)for(o=(r=e[l])[5],f=0,p=t.length;f<p;f++)if(i=t[f],u=i[5],s(o,u,!0)&&!a(r,i,n))return!1;return!0}var i=e("./reorderable").canReorder,a=e("./reorderable").canReorderSingle,u=e("./extract-properties"),s=e("./rules-overlap"),l=e("../../writer/one-time").rules,c=e("../../options/optimization-level").OptimizationLevel,f=e("../../tokenizer/token");t.exports=r},{"../../options/optimization-level":66,"../../tokenizer/token":85,"../../writer/one-time":99,"./extract-properties":23,"./reorderable":48,"./rules-overlap":52}],28:[function(e,t,n){function r(e){return/\.|\*| :/.test(e)}function o(e){var t=h(e[1]);return t.indexOf("__")>-1||t.indexOf("--")>-1}function i(e){return e.replace(/--[^ ,>\+~:]+/g,"")}function a(e,t){var n=i(h(e[1]));for(var r in t){var o=t[r],a=i(h(o[1]));(a.indexOf(n)>-1||n.indexOf(a)>-1)&&delete t[r]}}function u(e,t){for(var n=t.options,i=n.level[f.Two].mergeSemantically,u=n.compatibility.selectors.adjacentSpace,m=n.level[f.One].selectorsSortingMethod,g=n.compatibility.selectors.mergeablePseudoClasses,v=n.compatibility.selectors.mergeablePseudoElements,b=n.compatibility.selectors.multiplePseudoMerging,y={},_=e.length-1;_>=0;_--){var w=e[_];if(w[0]==d.RULE){w[2].length>0&&!i&&r(h(w[1]))&&(y={}),w[2].length>0&&i&&o(w)&&a(w,y);var A=p(w[2]),E=y[A];E&&s(h(w[1]),g,v,b)&&s(h(E[1]),g,v,b)&&(w[2].length>0?(w[1]=c(E[1].concat(w[1]),!1,u,!1,t.warnings),w[1]=w[1].length>1?l(w[1],m):w[1]):w[1]=E[1].concat(w[1]),E[2]=[],y[A]=null),y[p(w[2])]=w}}}var s=e("./is-mergeable"),l=e("../level-1/sort-selectors"),c=e("../level-1/tidy-rules"),f=e("../../options/optimization-level").OptimizationLevel,p=e("../../writer/one-time").body,h=e("../../writer/one-time").rules,d=e("../../tokenizer/token");t.exports=u},{"../../options/optimization-level":66,"../../tokenizer/token":85,"../../writer/one-time":99,"../level-1/sort-selectors":15,"../level-1/tidy-rules":18,"./is-mergeable":25}],29:[function(e,t,n){function r(e,t){var n,r=t.cache.specificity,l={},c=[];for(n=e.length-1;n>=0;n--)if(e[n][0]==s.RULE&&0!==e[n][2].length){var f=u(e[n][1]);l[f]=[n].concat(l[f]||[]),2==l[f].length&&c.push(f)}for(n=c.length-1;n>=0;n--){var p=l[c[n]];e:for(var h=p.length-1;h>0;h--){var d=p[h-1],m=e[d],g=p[h],v=e[g];t:for(var b=1;b>=-1;b-=2){for(var y=1==b,_=y?d+1:g-1,w=y?g:d,A=y?1:-1,E=y?m:v,x=y?v:m,C=i(E);_!=w;){var k=i(e[_]);_+=A;var O=y?o(C,k,r):o(k,C,r);if(!O&&!y)continue e;if(!O&&y)continue t}y?(Array.prototype.push.apply(E[2],x[2]),x[2]=E[2]):Array.prototype.push.apply(x[2],E[2]),a(x[2],!0,!0,t),E[2]=[]}}}}var o=e("./reorderable").canReorder,i=e("./extract-properties"),a=e("./properties/optimize"),u=e("../../writer/one-time").rules,s=e("../../tokenizer/token");t.exports=r},{"../../tokenizer/token":85,"../../writer/one-time":99,"./extract-properties":23,"./properties/optimize":37,"./reorderable":48}],30:[function(e,t,n){function r(e){for(var t=0,n=e.length;t<n;t++){var o=e[t],i=!1;switch(o[0]){case y.RULE:i=0===o[1].length||0===o[2].length;break;case y.NESTED_BLOCK:r(o[2]),i=0===o[2].length;break;case y.AT_RULE:i=0===o[1].length;break;case y.AT_RULE_BLOCK:i=0===o[2].length}i&&(e.splice(t,1),t--,n--)}}function o(e,t){for(var n=0,r=e.length;n<r;n++){var o=e[n];if(o[0]==y.NESTED_BLOCK){var i=/@(-moz-|-o-|-webkit-)?keyframes/.test(o[1][0][1]);a(o[2],t,!i)}}}function i(e,t){for(var n=0,r=e.length;n<r;n++){var o=e[n];switch(o[0]){case y.RULE:v(o[2],!0,!0,t);break;case y.NESTED_BLOCK:i(o[2],t)}}}function a(e,t,n){var v,y,_=t.options.level[b.Two];if(o(e,t),i(e,t),_.removeDuplicateRules&&d(e,t),_.mergeAdjacentRules&&u(e,t),_.reduceNonAdjacentRules&&f(e,t),_.mergeNonAdjacentRules&&"body"!=_.mergeNonAdjacentRules&&c(e,t),_.mergeNonAdjacentRules&&"selector"!=_.mergeNonAdjacentRules&&l(e,t),_.restructureRules&&_.mergeAdjacentRules&&n&&(g(e,t),u(e,t)),_.restructureRules&&!_.mergeAdjacentRules&&n&&g(e,t),_.removeDuplicateFontRules&&p(e,t),_.removeDuplicateMediaBlocks&&h(e,t),_.removeUnusedAtRules&&m(e,t),_.mergeMedia)for(y=(v=s(e,t)).length-1;y>=0;y--)a(v[y][2],t,!1);return _.removeEmpty&&r(e),e}var u=e("./merge-adjacent"),s=e("./merge-media-queries"),l=e("./merge-non-adjacent-by-body"),c=e("./merge-non-adjacent-by-selector"),f=e("./reduce-non-adjacent"),p=e("./remove-duplicate-font-at-rules"),h=e("./remove-duplicate-media-queries"),d=e("./remove-duplicates"),m=e("./remove-unused-at-rules"),g=e("./restructure"),v=e("./properties/optimize"),b=e("../../options/optimization-level").OptimizationLevel,y=e("../../tokenizer/token");t.exports=a},{"../../options/optimization-level":66,"../../tokenizer/token":85,"./merge-adjacent":26,"./merge-media-queries":27,"./merge-non-adjacent-by-body":28,"./merge-non-adjacent-by-selector":29,"./properties/optimize":37,"./reduce-non-adjacent":43,"./remove-duplicate-font-at-rules":44,"./remove-duplicate-media-queries":45,"./remove-duplicates":46,"./remove-unused-at-rules":47,"./restructure":51}],31:[function(e,t,n){function r(e,t,n){var r,i,a,u=t.value.length,s=n.value.length,l=Math.max(u,s),c=Math.min(u,s)-1;for(a=0;a<l;a++)if(r=t.value[a]&&t.value[a][1]||r,i=n.value[a]&&n.value[a][1]||i,r!=o.COMMA&&i!=o.COMMA&&!e(r,i,a,a<=c))return!1;return!0}var o=e("../../../tokenizer/marker");t.exports=r},{"../../../tokenizer/marker":84}],32:[function(e,t,n){function r(e,t){var n=o(t);return i(e,n)||a(e,n)}function o(e){return function(t){return e.name===t.name}}function i(e,t){return e.components.filter(t)[0]}function a(e,t){var n,r,o,a;if(u[e.name].shorthandComponents)for(o=0,a=e.components.length;o<a;o++)if(n=e.components[o],r=i(n,t))return r}var u=e("../compactable");t.exports=r},{"../compactable":22}],33:[function(e,t,n){function r(e){for(var t=e.value.length-1;t>=0;t--)if("inherit"==e.value[t][1])return!0;return!1}t.exports=r},{}],34:[function(e,t,n){function r(e,t,n){return o(e,t)||!n&&!!a[e.name].shorthandComponents&&i(e,t)}function o(e,t){var n=a[e.name];return"components"in n&&n.components.indexOf(t.name)>-1}function i(e,t){return e.components.some(function(e){return o(e,t)})}var a=e("../compactable");t.exports=r},{"../compactable":22}],35:[function(e,t,n){function r(e){return"font"!=e.name||-1==e.value[0][1].indexOf(o.INTERNAL)}var o=e("../../../tokenizer/marker");t.exports=r},{"../../../tokenizer/marker":84}],36:[function(e,t,n){function r(e,t){var n,r,i,a,u,s,l,c={};if(!(e.length<3)){for(a=0,u=e.length;a<u;a++)if(i=e[a],n=w[i.name],!i.unused&&!i.hack&&!i.block&&(o(e,a,c,t),n&&n.componentOf))for(s=0,l=n.componentOf.length;s<l;s++)c[r=n.componentOf[s]]=c[r]||{},c[r][i.name]=i;o(e,a,c,t)}}function o(e,t,n,r){var o,f,p,h=e[t];for(o in n)void 0!==h&&o==h.name||(f=w[o],p=n[o],h&&i(n,o,h)?delete n[o]:f.components.length>Object.keys(p).length||a(p)||u(p,o,r)&&s(p)&&(l(p)?c(e,p,o,r):v(e,p,o,r)))}function i(e,t,n){var r,o=w[t],i=w[n.name];if("overridesShorthands"in o&&o.overridesShorthands.indexOf(n.name)>-1)return!0;if(i&&"componentOf"in i)for(r in e[t])if(i.componentOf.indexOf(r)>-1)return!0;return!1}function a(e){var t,n;for(n in e){if(void 0!==t&&e[n].important!=t)return!0;t=e[n].important}return!1}function u(e,t,n){var r,o,i,a,u=w[t],s=[O.PROPERTY,[O.PROPERTY_NAME,t],[O.PROPERTY_VALUE,u.defaultValue]],l=C(s);for(_([l],n,[]),i=0,a=u.components.length;i<a;i++)if(r=e[u.components[i]],o=w[r.name].canOverride,!b(o.bind(null,n),l.components[i],r))return!1;return!0}function s(e){var t,n,r,o,i,a=null;for(n in e)if(r=e[n],"restore"in(o=w[n])){if(x([r.all[r.position]],E),i=o.restore(r,w),t=i.length,null!==a&&t!==a)return!1;a=t}return!0}function l(e){var t,n,r=null;for(t in e){if(n=y(e[t]),null!==r&&r!==n)return!0;r=n}return!1}function c(e,t,n,r){var o,i,a,u,s=f(t,n,r),l=m(t,n,r),c=s[0],p=l[0],h=k(c).length<k(p).length,d=h?c:p,v=h?s[1]:l[1],b=h?s[2]:l[2],y=t[Object.keys(t)[0]].all;v.position=y.length,v.shorthand=!0,v.dirty=!0,v.all=y,v.all.push(d[0]),e.push(v);for(o in t)(i=t[o]).unused=!0,i.name in b&&(a=b[i.name],u=g(d,o),a.position=y.length,a.all=y,a.all.push(u),e.push(a))}function f(e,t,n){var r,o,i,a,u,s,l=[],c={},f={},d=w[t],m=[O.PROPERTY,[O.PROPERTY_NAME,t],[O.PROPERTY_VALUE,d.defaultValue]],g=C(m);for(_([g],n,[]),u=0,s=d.components.length;u<s;u++)r=e[d.components[u]],y(r)?(o=r.all[r.position].slice(0,2),Array.prototype.push.apply(o,r.value),l.push(o),(i=A(r)).value=p(e,i.name),g.components[u]=i,c[r.name]=A(r)):((i=A(r)).all=r.all,g.components[u]=i,f[r.name]=r);return a=h(f,1),m[1].push(a),x([g],E),m=m.slice(0,2),Array.prototype.push.apply(m,g.value),l.unshift(m),[l,g,c]}function p(e,t){var n=w[t];return"oppositeTo"in n?e[n.oppositeTo].value:[[O.PROPERTY_VALUE,n.defaultValue]]}function h(e,t){var n,r,o,i,a=[];for(i in e)o=(r=(n=e[i]).all[n.position])[t][r[t].length-1],Array.prototype.push.apply(a,o);return a.sort(d)}function d(e,t){var n=e[0],r=t[0],o=e[1],i=t[1];return n<r?-1:n===r&&o<i?-1:1}function m(e,t,n){var r,o,i,a,u,s,l=[],c={},f={},p=w[t],d=[O.PROPERTY,[O.PROPERTY_NAME,t],[O.PROPERTY_VALUE,"inherit"]],m=C(d);for(_([m],n,[]),u=0,s=p.components.length;u<s;u++)r=e[p.components[u]],y(r)?c[r.name]=r:(o=r.all[r.position].slice(0,2),Array.prototype.push.apply(o,r.value),l.push(o),f[r.name]=A(r));return i=h(c,1),d[1].push(i),a=h(c,2),d[2].push(a),l.unshift(d),[l,m,f]}function g(e,t){var n,r;for(n=0,r=e.length;n<r;n++)if(e[n][1][1]==t)return e[n]}function v(e,t,n,r){var o,i,a,u=w[n],s=[O.PROPERTY,[O.PROPERTY_NAME,n],[O.PROPERTY_VALUE,u.defaultValue]],l=C(s);l.shorthand=!0,l.dirty=!0,_([l],r,[]);for(var c=0,f=u.components.length;c<f;c++){var p=t[u.components[c]];l.components[c]=A(p),l.important=p.important,a=p.all}for(var d in t)t[d].unused=!0;o=h(t,1),s[1].push(o),i=h(t,2),s[2].push(i),l.position=a.length,l.all=a,l.all.push(s),e.push(l)}var b=e("./every-values-pair"),y=e("./has-inherit"),_=e("./populate-components"),w=e("../compactable"),A=e("../clone").deep,E=e("../restore-with-components"),x=e("../../restore-from-optimizing"),C=e("../../wrap-for-optimizing").single,k=e("../../../writer/one-time").body,O=e("../../../tokenizer/token");t.exports=r},{"../../../tokenizer/token":85,"../../../writer/one-time":99,"../../restore-from-optimizing":57,"../../wrap-for-optimizing":59,"../clone":21,"../compactable":22,"../restore-with-components":49,"./every-values-pair":31,"./has-inherit":33,"./populate-components":40}],37:[function(e,t,n){function r(e,t,n,p){var h,d,m,g=p.options.level[f.Two],v=s(e,!1,g.skipProperties);for(a(v,p.validator,p.warnings),d=0,m=v.length;d<m;d++)(h=v[d]).block&&r(h.value[0][1],t,n,p);n&&g.mergeIntoShorthands&&o(v,p.validator),t&&g.overrideProperties&&i(v,n,p.options.compatibility,p.validator),c(v,u),l(v)}var o=e("./merge-into-shorthands"),i=e("./override-properties"),a=e("./populate-components"),u=e("../restore-with-components"),s=e("../../wrap-for-optimizing").all,l=e("../../remove-unused"),c=e("../../restore-from-optimizing"),f=e("../../../options/optimization-level").OptimizationLevel;t.exports=r},{"../../../options/optimization-level":66,"../../remove-unused":56,"../../restore-from-optimizing":57,"../../wrap-for-optimizing":59,"../restore-with-components":49,"./merge-into-shorthands":36,"./override-properties":38,"./populate-components":40}],38:[function(e,t,n){function r(e,t){for(var n=0;n<e.components.length;n++){var r=e.components[n],o=D[r.name],i=o&&o.canOverride||i.sameValue,a=F(r);if(a.value=[[M.PROPERTY_VALUE,o.defaultValue]],!x(i.bind(null,t),a,r))return!0}return!1}function o(e,t){t.unused=!0,l(t,p(e)),e.value=t.value}function i(e,t){t.unused=!0,e.multiplex=!0,e.value=t.value}function a(e,t){t.unused=!0,e.value=t.value}function u(e,t){t.multiplex?i(e,t):e.multiplex?o(e,t):a(e,t)}function s(e,t){t.unused=!0;for(var n=0,r=e.components.length;n<r;n++)u(e.components[n],t.components[n],e.multiplex)}function l(e,t){e.multiplex=!0,D[e.name].shorthand?c(e,t):f(e,t)}function c(e,t){var n,r,o;for(r=0,o=e.components.length;r<o;r++)(n=e.components[r]).multiplex||f(n,t)}function f(e,t){for(var n,r="real"==D[e.name].intoMultiplexMode,o=r?e.value.slice(0):D[e.name].defaultValue,i=p(e),a=o.length;i<t;i++)if(e.value.push([M.PROPERTY_VALUE,P.COMMA]),Array.isArray(o))for(n=0;n<a;n++)e.value.push(r?o[n]:[M.PROPERTY_VALUE,o[n]]);else e.value.push(r?o:[M.PROPERTY_VALUE,o])}function p(e){for(var t=0,n=0,r=e.value.length;n<r;n++)e.value[n][1]==P.COMMA&&t++;return t+1}function h(e){var t=[M.PROPERTY,[M.PROPERTY_NAME,e.name]].concat(e.value);return U([t],0).length}function d(e,t,n){for(var r=0,o=t;o>=0&&(e[o].name!=n||e[o].unused||r++,!(r>1));o--);return r>1}function m(e,t){for(var n=0,r=e.components.length;n<r;n++)if(!g(t.isUrl,e.components[n])&&g(t.isFunction,e.components[n]))return!0;return!1}function g(e,t){for(var n=0,r=t.value.length;n<r;n++)if(t.value[n][1]!=P.COMMA&&e(t.value[n][1]))return!0;return!1}function v(e,t){if(!e.multiplex&&!t.multiplex||e.multiplex&&t.multiplex)return!1;var n,r=e.multiplex?e:t,a=e.multiplex?t:e,u=T(r);L([u],R);var s=T(a);L([s],R);var c=h(u)+1+h(s);return e.multiplex?o(n=C(u,s),s):(n=C(s,u),l(s,p(u)),i(n,u)),L([s],R),c<=h(s)}function b(e){return e.name in D}function y(e,t){return!e.multiplex&&("background"==e.name||"background-image"==e.name)&&t.multiplex&&("background"==t.name||"background-image"==t.name)&&_(t.value)}function _(e){for(var t=w(e),n=0,r=t.length;n<r;n++)if(1==t[n].length&&"none"==t[n][0][1])return!0;return!1}function w(e){for(var t=[],n=0,r=[],o=e.length;n<o;n++){var i=e[n];i[1]==P.COMMA?(t.push(r),r=[]):r.push(i)}return t.push(r),t}function A(e,t,n,o){var i,a,c,f,h,_,w,A,T,R,F;e:for(T=e.length-1;T>=0;T--)if(a=e[T],b(a)&&!a.block){i=D[a.name].canOverride;t:for(R=T-1;R>=0;R--)if(c=e[R],b(c)&&!c.block&&!c.unused&&!a.unused&&(!c.hack||a.hack||a.important)&&(c.hack||c.important||!a.hack)&&(c.important!=a.important||c.hack[0]==a.hack[0])&&!(c.important==a.important&&(c.hack[0]!=a.hack[0]||c.hack[1]&&c.hack[1]!=a.hack[1])||E(a)||y(c,a)))if(a.shorthand&&k(a,c)){if(!a.important&&c.important)continue;if(!S([c],a.components))continue;if(!g(o.isFunction,c)&&m(a,o))continue;if(!O(a)){c.unused=!0;continue}f=C(a,c),i=D[c.name].canOverride,x(i.bind(null,o),c,f)&&(c.unused=!0)}else if(a.shorthand&&B(a,c)){if(!a.important&&c.important)continue;if(!S([c],a.components))continue;if(!g(o.isFunction,c)&&m(a,o))continue;for(F=(h=c.shorthand?c.components:[c]).length-1;F>=0;F--)if(_=h[F],w=C(a,_),i=D[_.name].canOverride,!x(i.bind(null,o),c,w))continue t;c.unused=!0}else if(t&&c.shorthand&&!a.shorthand&&k(c,a,!0)){if(a.important&&!c.important)continue;if(!a.important&&c.important){a.unused=!0;continue}if(d(e,T-1,c.name))continue;if(m(c,o))continue;if(!O(c))continue;if(f=C(c,a),x(i.bind(null,o),f,a)){var L=!n.properties.backgroundClipMerging&&f.name.indexOf("background-clip")>-1||!n.properties.backgroundOriginMerging&&f.name.indexOf("background-origin")>-1||!n.properties.backgroundSizeMerging&&f.name.indexOf("background-size")>-1,M=D[a.name].nonMergeableValue===a.value[0][1];if(L||M)continue;if(!n.properties.merging&&r(c,o))continue;if(f.value[0][1]!=a.value[0][1]&&(E(c)||E(a)))continue;if(v(c,a))continue;!c.multiplex&&a.multiplex&&l(c,p(a)),u(f,a),c.dirty=!0}}else if(t&&c.shorthand&&a.shorthand&&c.name==a.name){if(!c.multiplex&&a.multiplex)continue;if(!a.important&&c.important){a.unused=!0;continue e}if(a.important&&!c.important){c.unused=!0;continue}if(!O(a)){c.unused=!0;continue}for(F=c.components.length-1;F>=0;F--){var P=c.components[F],U=a.components[F];if(i=D[P.name].canOverride,!x(i.bind(null,o),P,U))continue e}s(c,a),c.dirty=!0}else if(t&&c.shorthand&&a.shorthand&&k(c,a)){if(!c.important&&a.important)continue;if(f=C(c,a),i=D[a.name].canOverride,!x(i.bind(null,o),f,a))continue;if(c.important&&!a.important){a.unused=!0;continue}if(D[a.name].restore(a,D).length>1)continue;u(f=C(c,a),a),a.dirty=!0}else if(c.name==a.name){if(A=!0,a.shorthand)for(F=a.components.length-1;F>=0&&A;F--)_=c.components[F],w=a.components[F],i=D[w.name].canOverride,A=A&&x(i.bind(null,o),_,w);else i=D[a.name].canOverride,A=x(i.bind(null,o),c,a);if(c.important&&!a.important&&A){a.unused=!0;continue}if(!c.important&&a.important&&A){c.unused=!0;continue}if(!A)continue;c.unused=!0}}}var E=e("./has-inherit"),x=e("./every-values-pair"),C=e("./find-component-in"),k=e("./is-component-of"),O=e("./is-mergeable-shorthand"),B=e("./overrides-non-component-shorthand"),S=e("./vendor-prefixes").same,D=e("../compactable"),T=e("../clone").deep,T=e("../clone").deep,R=e("../restore-with-components"),F=e("../clone").shallow,L=e("../../restore-from-optimizing"),M=e("../../../tokenizer/token"),P=e("../../../tokenizer/marker"),U=e("../../../writer/one-time").property;t.exports=A},{"../../../tokenizer/marker":84,"../../../tokenizer/token":85,"../../../writer/one-time":99,"../../restore-from-optimizing":57,"../clone":21,"../compactable":22,"../restore-with-components":49,"./every-values-pair":31,"./find-component-in":32,"./has-inherit":33,"./is-component-of":34,"./is-mergeable-shorthand":35,"./overrides-non-component-shorthand":39,"./vendor-prefixes":42}],39:[function(e,t,n){function r(e,t){return e.name in o&&"overridesShorthands"in o[e.name]&&o[e.name].overridesShorthands.indexOf(t.name)>-1}var o=e("../compactable");t.exports=r},{"../compactable":22}],40:[function(e,t,n){function r(e,t,n){for(var r,a,u,s=e.length-1;s>=0;s--){var l=e[s],c=o[l.name];if(c&&c.shorthand){l.shorthand=!0,l.dirty=!0;try{if(l.components=c.breakUp(l,o,t),c.shorthandComponents)for(a=0,u=l.components.length;a<u;a++)(r=l.components[a]).components=o[r.name].breakUp(r,o,t)}catch(e){if(!(e instanceof i))throw e;l.components=[],n.push(e.message)}l.components.length>0?l.multiplex=l.components[0].multiplex:l.unused=!0}}}var o=e("../compactable"),i=e("../invalid-property-error");t.exports=r},{"../compactable":22,"../invalid-property-error":24}],41:[function(e,t,n){function r(e,t,n,r,i){return!!o(t,n)&&(!i||e.isVariable(t)===e.isVariable(n))}var o=e("./vendor-prefixes").same;t.exports=r},{"./vendor-prefixes":42}],42:[function(e,t,n){function r(e){for(var t,n=[];null!==(t=i.exec(e));)-1==n.indexOf(t[0])&&n.push(t[0]);return n}function o(e,t){return r(e).sort().join(",")==r(t).sort().join(",")}var i=/(?:^|\W)(\-\w+\-)/g;t.exports={unique:r,same:o}},{}],43:[function(e,t,n){function r(e,t){for(var n=t.options,r=n.compatibility.selectors.mergeablePseudoClasses,u=n.compatibility.selectors.mergeablePseudoElements,l=n.compatibility.selectors.multiplePseudoMerging,c={},p=[],d=e.length-1;d>=0;d--){var m=e[d];if(m[0]==f.RULE&&0!==m[2].length)for(var g=h(m[1]),v=m[1].length>1&&s(g,r,u,l),b=o(m[1]),y=v?[g].concat(b):[g],_=0,w=y.length;_<w;_++){var A=y[_];c[A]?p.push(A):c[A]=[],c[A].push({where:d,list:b,isPartial:v&&_>0,isComplex:v&&0===_})}}i(e,p,c,n,t),a(e,c,n,t)}function o(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n][1]]);return t}function i(e,t,n,r,o){function i(e,t){return c[e].isPartial&&0===t.length}function a(e,t,n,r){c[n-r-1].isPartial||(e[2]=t)}for(var s=0,l=t.length;s<l;s++){var c=n[t[s]];u(e,c,{filterOut:i,callback:a},r,o)}}function a(e,t,n,r){function o(e){return f.data[e].where<f.intoPosition}function i(e,t,n,r){0===r&&f.reducedBodies.push(t)}var a=n.compatibility.selectors.mergeablePseudoClasses,l=n.compatibility.selectors.mergeablePseudoElements,c=n.compatibility.selectors.multiplePseudoMerging,f={};e:for(var h in t){var d=t[h];if(d[0].isComplex){var m=d[d.length-1].where,g=e[m],v=[],b=s(h,a,l,c)?d[0].list:[h];f.intoPosition=m,f.reducedBodies=v;for(var y=0,_=b.length;y<_;y++){var w=t[b[y]];if(w.length<2)continue e;if(f.data=w,u(e,w,{filterOut:o,callback:i},n,r),p(v[v.length-1])!=p(v[0]))continue e}g[2]=v[0]}}}function u(e,t,n,r,o){for(var i=[],a=[],u=[],s=t.length-1;s>=0;s--)if(!n.filterOut(s,i)){var f=t[s].where,p=e[f],h=c(p[2]);i=i.concat(h),a.push(h),u.push(f)}l(i,!0,!1,o);for(var d=u.length,m=i.length-1,g=d-1;g>=0;)if((0===g||i[m]&&a[g].indexOf(i[m])>-1)&&m>-1)m--;else{var v=i.splice(m+1);n.callback(e[u[g]],v,d,g),g--}}var s=e("./is-mergeable"),l=e("./properties/optimize"),c=e("../../utils/clone-array"),f=e("../../tokenizer/token"),p=e("../../writer/one-time").body,h=e("../../writer/one-time").rules;t.exports=r},{"../../tokenizer/token":85,"../../utils/clone-array":87,"../../writer/one-time":99,"./is-mergeable":25,"./properties/optimize":37}],44:[function(e,t,n){function r(e){var t,n,r,u,s=[];for(r=0,u=e.length;r<u;r++)(t=e[r])[0]!=o.AT_RULE_BLOCK&&t[1][0][1]!=a||(n=i([t]),s.indexOf(n)>-1?t[2]=[]:s.push(n))}var o=e("../../tokenizer/token"),i=e("../../writer/one-time").all,a="@font-face";t.exports=r},{"../../tokenizer/token":85,"../../writer/one-time":99}],45:[function(e,t,n){function r(e){var t,n,r,u,s,l={};for(u=0,s=e.length;u<s;u++)(n=e[u])[0]==o.NESTED_BLOCK&&((t=l[r=a(n[1])+"%"+i(n[2])])&&(t[2]=[]),l[r]=n)}var o=e("../../tokenizer/token"),i=e("../../writer/one-time").all,a=e("../../writer/one-time").rules;t.exports=r},{"../../tokenizer/token":85,"../../writer/one-time":99}],46:[function(e,t,n){function r(e){for(var t,n,r,u,s={},l=[],c=0,f=e.length;c<f;c++)(n=e[c])[0]==o.RULE&&(s[t=a(n[1])]&&1==s[t].length?l.push(t):s[t]=s[t]||[],s[t].push(c));for(c=0,f=l.length;c<f;c++){u=[];for(var p=s[t=l[c]].length-1;p>=0;p--)n=e[s[t][p]],r=i(n[2]),u.indexOf(r)>-1?n[2]=[]:u.push(r)}}var o=e("../../tokenizer/token"),i=e("../../writer/one-time").body,a=e("../../writer/one-time").rules;t.exports=r},{"../../tokenizer/token":85,"../../writer/one-time":99}],47:[function(e,t,n){function r(e,t){o(e,a,u,t),o(e,s,l,t),o(e,c,f,t),o(e,p,h,t)}function o(e,t,n,r){var o,a,u,s,l={};for(u=0,s=e.length;u<s;u++)t(e[u],l);if(0!==Object.keys(l).length){i(e,n,l,r);for(o in l)(a=l[o])[a[0]==v.AT_RULE?1:2]=[]}}function i(e,t,n,r){var o,a,u=t(n);for(o=0,a=e.length;o<a;o++)switch(e[o][0]){case v.RULE:u(e[o],r);break;case v.NESTED_BLOCK:i(e[o][2],t,n,r)}}function a(e,t){e[0]==v.AT_RULE_BLOCK&&0===e[1][0][1].indexOf("@counter-style")&&(t[e[1][0][1].split(" ")[1]]=e)}function u(e){return function(t,n){var r,o,i,a;for(i=0,a=t[2].length;i<a;i++)"list-style"==(r=t[2][i])[1][1]&&(o=m(r),d([o],n.validator,n.warnings),o.components[0].value[0][1]in e&&delete e[r[2][1]],g([o])),"list-style-type"==r[1][1]&&r[2][1]in e&&delete e[r[2][1]]}}function s(e,t){var n,r,o;if(e[0]==v.AT_RULE_BLOCK&&"@font-face"==e[1][0][1])for(r=0,o=e[2].length;r<o;r++)if("font-family"==(n=e[2][r])[1][1]){t[n[2][1].toLowerCase()]=e;break}}function l(e){return function(t,n){var r,o,i,a,u,s,l,c;for(u=0,s=t[2].length;u<s;u++){if("font"==(r=t[2][u])[1][1]){for(o=m(r),d([o],n.validator,n.warnings),l=0,c=(i=o.components[6]).value.length;l<c;l++)(a=i.value[l][1].toLowerCase())in e&&delete e[a];g([o])}if("font-family"==r[1][1])for(l=2,c=r.length;l<c;l++)(a=r[l][1].toLowerCase())in e&&delete e[a]}}}function c(e,t){e[0]==v.NESTED_BLOCK&&_.test(e[1][0][1])&&(t[e[1][0][1].split(" ")[1]]=e)}function f(e){return function(t,n){var r,o,i,a,u,s,l;for(a=0,u=t[2].length;a<u;a++){if(r=t[2][a],y.test(r[1][1])){for(o=m(r),d([o],n.validator,n.warnings),s=0,l=(i=o.components[7]).value.length;s<l;s++)i.value[s][1]in e&&delete e[i.value[s][1]];g([o])}if(b.test(r[1][1]))for(s=2,l=r.length;s<l;s++)r[s][1]in e&&delete e[r[s][1]]}}}function p(e,t){e[0]==v.AT_RULE&&0===e[1].indexOf("@namespace")&&(t[e[1].split(" ")[1]]=e)}function h(e){var t=new RegExp(Object.keys(e).join("\\||")+"\\|","g");return function(n){var r,o,i,a,u,s;for(i=0,a=n[1].length;i<a;i++)for(u=0,s=(r=n[1][i][1].match(t)).length;u<s;u++)(o=r[u].substring(0,r[u].length-1))in e&&delete e[o]}}var d=e("./properties/populate-components"),m=e("../wrap-for-optimizing").single,g=e("../restore-from-optimizing"),v=e("../../tokenizer/token"),b=/^(\-moz\-|\-o\-|\-webkit\-)?animation-name$/,y=/^(\-moz\-|\-o\-|\-webkit\-)?animation$/,_=/^@(\-moz\-|\-o\-|\-webkit\-)?keyframes /;t.exports=r},{"../../tokenizer/token":85,"../restore-from-optimizing":57,"../wrap-for-optimizing":59,"./properties/populate-components":40}],48:[function(e,t,n){function r(e,t,n){for(var r=t.length-1;r>=0;r--)for(var i=e.length-1;i>=0;i--)if(!o(e[i],t[r],n))return!1;return!0}function o(e,t,n){var r=e[0],o=e[1],g=e[2],v=e[5],b=e[6],y=t[0],_=t[1],w=t[2],A=t[5],E=t[6];return!("font"==r&&"line-height"==y||"font"==y&&"line-height"==r)&&((!d.test(r)||!d.test(y))&&(!(g==w&&a(r)==a(y)&&i(r)^i(y))&&(("border"!=g||!m.test(w)||!("border"==r||r==w||o!=_&&u(r,y)))&&(("border"!=w||!m.test(g)||!("border"==y||y==g||o!=_&&u(r,y)))&&(("border"!=g||"border"!=w||r==y||!(s(r)&&l(y)||l(r)&&s(y)))&&(g!=w||(!(r!=y||g!=w||o!=_&&!c(o,_))||(r!=y&&g==w&&r!=g&&y!=w||(r!=y&&g==w&&o==_||(!(!E||!b||f(g)||f(w)||p(A,v,!1))||!h(v,A,n)))))))))))}function i(e){return/^\-(?:moz|webkit|ms|o)\-/.test(e)}function a(e){return e.replace(/^\-(?:moz|webkit|ms|o)\-/,"")}function u(e,t){return e.split("-").pop()==t.split("-").pop()}function s(e){return"border-top"==e||"border-right"==e||"border-bottom"==e||"border-left"==e}function l(e){return"border-color"==e||"border-style"==e||"border-width"==e}function c(e,t){return i(e)&&i(t)&&e.split("-")[1]!=t.split("-")[2]}function f(e){return"font"==e||"line-height"==e||"list-style"==e}var p=e("./rules-overlap"),h=e("./specificities-overlap"),d=/align\-items|box\-align|box\-pack|flex|justify/,m=/^border\-(top|right|bottom|left|color|style|width|radius)/;t.exports={canReorder:r,canReorderSingle:o}},{"./rules-overlap":52,"./specificities-overlap":53}],49:[function(e,t,n){function r(e){var t=o[e.name];return t&&t.shorthand?t.restore(e,o):e.value}var o=e("./compactable");t.exports=r},{"./compactable":22}],50:[function(e,t,n){function r(e){for(var t=0,n=e.length;t<n;t++){var r=e[t][1];if("inherit"!=r&&r!=p.COMMA&&r!=p.FORWARD_SLASH)return!1}return!0}function o(e,t,n){function o(e){Array.prototype.unshift.apply(l,e.value)}function i(e){var n=t[e.name];return n.doubleValues&&1==n.defaultValue.length?e.value[0][1]==n.defaultValue[0]&&(!e.value[1]||e.value[1][1]==n.defaultValue[0]):n.doubleValues&&1!=n.defaultValue.length?e.value[0][1]==n.defaultValue[0]&&(e.value[1]?e.value[1][1]:e.value[0][1])==n.defaultValue[1]:e.value[0][1]==n.defaultValue}for(var a,u,s=e.components,l=[],c=s.length-1;c>=0;c--){var h=s[c],d=i(h);if("background-clip"==h.name){var m=s[c-1],g=i(m);u=!(a=h.value[0][1]==m.value[0][1])&&(g&&!d||!g&&!d||!g&&d&&h.value[0][1]!=m.value[0][1]),a?o(m):u&&(o(h),o(m)),c--}else if("background-size"==h.name){var v=s[c-1],b=i(v);u=!(a=!b&&d)&&(b&&!d||!b&&!d),a?o(v):u?(o(h),l.unshift([f.PROPERTY_VALUE,p.FORWARD_SLASH]),o(v)):1==v.value.length&&o(v),c--}else{if(d||t[h.name].multiplexLastOnly&&!n)continue;o(h)}}return 0===l.length&&1==e.value.length&&"0"==e.value[0][1]&&l.push(e.value[0]),0===l.length&&l.push([f.PROPERTY_VALUE,t[e.name].defaultValue]),r(l)?[l[0]]:l}function i(e,t){if(e.multiplex){for(var n=c(e),r=c(e),o=0;o<4;o++){var i=e.components[o],a=c(e);a.value=[i.value[0]],n.components.push(a);var s=c(e);s.value=[i.value[1]||i.value[0]],r.components.push(s)}var l=u(n),h=u(r);return l.length!=h.length||l[0][1]!=h[0][1]||l.length>1&&l[1][1]!=h[1][1]||l.length>2&&l[2][1]!=h[2][1]||l.length>3&&l[3][1]!=h[3][1]?l.concat([[f.PROPERTY_VALUE,p.FORWARD_SLASH]]).concat(h):l}return u(e)}function a(e,t){var n,o=e.components,i=[],a=0,u=0;if(0===e.value[0][1].indexOf(p.INTERNAL))return e.value[0][1]=e.value[0][1].substring(p.INTERNAL.length),e.value;for(;a<4;)(n=o[a]).value[0][1]!=t[n.name].defaultValue&&Array.prototype.push.apply(i,n.value),a++;for(Array.prototype.push.apply(i,o[a].value),o[++a].value[0][1]!=t[o[a].name].defaultValue&&(Array.prototype.push.apply(i,[[f.PROPERTY_VALUE,p.FORWARD_SLASH]]),Array.prototype.push.apply(i,o[a].value)),a++;o[a].value[u];)i.push(o[a].value[u]),o[a].value[u+1]&&i.push([f.PROPERTY_VALUE,p.COMMA]),u++;return r(i)?[i[0]]:i}function u(e){var t=e.components,n=t[0].value[0],r=t[1].value[0],o=t[2].value[0],i=t[3].value[0];return n[1]==r[1]&&n[1]==o[1]&&n[1]==i[1]?[n]:n[1]==o[1]&&r[1]==i[1]?[n,r]:r[1]==i[1]?[n,r,o]:[n,r,o,i]}function s(e){return function(t,n){if(!t.multiplex)return e(t,n,!0);var r,o,i=0,a=[],u={};for(r=0,o=t.components[0].value.length;r<o;r++)t.components[0].value[r][1]==p.COMMA&&i++;for(r=0;r<=i;r++){for(var s=c(t),l=0,h=t.components.length;l<h;l++){var d=t.components[l],m=c(d);s.components.push(m);for(var g=u[m.name]||0,v=d.value.length;g<v;g++){if(d.value[g][1]==p.COMMA){u[m.name]=g+1;break}m.value.push(d.value[g])}}var b=e(s,n,r==i);Array.prototype.push.apply(a,b),r<i&&a.push([f.PROPERTY_VALUE,p.COMMA])}return a}}function l(e,t){for(var n=e.components,o=[],i=n.length-1;i>=0;i--){var a=n[i],u=t[a.name];a.value[0][1]!=u.defaultValue&&o.unshift(a.value[0])}return 0===o.length&&o.push([f.PROPERTY_VALUE,t[e.name].defaultValue]),r(o)?[o[0]]:o}var c=e("./clone").shallow,f=e("../../tokenizer/token"),p=e("../../tokenizer/marker");t.exports={background:o,borderRadius:i,font:a,fourValues:u,multiplex:s,withoutDefaults:l}},{"../../tokenizer/marker":84,"../../tokenizer/token":85,"./clone":21}],51:[function(e,t,n){function r(e,t){return e>t?1:-1}function o(e,t){var n=f(e);return n[5]=n[5].concat(t[5]),n}function i(e,t){function n(e,t,n){for(var r=n.length-1;r>=0;r--){var o=i(t,n[r][0]);if(F[o].length>1&&x(e,F[o])){f(o);break}}}function i(e,t){var n=d(t);return F[n]=F[n]||[],F[n].push([e,t]),n}function f(e){var t,n=e.split(P),r=[];for(var o in F){var i=o.split(P);for(t=i.length-1;t>=0;t--)if(n.indexOf(i[t])>-1){r.push(o);break}}for(t=r.length-1;t>=0;t--)delete F[r[t]]}function d(e){for(var t=[],n=0,r=e.length;n<r;n++)t.push(h(e[n][1]));return t.join(P)}function m(e){for(var t=[],n=[],r=e.length-1;r>=0;r--)s(h(e[r][1]),k,O,S)&&(n.unshift(e[r]),e[r][2].length>0&&-1==t.indexOf(e[r])&&t.push(e[r]));return t.length>1?n:[]}function g(e,t){var r=t[0],o=t[1],i=t[4],a=r.length+o.length+1,u=[],s=[],c=m(T[i]);if(!(c.length<2)){var f=b(c,a,1),p=f[0];if(p[1]>0)return n(e,t,f);for(var h=p[0].length-1;h>=0;h--)u=p[0][h][1].concat(u),s.unshift(p[0][h]);w(e,[t],u=l(u),s)}}function v(e,t){return e[1]>t[1]?1:e[1]==t[1]?0:-1}function b(e,t,n){return y(e,t,n,M-1).sort(v)}function y(e,t,n,r){var o=[[e,_(e,t,n)]];if(e.length>2&&r>0)for(var i=e.length-1;i>=0;i--){var a=Array.prototype.slice.call(e,0);a.splice(i,1),o=o.concat(y(a,t,n,r-1))}return o}function _(e,t,n){for(var r=0,o=e.length-1;o>=0;o--)r+=e[o][2].length>n?h(e[o][1]).length:-1;return r-(e.length-1)*t+1}function w(t,n,r,o){var i,a,u,s,l=[];for(i=o.length-1;i>=0;i--){var f=o[i];for(a=f[2].length-1;a>=0;a--){var h=f[2][a];for(u=0,s=n.length;u<s;u++){var d=n[u],m=h[1][1],g=d[0],v=d[4];if(m==g&&p([h])==v){f[2].splice(a,1);break}}}}for(i=n.length-1;i>=0;i--)l.unshift(n[i][3]);var b=[c.RULE,r,l];e.splice(t,0,b)}function A(e,t){var n=t[4],r=T[n];r&&r.length>1&&(E(e,t)||g(e,t))}function E(e,t){var n,r,o=[],i=[],a=t[4],u=m(T[a]);if(!(u.length<2)){e:for(var s in T){var l=T[s];for(n=u.length-1;n>=0;n--)if(-1==l.indexOf(u[n]))continue e;o.push(s)}if(o.length<2)return!1;for(n=o.length-1;n>=0;n--)for(r=R.length-1;r>=0;r--)if(R[r][4]==o[n]){i.unshift([R[r],u]);break}return x(e,i)}}function x(e,t){for(var n,r=0,o=[],i=t.length-1;i>=0;i--)r+=(n=t[i][0])[4].length+(i>0?1:0),o.push(n);var a=b(t[0][1],r,o.length)[0];if(a[1]>0)return!1;var u=[],s=[];for(i=a[0].length-1;i>=0;i--)u=a[0][i][1].concat(u),s.unshift(a[0][i]);for(w(e,o,u=l(u),s),i=o.length-1;i>=0;i--){n=o[i];var c=R.indexOf(n);delete T[n[4]],c>-1&&-1==L.indexOf(c)&&L.push(c)}return!0}for(var C=t.options,k=C.compatibility.selectors.mergeablePseudoClasses,O=C.compatibility.selectors.mergeablePseudoElements,B=C.compatibility.selectors.mergeLimit,S=C.compatibility.selectors.multiplePseudoMerging,D=t.cache.specificity,T={},R=[],F={},L=[],M=2,P="%",U=e.length-1;U>=0;U--){var N,q,z,I,j,V=e[U];if(V[0]==c.RULE)N=!0;else{if(V[0]!=c.NESTED_BLOCK)continue;N=!1}var $=R.length,H=u(V);L=[];var K=[];for(q=H.length-1;q>=0;q--)for(z=q-1;z>=0;z--)if(!a(H[q],H[z],D)){K.push(q);break}for(q=H.length-1;q>=0;q--){var Y=H[q],G=!1;for(z=0;z<$;z++){var W=R[z];-1==L.indexOf(z)&&(!a(Y,W,D)&&!function(e,t,n){if(e[0]!=t[0])return!1;var r=t[4],o=T[r];return o&&o.indexOf(n)>-1}(Y,W,V)||T[W[4]]&&T[W[4]].length===B)&&(A(U+1,W),-1==L.indexOf(z)&&(L.push(z),delete T[W[4]])),G||(G=Y[0]==W[0]&&Y[1]==W[1])&&(j=z)}if(N&&!(K.indexOf(q)>-1)){var Q=Y[4];G&&R[j][5].length+Y[5].length>B?(A(U+1,R[j]),R.splice(j,1),T[Q]=[V],G=!1):(T[Q]=T[Q]||[],T[Q].push(V)),G?R[j]=o(R[j],Y):R.push(Y)}}for(q=0,I=(L=L.sort(r)).length;q<I;q++){var Z=L[q]-q;R.splice(Z,1)}}for(var J=e[0]&&e[0][0]==c.AT_RULE&&0===e[0][1].indexOf("@charset")?1:0;J<e.length-1;J++){var X=e[J][0]===c.AT_RULE&&0===e[J][1].indexOf("@import"),ee=e[J][0]===c.COMMENT;if(!X&&!ee)break}for(U=0;U<R.length;U++)A(J,R[U])}var a=e("./reorderable").canReorderSingle,u=e("./extract-properties"),s=e("./is-mergeable"),l=e("./tidy-rule-duplicates"),c=e("../../tokenizer/token"),f=e("../../utils/clone-array"),p=e("../../writer/one-time").body,h=e("../../writer/one-time").rules;t.exports=i},{"../../tokenizer/token":85,"../../utils/clone-array":87,"../../writer/one-time":99,"./extract-properties":23,"./is-mergeable":25,"./reorderable":48,"./tidy-rule-duplicates":55}],52:[function(e,t,n){function r(e,t,n){var r,i,a,u,s,l;for(a=0,u=e.length;a<u;a++)for(r=e[a][1],s=0,l=t.length;s<l;s++){if(i=t[s][1],r==i)return!0;if(n&&o(r)==o(i))return!0}return!1}function o(e){return e.replace(i,"")}var i=/\-\-.+$/;t.exports=r},{}],53:[function(e,t,n){function r(e,t,n){var r,i,a,u,s,l;for(a=0,u=e.length;a<u;a++)for(r=o(e[a][1],n),s=0,l=t.length;s<l;s++)if(i=o(t[s][1],n),r[0]===i[0]&&r[1]===i[1]&&r[2]===i[2])return!0;return!1}function o(e,t){var n;return e in t||(t[e]=n=i(e)),n||t[e]}var i=e("./specificity");t.exports=r},{"./specificity":54}],54:[function(e,t,n){function r(e){var t,n,r,s,c,f,p,h=[0,0,0],d=0,m=!1,g=!1;for(f=0,p=e.length;f<p;f++){if(t=e[f],n);else if(t!=i.SINGLE_QUOTE||s||r)if(t==i.SINGLE_QUOTE&&!s&&r)r=!1;else if(t!=i.DOUBLE_QUOTE||s||r)if(t==i.DOUBLE_QUOTE&&s&&!r)s=!1;else{if(r||s)continue;d>0&&!m||(t==i.OPEN_ROUND_BRACKET?d++:t==i.CLOSE_ROUND_BRACKET&&1==d?(d--,m=!1):t==i.CLOSE_ROUND_BRACKET?d--:t==a.HASH?h[0]++:t==a.DOT||t==i.OPEN_SQUARE_BRACKET?h[1]++:t!=a.PSEUDO||g||o(e,f)?t==a.PSEUDO?m=!0:(0===f||c)&&u.test(t)&&h[2]++:(h[1]++,m=!1))}else s=!0;else r=!0;n=t==i.BACK_SLASH,g=t==a.PSEUDO,c=!n&&l.test(t)}return h}function o(e,t){return e.indexOf(s,t)===t}var i=e("../../tokenizer/marker"),a={ADJACENT_SIBLING:"+",DESCENDANT:">",DOT:".",HASH:"#",NON_ADJACENT_SIBLING:"~",PSEUDO:":"},u=/[a-zA-Z]/,s=":not(",l=/[\s,\(>~\+]/;t.exports=r},{"../../tokenizer/marker":84}],55:[function(e,t,n){function r(e,t){return e[1]>t[1]?1:-1}function o(e){for(var t=[],n=[],o=0,i=e.length;o<i;o++){var a=e[o];-1==n.indexOf(a[1])&&(n.push(a[1]),t.push(a))}return t.sort(r)}t.exports=o},{}],56:[function(e,t,n){function r(e){for(var t=e.length-1;t>=0;t--){var n=e[t];n.unused&&n.all.splice(n.position,1)}}t.exports=r},{}],57:[function(e,t,n){function r(e,t){var n,r,a,u;for(u=e.length-1;u>=0;u--)(n=e[u]).unused||(n.dirty||n.important||n.hack)&&(t?(r=t(n),n.value=r):r=n.value,n.important&&o(n),n.hack&&i(n),"all"in n&&((a=n.all[n.position])[1][1]=n.name,a.splice(2,a.length-1),Array.prototype.push.apply(a,r)))}function o(e){e.value[e.value.length-1][1]+=c}function i(e){e.hack[0]==a.UNDERSCORE?e.name=f+e.name:e.hack[0]==a.ASTERISK?e.name=s+e.name:e.hack[0]==a.BACKSLASH?e.value[e.value.length-1][1]+=l+e.hack[1]:e.hack[0]==a.BANG&&(e.value[e.value.length-1][1]+=u.SPACE+p)}var a=e("./hack"),u=e("../tokenizer/marker"),s="*",l="\\",c="!important",f="_",p="!ie";t.exports=r},{"../tokenizer/marker":84,"./hack":9}],58:[function(e,t,n){function r(){var e=p("animation-timing-function");return function(t){return e(t)||x.test(t)}}function o(e){return"auto"!=e&&(p("color")(e)||s(e)||i(e)||h(e))}function i(e){return m(e)||l(e)}function a(e){return C.test(e)}function u(e){return k.test(e)}function s(e){return F.test(e)||S.test(e)}function l(e){return O.test(e)}function c(e){return B.test(e)}function f(e){return"none"==e||"inherit"==e||w(e)}function p(e){return function(t){return U[e].indexOf(t)>-1}}function h(e){return D.test(e)}function d(e){return e.length>0&&""+parseFloat(e)===e}function m(e){return R.test(e)}function g(e){return T.test(e)}function v(e){return d(e)&&parseFloat(e)>=0}function b(e){return P.test(e)}function y(e){return L.test(e)}function _(e,t){return e.test(t)}function w(e){return M.test(e)}function A(e){return"auto"==e||d(e)||p("^")(e)}function E(e){var t=N.slice(0).filter(function(t){return!(t in e.units)||!0===e.units[t]}),n=new RegExp("^(\\-?\\.?\\d+\\.?\\d*("+t.join("|")+"|)|auto|inherit)$","i");return{colorOpacity:e.colors.opacity,isAnimationDirectionKeyword:p("animation-direction"),isAnimationFillModeKeyword:p("animation-fill-mode"),isAnimationIterationCountKeyword:p("animation-iteration-count"),isAnimationNameKeyword:p("animation-name"),isAnimationPlayStateKeyword:p("animation-play-state"),isAnimationTimingFunction:r(),isBackgroundAttachmentKeyword:p("background-attachment"),isBackgroundClipKeyword:p("background-clip"),isBackgroundOriginKeyword:p("background-origin"),isBackgroundPositionKeyword:p("background-position"),isBackgroundRepeatKeyword:p("background-repeat"),isBackgroundSizeKeyword:p("background-size"),isColor:o,isColorFunction:i,isDynamicUnit:a,isFontKeyword:p("font"),isFontSizeKeyword:p("font-size"),isFontStretchKeyword:p("font-stretch"),isFontStyleKeyword:p("font-style"),isFontVariantKeyword:p("font-variant"),isFontWeightKeyword:p("font-weight"),isFunction:u,isGlobal:p("^"),isHslColor:l,isIdentifier:c,isImage:f,isKeyword:p,isLineHeightKeyword:p("line-height"),isListStylePositionKeyword:p("list-style-position"),isListStyleTypeKeyword:p("list-style-type"),isPrefixed:g,isPositiveNumber:v,isRgbColor:m,isStyleKeyword:p("*-style"),isTime:y,isUnit:_.bind(null,n),isUrl:w,isVariable:b,isWidth:p("width"),isZIndex:A}}var x=/^(cubic\-bezier|steps)\([^\)]+\)$/,C=new RegExp("^(\\-moz\\-|\\-webkit\\-)?calc\\([^\\)]+\\)$","i"),k=new RegExp("^(var\\(\\-\\-[^\\)]+\\)|[A-Z]+(\\-|[A-Z]|[0-9])+\\(.*?\\)|\\-(\\-|[A-Z]|[0-9])+\\(.*?\\))$","i"),O=/^hsl\(\s*[\-\.\d]+\s*,\s*[\.\d]+%\s*,\s*[\.\d]+%\s*\)|hsla\(\s*[\-\.\d]+\s*,\s*[\.\d]+%\s*,\s*[\.\d]+%\s*,\s*[\.\d]+\s*\)$/,B=/^(\-[a-z0-9_][a-z0-9\-_]*|[a-z][a-z0-9\-_]*)$/i,S=/^#[0-9a-f]{6}$/i,D=/^[a-z]+$/i,T=/^-([a-z0-9]|-)*$/i,R=/^rgb\(\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*\)|rgba\(\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*,\s*[\.\d]+\s*\)$/,F=/^#[0-9a-f]{3}$/i,L=new RegExp("^(\\-?\\+?\\.?\\d+\\.?\\d*(s|ms))$"),M=/^url\([\s\S]+\)$/i,P=new RegExp("^var\\(\\-\\-[^\\)]+\\)$","i"),U={"^":["inherit","initial","unset"],"*-style":["auto","dashed","dotted","double","groove","hidden","inset","none","outset","ridge","solid"],"animation-direction":["alternate","alternate-reverse","normal","reverse"],"animation-fill-mode":["backwards","both","forwards","none"],"animation-iteration-count":["infinite"],"animation-name":["none"],"animation-play-state":["paused","running"],"animation-timing-function":["ease","ease-in","ease-in-out","ease-out","linear","step-end","step-start"],"background-attachment":["fixed","inherit","local","scroll"],"background-clip":["border-box","content-box","inherit","padding-box","text"],"background-origin":["border-box","content-box","inherit","padding-box"],"background-position":["bottom","center","left","right","top"],"background-repeat":["no-repeat","inherit","repeat","repeat-x","repeat-y","round","space"],"background-size":["auto","cover","contain"],"border-collapse":["collapse","inherit","separate"],bottom:["auto"],clear:["both","left","none","right"],color:["transparent"],cursor:["all-scroll","auto","col-resize","crosshair","default","e-resize","help","move","n-resize","ne-resize","no-drop","not-allowed","nw-resize","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","vertical-text","w-resize","wait"],display:["block","inline","inline-block","inline-table","list-item","none","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group"],float:["left","none","right"],left:["auto"],font:["caption","icon","menu","message-box","small-caption","status-bar","unset"],"font-size":["large","larger","medium","small","smaller","x-large","x-small","xx-large","xx-small"],"font-stretch":["condensed","expanded","extra-condensed","extra-expanded","normal","semi-condensed","semi-expanded","ultra-condensed","ultra-expanded"],"font-style":["italic","normal","oblique"],"font-variant":["normal","small-caps"],"font-weight":["100","200","300","400","500","600","700","800","900","bold","bolder","lighter","normal"],"line-height":["normal"],"list-style-position":["inside","outside"],"list-style-type":["armenian","circle","decimal","decimal-leading-zero","disc","decimal|disc","georgian","lower-alpha","lower-greek","lower-latin","lower-roman","none","square","upper-alpha","upper-latin","upper-roman"],overflow:["auto","hidden","scroll","visible"],position:["absolute","fixed","relative","static"],right:["auto"],"text-align":["center","justify","left","left|right","right"],"text-decoration":["line-through","none","overline","underline"],"text-overflow":["clip","ellipsis"],top:["auto"],"vertical-align":["baseline","bottom","middle","sub","super","text-bottom","text-top","top"],visibility:["collapse","hidden","visible"],"white-space":["normal","nowrap","pre"],width:["inherit","initial","medium","thick","thin"]},N=["%","ch","cm","em","ex","in","mm","pc","pt","px","rem","vh","vm","vmax","vmin","vw"];t.exports=E},{}],59:[function(e,t,n){function r(e,t,n){var r,i,a,u=[];for(a=e.length-1;a>=0;a--)(i=e[a])[0]==m.PROPERTY&&(!t&&o(i)||n&&n.indexOf(i[1][1])>-1||((r=p(i)).all=e,r.position=a,u.unshift(r)));return u}function o(e){var t,n,r;for(t=2,n=e.length;t<n;t++)if((r=e[t])[0]==m.PROPERTY_VALUE&&i(r[1]))return!0;return!1}function i(e){return g.VARIABLE_REFERENCE_PATTERN.test(e)}function a(e){var t,n,r;for(n=3,r=e.length;n<r;n++)if((t=e[n])[0]==m.PROPERTY_VALUE&&(t[1]==d.COMMA||t[1]==d.FORWARD_SLASH))return!0;return!1}function u(e){var t=!1,n=e[1][1],r=e[e.length-1];return n[0]==g.UNDERSCORE?t=[h.UNDERSCORE]:n[0]==g.ASTERISK?t=[h.ASTERISK]:r[1][0]!=g.BANG||r[1].match(g.IMPORTANT_WORD_PATTERN)?r[1].indexOf(g.BANG)>0&&!r[1].match(g.IMPORTANT_WORD_PATTERN)&&g.BANG_SUFFIX_PATTERN.test(r[1])?t=[h.BANG]:r[1].indexOf(g.BACKSLASH)>0&&r[1].indexOf(g.BACKSLASH)==r[1].length-g.BACKSLASH.length-1?t=[h.BACKSLASH,r[1].substring(r[1].indexOf(g.BACKSLASH)+1)]:0===r[1].indexOf(g.BACKSLASH)&&2==r[1].length&&(t=[h.BACKSLASH,r[1].substring(1)]):t=[h.BANG],t}function s(e){if(e.length<3)return!1;var t=e[e.length-1];return!!g.IMPORTANT_TOKEN_PATTERN.test(t[1])||!(!g.IMPORTANT_WORD_PATTERN.test(t[1])||!g.SUFFIX_BANG_PATTERN.test(e[e.length-2][1]))}function l(e){var t=e[e.length-1],n=e[e.length-2];g.IMPORTANT_TOKEN_PATTERN.test(t[1])?t[1]=t[1].replace(g.IMPORTANT_TOKEN_PATTERN,""):(t[1]=t[1].replace(g.IMPORTANT_WORD_PATTERN,""),n[1]=n[1].replace(g.SUFFIX_BANG_PATTERN,"")),0===t[1].length&&e.pop(),0===n[1].length&&e.pop()}function c(e){e[1][1]=e[1][1].substring(1)}function f(e,t){var n=e[e.length-1];n[1]=n[1].substring(0,n[1].indexOf(t[0]==h.BACKSLASH?g.BACKSLASH:g.BANG)).trim(),0===n[1].length&&e.pop()}function p(e){var t=s(e);t&&l(e);var n=u(e);return n[0]==h.ASTERISK||n[0]==h.UNDERSCORE?c(e):n[0]!=h.BACKSLASH&&n[0]!=h.BANG||f(e,n),{block:e[2]&&e[2][0]==m.PROPERTY_BLOCK,components:[],dirty:!1,hack:n,important:t,name:e[1][1],multiplex:e.length>3&&a(e),position:0,shorthand:!1,unused:!1,value:e.slice(2)}}var h=e("./hack"),d=e("../tokenizer/marker"),m=e("../tokenizer/token"),g={ASTERISK:"*",BACKSLASH:"\\",BANG:"!",BANG_SUFFIX_PATTERN:/!\w+$/,IMPORTANT_TOKEN:"!important",IMPORTANT_TOKEN_PATTERN:new RegExp("!important$","i"),IMPORTANT_WORD:"important",IMPORTANT_WORD_PATTERN:new RegExp("important$","i"),SUFFIX_BANG_PATTERN:/!$/,UNDERSCORE:"_",VARIABLE_REFERENCE_PATTERN:/var\(--.+\)$/};t.exports={all:r,single:p}},{"../tokenizer/marker":84,"../tokenizer/token":85,"./hack":9}],60:[function(e,t,n){function r(e){return o(a["*"],i(e))}function o(e,t){for(var n in e){var r=e[n];"object"!=typeof r||Array.isArray(r)?t[n]=n in t?t[n]:r:t[n]=o(r,t[n]||{})}return t}function i(e){if("object"==typeof e)return e;if(!/[,\+\-]/.test(e))return a[e]||a["*"];var t=e.split(","),n=t[0]in a?a[t.shift()]:a["*"];return e={},t.forEach(function(t){var n="+"==t[0],r=t.substring(1).split("."),o=r[0],i=r[1];e[o]=e[o]||{},e[o][i]=n}),o(n,e)}var a={"*":{colors:{opacity:!0},properties:{backgroundClipMerging:!0,backgroundOriginMerging:!0,backgroundSizeMerging:!0,colors:!0,ieBangHack:!1,ieFilters:!1,iePrefixHack:!1,ieSuffixHack:!1,merging:!0,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!1,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!1,mergeablePseudoClasses:[":active",":after",":before",":empty",":checked",":disabled",":empty",":enabled",":first-child",":first-letter",":first-line",":first-of-type",":focus",":hover",":lang",":last-child",":last-of-type",":link",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type",":only-child",":only-of-type",":root",":target",":visited"],mergeablePseudoElements:["::after","::before","::first-letter","::first-line"],mergeLimit:8191,multiplePseudoMerging:!0},units:{ch:!0,in:!0,pc:!0,pt:!0,rem:!0,vh:!0,vm:!0,vmax:!0,vmin:!0,vw:!0}}};a.ie11=a["*"],a.ie10=a["*"],a.ie9=o(a["*"],{properties:{ieFilters:!0,ieSuffixHack:!0}}),a.ie8=o(a.ie9,{colors:{opacity:!1},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,iePrefixHack:!0,merging:!1},selectors:{mergeablePseudoClasses:[":after",":before",":first-child",":first-letter",":focus",":hover",":visited"],mergeablePseudoElements:[]},units:{ch:!1,rem:!1,vh:!1,vm:!1,vmax:!1,vmin:!1,vw:!1}}),a.ie7=o(a.ie8,{properties:{ieBangHack:!0},selectors:{ie7Hack:!0,mergeablePseudoClasses:[":first-child",":first-letter",":hover",":visited"]}}),t.exports=r},{}],61:[function(e,t,n){function r(e){return e||o}var o=e("../reader/load-remote-resource");t.exports=r},{"../reader/load-remote-resource":75}],62:[function(e,t,n){function r(e){var t={};return t[f.AfterAtRule]=e,t[f.AfterBlockBegins]=e,t[f.AfterBlockEnds]=e,t[f.AfterComment]=e,t[f.AfterProperty]=e,t[f.AfterRuleBegins]=e,t[f.AfterRuleEnds]=e,t[f.BeforeBlockEnds]=e,t[f.BetweenSelectors]=e,t}function o(e){var t={};return t[h.AroundSelectorRelation]=e,t[h.BeforeBlockBegins]=e,t[h.BeforeValue]=e,t}function i(e){return void 0!==e&&!1!==e&&("object"==typeof e&&"indentBy"in e&&(e=c(e,{indentBy:parseInt(e.indentBy)})),"object"==typeof e&&"indentWith"in e&&(e=c(e,{indentWith:l(e.indentWith)})),"object"==typeof e?c(d,e):"object"==typeof e?c(d,e):"string"==typeof e&&e==m?c(d,{breaks:r(!0),indentBy:2,spaces:o(!0)}):"string"==typeof e&&e==g?c(d,{breaks:{afterAtRule:!0,afterBlockBegins:!0,afterBlockEnds:!0,afterComment:!0,afterRuleEnds:!0,beforeBlockEnds:!0}}):"string"==typeof e?c(d,a(e)):d)}function a(e){return e.split(v).reduce(function(e,t){var n=t.split(b),r=n[0],o=n[1];return"breaks"==r||"spaces"==r?e[r]=u(o):"indentBy"==r||"wrapAt"==r?e[r]=parseInt(o):"indentWith"==r&&(e[r]=l(o)),e},{})}function u(e){return e.split(y).reduce(function(e,t){var n=t.split(_),r=n[0],o=n[1];return e[r]=s(o),e},{})}function s(e){switch(e){case w:case A:return!1;case E:case x:return!0;default:return e}}function l(e){switch(e){case"space":return p.Space;case"tab":return p.Tab;default:return e}}var c=e("../utils/override"),f={AfterAtRule:"afterAtRule",AfterBlockBegins:"afterBlockBegins",AfterBlockEnds:"afterBlockEnds",AfterComment:"afterComment",AfterProperty:"afterProperty",AfterRuleBegins:"afterRuleBegins",AfterRuleEnds:"afterRuleEnds",BeforeBlockEnds:"beforeBlockEnds",BetweenSelectors:"betweenSelectors"},p={Space:" ",Tab:"\t"},h={AroundSelectorRelation:"aroundSelectorRelation",BeforeBlockBegins:"beforeBlockBegins",BeforeValue:"beforeValue"},d={breaks:r(!1),indentBy:0,indentWith:p.Space,spaces:o(!1),wrapAt:!1},m="beautify",g="keep-breaks",v=";",b=":",y=",",_="=",w="false",A="off",E="true",x="on";t.exports={Breaks:f,Spaces:h,formatFrom:i}},{"../utils/override":96}],63:[function(e,t,n){(function(n){function r(e){return a(o(n.env.HTTP_PROXY||n.env.http_proxy),e||{})}function o(e){return e?{hostname:i.parse(e).hostname,port:parseInt(i.parse(e).port)}:{}}var i=e("url"),a=e("../utils/override");t.exports=r}).call(this,e("_process"))},{"../utils/override":96,_process:114,url:161}],64:[function(e,t,n){function r(e){return e||o}var o=5e3;t.exports=r},{}],65:[function(e,t,n){function r(e){return Array.isArray(e)?e:!1===e?["none"]:void 0===e?["local"]:e.split(",")}t.exports=r},{}],66:[function(e,t,n){function r(){}function o(e){var t=c(p,{}),n=f.Zero,r=f.One,o=f.Two;return void 0===e?(delete t[o],t):("string"==typeof e&&(e=parseInt(e)),"number"==typeof e&&e===parseInt(o)?t:"number"==typeof e&&e===parseInt(r)?(delete t[o],t):"number"==typeof e&&e===parseInt(n)?(delete t[o],delete t[r],t):("object"==typeof e&&(e=u(e)),r in e&&"roundingPrecision"in e[r]&&(e[r].roundingPrecision=l(e[r].roundingPrecision)),o in e&&"skipProperties"in e[o]&&"string"==typeof e[o].skipProperties&&(e[o].skipProperties=e[o].skipProperties.split(y)),(n in e||r in e||o in e)&&(t[n]=c(t[n],e[n])),r in e&&h in e[r]&&(t[r]=c(t[r],i(r,a(e[r][h]))),delete e[r][h]),r in e&&d in e[r]&&(t[r]=c(t[r],i(r,a(e[r][d]))),delete e[r][d]),r in e||o in e?t[r]=c(t[r],e[r]):delete t[r],o in e&&h in e[o]&&(t[o]=c(t[o],i(o,a(e[o][h]))),delete e[o][h]),o in e&&d in e[o]&&(t[o]=c(t[o],i(o,a(e[o][d]))),delete e[o][d]),o in e?t[o]=c(t[o],e[o]):delete t[o],t))}function i(e,t){var n,r=c(p[e],{});for(n in r)"boolean"==typeof r[n]&&(r[n]=t);return r}function a(e){switch(e){case m:case g:return!1;case v:case b:return!0;default:return e}}function u(e){var t,n,r=c(e,{});for(n=0;n<=2;n++)(t=""+n)in r&&(void 0===r[t]||!1===r[t])&&delete r[t],t in r&&!0===r[t]&&(r[t]={}),t in r&&"string"==typeof r[t]&&(r[t]=s(r[t],t));return r}function s(e,t){return e.split(_).reduce(function(e,n){var r=n.split(w),o=r[0],u=a(r[1]);return h==o||d==o?e=c(e,i(t,u)):e[o]=u,e},{})}var l=e("./rounding-precision").roundingPrecisionFrom,c=e("../utils/override"),f={Zero:"0",One:"1",Two:"2"},p={};p[f.Zero]={},p[f.One]={cleanupCharsets:!0,normalizeUrls:!0,optimizeBackground:!0,optimizeBorderRadius:!0,optimizeFilter:!0,optimizeFontWeight:!0,optimizeOutline:!0,removeEmpty:!0,removeNegativePaddings:!0,removeQuotes:!0,removeWhitespace:!0,replaceMultipleZeros:!0,replaceTimeUnits:!0,replaceZeroUnits:!0,roundingPrecision:l(void 0),selectorsSortingMethod:"standard",specialComments:"all",tidyAtRules:!0,tidyBlockScopes:!0,tidySelectors:!0,transform:r},p[f.Two]={mergeAdjacentRules:!0,mergeIntoShorthands:!0,mergeMedia:!0,mergeNonAdjacentRules:!0,mergeSemantically:!1,overrideProperties:!0,removeEmpty:!0,reduceNonAdjacentRules:!0,removeDuplicateFontRules:!0,removeDuplicateMediaBlocks:!0,removeDuplicateRules:!0,removeUnusedAtRules:!1,restructureRules:!1,skipProperties:[]};var h="*",d="all",m="false",g="off",v="true",b="on",y=",",_=";",w=":";t.exports={OptimizationLevel:f,optimizationLevelFrom:o}},{"../utils/override":96,"./rounding-precision":69}],67:[function(e,t,n){(function(n){function r(e){return e?o.resolve(e):n.cwd()}var o=e("path");t.exports=r}).call(this,e("_process"))},{_process:114,path:112}],68:[function(e,t,n){function r(e){return void 0===e||!!e}t.exports=r},{}],69:[function(e,t,n){function r(e){return a(o(l),i(e))}function o(e){return{ch:e,cm:e,em:e,ex:e,in:e,mm:e,pc:e,pt:e,px:e,q:e,rem:e,vh:e,vmax:e,vmin:e,vw:e,"%":e}}function i(e){return null===e||void 0===e?{}:"boolean"==typeof e?{}:"number"==typeof e&&-1==e?o(l):"number"==typeof e?o(e):"string"==typeof e&&u.test(e)?o(parseInt(e)):"string"==typeof e&&e==l?o(l):"object"==typeof e?e:e.split(c).reduce(function(e,t){var n=t.split(f),r=n[0],i=parseInt(n[1]);return(isNaN(i)||-1==i)&&(i=l),s.indexOf(r)>-1?e=a(e,o(i)):e[r]=i,e},{})}var a=e("../utils/override"),u=/^\d+$/,s=["*","all"],l="off",c=",",f="=";t.exports={DEFAULT:l,roundingPrecisionFrom:r}},{"../utils/override":96}],70:[function(e,t,n){(function(n,r){function o(e,t,n){var r={callback:n,fetch:t.options.fetch,index:0,inline:t.options.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,inputSourceMapTracker:t.inputSourceMapTracker,localOnly:t.localOnly,processedTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings};return t.options.sourceMap&&e.length>0?i(r):n(e)}function i(e){var t,n,r,o=[],i=a(e.sourceTokens[0]);for(r=e.sourceTokens.length;e.index<r;e.index++)if(n=e.sourceTokens[e.index],(t=a(n))!=i&&(o=[],i=t),o.push(n),e.processedTokens.push(n),n[0]==_.COMMENT&&x.test(n[1]))return u(n[1],t,o,e);return e.callback(e.processedTokens)}function a(e){return(e[0]==_.AT_RULE||e[0]==_.COMMENT?e[2][0]:e[1][0][2][0])[2]}function u(e,t,n,r){return s(e,r,function(e){return e&&(r.inputSourceMapTracker.track(t,e),p(n,r.inputSourceMapTracker)),r.index++,i(r)})}function s(e,t,n){var r,o,i,a=x.exec(e)[1];return A(a)?(o=l(a),n(o)):E(a)?c(a,t,function(e){var t;e?(t=JSON.parse(e),i=y(t,a),n(i)):n(null)}):(r=m.resolve(t.rebaseTo,a),o=f(r,t),o?(i=b(o,r,t.rebaseTo),n(i)):n(null))}function l(e){var t=v(e),o=t[2]?t[2].split(/[=;]/)[2]:"us-ascii",i=t[3]?t[3].split(";")[1]:"utf8",a="utf8"==i?n.unescape(t[4]):t[4],u=new r(a,i);return u.charset=o,JSON.parse(u.toString())}function c(e,t,n){var r=g(e,!0,t.inline),o=!w(e);return t.localOnly?(t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),n(null)):o?(t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),n(null)):r?void t.fetch(e,t.inlineRequest,t.inlineTimeout,function(r,o){if(r)return t.warnings.push('Missing source map at "'+e+'" - '+r),n(null);n(o)}):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),n(null))}function f(e,t){var n,r=g(e,!1,t.inline);return d.existsSync(e)&&d.statSync(e).isFile()?r?(n=d.readFileSync(e,"utf-8"),JSON.parse(n)):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),null):(t.warnings.push('Ignoring local source map at "'+e+'" as resource is missing.'),null)}function p(e,t){var n,r,o;for(r=0,o=e.length;r<o;r++)switch((n=e[r])[0]){case _.AT_RULE:h(n,t);break;case _.AT_RULE_BLOCK:p(n[1],t),p(n[2],t);break;case _.AT_RULE_BLOCK_SCOPE:h(n,t);break;case _.NESTED_BLOCK:p(n[1],t),p(n[2],t);break;case _.NESTED_BLOCK_SCOPE:case _.COMMENT:h(n,t);break;case _.PROPERTY:p(n,t);break;case _.PROPERTY_BLOCK:p(n[1],t);break;case _.PROPERTY_NAME:case _.PROPERTY_VALUE:h(n,t);break;case _.RULE:p(n[1],t),p(n[2],t);break;case _.RULE_SCOPE:h(n,t)}return e}function h(e,t){var n,r,o=e[1],i=e[2],a=[];for(n=0,r=i.length;n<r;n++)a.push(t.originalPositionFor(i[n],o.length));e[2]=a}var d=e("fs"),m=e("path"),g=e("./is-allowed-resource"),v=e("./match-data-uri"),b=e("./rebase-local-map"),y=e("./rebase-remote-map"),_=e("../tokenizer/token"),w=e("../utils/has-protocol"),A=e("../utils/is-data-uri-resource"),E=e("../utils/is-remote-resource"),x=/^\/\*# sourceMappingURL=(\S+) \*\/$/;t.exports=o}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"../tokenizer/token":85,"../utils/has-protocol":89,"../utils/is-data-uri-resource":90,"../utils/is-remote-resource":94,"./is-allowed-resource":73,"./match-data-uri":76,"./rebase-local-map":79,"./rebase-remote-map":80,buffer:5,fs:3,path:112}],71:[function(e,t,n){function r(e){var t,n,r,p;return r=e.replace(u,"").trim().replace(c,"(").replace(f,")").replace(s,"").replace(l,""),p=o(r," "),t=p[0].replace(i,"").replace(a,""),n=p.slice(1).join(" "),[t,n]}var o=e("../utils/split"),i=/^\(/,a=/\)$/,u=/^@import/i,s=/['"]\s*/,l=/\s*['"]/,c=/^url\(\s*/i,f=/\s*\)/i;t.exports=r},{"../utils/split":97}],72:[function(e,t,n){function r(){var e={};return{all:o.bind(null,e),isTracking:i.bind(null,e),originalPositionFor:a.bind(null,e),track:s.bind(null,e)}}function o(e){return e}function i(e,t){return t in e}function a(e,t,n,r){for(var o,i=t[0],s=t[1],l=t[2],c={line:i,column:s+n};!o&&c.column>s;)c.column--,o=e[l].originalPositionFor(c);return null===o.line&&i>1&&r>0?a(e,[i-1,s,l],n,r-1):null!==o.line?u(o):t}function u(e){return[e.line,e.column,e.source]}function s(e,t,n){e[t]=new l(n)}var l=e("source-map").SourceMapConsumer;t.exports=r},{"source-map":155}],73:[function(e,t,n){function r(e,t,n){var u,c,f,p,h,d,m=!t;if(0===n.length)return!1;for(t&&!s(e)&&(e=l+e),u=t?a.parse(e).host:e,c=t?e:i.resolve(e),d=0;d<n.length;d++)p="!"==(f=n[d])[0],h=f.substring(1),m=p&&t&&o(h)?m&&!r(e,!0,[h]):!p||t||o(h)?p?m&&!0:"all"==f||(t&&"local"==f?m||!1:!(!t||"remote"!=f)||!(!t&&"remote"==f)&&(!t&&"local"==f||(f===u||(f===e||(!(!t||0!==c.indexOf(f))||(!t&&0===c.indexOf(i.resolve(f))||t!=o(h)&&(m&&!0))))))):m&&!r(e,!1,[h]);return m}function o(e){return u(e)||a.parse(l+"//"+e).host==e}var i=e("path"),a=e("url"),u=e("../utils/is-remote-resource"),s=e("../utils/has-protocol"),l="http:";t.exports=r},{"../utils/has-protocol":89,"../utils/is-remote-resource":94,path:112,url:161}],74:[function(e,t,n){function r(e,t){var n={callback:t,fetch:e.options.fetch,index:0,inline:e.options.inline,inlineRequest:e.options.inlineRequest,inlineTimeout:e.options.inlineTimeout,localOnly:e.localOnly,rebaseTo:e.options.rebaseTo,sourcesContent:e.sourcesContent,uriToSource:o(e.inputSourceMapTracker.all()),warnings:e.warnings};return e.options.sourceMap&&e.options.sourceMapInlineSources?i(n):t()}function o(e){var t,n,r,o,i,a={};for(r in e)for(o=0,i=(t=e[r]).sources.length;o<i;o++)n=t.sources[o],r=t.sourceContentFor(n,!0),a[n]=r;return a}function i(e){var t,n,r,o=Object.keys(e.uriToSource);for(r=o.length;e.index<r;e.index++){if(t=o[e.index],!(n=e.uriToSource[t]))return a(t,e);e.sourcesContent[t]=n}return e.callback()}function a(e,t){var n;return h(e)?u(e,t,function(n){return t.index++,t.sourcesContent[e]=n,i(t)}):(n=s(e,t),t.index++,t.sourcesContent[e]=n,i(t))}function u(e,t,n){var r=f(e,!0,t.inline),o=!p(e);return t.localOnly?(t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),n(null)):o?(t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),n(null)):r?void t.fetch(e,t.inlineRequest,t.inlineTimeout,function(r,o){r&&t.warnings.push('Missing original source at "'+e+'" - '+r),n(o)}):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),n(null))}function s(e,t){var n=f(e,!1,t.inline),r=c.resolve(t.rebaseTo,e);return l.existsSync(r)&&l.statSync(r).isFile()?n?l.readFileSync(r,"utf8"):(t.warnings.push('Cannot fetch "'+r+'" as resource is not allowed.'),null):(t.warnings.push('Ignoring local source map at "'+r+'" as resource is missing.'),null)}var l=e("fs"),c=e("path"),f=e("./is-allowed-resource"),p=e("../utils/has-protocol"),h=e("../utils/is-remote-resource");t.exports=r},{"../utils/has-protocol":89,"../utils/is-remote-resource":94,"./is-allowed-resource":73,fs:3,path:112}],75:[function(e,t,n){function r(e,t,n,f){var p,h=t.protocol||t.hostname,d=!1;p=l(a.parse(e),t||{}),void 0!==t.hostname&&(p.protocol=t.protocol||c,p.path=p.href),(h&&!s(h)||u(e)?o.get:i.get)(p,function(o){var i,u=[];if(!d){if(o.statusCode<200||o.statusCode>399)return f(o.statusCode,null);if(o.statusCode>299)return i=a.resolve(e,o.headers.location),r(i,t,n,f);o.on("data",function(e){u.push(e.toString())}),o.on("end",function(){var e=u.join("");f(null,e)})}}).on("error",function(e){d||(d=!0,f(e.message,null))}).on("timeout",function(){d||(d=!0,f("timeout",null))}).setTimeout(n)}var o=e("http"),i=e("https"),a=e("url"),u=e("../utils/is-http-resource"),s=e("../utils/is-https-resource"),l=e("../utils/override"),c="http:";t.exports=r},{"../utils/is-http-resource":91,"../utils/is-https-resource":92,"../utils/override":96,http:156,https:105,url:161}],76:[function(e,t,n){function r(e){return o.exec(e)}var o=/^data:(\S*?)?(;charset=[^;]+)?(;[^,]+?)?,(.+)/;t.exports=r},{}],77:[function(e,t,n){function r(e){return e.replace(i,o)}var o="/",i=/\\/g;t.exports=r},{}],78:[function(e,t,n){(function(n,r){function o(e,t,n){return i(e,t,function(e){return x(e,t,function(){return O(t,function(){return n(e)})})})}function i(e,t,r){return"string"==typeof e?a(e,t,r):n.isBuffer(e)?a(e.toString(),t,r):Array.isArray(e)?u(e,t,r):"object"==typeof e?s(e,t,r):void 0}function a(e,t,n){return t.source=void 0,t.sourcesContent[void 0]=e,t.stats.originalSize+=e.length,d(e,t,{inline:t.options.inline},n)}function u(e,t,n){return d(e.reduce(function(e,n){return"string"==typeof n?l(n,e):c(n,t,e)},[]).join(""),t,{inline:["all"]},n)}function s(e,t,n){return d(c(e,t,[]).join(""),t,{inline:["all"]},n)}function l(e,t){return t.push(h(f(e))),t}function c(e,t,n){var r,o,i;for(r in e)i=e[r],o=f(r),n.push(h(o)),t.sourcesContent[o]=i.styles,i.sourceMap&&p(i.sourceMap,o,t);return n}function f(e){var t,n,r=E.resolve("");return N(e)?e:(t=E.isAbsolute(e)?e:E.resolve(e),n=E.relative(r,t),B(n))}function p(e,t,n){var r="string"==typeof e?JSON.parse(e):e,o=N(t)?T(r,t):D(r,t||q,n.options.rebaseTo);n.inputSourceMapTracker.track(t,o)}function h(e){return R("url("+e+")","")+M.SEMICOLON}function d(e,t,n,r){var o,i={};return t.source?N(t.source)?(i.fromBase=t.source,i.toBase=t.source):E.isAbsolute(t.source)?(i.fromBase=E.dirname(t.source),i.toBase=t.options.rebaseTo):(i.fromBase=E.dirname(E.resolve(t.source)),i.toBase=t.options.rebaseTo):(i.fromBase=E.resolve(""),i.toBase=t.options.rebaseTo),o=F(e,t),o=S(o,t.options.rebase,t.validator,i),m(n.inline)?g(o,t,n,r):r(o)}function m(e){return!(1==e.length&&"none"==e[0])}function g(e,t,n,r){return v({afterContent:!1,callback:r,errors:t.errors,externalContext:t,fetch:t.options.fetch,inlinedStylesheets:n.inlinedStylesheets||t.inlinedStylesheets,inline:n.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,isRemote:n.isRemote||!1,localOnly:t.localOnly,outputTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings})}function v(e){var t,n,r;for(n=0,r=e.sourceTokens.length;n<r;n++){if((t=e.sourceTokens[n])[0]==L.AT_RULE&&U(t[1]))return e.sourceTokens.splice(0,n),b(t,e);t[0]==L.AT_RULE||t[0]==L.COMMENT?e.outputTokens.push(t):(e.outputTokens.push(t),e.afterContent=!0)}return e.sourceTokens=[],e.callback(e.outputTokens)}function b(e,t){var n=C(e[1]),r=n[0],o=n[1],i=e[2];return N(r)?y(r,o,i,t):_(r,o,i,t)}function y(e,t,n,o){function i(i,a){return i?(o.errors.push('Broken @import declaration of "'+e+'" - '+i),r.nextTick(function(){o.outputTokens=o.outputTokens.concat(o.sourceTokens.slice(0,1)),o.sourceTokens=o.sourceTokens.slice(1),v(o)})):(o.inline=o.externalContext.options.inline,o.isRemote=!0,o.externalContext.source=u,o.externalContext.sourcesContent[e]=a,o.externalContext.stats.originalSize+=a.length,d(a,o.externalContext,o,function(e){return e=w(e,t,n),o.outputTokens=o.outputTokens.concat(e),o.sourceTokens=o.sourceTokens.slice(1),v(o)}))}var a=k(e,!0,o.inline),u=e,s=e in o.externalContext.sourcesContent,l=!P(e);return o.inlinedStylesheets.indexOf(e)>-1?(o.warnings.push('Ignoring remote @import of "'+e+'" as it has already been imported.'),o.sourceTokens=o.sourceTokens.slice(1),v(o)):o.localOnly&&o.afterContent?(o.warnings.push('Ignoring remote @import of "'+e+'" as no callback given and after other content.'),o.sourceTokens=o.sourceTokens.slice(1),v(o)):l?(o.warnings.push('Skipping remote @import of "'+e+'" as no protocol given.'),o.outputTokens=o.outputTokens.concat(o.sourceTokens.slice(0,1)),o.sourceTokens=o.sourceTokens.slice(1),v(o)):o.localOnly&&!s?(o.warnings.push('Skipping remote @import of "'+e+'" as no callback given.'),o.outputTokens=o.outputTokens.concat(o.sourceTokens.slice(0,1)),o.sourceTokens=o.sourceTokens.slice(1),v(o)):!a&&o.afterContent?(o.warnings.push('Ignoring remote @import of "'+e+'" as resource is not allowed and after other content.'),o.sourceTokens=o.sourceTokens.slice(1),v(o)):a?(o.inlinedStylesheets.push(e),s?i(null,o.externalContext.sourcesContent[e]):o.fetch(e,o.inlineRequest,o.inlineTimeout,i)):(o.warnings.push('Skipping remote @import of "'+e+'" as resource is not allowed.'),o.outputTokens=o.outputTokens.concat(o.sourceTokens.slice(0,1)),o.sourceTokens=o.sourceTokens.slice(1),v(o))}function _(e,t,n,r){var o,i,a=E.resolve(""),u=E.isAbsolute(e)?E.resolve(a,"/"==e[0]?e.substring(1):e):E.resolve(r.rebaseTo,e),s=E.relative(a,u),l=k(e,!1,r.inline),c=B(s),f=c in r.externalContext.sourcesContent;return r.inlinedStylesheets.indexOf(u)>-1?r.warnings.push('Ignoring local @import of "'+e+'" as it has already been imported.'):f||A.existsSync(u)&&A.statSync(u).isFile()?!l&&r.afterContent?r.warnings.push('Ignoring local @import of "'+e+'" as resource is not allowed and after other content.'):r.afterContent?r.warnings.push('Ignoring local @import of "'+e+'" as after other content.'):l?(o=f?r.externalContext.sourcesContent[c]:A.readFileSync(u,"utf-8"),r.inlinedStylesheets.push(u),r.inline=r.externalContext.options.inline,r.externalContext.source=c,r.externalContext.sourcesContent[c]=o,r.externalContext.stats.originalSize+=o.length,i=w(i=d(o,r.externalContext,r,function(e){return e}),t,n),r.outputTokens=r.outputTokens.concat(i)):(r.warnings.push('Skipping local @import of "'+e+'" as resource is not allowed.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1))):r.errors.push('Ignoring local @import of "'+e+'" as resource is missing.'),r.sourceTokens=r.sourceTokens.slice(1),v(r)}function w(e,t,n){return t?[[L.NESTED_BLOCK,[[L.NESTED_BLOCK_SCOPE,"@media "+t,n]],e]]:e}var A=e("fs"),E=e("path"),x=e("./apply-source-maps"),C=e("./extract-import-url-and-media"),k=e("./is-allowed-resource"),O=e("./load-original-sources"),B=e("./normalize-path"),S=e("./rebase"),D=e("./rebase-local-map"),T=e("./rebase-remote-map"),R=e("./restore-import"),F=e("../tokenizer/tokenize"),L=e("../tokenizer/token"),M=e("../tokenizer/marker"),P=e("../utils/has-protocol"),U=e("../utils/is-import"),N=e("../utils/is-remote-resource"),q="uri:unknown";t.exports=o}).call(this,{isBuffer:e("../../../is-buffer/index.js")},e("_process"))},{"../../../is-buffer/index.js":108,"../tokenizer/marker":84,"../tokenizer/token":85,"../tokenizer/tokenize":86,"../utils/has-protocol":89,"../utils/is-import":93,"../utils/is-remote-resource":94,"./apply-source-maps":70,"./extract-import-url-and-media":71,"./is-allowed-resource":73,"./load-original-sources":74,"./normalize-path":77,"./rebase":81,"./rebase-local-map":79,"./rebase-remote-map":80,"./restore-import":82,_process:114,fs:3,path:112}],79:[function(e,t,n){function r(e,t,n){var r=o.resolve(""),i=o.resolve(r,t),a=o.dirname(i);return e.sources=e.sources.map(function(e){return o.relative(n,o.resolve(a,e))}),e}var o=e("path");t.exports=r},{path:112}],80:[function(e,t,n){function r(e,t){var n=o.dirname(t);return e.sources=e.sources.map(function(e){return i.resolve(n,e)}),e}var o=e("path"),i=e("url");t.exports=r},{path:112,url:161}],81:[function(e,t,n){function r(e,t,n,r){return t?o(e,n,r):i(e,n,r)}function o(e,t,n){var r,i,l;for(i=0,l=e.length;i<l;i++)switch((r=e[i])[0]){case p.AT_RULE:a(r,t,n);break;case p.AT_RULE_BLOCK:s(r[2],t,n);break;case p.COMMENT:u(r,n);break;case p.NESTED_BLOCK:o(r[2],t,n);break;case p.RULE:s(r[2],t,n)}return e}function i(e,t,n){var r,o,i;for(o=0,i=e.length;o<i;o++)switch((r=e[o])[0]){case p.AT_RULE:a(r,t,n)}return e}function a(e,t,n){if(h(e[1])){var r=l(e[1]),o=f(r[0],n),i=r[1];e[1]=c(o,i)}}function u(e,t){var n=d.exec(e[1]);n&&-1===n[1].indexOf("data:")&&(e[1]=e[1].replace(n[1],f(n[1],t,!0)))}function s(e,t,n){var r,o,i,a,u,s;for(i=0,a=e.length;i<a;i++)for(u=2,s=(r=e[i]).length;u<s;u++)o=r[u][1],t.isUrl(o)&&(r[u][1]=f(o,n))}var l=e("./extract-import-url-and-media"),c=e("./restore-import"),f=e("./rewrite-url"),p=e("../tokenizer/token"),h=e("../utils/is-import"),d=/^\/\*# sourceMappingURL=(\S+) \*\/$/;t.exports=r},{"../tokenizer/token":85,"../utils/is-import":93,"./extract-import-url-and-media":71,"./restore-import":82,"./rewrite-url":83}],82:[function(e,t,n){function r(e,t){return("@import "+e+" "+t).trim()}t.exports=r},{}],83:[function(e,t,n){(function(n){function r(e,t){return t?o(e)&&!u(t.toBase)?e:u(e)||i(e)||a(e)?e:s(e)?"'"+e+"'":u(t.toBase)?v.resolve(t.toBase,e):f(t.absolute?l(e,t):c(e,t)):e}function o(e){return g.isAbsolute(e)}function i(e){return"#"==e[0]}function a(e){return/^\w+:\w+/.test(e)}function u(e){return/^[^:]+?:\/\//.test(e)||0===e.indexOf("//")}function s(e){return 0===e.indexOf("data:")}function l(e,t){return g.resolve(g.join(t.fromBase||"",e)).replace(t.toBase,"")}function c(e,t){return g.relative(t.toBase,g.join(t.fromBase||"",e))}function f(e){return B?e.replace(/\\/g,"/"):e}function p(e){return e.indexOf(y)>-1?b:e.indexOf(b)>-1?y:h(e)||d(e)?y:""}function h(e){return O.test(e)}function d(e){return x.test(e)}function m(e,t,n){var o=e.replace(C,"").replace(k,"").trim(),i=o.replace(A,"").replace(E,"").trim(),a=o[0]==y||o[0]==b?o[0]:p(i);return n?r(i,t):_+a+r(i,t)+a+w}var g=e("path"),v=e("url"),b='"',y="'",_="url(",w=")",A=/^["']/,E=/["']$/,x=/[\(\)]/,C=/^url\(/i,k=/\)$/,O=/\s/,B="win32"==n.platform;t.exports=m}).call(this,e("_process"))},{_process:114,path:112,url:161}],84:[function(e,t,n){var r={ASTERISK:"*",AT:"@",BACK_SLASH:"\\",CLOSE_CURLY_BRACKET:"}",CLOSE_ROUND_BRACKET:")",CLOSE_SQUARE_BRACKET:"]",COLON:":",COMMA:",",DOUBLE_QUOTE:'"',EXCLAMATION:"!",FORWARD_SLASH:"/",INTERNAL:"-clean-css-",NEW_LINE_NIX:"\n",NEW_LINE_WIN:"\r",OPEN_CURLY_BRACKET:"{",OPEN_ROUND_BRACKET:"(",OPEN_SQUARE_BRACKET:"[",SEMICOLON:";",SINGLE_QUOTE:"'",SPACE:" ",TAB:"\t",UNDERSCORE:"_"};t.exports=r},{}],85:[function(e,t,n){var r={AT_RULE:"at-rule",AT_RULE_BLOCK:"at-rule-block",AT_RULE_BLOCK_SCOPE:"at-rule-block-scope",COMMENT:"comment",NESTED_BLOCK:"nested-block",NESTED_BLOCK_SCOPE:"nested-block-scope",PROPERTY:"property",PROPERTY_BLOCK:"property-block",PROPERTY_NAME:"property-name",PROPERTY_VALUE:"property-value",RULE:"rule",RULE_SCOPE:"rule-scope"};t.exports=r},{}],86:[function(e,t,n){function r(e,t){return o(e,t,{level:f.BLOCK,position:{source:t.source||void 0,line:1,column:0,index:0}},!1)}function o(e,t,n,r){for(var p,h,d,g,v,b,y,_,w,A,E,x,C=[],k=C,O=[],B=[],S=n.level,D=[],T=[],R=[],F=0,L=!1,M=!1,P=!1,U=!1,N=n.position;N.index<e.length;N.index++){var q=e[N.index];if(b=S==f.SINGLE_QUOTE||S==f.DOUBLE_QUOTE,y=q==s.SPACE||q==s.TAB,_=q==s.NEW_LINE_NIX,w=q==s.NEW_LINE_NIX&&e[N.index-1]==s.NEW_LINE_WIN,A=!M&&S!=f.COMMENT&&!b&&q==s.ASTERISK&&e[N.index-1]==s.FORWARD_SLASH,E=!L&&S==f.COMMENT&&q==s.FORWARD_SLASH&&e[N.index-1]==s.ASTERISK,g=0===T.length?[N.line,N.column,N.source]:g,x)T.push(q);else if(E||S!=f.COMMENT)if(A&&(S==f.BLOCK||S==f.RULE)&&T.length>1)B.push(g),T.push(q),R.push(T.slice(0,T.length-2)),T=T.slice(T.length-2),g=[N.line,N.column-1,N.source],D.push(S),S=f.COMMENT;else if(A)D.push(S),S=f.COMMENT,T.push(q);else if(E)v=T.join("").trim()+q,p=[l.COMMENT,v,[i(g,v,t)]],k.push(p),S=D.pop(),g=B.pop()||null,T=R.pop()||[];else if(q!=s.SINGLE_QUOTE||b)if(q==s.SINGLE_QUOTE&&S==f.SINGLE_QUOTE)S=D.pop(),T.push(q);else if(q!=s.DOUBLE_QUOTE||b)if(q==s.DOUBLE_QUOTE&&S==f.DOUBLE_QUOTE)S=D.pop(),T.push(q);else if(!A&&!E&&q!=s.CLOSE_ROUND_BRACKET&&q!=s.OPEN_ROUND_BRACKET&&S!=f.COMMENT&&!b&&F>0)T.push(q);else if(q!=s.OPEN_ROUND_BRACKET||b||S==f.COMMENT||P)if(q!=s.CLOSE_ROUND_BRACKET||b||S==f.COMMENT||P)if(q==s.SEMICOLON&&S==f.BLOCK&&T[0]==s.AT)v=T.join("").trim(),C.push([l.AT_RULE,v,[i(g,v,t)]]),T=[];else if(q==s.COMMA&&S==f.BLOCK&&h)v=T.join("").trim(),h[1].push([u(h[0]),v,[i(g,v,t,h[1].length)]]),T=[];else if(q==s.COMMA&&S==f.BLOCK&&a(T)==l.AT_RULE)T.push(q);else if(q==s.COMMA&&S==f.BLOCK)h=[a(T),[],[]],v=T.join("").trim(),h[1].push([u(h[0]),v,[i(g,v,t,0)]]),T=[];else if(q==s.OPEN_CURLY_BRACKET&&S==f.BLOCK&&h&&h[0]==l.NESTED_BLOCK)v=T.join("").trim(),h[1].push([l.NESTED_BLOCK_SCOPE,v,[i(g,v,t)]]),C.push(h),D.push(S),N.column++,N.index++,T=[],h[2]=o(e,t,n,!0),h=null;else if(q==s.OPEN_CURLY_BRACKET&&S==f.BLOCK&&a(T)==l.NESTED_BLOCK)v=T.join("").trim(),(h=h||[l.NESTED_BLOCK,[],[]])[1].push([l.NESTED_BLOCK_SCOPE,v,[i(g,v,t)]]),C.push(h),D.push(S),N.column++,N.index++,T=[],h[2]=o(e,t,n,!0),h=null;else if(q==s.OPEN_CURLY_BRACKET&&S==f.BLOCK)v=T.join("").trim(),(h=h||[a(T),[],[]])[1].push([u(h[0]),v,[i(g,v,t,h[1].length)]]),k=h[2],C.push(h),D.push(S),S=f.RULE,T=[];else if(q==s.OPEN_CURLY_BRACKET&&S==f.RULE&&P)O.push(h),h=[l.PROPERTY_BLOCK,[]],d.push(h),k=h[1],D.push(S),S=f.RULE,P=!1;else if(q!=s.COLON||S!=f.RULE||P)if(q==s.SEMICOLON&&S==f.RULE&&d&&O.length>0&&T.length>0&&T[0]==s.AT)v=T.join("").trim(),h[1].push([l.AT_RULE,v,[i(g,v,t)]]),T=[];else if(q==s.SEMICOLON&&S==f.RULE&&d&&T.length>0)v=T.join("").trim(),d.push([l.PROPERTY_VALUE,v,[i(g,v,t)]]),d=null,P=!1,T=[];else if(q==s.SEMICOLON&&S==f.RULE&&d&&0===T.length)d=null,P=!1;else if(q==s.SEMICOLON&&S==f.RULE&&T.length>0&&T[0]==s.AT)v=T.join(""),k.push([l.AT_RULE,v,[i(g,v,t)]]),P=!1,T=[];else if(q==s.SEMICOLON&&S==f.RULE&&U)U=!1,T=[];else if(q==s.SEMICOLON&&S==f.RULE&&0===T.length);else if(q==s.CLOSE_CURLY_BRACKET&&S==f.RULE&&d&&P&&T.length>0&&O.length>0)v=T.join(""),d.push([l.PROPERTY_VALUE,v,[i(g,v,t)]]),d=null,k=(h=O.pop())[2],S=D.pop(),P=!1,T=[];else if(q==s.CLOSE_CURLY_BRACKET&&S==f.RULE&&d&&T.length>0&&T[0]==s.AT&&O.length>0)v=T.join(""),h[1].push([l.AT_RULE,v,[i(g,v,t)]]),d=null,k=(h=O.pop())[2],S=D.pop(),P=!1,T=[];else if(q==s.CLOSE_CURLY_BRACKET&&S==f.RULE&&d&&O.length>0)d=null,k=(h=O.pop())[2],S=D.pop(),P=!1;else if(q==s.CLOSE_CURLY_BRACKET&&S==f.RULE&&d&&T.length>0)v=T.join(""),d.push([l.PROPERTY_VALUE,v,[i(g,v,t)]]),d=null,h=O.pop(),k=C,S=D.pop(),P=!1,T=[];else if(q==s.CLOSE_CURLY_BRACKET&&S==f.RULE&&T.length>0&&T[0]==s.AT)d=null,h=null,v=T.join("").trim(),k.push([l.AT_RULE,v,[i(g,v,t)]]),k=C,S=D.pop(),P=!1,T=[];else if(q==s.CLOSE_CURLY_BRACKET&&S==f.RULE&&D[D.length-1]==f.RULE)d=null,k=(h=O.pop())[2],S=D.pop(),P=!1,U=!0,T=[];else if(q==s.CLOSE_CURLY_BRACKET&&S==f.RULE)d=null,h=null,k=C,S=D.pop(),P=!1;else if(q==s.CLOSE_CURLY_BRACKET&&S==f.BLOCK&&!r&&N.index<=e.length-1)t.warnings.push("Unexpected '}' at "+c([N.line,N.column,N.source])+"."),T.push(q);else{if(q==s.CLOSE_CURLY_BRACKET&&S==f.BLOCK)break;q==s.OPEN_ROUND_BRACKET&&S==f.RULE&&P?(T.push(q),F++):q==s.CLOSE_ROUND_BRACKET&&S==f.RULE&&P&&1==F?(T.push(q),v=T.join("").trim(),d.push([l.PROPERTY_VALUE,v,[i(g,v,t)]]),F--,T=[]):q==s.CLOSE_ROUND_BRACKET&&S==f.RULE&&P?(T.push(q),F--):q==s.FORWARD_SLASH&&e[N.index+1]!=s.ASTERISK&&S==f.RULE&&P&&T.length>0?(v=T.join("").trim(),d.push([l.PROPERTY_VALUE,v,[i(g,v,t)]]),d.push([l.PROPERTY_VALUE,q,[[N.line,N.column,N.source]]]),T=[]):q==s.FORWARD_SLASH&&e[N.index+1]!=s.ASTERISK&&S==f.RULE&&P?(d.push([l.PROPERTY_VALUE,q,[[N.line,N.column,N.source]]]),T=[]):q==s.COMMA&&S==f.RULE&&P&&T.length>0?(v=T.join("").trim(),d.push([l.PROPERTY_VALUE,v,[i(g,v,t)]]),d.push([l.PROPERTY_VALUE,q,[[N.line,N.column,N.source]]]),T=[]):q==s.COMMA&&S==f.RULE&&P?(d.push([l.PROPERTY_VALUE,q,[[N.line,N.column,N.source]]]),T=[]):(y||_&&!w)&&S==f.RULE&&P&&d&&T.length>0?(v=T.join("").trim(),d.push([l.PROPERTY_VALUE,v,[i(g,v,t)]]),T=[]):w&&S==f.RULE&&P&&d&&T.length>1?(v=T.join("").trim(),d.push([l.PROPERTY_VALUE,v,[i(g,v,t)]]),T=[]):w&&S==f.RULE&&P?T=[]:1==T.length&&w?T.pop():(T.length>0||!y&&!_&&!w)&&T.push(q)}else v=T.join("").trim(),d=[l.PROPERTY,[l.PROPERTY_NAME,v,[i(g,v,t)]]],k.push(d),P=!0,T=[];else T.push(q),F--;else T.push(q),F++;else D.push(S),S=f.DOUBLE_QUOTE,T.push(q);else D.push(S),S=f.SINGLE_QUOTE,T.push(q);else T.push(q);x=!x&&q==s.BACK_SLASH,L=A,M=E,N.line=w||_?N.line+1:N.line,N.column=w||_?0:N.column+1}return P&&t.warnings.push("Missing '}' at "+c([N.line,N.column,N.source])+"."),P&&T.length>0&&(v=T.join("").replace(m,""),d.push([l.PROPERTY_VALUE,v,[i(g,v,t)]]),T=[]),T.length>0&&t.warnings.push("Invalid character(s) '"+T.join("")+"' at "+c(g)+". Ignoring."),C}function i(e,t,n,r){var o=e[2];return n.inputSourceMapTracker.isTracking(o)?n.inputSourceMapTracker.originalPositionFor(e,t.length,r):e}function a(e){var t=e[0]==s.AT||e[0]==s.UNDERSCORE,n=e.join("").split(d)[0];return t&&h.indexOf(n)>-1?l.NESTED_BLOCK:t&&p.indexOf(n)>-1?l.AT_RULE:t?l.AT_RULE_BLOCK:l.RULE}function u(e){return e==l.RULE?l.RULE_SCOPE:e==l.NESTED_BLOCK?l.NESTED_BLOCK_SCOPE:e==l.AT_RULE_BLOCK?l.AT_RULE_BLOCK_SCOPE:void 0}var s=e("./marker"),l=e("./token"),c=e("../utils/format-position"),f={BLOCK:"block",COMMENT:"comment",DOUBLE_QUOTE:"double-quote",RULE:"rule",SINGLE_QUOTE:"single-quote"},p=["@charset","@import"],h=["@-moz-document","@document","@-moz-keyframes","@-ms-keyframes","@-o-keyframes","@-webkit-keyframes","@keyframes","@media","@supports"],d=/[\s\(]/,m=/[\s|\}]*$/;t.exports=r},{"../utils/format-position":88,"./marker":84,"./token":85}],87:[function(e,t,n){function r(e){for(var t=e.slice(0),n=0,o=t.length;n<o;n++)Array.isArray(t[n])&&(t[n]=r(t[n]));return t}t.exports=r},{}],88:[function(e,t,n){function r(e){var t=e[0],n=e[1],r=e[2];return r?r+":"+t+":"+n:t+":"+n}t.exports=r},{}],89:[function(e,t,n){function r(e){return!o.test(e)}var o=/^\/\//;t.exports=r},{}],90:[function(e,t,n){function r(e){return o.test(e)}var o=/^data:(\S*?)?(;charset=[^;]+)?(;[^,]+?)?,(.+)/;t.exports=r},{}],91:[function(e,t,n){function r(e){return o.test(e)}var o=/^http:\/\//;t.exports=r},{}],92:[function(e,t,n){function r(e){return o.test(e)}var o=/^https:\/\//;t.exports=r},{}],93:[function(e,t,n){function r(e){return o.test(e)}var o=/^@import/i;t.exports=r},{}],94:[function(e,t,n){function r(e){return o.test(e)}var o=/^(\w+:\/\/|\/\/)/;t.exports=r},{}],95:[function(e,t,n){function r(e,t){var n,r,a,u,s=(""+e).split(i).map(o),l=(""+t).split(i).map(o);for(a=0,u=Math.min(s.length,l.length);a<u;a++)if(n=s[a],r=l[a],n!=r)return n>r?1:-1;return s.length>l.length?1:s.length==l.length?0:-1}function o(e){return""+parseInt(e)==e?parseInt(e):e}var i=/([0-9]+)/;t.exports=r},{}],96:[function(e,t,n){function r(e,t){var n,o,i,a={};for(n in e)i=e[n],Array.isArray(i)?a[n]=i.slice(0):a[n]="object"==typeof i&&null!==i?r(i,{}):i;for(o in t)i=t[o],o in a&&Array.isArray(i)?a[o]=i.slice(0):a[o]=o in a&&"object"==typeof i&&null!==i?r(a[o],i):i;return a}t.exports=r},{}],97:[function(e,t,n){function r(e,t){var n,r=o.OPEN_ROUND_BRACKET,i=o.CLOSE_ROUND_BRACKET,a=0,u=0,s=0,l=e.length,c=[];if(-1==e.indexOf(t))return[e];if(-1==e.indexOf(r))return e.split(t);for(;u<l;)e[u]==r?a++:e[u]==i&&a--,0===a&&u>0&&u+1<l&&e[u]==t&&(c.push(e.substring(s,u)),s=u+1),u++;return s<u+1&&((n=e.substring(s))[n.length-1]==t&&(n=n.substring(0,n.length-1)),c.push(n)),c}var o=e("../tokenizer/marker");t.exports=r},{"../tokenizer/marker":84}],98:[function(e,t,n){function r(e){return"background"==e[1][1]||"transform"==e[1][1]||"src"==e[1][1]}function o(e,t){return e[t][1][e[t][1].length-1]==B.CLOSE_ROUND_BRACKET}function i(e,t){return e[t][1]==B.COMMA}function a(e,t){return e[t][1]==B.FORWARD_SLASH}function u(e,t){return e[t+1]&&e[t+1][1]==B.COMMA}function s(e,t){return e[t+1]&&e[t+1][1]==B.FORWARD_SLASH}function l(e){return"filter"==e[1][1]||"-ms-filter"==e[1][1]}function c(e,t,n){return!e.spaceAfterClosingBrace&&r(t)&&o(t,n)||s(t,n)||a(t,n)||u(t,n)||i(t,n)}function f(e,t){for(var n=e.store,r=0,o=t.length;r<o;r++)n(e,t[r]),r<o-1&&n(e,A(e))}function p(e,t){for(var n=h(t),r=0,o=t.length;r<o;r++)d(e,t,r,n)}function h(e){for(var t=e.length-1;t>=0&&e[t][0]==S.COMMENT;t--);return t}function d(e,t,n,r){var o=e.store,i=t[n],a=i[2][0]==S.PROPERTY_BLOCK,u=n<r||a,s=n===r;switch(i[0]){case S.AT_RULE:o(e,i),o(e,w(e,k.AfterProperty,!1));break;case S.COMMENT:o(e,i);break;case S.PROPERTY:o(e,i[1]),o(e,_(e)),m(e,i),o(e,u?w(e,k.AfterProperty,s):C)}}function m(e,t){var n,r,o=e.store;if(t[2][0]==S.PROPERTY_BLOCK)o(e,b(e,k.AfterBlockBegins,!1)),p(e,t[2][1]),o(e,y(e,k.AfterBlockEnds,!1,!0));else for(n=2,r=t.length;n<r;n++)o(e,t[n]),n<r-1&&(l(t)||!c(e,t,n))&&o(e,B.SPACE)}function g(e,t){return e.format&&e.format.breaks[t]}function v(e,t){return e.format&&e.format.spaces[t]}function b(e,t,n){return e.format?(e.indentBy+=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),(n&&v(e,O.BeforeBlockBegins)?B.SPACE:C)+B.OPEN_CURLY_BRACKET+(g(e,t)?x:C)+e.indentWith):B.OPEN_CURLY_BRACKET}function y(e,t,n,r){return e.format?(e.indentBy-=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),(g(e,k.AfterProperty)||n&&g(e,k.BeforeBlockEnds)?x:C)+e.indentWith+B.CLOSE_CURLY_BRACKET+(r?C:(g(e,t)?x:C)+e.indentWith)):B.CLOSE_CURLY_BRACKET}function _(e){return e.format?B.COLON+(v(e,O.BeforeValue)?B.SPACE:C):B.COLON}function w(e,t,n){return e.format?B.SEMICOLON+(n||!g(e,t)?C:x+e.indentWith):B.SEMICOLON}function A(e){return e.format?B.COMMA+(g(e,k.BetweenSelectors)?x:C)+e.indentWith:B.COMMA}function E(e,t){var n,r,o,i,a=e.store;for(o=0,i=t.length;o<i;o++)switch(n=t[o],r=o==i-1,n[0]){case S.AT_RULE:a(e,n),a(e,w(e,k.AfterAtRule,r));break;case S.AT_RULE_BLOCK:f(e,n[1]),a(e,b(e,k.AfterRuleBegins,!0)),p(e,n[2]),a(e,y(e,k.AfterRuleEnds,!1,r));break;case S.NESTED_BLOCK:f(e,n[1]),a(e,b(e,k.AfterBlockBegins,!0)),E(e,n[2]),a(e,y(e,k.AfterBlockEnds,!0,r));break;case S.COMMENT:a(e,n),a(e,g(e,k.AfterComment)?x:C);break;case S.RULE:f(e,n[1]),a(e,b(e,k.AfterRuleBegins,!0)),p(e,n[2]),a(e,y(e,k.AfterRuleEnds,!1,r))}}var x=e("os").EOL,C="",k=e("../options/format").Breaks,O=e("../options/format").Spaces,B=e("../tokenizer/marker"),S=e("../tokenizer/token");t.exports={all:E,body:p,property:d,rules:f,value:m}},{"../options/format":62,"../tokenizer/marker":84,"../tokenizer/token":85,os:111}],99:[function(e,t,n){function r(e,t){e.output.push("string"==typeof t?t:t[1])}function o(){return{output:[],store:r}}function i(e){var t=o();return c.all(t,e),t.output.join("")}function a(e){var t=o();return c.body(t,e),t.output.join("")}function u(e,t){var n=o();return c.property(n,e,t,!0),n.output.join("")}function s(e){var t=o();return c.rules(t,e),t.output.join("")}function l(e){var t=o();return c.value(t,e),t.output.join("")}var c=e("./helpers");t.exports={all:i,body:a,property:u,rules:s,value:l}},{"./helpers":98}],100:[function(e,t,n){function r(e,t){var n="string"==typeof t?t:t[1];(0,e.wrap)(e,n),i(e,n),e.output.push(n)}function o(e,t){e.column+t.length>e.format.wrapAt&&(i(e,s),e.output.push(s))}function i(e,t){var n=t.split("\n");e.line+=n.length-1,e.column=n.length>1?0:e.column+n.pop().length}function a(e,t){var n={column:0,format:t.options.format,indentBy:0,indentWith:"",line:1,output:[],spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:r,wrap:t.options.format.wrapAt?o:function(){}};return u(n,e),{styles:n.output.join("")}}var u=e("./helpers").all,s=e("os").EOL;t.exports=a},{"./helpers":98,os:111}],101:[function(e,t,n){(function(n){function r(e,t){var n="string"==typeof t,r=n?t:t[1],o=n?null:t[2];(0,e.wrap)(e,r),i(e,r,o),e.output.push(r)}function o(e,t){e.column+t.length>e.format.wrapAt&&(i(e,f,!1),e.output.push(f))}function i(e,t,n){var r=t.split("\n");n&&a(e,n),e.line+=r.length-1,e.column=r.length>1?0:e.column+r.pop().length}function a(e,t){for(var n=0,r=t.length;n<r;n++)u(e,t[n])}function u(e,t){var n=t[0],r=t[1],o=t[2],i=o,a=i||m;h&&i&&!p(i)&&(a=i.replace(d,g)),e.outputMap.addMapping({generated:{line:e.line,column:e.column},source:a,original:{line:n,column:r}}),e.inlineSources&&o in e.sourcesContent&&e.outputMap.setSourceContent(a,e.sourcesContent[o])}function s(e,t){var n={column:0,format:t.options.format,indentBy:0,indentWith:"",inlineSources:t.options.sourceMapInlineSources,line:1,output:[],outputMap:new l,sourcesContent:t.sourcesContent,spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:r,wrap:t.options.format.wrapAt?o:function(){}};return c(n,e),{sourceMap:n.outputMap,styles:n.output.join("")}}var l=e("source-map").SourceMapGenerator,c=e("./helpers").all,f=e("os").EOL,p=e("../utils/is-remote-resource"),h="win32"==n.platform,d=/\//g,m="$stdin",g="\\";t.exports=s}).call(this,e("_process"))},{"../utils/is-remote-resource":94,"./helpers":98,_process:114,os:111,"source-map":155}],102:[function(e,t,n){(function(e){function t(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function r(e){return"boolean"==typeof e}function o(e){return null===e}function i(e){return null==e}function a(e){return"number"==typeof e}function u(e){return"string"==typeof e}function s(e){return"symbol"==typeof e}function l(e){return void 0===e}function c(e){return"[object RegExp]"===g(e)}function f(e){return"object"==typeof e&&null!==e}function p(e){return"[object Date]"===g(e)}function h(e){return"[object Error]"===g(e)||e instanceof Error}function d(e){return"function"==typeof e}function m(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function g(e){return Object.prototype.toString.call(e)}n.isArray=t,n.isBoolean=r,n.isNull=o,n.isNullOrUndefined=i,n.isNumber=a,n.isString=u,n.isSymbol=s,n.isUndefined=l,n.isRegExp=c,n.isObject=f,n.isDate=p,n.isError=h,n.isFunction=d,n.isPrimitive=m,n.isBuffer=e.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":108}],103:[function(e,t,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(e){return"function"==typeof e}function i(e){return"number"==typeof e}function a(e){return"object"==typeof e&&null!==e}function u(e){return void 0===e}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!i(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,n,r,i,s,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||a(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}if(n=this._events[e],u(n))return!1;if(o(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),n.apply(this,i)}else if(a(n))for(i=Array.prototype.slice.call(arguments,1),r=(l=n.slice()).length,s=0;s<r;s++)l[s].apply(this,i);return!0},r.prototype.addListener=function(e,t){var n;if(!o(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,o(t.listener)?t.listener:t),this._events[e]?a(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,a(this._events[e])&&!this._events[e].warned&&(n=u(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}if(!o(t))throw TypeError("listener must be a function");var r=!1;return n.listener=t,this.on(e,n),this},r.prototype.removeListener=function(e,t){var n,r,i,u;if(!o(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],i=n.length,r=-1,n===t||o(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(a(n)){for(u=i;u-- >0;)if(n[u]===t||n[u].listener&&n[u].listener===t){r=u;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],o(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?o(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(o(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},{}],104:[function(e,t,n){(function(e){!function(r){var o="object"==typeof n&&n,i="object"==typeof t&&t&&t.exports==o&&t,a="object"==typeof e&&e;a.global!==a&&a.window!==a||(r=a);var u=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,s={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},l={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},c=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,f=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},h={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},d={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},m=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],g=String.fromCharCode,v={}.hasOwnProperty,b=function(e,t){return v.call(e,t)},y=function(e,t){for(var n=-1,r=e.length;++n<r;)if(e[n]==t)return!0;return!1},_=function(e,t){if(!e)return t;var n,r={};for(n in t)r[n]=b(e,n)?e[n]:t[n];return r},w=function(e,t){var n="";return e>=55296&&e<=57343||e>1114111?(t&&x("character reference outside the permissible Unicode range"),"�"):b(d,e)?(t&&x("disallowed character reference"),d[e]):(t&&y(m,e)&&x("disallowed character reference"),e>65535&&(n+=g((e-=65536)>>>10&1023|55296),e=56320|1023&e),n+=g(e))},A=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},E=function(e){return"&#"+e+";"},x=function(e){throw Error("Parse error: "+e)},C=function(e,t){(t=_(t,C.options)).strict&&f.test(e)&&x("forbidden code point");var n=t.encodeEverything,r=t.useNamedReferences,o=t.allowUnsafeSymbols,i=t.decimal?E:A,a=function(e){return i(e.charCodeAt(0))};return n?(e=e.replace(/[\x01-\x7F]/g,function(e){return r&&b(s,e)?"&"+s[e]+";":a(e)}),r&&(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),r&&(e=e.replace(u,function(e){return"&"+s[e]+";"}))):r?(o||(e=e.replace(/["&'<>`]/g,function(e){return"&"+s[e]+";"})),e=(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(u,function(e){return"&"+s[e]+";"})):o||(e=e.replace(/["&'<>`]/g,a)),e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return i(1024*(t-55296)+n-56320+65536)}).replace(/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,a)};C.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var k=function(e,t){var n=(t=_(t,k.options)).strict;return n&&c.test(e)&&x("malformed character reference"),e.replace(/&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)([=a-zA-Z0-9])?/g,function(e,r,o,i,a,u,s,l){var c,f,d,m,g,v;return r?(d=r,f=o,n&&!f&&x("character reference was not terminated by a semicolon"),c=parseInt(d,10),w(c,n)):i?(m=i,f=a,n&&!f&&x("character reference was not terminated by a semicolon"),c=parseInt(m,16),w(c,n)):u?(g=u,b(p,g)?p[g]:(n&&x("named character reference was not terminated by a semicolon"),e)):(g=s,v=l,v&&t.isAttributeValue?(n&&"="==v&&x("`&` did not start a character reference"),e):(n&&x("named character reference was not terminated by a semicolon"),h[g]+(v||"")))})};k.options={isAttributeValue:!1,strict:!1};var O={version:"1.1.1",encode:C,decode:k,escape:function(e){return e.replace(/["&'<>`]/g,function(e){return l[e]})},unescape:k};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)define(function(){return O});else if(o&&!o.nodeType)if(i)i.exports=O;else for(var B in O)b(O,B)&&(o[B]=O[B]);else r.he=O}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],105:[function(e,t,n){var r=e("http"),o=t.exports;for(var i in r)r.hasOwnProperty(i)&&(o[i]=r[i]);o.request=function(e,t){return e||(e={}),e.scheme="https",e.protocol="https:",r.request.call(this,e,t)}},{http:156}],106:[function(e,t,n){n.read=function(e,t,n,r,o){var i,a,u=8*o-r-1,s=(1<<u)-1,l=s>>1,c=-7,f=n?o-1:0,p=n?-1:1,h=e[t+f];for(f+=p,i=h&(1<<-c)-1,h>>=-c,c+=u;c>0;i=256*i+e[t+f],f+=p,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=p,c-=8);if(0===i)i=1-l;else{if(i===s)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=l}return(h?-1:1)*a*Math.pow(2,i-r)},n.write=function(e,t,n,r,o,i){var a,u,s,l=8*i-o-1,c=(1<<l)-1,f=c>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,d=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+f>=1?p/s:p*Math.pow(2,1-f))*s>=2&&(a++,s/=2),a+f>=c?(u=0,a=c):a+f>=1?(u=(t*s-1)*Math.pow(2,o),a+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&u,h+=d,u/=256,o-=8);for(a=a<<o|u,l+=o;l>0;e[n+h]=255&a,h+=d,a/=256,l-=8);e[n+h-d]|=128*m}},{}],107:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],108:[function(e,t,n){function r(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function o(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&r(e.slice(0,0))}t.exports=function(e){return null!=e&&(r(e)||o(e)||!!e._isBuffer)}},{}],109:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],110:[function(e,t,n){"use strict";function r(e){return e.source.slice(1,-1)}var o=e("xml-char-classes");t.exports=new RegExp("^["+r(o.letter)+"_]["+r(o.letter)+r(o.digit)+"\\.\\-_"+r(o.combiningChar)+r(o.extender)+"]*$")},{"xml-char-classes":164}],111:[function(e,t,n){n.endianness=function(){return"LE"},n.hostname=function(){return"undefined"!=typeof location?location.hostname:""},n.loadavg=function(){return[]},n.uptime=function(){return 0},n.freemem=function(){return Number.MAX_VALUE},n.totalmem=function(){return Number.MAX_VALUE},n.cpus=function(){return[]},n.type=function(){return"Browser"},n.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},n.networkInterfaces=n.getNetworkInterfaces=function(){return{}},n.arch=function(){return"javascript"},n.platform=function(){return"browser"},n.tmpdir=n.tmpDir=function(){return"/tmp"},n.EOL="\n"},{}],112:[function(e,t,n){(function(e){function t(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var o=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return o.exec(e).slice(1)};n.resolve=function(){for(var n="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(n=a+"/"+n,o="/"===a.charAt(0))}return n=t(r(n.split("/"),function(e){return!!e}),!o).join("/"),(o?"/":"")+n||"."},n.normalize=function(e){var o=n.isAbsolute(e),i="/"===a(e,-1);return(e=t(r(e.split("/"),function(e){return!!e}),!o).join("/"))||o||(e="."),e&&i&&(e+="/"),(o?"/":"")+e},n.isAbsolute=function(e){return"/"===e.charAt(0)},n.join=function(){var e=Array.prototype.slice.call(arguments,0);return n.normalize(r(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},n.relative=function(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(var o=r(e.split("/")),i=r(t.split("/")),a=Math.min(o.length,i.length),u=a,s=0;s<a;s++)if(o[s]!==i[s]){u=s;break}for(var l=[],s=u;s<o.length;s++)l.push("..");return(l=l.concat(i.slice(u))).join("/")},n.sep="/",n.delimiter=":",n.dirname=function(e){var t=i(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},n.basename=function(e,t){var n=i(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},n.extname=function(e){return i(e)[3]};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,e("_process"))},{_process:114}],113:[function(e,t,n){(function(e){"use strict";function n(t,n,r,o){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var i,a,u=arguments.length;switch(u){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,n)});case 3:return e.nextTick(function(){t.call(null,n,r)});case 4:return e.nextTick(function(){t.call(null,n,r,o)});default:for(i=new Array(u-1),a=0;a<i.length;)i[a++]=arguments[a];return e.nextTick(function(){t.apply(null,i)})}}!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports=n:t.exports=e.nextTick}).call(this,e("_process"))},{_process:114}],114:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function a(e){if(p===clearTimeout)return clearTimeout(e);if((p===o||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function u(){g&&d&&(g=!1,d.length?m=d.concat(m):v=-1,m.length&&s())}function s(){if(!g){var e=i(u);g=!0;for(var t=m.length;t;){for(d=m,m=[];++v<t;)d&&d[v].run();v=-1,t=m.length}d=null,g=!1,a(e)}}function l(e,t){this.fun=e,this.array=t}function c(){}var f,p,h=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:r}catch(e){f=r}try{p="function"==typeof clearTimeout?clearTimeout:o}catch(e){p=o}}();var d,m=[],g=!1,v=-1;h.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new l(e,t)),1!==m.length||g||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.prependListener=c,h.prependOnceListener=c,h.listeners=function(e){return[]},h.binding=function(e){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(e){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},{}],115:[function(e,t,n){(function(e){!function(r){function o(e){throw new RangeError(F[e])}function i(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function a(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+i((e=e.replace(R,".")).split("."),t).join(".")}function u(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function s(e){return i(e,function(e){var t="";return e>65535&&(t+=P((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=P(e)}).join("")}function l(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:A}function c(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var r=0;for(e=n?M(e/k):e>>1,e+=M(e/t);e>L*x>>1;r+=A)e=M(e/L);return M(r+(L+1)*e/(e+C))}function p(e){var t,n,r,i,a,u,c,p,h,d,m=[],g=e.length,v=0,b=B,y=O;for((n=e.lastIndexOf(S))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&o("not-basic"),m.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<g;){for(a=v,u=1,c=A;i>=g&&o("invalid-input"),((p=l(e.charCodeAt(i++)))>=A||p>M((w-v)/u))&&o("overflow"),v+=p*u,h=c<=y?E:c>=y+x?x:c-y,!(p<h);c+=A)u>M(w/(d=A-h))&&o("overflow"),u*=d;y=f(v-a,t=m.length+1,0==a),M(v/t)>w-b&&o("overflow"),b+=M(v/t),v%=t,m.splice(v++,0,b)}return s(m)}function h(e){var t,n,r,i,a,s,l,p,h,d,m,g,v,b,y,_=[];for(g=(e=u(e)).length,t=B,n=0,a=O,s=0;s<g;++s)(m=e[s])<128&&_.push(P(m));for(r=i=_.length,i&&_.push(S);r<g;){for(l=w,s=0;s<g;++s)(m=e[s])>=t&&m<l&&(l=m);for(l-t>M((w-n)/(v=r+1))&&o("overflow"),n+=(l-t)*v,t=l,s=0;s<g;++s)if((m=e[s])<t&&++n>w&&o("overflow"),m==t){for(p=n,h=A;d=h<=a?E:h>=a+x?x:h-a,!(p<d);h+=A)y=p-d,b=A-d,_.push(P(c(d+y%b,0))),p=M(y/b);_.push(P(c(p,0))),a=f(n,v,r==i),n=0,++r}++n,++t}return _.join("")}function d(e){return a(e,function(e){return D.test(e)?p(e.slice(4).toLowerCase()):e})}function m(e){return a(e,function(e){return T.test(e)?"xn--"+h(e):e})}var g="object"==typeof n&&n&&!n.nodeType&&n,v="object"==typeof t&&t&&!t.nodeType&&t,b="object"==typeof e&&e;b.global!==b&&b.window!==b&&b.self!==b||(r=b);var y,_,w=2147483647,A=36,E=1,x=26,C=38,k=700,O=72,B=128,S="-",D=/^xn--/,T=/[^\x20-\x7E]/,R=/[\x2E\u3002\uFF0E\uFF61]/g,F={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=A-E,M=Math.floor,P=String.fromCharCode;if(y={version:"1.4.1",ucs2:{decode:u,encode:s},decode:p,encode:h,toASCII:m,toUnicode:d},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return y});else if(g&&v)if(t.exports==g)v.exports=y;else for(_ in y)y.hasOwnProperty(_)&&(g[_]=y[_]);else r.punycode=y}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],116:[function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;e=e.split(t);var u=1e3;i&&"number"==typeof i.maxKeys&&(u=i.maxKeys);var s=e.length;u>0&&s>u&&(s=u);for(var l=0;l<s;++l){var c,f,p,h,d=e[l].replace(/\+/g,"%20"),m=d.indexOf(n);m>=0?(c=d.substr(0,m),f=d.substr(m+1)):(c=d,f=""),p=decodeURIComponent(c),h=decodeURIComponent(f),r(a,p)?o(a[p])?a[p].push(h):a[p]=[a[p],h]:a[p]=h}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],117:[function(e,t,n){"use strict";function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var o=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,n,u){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?r(a(e),function(a){var u=encodeURIComponent(o(a))+n;return i(e[a])?r(e[a],function(e){return u+encodeURIComponent(o(e))}).join(t):u+encodeURIComponent(o(e[a]))}).join(t):u?encodeURIComponent(o(u))+n+encodeURIComponent(o(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},{}],118:[function(e,t,n){"use strict";n.decode=n.parse=e("./decode"),n.encode=n.stringify=e("./encode")},{"./decode":116,"./encode":117}],119:[function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);l.call(this,e),c.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",o)}function o(){this.allowHalfOpen||this._writableState.ended||u(i,this)}function i(e){e.end()}var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=r;var u=e("process-nextick-args"),s=e("core-util-is");s.inherits=e("inherits");var l=e("./_stream_readable"),c=e("./_stream_writable");s.inherits(r,l);for(var f=a(c.prototype),p=0;p<f.length;p++){var h=f[p];r.prototype[h]||(r.prototype[h]=c.prototype[h])}},{"./_stream_readable":121,"./_stream_writable":123,"core-util-is":102,inherits:107,"process-nextick-args":113}],120:[function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);o.call(this,e)}t.exports=r;var o=e("./_stream_transform"),i=e("core-util-is");i.inherits=e("inherits"),i.inherits(r,o),r.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":122,"core-util-is":102,inherits:107}],121:[function(e,t,n){(function(n){"use strict";function r(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?D(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function o(t,n){B=B||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,n instanceof B&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,o=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:o,this.highWaterMark=~~this.highWaterMark,this.buffer=new q,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(N||(N=e("string_decoder/").StringDecoder),this.decoder=new N(t.encoding),this.encoding=t.encoding)}function i(t){if(B=B||e("./_stream_duplex"),!(this instanceof i))return new i(t);this._readableState=new o(t,this),this.readable=!0,t&&"function"==typeof t.read&&(this._read=t.read),R.call(this)}function a(e,t,n,r,o){var i=c(t,n);if(i)e.emit("error",i);else if(null===n)t.reading=!1,f(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!o){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&o){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var l;!t.decoder||o||r||(n=t.decoder.write(n),l=!t.objectMode&&0===n.length),o||(t.reading=!1),l||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,o?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&p(e))),d(e,t)}else o||(t.reading=!1);return u(t)}function u(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){return e>=I?e=I:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function l(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function c(e,t){var n=null;return F.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function f(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,p(e)}}function p(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(U("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?S(h,e):h(e))}function h(e){U("emit readable"),e.emit("readable"),_(e)}function d(e,t){t.readingMore||(t.readingMore=!0,S(m,e,t))}function m(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(U("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function g(e){return function(){var t=e._readableState;U("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&T(e,"data")&&(t.flowing=!0,_(e))}}function v(e){U("readable nexttick read 0"),e.read(0)}function b(e,t){t.resumeScheduled||(t.resumeScheduled=!0,S(y,e,t))}function y(e,t){t.reading||(U("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),_(e),t.flowing&&!t.reading&&e.read(0)}function _(e){var t=e._readableState;for(U("flow",t.flowing);t.flowing&&null!==e.read(););}function w(e,t){if(0===t.length)return null;var n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=A(e,t.buffer,t.decoder),n}function A(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?E(e,t):x(e,t),r}function E(e,t){var n=t.head,r=1,o=n.data;for(e-=o.length;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(a===i.length?o+=i:o+=i.slice(0,e),0===(e-=a)){a===i.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(a));break}++r}return t.length-=r,o}function x(e,t){var n=L.allocUnsafe(e),r=t.head,o=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var i=r.data,a=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,a),0===(e-=a)){a===i.length?(++o,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(a));break}++o}return t.length-=o,n}function C(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,S(k,t,e))}function k(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function O(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}t.exports=i;var B,S=e("process-nextick-args"),D=e("isarray");i.ReadableState=o;e("events").EventEmitter;var T=function(e,t){return e.listeners(t).length},R=e("./internal/streams/stream"),F=e("buffer").Buffer,L=e("buffer-shims"),M=e("core-util-is");M.inherits=e("inherits");var P=e("util"),U=void 0;U=P&&P.debuglog?P.debuglog("stream"):function(){};var N,q=e("./internal/streams/BufferList");M.inherits(i,R);var z=["error","close","destroy","pause","resume"];i.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||"string"!=typeof e||(t=t||n.defaultEncoding)!==n.encoding&&(e=L.from(e,t),t=""),a(this,n,e,t,!1)},i.prototype.unshift=function(e){return a(this,this._readableState,e,"",!0)},i.prototype.isPaused=function(){return!1===this._readableState.flowing},i.prototype.setEncoding=function(t){return N||(N=e("string_decoder/").StringDecoder),this._readableState.decoder=new N(t),this._readableState.encoding=t,this};var I=8388608;i.prototype.read=function(e){U("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return U("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?C(this):p(this),null;if(0===(e=l(e,t))&&t.ended)return 0===t.length&&C(this),null;var r=t.needReadable;U("need readable",r),(0===t.length||t.length-e<t.highWaterMark)&&U("length less than watermark",r=!0),t.ended||t.reading?U("reading or ended",r=!1):r&&(U("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=l(n,t)));var o;return o=e>0?w(e,t):null,null===o?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&C(this)),null!==o&&this.emit("data",o),o},i.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},i.prototype.pipe=function(e,t){function o(e){U("onunpipe"),e===p&&a()}function i(){U("onend"),e.end()}function a(){U("cleanup"),e.removeListener("close",l),e.removeListener("finish",c),e.removeListener("drain",m),e.removeListener("error",s),e.removeListener("unpipe",o),p.removeListener("end",i),p.removeListener("end",a),p.removeListener("data",u),v=!0,!h.awaitDrain||e._writableState&&!e._writableState.needDrain||m()}function u(t){U("ondata"),b=!1,!1!==e.write(t)||b||((1===h.pipesCount&&h.pipes===e||h.pipesCount>1&&-1!==O(h.pipes,e))&&!v&&(U("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,b=!0),p.pause())}function s(t){U("onerror",t),f(),e.removeListener("error",s),0===T(e,"error")&&e.emit("error",t)}function l(){e.removeListener("finish",c),f()}function c(){U("onfinish"),e.removeListener("close",l),f()}function f(){U("unpipe"),p.unpipe(e)}var p=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=e;break;case 1:h.pipes=[h.pipes,e];break;default:h.pipes.push(e)}h.pipesCount+=1,U("pipe count=%d opts=%j",h.pipesCount,t);var d=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?i:a;h.endEmitted?S(d):p.once("end",d),e.on("unpipe",o);var m=g(p);e.on("drain",m);var v=!1,b=!1;return p.on("data",u),r(e,"error",s),e.once("close",l),e.once("finish",c),e.emit("pipe",p),h.flowing||(U("pipe resume"),p.resume()),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<r;o++)n[o].emit("unpipe",this);return this}var i=O(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},i.prototype.on=function(e,t){var n=R.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&p(this):S(v,this))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){var e=this._readableState;return e.flowing||(U("resume"),e.flowing=!0,b(this,e)),this},i.prototype.pause=function(){return U("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(U("pause"),this._readableState.flowing=!1,this.emit("pause")),this},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on("end",function(){if(U("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on("data",function(o){U("wrapped data"),t.decoder&&(o=t.decoder.write(o)),(!t.objectMode||null!==o&&void 0!==o)&&(t.objectMode||o&&o.length)&&(r.push(o)||(n=!0,e.pause()))});for(var o in e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i<z.length;i++)e.on(z[i],r.emit.bind(r,z[i]));return r._read=function(t){U("wrapped _read",t),n&&(n=!1,e.resume())},r},i._fromList=w}).call(this,e("_process"))},{"./_stream_duplex":119,"./internal/streams/BufferList":124,"./internal/streams/stream":125,_process:114,buffer:5,"buffer-shims":4,"core-util-is":102,events:103,inherits:107,isarray:109,"process-nextick-args":113,"string_decoder/":126,util:2}],122:[function(e,t,n){"use strict";function r(e){this.afterTransform=function(t,n){return o(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function o(e,t,n){var r=e._transformState;r.transforming=!1;var o=r.writecb;if(!o)return e.emit("error",new Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),o(t);var i=e._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&e._read(i.highWaterMark)}function i(e){if(!(this instanceof i))return new i(e);u.call(this,e),this._transformState=new r(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e,n){a(t,e,n)}):a(t)})}function a(e,t,n){if(t)return e.emit("error",t);null!==n&&void 0!==n&&e.push(n);var r=e._writableState,o=e._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(o.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}t.exports=i;var u=e("./_stream_duplex"),s=e("core-util-is");s.inherits=e("inherits"),s.inherits(i,u),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},i.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},i.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},i.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0}},{"./_stream_duplex":119,"core-util-is":102,inherits:107}],123:[function(e,t,n){(function(n){"use strict";function r(){}function o(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function i(t,n){E=E||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,n instanceof E&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,o=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:o,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var i=!1===t.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){d(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new A(this)}function a(t){if(E=E||e("./_stream_duplex"),!(T.call(a,this)||this instanceof E))return new a(t);this._writableState=new i(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev)),B.call(this)}function u(e,t){var n=new Error("write after end");e.emit("error",n),x(t,n)}function s(e,t,n,r){var o=!0,i=!1;return null===n?i=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i&&(e.emit("error",i),x(r,i),o=!1),o}function l(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=D.from(t,n)),t}function c(e,t,n,r,i,a){n||(r=l(t,r,i),S.isBuffer(r)&&(i="buffer"));var u=t.objectMode?1:r.length;t.length+=u;var s=t.length<t.highWaterMark;if(s||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest=new o(r,i,a),c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else f(e,t,!1,u,r,i,a);return s}function f(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function p(e,t,n,r,o){--t.pendingcb,n?x(o,r):o(r),e._writableState.errorEmitted=!0,e.emit("error",r)}function h(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function d(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if(h(n),t)p(e,n,r,t,o);else{var i=b(n);i||n.corked||n.bufferProcessing||!n.bufferedRequest||v(e,n),r?C(m,e,n,i,o):m(e,n,i,o)}}function m(e,t,n,r){n||g(e,t),t.pendingcb--,r(),_(e,t)}function g(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function v(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),i=t.corkedRequestsFree;i.entry=n;for(var a=0;n;)o[a]=n,n=n.next,a+=1;f(e,t,!0,t.length,o,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new A(t)}else{for(;n;){var u=n.chunk,s=n.encoding,l=n.callback;if(f(e,t,!1,t.objectMode?1:u.length,u,s,l),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function b(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function y(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function _(e,t){var n=b(t);return n&&(0===t.pendingcb?(y(e,t),t.finished=!0,e.emit("finish")):y(e,t)),n}function w(e,t,n){t.ending=!0,_(e,t),n&&(t.finished?x(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function A(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var o=r.callback;e.pendingcb--,o(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}t.exports=a;var E,x=e("process-nextick-args"),C=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?setImmediate:x;a.WritableState=i;var k=e("core-util-is");k.inherits=e("inherits");var O={deprecate:e("util-deprecate")},B=e("./internal/streams/stream"),S=e("buffer").Buffer,D=e("buffer-shims");k.inherits(a,B),i.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(i.prototype,"buffer",{get:O.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(e){}}();var T;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(T=Function.prototype[Symbol.hasInstance],Object.defineProperty(a,Symbol.hasInstance,{value:function(e){return!!T.call(this,e)||e&&e._writableState instanceof i}})):T=function(e){return e instanceof this},a.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},a.prototype.write=function(e,t,n){var o=this._writableState,i=!1,a=S.isBuffer(e);return"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=r),o.ended?u(this,n):(a||s(this,o,e,n))&&(o.pendingcb++,i=c(this,o,a,e,t,n)),i},a.prototype.cork=function(){this._writableState.corked++},a.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||v(this,e))},a.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},a.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},a.prototype._writev=null,a.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||w(this,r,n)}}).call(this,e("_process"))},{"./_stream_duplex":119,"./internal/streams/stream":125,_process:114,buffer:5,"buffer-shims":4,"core-util-is":102,inherits:107,"process-nextick-args":113,"util-deprecate":163}],124:[function(e,t,n){"use strict";function r(){this.head=null,this.tail=null,this.length=0}e("buffer").Buffer;var o=e("buffer-shims");t.exports=r,r.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},r.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},r.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},r.prototype.concat=function(e){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;for(var t=o.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t}},{buffer:5,"buffer-shims":4}],125:[function(e,t,n){t.exports=e("events").EventEmitter},{events:103}],126:[function(e,t,n){"use strict";function r(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function o(e){var t=r(e);if("string"!=typeof t&&(b.isEncoding===_||!_(e)))throw new Error("Unknown encoding: "+e);return t||e}function i(e){this.encoding=o(e);var t;switch(this.encoding){case"utf16le":this.text=p,this.end=h,t=4;break;case"utf8":this.fillLast=l,t=4;break;case"base64":this.text=d,this.end=m,t=3;break;default:return this.write=g,void(this.end=v)}this.lastNeed=0,this.lastTotal=0,this.lastChar=y.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function u(e,t,n){var r=t.length-1;if(r<n)return 0;var o=a(t[r]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--r<n?0:(o=a(t[r]))>=0?(o>0&&(e.lastNeed=o-2),o):--r<n?0:(o=a(t[r]),o>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0)}function s(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(n);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�".repeat(n+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�".repeat(n+2)}}function l(e){var t=this.lastTotal-this.lastNeed,n=s(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){var n=u(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�".repeat(this.lastTotal-this.lastNeed):t}function p(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function h(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function d(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function m(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function g(e){return e.toString(this.encoding)}function v(e){return e&&e.length?this.write(e):""}var b=e("buffer").Buffer,y=e("buffer-shims"),_=b.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};n.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},i.prototype.end=f,i.prototype.text=c,i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{buffer:5,"buffer-shims":4}],127:[function(e,t,n){(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":119,"./lib/_stream_passthrough.js":120,"./lib/_stream_readable.js":121,"./lib/_stream_transform.js":122,"./lib/_stream_writable.js":123}],128:[function(e,t,n){"use strict";t.exports={ABSOLUTE:"absolute",PATH_RELATIVE:"pathRelative",ROOT_RELATIVE:"rootRelative",SHORTEST:"shortest"}},{}],129:[function(e,t,n){"use strict";function r(e,t){return!e.auth||t.removeAuth||!e.extra.relation.maximumHost&&t.output!==m.ABSOLUTE?"":e.auth+"@"}function o(e,t){return e.hash?e.hash:""}function i(e,t){return e.host.full&&(e.extra.relation.maximumAuth||t.output===m.ABSOLUTE)?e.host.full:""}function a(e,t){var n="",r=e.path.absolute.string,o=e.path.relative.string,i=d(e,t);if(e.extra.relation.maximumHost||t.output===m.ABSOLUTE||t.output===m.ROOT_RELATIVE)n=r;else if(o.length<=r.length&&t.output===m.SHORTEST||t.output===m.PATH_RELATIVE){if(""===(n=o)){var a=h(e,t)&&!!p(e,t);e.extra.relation.maximumPath&&!i?n="./":!e.extra.relation.overridesQuery||i||a||(n="./")}}else n=r;return"/"!==n||i||!t.removeRootTrailingSlash||e.extra.relation.minimumPort&&t.output!==m.ABSOLUTE||(n=""),n}function u(e,t){return e.port&&!e.extra.portIsDefault&&e.extra.relation.maximumHost?":"+e.port:""}function s(e,t){return h(e,t)?p(e,t):""}function l(e,t){return d(e,t)?e.resource:""}function c(e,t){var n="";return(e.extra.relation.maximumHost||t.output===m.ABSOLUTE)&&(e.extra.relation.minimumScheme&&t.schemeRelative&&t.output!==m.ABSOLUTE?n+="//":n+=e.scheme+"://"),n}function f(e,t){var n="";return n+=c(e,t),n+=r(e,t),n+=i(e,t),n+=u(e,t),n+=a(e,t),n+=l(e,t),n+=s(e,t),n+=o(e,t)}function p(e,t){var n=t.removeEmptyQueries&&e.extra.relation.minimumPort;return e.query.string[n?"stripped":"full"]}function h(e,t){return!e.extra.relation.minimumQuery||t.output===m.ABSOLUTE||t.output===m.ROOT_RELATIVE}function d(e,t){var n=t.removeDirectoryIndexes&&e.extra.resourceIsIndex,r=e.extra.relation.minimumResource&&t.output!==m.ABSOLUTE&&t.output!==m.ROOT_RELATIVE;return!!e.resource&&!r&&!n}var m=e("./constants");t.exports=f},{"./constants":128}],130:[function(e,t,n){"use strict";function r(e,t){this.options=a(t,{defaultPorts:{ftp:21,http:80,https:443},directoryIndexes:["index.html"],ignore_www:!1,output:r.SHORTEST,rejectedSchemes:["data","javascript","mailto"],removeAuth:!1,removeDirectoryIndexes:!0,removeEmptyQueries:!1,removeRootTrailingSlash:!0,schemeRelative:!0,site:void 0,slashesDenoteHost:!0}),this.from=s.from(e,this.options,null)}var o=e("./constants"),i=e("./format"),a=e("./options"),u=e("./util/object"),s=e("./parse"),l=e("./relate");r.prototype.relate=function(e,t,n){if(u.isPlainObject(t)?(n=t,t=e,e=null):t||(t=e,e=null),n=a(n,this.options),e=e||n.site,!(e=s.from(e,n,this.from))||!e.href)throw new Error("from value not defined.");if(e.extra.hrefInfo.minimumPathOnly)throw new Error("from value supplied is not absolute: "+e.href);return!1===(t=s.to(t,n)).valid?t.href:(t=l(e,t,n),t=i(t,n))},r.relate=function(e,t,n){return(new r).relate(e,t,n)},u.shallowMerge(r,o),t.exports=r},{"./constants":128,"./format":129,"./options":131,"./parse":134,"./relate":141,"./util/object":143}],131:[function(e,t,n){"use strict";function r(e,t){if(i.isPlainObject(e)){var n={};for(var r in t)t.hasOwnProperty(r)&&(void 0!==e[r]?n[r]=o(e[r],t[r]):n[r]=t[r]);return n}return t}function o(e,t){return t instanceof Object&&e instanceof Object?t instanceof Array&&e instanceof Array?t.concat(e):i.shallowMerge(e,t):e}var i=e("./util/object");t.exports=r},{"./util/object":143}],132:[function(e,t,n){"use strict";function r(e,t){if(t.ignore_www){var n=e.host.full;if(n){var r=n;0===n.indexOf("www.")&&(r=n.substr(4)),e.host.stripped=r}}}t.exports=r},{}],133:[function(e,t,n){"use strict";function r(e){var t=!(e.scheme||e.auth||e.host.full||e.port),n=t&&!e.path.absolute.string,r=n&&!e.resource,o=r&&!e.query.string.full.length,i=o&&!e.hash;e.extra.hrefInfo.minimumPathOnly=t,e.extra.hrefInfo.minimumResourceOnly=n,e.extra.hrefInfo.minimumQueryOnly=r,e.extra.hrefInfo.minimumHashOnly=o,e.extra.hrefInfo.empty=i}t.exports=r},{}],134:[function(e,t,n){"use strict";function r(e,t,n){if(e){var r=o(e,t),i=f.resolveDotSegments(r.path.absolute.array);return r.path.absolute.array=i,r.path.absolute.string="/"+f.join(i),r}return n}function o(e,t){var n=c(e,t);return!1===n.valid?n:(a(n,t),s(n,t),u(n,t),l(n,t),i(n),n)}var i=e("./hrefInfo"),a=e("./host"),u=e("./path"),s=e("./port"),l=e("./query"),c=e("./urlstring"),f=e("../util/path");t.exports={from:r,to:o}},{"../util/path":144,"./host":132,"./hrefInfo":133,"./path":135,"./port":136,"./query":137,"./urlstring":138}],135:[function(e,t,n){"use strict";function r(e,t){var n=!1;return t.directoryIndexes.every(function(t){return t!==e||(n=!0,!1)}),n}function o(e,t){var n=e.path.absolute.string;if(n){var o=n.lastIndexOf("/");if(o>-1){if(++o<n.length){var a=n.substr(o);"."!==a&&".."!==a?(e.resource=a,n=n.substr(0,o)):n+="/"}e.path.absolute.string=n,e.path.absolute.array=i(n)}else"."===n||".."===n?(n+="/",e.path.absolute.string=n,e.path.absolute.array=i(n)):(e.resource=n,e.path.absolute.string=null);e.extra.resourceIsIndex=r(e.resource,t)}}function i(e){if("/"!==e){var t=[];return e.split("/").forEach(function(e){""!==e&&t.push(e)}),t}return[]}t.exports=o},{}],136:[function(e,t,n){"use strict";function r(e,t){var n=-1;for(var r in t.defaultPorts)if(r===e.scheme&&t.defaultPorts.hasOwnProperty(r)){n=t.defaultPorts[r];break}n>-1&&(n=n.toString(),null===e.port&&(e.port=n),e.extra.portIsDefault=e.port===n)}t.exports=r},{}],137:[function(e,t,n){"use strict";function r(e,t){e.query.string.full=o(e.query.object,!1),t.removeEmptyQueries&&(e.query.string.stripped=o(e.query.object,!0))}function o(e,t){var n=0,r="";for(var o in e)if(""!==o&&!0===i.call(e,o)){var a=e[o];""===a&&t||(r+=1==++n?"?":"&",o=encodeURIComponent(o),r+=""!==a?o+"="+encodeURIComponent(a).replace(/%20/g,"+"):o)}return r}var i=Object.prototype.hasOwnProperty;t.exports=r},{}],138:[function(e,t,n){"use strict";function r(e){var t=e.protocol;return t&&t.indexOf(":")===t.length-1&&(t=t.substr(0,t.length-1)),e.host={full:e.hostname,stripped:null},e.path={absolute:{array:null,string:e.pathname},relative:{array:null,string:null}},e.query={object:e.query,string:{full:null,stripped:null}},e.extra={hrefInfo:{minimumPathOnly:null,minimumResourceOnly:null,minimumQueryOnly:null,minimumHashOnly:null,empty:null,separatorOnlyQuery:"?"===e.search},portIsDefault:null,relation:{maximumScheme:null,maximumAuth:null,maximumHost:null,maximumPort:null,maximumPath:null,maximumResource:null,maximumQuery:null,maximumHash:null,minimumScheme:null,minimumAuth:null,minimumHost:null,minimumPort:null,minimumPath:null,minimumResource:null,minimumQuery:null,minimumHash:null,overridesQuery:null},resourceIsIndex:null,slashes:e.slashes},e.resource=null,e.scheme=t,delete e.hostname,delete e.pathname,delete e.protocol,delete e.search,delete e.slashes,e}function o(e,t){var n=!0;return t.rejectedSchemes.every(function(t){return n=!(0===e.indexOf(t+":"))}),n}function i(e,t){return o(e,t)?r(a(e,!0,t.slashesDenoteHost)):{href:e,valid:!1}}var a=e("url").parse;t.exports=i},{url:161}],139:[function(e,t,n){"use strict";function r(e,t,n){u.upToPath(e,t,n),e.extra.relation.minimumScheme&&(e.scheme=t.scheme),e.extra.relation.minimumAuth&&(e.auth=t.auth),e.extra.relation.minimumHost&&(e.host=s.clone(t.host)),e.extra.relation.minimumPort&&i(e,t),e.extra.relation.minimumScheme&&o(e,t),u.pathOn(e,t,n),e.extra.relation.minimumResource&&a(e,t),e.extra.relation.minimumQuery&&(e.query=s.clone(t.query)),e.extra.relation.minimumHash&&(e.hash=t.hash)}function o(e,t){if(e.extra.relation.maximumHost||!e.extra.hrefInfo.minimumResourceOnly){var n=e.path.absolute.array,r="/";n?(e.extra.hrefInfo.minimumPathOnly&&0!==e.path.absolute.string.indexOf("/")&&(n=t.path.absolute.array.concat(n)),n=l.resolveDotSegments(n),r+=l.join(n)):n=[],e.path.absolute.array=n,e.path.absolute.string=r}else e.path=s.clone(t.path)}function i(e,t){e.port=t.port,e.extra.portIsDefault=t.extra.portIsDefault}function a(e,t){e.resource=t.resource,e.extra.resourceIsIndex=t.extra.resourceIsIndex}var u=e("./findRelation"),s=e("../util/object"),l=e("../util/path");t.exports=r},{"../util/object":143,"../util/path":144,"./findRelation":140}],140:[function(e,t,n){"use strict";function r(e,t,n){var r=e.extra.hrefInfo.minimumPathOnly,o=e.scheme===t.scheme||!e.scheme,i=o&&(e.auth===t.auth||n.removeAuth||r),a=n.ignore_www?"stripped":"full",u=i&&(e.host[a]===t.host[a]||r),s=u&&(e.port===t.port||r);e.extra.relation.minimumScheme=o,e.extra.relation.minimumAuth=i,e.extra.relation.minimumHost=u,e.extra.relation.minimumPort=s,e.extra.relation.maximumScheme=!o||o&&!i,e.extra.relation.maximumAuth=!o||o&&!u,e.extra.relation.maximumHost=!o||o&&!s}function o(e,t,n){var r=e.extra.hrefInfo.minimumQueryOnly,o=e.extra.hrefInfo.minimumHashOnly,i=e.extra.hrefInfo.empty,a=e.extra.relation.minimumPort,u=e.extra.relation.minimumScheme,s=a&&e.path.absolute.string===t.path.absolute.string,l=e.resource===t.resource||!e.resource&&t.extra.resourceIsIndex||n.removeDirectoryIndexes&&e.extra.resourceIsIndex&&!t.resource,c=s&&(l||r||o||i),f=n.removeEmptyQueries?"stripped":"full",p=e.query.string[f],h=t.query.string[f],d=c&&!!p&&p===h||(o||i)&&!e.extra.hrefInfo.separatorOnlyQuery,m=d&&e.hash===t.hash;e.extra.relation.minimumPath=s,e.extra.relation.minimumResource=c,e.extra.relation.minimumQuery=d,e.extra.relation.minimumHash=m,e.extra.relation.maximumPort=!u||u&&!s,e.extra.relation.maximumPath=!u||u&&!c,e.extra.relation.maximumResource=!u||u&&!d,e.extra.relation.maximumQuery=!u||u&&!m,e.extra.relation.maximumHash=!u||u&&!m,e.extra.relation.overridesQuery=s&&e.extra.relation.maximumResource&&!d&&!!h}t.exports={pathOn:o,upToPath:r}},{}],141:[function(e,t,n){"use strict";function r(e,t,n){return o(t,e,n),i(t,e,n),t}var o=e("./absolutize"),i=e("./relativize");t.exports=r},{"./absolutize":139,"./relativize":142}],142:[function(e,t,n){"use strict";function r(e,t){var n=[],r=!0,o=-1;return t.forEach(function(t,i){r&&(e[i]!==t?r=!1:o=i),r||n.push("..")}),e.forEach(function(e,t){t>o&&n.push(e)}),n}function o(e,t,n){if(e.extra.relation.minimumScheme){var o=r(e.path.absolute.array,t.path.absolute.array);e.path.relative.array=o,e.path.relative.string=i.join(o)}}var i=e("../util/path");t.exports=o},{"../util/path":144}],143:[function(e,t,n){"use strict";function r(e){if(e instanceof Object){var t=e instanceof Array?[]:{};for(var n in e)e.hasOwnProperty(n)&&(t[n]=r(e[n]));return t}return e}function o(e){return!!e&&"object"==typeof e&&e.constructor===Object}function i(e,t){if(e instanceof Object&&t instanceof Object)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}t.exports={clone:r,isPlainObject:o,shallowMerge:i}},{}],144:[function(e,t,n){"use strict";function r(e){return e.length>0?e.join("/")+"/":""}function o(e){var t=[];return e.forEach(function(e){".."!==e?"."!==e&&t.push(e):t.length>0&&t.splice(t.length-1,1)}),t}t.exports={join:r,resolveDotSegments:o}},{}],145:[function(e,t,n){function r(){this._array=[],this._set=Object.create(null)}var o=e("./util"),i=Object.prototype.hasOwnProperty;r.fromArray=function(e,t){for(var n=new r,o=0,i=e.length;o<i;o++)n.add(e[o],t);return n},r.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(e,t){var n=o.toSetString(e),r=i.call(this._set,n),a=this._array.length;r&&!t||this._array.push(e),r||(this._set[n]=a)},r.prototype.has=function(e){var t=o.toSetString(e);return i.call(this._set,t)},r.prototype.indexOf=function(e){var t=o.toSetString(e);if(i.call(this._set,t))return this._set[t];throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},n.ArraySet=r},{"./util":154}],146:[function(e,t,n){function r(e){return e<0?1+(-e<<1):0+(e<<1)}function o(e){var t=e>>1;return 1==(1&e)?-t:t}var i=e("./base64");n.encode=function(e){var t,n="",o=r(e);do{t=31&o,(o>>>=5)>0&&(t|=32),n+=i.encode(t)}while(o>0);return n},n.decode=function(e,t,n){var r,a,u=e.length,s=0,l=0;do{if(t>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=i.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&a),s+=(a&=31)<<l,l+=5}while(r);n.value=o(s),n.rest=t}},{"./base64":147}],147:[function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");n.encode=function(e){if(0<=e&&e<r.length)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},n.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},{}],148:[function(e,t,n){function r(e,t,o,i,a,u){var s=Math.floor((t-e)/2)+e,l=a(o,i[s],!0);return 0===l?s:l>0?t-s>1?r(s,t,o,i,a,u):u==n.LEAST_UPPER_BOUND?t<i.length?t:-1:s:s-e>1?r(e,s,o,i,a,u):u==n.LEAST_UPPER_BOUND?s:e<0?-1:e}n.GREATEST_LOWER_BOUND=1,n.LEAST_UPPER_BOUND=2,n.search=function(e,t,o,i){if(0===t.length)return-1;var a=r(-1,t.length,e,t,o,i||n.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===o(t[a],t[a-1],!0);)--a;return a}},{}],149:[function(e,t,n){function r(e,t){var n=e.generatedLine,r=t.generatedLine,o=e.generatedColumn,a=t.generatedColumn;return r>n||r==n&&a>=o||i.compareByGeneratedPositionsInflated(e,t)<=0}function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var i=e("./util");o.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},o.prototype.add=function(e){r(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(i.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},n.MappingList=o},{"./util":154}],150:[function(e,t,n){function r(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function o(e,t){return Math.round(e+Math.random()*(t-e))}function i(e,t,n,a){if(n<a){var u=n-1;r(e,o(n,a),a);for(var s=e[a],l=n;l<a;l++)t(e[l],s)<=0&&r(e,u+=1,l);r(e,u+1,l);var c=u+1;i(e,t,n,c-1),i(e,t,c+1,a)}}n.quickSort=function(e,t){i(e,t,0,e.length-1)}},{}],151:[function(e,t,n){function r(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new a(t):new o(t)}function o(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=u.getArg(t,"version"),r=u.getArg(t,"sources"),o=u.getArg(t,"names",[]),i=u.getArg(t,"sourceRoot",null),a=u.getArg(t,"sourcesContent",null),s=u.getArg(t,"mappings"),c=u.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(String).map(u.normalize).map(function(e){return i&&u.isAbsolute(i)&&u.isAbsolute(e)?u.relative(i,e):e}),this._names=l.fromArray(o.map(String),!0),this._sources=l.fromArray(r,!0),this.sourceRoot=i,this.sourcesContent=a,this._mappings=s,this.file=c}function i(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function a(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=u.getArg(t,"version"),o=u.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new l,this._names=new l;var i={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=u.getArg(e,"offset"),n=u.getArg(t,"line"),o=u.getArg(t,"column");if(n<i.line||n===i.line&&o<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=t,{generatedOffset:{generatedLine:n+1,generatedColumn:o+1},consumer:new r(u.getArg(e,"map"))}})}var u=e("./util"),s=e("./binary-search"),l=e("./array-set").ArraySet,c=e("./base64-vlq"),f=e("./quick-sort").quickSort;r.fromSourceMap=function(e){return o.fromSourceMap(e)},r.prototype._version=3,r.prototype.__generatedMappings=null,Object.defineProperty(r.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),r.prototype.__originalMappings=null,Object.defineProperty(r.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),r.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},r.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.GREATEST_LOWER_BOUND=1,r.LEAST_UPPER_BOUND=2,r.prototype.eachMapping=function(e,t,n){var o,i=t||null;switch(n||r.GENERATED_ORDER){case r.GENERATED_ORDER:o=this._generatedMappings;break;case r.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;o.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=a&&(t=u.join(a,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,i)},r.prototype.allGeneratedPositionsFor=function(e){var t=u.getArg(e,"line"),n={source:u.getArg(e,"source"),originalLine:t,originalColumn:u.getArg(e,"column",0)};if(null!=this.sourceRoot&&(n.source=u.relative(this.sourceRoot,n.source)),!this._sources.has(n.source))return[];n.source=this._sources.indexOf(n.source);var r=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",u.compareByOriginalPositions,s.LEAST_UPPER_BOUND);if(o>=0){var i=this._originalMappings[o];if(void 0===e.column)for(var a=i.originalLine;i&&i.originalLine===a;)r.push({line:u.getArg(i,"generatedLine",null),column:u.getArg(i,"generatedColumn",null),lastColumn:u.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var l=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==l;)r.push({line:u.getArg(i,"generatedLine",null),column:u.getArg(i,"generatedColumn",null),lastColumn:u.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return r},n.SourceMapConsumer=r,o.prototype=Object.create(r.prototype),o.prototype.consumer=r,o.fromSourceMap=function(e){var t=Object.create(o.prototype),n=t._names=l.fromArray(e._names.toArray(),!0),r=t._sources=l.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),s=t.__generatedMappings=[],c=t.__originalMappings=[],p=0,h=a.length;p<h;p++){var d=a[p],m=new i;m.generatedLine=d.generatedLine,m.generatedColumn=d.generatedColumn,d.source&&(m.source=r.indexOf(d.source),m.originalLine=d.originalLine,m.originalColumn=d.originalColumn,d.name&&(m.name=n.indexOf(d.name)),c.push(m)),s.push(m)}return f(t.__originalMappings,u.compareByOriginalPositions),t},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?u.join(this.sourceRoot,e):e},this)}}),o.prototype._parseMappings=function(e,t){for(var n,r,o,a,s,l=1,p=0,h=0,d=0,m=0,g=0,v=e.length,b=0,y={},_={},w=[],A=[];b<v;)if(";"===e.charAt(b))l++,b++,p=0;else if(","===e.charAt(b))b++;else{for((n=new i).generatedLine=l,a=b;a<v&&!this._charIsMappingSeparator(e,a);a++);if(r=e.slice(b,a),o=y[r])b+=r.length;else{for(o=[];b<a;)c.decode(e,b,_),s=_.value,b=_.rest,o.push(s);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");y[r]=o}n.generatedColumn=p+o[0],p=n.generatedColumn,o.length>1&&(n.source=m+o[1],m+=o[1],n.originalLine=h+o[2],h=n.originalLine,n.originalLine+=1,n.originalColumn=d+o[3],d=n.originalColumn,o.length>4&&(n.name=g+o[4],g+=o[4])),A.push(n),"number"==typeof n.originalLine&&w.push(n)}f(A,u.compareByGeneratedPositionsDeflated),this.__generatedMappings=A,f(w,u.compareByOriginalPositions),this.__originalMappings=w},o.prototype._findMapping=function(e,t,n,r,o,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return s.search(e,t,o,i)},o.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(e){var t={generatedLine:u.getArg(e,"line"),generatedColumn:u.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",u.compareByGeneratedPositionsDeflated,u.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(n>=0){var o=this._generatedMappings[n];if(o.generatedLine===t.generatedLine){var i=u.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=u.join(this.sourceRoot,i)));var a=u.getArg(o,"name",null);return null!==a&&(a=this._names.at(a)),{source:i,line:u.getArg(o,"originalLine",null),column:u.getArg(o,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},o.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=u.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=u.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(e){var t=u.getArg(e,"source");if(null!=this.sourceRoot&&(t=u.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var n={source:t=this._sources.indexOf(t),originalLine:u.getArg(e,"line"),originalColumn:u.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",u.compareByOriginalPositions,u.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===n.source)return{line:u.getArg(i,"generatedLine",null),column:u.getArg(i,"generatedColumn",null),lastColumn:u.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.BasicSourceMapConsumer=o,a.prototype=Object.create(r.prototype),a.prototype.constructor=r,a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),a.prototype.originalPositionFor=function(e){var t={generatedLine:u.getArg(e,"line"),generatedColumn:u.getArg(e,"column")},n=s.search(t,this._sections,function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn}),r=this._sections[n];return r?r.consumer.originalPositionFor({line:t.generatedLine-(r.generatedOffset.generatedLine-1),column:t.generatedColumn-(r.generatedOffset.generatedLine===t.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},a.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer.sources.indexOf(u.getArg(e,"source"))){var r=n.consumer.generatedPositionFor(e);if(r)return{line:r.line+(n.generatedOffset.generatedLine-1),column:r.column+(n.generatedOffset.generatedLine===r.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},a.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var r=this._sections[n],o=r.consumer._generatedMappings,i=0;i<o.length;i++){var a=o[i],s=r.consumer._sources.at(a.source);null!==r.consumer.sourceRoot&&(s=u.join(r.consumer.sourceRoot,s)),this._sources.add(s),s=this._sources.indexOf(s);var l=r.consumer._names.at(a.name);this._names.add(l),l=this._names.indexOf(l);var c={source:s,generatedLine:a.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(r.generatedOffset.generatedLine===a.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:l};this.__generatedMappings.push(c),"number"==typeof c.originalLine&&this.__originalMappings.push(c)}f(this.__generatedMappings,u.compareByGeneratedPositionsDeflated),f(this.__originalMappings,u.compareByOriginalPositions)},n.IndexedSourceMapConsumer=a},{"./array-set":145,"./base64-vlq":146,"./binary-search":148,"./quick-sort":150,"./util":154}],152:[function(e,t,n){function r(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new a,this._names=new a,this._mappings=new u,this._sourcesContents=null}var o=e("./base64-vlq"),i=e("./util"),a=e("./array-set").ArraySet,u=e("./mapping-list").MappingList;r.prototype._version=3,r.fromSourceMap=function(e){var t=e.sourceRoot,n=new r({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=i.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&n.setSourceContent(t,r)}),n},r.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),n=i.getArg(e,"original",null),r=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,o),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:o})},r.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=i.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},r.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var o=this._sourceRoot;null!=o&&(r=i.relative(o,r));var u=new a,s=new a;this._mappings.unsortedForEach(function(t){if(t.source===r&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=n&&(t.source=i.join(n,t.source)),null!=o&&(t.source=i.relative(o,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var l=t.source;null==l||u.has(l)||u.add(l);var c=t.name;null==c||s.has(c)||s.add(c)},this),this._sources=u,this._names=s,e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=i.join(n,t)),null!=o&&(t=i.relative(o,t)),this.setSourceContent(t,r))},this)},r.prototype._validateMapping=function(e,t,n,r){if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},r.prototype._serializeMappings=function(){for(var e,t,n,r,a=0,u=1,s=0,l=0,c=0,f=0,p="",h=this._mappings.toArray(),d=0,m=h.length;d<m;d++){if(t=h[d],e="",t.generatedLine!==u)for(a=0;t.generatedLine!==u;)e+=";",u++;else if(d>0){if(!i.compareByGeneratedPositionsInflated(t,h[d-1]))continue;e+=","}e+=o.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=o.encode(r-f),f=r,e+=o.encode(t.originalLine-1-l),l=t.originalLine-1,e+=o.encode(t.originalColumn-s),s=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=o.encode(n-c),c=n)),p+=e}return p},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},r.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},r.prototype.toString=function(){return JSON.stringify(this.toJSON())},n.SourceMapGenerator=r},{"./array-set":145,"./base64-vlq":146,"./mapping-list":149,"./util":154}],153:[function(e,t,n){function r(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==o?null:o,this[a]=!0,null!=r&&this.add(r)}var o=e("./source-map-generator").SourceMapGenerator,i=e("./util"),a="$$$isSourceNode$$$";r.fromStringWithSourceMap=function(e,t,n){function o(e,t){if(null===e||void 0===e.source)a.add(t);else{var o=n?i.join(n,e.source):e.source;a.add(new r(e.originalLine,e.originalColumn,o,t,e.name))}}var a=new r,u=e.split(/(\r?\n)/),s=function(){return u.shift()+(u.shift()||"")},l=1,c=0,f=null;return t.eachMapping(function(e){if(null!==f){if(!(l<e.generatedLine)){var t=(n=u[0]).substr(0,e.generatedColumn-c);return u[0]=n.substr(e.generatedColumn-c),c=e.generatedColumn,o(f,t),void(f=e)}o(f,s()),l++,c=0}for(;l<e.generatedLine;)a.add(s()),l++;if(c<e.generatedColumn){var n=u[0];a.add(n.substr(0,e.generatedColumn)),u[0]=n.substr(e.generatedColumn),c=e.generatedColumn}f=e},this),u.length>0&&(f&&o(f,s()),a.add(u.join(""))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=i.join(n,e)),a.setSourceContent(e,r))}),a},r.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[a]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},r.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[a]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},r.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[a]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},r.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},r.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[a]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},r.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][a]&&this.children[t].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),t=0,n=r.length;t<n;t++)e(i.fromSetString(r[t]),this.sourceContents[r[t]])},r.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},r.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new o(e),r=!1,i=null,a=null,u=null,s=null;return this.walk(function(e,o){t.code+=e,null!==o.source&&null!==o.line&&null!==o.column?(i===o.source&&a===o.line&&u===o.column&&s===o.name||n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:t.line,column:t.column},name:o.name}),i=o.source,a=o.line,u=o.column,s=o.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),i=null,r=!1);for(var l=0,c=e.length;l<c;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===c?(i=null,r=!1):r&&n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:t.line,column:t.column},name:o.name})):t.column++}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},n.SourceNode=r},{"./source-map-generator":152,"./util":154}],154:[function(e,t,n){function r(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')}function o(e){var t=e.match(v);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function a(e){var t=e,r=o(e);if(r){if(!r.path)return e;t=r.path}for(var a,u=n.isAbsolute(t),s=t.split(/\/+/),l=0,c=s.length-1;c>=0;c--)"."===(a=s[c])?s.splice(c,1):".."===a?l++:l>0&&(""===a?(s.splice(c+1,l),l=0):(s.splice(c,2),l--));return""===(t=s.join("/"))&&(t=u?"/":"."),r?(r.path=t,i(r)):t}function u(e,t){""===e&&(e="."),""===t&&(t=".");var n=o(t),r=o(e);if(r&&(e=r.path||"/"),n&&!n.scheme)return r&&(n.scheme=r.scheme),i(n);if(n||t.match(b))return t;if(r&&!r.host&&!r.path)return r.host=t,i(r);var u="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return r?(r.path=u,i(r)):u}function s(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)}function l(e){return e}function c(e){return p(e)?"$"+e:e}function f(e){return p(e)?e.slice(1):e}function p(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function h(e,t,n){var r=e.source-t.source;return 0!==r?r:0!==(r=e.originalLine-t.originalLine)?r:0!==(r=e.originalColumn-t.originalColumn)||n?r:0!==(r=e.generatedColumn-t.generatedColumn)?r:(r=e.generatedLine-t.generatedLine,0!==r?r:e.name-t.name)}function d(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r?r:0!==(r=e.generatedColumn-t.generatedColumn)||n?r:0!==(r=e.source-t.source)?r:0!==(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,0!==r?r:e.name-t.name)}function m(e,t){return e===t?0:e>t?1:-1}function g(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!==(n=e.generatedColumn-t.generatedColumn)?n:0!==(n=m(e.source,t.source))?n:0!==(n=e.originalLine-t.originalLine)?n:(n=e.originalColumn-t.originalColumn,0!==n?n:m(e.name,t.name))}n.getArg=r;var v=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,b=/^data:.+\,.+$/;n.urlParse=o,n.urlGenerate=i,n.normalize=a,n.join=u,n.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(v)},n.relative=s;var y=function(){return!("__proto__"in Object.create(null))}();n.toSetString=y?l:c,n.fromSetString=y?l:f,n.compareByOriginalPositions=h,n.compareByGeneratedPositionsDeflated=d,n.compareByGeneratedPositionsInflated=g},{}],155:[function(e,t,n){n.SourceMapGenerator=e("./lib/source-map-generator").SourceMapGenerator,n.SourceMapConsumer=e("./lib/source-map-consumer").SourceMapConsumer,n.SourceNode=e("./lib/source-node").SourceNode},{"./lib/source-map-consumer":151,"./lib/source-map-generator":152,"./lib/source-node":153}],156:[function(e,t,n){(function(t){var r=e("./lib/request"),o=e("xtend"),i=e("builtin-status-codes"),a=e("url"),u=n;u.request=function(e,n){e="string"==typeof e?a.parse(e):o(e);var i=-1===t.location.protocol.search(/^https?:$/)?"http:":"",u=e.protocol||i,s=e.hostname||e.host,l=e.port,c=e.path||"/";s&&-1!==s.indexOf(":")&&(s="["+s+"]"),e.url=(s?u+"//"+s:"")+(l?":"+l:"")+c,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var f=new r(e);return n&&f.on("response",n),f},u.get=function(e,t){var n=u.request(e,t);return n.end(),n},u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.STATUS_CODES=i,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/request":158,"builtin-status-codes":6,url:161,xtend:165}],157:[function(e,t,n){(function(e){function t(){if(void 0!==i)return i;if(e.XMLHttpRequest){i=new e.XMLHttpRequest;try{i.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){i=null}}else i=null;return i}function r(e){var n=t();if(!n)return!1;try{return n.responseType=e,n.responseType===e}catch(e){}return!1}function o(e){return"function"==typeof e}n.fetch=o(e.fetch)&&o(e.ReadableStream),n.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),n.blobConstructor=!0}catch(e){}var i,a=void 0!==e.ArrayBuffer,u=a&&o(e.ArrayBuffer.prototype.slice);n.arraybuffer=n.fetch||a&&r("arraybuffer"),n.msstream=!n.fetch&&u&&r("ms-stream"),n.mozchunkedarraybuffer=!n.fetch&&a&&r("moz-chunked-arraybuffer"),n.overrideMimeType=n.fetch||!!t()&&o(t().overrideMimeType),n.vbArray=o(e.VBArray),i=null}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],158:[function(e,t,n){(function(n,r,o){function i(e,t){return u.fetch&&t?"fetch":u.mozchunkedarraybuffer?"moz-chunked-arraybuffer":u.msstream?"ms-stream":u.arraybuffer&&e?"arraybuffer":u.vbArray&&e?"text:vbarray":"text"}function a(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}}var u=e("./capability"),s=e("inherits"),l=e("./response"),c=e("readable-stream"),f=e("to-arraybuffer"),p=l.IncomingMessage,h=l.readyStates,d=t.exports=function(e){var t=this;c.Writable.call(t),t._opts=e,t._body=[],t._headers={},e.auth&&t.setHeader("Authorization","Basic "+new o(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(n){t.setHeader(n,e.headers[n])});var n,r=!0;if("disable-fetch"===e.mode||"timeout"in e)r=!1,n=!0;else if("prefer-streaming"===e.mode)n=!1;else if("allow-wrong-content-type"===e.mode)n=!u.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");n=!0}t._mode=i(n,r),t.on("finish",function(){t._onFinish()})};s(d,c.Writable),d.prototype.setHeader=function(e,t){var n=this,r=e.toLowerCase();-1===m.indexOf(r)&&(n._headers[r]={name:e,value:t})},d.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},d.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},d.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts,i=e._headers,a=null;"GET"!==t.method&&"HEAD"!==t.method&&(a=u.blobConstructor?new r.Blob(e._body.map(function(e){return f(e)}),{type:(i["content-type"]||{}).value||""}):o.concat(e._body).toString());var s=[];if(Object.keys(i).forEach(function(e){var t=i[e].name,n=i[e].value;Array.isArray(n)?n.forEach(function(e){s.push([t,e])}):s.push([t,n])}),"fetch"===e._mode)r.fetch(e._opts.url,{method:e._opts.method,headers:s,body:a||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin"}).then(function(t){e._fetchResponse=t,e._connect()},function(t){e.emit("error",t)});else{var l=e._xhr=new r.XMLHttpRequest;try{l.open(e._opts.method,e._opts.url,!0)}catch(t){return void n.nextTick(function(){e.emit("error",t)})}"responseType"in l&&(l.responseType=e._mode.split(":")[0]),"withCredentials"in l&&(l.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in l&&l.overrideMimeType("text/plain; charset=x-user-defined"),"timeout"in t&&(l.timeout=t.timeout,l.ontimeout=function(){e.emit("timeout")}),s.forEach(function(e){l.setRequestHeader(e[0],e[1])}),e._response=null,l.onreadystatechange=function(){switch(l.readyState){case h.LOADING:case h.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(l.onprogress=function(){e._onXHRProgress()}),l.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{l.send(a)}catch(t){return void n.nextTick(function(){e.emit("error",t)})}}}},d.prototype._onXHRProgress=function(){var e=this;a(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},d.prototype._connect=function(){var e=this;e._destroyed||(e._response=new p(e._xhr,e._fetchResponse,e._mode),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},d.prototype._write=function(e,t,n){this._body.push(e),n()},d.prototype.abort=d.prototype.destroy=function(){var e=this;e._destroyed=!0,e._response&&(e._response._destroyed=!0),e._xhr&&e._xhr.abort()},d.prototype.end=function(e,t,n){var r=this;"function"==typeof e&&(n=e,e=void 0),c.Writable.prototype.end.call(r,e,t,n)},d.prototype.flushHeaders=function(){},d.prototype.setTimeout=function(){},d.prototype.setNoDelay=function(){},d.prototype.setSocketKeepAlive=function(){};var m=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"./capability":157,"./response":159,_process:114,buffer:5,inherits:107,"readable-stream":127,"to-arraybuffer":160}],159:[function(e,t,n){(function(t,r,o){var i=e("./capability"),a=e("inherits"),u=e("readable-stream"),s=n.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},l=n.IncomingMessage=function(e,n,r){function a(){l.read().then(function(e){if(!s._destroyed){if(e.done)return void s.push(null);s.push(new o(e.value)),a()}}).catch(function(e){s.emit("error",e)})}var s=this;if(u.Readable.call(s),s._mode=r,s.headers={},s.rawHeaders=[],s.trailers={},s.rawTrailers=[],s.on("end",function(){t.nextTick(function(){s.emit("close")})}),"fetch"===r){s._fetchResponse=n,s.url=n.url,s.statusCode=n.status,s.statusMessage=n.statusText,n.headers.forEach(function(e,t){s.headers[t.toLowerCase()]=e,s.rawHeaders.push(t,e)});var l=n.body.getReader();a()}else if(s._xhr=e,s._pos=0,s.url=e.responseURL,s.statusCode=e.status,s.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach(function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(void 0===s.headers[n]&&(s.headers[n]=[]),s.headers[n].push(t[2])):void 0!==s.headers[n]?s.headers[n]+=", "+t[2]:s.headers[n]=t[2],s.rawHeaders.push(t[1],t[2])}}),s._charset="x-user-defined",!i.overrideMimeType){var c=s.rawHeaders["mime-type"];if(c){var f=c.match(/;\s*charset=([^;])(;|$)/);f&&(s._charset=f[1].toLowerCase())}s._charset||(s._charset="utf-8")}};a(l,u.Readable),l.prototype._read=function(){},l.prototype._onXHRProgress=function(){var e=this,t=e._xhr,n=null;switch(e._mode){case"text:vbarray":if(t.readyState!==s.DONE)break;try{n=new r.VBArray(t.responseBody).toArray()}catch(e){}if(null!==n){e.push(new o(n));break}case"text":try{n=t.responseText}catch(t){e._mode="text:vbarray";break}if(n.length>e._pos){var i=n.substr(e._pos);if("x-user-defined"===e._charset){for(var a=new o(i.length),u=0;u<i.length;u++)a[u]=255&i.charCodeAt(u);e.push(a)}else e.push(i,e._charset);e._pos=n.length}break;case"arraybuffer":if(t.readyState!==s.DONE||!t.response)break;n=t.response,e.push(new o(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=t.response,t.readyState!==s.LOADING||!n)break;e.push(new o(new Uint8Array(n)));break;case"ms-stream":if(n=t.response,t.readyState!==s.LOADING)break;var l=new r.MSStreamReader;l.onprogress=function(){l.result.byteLength>e._pos&&(e.push(new o(new Uint8Array(l.result.slice(e._pos)))),e._pos=l.result.byteLength)},l.onload=function(){e.push(null)},l.readAsArrayBuffer(n)}e._xhr.readyState===s.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"./capability":157,_process:114,buffer:5,inherits:107,"readable-stream":127}],160:[function(e,t,n){var r=e("buffer").Buffer;t.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(r.isBuffer(e)){for(var t=new Uint8Array(e.length),n=e.length,o=0;o<n;o++)t[o]=e[o];return t.buffer}throw new Error("Argument must be a Buffer")}},{buffer:5}],161:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(e,t,n){if(e&&l.isObject(e)&&e instanceof r)return e;var o=new r;return o.parse(e,t,n),o}function i(e){return l.isString(e)&&(e=o(e)),e instanceof r?e.format():r.prototype.format.call(e)}function a(e,t){return o(e,!1,!0).resolve(t)}function u(e,t){return e?o(e,!1,!0).resolveObject(t):t}var s=e("punycode"),l=e("./util");n.parse=o,n.resolve=a,n.resolveObject=u,n.format=i,n.Url=r;var c=/^([a-z0-9.+-]+:)/i,f=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,h=["<",">",'"',"`"," ","\r","\n","\t"],d=["{","}","|","\\","^","`"].concat(h),m=["'"].concat(d),g=["%","/","?",";","#"].concat(m),v=["/","?","#"],b={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},_={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},w=e("querystring");r.prototype.parse=function(e,t,n){if(!l.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),o=-1!==r&&r<e.indexOf("#")?"?":"#",i=e.split(o);i[0]=i[0].replace(/\\/g,"/");var a=e=i.join(o);if(a=a.trim(),!n&&1===e.split("#").length){var u=p.exec(a);if(u)return this.path=a,this.href=a,this.pathname=u[1],u[2]?(this.search=u[2],this.query=t?w.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var f=c.exec(a);if(f){var h=(f=f[0]).toLowerCase();this.protocol=h,a=a.substr(f.length)}if(n||f||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var d="//"===a.substr(0,2);!d||f&&y[f]||(a=a.substr(2),this.slashes=!0)}if(!y[f]&&(d||f&&!_[f])){for(var A=-1,E=0;E<v.length;E++)-1!==(k=a.indexOf(v[E]))&&(-1===A||k<A)&&(A=k);var x,C;-1!==(C=-1===A?a.lastIndexOf("@"):a.lastIndexOf("@",A))&&(x=a.slice(0,C),a=a.slice(C+1),this.auth=decodeURIComponent(x)),A=-1;for(E=0;E<g.length;E++){var k=a.indexOf(g[E]);-1!==k&&(-1===A||k<A)&&(A=k)}-1===A&&(A=a.length),this.host=a.slice(0,A),a=a.slice(A),this.parseHost(),this.hostname=this.hostname||"";var O="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!O)for(var B=this.hostname.split(/\./),E=0,S=B.length;E<S;E++){var D=B[E];if(D&&!D.match(/^[+a-z0-9A-Z_-]{0,63}$/)){for(var T="",R=0,F=D.length;R<F;R++)D.charCodeAt(R)>127?T+="x":T+=D[R];if(!T.match(/^[+a-z0-9A-Z_-]{0,63}$/)){var L=B.slice(0,E),M=B.slice(E+1),P=D.match(/^([+a-z0-9A-Z_-]{0,63})(.*)$/);P&&(L.push(P[1]),M.unshift(P[2])),M.length&&(a="/"+M.join(".")+a),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=s.toASCII(this.hostname));var U=this.port?":"+this.port:"",N=this.hostname||"";this.host=N+U,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!b[h])for(var E=0,S=m.length;E<S;E++){var q=m[E];if(-1!==a.indexOf(q)){var z=encodeURIComponent(q);z===q&&(z=escape(q)),a=a.split(q).join(z)}}var I=a.indexOf("#");-1!==I&&(this.hash=a.substr(I),a=a.slice(0,I));var j=a.indexOf("?");if(-1!==j?(this.search=a.substr(j),this.query=a.substr(j+1),t&&(this.query=w.parse(this.query)),a=a.slice(0,j)):t&&(this.search="",this.query={}),a&&(this.pathname=a),_[h]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var U=this.pathname||"",V=this.search||"";this.path=U+V}return this.href=this.format(),this},r.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&l.isObject(this.query)&&Object.keys(this.query).length&&(i=w.stringify(this.query));var a=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||_[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),a=a.replace("#","%23"),t+o+n+a+r},r.prototype.resolve=function(e){return this.resolveObject(o(e,!1,!0)).format()},r.prototype.resolveObject=function(e){if(l.isString(e)){var t=new r;t.parse(e,!1,!0),e=t}for(var n=new r,o=Object.keys(this),i=0;i<o.length;i++){var a=o[i];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),s=0;s<u.length;s++){var c=u[s];"protocol"!==c&&(n[c]=e[c])}return _[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!_[e.protocol]){for(var f=Object.keys(e),p=0;p<f.length;p++){var h=f[p];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||y[e.protocol])n.pathname=e.pathname;else{for(E=(e.pathname||"").split("/");E.length&&!(e.host=E.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==E[0]&&E.unshift(""),E.length<2&&E.unshift(""),n.pathname=E.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var d=n.pathname||"",m=n.search||"";n.path=d+m}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var g=n.pathname&&"/"===n.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),b=v||g||n.host&&e.pathname,w=b,A=n.pathname&&n.pathname.split("/")||[],E=e.pathname&&e.pathname.split("/")||[],x=n.protocol&&!_[n.protocol];if(x&&(n.hostname="",n.port=null,n.host&&(""===A[0]?A[0]=n.host:A.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===E[0]?E[0]=e.host:E.unshift(e.host)),e.host=null),b=b&&(""===E[0]||""===A[0])),v)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,A=E;else if(E.length)A||(A=[]),A.pop(),A=A.concat(E),n.search=e.search,n.query=e.query;else if(!l.isNullOrUndefined(e.search))return x&&(n.hostname=n.host=A.shift(),(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift())),n.search=e.search,n.query=e.query,l.isNull(n.pathname)&&l.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!A.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=A.slice(-1)[0],k=(n.host||e.host||A.length>1)&&("."===C||".."===C)||""===C,O=0,B=A.length;B>=0;B--)"."===(C=A[B])?A.splice(B,1):".."===C?(A.splice(B,1),O++):O&&(A.splice(B,1),O--);if(!b&&!w)for(;O--;O)A.unshift("..");!b||""===A[0]||A[0]&&"/"===A[0].charAt(0)||A.unshift(""),k&&"/"!==A.join("/").substr(-1)&&A.push("");var S=""===A[0]||A[0]&&"/"===A[0].charAt(0);if(x){n.hostname=n.host=S?"":A.length?A.shift():"";var D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");D&&(n.auth=D.shift(),n.host=n.hostname=D.shift())}return(b=b||n.host&&A.length)&&!S&&A.unshift(""),A.length?n.pathname=A.join("/"):(n.pathname=null,n.path=null),l.isNull(n.pathname)&&l.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var e=this.host,t=f.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{"./util":162,punycode:115,querystring:118}],162:[function(e,t,n){"use strict";t.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},{}],163:[function(e,t,n){(function(e){function n(e,t){function n(){if(!o){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),o=!0}return e.apply(this,arguments)}if(r("noDeprecation"))return e;var o=!1;return n}function r(t){try{if(!e.localStorage)return!1}catch(e){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],164:[function(e,t,n){n.baseChar=/[A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7\u04C8\u04CB\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B36-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60\u0D61\u0E01-\u0E2E\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD\u0EAE\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102\u1103\u1105-\u1107\u1109\u110B\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D\u116E\u1172\u1173\u1175\u119E\u11A8\u11AB\u11AE\u11AF\u11B7\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A\u212B\u212E\u2180-\u2182\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\uAC00-\uD7A3]/,n.ideographic=/[\u3007\u3021-\u3029\u4E00-\u9FA5]/,n.letter=/[A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7\u04C8\u04CB\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B36-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60\u0D61\u0E01-\u0E2E\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD\u0EAE\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102\u1103\u1105-\u1107\u1109\u110B\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D\u116E\u1172\u1173\u1175\u119E\u11A8\u11AB\u11AE\u11AF\u11B7\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A\u212B\u212E\u2180-\u2182\u3007\u3021-\u3029\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\u4E00-\u9FA5\uAC00-\uD7A3]/,n.combiningChar=/[\u0300-\u0345\u0360\u0361\u0483-\u0486\u0591-\u05A1\u05A3-\u05B9\u05BB-\u05BD\u05BF\u05C1\u05C2\u05C4\u064B-\u0652\u0670\u06D6-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0901-\u0903\u093C\u093E-\u094D\u0951-\u0954\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A02\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A70\u0A71\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0B01-\u0B03\u0B3C\u0B3E-\u0B43\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B82\u0B83\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C01-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C82\u0C83\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0D02\u0D03\u0D3E-\u0D43\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86-\u0F8B\u0F90-\u0F95\u0F97\u0F99-\u0FAD\u0FB1-\u0FB7\u0FB9\u20D0-\u20DC\u20E1\u302A-\u302F\u3099\u309A]/,n.digit=/[0-9\u0660-\u0669\u06F0-\u06F9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE7-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29]/,n.extender=/[\xB7\u02D0\u02D1\u0387\u0640\u0E46\u0EC6\u3005\u3031-\u3035\u309D\u309E\u30FC-\u30FE]/},{}],165:[function(e,t,n){function r(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n)o.call(n,r)&&(e[r]=n[r])}return e}t.exports=r;var o=Object.prototype.hasOwnProperty},{}],166:[function(e,t,n){"use strict";function r(e){return u(e,!0)}function o(e){var t=s.source+"(?:\\s*("+i(e)+")[ \\t\\n\\f\\r]*(?:"+c.join("|")+"))?";if(e.customAttrSurround){for(var n=[],r=e.customAttrSurround.length-1;r>=0;r--)n[r]="(?:("+e.customAttrSurround[r][0].source+")\\s*"+t+"\\s*("+e.customAttrSurround[r][1].source+"))";n.push("(?:"+t+")"),t="(?:"+n.join("|")+")"}return new RegExp("^\\s*"+t)}function i(e){return l.concat(e.customAttrAssign||[]).map(function(e){return"(?:"+e.source+")"}).join("|")}function a(e,t){function n(e){var t=e.match(p);if(t){var n={tagName:t[1],attrs:[]};e=e.slice(t[0].length);for(var r,o;!(r=e.match(h))&&(o=e.match(c));)e=e.slice(o[0].length),n.attrs.push(o);if(r)return n.unarySlash=r[1],n.rest=e.slice(r[0].length),n}}function r(e,n){var r;if(n){var o=n.toLowerCase();for(r=l.length-1;r>=0&&l[r].tag.toLowerCase()!==o;r--);}else r=0;if(r>=0){for(var a=l.length-1;a>=r;a--)t.end&&t.end(l[a].tag,l[a].attrs,a>r||!e);l.length=r,i=r&&l[r-1].tag}else"br"===n.toLowerCase()?t.start&&t.start(n,[],!0,""):"p"===n.toLowerCase()&&(t.start&&t.start(n,[],!1,"",!0),t.end&&t.end(n,[]))}for(var i,a,u,s,l=[],c=o(t);e;){if(a=e,i&&w(i)){var f=i.toLowerCase(),x=E[f]||(E[f]=new RegExp("([\\s\\S]*?)</"+f+"[^>]*>","i"));e=e.replace(x,function(e,n){return"script"!==f&&"style"!==f&&"noscript"!==f&&(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),t.chars&&t.chars(n),""}),r("</"+f+">",f)}else{var C=e.indexOf("<");if(0===C){if(/^<!--/.test(e)){var k=e.indexOf("--\x3e");if(k>=0){t.comment&&t.comment(e.substring(4,k)),e=e.substring(k+3),u="";continue}}if(/^<!\[/.test(e)){var O=e.indexOf("]>");if(O>=0){t.comment&&t.comment(e.substring(2,O+1),!0),e=e.substring(O+2),u="";continue}}var B=e.match(m);if(B){t.doctype&&t.doctype(B[0]),e=e.substring(B[0].length),u="";continue}var S=e.match(d);if(S){e=e.substring(S[0].length),S[0].replace(d,r),u="/"+S[1].toLowerCase();continue}var D=n(e);if(D){e=D.rest,function(e){var n=e.tagName,o=e.unarySlash;if(t.html5&&"p"===i&&A(n)&&r("",i),!t.html5)for(;i&&b(i);)r("",i);y(n)&&i===n&&r("",n);var a=v(n)||"html"===n&&"head"===i||!!o,u=e.attrs.map(function(e){function n(t){return u=e[t],void 0!==(o=e[t+1])?'"':void 0!==(o=e[t+2])?"'":(void 0===(o=e[t+3])&&_(r)&&(o=r),"")}var r,o,i,a,u,s;g&&-1===e[0].indexOf('""')&&(""===e[3]&&delete e[3],""===e[4]&&delete e[4],""===e[5]&&delete e[5]);var l=1;if(t.customAttrSurround)for(var c=0,f=t.customAttrSurround.length;c<f;c++,l+=7)if(r=e[l+1]){s=n(l+2),i=e[l],a=e[l+6];break}return!r&&(r=e[l])&&(s=n(l+1)),{name:r,value:o,customAssign:u||"=",customOpen:i||"",customClose:a||"",quote:s||""}});a||(l.push({tag:n,attrs:u}),i=n,o=""),t.start&&t.start(n,u,a,o)}(D),u=D.tagName.toLowerCase();continue}}var T;C>=0?(T=e.substring(0,C),e=e.substring(C)):(T=e,e="");var R=n(e);s=R?R.tagName:(R=e.match(d))?"/"+R[1]:"",t.chars&&t.chars(T,u,s),u=""}if(e===a)throw new Error("Parse Error: "+e)}t.partialMarkup||r()}var u=e("./utils").createMapFromString,s=/([^\s"'<>\/=]+)/,l=[/=/],c=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^ \t\n\f\r"'`=<>]+)/.source],f=function(){var t=e("ncname").source.slice(1,-1);return"((?:"+t+"\\:)?"+t+")"}(),p=new RegExp("^<"+f),h=/^\s*(\/?)>/,d=new RegExp("^<\\/"+f+"[^>]*>"),m=/^<!DOCTYPE [^>]+>/i,g=!1;"x".replace(/x(.)?/g,function(e,t){g=""===t});var v=r("area,base,basefont,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),b=r("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,noscript,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,svg,textarea,tt,u,var"),y=r("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),_=r("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),w=r("script,style"),A=r("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),E={};n.HTMLParser=a,n.HTMLtoXML=function(e){var t="";return new a(e,{start:function(e,n,r){t+="<"+e;for(var o=0,i=n.length;o<i;o++)t+=" "+n[o].name+'="'+(n[o].value||"").replace(/"/g,"&#34;")+'"';t+=(r?"/":"")+">"},end:function(e){t+="</"+e+">"},chars:function(e){t+=e},comment:function(e){t+="\x3c!--"+e+"--\x3e"},ignore:function(e){t+=e}}),t},n.HTMLtoDOM=function(e,t){var n={html:!0,head:!0,body:!0,title:!0},r={link:"head",base:"head"};t?t=t.ownerDocument||t.getOwnerDocument&&t.getOwnerDocument()||t:"undefined"!=typeof DOMDocument?t=new DOMDocument:"undefined"!=typeof document&&document.implementation&&document.implementation.createDocument?t=document.implementation.createDocument("","",null):"undefined"!=typeof ActiveX&&(t=new ActiveXObject("Msxml.DOMDocument"));var o=[];if(!(t.documentElement||t.getDocumentElement&&t.getDocumentElement())&&t.createElement&&function(){var e=t.createElement("html"),n=t.createElement("head");n.appendChild(t.createElement("title")),e.appendChild(n),e.appendChild(t.createElement("body")),t.appendChild(e)}(),t.getElementsByTagName)for(var i in n)n[i]=t.getElementsByTagName(i)[0];var u=n.body;return new a(e,{start:function(e,i,a){if(n[e])return void(u=n[e]);var s=t.createElement(e);for(var l in i)s.setAttribute(i[l].name,i[l].value);r[e]&&"boolean"!=typeof n[r[e]]?n[r[e]].appendChild(s):u&&u.appendChild&&u.appendChild(s),a||(o.push(s),u=s)},end:function(){o.length-=1,u=o[o.length-1]},chars:function(e){u.appendChild(t.createTextNode(e))},comment:function(){},ignore:function(){}}),t}},{"./utils":168,ncname:110}],167:[function(e,t,n){"use strict";function r(){}function o(){}r.prototype.sort=function(e,t){t=t||0;for(var n=0,r=this.keys.length;n<r;n++){var o=this.keys[n],i=o.slice(1),a=e.indexOf(i,t);if(-1!==a){do{a!==t&&(e.splice(a,1),e.splice(t,0,i)),t++}while(-1!==(a=e.indexOf(i,t)));return this[o].sort(e,t)}}return e},o.prototype={add:function(e){var t=this;e.forEach(function(n){var r="$"+n;t[r]||(t[r]=[],t[r].processed=0),t[r].push(e)})},createSorter:function(){var e=this,t=new r;return t.keys=Object.keys(e).sort(function(t,n){var r=e[t].length,o=e[n].length;return r<o?1:r>o?-1:t<n?-1:t>n?1:0}).filter(function(n){if(e[n].processed<e[n].length){var r=n.slice(1),i=new o;return e[n].forEach(function(t){for(var n;-1!==(n=t.indexOf(r));)t.splice(n,1);t.forEach(function(t){e["$"+t].processed++}),i.add(t.slice(0))}),t[n]=i.createSorter(),!0}return!1}),t}},t.exports=o},{}],168:[function(e,t,n){"use strict";function r(e,t){var n={};return e.forEach(function(e){n[e]=1}),t?function(e){return 1===n[e.toLowerCase()]}:function(e){return 1===n[e]}}n.createMap=r,n.createMapFromString=function(e,t){return r(e.split(/,/),t)}},{}],"html-minifier":[function(e,t,n){"use strict";function r(e){return e&&e.replace(/\s+/g,function(e){return"\t"===e?"\t":e.replace(/(^|\xA0+)[^\xA0]+/g,"$1 ")})}function o(e,t,n,o,i){var a="",u="";return t.preserveLineBreaks&&(e=e.replace(/^\s*?[\n\r]\s*/,function(){return a="\n",""}).replace(/\s*?[\n\r]\s*$/,function(){return u="\n",""})),n&&(e=e.replace(/^\s+/,function(e){var n=!a&&t.conservativeCollapse;return n&&"\t"===e?"\t":e.replace(/^[^\xA0]+/,"").replace(/(\xA0+)[^\xA0]+/g,"$1 ")||(n?" ":"")})),o&&(e=e.replace(/\s+$/,function(e){var n=!u&&t.conservativeCollapse;return n&&"\t"===e?"\t":e.replace(/[^\xA0]+(\xA0+)/g," $1").replace(/[^\xA0]+$/,"")||(n?" ":"")})),i&&(e=r(e)),a+e+u}function i(e,t,n,r){var i=t&&!re(t);i&&!r.collapseInlineTagWhitespace&&(i="/"===t.charAt(0)?!te(t.slice(1)):!ne(t));var a=n&&!re(n);return a&&!r.collapseInlineTagWhitespace&&(a="/"===n.charAt(0)?!ne(n.slice(1)):!te(n)),o(e,r,i,a,t&&n)}function a(e){return/^\[if\s[^\]]+]|\[endif]$/.test(e)}function u(e,t){for(var n=0,r=t.ignoreCustomComments.length;n<r;n++)if(t.ignoreCustomComments[n].test(e))return!0;return!1}function s(e,t){var n=t.customEventAttributes;if(n){for(var r=n.length;r--;)if(n[r].test(e))return!0;return!1}return/^on[a-z]{3,}$/.test(e)}function l(e){return/^[^ \t\n\f\r"'`=<>]+$/.test(e)}function c(e,t){for(var n=e.length;n--;)if(e[n].name.toLowerCase()===t)return!0;return!1}function f(e,t,n,r){return n=n?X(n.toLowerCase()):"","script"===e&&"language"===t&&"javascript"===n||"form"===e&&"method"===t&&"get"===n||"input"===e&&"type"===t&&"text"===n||"script"===e&&"charset"===t&&!c(r,"src")||"a"===e&&"name"===t&&c(r,"id")||"area"===e&&"shape"===t&&"rect"===n}function p(e){return""===(e=X(e.split(/;/,2)[0]).toLowerCase())||oe(e)}function h(e,t){if("script"!==e)return!1;for(var n=0,r=t.length;n<r;n++)if("type"===t[n].name.toLowerCase())return p(t[n].value);return!0}function d(e){return""===(e=X(e).toLowerCase())||"text/css"===e}function m(e,t){if("style"!==e)return!1;for(var n=0,r=t.length;n<r;n++)if("type"===t[n].name.toLowerCase())return d(t[n].value);return!0}function g(e,t){return ie(e)||"draggable"===e&&!ae(t)}function v(e,t){return/^(?:a|area|link|base)$/.test(t)&&"href"===e||"img"===t&&/^(?:src|longdesc|usemap)$/.test(e)||"object"===t&&/^(?:classid|codebase|data|usemap)$/.test(e)||"q"===t&&"cite"===e||"blockquote"===t&&"cite"===e||("ins"===t||"del"===t)&&"cite"===e||"form"===t&&"action"===e||"input"===t&&("src"===e||"usemap"===e)||"head"===t&&"profile"===e||"script"===t&&("src"===e||"for"===e)}function b(e,t){return/^(?:a|area|object|button)$/.test(t)&&"tabindex"===e||"input"===t&&("maxlength"===e||"tabindex"===e)||"select"===t&&("size"===e||"tabindex"===e)||"textarea"===t&&/^(?:rows|cols|tabindex)$/.test(e)||"colgroup"===t&&"span"===e||"col"===t&&"span"===e||("th"===t||"td"===t)&&("rowspan"===e||"colspan"===e)}function y(e,t,n){if("link"!==e)return!1;for(var r=0,o=t.length;r<o;r++)if("rel"===t[r].name&&t[r].value===n)return!0}function _(e,t,n){return"media"===n&&(y(e,t,"stylesheet")||m(e,t))}function w(e,t){return"srcset"===e&&ue(t)}function A(e,t,n,o,i){if(n&&s(t,o))return n=X(n).replace(/^javascript:\s*/i,""),o.minifyJS(n,!0);if("class"===t)return n=X(n),n=o.sortClassName?o.sortClassName(n):r(n);if(v(t,e))return n=X(n),y(e,i,"canonical")?n:o.minifyURLs(n);if(b(t,e))return X(n);if("style"===t)return(n=X(n))&&(/;$/.test(n)&&!/&#?[0-9a-zA-Z]+;$/.test(n)&&(n=n.replace(/\s*;$/,"")),n=C(o.minifyCSS(x(n)))),n;if(w(t,e))n=X(n).split(/\s+,\s*|\s*,\s+/).map(function(e){var t=e,n="",r=e.match(/\s+([1-9][0-9]*w|[0-9]+(?:\.[0-9]+)?x)$/);if(r){t=t.slice(0,-r[0].length);var i=+r[1].slice(0,-1),a=r[1].slice(-1);1===i&&"x"===a||(n=" "+i+a)}return o.minifyURLs(t)+n}).join(", ");else if(E(e,i)&&"content"===t)n=n.replace(/\s+/g,"").replace(/[0-9]+\.[0-9]+/g,function(e){return(+e).toString()});else if(n&&o.customAttrCollapse&&o.customAttrCollapse.test(t))n=n.replace(/\n+|\r+|\s{2,}/g,"");else if("script"===e&&"type"===t)n=X(n.replace(/\s*;\s*/g,";"));else if(_(e,i,t))return n=X(n),O(o.minifyCSS(k(n)));return n}function E(e,t){if("meta"!==e)return!1;for(var n=0,r=t.length;n<r;n++)if("name"===t[n].name&&"viewport"===t[n].value)return!0}function x(e){return"*{"+e+"}"}function C(e){var t=e.match(/^\*\{([\s\S]*)\}$/);return t?t[1]:e}function k(e){return"@media "+e+"{a{top:0}}"}function O(e){var t=e.match(/^@media ([\s\S]*?)\s*{[\s\S]*}$/);return t?t[1]:e}function B(e,t){return t.processConditionalComments?e.replace(/^(\[if\s[^\]]+]>)([\s\S]*?)(<!\[endif])$/,function(e,n,r,o){return n+$(r,t,!0)+o}):e}function S(e,t,n){for(var r=0,o=n.length;r<o;r++)if("type"===n[r].name.toLowerCase()&&t.processScripts.indexOf(n[r].value)>-1)return $(e,t);return e}function D(e,t){switch(e){case"html":case"head":return!0;case"body":return!ce(t);case"colgroup":return"col"===t;case"tbody":return"tr"===t}return!1}function T(e,t){switch(t){case"colgroup":return"colgroup"===e;case"tbody":return be(e)}return!1}function R(e,t){switch(e){case"html":case"head":case"body":case"colgroup":case"caption":return!0;case"li":case"optgroup":case"tr":return t===e;case"dt":case"dd":return fe(t);case"p":return pe(t);case"rb":case"rt":case"rp":return de(t);case"rtc":return me(t);case"option":return ge(t);case"thead":case"tbody":return ve(t);case"tfoot":return"tbody"===t;case"td":case"th":return ye(t)}return!1}function F(e,t,n,r){return!(n&&!/^\s*$/.test(n))&&("function"==typeof r.removeEmptyAttributes?r.removeEmptyAttributes(t,e):"input"===e&&"value"===t||Ce.test(t))}function L(e,t){for(var n=t.length-1;n>=0;n--)if(t[n].name===e)return!0;return!1}function M(e,t){switch(e){case"textarea":return!1;case"audio":case"script":case"video":if(L("src",t))return!1;break;case"iframe":if(L("src",t)||L("srcdoc",t))return!1;break;case"object":if(L("data",t))return!1;break;case"applet":if(L("code",t))return!1}return!0}function P(e){return!/^(?:script|style|pre|textarea)$/.test(e)}function U(e){return!/^(?:pre|textarea)$/.test(e)}function N(e,t,n,r){var o=r.caseSensitive?e.name:e.name.toLowerCase(),i=e.value;if(r.decodeEntities&&i&&(i=Y(i,{isAttributeValue:!0})),!(r.removeRedundantAttributes&&f(n,o,i,t)||r.removeScriptTypeAttributes&&"script"===n&&"type"===o&&p(i)||r.removeStyleLinkTypeAttributes&&("style"===n||"link"===n)&&"type"===o&&d(i)||(i=A(n,o,i,r,t),r.removeEmptyAttributes&&F(n,o,i,r))))return r.decodeEntities&&i&&(i=i.replace(/&(#?[0-9a-zA-Z]+;)/g,"&amp;$1")),{attr:e,name:o,value:i}}function q(e,t,n,r,o){var i,a,u=e.name,s=e.value,c=e.attr,f=c.quote;return void 0===s||n.removeAttributeQuotes&&!~s.indexOf(o)&&l(s)?a=!r||t||/\/$/.test(s)?s+" ":s:(n.preventAttributesEscaping||(s='"'===(f=void 0===n.quoteCharacter?(s.match(/'/g)||[]).length<(s.match(/"/g)||[]).length?"'":'"':"'"===n.quoteCharacter?"'":'"')?s.replace(/"/g,"&#34;"):s.replace(/'/g,"&#39;")),a=f+s+f,r||n.removeTagWhitespace||(a+=" ")),void 0===s||n.collapseBooleanAttributes&&g(u.toLowerCase(),s.toLowerCase())?(i=u,r||(i+=" ")):i=u+c.customAssign+a,c.customOpen+i+c.customClose}function z(e){return e}function I(e){["html5","includeAutoGeneratedTags"].forEach(function(t){t in e||(e[t]=!0)}),"function"!=typeof e.log&&(e.log=z);for(var t=["canCollapseWhitespace","canTrimWhitespace"],n=0,r=t.length;n<r;n++)e[t[n]]||(e[t[n]]=function(){return!1});if("ignoreCustomComments"in e||(e.ignoreCustomComments=[/^!/]),"ignoreCustomFragments"in e||(e.ignoreCustomFragments=[/<%[\s\S]*?%>/,/<\?[\s\S]*?\?>/]),e.minifyURLs||(e.minifyURLs=z),"function"!=typeof e.minifyURLs){var o=e.minifyURLs;"string"==typeof o?o={site:o}:"object"!=typeof o&&(o={}),e.minifyURLs=function(t){try{return W.relate(t,o)}catch(n){return e.log(n),t}}}if(e.minifyJS||(e.minifyJS=z),"function"!=typeof e.minifyJS){var i=e.minifyJS;"object"!=typeof i&&(i={}),(i.parse||(i.parse={})).bare_returns=!1,e.minifyJS=function(t,n){var r=t.match(/^\s*<!--.*/),o=r?t.slice(r[0].length).replace(/\n\s*-->\s*$/,""):t;i.parse.bare_returns=n;var a=Z.minify(o,i);return a.error?(e.log(a.error),t):a.code.replace(/;$/,"")}}if(e.minifyCSS||(e.minifyCSS=z),"function"!=typeof e.minifyCSS){var a=e.minifyCSS;"object"!=typeof a&&(a={}),e.minifyCSS=function(t){t=t.replace(/(url\s*\(\s*)("|'|)(.*?)\2(\s*\))/gi,function(t,n,r,o,i){return n+r+e.minifyURLs(o)+r+i});try{return new K(a).minify(t).styles}catch(n){return e.log(n),t}}}}function j(e){var t;do{t=Math.random().toString(36).replace(/^0\.[0-9]*/,"")}while(~e.indexOf(t));return t}function V(e,t,n,r){function o(e){return e.map(function(e){return t.caseSensitive?e.name:e.name.toLowerCase()})}function i(e,t){return!t||-1===e.indexOf(t)}function a(e){return i(e,n)&&i(e,r)}function u(e){var n,r;new G(e,{start:function(e,i){s&&(s[e]||(s[e]=new Q),s[e].add(o(i).filter(a)));for(var u=0,c=i.length;u<c;u++){var f=i[u];l&&"class"===(t.caseSensitive?f.name:f.name.toLowerCase())?l.add(X(f.value).split(/[ \t\n\f\r]+/).filter(a)):t.processScripts&&"type"===f.name.toLowerCase()&&(n=e,r=f.value)}},end:function(){n=""},chars:function(e){t.processScripts&&ke(n)&&t.processScripts.indexOf(r)>-1&&u(e)}})}var s=t.sortAttributes&&Object.create(null),l=t.sortClassName&&new Q,c=t.log;if(t.log=null,t.sortAttributes=!1,t.sortClassName=!1,u($(e,t)),t.log=c,s){var f=Object.create(null);for(var p in s)f[p]=s[p].createSorter();t.sortAttributes=function(e,t){var n=f[e];if(n){var r=Object.create(null),i=o(t);i.forEach(function(e,n){(r[e]||(r[e]=[])).push(t[n])}),n.sort(i).forEach(function(e,n){t[n]=r[e].shift()})}}}if(l){var h=l.createSorter();t.sortClassName=function(e){return h.sort(e.split(/[ \n\f\r]+/)).join(" ")}}}function $(e,t,n){function s(e){return e.replace(A,function(e,t,n){var r=W[+n];return r[1]+w+n+r[2]})}function l(e,n){return P(e)||t.canCollapseWhitespace(e,n)}function c(e,n){return U(e)||t.canTrimWhitespace(e,n)}function f(){for(var e=E.length-1;e>0&&!/^<[^\/!]/.test(E[e]);)e--;E.length=Math.max(0,e)}function p(){for(var e=E.length-1;e>0&&!/^<\//.test(E[e]);)e--;E.length=Math.max(0,e)}function d(e,n){for(var r=null;e>=0&&c(r);e--){var o=E[e],a=o.match(/^<\/([\w:-]+)>$/);if(a)r=a[1];else if(/>$/.test(o)||(E[e]=i(o,null,n,t)))break}}function g(e){var t=E.length-1;if(E.length>1){var n=E[E.length-1];/^(?:<!|$)/.test(n)&&-1===n.indexOf(_)&&t--}d(t,e)}var v=[];I(t=t||{}),t.collapseWhitespace&&(e=o(e,t,!0,!0));var b,y,_,w,A,E=[],x="",C="",k=[],O=[],F=[],L="",z="",$=Date.now(),K=[],W=[];e=e.replace(/<!-- htmlmin:ignore -->([\s\S]*?)<!-- htmlmin:ignore -->/g,function(n,r){if(!_){_=j(e);var o=new RegExp("^"+_+"([0-9]+)$");t.ignoreCustomComments?t.ignoreCustomComments.push(o):t.ignoreCustomComments=[o]}var i="\x3c!--"+_+K.length+"--\x3e";return K.push(r),i});var Q=t.ignoreCustomFragments.map(function(e){return e.source});if(Q.length){var Z=new RegExp("\\s*(?:"+Q.join("|")+")+\\s*","g");e=e.replace(Z,function(n){if(!w){w=j(e),A=new RegExp("(\\s*)"+w+"([0-9]+)(\\s*)","g");var r=t.minifyCSS;r&&(t.minifyCSS=function(e){return r(s(e))});var o=t.minifyJS;o&&(t.minifyJS=function(e,t){return o(s(e),t)})}var i=w+W.length;return W.push(/^(\s*)[\s\S]*?(\s*)$/.exec(n)),"\t"+i+"\t"})}(t.sortAttributes&&"function"!=typeof t.sortAttributes||t.sortClassName&&"function"!=typeof t.sortClassName)&&V(e,t,_,w),new G(e,{partialMarkup:n,html5:t.html5,start:function(e,n,r,o,i){var a=e.toLowerCase();if("svg"===a){v.push(t);var u={};for(var s in t)u[s]=t[s];u.keepClosingSlash=!0,u.caseSensitive=!0,t=u}e=t.caseSensitive?e:a,C=e,b=e,ne(e)||(x=""),y=!1,k=n;var h=t.removeOptionalTags;if(h){var d=xe(e);d&&D(L,e)&&f(),L="",d&&R(z,e)&&(p(),h=!T(z,e)),z=""}t.collapseWhitespace&&(O.length||g(e),c(e,n)||O.push(e),l(e,n)||F.push(e));var m="<"+e,_=o&&t.keepClosingSlash;E.push(m),t.sortAttributes&&t.sortAttributes(e,n);for(var A=[],B=n.length,S=!0;--B>=0;){var M=N(n[B],n,e,t);M&&(A.unshift(q(M,_,t,S,w)),S=!1)}A.length>0?(E.push(" "),E.push.apply(E,A)):h&&se(e)&&(L=e),E.push(E.pop()+(_?"/":"")+">"),i&&!t.includeAutoGeneratedTags&&(f(),L="")},end:function(e,n,r){var o=e.toLowerCase();"svg"===o&&(t=v.pop()),e=t.caseSensitive?e:o,t.collapseWhitespace&&(O.length?e===O[O.length-1]&&O.pop():g("/"+e),F.length&&e===F[F.length-1]&&F.pop());var i=!1;e===C&&(C="",i=!y),t.removeOptionalTags&&(i&&_e(L)&&f(),L="",!xe(e)||!z||Ee(z)||"p"===z&&he(e)||p(),z=le(e)?e:""),t.removeEmptyElements&&i&&M(e,n)?(f(),L="",z=""):(r&&!t.includeAutoGeneratedTags?z="":E.push("</"+e+">"),b="/"+e,te(e)?i&&(x+="|"):x="")},chars:function(e,n,r){if(n=""===n?"comment":n,r=""===r?"comment":r,t.decodeEntities&&e&&!ke(C)&&(e=Y(e)),t.collapseWhitespace){if(!O.length){if("comment"===n){var a=E[E.length-1];if(-1===a.indexOf(_)&&(a||(n=b),E.length>1&&(!a||!t.conservativeCollapse&&/ $/.test(x)))){var u=E.length-2;E[u]=E[u].replace(/\s+$/,function(t){return e=t+e,""})}}if(n)if("/nobr"===n||"wbr"===n){if(/^\s/.test(e)){for(var s=E.length-1;s>0&&0!==E[s].lastIndexOf("<"+n);)s--;d(s-1,"br")}}else ne("/"===n.charAt(0)?n.slice(1):n)&&(e=o(e,t,/(?:^|\s)$/.test(x)));!(e=n||r?i(e,n,r,t):o(e,t,!0,!0))&&/\s$/.test(x)&&n&&"/"===n.charAt(0)&&d(E.length-1,r)}F.length||"html"===r||n&&r||(e=o(e,t,!1,!1,!0))}t.processScripts&&ke(C)&&(e=S(e,t,k)),h(C,k)&&(e=t.minifyJS(e)),m(C,k)&&(e=t.minifyCSS(e)),t.removeOptionalTags&&e&&(("html"===L||"body"===L&&!/^\s/.test(e))&&f(),L="",(we(z)||Ae(z)&&!/^\s/.test(e))&&p(),z=""),b=/^\s*$/.test(e)?n:"comment",t.decodeEntities&&e&&!ke(C)&&(e=e.replace(/&(#?[0-9a-zA-Z]+;)/g,"&amp$1").replace(/</g,"&lt;")),x+=e,e&&(y=!0),E.push(e)},comment:function(e,n){var r=n?"<!":"\x3c!--",o=n?">":"--\x3e";e=a(e)?r+B(e,t)+o:t.removeComments?u(e,t)?"\x3c!--"+e+"--\x3e":"":r+e+o,t.removeOptionalTags&&e&&(L="",z=""),E.push(e)},doctype:function(e){E.push(t.useShortDoctype?"<!DOCTYPE html>":r(e))},customAttrAssign:t.customAttrAssign,customAttrSurround:t.customAttrSurround}),t.removeOptionalTags&&(_e(L)&&f(),z&&!Ee(z)&&p()),t.collapseWhitespace&&g("br");var J=H(E,t);return A&&(J=J.replace(A,function(e,n,r,i){var a=W[+r][0];return t.collapseWhitespace?("\t"!==n&&(a=n+a),"\t"!==i&&(a+=i),o(a,{preserveLineBreaks:t.preserveLineBreaks,conservativeCollapse:!t.trimCustomFragments},/^\s/.test(a),/\s$/.test(a))):a})),_&&(J=J.replace(new RegExp("\x3c!--"+_+"([0-9]+)--\x3e","g"),function(e,t){return K[+t]})),t.log("minified in: "+(Date.now()-$)+"ms"),J}function H(e,t){var n,r=t.maxLineLength;if(r){for(var i,a=[],u="",s=0,l=e.length;s<l;s++)i=e[s],u.length+i.length<r?u+=i:(a.push(u.replace(/^\n/,"")),u=i);a.push(u),n=a.join("\n")}else n=e.join("");return t.collapseWhitespace?o(n,t,!0,!0):n}var K=e("clean-css"),Y=e("he").decode,G=e("./htmlparser").HTMLParser,W=e("relateurl"),Q=e("./tokenchain"),Z=e("uglify-js"),J=e("./utils"),X=String.prototype.trim?function(e){return"string"!=typeof e?e:e.trim()}:function(e){return"string"!=typeof e?e:e.replace(/^\s+/,"").replace(/\s+$/,"")},ee=J.createMapFromString,te=ee("a,abbr,acronym,b,bdi,bdo,big,button,cite,code,del,dfn,em,font,i,ins,kbd,mark,math,nobr,q,rt,rp,s,samp,small,span,strike,strong,sub,sup,svg,time,tt,u,var"),ne=ee("a,abbr,acronym,b,big,del,em,font,i,ins,kbd,mark,nobr,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var"),re=ee("comment,img,input,wbr"),oe=J.createMap(["text/javascript","text/ecmascript","text/jscript","application/javascript","application/x-javascript","application/ecmascript"]),ie=ee("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),ae=ee("true,false"),ue=ee("img,source"),se=ee("html,head,body,colgroup,tbody"),le=ee("html,head,body,li,dt,dd,p,rb,rt,rtc,rp,optgroup,option,colgroup,caption,thead,tbody,tfoot,tr,td,th"),ce=ee("meta,link,script,style,template,noscript"),fe=ee("dt,dd"),pe=ee("address,article,aside,blockquote,details,div,dl,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,main,menu,nav,ol,p,pre,section,table,ul"),he=ee("a,audio,del,ins,map,noscript,video"),de=ee("rb,rt,rtc,rp"),me=ee("rb,rtc,rp"),ge=ee("option,optgroup"),ve=ee("tbody,tfoot"),be=ee("thead,tbody,tfoot"),ye=ee("td,th"),_e=ee("html,head,body"),we=ee("html,body"),Ae=ee("head,colgroup,caption"),Ee=ee("dt,thead"),xe=ee("a,abbr,acronym,address,applet,area,article,aside,audio,b,base,basefont,bdi,bdo,bgsound,big,blink,blockquote,body,br,button,canvas,caption,center,cite,code,col,colgroup,command,content,data,datalist,dd,del,details,dfn,dialog,dir,div,dl,dt,element,em,embed,fieldset,figcaption,figure,font,footer,form,frame,frameset,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,i,iframe,image,img,input,ins,isindex,kbd,keygen,label,legend,li,link,listing,main,map,mark,marquee,menu,menuitem,meta,meter,multicol,nav,nobr,noembed,noframes,noscript,object,ol,optgroup,option,output,p,param,picture,plaintext,pre,progress,q,rp,rt,rtc,ruby,s,samp,script,section,select,shadow,small,source,spacer,span,strike,strong,style,sub,summary,sup,table,tbody,td,template,textarea,tfoot,th,thead,time,title,tr,track,tt,u,ul,var,video,wbr,xmp"),Ce=new RegExp("^(?:class|id|style|title|lang|dir|on(?:focus|blur|change|click|dblclick|mouse(?:down|up|over|move|out)|key(?:press|down|up)))$"),ke=ee("script,style");n.minify=function(e,t){return $(e,t)}},{"./htmlparser":166,"./tokenchain":167,"./utils":168,"clean-css":7,he:104,relateurl:130,"uglify-js":"uglify-js"}],"uglify-js":[function(e,t,n){(function(e){!function(t){"use strict";function n(e){for(var t=Object.create(null),n=0;n<e.length;++n)t[e[n]]=!0;return t}function r(e){return e.split("")}function o(e,t){return t.indexOf(e)>=0}function i(e,t){for(var n=0,r=t.length;n<r;++n)if(e(t[n]))return t[n]}function a(e,t){if(t<=0)return"";if(1==t)return e;var n=a(e,t>>1);return n+=n,1&t&&(n+=e),n}function u(e){Object.defineProperty(e.prototype,"stack",{get:function(){var e=new Error(this.message);e.name=this.name;try{throw e}catch(e){return e.stack}}})}function s(e,t){this.message=e,this.defs=t}function l(e,t,n){!0===e&&(e={});var r=e||{};if(n)for(var o in r)E(r,o)&&!E(t,o)&&s.croak("`"+o+"` is not a supported option",t);for(var o in t)E(t,o)&&(r[o]=e&&E(e,o)?e[o]:t[o]);return r}function c(e,t){var n=0;for(var r in t)E(t,r)&&(e[r]=t[r],n++);return n}function f(){}function p(){return!1}function h(){return!0}function d(){return this}function m(){return null}function g(e,t){e.indexOf(t)<0&&e.push(t)}function v(e,t){return e.replace(/\{(.+?)\}/g,function(e,n){return t&&t[n]})}function b(e,t){for(var n=e.length;--n>=0;)e[n]===t&&e.splice(n,1)}function y(e,t){function n(e,n){for(var r=[],o=0,i=0,a=0;o<e.length&&i<n.length;)t(e[o],n[i])<=0?r[a++]=e[o++]:r[a++]=n[i++];return o<e.length&&r.push.apply(r,e.slice(o)),i<n.length&&r.push.apply(r,n.slice(i)),r}function r(e){if(e.length<=1)return e;var t=Math.floor(e.length/2),o=e.slice(0,t),i=e.slice(t);return o=r(o),i=r(i),n(o,i)}return e.length<2?e.slice():r(e)}function _(e){function t(e){return JSON.stringify(e).replace(/[\u2028\u2029]/g,function(e){switch(e){case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}return e})}function n(e){if(1==e.length)return r+="return str === "+t(e[0])+";";r+="switch(str){";for(var n=0;n<e.length;++n)r+="case "+t(e[n])+":";r+="return true}return false;"}e instanceof Array||(e=e.split(" "));var r="",o=[];e:for(a=0;a<e.length;++a){for(var i=0;i<o.length;++i)if(o[i][0].length==e[a].length){o[i].push(e[a]);continue e}o.push([e[a]])}if(o.length>3){o.sort(function(e,t){return t.length-e.length}),r+="switch(str.length){";for(var a=0;a<o.length;++a){var u=o[a];r+="case "+u[0].length+":",n(u)}r+="}"}else n(e);return new Function("str",r)}function w(e,t){for(var n=e.length;--n>=0;)if(!t(e[n]))return!1;return!0}function A(){this._values=Object.create(null),this._size=0}function E(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function x(e){for(var t,n=e.parent(-1),r=0;t=e.parent(r);r++){if(t instanceof oe&&t.body===n)return!0;if(!(t instanceof Ke&&t.expressions[0]===n||t instanceof $e&&t.expression===n&&!(t instanceof He)||t instanceof Ge&&t.expression===n||t instanceof We&&t.expression===n||t instanceof et&&t.condition===n||t instanceof Xe&&t.left===n||t instanceof Je&&t.expression===n))return!1;n=t}}function C(e,n,r,o){arguments.length<4&&(o=re);var i=n=n?n.split(/\s+/):[];o&&o.PROPS&&(n=n.concat(o.PROPS));for(var a="return function AST_"+e+"(props){ if (props) { ",u=n.length;--u>=0;)a+="this."+n[u]+" = props."+n[u]+";";var s=o&&new o;(s&&s.initialize||r&&r.initialize)&&(a+="this.initialize();"),a+="}}";var l=new Function(a)();if(s&&(l.prototype=s,l.BASE=o),o&&o.SUBCLASSES.push(l),l.prototype.CTOR=l,l.PROPS=n||null,l.SELF_PROPS=i,l.SUBCLASSES=[],e&&(l.prototype.TYPE=l.TYPE=e),r)for(u in r)E(r,u)&&(/^\$/.test(u)?l[u.substr(1)]=r[u]:l.prototype[u]=r[u]);return l.DEFMETHOD=function(e,t){this.prototype[e]=t},void 0!==t&&(t["AST_"+e]=l),l}function k(e,t){var n=e.body;if(n instanceof oe)n._walk(t);else for(var r=0,o=n.length;r<o;r++)n[r]._walk(t)}function O(e){this.visit=e,this.stack=[],this.directives=Object.create(null)}function B(e){return e>=97&&e<=122||e>=65&&e<=90||e>=170&&Ht.letter.test(String.fromCharCode(e))}function S(e){return e>=48&&e<=57}function D(e){return S(e)||B(e)}function T(e){return Ht.digit.test(String.fromCharCode(e))}function R(e){return Ht.non_spacing_mark.test(e)||Ht.space_combining_mark.test(e)}function F(e){return Ht.connector_punctuation.test(e)}function L(e){return!Mt(e)&&/^[a-z_$][a-z0-9_$]*$/i.test(e)}function M(e){return 36==e||95==e||B(e)}function P(e){var t=e.charCodeAt(0);return M(t)||S(t)||8204==t||8205==t||R(e)||F(e)||T(t)}function U(e){return/^[a-z_$][a-z0-9_$]*$/i.test(e)}function N(e){if(Nt.test(e))return parseInt(e.substr(2),16);if(qt.test(e))return parseInt(e.substr(1),8);var t=parseFloat(e);return t==e?t:void 0}function q(e,t,n,r,o){this.message=e,this.filename=t,this.line=n,this.col=r,this.pos=o}function z(e,t,n,r,o){throw new q(e,t,n,r,o)}function I(e,t,n){return e.type==t&&(null==n||e.value==n)}function j(e,t,n,r){function o(){return O.text.charAt(O.pos)}function i(e,t){var n=O.text.charAt(O.pos++);if(e&&!n)throw Kt;return jt(n)?(O.newline_before=O.newline_before||!t,++O.line,O.col=0,t||"\r"!=n||"\n"!=o()||(++O.pos,n="\n")):++O.col,n}function a(e){for(;e-- >0;)i()}function u(e){return O.text.substr(O.pos,e.length)==e}function s(){for(var e=O.text,t=O.pos,n=O.text.length;t<n;++t){var r=e[t];if(jt(r))return t}return-1}function l(e,t){var n=O.text.indexOf(e,O.pos);if(t&&-1==n)throw Kt;return n}function c(){O.tokline=O.line,O.tokcol=O.col,O.tokpos=O.pos}function f(n,r,o){O.regex_allowed="operator"==n&&!Gt(r)||"keyword"==n&&Pt(r)||"punc"==n&&Vt(r),B="punc"==n&&"."==r;var i={type:n,value:r,line:O.tokline,col:O.tokcol,pos:O.tokpos,endline:O.line,endcol:O.col,endpos:O.pos,nlb:O.newline_before,file:t};if(/^(?:num|string|regexp)$/i.test(n)&&(i.raw=e.substring(i.pos,i.endpos)),!o){i.comments_before=O.comments_before,O.comments_before=[];for(var a=0,u=i.comments_before.length;a<u;a++)i.nlb=i.nlb||i.comments_before[a].nlb}return O.newline_before=!1,new ne(i)}function p(){for(;It(o());)i()}function h(e){for(var t,n="",r=0;(t=o())&&e(t,r++);)n+=i();return n}function d(e){z(e,t,O.tokline,O.tokcol,O.tokpos)}function m(e){var t=!1,n=!1,r=!1,o="."==e,i=h(function(i,a){var u=i.charCodeAt(0);switch(u){case 120:case 88:return!r&&(r=!0);case 101:case 69:return!!r||!t&&(t=n=!0);case 45:return n||0==a&&!e;case 43:return n;case n=!1,46:return!(o||r||t)&&(o=!0)}return D(u)});e&&(i=e+i),qt.test(i)&&k.has_directive("use strict")&&d("Legacy octal literals are not allowed in strict mode");var a=N(i);if(!isNaN(a))return f("num",a);d("Invalid syntax: "+i)}function g(e){var t=i(!0,e);switch(t.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(b(2));case 117:return String.fromCharCode(b(4));case 10:return"";case 13:if("\n"==o())return i(!0,e),""}return t>="0"&&t<="7"?v(t):t}function v(e){var t=o();return t>="0"&&t<="7"&&(e+=i(!0))[0]<="3"&&(t=o())>="0"&&t<="7"&&(e+=i(!0)),"0"===e?"\0":(e.length>0&&k.has_directive("use strict")&&d("Legacy octal escape sequences are not allowed in strict mode"),String.fromCharCode(parseInt(e,8)))}function b(e){for(var t=0;e>0;--e){var n=parseInt(i(!0),16);isNaN(n)&&d("Invalid hex-character pattern in string"),t=t<<4|n}return t}function y(e){var t,n=O.regex_allowed,r=s();return-1==r?(t=O.text.substr(O.pos),O.pos=O.text.length):(t=O.text.substring(O.pos,r),O.pos=r),O.col=O.tokcol+(O.pos-O.tokpos),O.comments_before.push(f(e,t,!0)),O.regex_allowed=n,k}function _(){for(var e,t,n=!1,r="",a=!1;null!=(e=o());)if(n)"u"!=e&&d("Expecting UnicodeEscapeSequence -- uXXXX"),P(e=g())||d("Unicode char: "+e.charCodeAt(0)+" is not valid in identifier"),r+=e,n=!1;else if("\\"==e)a=n=!0,i();else{if(!P(e))break;r+=i()}return Ft(r)&&a&&(t=r.charCodeAt(0).toString(16).toUpperCase(),r="\\u"+"0000".substr(t.length)+t+r.slice(1)),r}function w(e){function t(e){if(!o())return e;var n=e+o();return zt(n)?(i(),t(n)):e}return f("operator",t(e||i()))}function A(){switch(i(),o()){case"/":return i(),y("comment1");case"*":return i(),R()}return O.regex_allowed?F(""):w("/")}function E(){return i(),S(o().charCodeAt(0))?m("."):f("punc",".")}function x(){var e=_();return B?f("name",e):Lt(e)?f("atom",e):Ft(e)?zt(e)?f("operator",e):f("keyword",e):f("name",e)}function C(e,t){return function(n){try{return t(n)}catch(t){if(t!==Kt)throw t;d(e)}}}function k(e){if(null!=e)return F(e);for(r&&0==O.pos&&u("#!")&&(c(),a(2),y("comment5"));;){if(p(),c(),n){if(u("\x3c!--")){a(4),y("comment3");continue}if(u("--\x3e")&&O.newline_before){a(3),y("comment4");continue}}var t=o();if(!t)return f("eof");var s=t.charCodeAt(0);switch(s){case 34:case 39:return T(t);case 46:return E();case 47:var l=A();if(l===k)continue;return l}if(S(s))return m();if($t(t))return f("punc",i());if(Ut(t))return w();if(92==s||M(s))return x();break}d("Unexpected character '"+t+"'")}var O={text:e,filename:t,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,comments_before:[],directives:{},directive_stack:[]},B=!1,T=C("Unterminated string constant",function(e){for(var t=i(),n="";;){var r=i(!0,!0);if("\\"==r)r=g(!0);else if(jt(r))d("Unterminated string constant");else if(r==t)break;n+=r}var o=f("string",n);return o.quote=e,o}),R=C("Unterminated multiline comment",function(){var e=O.regex_allowed,t=l("*/",!0),n=O.text.substring(O.pos,t).replace(/\r\n|\r|\u2028|\u2029/g,"\n");return a(n.length+2),O.comments_before.push(f("comment2",n,!0)),O.regex_allowed=e,k}),F=C("Unterminated regular expression",function(e){for(var t,n=!1,r=!1;t=i(!0);)if(jt(t))d("Unexpected line terminator");else if(n)e+="\\"+t,n=!1;else if("["==t)r=!0,e+=t;else if("]"==t&&r)r=!1,e+=t;else{if("/"==t&&!r)break;"\\"==t?n=!0:e+=t}var o=_();try{return f("regexp",new RegExp(e,o))}catch(e){d(e.message)}});return k.context=function(e){return e&&(O=e),O},k.add_directive=function(e){O.directive_stack[O.directive_stack.length-1].push(e),void 0===O.directives[e]?O.directives[e]=1:O.directives[e]++},k.push_directives_stack=function(){O.directive_stack.push([])},k.pop_directives_stack=function(){for(var e=O.directive_stack[O.directive_stack.length-1],t=0;t<e.length;t++)O.directives[e[t]]--;O.directive_stack.pop()},k.has_directive=function(e){return O.directives[e]>0},k}function V(e,t){function n(e,t){return I($.token,e,t)}function r(){return $.peeked||($.peeked=$.input())}function o(){return $.prev=$.token,$.peeked?($.token=$.peeked,$.peeked=null):$.token=$.input(),$.in_directives=$.in_directives&&("string"==$.token.type||n("punc",";")),$.token}function a(){return $.prev}function u(e,t,n,r){var o=$.input.context();z(e,o.filename,null!=t?t:o.tokline,null!=n?n:o.tokcol,null!=r?r:o.tokpos)}function s(e,t){u(t,e.line,e.col)}function c(e){null==e&&(e=$.token),s(e,"Unexpected token: "+e.type+" ("+e.value+")")}function f(e,t){if(n(e,t))return o();s($.token,"Unexpected token "+$.token.type+" «"+$.token.value+"», expected "+e+" «"+t+"»")}function p(e){return f("punc",e)}function h(){return!t.strict&&($.token.nlb||n("eof")||n("punc","}"))}function d(e){n("punc",";")?o():e||h()||c()}function m(){p("(");var e=oe(!0);return p(")"),e}function g(e){return function(){var t=$.token,n=e(),r=a();return n.start=t,n.end=r,n}}function v(){(n("operator","/")||n("operator","/="))&&($.peeked=null,$.token=$.input($.token.value.substr(1)))}function b(){var e=M(gt);i(function(t){return t.name==e.name},$.labels)&&u("Label "+e.name+" defined twice"),p(":"),$.labels.push(e);var t=H();return $.labels.pop(),t instanceof he||e.references.forEach(function(t){t instanceof Re&&(t=t.label.start,u("Continue label `"+e.name+"` refers to non-IterationStatement.",t.line,t.col,t.pos))}),new pe({body:t,label:e})}function y(e){return new ue({body:(e=oe(!0),d(),e)})}function _(e){var t,n=null;h()||(n=M(bt,!0)),null!=n?((t=i(function(e){return e.name==n.name},$.labels))||u("Undefined label "+n.name),n.thedef=t):0==$.in_loop&&u(e.TYPE+" not inside a loop or switch"),d();var r=new e({label:n});return t&&t.references.push(r),r}function w(){p("(");var e=null;return!n("punc",";")&&(e=n("keyword","var")?(o(),Y(!0)):oe(!0,!0),n("operator","in"))?(e instanceof je&&e.definitions.length>1&&u("Only one variable declaration allowed in for..in loop"),o(),E(e)):A(e)}function A(e){p(";");var t=n("punc",";")?null:oe(!0);p(";");var r=n("punc",")")?null:oe(!0);return p(")"),new ve({init:e,condition:t,step:r,body:V(H)})}function E(e){var t=e instanceof je?e.definitions[0].name:null,n=oe(!0);return p(")"),new be({init:e,name:t,object:n,body:V(H)})}function x(){var e=m(),t=H(),r=null;return n("keyword","else")&&(o(),r=H()),new Fe({condition:e,body:t,alternative:r})}function C(){p("{");for(var e=[];!n("punc","}");)n("eof")&&c(),e.push(H());return o(),e}function k(){p("{");for(var e,t=[],r=null,i=null;!n("punc","}");)n("eof")&&c(),n("keyword","case")?(i&&(i.end=a()),r=[],i=new Ue({start:(e=$.token,o(),e),expression:oe(!0),body:r}),t.push(i),p(":")):n("keyword","default")?(i&&(i.end=a()),r=[],i=new Pe({start:(e=$.token,o(),p(":"),e),body:r}),t.push(i)):(r||c(),r.push(H()));return i&&(i.end=a()),o(),t}function O(){var e=C(),t=null,r=null;if(n("keyword","catch")){s=$.token;o(),p("(");var i=M(mt);p(")"),t=new qe({start:s,argname:i,body:C(),end:a()})}if(n("keyword","finally")){var s=$.token;o(),r=new ze({start:s,body:C(),end:a()})}return t||r||u("Missing catch/finally blocks"),new Ne({body:e,bcatch:t,bfinally:r})}function B(e){for(var t=[];t.push(new Ve({start:$.token,name:M(ft),value:n("operator","=")?(o(),oe(!1,e)):null,end:a()})),n("punc",",");)o();return t}function S(){var e,t=$.token;switch(t.type){case"name":case"keyword":e=F(vt);break;case"num":e=new At({start:t,end:t,value:t.value});break;case"string":e=new wt({start:t,end:t,value:t.value,quote:t.quote});break;case"regexp":e=new Et({start:t,end:t,value:t.value});break;case"atom":switch(t.value){case"false":e=new Tt({start:t,end:t});break;case"true":e=new Rt({start:t,end:t});break;case"null":e=new Ct({start:t,end:t})}break;case"operator":U(t.value)||u("Invalid getter/setter name: "+t.value,t.line,t.col,t.pos),e=F(vt)}return o(),e}function D(e,t,r){for(var i=!0,a=[];!n("punc",e)&&(i?i=!1:p(","),!t||!n("punc",e));)n("punc",",")&&r?a.push(new Bt({start:$.token,end:$.token})):a.push(oe(!1));return o(),a}function T(){var e=$.token;switch(e.type){case"operator":Ft(e.value)||c();case"num":case"string":case"name":case"keyword":case"atom":return o(),e.value;default:c()}}function R(){var e=$.token;return"name"!=e.type&&c(),o(),e.value}function F(e){var t=$.token.value;return new("this"==t?yt:e)({name:String(t),start:$.token,end:$.token})}function L(e){"arguments"!=e.name&&"eval"!=e.name||u("Unexpected "+e.name+" in strict mode",e.start.line,e.start.col,e.start.pos)}function M(e,t){if(!n("name"))return t||u("Name expected"),null;var r=F(e);return $.input.has_directive("use strict")&&r instanceof ct&&L(r),o(),r}function P(e,t,n){var r=t.value;switch(r){case"++":case"--":q(n)||u("Invalid use of "+r+" operator",t.line,t.col,t.pos);break;case"delete":n instanceof vt&&$.input.has_directive("use strict")&&u("Calling delete on expression not allowed in strict mode",n.start.line,n.start.col,n.start.pos)}return new e({operator:r,expression:n})}function N(e){return te(ee(!0),0,e)}function q(e){return e instanceof Ye||e instanceof vt}function V(e){++$.in_loop;var t=e();return--$.in_loop,t}t=l(t,{bare_returns:!1,expression:!1,filename:null,html5_comments:!0,shebang:!0,strict:!1,toplevel:null});var $={input:"string"==typeof e?j(e,t.filename,t.html5_comments,t.shebang):e,token:null,prev:null,peeked:null,in_function:0,in_directives:!0,in_loop:0,labels:[]};$.token=o();var H=g(function(){var e;switch(v(),$.token.type){case"string":$.in_directives&&(e=r(),-1==$.token.raw.indexOf("\\")&&(e.nlb||I(e,"eof")||I(e,"punc",";")||I(e,"punc","}"))?$.input.add_directive($.token.value):$.in_directives=!1);var i=$.in_directives,s=y();return i?new ae(s.body):s;case"num":case"regexp":case"operator":case"atom":return y();case"name":return I(r(),"punc",":")?b():y();case"punc":switch($.token.value){case"{":return new le({start:$.token,body:C(),end:a()});case"[":case"(":return y();case";":return $.in_directives=!1,o(),new ce;default:c()}case"keyword":switch(e=$.token.value,o(),e){case"break":return _(Te);case"continue":return _(Re);case"debugger":return d(),new ie;case"do":return new me({body:V(H),condition:(f("keyword","while"),e=m(),d(!0),e)});case"while":return new ge({condition:m(),body:V(H)});case"for":return w();case"function":return K(Ce);case"if":return x();case"return":return 0!=$.in_function||t.bare_returns||u("'return' outside of function"),new Be({value:n("punc",";")?(o(),null):h()?null:(e=oe(!0),d(),e)});case"switch":return new Le({expression:m(),body:V(k)});case"throw":return $.token.nlb&&u("Illegal newline after 'throw'"),new Se({value:(e=oe(!0),d(),e)});case"try":return O();case"var":return e=Y(),d(),e;case"with":return $.input.has_directive("use strict")&&u("Strict mode may not include a with statement"),new ye({expression:m(),body:H()})}}c()}),K=function(e){var t=e===Ce,r=n("name")?M(t?ht:dt):null;t&&!r&&c(),p("(");for(var i=[],a=!0;!n("punc",")");)a?a=!1:p(","),i.push(M(pt));o();var u=$.in_loop,s=$.labels;++$.in_function,$.in_directives=!0,$.input.push_directives_stack(),$.in_loop=0,$.labels=[];var l=C();return $.input.has_directive("use strict")&&(r&&L(r),i.forEach(L)),$.input.pop_directives_stack(),--$.in_function,$.in_loop=u,$.labels=s,new e({name:r,argnames:i,body:l})},Y=function(e){return new je({start:a(),definitions:B(e),end:a()})},G=function(e){var t=$.token;f("operator","new");var r,i=W(!1);return n("punc","(")?(o(),r=D(")")):r=[],X(new He({start:t,expression:i,args:r,end:a()}),e)},W=function(e){if(n("operator","new"))return G(e);var t=$.token;if(n("punc")){switch(t.value){case"(":o();var r=oe(!0);return r.start=t,r.end=$.token,p(")"),X(r,e);case"[":return X(Q(),e);case"{":return X(J(),e)}c()}if(n("keyword","function")){o();var i=K(xe);return i.start=t,i.end=a(),X(i,e)}if(Zt[$.token.type])return X(S(),e);c()},Q=g(function(){return p("["),new nt({elements:D("]",!t.strict,!0)})}),Z=g(function(){return K(Ee)}),J=g(function(){p("{");for(var e=!0,r=[];!n("punc","}")&&(e?e=!1:p(","),t.strict||!n("punc","}"));){var i=$.token,u=i.type,s=T();if("name"==u&&!n("punc",":")){var l=new lt({start:$.token,name:T(),end:a()});if("get"==s){r.push(new ut({start:i,key:l,value:Z(),end:a()}));continue}if("set"==s){r.push(new at({start:i,key:l,value:Z(),end:a()}));continue}}p(":"),r.push(new it({start:i,quote:i.quote,key:s,value:oe(!1),end:a()}))}return o(),new rt({properties:r})}),X=function(e,t){var r=e.start;if(n("punc","."))return o(),X(new Ge({start:r,expression:e,property:R(),end:a()}),t);if(n("punc","[")){o();var i=oe(!0);return p("]"),X(new We({start:r,expression:e,property:i,end:a()}),t)}return t&&n("punc","(")?(o(),X(new $e({start:r,expression:e,args:D(")"),end:a()}),!0)):e},ee=function(e){var t=$.token;if(n("operator")&&Yt(t.value)){o(),v();var r=P(Ze,t,ee(e));return r.start=t,r.end=a(),r}for(var i=W(e);n("operator")&&Gt($.token.value)&&!$.token.nlb;)(i=P(Je,$.token,i)).start=t,i.end=$.token,o();return i},te=function(e,t,r){var i=n("operator")?$.token.value:null;"in"==i&&r&&(i=null);var a=null!=i?Qt[i]:null;if(null!=a&&a>t){o();var u=te(ee(!0),a,r);return te(new Xe({start:e.start,left:e,operator:i,right:u,end:u.end}),t,r)}return e},ne=function(e){var t=$.token,r=N(e);if(n("operator","?")){o();var i=oe(!1);return p(":"),new et({start:t,condition:r,consequent:i,alternative:oe(!1,e),end:a()})}return r},re=function(e){var t=$.token,r=ne(e),i=$.token.value;if(n("operator")&&Wt(i)){if(q(r))return o(),new tt({start:t,left:r,operator:i,right:re(e),end:a()});u("Invalid assignment")}return r},oe=function(e,t){for(var i=$.token,a=[];;){if(a.push(re(t)),!e||!n("punc",","))break;o(),e=!0}return 1==a.length?a[0]:new Ke({start:i,expressions:a,end:r()})};return t.expression?oe(!0):function(){var e=$.token,r=[];for($.input.push_directives_stack();!n("eof");)r.push(H());$.input.pop_directives_stack();var o=a(),i=t.toplevel;return i?(i.body=i.body.concat(r),i.end=o):i=new we({start:e,body:r,end:o}),i}()}function $(e,t){O.call(this),this.before=e,this.after=t}function H(e,t,n){this.name=n.name,this.orig=[n],this.scope=e,this.references=[],this.global=!1,this.mangled_name=null,this.undeclared=!1,this.index=t,this.id=H.next_id++}function K(e){return"comment2"==e.type&&/@preserve|@license|@cc_on/i.test(e.value)}function Y(e){function t(e,t){return e.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(e){var n=e.charCodeAt(0).toString(16);if(n.length<=2&&!t){for(;n.length<2;)n="0"+n;return"\\x"+n}for(;n.length<4;)n="0"+n;return"\\u"+n})}function n(n,r){function o(){return"'"+n.replace(/\x27/g,"\\'")+"'"}function i(){return'"'+n.replace(/\x22/g,'\\"')+'"'}var a=0,u=0;switch(n=n.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(t,r){switch(t){case'"':return++a,'"';case"'":return++u,"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return e.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-7]/.test(n.charAt(r+1))?"\\x00":"\\0"}return t}),e.ascii_only&&(n=t(n)),e.quote_style){case 1:return o();case 2:return i();case 3:return"'"==r?o():i();default:return a>u?o():i()}}function r(t,r){var o=n(t,r);return e.inline_script&&(o=(o=(o=o.replace(/<\x2fscript([>\/\t\n\f\r ])/gi,"<\\/script$1")).replace(/\x3c!--/g,"\\x3c!--")).replace(/--\x3e/g,"--\\x3e")),o}function o(n){return n=n.toString(),e.ascii_only&&(n=t(n,!0)),n}function i(t){return a(" ",e.indent_start+x-t*e.indent_level)}function u(t){var n=(t=String(t)).charAt(0),r=R.charAt(R.length-1);if(D&&(D=!1,(":"==r&&"}"==n||(!n||";}".indexOf(n)<0)&&";"!=r)&&(e.semicolons||L(n)?(B+=";",C++,O++):(F(),B+="\n",O++,k++,C=0,/^\s+$/.test(t)&&(D=!0)),e.beautify||(S=!1))),!e.beautify&&e.preserve_line&&j[j.length-1])for(var o=j[j.length-1].start.line;k<o;)F(),B+="\n",O++,k++,C=0,S=!1;S&&((P(r)&&(P(n)||"\\"==n)||"/"==n&&n==r||("+"==n||"-"==n)&&n==R)&&(B+=" ",C++,O++),S=!1),B+=t,O+=t.length;var i=t.split(/\r?\n/),a=i.length-1;k+=a,C+=i[0].length,a>0&&(F(),C=i[a].length),R=t}function s(){D=!1,u(";")}function c(){return x+e.indent_level}function d(e){var t;return u("{"),q(),N(c(),function(){t=e()}),U(),u("}"),t}function m(e){u("(");var t=e();return u(")"),t}function g(e){u("[");var t=e();return u("]"),t}function v(){u(","),M()}function b(){u(":"),e.space_colon&&M()}function y(){return T&&F(),B}var w=p;if((e=l(e,{ascii_only:!1,beautify:!1,bracketize:!1,comments:!1,ie8:!1,indent_level:4,indent_start:0,inline_script:!0,keep_quoted_props:!1,max_line_len:!1,preamble:null,preserve_line:!1,quote_keys:!1,quote_style:0,semicolons:!0,shebang:!0,source_map:null,space_colon:!0,unescape_regexps:!1,width:80,wrap_iife:!1},!0)).comments){var A=e.comments;if("string"==typeof e.comments&&/^\/.*\/[a-zA-Z]*$/.test(e.comments)){var E=e.comments.lastIndexOf("/");A=new RegExp(e.comments.substr(1,E-1),e.comments.substr(E+1))}w=A instanceof RegExp?function(e){return"comment5"!=e.type&&A.test(e.value)}:"function"==typeof A?function(e){return"comment5"!=e.type&&A(this,e)}:"some"===A?K:h}var x=0,C=0,k=1,O=0,B="",S=!1,D=!1,T=0,R="",F=e.max_line_len?function(){if(C>e.max_line_len){if(T){var t=B.slice(0,T),n=B.slice(T);B=t+"\n"+n,k++,O++,C=n.length}C>e.max_line_len&&re.warn("Output exceeds {max_line_len} characters",e)}T=0}:f,L=_("( [ + * / - , ."),M=e.beautify?function(){u(" ")}:function(){S=!0},U=e.beautify?function(t){e.beautify&&u(i(t?.5:0))}:f,N=e.beautify?function(e,t){!0===e&&(e=c());var n=x;x=e;var r=t();return x=n,r}:function(e,t){return t()},q=e.beautify?function(){u("\n")}:e.max_line_len?function(){F(),T=B.length}:f,z=e.beautify?function(){u(";")}:function(){D=!0},I=e.source_map?function(t,n){try{t&&e.source_map.add(t.file||"?",k,C,t.line,t.col,n||"name"!=t.type?n:t.value)}catch(e){re.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]",{file:t.file,line:t.line,col:t.col,cline:k,ccol:C,name:n||""})}}:f,j=[];return{get:y,toString:y,indent:U,indentation:function(){return x},current_width:function(){return C-x},should_break:function(){return e.width&&this.current_width()>=e.width},newline:q,print:u,space:M,comma:v,colon:b,last:function(){return R},semicolon:z,force_semicolon:s,to_ascii:t,print_name:function(e){u(o(e))},print_string:function(e,t,n){var o=r(e,t);!0===n&&-1===o.indexOf("\\")&&(Xt.test(B)||s(),s()),u(o)},encode_string:r,next_indent:c,with_indent:N,with_block:d,with_parens:m,with_square:g,add_mapping:I,option:function(t){return e[t]},comment_filter:w,line:function(){return k},col:function(){return C},pos:function(){return O},push_node:function(e){j.push(e)},pop_node:function(){return j.pop()},parent:function(e){return j[j.length-2-(e||0)]}}}function G(e,t){if(!(this instanceof G))return new G(e,t);$.call(this,this.before,this.after),this.options=l(e,{booleans:!t,cascade:!t,collapse_vars:!t,comparisons:!t,conditionals:!t,dead_code:!t,drop_console:!1,drop_debugger:!t,evaluate:!t,expression:!1,global_defs:{},hoist_funs:!t,hoist_vars:!1,ie8:!1,if_return:!t,join_vars:!t,keep_fargs:!0,keep_fnames:!1,keep_infinity:!1,loops:!t,negate_iife:!t,passes:1,properties:!t,pure_getters:!t&&"strict",pure_funcs:null,reduce_vars:!t,sequences:!t,side_effects:!t,switches:!t,top_retain:null,toplevel:!(!e||!e.top_retain),unsafe:!1,unsafe_comps:!1,unsafe_math:!1,unsafe_proto:!1,unused:!t,warnings:!1},!0);var n=this.options.pure_funcs;this.pure_funcs="function"==typeof n?n:n?function(e){return n.indexOf(e.expression.print_to_string())<0}:h;var r=this.options.top_retain;r instanceof RegExp?this.top_retain=function(e){return r.test(e.name)}:"function"==typeof r?this.top_retain=r:r&&("string"==typeof r&&(r=r.split(/,/)),this.top_retain=function(e){return r.indexOf(e.name)>=0});var o=this.options.toplevel;"string"==typeof o?(this.toplevel.funcs=/funcs/.test(o),this.toplevel.vars=/vars/.test(o)):(this.toplevel=o?h:p,this.toplevel.funcs=this.toplevel.vars=o);var i=this.options.sequences;this.sequences_limit=1==i?800:0|i,this.warnings_produced={}}function W(e){function t(t,o,i,a,u,s){if(r){var l=r.originalPositionFor({line:a,column:u});if(null===l.source)return;t=l.source,a=l.line,u=l.column,s=l.name||s}n.addMapping({generated:{line:o+e.dest_line_diff,column:i},original:{line:a+e.orig_line_diff,column:u},source:t,name:s})}e=l(e,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0});var n=new MOZ_SourceMap.SourceMapGenerator({file:e.file,sourceRoot:e.root}),r=e.orig&&new MOZ_SourceMap.SourceMapConsumer(e.orig);return r&&Array.isArray(e.orig.sources)&&r._sources.toArray().forEach(function(e){var t=r.sourceContentFor(e,!0);t&&n.setSourceContent(e,t)}),{add:t,get:function(){return n},toString:function(){return JSON.stringify(n.toJSON())}}}function Q(e){function t(t){g(e,t)}["null","true","false","Infinity","-Infinity","undefined"].forEach(t),[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp].forEach(function(e){Object.getOwnPropertyNames(e).map(t),e.prototype&&Object.getOwnPropertyNames(e.prototype).map(t)})}function Z(e,t){function n(e){return!(v.indexOf(e)>=0)&&(!(s.indexOf(e)>=0)&&(t.only_cache?c.props.has(e):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(e)))}function r(e){return!(h&&e in b)&&(!(p&&!p.test(e))&&(!(s.indexOf(e)>=0)&&(c.props.has(e)||m.indexOf(e)>=0)))}function o(e,t){if(t)return void(b[e]=!0);n(e)&&g(m,e),r(e)||g(v,e)}function i(e){if(!r(e))return e;var t=c.props.get(e);if(!t){if(d){var o="_$"+e+"$"+f+"_";!n(o)||h&&o in b||(t=o)}if(!t)do{t=Jt(++c.cname)}while(!n(t)||h&&t in b);c.props.set(e,t)}return t}function a(e,t){var n={};try{!function e(r){r.walk(new O(function(r){if(r instanceof Ke)return e(r.expressions[r.expressions.length-1]),!0;if(r instanceof wt)return o(r.value,t),!0;if(r instanceof et)return e(r.consequent),e(r.alternative),!0;throw n}))}(e)}catch(e){if(e!==n)throw e}}function u(e){return e.transform(new $(function(e){if(e instanceof Ke){var t=e.expressions.length-1;e.expressions[t]=u(e.expressions[t])}else e instanceof wt?e.value=i(e.value):e instanceof et&&(e.consequent=u(e.consequent),e.alternative=u(e.alternative));return e}))}var s=(t=l(t,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,only_cache:!1,regex:null,reserved:null})).reserved||[];t.builtins||Q(s);var c=t.cache;null==c&&(c={cname:-1,props:new A});var f,p=t.regex,h=t.keep_quoted,d=!1!==t.debug;d&&(f=!0===t.debug?"":t.debug);var m=[],v=[],b={};return e.walk(new O(function(e){e instanceof it?o(e.key,h&&e.quote):e instanceof ot?o(e.key.name):e instanceof Ge?o(e.property):e instanceof We&&a(e.property,h)})),e.transform(new $(function(e){e instanceof it?h&&e.quote||(e.key=i(e.key)):e instanceof ot?e.key.name=i(e.key.name):e instanceof Ge?e.property=i(e.property):e instanceof We&&(h||(e.property=u(e.property)))}))}function J(e){var t=/\n\/\/# sourceMappingURL=data:application\/json(;.*?)?;base64,(.*)/.exec(e);return t?en(t[2]):(re.warn("inline source map not found"),null)}function X(e,t,n){t[e]&&n.forEach(function(n){t[n]&&("object"!=typeof t[n]&&(t[n]={}),e in t[n]||(t[n][e]=t[e]))})}function ee(e,t){var n=re.warn_function;try{"string"==typeof e&&(e=[e]),X("ie8",t=l(t,{compress:{},ie8:!1,keep_fnames:!1,mangle:{},output:{},parse:{},sourceMap:!1,toplevel:!1,warnings:!1,wrap:!1},!0),["compress","mangle","output"]),X("keep_fnames",t,["compress","mangle"]),X("toplevel",t,["compress","mangle"]),X("warnings",t,["compress"]),t.mangle&&(t.mangle=l(t.mangle,{cache:null,eval:!1,ie8:!1,keep_fnames:!1,properties:!1,reserved:[],toplevel:!1},!0)),t.sourceMap&&(t.sourceMap=l(t.sourceMap,{content:null,filename:null,includeSources:!1,root:null,url:null},!0));var r=[];t.warnings&&!re.warn_function&&(re.warn_function=function(e){r.push(e)});var o;if(e instanceof we)o=e;else{t.parse=t.parse||{},t.parse.toplevel=null;for(var i in e)if(t.parse.filename=i,t.parse.toplevel=V(e[i],t.parse),t.sourceMap&&"inline"==t.sourceMap.content){if(Object.keys(e).length>1)throw new Error("inline source map only works with singular input");t.sourceMap.content=J(e[i])}o=t.parse.toplevel}t.wrap&&(o=o.wrap_commonjs(t.wrap)),t.compress&&(o.figure_out_scope(t.mangle),o=new G(t.compress).compress(o)),t.mangle&&(o.figure_out_scope(t.mangle),Jt.reset(),o.compute_char_frequency(t.mangle),o.mangle_names(t.mangle),t.mangle.properties&&(o=Z(o,t.mangle.properties)));var a={};if(t.output.ast&&(a.ast=o),!E(t.output,"code")||t.output.code){if(t.sourceMap&&("string"==typeof t.sourceMap.content&&(t.sourceMap.content=JSON.parse(t.sourceMap.content)),t.output.source_map=W({file:t.sourceMap.filename,orig:t.sourceMap.content,root:t.sourceMap.root}),t.sourceMap.includeSources))for(var i in e)t.output.source_map.get().setSourceContent(i,e[i]);delete t.output.ast,delete t.output.code;var u=Y(t.output);o.print(u),a.code=u.get(),t.sourceMap&&(a.map=t.output.source_map.toString(),"inline"==t.sourceMap.url?a.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+tn(a.map):t.sourceMap.url&&(a.code+="\n//# sourceMappingURL="+t.sourceMap.url))}return r.length&&(a.warnings=r),a}catch(e){return{error:e}}finally{re.warn_function=n}}s.prototype=Object.create(Error.prototype),s.prototype.constructor=s,s.prototype.name="DefaultsError",u(s),s.croak=function(e,t){throw new s(e,t)};var te=function(){function e(e,i,a){function u(){var u=i(e[s],s),f=u instanceof r;return f&&(u=u.v),u instanceof t?(u=u.v)instanceof n?c.push.apply(c,a?u.v.slice().reverse():u.v):c.push(u):u!==o&&(u instanceof n?l.push.apply(l,a?u.v.slice().reverse():u.v):l.push(u)),f}var s,l=[],c=[];if(e instanceof Array)if(a){for(s=e.length;--s>=0&&!u(););l.reverse(),c.reverse()}else for(s=0;s<e.length&&!u();++s);else for(s in e)if(E(e,s)&&u())break;return c.concat(l)}function t(e){this.v=e}function n(e){this.v=e}function r(e){this.v=e}e.at_top=function(e){return new t(e)},e.splice=function(e){return new n(e)},e.last=function(e){return new r(e)};var o=e.skip={};return e}();A.prototype={set:function(e,t){return this.has(e)||++this._size,this._values["$"+e]=t,this},add:function(e,t){return this.has(e)?this.get(e).push(t):this.set(e,[t]),this},get:function(e){return this._values["$"+e]},del:function(e){return this.has(e)&&(--this._size,delete this._values["$"+e]),this},has:function(e){return"$"+e in this._values},each:function(e){for(var t in this._values)e(this._values[t],t.substr(1))},size:function(){return this._size},map:function(e){var t=[];for(var n in this._values)t.push(e(this._values[n],n.substr(1)));return t},toObject:function(){return this._values}},A.fromObject=function(e){var t=new A;return t._size=c(t._values,e),t};var ne=C("Token","type value line col pos endline endcol endpos nlb comments_before file raw",{},null),re=C("Node","start end",{_clone:function(e){if(e){var t=this.clone();return t.transform(new $(function(e){if(e!==t)return e.clone(!0)}))}return new this.CTOR(this)},clone:function(e){return this._clone(e)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(e){return e._visit(this)},walk:function(e){return this._walk(e)}},null);re.warn_function=null,re.warn=function(e,t){re.warn_function&&re.warn_function(v(e,t))};var oe=C("Statement",null,{$documentation:"Base class of all statements"}),ie=C("Debugger",null,{$documentation:"Represents a debugger statement"},oe),ae=C("Directive","value scope quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",scope:"[AST_Scope/S] The scope that this directive affects",quote:"[string] the original quote character"}},oe),ue=C("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(e){return e._visit(this,function(){this.body._walk(e)})}},oe),se=C("Block","body",{$documentation:"A body of statements (usually bracketed)",$propdoc:{body:"[AST_Statement*] an array of statements"},_walk:function(e){return e._visit(this,function(){k(this,e)})}},oe),le=C("BlockStatement",null,{$documentation:"A block statement"},se),ce=C("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)"},oe),fe=C("StatementWithBody","body",{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},oe),pe=C("LabeledStatement","label",{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(e){return e._visit(this,function(){this.label._walk(e),this.body._walk(e)})},clone:function(e){var t=this._clone(e);if(e){var n=t.label,r=this.label;t.walk(new O(function(e){e instanceof De&&e.label&&e.label.thedef===r&&(e.label.thedef=n,n.references.push(e))}))}return t}},fe),he=C("IterationStatement",null,{$documentation:"Internal class.  All loops inherit from it."},fe),de=C("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition.  Should not be instanceof AST_Statement"}},he),me=C("Do",null,{$documentation:"A `do` statement",_walk:function(e){return e._visit(this,function(){this.body._walk(e),this.condition._walk(e)})}},de),ge=C("While",null,{$documentation:"A `while` statement",_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e)})}},de),ve=C("For","init condition step",{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(e){return e._visit(this,function(){this.init&&this.init._walk(e),this.condition&&this.condition._walk(e),this.step&&this.step._walk(e),this.body._walk(e)})}},he),be=C("ForIn","init name object",{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",name:"[AST_SymbolRef?] the loop variable, only if `init` is AST_Var",object:"[AST_Node] the object that we're looping through"},_walk:function(e){return e._visit(this,function(){this.init._walk(e),this.object._walk(e),this.body._walk(e)})}},he),ye=C("With","expression",{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.body._walk(e)})}},fe),_e=C("Scope","directives variables functions uses_with uses_eval parent_scope enclosed cname",{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{directives:"[string*/S] an array of directives declared in this scope",variables:"[Object/S] a map of name -> SymbolDef for all variables/functions defined in this scope",functions:"[Object/S] like `variables`, but only lists function declarations",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"}},se),we=C("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Object/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(e){var t=this.body,n="(function(exports){'$ORIG';})(typeof "+e+"=='undefined'?("+e+"={}):"+e+");";return n=V(n),n=n.transform(new $(function(e){if(e instanceof ae&&"$ORIG"==e.value)return te.splice(t)}))}},_e),Ae=C("Lambda","name argnames uses_arguments",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg*] array of function arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array"},_walk:function(e){return e._visit(this,function(){this.name&&this.name._walk(e);for(var t=this.argnames,n=0,r=t.length;n<r;n++)t[n]._walk(e);k(this,e)})}},_e),Ee=C("Accessor",null,{$documentation:"A setter/getter function.  The `name` property is always null."},Ae),xe=C("Function",null,{$documentation:"A function expression"},Ae),Ce=C("Defun",null,{$documentation:"A function definition"},Ae),ke=C("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},oe),Oe=C("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(e){return e._visit(this,this.value&&function(){this.value._walk(e)})}},ke),Be=C("Return",null,{$documentation:"A `return` statement"},Oe),Se=C("Throw",null,{$documentation:"A `throw` statement"},Oe),De=C("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(e){return e._visit(this,this.label&&function(){this.label._walk(e)})}},ke),Te=C("Break",null,{$documentation:"A `break` statement"},De),Re=C("Continue",null,{$documentation:"A `continue` statement"},De),Fe=C("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e),this.alternative&&this.alternative._walk(e)})}},fe),Le=C("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),k(this,e)})}},se),Me=C("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},se),Pe=C("Default",null,{$documentation:"A `default` switch branch"},Me),Ue=C("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),k(this,e)})}},Me),Ne=C("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(e){return e._visit(this,function(){k(this,e),this.bcatch&&this.bcatch._walk(e),this.bfinally&&this.bfinally._walk(e)})}},se),qe=C("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch] symbol for the exception"},_walk:function(e){return e._visit(this,function(){this.argname._walk(e),k(this,e)})}},se),ze=C("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},se),Ie=C("Definitions","definitions",{$documentation:"Base class for `var` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(e){return e._visit(this,function(){for(var t=this.definitions,n=0,r=t.length;n<r;n++)t[n]._walk(e)})}},oe),je=C("Var",null,{$documentation:"A `var` statement"},Ie),Ve=C("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_SymbolVar] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(e){return e._visit(this,function(){this.name._walk(e),this.value&&this.value._walk(e)})}}),$e=C("Call","expression args",{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments"},_walk:function(e){return e._visit(this,function(){for(var t=this.args,n=0,r=t.length;n<r;n++)t[n]._walk(e);this.expression._walk(e)})}}),He=C("New",null,{$documentation:"An object instantiation.  Derives from a function call since it has exactly the same properties"},$e),Ke=C("Sequence","expressions",{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(e){return e._visit(this,function(){this.expressions.forEach(function(t){t._walk(e)})})}}),Ye=C("PropAccess","expression property",{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the “container” expression",property:"[AST_Node|string] the property to access.  For AST_Dot this is always a plain string, while for AST_Sub it's an arbitrary AST_Node"}}),Ge=C("Dot",null,{$documentation:"A dotted property access expression",_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})}},Ye),We=C("Sub",null,{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.property._walk(e)})}},Ye),Qe=C("Unary","operator expression",{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})}}),Ze=C("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},Qe),Je=C("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},Qe),Xe=C("Binary","operator left right",{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(e){return e._visit(this,function(){this.left._walk(e),this.right._walk(e)})}}),et=C("Conditional","condition consequent alternative",{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.consequent._walk(e),this.alternative._walk(e)})}}),tt=C("Assign",null,{$documentation:"An assignment expression — `a = b + 5`"},Xe),nt=C("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(e){return e._visit(this,function(){for(var t=this.elements,n=0,r=t.length;n<r;n++)t[n]._walk(e)})}}),rt=C("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(e){return e._visit(this,function(){for(var t=this.properties,n=0,r=t.length;n<r;n++)t[n]._walk(e)})}}),ot=C("ObjectProperty","key value",{$documentation:"Base class for literal object properties",$propdoc:{key:"[string] the property name converted to a string for ObjectKeyVal.  For setters and getters this is an AST_SymbolAccessor.",value:"[AST_Node] property value.  For setters and getters this is an AST_Accessor."},_walk:function(e){return e._visit(this,function(){this.value._walk(e)})}}),it=C("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"}},ot),at=C("ObjectSetter",null,{$documentation:"An object setter property"},ot),ut=C("ObjectGetter",null,{$documentation:"An object getter property"},ot),st=C("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"}),lt=C("SymbolAccessor",null,{$documentation:"The name of a property accessor (setter/getter function)"},st),ct=C("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var, function name or argument, symbol in catch)"},st),ft=C("SymbolVar",null,{$documentation:"Symbol defining a variable"},ct),pt=C("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},ft),ht=C("SymbolDefun",null,{$documentation:"Symbol defining a function"},ct),dt=C("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},ct),mt=C("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},ct),gt=C("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[],this.thedef=this}},st),vt=C("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},st),bt=C("LabelRef",null,{$documentation:"Reference to a label symbol"},st),yt=C("This",null,{$documentation:"The `this` symbol"},st),_t=C("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}}),wt=C("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},_t),At=C("Number","value literal",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",literal:"[string] numeric value as string (optional)"}},_t),Et=C("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},_t),xt=C("Atom",null,{$documentation:"Base class for atoms"},_t),Ct=C("Null",null,{$documentation:"The `null` atom",value:null},xt),kt=C("NaN",null,{$documentation:"The impossible value",value:NaN},xt),Ot=C("Undefined",null,{$documentation:"The `undefined` value",value:void 0},xt),Bt=C("Hole",null,{$documentation:"A hole in an array",value:void 0},xt),St=C("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},xt),Dt=C("Boolean",null,{$documentation:"Base class for booleans"},xt),Tt=C("False",null,{$documentation:"The `false` atom",value:!1},Dt),Rt=C("True",null,{$documentation:"The `true` atom",value:!0},Dt);O.prototype={_visit:function(e,t){this.push(e);var n=this.visit(e,t?function(){t.call(e)}:f);return!n&&t&&t.call(e),this.pop(e),n},parent:function(e){return this.stack[this.stack.length-2-(e||0)]},push:function(e){e instanceof Ae?this.directives=Object.create(this.directives):e instanceof ae&&!this.directives[e.value]&&(this.directives[e.value]=e),this.stack.push(e)},pop:function(e){this.stack.pop(),e instanceof Ae&&(this.directives=Object.getPrototypeOf(this.directives))},self:function(){return this.stack[this.stack.length-1]},find_parent:function(e){for(var t=this.stack,n=t.length;--n>=0;){var r=t[n];if(r instanceof e)return r}},has_directive:function(e){var t=this.directives[e];if(t)return t;var n=this.stack[this.stack.length-1];if(n instanceof _e)for(var r=0;r<n.body.length;++r){var o=n.body[r];if(!(o instanceof ae))break;if(o.value==e)return o}},in_boolean_context:function(){for(var e=this.stack,t=e.length,n=e[--t];t>0;){var r=e[--t];if(r instanceof Fe&&r.condition===n||r instanceof et&&r.condition===n||r instanceof de&&r.condition===n||r instanceof ve&&r.condition===n||r instanceof Ze&&"!"==r.operator&&r.expression===n)return!0;if(!(r instanceof Xe)||"&&"!=r.operator&&"||"!=r.operator)return!1;n=r}},loopcontrol_target:function(e){var t=this.stack;if(e.label){for(n=t.length;--n>=0;)if((r=t[n])instanceof pe&&r.label.name==e.label.name)return r.body}else for(var n=t.length;--n>=0;){var r=t[n];if(r instanceof he||e instanceof Te&&r instanceof Le)return r}}};var Ft="break case catch const continue debugger default delete do else finally for function if in instanceof new return switch throw try typeof var void while with",Lt="false null true",Mt="abstract boolean byte char class double enum export extends final float goto implements import int interface let long native package private protected public short static super synchronized this throws transient volatile yield "+Lt+" "+Ft,Pt="return new delete throw else case";Ft=_(Ft),Mt=_(Mt),Pt=_(Pt),Lt=_(Lt);var Ut=_(r("+-*&%=<>!?|~^")),Nt=/^0x[0-9a-f]+$/i,qt=/^0[0-7]+$/,zt=_(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]),It=_(r("  \n\r\t\f\v​           \u2028\u2029   \ufeff")),jt=_(r("\n\r\u2028\u2029")),Vt=_(r("[{(,;:")),$t=_(r("[]{}(),;:")),Ht=(_(r("gmsiy")),{letter:new RegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"),digit:new RegExp("[\\u0030-\\u0039\\u0660-\\u0669\\u06F0-\\u06F9\\u07C0-\\u07C9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE6-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0DE6-\\u0DEF\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\u1040-\\u1049\\u1090-\\u1099\\u17E0-\\u17E9\\u1810-\\u1819\\u1946-\\u194F\\u19D0-\\u19D9\\u1A80-\\u1A89\\u1A90-\\u1A99\\u1B50-\\u1B59\\u1BB0-\\u1BB9\\u1C40-\\u1C49\\u1C50-\\u1C59\\uA620-\\uA629\\uA8D0-\\uA8D9\\uA900-\\uA909\\uA9D0-\\uA9D9\\uA9F0-\\uA9F9\\uAA50-\\uAA59\\uABF0-\\uABF9\\uFF10-\\uFF19]"),non_spacing_mark:new RegExp("[\\u0300-\\u036F\\u0483-\\u0487\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065E\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0900-\\u0902\\u093C\\u0941-\\u0948\\u094D\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09BC\\u09C1-\\u09C4\\u09CD\\u09E2\\u09E3\\u0A01\\u0A02\\u0A3C\\u0A41\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81\\u0A82\\u0ABC\\u0AC1-\\u0AC5\\u0AC7\\u0AC8\\u0ACD\\u0AE2\\u0AE3\\u0B01\\u0B3C\\u0B3F\\u0B41-\\u0B44\\u0B4D\\u0B56\\u0B62\\u0B63\\u0B82\\u0BC0\\u0BCD\\u0C3E-\\u0C40\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0CBC\\u0CBF\\u0CC6\\u0CCC\\u0CCD\\u0CE2\\u0CE3\\u0D41-\\u0D44\\u0D4D\\u0D62\\u0D63\\u0DCA\\u0DD2-\\u0DD4\\u0DD6\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F71-\\u0F7E\\u0F80-\\u0F84\\u0F86\\u0F87\\u0F90-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102D-\\u1030\\u1032-\\u1037\\u1039\\u103A\\u103D\\u103E\\u1058\\u1059\\u105E-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108D\\u109D\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B7-\\u17BD\\u17C6\\u17C9-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193B\\u1A17\\u1A18\\u1A56\\u1A58-\\u1A5E\\u1A60\\u1A62\\u1A65-\\u1A6C\\u1A73-\\u1A7C\\u1A7F\\u1B00-\\u1B03\\u1B34\\u1B36-\\u1B3A\\u1B3C\\u1B42\\u1B6B-\\u1B73\\u1B80\\u1B81\\u1BA2-\\u1BA5\\u1BA8\\u1BA9\\u1C2C-\\u1C33\\u1C36\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE0\\u1CE2-\\u1CE8\\u1CED\\u1DC0-\\u1DE6\\u1DFD-\\u1DFF\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2CEF-\\u2CF1\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F\\uA67C\\uA67D\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA825\\uA826\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA951\\uA980-\\uA982\\uA9B3\\uA9B6-\\uA9B9\\uA9BC\\uAA29-\\uAA2E\\uAA31\\uAA32\\uAA35\\uAA36\\uAA43\\uAA4C\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uABE5\\uABE8\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE26]"),space_combining_mark:new RegExp("[\\u0903\\u093E-\\u0940\\u0949-\\u094C\\u094E\\u0982\\u0983\\u09BE-\\u09C0\\u09C7\\u09C8\\u09CB\\u09CC\\u09D7\\u0A03\\u0A3E-\\u0A40\\u0A83\\u0ABE-\\u0AC0\\u0AC9\\u0ACB\\u0ACC\\u0B02\\u0B03\\u0B3E\\u0B40\\u0B47\\u0B48\\u0B4B\\u0B4C\\u0B57\\u0BBE\\u0BBF\\u0BC1\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCC\\u0BD7\\u0C01-\\u0C03\\u0C41-\\u0C44\\u0C82\\u0C83\\u0CBE\\u0CC0-\\u0CC4\\u0CC7\\u0CC8\\u0CCA\\u0CCB\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D40\\u0D46-\\u0D48\\u0D4A-\\u0D4C\\u0D57\\u0D82\\u0D83\\u0DCF-\\u0DD1\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0F3E\\u0F3F\\u0F7F\\u102B\\u102C\\u1031\\u1038\\u103B\\u103C\\u1056\\u1057\\u1062-\\u1064\\u1067-\\u106D\\u1083\\u1084\\u1087-\\u108C\\u108F\\u109A-\\u109C\\u17B6\\u17BE-\\u17C5\\u17C7\\u17C8\\u1923-\\u1926\\u1929-\\u192B\\u1930\\u1931\\u1933-\\u1938\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A19-\\u1A1B\\u1A55\\u1A57\\u1A61\\u1A63\\u1A64\\u1A6D-\\u1A72\\u1B04\\u1B35\\u1B3B\\u1B3D-\\u1B41\\u1B43\\u1B44\\u1B82\\u1BA1\\u1BA6\\u1BA7\\u1BAA\\u1C24-\\u1C2B\\u1C34\\u1C35\\u1CE1\\u1CF2\\uA823\\uA824\\uA827\\uA880\\uA881\\uA8B4-\\uA8C3\\uA952\\uA953\\uA983\\uA9B4\\uA9B5\\uA9BA\\uA9BB\\uA9BD-\\uA9C0\\uAA2F\\uAA30\\uAA33\\uAA34\\uAA4D\\uAA7B\\uABE3\\uABE4\\uABE6\\uABE7\\uABE9\\uABEA\\uABEC]"),connector_punctuation:new RegExp("[\\u005F\\u203F\\u2040\\u2054\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFF3F]")});q.prototype=Object.create(Error.prototype),q.prototype.constructor=q,q.prototype.name="SyntaxError",u(q);var Kt={},Yt=_(["typeof","void","delete","--","++","!","~","-","+"]),Gt=_(["--","++"]),Wt=_(["=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&="]),Qt=function(e,t){for(var n=0;n<e.length;++n)for(var r=e[n],o=0;o<r.length;++o)t[r[o]]=n+1;return t}([["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]],{}),Zt=(n(["for","do","while","switch"]),n(["atom","num","string","regexp","name"]));$.prototype=new O,function(e){function t(t,n){t.DEFMETHOD("transform",function(t,r){var o,i;return t.push(this),t.before&&(o=t.before(this,n,r)),o===e&&(t.after?(t.stack[t.stack.length-1]=o=this,n(o,t),(i=t.after(o,r))!==e&&(o=i)):n(o=this,t)),t.pop(this),o})}function n(e,t){return te(e,function(e){return e.transform(t,!0)})}t(re,f),t(pe,function(e,t){e.label=e.label.transform(t),e.body=e.body.transform(t)}),t(ue,function(e,t){e.body=e.body.transform(t)}),t(se,function(e,t){e.body=n(e.body,t)}),t(de,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t)}),t(ve,function(e,t){e.init&&(e.init=e.init.transform(t)),e.condition&&(e.condition=e.condition.transform(t)),e.step&&(e.step=e.step.transform(t)),e.body=e.body.transform(t)}),t(be,function(e,t){e.init=e.init.transform(t),e.object=e.object.transform(t),e.body=e.body.transform(t)}),t(ye,function(e,t){e.expression=e.expression.transform(t),e.body=e.body.transform(t)}),t(Oe,function(e,t){e.value&&(e.value=e.value.transform(t))}),t(De,function(e,t){e.label&&(e.label=e.label.transform(t))}),t(Fe,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t),e.alternative&&(e.alternative=e.alternative.transform(t))}),t(Le,function(e,t){e.expression=e.expression.transform(t),e.body=n(e.body,t)}),t(Ue,function(e,t){e.expression=e.expression.transform(t),e.body=n(e.body,t)}),t(Ne,function(e,t){e.body=n(e.body,t),e.bcatch&&(e.bcatch=e.bcatch.transform(t)),e.bfinally&&(e.bfinally=e.bfinally.transform(t))}),t(qe,function(e,t){e.argname=e.argname.transform(t),e.body=n(e.body,t)}),t(Ie,function(e,t){e.definitions=n(e.definitions,t)}),t(Ve,function(e,t){e.name=e.name.transform(t),e.value&&(e.value=e.value.transform(t))}),t(Ae,function(e,t){e.name&&(e.name=e.name.transform(t)),e.argnames=n(e.argnames,t),e.body=n(e.body,t)}),t($e,function(e,t){e.expression=e.expression.transform(t),e.args=n(e.args,t)}),t(Ke,function(e,t){e.expressions=n(e.expressions,t)}),t(Ge,function(e,t){e.expression=e.expression.transform(t)}),t(We,function(e,t){e.expression=e.expression.transform(t),e.property=e.property.transform(t)}),t(Qe,function(e,t){e.expression=e.expression.transform(t)}),t(Xe,function(e,t){e.left=e.left.transform(t),e.right=e.right.transform(t)}),t(et,function(e,t){e.condition=e.condition.transform(t),e.consequent=e.consequent.transform(t),e.alternative=e.alternative.transform(t)}),t(nt,function(e,t){e.elements=n(e.elements,t)}),t(rt,function(e,t){e.properties=n(e.properties,t)}),t(ot,function(e,t){e.value=e.value.transform(t)})}(),H.next_id=1,H.prototype={unmangleable:function(e){return e||(e={}),this.global&&!e.toplevel||this.undeclared||!e.eval&&(this.scope.uses_eval||this.scope.uses_with)||e.keep_fnames&&(this.orig[0]instanceof dt||this.orig[0]instanceof ht)},mangle:function(e){var t=e.cache&&e.cache.props;if(this.global&&t&&t.has(this.name))this.mangled_name=t.get(this.name);else if(!this.mangled_name&&!this.unmangleable(e)){var n=this.scope,r=this.orig[0];e.ie8&&r instanceof dt&&(n=n.parent_scope);var o;this.defun&&(o=this.defun.variables.get(this.name))?this.mangled_name=o.mangled_name||o.name:this.mangled_name=n.next_mangled(e,this),this.global&&t&&t.set(this.name,this.mangled_name)}}},we.DEFMETHOD("figure_out_scope",function(e){e=l(e,{cache:null,ie8:!1});var t=this,n=t.parent_scope=null,r=new A,o=null,i=new O(function(t,i){if(t instanceof qe){a=n;return(n=new _e(t)).init_scope_vars(a),i(),n=a,!0}if(t instanceof _e){t.init_scope_vars(n);var a=n,u=o,s=r;return o=n=t,r=new A,i(),n=a,o=u,r=s,!0}if(t instanceof pe){var l=t.label;if(r.has(l.name))throw new Error(v("Label {name} defined twice",l));return r.set(l.name,l),i(),r.del(l.name),!0}if(t instanceof ye)for(var c=n;c;c=c.parent_scope)c.uses_with=!0;else if(t instanceof st&&(t.scope=n),t instanceof gt&&(t.thedef=t,t.references=[]),t instanceof dt)o.def_function(t);else if(t instanceof ht)(t.scope=o.parent_scope).def_function(t);else if(t instanceof ft){if(o.def_variable(t),o!==n){t.mark_enclosed(e);var f=n.find_variable(t);t.thedef!==f&&(t.thedef=f,t.reference(e))}}else if(t instanceof mt)n.def_variable(t).defun=o;else if(t instanceof bt){var p=r.get(t.name);if(!p)throw new Error(v("Undefined label {name} [{line},{col}]",{name:t.name,line:t.start.line,col:t.start.col}));t.thedef=p}});t.walk(i);var a=null,i=(t.globals=new A,new O(function(n,r){if(n instanceof Ae){var o=a;return a=n,r(),a=o,!0}if(n instanceof De&&n.label)return n.label.thedef.references.push(n),!0;if(n instanceof vt){var u=n.name;if("eval"==u&&i.parent()instanceof $e)for(var s=n.scope;s&&!s.uses_eval;s=s.parent_scope)s.uses_eval=!0;var l=n.scope.find_variable(u);return n.scope instanceof Ae&&"arguments"==u&&(n.scope.uses_arguments=!0),l||(l=t.def_global(n)),n.thedef=l,n.reference(e),!0}}));t.walk(i),e.ie8&&t.walk(new O(function(n,r){if(n instanceof mt){var o=n.name,i=n.thedef.references,a=n.thedef.defun,u=a.find_variable(o)||t.globals.get(o)||a.def_variable(n);return i.forEach(function(t){t.thedef=u,t.reference(e)}),n.thedef=u,!0}})),e.cache&&(this.cname=e.cache.cname)}),we.DEFMETHOD("def_global",function(e){var t=this.globals,n=e.name;if(t.has(n))return t.get(n);var r=new H(this,t.size(),e);return r.undeclared=!0,r.global=!0,t.set(n,r),r}),_e.DEFMETHOD("init_scope_vars",function(e){this.variables=new A,this.functions=new A,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=e,this.enclosed=[],this.cname=-1}),Ae.DEFMETHOD("init_scope_vars",function(){_e.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new pt({name:"arguments",start:this.start,end:this.end}))}),st.DEFMETHOD("mark_enclosed",function(e){for(var t=this.definition(),n=this.scope;n&&(g(n.enclosed,t),e.keep_fnames&&n.functions.each(function(e){g(t.scope.enclosed,e)}),n!==t.scope);)n=n.parent_scope}),st.DEFMETHOD("reference",function(e){this.definition().references.push(this),this.mark_enclosed(e)}),_e.DEFMETHOD("find_variable",function(e){return e instanceof st&&(e=e.name),this.variables.get(e)||this.parent_scope&&this.parent_scope.find_variable(e)}),_e.DEFMETHOD("def_function",function(e){this.functions.set(e.name,this.def_variable(e))}),_e.DEFMETHOD("def_variable",function(e){var t;return this.variables.has(e.name)?(t=this.variables.get(e.name)).orig.push(e):(t=new H(this,this.variables.size(),e),this.variables.set(e.name,t),t.global=!this.parent_scope),e.thedef=t}),_e.DEFMETHOD("next_mangled",function(e){var t=this.enclosed;e:for(;;){var n=Jt(++this.cname);if(L(n)&&!(e.reserved.indexOf(n)>=0)){for(var r=t.length;--r>=0;){var o=t[r];if(n==(o.mangled_name||o.unmangleable(e)&&o.name))continue e}return n}}}),xe.DEFMETHOD("next_mangled",function(e,t){for(var n=t.orig[0]instanceof pt&&this.name&&this.name.definition(),r=n?n.mangled_name||n.name:null;;){var o=Ae.prototype.next_mangled.call(this,e,t);if(!r||r!=o)return o}}),st.DEFMETHOD("unmangleable",function(e){return this.definition().unmangleable(e)}),gt.DEFMETHOD("unmangleable",function(){return!1}),st.DEFMETHOD("unreferenced",function(){return 0==this.definition().references.length&&!(this.scope.uses_eval||this.scope.uses_with)}),st.DEFMETHOD("undeclared",function(){return this.definition().undeclared}),bt.DEFMETHOD("undeclared",function(){return!1}),gt.DEFMETHOD("undeclared",function(){return!1}),st.DEFMETHOD("definition",function(){return this.thedef}),st.DEFMETHOD("global",function(){return this.definition().global}),we.DEFMETHOD("_default_mangler_options",function(e){return l(e,{eval:!1,ie8:!1,keep_fnames:!1,reserved:[],toplevel:!1})}),we.DEFMETHOD("mangle_names",function(e){(e=this._default_mangler_options(e)).reserved.push("arguments");var t=-1,n=[];e.cache&&this.globals.each(function(t){e.reserved.indexOf(t.name)<0&&n.push(t)});var r=new O(function(o,i){if(o instanceof pe){var a=t;return i(),t=a,!0}if(o instanceof _e){r.parent();var u=[];return o.variables.each(function(t){e.reserved.indexOf(t.name)<0&&u.push(t)}),void n.push.apply(n,u)}if(o instanceof gt){var s;do{s=Jt(++t)}while(!L(s));return o.mangled_name=s,!0}if(!e.ie8&&o instanceof mt)return void n.push(o.definition())});this.walk(r),n.forEach(function(t){t.mangle(e)}),e.cache&&(e.cache.cname=this.cname)}),we.DEFMETHOD("compute_char_frequency",function(e){e=this._default_mangler_options(e);var t=new O(function(t){t instanceof _t?Jt.consider(t.print_to_string()):t instanceof Be?Jt.consider("return"):t instanceof Se?Jt.consider("throw"):t instanceof Re?Jt.consider("continue"):t instanceof Te?Jt.consider("break"):t instanceof ie?Jt.consider("debugger"):t instanceof ae?Jt.consider(t.value):t instanceof ge?Jt.consider("while"):t instanceof me?Jt.consider("do while"):t instanceof Fe?(Jt.consider("if"),t.alternative&&Jt.consider("else")):t instanceof je?Jt.consider("var"):t instanceof Ae?Jt.consider("function"):t instanceof ve?Jt.consider("for"):t instanceof be?Jt.consider("for in"):t instanceof Le?Jt.consider("switch"):t instanceof Ue?Jt.consider("case"):t instanceof Pe?Jt.consider("default"):t instanceof ye?Jt.consider("with"):t instanceof at?Jt.consider("set"+t.key):t instanceof ut?Jt.consider("get"+t.key):t instanceof it?Jt.consider(t.key):t instanceof He?Jt.consider("new"):t instanceof yt?Jt.consider("this"):t instanceof Ne?Jt.consider("try"):t instanceof qe?Jt.consider("catch"):t instanceof ze?Jt.consider("finally"):t instanceof st&&t.unmangleable(e)?Jt.consider(t.name):t instanceof Qe||t instanceof Xe?Jt.consider(t.operator):t instanceof Ge&&Jt.consider(t.property)});this.walk(t),Jt.sort()});var Jt=function(){function e(){r=Object.create(null),(n=o.split("").map(function(e){return e.charCodeAt(0)})).forEach(function(e){r[e]=0})}function t(e){var t="",r=54;e++;do{e--,t+=String.fromCharCode(n[e%r]),e=Math.floor(e/r),r=64}while(e>0);return t}var n,r,o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_0123456789";return t.consider=function(e){for(var t=e.length;--t>=0;){var n=e.charCodeAt(t);n in r&&++r[n]}},t.sort=function(){n=y(n,function(e,t){return S(e)&&!S(t)?1:S(t)&&!S(e)?-1:r[t]-r[e]})},t.reset=e,e(),t.get=function(){return n},t.freq=function(){return r},t}(),Xt=/^$|[;{][\s\n]*$/;!function(){function e(e,t){e.DEFMETHOD("_codegen",t)}function t(e,n){Array.isArray(e)?e.forEach(function(e){t(e,n)}):e.DEFMETHOD("needs_parens",n)}function n(e,t,n,r){var o=e.length-1;g=r,e.forEach(function(e,r){!0!==g||e instanceof ae||e instanceof ce||e instanceof ue&&e.body instanceof wt||(g=!1),e instanceof ce||(n.indent(),e.print(n),r==o&&t||(n.newline(),t&&n.newline())),!0===g&&e instanceof ue&&e.body instanceof wt&&(g=!1)}),g=!1}function r(e,t,r){e.length>0?t.with_block(function(){n(e,!1,t,r)}):t.print("{}")}function o(e,t){var n=e.body;if(t.option("bracketize")||t.option("ie8")&&n instanceof me)return p(n,t);if(!n)return t.force_semicolon();for(;;)if(n instanceof Fe){if(!n.alternative)return void p(e.body,t);n=n.alternative}else{if(!(n instanceof fe))break;n=n.body}u(e.body,t)}function i(e,t,n){if(n)try{e.walk(new O(function(e){if(e instanceof Xe&&"in"==e.operator)throw t})),e.print(t)}catch(n){if(n!==t)throw n;e.print(t,!0)}else e.print(t)}function a(e){return[92,47,46,43,42,63,40,41,91,93,123,125,36,94,58,124,33,10,13,0,65279,8232,8233].indexOf(e)<0}function u(e,t){t.option("bracketize")?p(e,t):!e||e instanceof ce?t.force_semicolon():e.print(t)}function s(e,t){return e.args.length>0||t.option("beautify")}function l(e){for(var t=e[0],n=t.length,r=1;r<e.length;++r)e[r].length<n&&(n=(t=e[r]).length);return t}function c(e){var t,n=e.toString(10),r=[n.replace(/^0\./,".").replace("e+","e")];return Math.floor(e)===e?(e>=0?r.push("0x"+e.toString(16).toLowerCase(),"0"+e.toString(8)):r.push("-0x"+(-e).toString(16).toLowerCase(),"-0"+(-e).toString(8)),(t=/^(.*?)(0+)$/.exec(e))&&r.push(t[1]+"e"+t[2].length)):(t=/^0?\.(0+)(.*)$/.exec(e))&&r.push(t[2]+"e-"+(t[1].length+t[2].length),n.substr(n.indexOf("."))),l(r)}function p(e,t){!e||e instanceof ce?t.print("{}"):e instanceof le?e.print(t):t.with_block(function(){t.indent(),e.print(t),t.newline()})}function h(e,t){e.DEFMETHOD("add_source_map",function(e){t(this,e)})}function d(e,t){t.add_mapping(e.start)}var m=!1,g=!1;re.DEFMETHOD("print",function(e,t){function n(){r.add_comments(e),r.add_source_map(e),o(r,e)}var r=this,o=r._codegen,i=m;r instanceof ae&&"use asm"==r.value&&e.parent()instanceof _e&&(m=!0),e.push_node(r),t||r.needs_parens(e)?e.with_parens(n):n(),e.pop_node(),r instanceof _e&&(m=i)}),re.DEFMETHOD("print_to_string",function(e){var t=Y(e);return e||(t._readonly=!0),this.print(t),t.get()}),re.DEFMETHOD("add_comments",function(e){if(!e._readonly){var t=this,n=t.start;if(n&&!n._comments_dumped){n._comments_dumped=!0;var r=n.comments_before||[];if(t instanceof Oe&&t.value&&t.value.walk(new O(function(e){if(e.start&&e.start.comments_before&&(r=r.concat(e.start.comments_before),e.start.comments_before=[]),e instanceof xe||e instanceof nt||e instanceof rt)return!0})),0==e.pos()){r.length>0&&e.option("shebang")&&"comment5"==r[0].type&&(e.print("#!"+r.shift().value+"\n"),e.indent());var o=e.option("preamble");o&&e.print(o.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}r=r.filter(e.comment_filter,t),!e.option("beautify")&&r.length>0&&/comment[134]/.test(r[0].type)&&0!==e.col()&&r[0].nlb&&e.print("\n"),r.forEach(function(t){/comment[134]/.test(t.type)?(e.print("//"+t.value+"\n"),e.indent()):"comment2"==t.type&&(e.print("/*"+t.value+"*/"),n.nlb?(e.print("\n"),e.indent()):e.space())})}}}),t(re,function(){return!1}),t(xe,function(e){if(x(e))return!0;if(e.option("wrap_iife")){var t=e.parent();return t instanceof $e&&t.expression===this}return!1}),t(rt,function(e){return x(e)}),t(Qe,function(e){var t=e.parent();return t instanceof Ye&&t.expression===this||t instanceof $e&&t.expression===this}),t(Ke,function(e){var t=e.parent();return t instanceof $e||t instanceof Qe||t instanceof Xe||t instanceof Ve||t instanceof Ye||t instanceof nt||t instanceof ot||t instanceof et}),t(Xe,function(e){var t=e.parent();if(t instanceof $e&&t.expression===this)return!0;if(t instanceof Qe)return!0;if(t instanceof Ye&&t.expression===this)return!0;if(t instanceof Xe){var n=t.operator,r=Qt[n],o=this.operator,i=Qt[o];if(r>i||r==i&&this===t.right)return!0}}),t(Ye,function(e){var t=e.parent();if(t instanceof He&&t.expression===this)try{this.walk(new O(function(e){if(e instanceof $e)throw t}))}catch(e){if(e!==t)throw e;return!0}}),t($e,function(e){var t,n=e.parent();return n instanceof He&&n.expression===this||this.expression instanceof xe&&n instanceof Ye&&n.expression===this&&(t=e.parent(1))instanceof tt&&t.left===n}),t(He,function(e){var t=e.parent();if(!s(this,e)&&(t instanceof Ye||t instanceof $e&&t.expression===this))return!0}),t(At,function(e){var t=e.parent();if(t instanceof Ye&&t.expression===this){var n=this.getValue();if(n<0||/^0/.test(c(n)))return!0}}),t([tt,et],function(e){var t=e.parent();return t instanceof Qe||(t instanceof Xe&&!(t instanceof tt)||(t instanceof $e&&t.expression===this||(t instanceof et&&t.condition===this||(t instanceof Ye&&t.expression===this||void 0))))}),e(ae,function(e,t){t.print_string(e.value,e.quote),t.semicolon()}),e(ie,function(e,t){t.print("debugger"),t.semicolon()}),fe.DEFMETHOD("_do_print_body",function(e){u(this.body,e)}),e(oe,function(e,t){e.body.print(t),t.semicolon()}),e(we,function(e,t){n(e.body,!0,t,!0),t.print("")}),e(pe,function(e,t){e.label.print(t),t.colon(),e.body.print(t)}),e(ue,function(e,t){e.body.print(t),t.semicolon()}),e(le,function(e,t){r(e.body,t)}),e(ce,function(e,t){t.semicolon()}),e(me,function(e,t){t.print("do"),t.space(),p(e.body,t),t.space(),t.print("while"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.semicolon()}),e(ge,function(e,t){t.print("while"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e._do_print_body(t)}),e(ve,function(e,t){t.print("for"),t.space(),t.with_parens(function(){e.init?(e.init instanceof Ie?e.init.print(t):i(e.init,t,!0),t.print(";"),t.space()):t.print(";"),e.condition?(e.condition.print(t),t.print(";"),t.space()):t.print(";"),e.step&&e.step.print(t)}),t.space(),e._do_print_body(t)}),e(be,function(e,t){t.print("for"),t.space(),t.with_parens(function(){e.init.print(t),t.space(),t.print("in"),t.space(),e.object.print(t)}),t.space(),e._do_print_body(t)}),e(ye,function(e,t){t.print("with"),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space(),e._do_print_body(t)}),Ae.DEFMETHOD("_do_print",function(e,t){var n=this;t||e.print("function"),n.name&&(e.space(),n.name.print(e)),e.with_parens(function(){n.argnames.forEach(function(t,n){n&&e.comma(),t.print(e)})}),e.space(),r(n.body,e,!0)}),e(Ae,function(e,t){e._do_print(t)}),Oe.DEFMETHOD("_do_print",function(e,t){e.print(t),this.value&&(e.space(),this.value.print(e)),e.semicolon()}),e(Be,function(e,t){e._do_print(t,"return")}),e(Se,function(e,t){e._do_print(t,"throw")}),De.DEFMETHOD("_do_print",function(e,t){e.print(t),this.label&&(e.space(),this.label.print(e)),e.semicolon()}),e(Te,function(e,t){e._do_print(t,"break")}),e(Re,function(e,t){e._do_print(t,"continue")}),e(Fe,function(e,t){t.print("if"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e.alternative?(o(e,t),t.space(),t.print("else"),t.space(),e.alternative instanceof Fe?e.alternative.print(t):u(e.alternative,t)):e._do_print_body(t)}),e(Le,function(e,t){t.print("switch"),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space();var n=e.body.length-1;n<0?t.print("{}"):t.with_block(function(){e.body.forEach(function(e,r){t.indent(!0),e.print(t),r<n&&e.body.length>0&&t.newline()})})}),Me.DEFMETHOD("_do_print_body",function(e){e.newline(),this.body.forEach(function(t){e.indent(),t.print(e),e.newline()})}),e(Pe,function(e,t){t.print("default:"),e._do_print_body(t)}),e(Ue,function(e,t){t.print("case"),t.space(),e.expression.print(t),t.print(":"),e._do_print_body(t)}),e(Ne,function(e,t){t.print("try"),t.space(),r(e.body,t),e.bcatch&&(t.space(),e.bcatch.print(t)),e.bfinally&&(t.space(),e.bfinally.print(t))}),e(qe,function(e,t){t.print("catch"),t.space(),t.with_parens(function(){e.argname.print(t)}),t.space(),r(e.body,t)}),e(ze,function(e,t){t.print("finally"),t.space(),r(e.body,t)}),Ie.DEFMETHOD("_do_print",function(e,t){e.print(t),e.space(),this.definitions.forEach(function(t,n){n&&e.comma(),t.print(e)});var n=e.parent();(n instanceof ve||n instanceof be)&&n.init===this||e.semicolon()}),e(je,function(e,t){e._do_print(t,"var")}),e(Ve,function(e,t){if(e.name.print(t),e.value){t.space(),t.print("="),t.space();var n=t.parent(1),r=n instanceof ve||n instanceof be;i(e.value,t,r)}}),e($e,function(e,t){e.expression.print(t),e instanceof He&&!s(e,t)||t.with_parens(function(){e.args.forEach(function(e,n){n&&t.comma(),e.print(t)})})}),e(He,function(e,t){t.print("new"),t.space(),$e.prototype._codegen(e,t)}),Ke.DEFMETHOD("_do_print",function(e){this.expressions.forEach(function(t,n){n>0&&(e.comma(),e.should_break()&&(e.newline(),e.indent())),t.print(e)})}),e(Ke,function(e,t){e._do_print(t)}),e(Ge,function(e,t){var n=e.expression;n.print(t),n instanceof At&&n.getValue()>=0&&(/[xa-f.)]/i.test(t.last())||t.print(".")),t.print("."),t.add_mapping(e.end),t.print_name(e.property)}),e(We,function(e,t){e.expression.print(t),t.print("["),e.property.print(t),t.print("]")}),e(Ze,function(e,t){var n=e.operator;t.print(n),(/^[a-z]/i.test(n)||/[+-]$/.test(n)&&e.expression instanceof Ze&&/^[+-]/.test(e.expression.operator))&&t.space(),e.expression.print(t)}),e(Je,function(e,t){e.expression.print(t),t.print(e.operator)}),e(Xe,function(e,t){var n=e.operator;e.left.print(t),">"==n[0]&&e.left instanceof Je&&"--"==e.left.operator?t.print(" "):t.space(),t.print(n),("<"==n||"<<"==n)&&e.right instanceof Ze&&"!"==e.right.operator&&e.right.expression instanceof Ze&&"--"==e.right.expression.operator?t.print(" "):t.space(),e.right.print(t)}),e(et,function(e,t){e.condition.print(t),t.space(),t.print("?"),t.space(),e.consequent.print(t),t.space(),t.colon(),e.alternative.print(t)}),e(nt,function(e,t){t.with_square(function(){var n=e.elements,r=n.length;r>0&&t.space(),n.forEach(function(e,n){n&&t.comma(),e.print(t),n===r-1&&e instanceof Bt&&t.comma()}),r>0&&t.space()})}),e(rt,function(e,t){e.properties.length>0?t.with_block(function(){e.properties.forEach(function(e,n){n&&(t.print(","),t.newline()),t.indent(),e.print(t)}),t.newline()}):t.print("{}")}),e(it,function(e,t){var n=e.key,r=e.quote;t.option("quote_keys")?t.print_string(n+""):("number"==typeof n||!t.option("beautify")&&+n+""==n)&&parseFloat(n)>=0?t.print(c(n)):(Mt(n)?!t.option("ie8"):U(n))?r&&t.option("keep_quoted_props")?t.print_string(n,r):t.print_name(n):t.print_string(n,r),t.colon(),e.value.print(t)}),e(at,function(e,t){t.print("set"),t.space(),e.key.print(t),e.value._do_print(t,!0)}),e(ut,function(e,t){t.print("get"),t.space(),e.key.print(t),e.value._do_print(t,!0)}),e(st,function(e,t){var n=e.definition();t.print_name(n?n.mangled_name||n.name:e.name)}),e(Bt,f),e(yt,function(e,t){t.print("this")}),e(_t,function(e,t){t.print(e.getValue())}),e(wt,function(e,t){t.print_string(e.getValue(),e.quote,g)}),e(At,function(e,t){m&&e.start&&null!=e.start.raw?t.print(e.start.raw):t.print(c(e.getValue()))}),e(Et,function(e,t){var n=e.getValue().toString();t.option("ascii_only")?n=t.to_ascii(n):t.option("unescape_regexps")&&(n=n.split("\\\\").map(function(e){return e.replace(/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}/g,function(e){var t=parseInt(e.substr(2),16);return a(t)?String.fromCharCode(t):e})}).join("\\\\")),t.print(n);var r=t.parent();r instanceof Xe&&/^in/.test(r.operator)&&r.left===e&&t.print(" ")}),h(re,f),h(ae,d),h(ie,d),h(st,d),h(ke,d),h(fe,d),h(pe,f),h(Ae,d),h(Le,d),h(Me,d),h(le,d),h(we,f),h(He,d),h(Ne,d),h(qe,d),h(ze,d),h(Ie,d),h(_t,d),h(at,function(e,t){t.add_mapping(e.start,e.key.name)}),h(ut,function(e,t){t.add_mapping(e.start,e.key.name)}),h(ot,function(e,t){t.add_mapping(e.start,e.key)})}(),G.prototype=new $,c(G.prototype,{option:function(e){return this.options[e]},toplevel:function(e){for(var t=0,n=e.orig.length;t<n;t++)if(!this.toplevel[e.orig[t]instanceof ht?"funcs":"vars"])return!1;return!0},compress:function(e){this.option("expression")&&e.process_expression(!0);for(var t=+this.options.passes||1,n=0;n<t&&n<3;++n)(n>0||this.option("reduce_vars"))&&e.reset_opt_flags(this,!0),e=e.transform(this);return this.option("expression")&&e.process_expression(!1),e},info:function(){"verbose"==this.options.warnings&&re.warn.apply(re,arguments)},warn:function(e,t){if(this.options.warnings){var n=v(e,t);n in this.warnings_produced||(this.warnings_produced[n]=!0,re.warn.apply(re,arguments))}},clear_warnings:function(){this.warnings_produced={}},before:function(e,t,n){if(e._squeezed)return e;var r=!1;e instanceof _e&&(e=e.hoist_declarations(this),r=!0),t(e,this),t(e,this);var o=e.optimize(this);return r&&o instanceof _e&&(o.drop_unused(this),t(o,this)),o===e&&(o._squeezed=!0),o}}),function(){function e(e,t){e.DEFMETHOD("optimize",function(e){var n=this;if(n._optimized)return n;if(e.has_directive("use asm"))return n;var r=t(n,e);return r._optimized=!0,r})}function t(e){return e instanceof vt&&e.definition().orig[0]instanceof dt}function n(e,t){for(var n,r=0;(n=e.parent(r++))&&!(n instanceof _e);)if(n instanceof qe){n=n.argname.definition().scope;break}return n.find_variable(t)}function r(e,t,n){return n||(n={}),t&&(n.start||(n.start=t.start),n.end||(n.end=t.end)),new e(n)}function a(e,t){return 1==t.length?t[0]:r(Ke,e,{expressions:t})}function u(e,t){switch(typeof e){case"string":return r(wt,t,{value:e});case"number":return isNaN(e)?r(kt,t):isFinite(e)?1/e<0?r(Ze,t,{operator:"-",expression:r(At,t,{value:-e})}):r(At,t,{value:e}):e<0?r(Ze,t,{operator:"-",expression:r(St,t)}):r(St,t);case"boolean":return r(e?Rt:Tt,t);case"undefined":return r(Ot,t);default:if(null===e)return r(Ct,t,{value:null});if(e instanceof RegExp)return r(Et,t,{value:e});throw new Error(v("Can't handle constant of type: {type}",{type:typeof e}))}}function s(e,t,n){return e instanceof Ze&&"delete"==e.operator||e instanceof $e&&e.expression===t&&(n instanceof Ye||n instanceof vt&&"eval"==n.name)?a(t,[r(At,t,{value:0}),n]):n}function l(e,t){t instanceof Ke?e.push.apply(e,t.expressions):e.push(t)}function c(e){if(null===e)return[];if(e instanceof le)return e.body;if(e instanceof ce)return[];if(e instanceof oe)return[e];throw new Error("Can't convert thing to statement array")}function g(e){return null===e||(e instanceof ce||e instanceof le&&0==e.body.length)}function y(e){return e instanceof Le?e:(e instanceof ve||e instanceof be||e instanceof de)&&e.body instanceof le?e.body:e}function C(e){return e instanceof $e&&!(e instanceof He)&&(e.expression instanceof xe||C(e.expression))}function B(e,n){function o(e){var t=[];return e.reduce(function(e,n){return n instanceof le?(u=!0,e.push.apply(e,o(n.body))):n instanceof ce?u=!0:n instanceof ae?t.indexOf(n.value)<0?(e.push(n),t.push(n.value)):u=!0:e.push(n),e},[])}function i(e,t){function n(e){o.pop();var n=i.body;return n instanceof Ke||(n=r(Ke,n,{expressions:[n]})),l(n.expressions,e),n.transform(t)}var o=[],i=null;return e.forEach(function(e){if(i)if(e instanceof ve)try{i.body.walk(new O(function(e){if(e instanceof Xe&&"in"==e.operator)throw n})),!e.init||e.init instanceof Ie?e.init||(e.init=i.body.drop_side_effect_free(t),o.pop()):e.init=n(e.init)}catch(e){if(e!==n)throw e}else e instanceof Fe?e.condition=n(e.condition):e instanceof ye?e.expression=n(e.expression):e instanceof Oe&&e.value?e.value=n(e.value):e instanceof Oe?e.value=n(r(Ot,e).transform(t)):e instanceof Le&&(e.expression=n(e.expression));o.push(e),i=e instanceof ue?e:null}),o}var u,f=10;do{u=!1,e=o(e),n.option("dead_code")&&(e=function(e,t){var n=!1,r=e.length,o=t.self();return e=e.reduce(function(e,r){if(n)D(t,r,e);else{if(r instanceof De){var i=t.loopcontrol_target(r);r instanceof Te&&!(i instanceof he)&&y(i)===o||r instanceof Re&&y(i)===o?r.label&&b(r.label.thedef.references,r):e.push(r)}else e.push(r);P(r)&&(n=!0)}return e},[]),u=e.length!=r,e}(e,n)),n.option("if_return")&&(e=function(e,t){var n=t.self(),o=function(e){for(var t=0,n=e.length;--n>=0;){var r=e[n];if(r instanceof Fe&&r.body instanceof Be&&++t>1)return!0}return!1}(e),i=n instanceof Ae,a=[];e:for(var s=e.length;--s>=0;){var l=e[s];switch(!0){case i&&l instanceof Be&&!l.value&&0==a.length:u=!0;continue e;case l instanceof Fe:if(l.body instanceof Be){if((i&&0==a.length||a[0]instanceof Be&&!a[0].value)&&!l.body.value&&!l.alternative){u=!0;var f=r(ue,l.condition,{body:l.condition});a.unshift(f);continue e}if(a[0]instanceof Be&&l.body.value&&a[0].value&&!l.alternative){u=!0,(l=l.clone()).alternative=a[0],a[0]=l.transform(t);continue e}if(o&&(0==a.length||a[0]instanceof Be)&&l.body.value&&!l.alternative&&i){u=!0,(l=l.clone()).alternative=a[0]||r(Be,l,{value:null}),a[0]=l.transform(t);continue e}if(!l.body.value&&i){u=!0,(l=l.clone()).condition=l.condition.negate(t);var p=S(m=c(l.alternative).concat(a));l.body=r(le,l,{body:m}),l.alternative=null,a=p.concat([l.transform(t)]);continue e}if(t.option("sequences")&&s>0&&e[s-1]instanceof Fe&&e[s-1].body instanceof Be&&1==a.length&&i&&a[0]instanceof ue&&!l.alternative){u=!0,a.push(r(Be,a[0],{value:null}).transform(t)),a.unshift(l);continue e}}var h=P(l.body),d=h instanceof De?t.loopcontrol_target(h):null;if(h&&(h instanceof Be&&!h.value&&i||h instanceof Re&&n===y(d)||h instanceof Te&&d instanceof le&&n===d)){h.label&&b(h.label.thedef.references,h),u=!0;var m=c(l.body).slice(0,-1);(l=l.clone()).condition=l.condition.negate(t),l.body=r(le,l,{body:c(l.alternative).concat(a)}),l.alternative=r(le,l,{body:m}),a=[l.transform(t)];continue e}d=(h=P(l.alternative))instanceof De?t.loopcontrol_target(h):null;if(h&&(h instanceof Be&&!h.value&&i||h instanceof Re&&n===y(d)||h instanceof Te&&d instanceof le&&n===d)){h.label&&b(h.label.thedef.references,h),u=!0,(l=l.clone()).body=r(le,l.body,{body:c(l.body).concat(a)}),l.alternative=r(le,l.alternative,{body:c(l.alternative).slice(0,-1)}),a=[l.transform(t)];continue e}a.unshift(l);break;default:a.unshift(l)}}return a}(e,n)),n.sequences_limit>0&&(e=function(e,t){function n(){if(o.length){var e=a(o[0],o);s.push(r(ue,e,{body:e})),o=[]}}if(e.length<2)return e;var o=[],s=[];return e.forEach(function(e){if(e instanceof ue){o.length>=t.sequences_limit&&n();var r=e.body;o.length>0&&(r=r.drop_side_effect_free(t)),r&&l(o,r)}else n(),s.push(e)}),n(),s=i(s,t),u=s.length!=e.length,s}(e,n)),n.option("join_vars")&&(e=function(e,t){var n=null;return e.reduce(function(e,t){return t instanceof Ie&&n&&n.TYPE==t.TYPE?(n.definitions=n.definitions.concat(t.definitions),u=!0):t instanceof ve&&n instanceof je&&(!t.init||t.init.TYPE==n.TYPE)?(u=!0,e.pop(),t.init?t.init.definitions=n.definitions.concat(t.init.definitions):t.init=n,e.push(t),n=t):(n=t,e.push(t)),e},[])}(e,n)),n.option("collapse_vars")&&(e=function(e,n){function o(e){e instanceof tt&&!e.left.has_side_effects(n)||e instanceof Qe&&("++"==e.operator||"--"==e.operator)?f.push(e):e instanceof Ke?e.expressions.forEach(o):e instanceof Ie?e.definitions.forEach(function(e){e.value&&f.push(e)}):e instanceof ue?o(e.body):e instanceof ve&&e.init&&o(e.init)}function i(e){for(;e instanceof Ye;)e=e.expression;return e}function a(e){return e instanceof Ve?e.value&&e.name:R(e.left,e)}function l(e){return 1==e.orig.length&&e.orig[0]instanceof ht||e.scope===c&&e.references.every(function(e){return e.scope===c})}var c=n.find_parent(_e);if(c.uses_eval||c.uses_with)return e;for(var f=[],p=e.length;--p>=0;)for(o(e[p]);f.length>0;){var h=f.pop(),d=function(e){if(!(e instanceof Ve))return e[e instanceof tt?"left":"expression"];var t=e.name.definition();return t.orig.length>1||1==t.references.length&&(!t.global||n.toplevel(t))?r(vt,e.name,e.name):void 0}(h);if(d&&!t(d)){var m=function(e){var t=Object.create(null);if(e instanceof Qe)return t;var n,r=new O(function(e,o){if(e instanceof _e){var a=n;return o(),n=a,!0}if(e instanceof vt||e instanceof Ye){var u=i(e);u instanceof vt&&(t[u.name]=t[u.name]||R(e,r.parent()))}});return e[e instanceof tt?"right":"value"].walk(r),t}(h);d instanceof vt&&(m[d.name]=!1);for(var g=function(e){return!(e instanceof Qe)&&e[e instanceof tt?"right":"value"].has_side_effects(n)}(h),v=!1,y=!1,_=!1,w=(new $(function(e,t){if(y)return e;{if(v){var o=w.parent();if(e instanceof tt&&"="!=e.operator&&d.equivalent_to(e.left)||e instanceof ie||e instanceof he&&!(e instanceof ve)||e instanceof vt&&e.undeclared()||e instanceof Ne||e instanceof ye||o instanceof ve&&e!==o.init)return y=!0,e;if(!(e instanceof ct)&&!R(e,o)&&d.equivalent_to(e)){if(u=_=y=!0,n.info("Collapsing {name} [{file}:{line},{col}]",{name:e.print_to_string(),file:e.start.file,line:e.start.line,col:e.start.col}),h instanceof Je)return r(Ze,h,h);if(h instanceof Ve){var c=h.name.definition();return 1!=c.references.length||c.global&&!n.toplevel(c)?r(tt,h,{operator:"=",left:r(vt,h.name,h.name),right:h.value}):s(o,e,h.value)}return h}var f;return e instanceof $e||e instanceof Oe||e instanceof Ye||e instanceof vt&&(m[e.name]||g&&!l(e.definition()))||(f=a(e))&&i(f).name in m||o instanceof Xe&&("&&"==o.operator||"||"==o.operator)||o instanceof Ue||o instanceof et||o instanceof ve||o instanceof Fe?(e instanceof _e||t(e,w),y=!0,e):e instanceof Pe||e instanceof _e?e:void 0}if(e===h)return v=!0,e}})),A=p;!y&&A<e.length;A++)e[A].transform(w);_&&!function(t){var n=!1;return e[p].transform(new $(function(e,r,o){return n?e:e===t?(n=!0,e instanceof Ve&&b(e.name.definition().orig,e.name),o?te.skip:null):void 0},function(e){if(e instanceof Ke)switch(e.expressions.length){case 0:return null;case 1:return e.expressions[0]}if(e instanceof Ie&&0==e.definitions.length||e instanceof ue&&!e.body)return null}))}(h)&&e.splice(p,1)}}return e}(e,n))}while(u&&f-- >0);return e}function S(e){for(var t=[],n=e.length-1;n>=0;--n){var r=e[n];r instanceof Ce&&(e.splice(n,1),t.unshift(r))}return t}function D(e,t,n){t instanceof Ce||e.warn("Dropping unreachable code [{file}:{line},{col}]",t.start),t.walk(new O(function(t){return t instanceof Ie?(e.warn("Declarations in unreachable code! [{file}:{line},{col}]",t.start),t.remove_initializers(),n.push(t),!0):t instanceof Ce?(n.push(t),!0):t instanceof _e||void 0}))}function T(e,t){return e.is_undefined||e instanceof Ot||e instanceof Ze&&"void"==e.operator&&!e.expression.has_side_effects(t)}function R(e,t){return t instanceof Qe&&j(t.operator)?t.expression:t instanceof tt&&t.left===e?e:void 0}function F(e,t){return e.print_to_string().length>t.print_to_string().length?t:e}function L(e,t){return F(r(ue,e,{body:e}),r(ue,t,{body:t})).body}function M(e,t,n){return(x(e)?L:F)(t,n)}function P(e){return e&&e.aborts()}function N(e,t){function n(n){n=c(n),e.body instanceof le?(e.body=e.body.clone(),e.body.body=n.concat(e.body.body.slice(1)),e.body=e.body.transform(t)):e.body=r(le,e.body,{body:n}).transform(t),N(e,t)}var o=e.body instanceof le?e.body.body[0]:e.body;o instanceof Fe&&(o.body instanceof Te&&t.loopcontrol_target(o.body)===t.self()?(e.condition?e.condition=r(Xe,e.condition,{left:e.condition,operator:"&&",right:o.condition.negate(t)}):e.condition=o.condition.negate(t),n(o.alternative)):o.alternative instanceof Te&&t.loopcontrol_target(o.alternative)===t.self()&&(e.condition?e.condition=r(Xe,e.condition,{left:e.condition,operator:"&&",right:o.condition}):e.condition=o.condition,n(o.body)))}function z(e,t){return e instanceof vt||e.TYPE===t.TYPE}function I(e,t){return t.option("booleans")&&t.in_boolean_context()?M(t,e,a(e,[e,r(Rt,e)]).optimize(t)):e}e(re,function(e,t){return e}),re.DEFMETHOD("equivalent_to",function(e){return this.TYPE==e.TYPE&&this.print_to_string()==e.print_to_string()}),_e.DEFMETHOD("process_expression",function(e,t){var n=this,o=new $(function(i){if(e&&i instanceof ue)return r(Be,i,{value:i.body});if(!e&&i instanceof Be){if(t){var a=i.value&&i.value.drop_side_effect_free(t,!0);return a?r(ue,i,{body:a}):r(ce,i)}return r(ue,i,{body:i.value||r(Ze,i,{operator:"void",expression:r(At,i,{value:0})})})}if(i instanceof Ae&&i!==n)return i;if(i instanceof se){var u=i.body.length-1;u>=0&&(i.body[u]=i.body[u].transform(o))}return i instanceof Fe&&(i.body=i.body.transform(o),i.alternative&&(i.alternative=i.alternative.transform(o))),i instanceof ye&&(i.body=i.body.transform(o)),i});n.transform(o)}),re.DEFMETHOD("reset_opt_flags",function(e,t){function n(e,t){p[e.id]=t}function o(e){if(p[e.id]){if(null==e.fixed){var t=e.orig[0];if(t instanceof pt||"arguments"==t.name)return!1;e.fixed=r(Ot,t)}return!0}}function i(e,t){return!!E(p,e.id)&&(!!o(e)&&(!1!==e.fixed&&(!(null!=e.fixed&&(!t||e.references.length>0))&&!e.orig.some(function(e){return e instanceof ht||e instanceof dt}))))}function a(){p=Object.create(p)}function u(){p=Object.getPrototypeOf(p)}function s(t){t.escaped=!1,t.scope.uses_eval?t.fixed=!1:!t.global||e.toplevel(t)?t.fixed=void 0:t.fixed=!1,t.references=[],t.should_replace=void 0}function l(e){return e&&e.is_constant()||e instanceof Ae}function c(e,t,n){var r=d.parent(t);return!!(R(e,r)||!n&&r instanceof $e&&r.expression===e)||(r instanceof Ye&&r.expression===e?!n&&c(r,t+1):void 0)}var f=t&&e.option("reduce_vars"),p=Object.create(null),h=new O(function(e){if(e instanceof st){var t=e.definition();e instanceof vt&&t.references.push(e),t.fixed=!1}}),d=new O(function(t,m){if(t._squeezed=!1,t._optimized=!1,f){if(t instanceof we&&t.globals.each(s),t instanceof _e&&t.variables.each(s),t instanceof vt)if((v=t.definition()).references.push(t),void 0===v.fixed||!o(v)||c(t,0,l(t.fixed_value())))v.fixed=!1;else{var g=d.parent();(g instanceof tt&&"="==g.operator&&t===g.right||g instanceof $e&&t!==g.expression||g instanceof Be&&t===g.value&&t.scope!==v.scope||g instanceof Ve&&t===g.value)&&(v.escaped=!0)}if(t instanceof mt&&(t.definition().fixed=!1),t instanceof Ve){if(void 0===(v=t.name.definition()).fixed||i(v,t.value))return t.value?(v.fixed=function(){return t.value},n(v,!1),m()):v.fixed=null,n(v,!0),!0;t.value&&(v.fixed=!1)}if(t instanceof tt&&"="==t.operator&&t.left instanceof vt&&i(v=t.left.definition(),t.right))return v.references.push(t.left),v.fixed=function(){return t.right},n(v,!1),t.right.walk(d),n(v,!0),!0;if(t instanceof Ce){var v=t.name.definition();v.global&&!e.toplevel(v)||o(v)?v.fixed=!1:(v.fixed=t,n(v,!0));y=p;return p=Object.create(null),m(),p=y,!0}if(t instanceof xe){a();var b;return!t.name&&(b=d.parent())instanceof $e&&b.expression===t&&t.argnames.forEach(function(e,o){var i=e.definition();t.uses_arguments||void 0!==i.fixed?i.fixed=!1:(i.fixed=function(){return b.args[o]||r(Ot,b)},n(i,!0))}),m(),u(),!0}if(t instanceof Ee){var y=p;return p=Object.create(null),m(),p=y,!0}if(t instanceof Xe&&("&&"==t.operator||"||"==t.operator))return t.left.walk(d),a(),t.right.walk(d),u(),!0;if(t instanceof et)return t.condition.walk(d),a(),t.consequent.walk(d),u(),a(),t.alternative.walk(d),u(),!0;if(t instanceof Fe)return t.condition.walk(d),a(),t.body.walk(d),u(),t.alternative&&(a(),t.alternative.walk(d),u()),!0;if(t instanceof de)return a(),t.condition.walk(d),t.body.walk(d),u(),!0;if(t instanceof pe)return a(),t.body.walk(d),u(),!0;if(t instanceof ve)return t.init&&t.init.walk(d),t.condition&&(a(),t.condition.walk(d),u()),a(),t.body.walk(d),u(),t.step&&(a(),t.step.walk(d),u()),!0;if(t instanceof be)return t.init.walk(h),t.object.walk(d),a(),t.body.walk(d),u(),!0;if(t instanceof Ne)return a(),k(t,d),u(),t.bcatch&&(a(),t.bcatch.walk(d),u()),t.bfinally&&t.bfinally.walk(d),!0;if(t instanceof Me)return a(),m(),u(),!0}});this.walk(d)}),vt.DEFMETHOD("fixed_value",function(){var e=this.definition().fixed;return!e||e instanceof re?e:e()}),function(e){function t(e){return/strict/.test(e)}re.DEFMETHOD("may_throw_on_access",function(e){var t=e.option("pure_getters");return!t||this._throw_on_access(t)}),e(re,t),e(Ct,h),e(Ot,h),e(_t,p),e(nt,p),e(rt,function(e){if(!t(e))return!1;for(var n=this.properties.length;--n>=0;)if(this.properties[n].value instanceof Ee)return!0;return!1}),e(xe,p),e(Je,p),e(Ze,function(){return"void"==this.operator}),e(Xe,function(e){switch(this.operator){case"&&":return this.left._throw_on_access(e);case"||":return this.left._throw_on_access(e)&&this.right._throw_on_access(e);default:return!1}}),e(tt,function(e){return"="==this.operator&&this.right._throw_on_access(e)}),e(et,function(e){return this.consequent._throw_on_access(e)||this.alternative._throw_on_access(e)}),e(Ke,function(e){return this.expressions[this.expressions.length-1]._throw_on_access(e)}),e(vt,function(e){if(this.is_undefined)return!0;if(!t(e))return!1;var n=this.fixed_value();return!n||n._throw_on_access(e)})}(function(e,t){e.DEFMETHOD("_throw_on_access",t)}),function(e){var t=["!","delete"],n=["in","instanceof","==","!=","===","!==","<","<=",">=",">"];e(re,p),e(Ze,function(){return o(this.operator,t)}),e(Xe,function(){return o(this.operator,n)||("&&"==this.operator||"||"==this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),e(et,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),e(tt,function(){return"="==this.operator&&this.right.is_boolean()}),e(Ke,function(){return this.expressions[this.expressions.length-1].is_boolean()}),e(Rt,h),e(Tt,h)}(function(e,t){e.DEFMETHOD("is_boolean",t)}),function(e){e(re,p),e(At,h);var t=_("+ - ~ ++ --");e(Qe,function(){return t(this.operator)});var n=_("- * / % & | ^ << >> >>>");e(Xe,function(e){return n(this.operator)||"+"==this.operator&&this.left.is_number(e)&&this.right.is_number(e)}),e(tt,function(e){return n(this.operator.slice(0,-1))||"="==this.operator&&this.right.is_number(e)}),e(Ke,function(e){return this.expressions[this.expressions.length-1].is_number(e)}),e(et,function(e){return this.consequent.is_number(e)&&this.alternative.is_number(e)})}(function(e,t){e.DEFMETHOD("is_number",t)}),function(e){e(re,p),e(wt,h),e(Ze,function(){return"typeof"==this.operator}),e(Xe,function(e){return"+"==this.operator&&(this.left.is_string(e)||this.right.is_string(e))}),e(tt,function(e){return("="==this.operator||"+="==this.operator)&&this.right.is_string(e)}),e(Ke,function(e){return this.expressions[this.expressions.length-1].is_string(e)}),e(et,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)})}(function(e,t){e.DEFMETHOD("is_string",t)});var j=_("delete ++ --");!function(e){function t(e,n){if(e instanceof re)return r(e.CTOR,n,e);if(Array.isArray(e))return r(nt,n,{elements:e.map(function(e){return t(e,n)})});if(e&&"object"==typeof e){var o=[];for(var i in e)o.push(r(it,n,{key:i,value:t(e[i],n)}));return r(rt,n,{properties:o})}return u(e,n)}re.DEFMETHOD("resolve_defines",function(e){if(e.option("global_defs")){var t=this._find_defs(e,"");if(t){var n,r=this,o=0;do{n=r,r=e.parent(o++)}while(r instanceof Ye&&r.expression===n);if(!R(n,r))return t;e.warn("global_defs "+this.print_to_string()+" redefined [{file}:{line},{col}]",this.start)}}}),e(re,f),e(Ge,function(e,t){return this.expression._find_defs(e,"."+this.property+t)}),e(vt,function(e,n){if(this.global()){var r,o=e.option("global_defs");if(o&&E(o,r=this.name+n)){var i=t(o[r],this),a=e.find_parent(we);return i.walk(new O(function(e){e instanceof vt&&(e.scope=a,e.thedef=a.def_global(e))})),i}}})}(function(e,t){e.DEFMETHOD("_find_defs",t)}),function(e){function t(e,t){if(!t)throw new Error("Compressor must be passed");return e._eval(t)}re.DEFMETHOD("evaluate",function(t){if(!t.option("evaluate"))return this;try{var n=this._eval(t);return!n||n instanceof RegExp||"object"!=typeof n?n:this}catch(t){if(t!==e)throw t;return this}});var n=_("! ~ - + void");re.DEFMETHOD("is_constant",function(){return this instanceof _t?!(this instanceof Et):this instanceof Ze&&this.expression instanceof _t&&n(this.operator)}),re.DEFMETHOD("constant_value",function(e){if(this instanceof _t&&!(this instanceof Et))return this.value;if(this instanceof Ze&&this.expression instanceof _t)switch(this.operator){case"!":return!this.expression.value;case"~":return~this.expression.value;case"-":return-this.expression.value;case"+":return+this.expression.value;default:throw new Error(v("Cannot evaluate unary expression {value}",{value:this.print_to_string()}))}var t=this.evaluate(e);if(t!==this)return t;throw new Error(v("Cannot evaluate constant [{file}:{line},{col}]",this.start))}),e(oe,function(){throw new Error(v("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),e(Ae,function(){throw e}),e(re,function(){throw e}),e(_t,function(){return this.getValue()}),e(nt,function(n){if(n.option("unsafe"))return this.elements.map(function(e){return t(e,n)});throw e}),e(rt,function(n){if(n.option("unsafe")){for(var r={},o=0,i=this.properties.length;o<i;o++){var a=this.properties[o],u=a.key;if(u instanceof st?u=u.name:u instanceof re&&(u=t(u,n)),"function"==typeof Object.prototype[u])throw e;r[u]=t(a.value,n)}return r}throw e}),e(Ze,function(n){var r=this.expression;switch(this.operator){case"!":return!t(r,n);case"typeof":if(r instanceof xe)return"function";if((r=t(r,n))instanceof RegExp)throw e;return typeof r;case"void":return void t(r,n);case"~":return~t(r,n);case"-":return-t(r,n);case"+":return+t(r,n)}throw e}),e(Xe,function(n){var r,o=this.left,i=this.right;switch(this.operator){case"&&":r=t(o,n)&&t(i,n);break;case"||":r=t(o,n)||t(i,n);break;case"|":r=t(o,n)|t(i,n);break;case"&":r=t(o,n)&t(i,n);break;case"^":r=t(o,n)^t(i,n);break;case"+":r=t(o,n)+t(i,n);break;case"*":r=t(o,n)*t(i,n);break;case"/":r=t(o,n)/t(i,n);break;case"%":r=t(o,n)%t(i,n);break;case"-":r=t(o,n)-t(i,n);break;case"<<":r=t(o,n)<<t(i,n);break;case">>":r=t(o,n)>>t(i,n);break;case">>>":r=t(o,n)>>>t(i,n);break;case"==":r=t(o,n)==t(i,n);break;case"===":r=t(o,n)===t(i,n);break;case"!=":r=t(o,n)!=t(i,n);break;case"!==":r=t(o,n)!==t(i,n);break;case"<":r=t(o,n)<t(i,n);break;case"<=":r=t(o,n)<=t(i,n);break;case">":r=t(o,n)>t(i,n);break;case">=":r=t(o,n)>=t(i,n);break;default:throw e}if(isNaN(r)&&n.find_parent(ye))throw e;return r}),e(et,function(e){return t(this.condition,e)?t(this.consequent,e):t(this.alternative,e)}),e(vt,function(n){if(!n.option("reduce_vars")||this._evaluating)throw e;this._evaluating=!0;try{var r=this.fixed_value();if(!r)throw e;var o=t(r,n);if(E(r,"_eval")||(r._eval=function(){return o}),o&&"object"==typeof o&&this.definition().escaped)throw e;return o}finally{this._evaluating=!1}}),e(Ye,function(n){if(n.option("unsafe")){var r=this.property;r instanceof re&&(r=t(r,n));var o=t(this.expression,n);if(o&&E(o,r))return o[r]}throw e})}(function(e,t){e.DEFMETHOD("_eval",t)}),function(e){function t(e){return r(Ze,e,{operator:"!",expression:e})}function n(e,n,o){var i=t(e);if(o){var a=r(ue,n,{body:n});return F(i,a)===a?n:i}return F(i,n)}e(re,function(){return t(this)}),e(oe,function(){throw new Error("Cannot negate a statement")}),e(xe,function(){return t(this)}),e(Ze,function(){return"!"==this.operator?this.expression:t(this)}),e(Ke,function(e){var t=this.expressions.slice();return t.push(t.pop().negate(e)),a(this,t)}),e(et,function(e,t){var r=this.clone();return r.consequent=r.consequent.negate(e),r.alternative=r.alternative.negate(e),n(this,r,t)}),e(Xe,function(e,r){var o=this.clone(),i=this.operator;if(e.option("unsafe_comps"))switch(i){case"<=":return o.operator=">",o;case"<":return o.operator=">=",o;case">=":return o.operator="<",o;case">":return o.operator="<=",o}switch(i){case"==":return o.operator="!=",o;case"!=":return o.operator="==",o;case"===":return o.operator="!==",o;case"!==":return o.operator="===",o;case"&&":return o.operator="||",o.left=o.left.negate(e,r),o.right=o.right.negate(e),n(this,o,r);case"||":return o.operator="&&",o.left=o.left.negate(e,r),o.right=o.right.negate(e),n(this,o,r)}return t(this)})}(function(e,t){e.DEFMETHOD("negate",function(e,n){return t.call(this,e,n)})}),$e.DEFMETHOD("has_pure_annotation",function(e){if(!e.option("side_effects"))return!1;if(void 0!==this.pure)return this.pure;var t,n,r=!1;return this.start&&(t=this.start.comments_before)&&t.length&&/[@#]__PURE__/.test((n=t[t.length-1]).value)&&(r=n),this.pure=r}),function(e){function t(e,t){for(var n=e.length;--n>=0;)if(e[n].has_side_effects(t))return!0;return!1}e(re,h),e(ce,p),e(_t,p),e(yt,p),e($e,function(e){if(!this.has_pure_annotation(e)&&e.pure_funcs(this))return!0;for(var t=this.args.length;--t>=0;)if(this.args[t].has_side_effects(e))return!0;return!1}),e(se,function(e){return t(this.body,e)}),e(Le,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(Ue,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(Ne,function(e){return t(this.body,e)||this.bcatch&&this.bcatch.has_side_effects(e)||this.bfinally&&this.bfinally.has_side_effects(e)}),e(Fe,function(e){return this.condition.has_side_effects(e)||this.body&&this.body.has_side_effects(e)||this.alternative&&this.alternative.has_side_effects(e)}),e(pe,function(e){return this.body.has_side_effects(e)}),e(ue,function(e){return this.body.has_side_effects(e)}),e(Ce,h),e(xe,p),e(Xe,function(e){return this.left.has_side_effects(e)||this.right.has_side_effects(e)}),e(tt,h),e(et,function(e){return this.condition.has_side_effects(e)||this.consequent.has_side_effects(e)||this.alternative.has_side_effects(e)}),e(Qe,function(e){return j(this.operator)||this.expression.has_side_effects(e)}),e(vt,function(e){return this.undeclared()}),e(ct,p),e(rt,function(e){return t(this.properties,e)}),e(ot,function(e){return this.value.has_side_effects(e)}),e(nt,function(e){return t(this.elements,e)}),e(Ge,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)}),e(We,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)||this.property.has_side_effects(e)}),e(Ke,function(e){return this.expressions.some(function(t,n){return t.has_side_effects(e)})})}(function(e,t){e.DEFMETHOD("has_side_effects",t)}),function(e){function t(e){for(var t=e.length;--t>=0;)if(!e[t].is_constant_expression())return!1;return!0}e(re,p),e(_t,h),e(Qe,function(){return this.expression.is_constant_expression()}),e(Xe,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),e(nt,function(){return t(this.elements)}),e(rt,function(){return t(this.properties)}),e(ot,function(){return this.value.is_constant_expression()})}(function(e,t){e.DEFMETHOD("is_constant_expression",t)}),function(e){function t(){var e=this.body.length;return e>0&&P(this.body[e-1])}e(oe,m),e(ke,d),e(le,t),e(Me,t),e(Fe,function(){return this.alternative&&P(this.body)&&P(this.alternative)&&this})}(function(e,t){e.DEFMETHOD("aborts",t)}),e(ae,function(e,t){return t.has_directive(e.value)!==e?r(ce,e):e}),e(ie,function(e,t){return t.option("drop_debugger")?r(ce,e):e}),e(pe,function(e,t){return e.body instanceof Te&&t.loopcontrol_target(e.body)===e.body?r(ce,e):0==e.label.references.length?e.body:e}),e(se,function(e,t){return e.body=B(e.body,t),e}),e(le,function(e,t){switch(e.body=B(e.body,t),e.body.length){case 1:return e.body[0];case 0:return r(ce,e)}return e}),_e.DEFMETHOD("drop_unused",function(e){if(e.option("unused")&&!e.has_directive("use asm")){var t=this;if(!t.uses_eval&&!t.uses_with){var n=!(t instanceof we)||e.toplevel.funcs,o=!(t instanceof we)||e.toplevel.vars;if(n||o){var i=!/keep_assign/.test(e.option("unused")),u=[],c=Object.create(null);t instanceof we&&e.top_retain&&t.variables.each(function(t){!e.top_retain(t)||t.id in c||(c[t.id]=!0,u.push(t))});var f=new A,p=new A,h=this,d=new O(function(r,a){if(r!==t){if(r instanceof Ce)return n||h!==t||(s=r.name.definition()).id in c||(c[s.id]=!0,u.push(s)),p.add(r.name.name,r),!0;if(r instanceof Ie&&h===t)return r.definitions.forEach(function(t){var n=t.name.definition();t.name instanceof ft&&f.add(n.id,t),o||n.id in c||(c[n.id]=!0,u.push(n)),t.value&&(p.add(t.name.name,t.value),t.value.has_side_effects(e)&&t.value.walk(d))}),!0;if(i&&r instanceof tt&&"="==r.operator&&r.left instanceof vt&&h===t)return r.right.walk(d),!0;if(r instanceof vt){var s=r.definition();return s.id in c||(c[s.id]=!0,u.push(s)),!0}if(r instanceof _e){var l=h;return h=r,a(),h=l,!0}}});t.walk(d);for(var m=0;m<u.length;++m)u[m].orig.forEach(function(e){var t=p.get(e.name);t&&t.forEach(function(e){var t=new O(function(e){if(e instanceof vt){var t=e.definition();t.id in c||(c[t.id]=!0,u.push(t))}});e.walk(t)})});var v=new $(function(u,p,h){function d(e){return{name:e.name,file:e.start.file,line:e.start.line,col:e.start.col}}if(u instanceof xe&&u.name&&!e.option("keep_fnames")&&((O=u.name.definition()).id in c&&!(O.orig.length>1)||(u.name=null)),u instanceof Ae&&!(u instanceof Ee))for(var m=!e.option("keep_fargs"),y=u.argnames,_=y.length;--_>=0;){var w=y[_];w.definition().id in c?m=!1:(w.__unused=!0,m&&(y.pop(),e[w.unreferenced()?"warn":"info"]("Dropping unused function argument {name} [{file}:{line},{col}]",d(w))))}if(n&&u instanceof Ce&&u!==t)return u.name.definition().id in c?u:(e[u.name.unreferenced()?"warn":"info"]("Dropping unused function {name} [{file}:{line},{col}]",d(u.name)),r(ce,u));if(o&&u instanceof Ie&&!(v.parent()instanceof be&&v.parent().init===u)){var A=[],E=[],x=[],C=[];if(u.definitions.forEach(function(t){t.value&&(t.value=t.value.transform(v));var n=t.name.definition();if(n.id in c){if(t.name instanceof ft){var o=f.get(n.id);if(o.length>1&&!t.value)return e.warn("Dropping duplicated definition of variable {name} [{file}:{line},{col}]",d(t.name)),b(o,t),void b(n.orig,t.name)}t.value?(C.length>0&&(x.length>0?(l(C,t.value),t.value=a(t.value,C)):A.push(r(ue,u,{body:a(u,C)})),C=[]),x.push(t)):E.push(t)}else if(n.orig[0]instanceof mt)(i=t.value&&t.value.drop_side_effect_free(e))&&l(C,i),t.value=null,E.push(t);else{var i=t.value&&t.value.drop_side_effect_free(e);i?(e.warn("Side effects in initialization of unused variable {name} [{file}:{line},{col}]",d(t.name)),l(C,i)):e[t.name.unreferenced()?"warn":"info"]("Dropping unused variable {name} [{file}:{line},{col}]",d(t.name)),b(n.orig,t.name)}}),0==E.length&&1==x.length&&x[0].name instanceof ft){var k=f.get(x[0].name.definition().id);if(k.length>1){var O=x.pop();e.warn("Converting duplicated definition of variable {name} to assignment [{file}:{line},{col}]",d(O.name)),b(k,O),b(O.name.definition().orig,O.name),C.unshift(r(tt,O,{operator:"=",left:r(vt,O.name,O.name),right:O.value}))}}switch((E.length>0||x.length>0)&&(u.definitions=E.concat(x),A.push(u)),C.length>0&&A.push(r(ue,u,{body:a(u,C)})),A.length){case 0:return h?te.skip:r(ce,u);case 1:return A[0];default:return h?te.splice(A):r(le,u,{body:A})}}if(o&&i&&u instanceof tt&&"="==u.operator&&u.left instanceof vt&&!((O=u.left.definition()).id in c)&&t.variables.get(O.name)===O)return s(v.parent(),u,u.right.transform(v));if(u instanceof ve){if(p(u,this),u.init instanceof le){B=u.init;return u.init=B.body.pop(),B.body.push(u),h?te.splice(B.body):B}return u.init instanceof ue?u.init=u.init.body:g(u.init)&&(u.init=null),u}if(u instanceof pe&&u.body instanceof ve){if(p(u,this),u.body instanceof le){var B=u.body;return u.body=B.body.pop(),B.body.push(u),h?te.splice(B.body):B}return u}return u instanceof _e&&u!==t?u:void 0});t.transform(v)}}}}),_e.DEFMETHOD("hoist_declarations",function(e){var t=this;if(e.has_directive("use asm"))return t;var n=e.option("hoist_funs"),o=e.option("hoist_vars");if(n||o){var u=[],s=[],l=new A,c=0,f=0;t.walk(new O(function(e){return e instanceof _e&&e!==t||(e instanceof je?(++f,!0):void 0)})),o=o&&f>1;var p=new $(function(i){if(i!==t){if(i instanceof ae)return u.push(i),r(ce,i);if(i instanceof Ce&&n)return s.push(i),r(ce,i);if(i instanceof je&&o){i.definitions.forEach(function(e){l.set(e.name.name,e),++c});var a=i.to_assignments(e),f=p.parent();if(f instanceof be&&f.init===i){if(null==a){var h=i.definitions[0].name;return r(vt,h,h)}return a}return f instanceof ve&&f.init===i?a:a?r(ue,i,{body:a}):r(ce,i)}if(i instanceof _e)return i}});if(t=t.transform(p),c>0){var h=[];if(l.each(function(e,n){t instanceof Ae&&i(function(t){return t.name==e.name.name},t.argnames)?l.del(n):((e=e.clone()).value=null,h.push(e),l.set(n,e))}),h.length>0){for(;0<t.body.length;){if(t.body[0]instanceof ue){var d,m,g=t.body[0].body;if(g instanceof tt&&"="==g.operator&&(d=g.left)instanceof st&&l.has(d.name)){if((v=l.get(d.name)).value)break;v.value=g.right,b(h,v),h.push(v),t.body.splice(0,1);continue}if(g instanceof Ke&&(m=g.expressions[0])instanceof tt&&"="==m.operator&&(d=m.left)instanceof st&&l.has(d.name)){var v=l.get(d.name);if(v.value)break;v.value=m.right,b(h,v),h.push(v),t.body[0].body=a(g,g.expressions.slice(1));continue}}if(t.body[0]instanceof ce)t.body.splice(0,1);else{if(!(t.body[0]instanceof le))break;var y=[0,1].concat(t.body[0].body);t.body.splice.apply(t.body,y)}}h=r(je,t,{definitions:h}),s.push(h)}}t.body=u.concat(s,t.body)}return t}),function(e){function t(e,t,n){var r=e.length;if(!r)return null;for(var o=[],i=!1,a=0;a<r;a++){var u=e[a].drop_side_effect_free(t,n);i|=u!==e[a],u&&(l(o,u),n=!1)}return i?o.length?o:null:e}e(re,d),e(_t,m),e(yt,m),e($e,function(e,n){if(!this.has_pure_annotation(e)&&e.pure_funcs(this)){if(this.expression instanceof xe&&(!this.expression.name||!this.expression.name.definition().references.length)){var r=this.clone();return r.expression.process_expression(!1,e),r}return this}this.pure&&(e.warn("Dropping __PURE__ call [{file}:{line},{col}]",this.start),this.pure.value=this.pure.value.replace(/[@#]__PURE__/g," "));var o=t(this.args,e,n);return o&&a(this,o)}),e(Ee,m),e(xe,m),e(Xe,function(e,t){var n=this.right.drop_side_effect_free(e);if(!n)return this.left.drop_side_effect_free(e,t);switch(this.operator){case"&&":case"||":if(n===this.right)return this;var r=this.clone();return r.right=n,r;default:var o=this.left.drop_side_effect_free(e,t);return o?a(this,[o,n]):this.right.drop_side_effect_free(e,t)}}),e(tt,d),e(et,function(e){var t=this.consequent.drop_side_effect_free(e),n=this.alternative.drop_side_effect_free(e);if(t===this.consequent&&n===this.alternative)return this;if(!t)return n?r(Xe,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(e);if(!n)return r(Xe,this,{operator:"&&",left:this.condition,right:t});var o=this.clone();return o.consequent=t,o.alternative=n,o}),e(Qe,function(e,t){if(j(this.operator))return this;if("typeof"==this.operator&&this.expression instanceof vt)return null;var n=this.expression.drop_side_effect_free(e,t);return t&&this instanceof Ze&&C(n)?n===this.expression&&1===this.operator.length?this:r(Ze,this,{operator:1===this.operator.length?this.operator:"!",expression:n}):n}),e(vt,function(){return this.undeclared()?this:null}),e(rt,function(e,n){var r=t(this.properties,e,n);return r&&a(this,r)}),e(ot,function(e,t){return this.value.drop_side_effect_free(e,t)}),e(nt,function(e,n){var r=t(this.elements,e,n);return r&&a(this,r)}),e(Ge,function(e,t){return this.expression.may_throw_on_access(e)?this:this.expression.drop_side_effect_free(e,t)}),e(We,function(e,t){if(this.expression.may_throw_on_access(e))return this;var n=this.expression.drop_side_effect_free(e,t);if(!n)return this.property.drop_side_effect_free(e,t);var r=this.property.drop_side_effect_free(e);return r?a(this,[n,r]):n}),e(Ke,function(e){var t=this.expressions[this.expressions.length-1],n=t.drop_side_effect_free(e);if(n===t)return this;var r=this.expressions.slice(0,-1);return n&&l(r,n),a(this,r)})}(function(e,t){e.DEFMETHOD("drop_side_effect_free",t)}),e(ue,function(e,t){if(t.option("side_effects")){var n=e.body,o=n.drop_side_effect_free(t,!0);if(!o)return t.warn("Dropping side-effect-free statement [{file}:{line},{col}]",e.start),r(ce,e);if(o!==n)return r(ue,e,{body:o})}return e}),e(de,function(e,t){if(!t.option("loops"))return e;var n=e.condition.evaluate(t);if(n!==e.condition){if(n)return r(ve,e,{body:e.body});if(t.option("dead_code")&&e instanceof ge){var o=[];return D(t,e.body,o),r(le,e,{body:o}).optimize(t)}if(e instanceof me){var i=!1,a=new O(function(t){return!!(t instanceof _e||i)||(t instanceof De&&a.loopcontrol_target(t)===e?i=!0:void 0)}),u=t.parent();if((u instanceof pe?u:e).walk(a),!i)return e.body}}return e instanceof ge?r(ve,e,e).optimize(t):e}),e(ve,function(e,t){if(!t.option("loops"))return e;if(e.condition){var n=e.condition.evaluate(t);if(t.option("dead_code")&&!n){var o=[];return e.init instanceof oe?o.push(e.init):e.init&&o.push(r(ue,e.init,{body:e.init})),D(t,e.body,o),r(le,e,{body:o}).optimize(t)}n!==e.condition&&(n=u(n,e.condition).transform(t),e.condition=F(n,e.condition))}return N(e,t),e}),e(Fe,function(e,t){if(g(e.alternative)&&(e.alternative=null),!t.option("conditionals"))return e;var n=e.condition.evaluate(t);if(n!==e.condition){if(n){if(t.warn("Condition always true [{file}:{line},{col}]",e.condition.start),t.option("dead_code")){o=[];return e.alternative&&D(t,e.alternative,o),o.push(e.body),r(le,e,{body:o}).optimize(t)}}else if(t.warn("Condition always false [{file}:{line},{col}]",e.condition.start),t.option("dead_code")){var o=[];return D(t,e.body,o),e.alternative&&o.push(e.alternative),r(le,e,{body:o}).optimize(t)}n=u(n,e.condition).transform(t),e.condition=F(n,e.condition)}var i=e.condition.negate(t),a=e.condition.print_to_string().length,s=i.print_to_string().length,l=s<a;if(e.alternative&&l){l=!1,e.condition=i;var c=e.body;e.body=e.alternative||r(ce,e),e.alternative=c}if(g(e.body)&&g(e.alternative))return r(ue,e.condition,{body:e.condition.clone()}).optimize(t);if(e.body instanceof ue&&e.alternative instanceof ue)return r(ue,e,{body:r(et,e,{condition:e.condition,consequent:e.body.body,alternative:e.alternative.body})}).optimize(t);if(g(e.alternative)&&e.body instanceof ue)return a===s&&!l&&e.condition instanceof Xe&&"||"==e.condition.operator&&(l=!0),l?r(ue,e,{body:r(Xe,e,{operator:"||",left:i,right:e.body.body})}).optimize(t):r(ue,e,{body:r(Xe,e,{operator:"&&",left:e.condition,right:e.body.body})}).optimize(t);if(e.body instanceof ce&&e.alternative instanceof ue)return r(ue,e,{body:r(Xe,e,{operator:"||",left:e.condition,right:e.alternative.body})}).optimize(t);if(e.body instanceof Oe&&e.alternative instanceof Oe&&e.body.TYPE==e.alternative.TYPE)return r(e.body.CTOR,e,{value:r(et,e,{condition:e.condition,consequent:e.body.value||r(Ot,e.body),alternative:e.alternative.value||r(Ot,e.alternative)}).transform(t)}).optimize(t);if(e.body instanceof Fe&&!e.body.alternative&&!e.alternative&&(e=r(Fe,e,{condition:r(Xe,e.condition,{operator:"&&",left:e.condition,right:e.body.condition}),body:e.body.body,alternative:null})),P(e.body)&&e.alternative){var f=e.alternative;return e.alternative=null,r(le,e,{body:[e,f]}).optimize(t)}if(P(e.alternative)){var p=e.body;return e.body=e.alternative,e.condition=l?i:e.condition.negate(t),e.alternative=null,r(le,e,{body:[e,p]}).optimize(t)}return e}),e(Le,function(e,t){function n(e,n){n&&!P(n)?n.body=n.body.concat(e.body):D(t,e,c)}if(!t.option("switches"))return e;var o,i=e.expression.evaluate(t);if(i!==e.expression){var a=u(i,e.expression).transform(t);e.expression=F(a,e.expression)}if(!t.option("dead_code"))return e;for(var s,l,c=[],f=[],p=0,h=e.body.length;p<h&&!l;p++){if((o=e.body[p])instanceof Pe)s?n(o,f[f.length-1]):s=o;else if(i!==e.expression){var d=o.expression.evaluate(t);if(d===i){if(l=o,s){var m=f.indexOf(s);f.splice(m,1),n(s,f[m-1]),s=null}}else if(d!==o.expression){n(o,f[f.length-1]);continue}}if(P(o)){var g=f[f.length-1];P(g)&&g.body.length==o.body.length&&r(le,g,g).equivalent_to(r(le,o,o))&&(g.body=[])}f.push(o)}for(;p<h;)n(e.body[p++],f[f.length-1]);for(f.length>0&&(f[0].body=c.concat(f[0].body)),e.body=f;o=f[f.length-1];){var v=o.body[o.body.length-1];if(v instanceof Te&&t.loopcontrol_target(v)===e&&o.body.pop(),o.body.length||o instanceof Ue&&(s||o.expression.has_side_effects(t)))break;f.pop()===s&&(s=null)}if(0==f.length)return r(le,e,{body:c.concat(r(ue,e.expression,{body:e.expression}))}).optimize(t);if(1==f.length&&(f[0]===l||f[0]===s)){var b=!1,y=new O(function(t){if(b||t instanceof Ae||t instanceof ue)return!0;t instanceof Te&&y.loopcontrol_target(t)===e&&(b=!0)});if(e.walk(y),!b)return(f=f[0].body.slice()).unshift(r(ue,e.expression,{body:e.expression})),r(le,e,{body:f}).optimize(t)}return e}),e(Ne,function(e,t){if(e.body=B(e.body,t),e.bcatch&&e.bfinally&&w(e.bfinally.body,g)&&(e.bfinally=null),w(e.body,g)){var n=[];return e.bcatch&&D(t,e.bcatch,n),e.bfinally&&(n=n.concat(e.bfinally.body)),r(le,e,{body:n}).optimize(t)}return e}),Ie.DEFMETHOD("remove_initializers",function(){this.definitions.forEach(function(e){e.value=null})}),Ie.DEFMETHOD("to_assignments",function(e){var t=e.option("reduce_vars"),n=this.definitions.reduce(function(e,n){if(n.value){var o=r(vt,n.name,n.name);e.push(r(tt,n,{operator:"=",left:o,right:n.value})),t&&(o.definition().fixed=!1)}return e},[]);return 0==n.length?null:a(this,n)}),e(Ie,function(e,t){return 0==e.definitions.length?r(ce,e):e}),e($e,function(e,t){var n=e.expression;if(t.option("reduce_vars")&&n instanceof vt){var o=n.definition(),i=n.fixed_value();i instanceof Ce&&(o.fixed=i=r(xe,i,i).clone(!0)),i instanceof xe&&(n=i,!t.option("unused")||1!=o.references.length||o.scope.uses_arguments&&o.orig[0]instanceof pt||o.scope.uses_eval||t.find_parent(_e)!==o.scope||(e.expression=n))}if(t.option("unused")&&n instanceof xe&&!n.uses_arguments&&!n.uses_eval){for(var s=0,l=0,c=0,f=e.args.length;c<f;c++){var p=c>=n.argnames.length;if(p||n.argnames[c].__unused){if(k=e.args[c].drop_side_effect_free(t))e.args[s++]=k;else if(!p){e.args[s++]=r(At,e.args[c],{value:0});continue}}else e.args[s++]=e.args[c];l=s}e.args.length=l}if(t.option("unsafe"))if(n instanceof vt&&n.undeclared())switch(n.name){case"Array":if(1!=e.args.length)return r(nt,e,{elements:e.args}).optimize(t);break;case"Object":if(0==e.args.length)return r(rt,e,{properties:[]});break;case"String":if(0==e.args.length)return r(wt,e,{value:""});if(e.args.length<=1)return r(Xe,e,{left:e.args[0],operator:"+",right:r(wt,e,{value:""})}).optimize(t);break;case"Number":if(0==e.args.length)return r(At,e,{value:0});if(1==e.args.length)return r(Ze,e,{expression:e.args[0],operator:"+"}).optimize(t);case"Boolean":if(0==e.args.length)return r(Tt,e);if(1==e.args.length)return r(Ze,e,{expression:r(Ze,e,{expression:e.args[0],operator:"!"}),operator:"!"}).optimize(t);break;case"Function":if(0==e.args.length)return r(xe,e,{argnames:[],body:[]});if(w(e.args,function(e){return e instanceof wt}))try{var h=V(y="(function("+e.args.slice(0,-1).map(function(e){return e.value}).join(",")+"){"+e.args[e.args.length-1].value+"})()"),d={ie8:t.option("ie8")};h.figure_out_scope(d);var m=new G(t.options);(h=h.transform(m)).figure_out_scope(d),h.mangle_names();var v;try{h.walk(new O(function(e){if(e instanceof Ae)throw v=e,h}))}catch(e){if(e!==h)throw e}if(!v)return e;var b=v.argnames.map(function(t,n){return r(wt,e.args[n],{value:t.print_to_string()})}),y=Y();return le.prototype._codegen.call(v,v,y),y=y.toString().replace(/^\{|\}$/g,""),b.push(r(wt,e.args[e.args.length-1],{value:y})),e.args=b,e}catch(n){if(!(n instanceof q))throw console.log(n),n;t.warn("Error parsing code passed to new Function [{file}:{line},{col}]",e.args[e.args.length-1].start),t.warn(n.toString())}}else{if(n instanceof Ge&&"toString"==n.property&&0==e.args.length)return r(Xe,e,{left:r(wt,e,{value:""}),operator:"+",right:n.expression}).optimize(t);if(n instanceof Ge&&n.expression instanceof nt&&"join"==n.property){var _;if(!(e.args.length>0&&(_=e.args[0].evaluate(t))===e.args[0])){var A=[],E=[];if(n.expression.elements.forEach(function(n){var o=n.evaluate(t);o!==n?E.push(o):(E.length>0&&(A.push(r(wt,e,{value:E.join(_)})),E.length=0),A.push(n))}),E.length>0&&A.push(r(wt,e,{value:E.join(_)})),0==A.length)return r(wt,e,{value:""});if(1==A.length)return A[0].is_string(t)?A[0]:r(Xe,A[0],{operator:"+",left:r(wt,e,{value:""}),right:A[0]});if(""==_){var x;return x=A[0].is_string(t)||A[1].is_string(t)?A.shift():r(wt,e,{value:""}),A.reduce(function(e,t){return r(Xe,t,{operator:"+",left:e,right:t})},x).optimize(t)}var k=e.clone();return k.expression=k.expression.clone(),k.expression.expression=k.expression.expression.clone(),k.expression.expression.elements=A,M(t,e,k)}}else if(n instanceof Ge&&n.expression.is_string(t)&&"charAt"==n.property){var B=e.args[0],S=B?B.evaluate(t):0;if(S!==B)return r(We,n,{expression:n.expression,property:u(0|S,B||n)}).optimize(t)}}if(n instanceof xe){if(n.body[0]instanceof Be){var D=n.body[0].value;if(!D||D.is_constant_expression()){b=e.args.concat(D||r(Ot,e));return a(e,b).transform(t)}}if(t.option("side_effects")&&w(n.body,g)){b=e.args.concat(r(Ot,e));return a(e,b).transform(t)}}if(t.option("drop_console")&&n instanceof Ye){for(var T=n.expression;T.expression;)T=T.expression;if(T instanceof vt&&"console"==T.name&&T.undeclared())return r(Ot,e).optimize(t)}return t.option("negate_iife")&&t.parent()instanceof ue&&C(e)?e.negate(t,!0):e}),e(He,function(e,t){if(t.option("unsafe")){var n=e.expression;if(n instanceof vt&&n.undeclared())switch(n.name){case"Object":case"RegExp":case"Function":case"Error":case"Array":return r($e,e,e).transform(t)}}return e}),e(Ke,function(e,n){if(!n.option("side_effects"))return e;var o=[];!function(){var t=x(n),r=e.expressions.length-1;e.expressions.forEach(function(e,i){i<r&&(e=e.drop_side_effect_free(n,t)),e&&(l(o,e),t=!1)})}();var i=o.length-1;return function(){for(;i>0&&T(o[i],n);)i--;i<o.length-1&&(o[i]=r(Ze,e,{operator:"void",expression:o[i]}),o.length=i+1)}(),i>0&&n.option("cascade")&&function(){for(var e=0,a=1;a<=i;a++){var u=o[e],s=o[a];if((u=u instanceof tt&&!u.left.has_side_effects(n)?u.left:u instanceof Qe&&("++"==u.operator||"--"==u.operator)?u.expression:null)&&!t(u))for(var l,c=null;;){if(s.equivalent_to(u)){var f=o[e];f instanceof Je&&(f=r(Ze,f,{operator:f.operator,expression:u})),c?(c[l]=f,o[e]=o[a]):o[e]=f;break}if(s instanceof Xe&&!(s instanceof tt))if(s.left.is_constant()){if("||"==s.operator||"&&"==s.operator){o[++e]=o[a];break}l="right"}else l="left";else{if(!(s instanceof $e||s instanceof Ye||s instanceof Qe&&!j(s.operator))){o[++e]=o[a];break}l="expression"}c=s,s=s[l]}else o[++e]=s}i=e,o.length=i+1}(),0==i?((e=s(n.parent(),e,o[0]))instanceof Ke||(e=e.optimize(n)),e):(e.expressions=o,e)}),Qe.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")&&this.expression instanceof Ke){var t=this.expression.expressions.slice(),n=this.clone();return n.expression=t.pop(),t.push(n),a(this,t).optimize(e)}return this}),e(Je,function(e,t){return e.lift_sequences(t)}),e(Ze,function(e,t){var n=e.expression;if("delete"==e.operator&&!(n instanceof vt||n instanceof Ye||n instanceof kt||n instanceof St||n instanceof Ot))return n instanceof Ke?((n=n.expressions.slice()).push(r(Rt,e)),a(e,n).optimize(t)):a(e,[n,r(Rt,e)]).optimize(t);var o=e.lift_sequences(t);if(o!==e)return o;if(t.option("side_effects")&&"void"==e.operator)return n=n.drop_side_effect_free(t),n?(e.expression=n,e):r(Ot,e).optimize(t);if(t.option("booleans")&&t.in_boolean_context())switch(e.operator){case"!":if(n instanceof Ze&&"!"==n.operator)return n.expression;n instanceof Xe&&(e=M(t,e,n.negate(t,x(t))));break;case"typeof":return t.warn("Boolean expression always true [{file}:{line},{col}]",e.start),(n instanceof vt?r(Rt,e):a(e,[n,r(Rt,e)])).optimize(t)}if("-"==e.operator&&n instanceof St&&(n=n.transform(t)),n instanceof Xe&&("+"==e.operator||"-"==e.operator)&&("*"==n.operator||"/"==n.operator||"%"==n.operator))return r(Xe,e,{operator:n.operator,left:r(Ze,n.left,{operator:e.operator,expression:n.left}),right:n.right});if("-"!=e.operator||!(n instanceof At||n instanceof St)){var i=e.evaluate(t);if(i!==e)return i=u(i,e).optimize(t),M(t,i,e)}return e}),Xe.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")){if(this.left instanceof Ke){var t=this.left.expressions.slice();return(i=this.clone()).left=t.pop(),t.push(i),a(this,t).optimize(e)}if(this.right instanceof Ke&&!this.left.has_side_effects(e)){for(var n="="==this.operator&&this.left instanceof vt,r=(t=this.right.expressions).length-1,o=0;o<r&&(n||!t[o].has_side_effects(e));o++);if(o==r)return t=t.slice(),(i=this.clone()).right=t.pop(),t.push(i),a(this,t).optimize(e);if(o>0){var i=this.clone();return i.right=a(this.right,t.slice(o)),(t=t.slice(0,o)).push(i),a(this,t).optimize(e)}}}return this});var H=_("== === != !== * & | ^");e(Xe,function(e,t){function n(){return e.left.is_constant()||e.right.is_constant()||!e.left.has_side_effects(t)&&!e.right.has_side_effects(t)}function o(t){if(n()){t&&(e.operator=t);var r=e.left;e.left=e.right,e.right=r}}if(H(e.operator)&&e.right.is_constant()&&!e.left.is_constant()&&(e.left instanceof Xe&&Qt[e.left.operator]>=Qt[e.operator]||o()),e=e.lift_sequences(t),t.option("comparisons"))switch(e.operator){case"===":case"!==":(e.left.is_string(t)&&e.right.is_string(t)||e.left.is_number(t)&&e.right.is_number(t)||e.left.is_boolean()&&e.right.is_boolean())&&(e.operator=e.operator.substr(0,2));case"==":case"!=":if(e.left instanceof wt&&"undefined"==e.left.value&&e.right instanceof Ze&&"typeof"==e.right.operator){var i=e.right.expression;(i instanceof vt?i.undeclared():i instanceof Ye&&t.option("ie8"))||(e.right=i,e.left=r(Ot,e.left).optimize(t),2==e.operator.length&&(e.operator+="="))}}if(t.option("booleans")&&"+"==e.operator&&t.in_boolean_context()){var l=e.left.evaluate(t),c=e.right.evaluate(t);if(l&&"string"==typeof l)return t.warn("+ in boolean context always true [{file}:{line},{col}]",e.start),a(e,[e.right,r(Rt,e)]).optimize(t);if(c&&"string"==typeof c)return t.warn("+ in boolean context always true [{file}:{line},{col}]",e.start),a(e,[e.left,r(Rt,e)]).optimize(t)}if(t.option("comparisons")&&e.is_boolean()){if(!(t.parent()instanceof Xe)||t.parent()instanceof tt){var f=r(Ze,e,{operator:"!",expression:e.negate(t,x(t))});e=M(t,e,f)}if(t.option("unsafe_comps"))switch(e.operator){case"<":o(">");break;case"<=":o(">=")}}if("+"==e.operator){if(e.right instanceof wt&&""==e.right.getValue()&&e.left.is_string(t))return e.left;if(e.left instanceof wt&&""==e.left.getValue()&&e.right.is_string(t))return e.right;if(e.left instanceof Xe&&"+"==e.left.operator&&e.left.left instanceof wt&&""==e.left.left.getValue()&&e.right.is_string(t))return e.left=e.left.right,e.transform(t)}if(t.option("evaluate")){switch(e.operator){case"&&":if(!(l=e.left.evaluate(t)))return t.warn("Condition left of && always false [{file}:{line},{col}]",e.start),s(t.parent(),e,e.left).optimize(t);if(l!==e.left)return t.warn("Condition left of && always true [{file}:{line},{col}]",e.start),s(t.parent(),e,e.right).optimize(t);if(t.option("booleans")&&t.in_boolean_context()){if(!(c=e.right.evaluate(t)))return t.warn("Boolean && always false [{file}:{line},{col}]",e.start),a(e,[e.left,r(Tt,e)]).optimize(t);if(c!==e.right)return t.warn("Dropping side-effect-free && in boolean context [{file}:{line},{col}]",e.start),e.left.optimize(t)}break;case"||":if(!(l=e.left.evaluate(t)))return t.warn("Condition left of || always false [{file}:{line},{col}]",e.start),s(t.parent(),e,e.right).optimize(t);if(l!==e.left)return t.warn("Condition left of || always true [{file}:{line},{col}]",e.start),s(t.parent(),e,e.left).optimize(t);if(t.option("booleans")&&t.in_boolean_context()){if(!(c=e.right.evaluate(t)))return t.warn("Dropping side-effect-free || in boolean context [{file}:{line},{col}]",e.start),e.left.optimize(t);if(c!==e.right)return t.warn("Boolean || always true [{file}:{line},{col}]",e.start),a(e,[e.left,r(Rt,e)]).optimize(t)}}var p=!0;switch(e.operator){case"+":if(e.left instanceof _t&&e.right instanceof Xe&&"+"==e.right.operator&&e.right.left instanceof _t&&e.right.is_string(t)&&(e=r(Xe,e,{operator:"+",left:r(wt,e.left,{value:""+e.left.getValue()+e.right.left.getValue(),start:e.left.start,end:e.right.left.end}),right:e.right.right})),e.right instanceof _t&&e.left instanceof Xe&&"+"==e.left.operator&&e.left.right instanceof _t&&e.left.is_string(t)&&(e=r(Xe,e,{operator:"+",left:e.left.left,right:r(wt,e.right,{value:""+e.left.right.getValue()+e.right.getValue(),start:e.left.right.start,end:e.right.end})})),e.left instanceof Xe&&"+"==e.left.operator&&e.left.is_string(t)&&e.left.right instanceof _t&&e.right instanceof Xe&&"+"==e.right.operator&&e.right.left instanceof _t&&e.right.is_string(t)&&(e=r(Xe,e,{operator:"+",left:r(Xe,e.left,{operator:"+",left:e.left.left,right:r(wt,e.left.right,{value:""+e.left.right.getValue()+e.right.left.getValue(),start:e.left.right.start,end:e.right.left.end})}),right:e.right.right})),e.right instanceof Ze&&"-"==e.right.operator&&e.left.is_number(t)){e=r(Xe,e,{operator:"-",left:e.left,right:e.right.expression});break}if(e.left instanceof Ze&&"-"==e.left.operator&&n()&&e.right.is_number(t)){e=r(Xe,e,{operator:"-",left:e.right,right:e.left.expression});break}case"*":p=t.option("unsafe_math");case"&":case"|":case"^":if(e.left.is_number(t)&&e.right.is_number(t)&&n()&&!(e.left instanceof Xe&&e.left.operator!=e.operator&&Qt[e.left.operator]>=Qt[e.operator])){var h=r(Xe,e,{operator:e.operator,left:e.right,right:e.left});e=e.right instanceof _t&&!(e.left instanceof _t)?M(t,h,e):M(t,e,h)}p&&e.is_number(t)&&(e.right instanceof Xe&&e.right.operator==e.operator&&(e=r(Xe,e,{operator:e.operator,left:r(Xe,e.left,{operator:e.operator,left:e.left,right:e.right.left,start:e.left.start,end:e.right.left.end}),right:e.right.right})),e.right instanceof _t&&e.left instanceof Xe&&e.left.operator==e.operator&&(e.left.left instanceof _t?e=r(Xe,e,{operator:e.operator,left:r(Xe,e.left,{operator:e.operator,left:e.left.left,right:e.right,start:e.left.left.start,end:e.right.end}),right:e.left.right}):e.left.right instanceof _t&&(e=r(Xe,e,{operator:e.operator,left:r(Xe,e.left,{operator:e.operator,left:e.left.right,right:e.right,start:e.left.right.start,end:e.right.end}),right:e.left.left}))),e.left instanceof Xe&&e.left.operator==e.operator&&e.left.right instanceof _t&&e.right instanceof Xe&&e.right.operator==e.operator&&e.right.left instanceof _t&&(e=r(Xe,e,{operator:e.operator,left:r(Xe,e.left,{operator:e.operator,left:r(Xe,e.left.left,{operator:e.operator,left:e.left.right,right:e.right.left,start:e.left.right.start,end:e.right.left.end}),right:e.left.left}),right:e.right.right})))}}if(e.right instanceof Xe&&e.right.operator==e.operator&&("&&"==e.operator||"||"==e.operator||"+"==e.operator&&(e.right.left.is_string(t)||e.left.is_string(t)&&e.right.right.is_string(t))))return e.left=r(Xe,e.left,{operator:e.operator,left:e.left,right:e.right.left}),e.right=e.right.right,e.transform(t);var d=e.evaluate(t);return d!==e?(d=u(d,e).optimize(t),M(t,d,e)):e}),e(vt,function(e,t){var n=e.resolve_defines(t);if(n)return n.optimize(t);if(!t.option("ie8")&&e.undeclared()&&(!e.scope.uses_with||!t.find_parent(ye)))switch(e.name){case"undefined":return r(Ot,e).optimize(t);case"NaN":return r(kt,e).optimize(t);case"Infinity":return r(St,e).optimize(t)}if(t.option("evaluate")&&t.option("reduce_vars")&&R(e,t.parent())!==e){var o=e.definition(),i=e.fixed_value();if(i){if(void 0===o.should_replace){var a=i.evaluate(t);if(a!==i){var s,l=(a=u(a,i)).optimize(t).print_to_string().length;!function(e){var t;return e.walk(new O(function(e){if(e instanceof vt&&(t=!0),t)return!0})),t}(i)?(l=Math.min(l,i.print_to_string().length),s=function(){var e=F(a.optimize(t),i);return e===a||e===i?e.clone(!0):e}):s=function(){var e=a.optimize(t);return e===a?e.clone(!0):e};var c=o.name.length,f=0;!t.option("unused")||o.global&&!t.toplevel(o)||(f=(c+2+l)/o.references.length),o.should_replace=l<=c+f&&s}else o.should_replace=!1}if(o.should_replace)return o.should_replace()}}return e}),e(Ot,function(e,t){if(t.option("unsafe")){var o=n(t,"undefined");if(o){var i=r(vt,e,{name:"undefined",scope:o.scope,thedef:o});return i.is_undefined=!0,i}}var a=R(t.self(),t.parent());return a&&z(a,e)?e:r(Ze,e,{operator:"void",expression:r(At,e,{value:0})})}),e(St,function(e,t){var o=R(t.self(),t.parent());return o&&z(o,e)?e:!t.option("keep_infinity")||o&&!z(o,e)||n(t,"Infinity")?r(Xe,e,{operator:"/",left:r(At,e,{value:1}),right:r(At,e,{value:0})}):e}),e(kt,function(e,t){var o=R(t.self(),t.parent());return o&&!z(o,e)||n(t,"NaN")?r(Xe,e,{operator:"/",left:r(At,e,{value:0}),right:r(At,e,{value:0})}):e});var K=["+","-","/","*","%",">>","<<",">>>","|","^","&"],W=["*","|","^","&"];e(tt,function(e,t){return"="==(e=e.lift_sequences(t)).operator&&e.left instanceof vt&&e.right instanceof Xe&&(e.right.left instanceof vt&&e.right.left.name==e.left.name&&o(e.right.operator,K)?(e.operator=e.right.operator+"=",e.right=e.right.right):e.right.right instanceof vt&&e.right.right.name==e.left.name&&o(e.right.operator,W)&&!e.right.left.has_side_effects(t)&&(e.operator=e.right.operator+"=",e.right=e.right.left)),e}),e(et,function(e,t){function n(e){return e.is_boolean()?e:r(Ze,e,{operator:"!",expression:e.negate(t)})}function o(e){return e instanceof Rt||e instanceof Ze&&"!"==e.operator&&e.expression instanceof _t&&!e.expression.value}function i(e){return e instanceof Tt||e instanceof Ze&&"!"==e.operator&&e.expression instanceof _t&&!!e.expression.value}if(!t.option("conditionals"))return e;if(e.condition instanceof Ke){var u=e.condition.expressions.slice();return e.condition=u.pop(),u.push(e),a(e,u)}var l=e.condition.evaluate(t);if(l!==e.condition)return l?(t.warn("Condition always true [{file}:{line},{col}]",e.start),s(t.parent(),e,e.consequent)):(t.warn("Condition always false [{file}:{line},{col}]",e.start),s(t.parent(),e,e.alternative));var c=l.negate(t,x(t));M(t,l,c)===c&&(e=r(et,e,{condition:c,consequent:e.alternative,alternative:e.consequent}));var f=e.condition,p=e.consequent,h=e.alternative;return f instanceof vt&&p instanceof vt&&f.definition()===p.definition()?r(Xe,e,{operator:"||",left:f,right:h}):p instanceof tt&&h instanceof tt&&p.operator==h.operator&&p.left.equivalent_to(h.left)&&(!e.condition.has_side_effects(t)||"="==p.operator&&!p.left.has_side_effects(t))?r(tt,e,{operator:p.operator,left:p.left,right:r(et,e,{condition:e.condition,consequent:p.right,alternative:h.right})}):p instanceof $e&&h.TYPE===p.TYPE&&1==p.args.length&&1==h.args.length&&p.expression.equivalent_to(h.expression)&&!p.expression.has_side_effects(t)?(p.args[0]=r(et,e,{condition:e.condition,consequent:p.args[0],alternative:h.args[0]}),p):p instanceof et&&p.alternative.equivalent_to(h)?r(et,e,{condition:r(Xe,e,{left:e.condition,operator:"&&",right:p.condition}),consequent:p.consequent,alternative:h}):p.equivalent_to(h)?a(e,[e.condition,p]).optimize(t):o(e.consequent)?i(e.alternative)?n(e.condition):r(Xe,e,{operator:"||",left:n(e.condition),right:e.alternative}):i(e.consequent)?o(e.alternative)?n(e.condition.negate(t)):r(Xe,e,{operator:"&&",left:n(e.condition.negate(t)),right:e.alternative}):o(e.alternative)?r(Xe,e,{operator:"||",left:n(e.condition.negate(t)),right:e.consequent}):i(e.alternative)?r(Xe,e,{operator:"&&",left:n(e.condition),right:e.consequent}):e}),e(Dt,function(e,t){if(t.option("booleans")){var n=t.parent();return n instanceof Xe&&("=="==n.operator||"!="==n.operator)?(t.warn("Non-strict equality against boolean: {operator} {value} [{file}:{line},{col}]",{operator:n.operator,value:e.value,file:n.start.file,line:n.start.line,col:n.start.col}),r(At,e,{value:+e.value})):r(Ze,e,{operator:"!",expression:r(At,e,{value:1-e.value})})}return e}),e(We,function(e,t){var n=e.property;if(n instanceof wt&&t.option("properties")){if(n=n.getValue(),Mt(n)?!t.option("ie8"):U(n))return r(Ge,e,{expression:e.expression,property:n}).optimize(t);var o=parseFloat(n);isNaN(o)||o.toString()!=n||(e.property=r(At,e.property,{value:o}))}var i=e.evaluate(t);return i!==e?(i=u(i,e).optimize(t),M(t,i,e)):e}),e(Ge,function(e,t){var n=e.resolve_defines(t);if(n)return n.optimize(t);var o=e.property;if(Mt(o)&&t.option("ie8"))return r(We,e,{expression:e.expression,property:r(wt,e,{value:o})}).optimize(t);if(t.option("unsafe_proto")&&e.expression instanceof Ge&&"prototype"==e.expression.property){var i=e.expression.expression;if(i instanceof vt&&i.undeclared())switch(i.name){case"Array":e.expression=r(nt,e.expression,{elements:[]});break;case"Object":e.expression=r(rt,e.expression,{properties:[]});break;case"String":e.expression=r(wt,e.expression,{value:""})}}var a=e.evaluate(t);return a!==e?(a=u(a,e).optimize(t),M(t,a,e)):e}),e(nt,I),e(rt,I),e(Et,I),e(Be,function(e,t){return e.value&&T(e.value,t)&&(e.value=null),e}),e(Ve,function(e,t){var n=t.option("global_defs");return n&&E(n,e.name.name)&&t.warn("global_defs "+e.name.name+" redefined [{file}:{line},{col}]",e.start),e})}(),function(){function e(e){if("Literal"==e.type)return null!=e.raw?e.raw:e.value+""}function n(t){var n=t.loc,r=n&&n.start,o=t.range;return new ne({file:n&&n.source,line:r&&r.line,col:r&&r.column,pos:o?o[0]:t.start,endline:r&&r.line,endcol:r&&r.column,endpos:o?o[0]:t.start,raw:e(t)})}function r(t){var n=t.loc,r=n&&n.end,o=t.range;return new ne({file:n&&n.source,line:r&&r.line,col:r&&r.column,pos:o?o[1]:t.end,endline:r&&r.line,endcol:r&&r.column,endpos:o?o[1]:t.end,raw:e(t)})}function o(e,o,a){var f="function From_Moz_"+e+"(M){\n";f+="return new U2."+o.name+"({\nstart: my_start_token(M),\nend: my_end_token(M)";var h="function To_Moz_"+e+"(M){\n";h+="return {\ntype: "+JSON.stringify(e),a&&a.split(/\s*,\s*/).forEach(function(e){var t=/([a-z0-9$_]+)(=|@|>|%)([a-z0-9$_]+)/i.exec(e);if(!t)throw new Error("Can't understand property map: "+e);var n=t[1],r=t[2],o=t[3];switch(f+=",\n"+o+": ",h+=",\n"+n+": ",r){case"@":f+="M."+n+".map(from_moz)",h+="M."+o+".map(to_moz)";break;case">":f+="from_moz(M."+n+")",h+="to_moz(M."+o+")";break;case"=":f+="M."+n,h+="M."+o;break;case"%":f+="from_moz(M."+n+").body",h+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+e)}}),f+="\n})\n}",h+="\n}\n}",f=new Function("U2","my_start_token","my_end_token","from_moz","return("+f+")")(t,n,r,i),h=new Function("to_moz","to_moz_block","to_moz_scope","return("+h+")")(s,l,c),p[e]=f,u(o,h)}function i(e){h.push(e);var t=null!=e?p[e.type](e):null;return h.pop(),t}function a(e,t,n){var r=e.start,o=e.end;return null!=r.pos&&null!=o.endpos&&(t.range=[r.pos,o.endpos]),r.line&&(t.loc={start:{line:r.line,column:r.col},end:o.endline?{line:o.endline,column:o.endcol}:null},r.file&&(t.loc.source=r.file)),t}function u(e,t){e.DEFMETHOD("to_mozilla_ast",function(){return a(this,t(this))})}function s(e){return null!=e?e.to_mozilla_ast():null}function l(e){return{type:"BlockStatement",body:e.body.map(s)}}function c(e,t){var n=t.body.map(s);return t.body[0]instanceof ue&&t.body[0].body instanceof wt&&n.unshift(s(new ce(t.body[0]))),{type:e,body:n}}var f=function(e){for(var t=!0,n=0;n<e.length;n++)t&&e[n]instanceof oe&&e[n].body instanceof wt?e[n]=new ae({start:e[n].start,end:e[n].end,value:e[n].body.value}):!t||e[n]instanceof oe&&e[n].body instanceof wt||(t=!1);return e},p={Program:function(e){return new we({start:n(e),end:r(e),body:f(e.body.map(i))})},FunctionDeclaration:function(e){return new Ce({start:n(e),end:r(e),name:i(e.id),argnames:e.params.map(i),body:f(i(e.body).body)})},FunctionExpression:function(e){return new xe({start:n(e),end:r(e),name:i(e.id),argnames:e.params.map(i),body:f(i(e.body).body)})},ExpressionStatement:function(e){return new ue({start:n(e),end:r(e),body:i(e.expression)})},TryStatement:function(e){var t=e.handlers||[e.handler];if(t.length>1||e.guardedHandlers&&e.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new Ne({start:n(e),end:r(e),body:i(e.block).body,bcatch:i(t[0]),bfinally:e.finalizer?new ze(i(e.finalizer)):null})},Property:function(e){var t=e.key,o={start:n(t),end:r(e.value),key:"Identifier"==t.type?t.name:t.value,value:i(e.value)};return"init"==e.kind?new it(o):(o.key=new lt({name:o.key}),o.value=new Ee(o.value),"get"==e.kind?new ut(o):"set"==e.kind?new at(o):void 0)},ArrayExpression:function(e){return new nt({start:n(e),end:r(e),elements:e.elements.map(function(e){return null===e?new Bt:i(e)})})},ObjectExpression:function(e){return new rt({start:n(e),end:r(e),properties:e.properties.map(function(e){return e.type="Property",i(e)})})},SequenceExpression:function(e){return new Ke({start:n(e),end:r(e),expressions:e.expressions.map(i)})},MemberExpression:function(e){return new(e.computed?We:Ge)({start:n(e),end:r(e),property:e.computed?i(e.property):e.property.name,expression:i(e.object)})},SwitchCase:function(e){return new(e.test?Ue:Pe)({start:n(e),end:r(e),expression:i(e.test),body:e.consequent.map(i)})},VariableDeclaration:function(e){return new je({start:n(e),end:r(e),definitions:e.declarations.map(i)})},Literal:function(e){var t=e.value,o={start:n(e),end:r(e)};if(null===t)return new Ct(o);switch(typeof t){case"string":return o.value=t,new wt(o);case"number":return o.value=t,new At(o);case"boolean":return new(t?Rt:Tt)(o);default:var i=e.regex;return i&&i.pattern?o.value=new RegExp(i.pattern,i.flags).toString():o.value=e.regex&&e.raw?e.raw:t,new Et(o)}},Identifier:function(e){var t=h[h.length-2];return new("LabeledStatement"==t.type?gt:"VariableDeclarator"==t.type&&t.id===e?ft:"FunctionExpression"==t.type?t.id===e?dt:pt:"FunctionDeclaration"==t.type?t.id===e?ht:pt:"CatchClause"==t.type?mt:"BreakStatement"==t.type||"ContinueStatement"==t.type?bt:vt)({start:n(e),end:r(e),name:e.name})}};p.UpdateExpression=p.UnaryExpression=function(e){return new(("prefix"in e?e.prefix:"UnaryExpression"==e.type)?Ze:Je)({start:n(e),end:r(e),operator:e.operator,expression:i(e.argument)})},o("EmptyStatement",ce),o("BlockStatement",le,"body@body"),o("IfStatement",Fe,"test>condition, consequent>body, alternate>alternative"),o("LabeledStatement",pe,"label>label, body>body"),o("BreakStatement",Te,"label>label"),o("ContinueStatement",Re,"label>label"),o("WithStatement",ye,"object>expression, body>body"),o("SwitchStatement",Le,"discriminant>expression, cases@body"),o("ReturnStatement",Be,"argument>value"),o("ThrowStatement",Se,"argument>value"),o("WhileStatement",ge,"test>condition, body>body"),o("DoWhileStatement",me,"test>condition, body>body"),o("ForStatement",ve,"init>init, test>condition, update>step, body>body"),o("ForInStatement",be,"left>init, right>object, body>body"),o("DebuggerStatement",ie),o("VariableDeclarator",Ve,"id>name, init>value"),o("CatchClause",qe,"param>argname, body%body"),o("ThisExpression",yt),o("BinaryExpression",Xe,"operator=operator, left>left, right>right"),o("LogicalExpression",Xe,"operator=operator, left>left, right>right"),o("AssignmentExpression",tt,"operator=operator, left>left, right>right"),o("ConditionalExpression",et,"test>condition, consequent>consequent, alternate>alternative"),o("NewExpression",He,"callee>expression, arguments@args"),o("CallExpression",$e,"callee>expression, arguments@args"),u(we,function(e){return c("Program",e)}),u(Ce,function(e){return{type:"FunctionDeclaration",id:s(e.name),params:e.argnames.map(s),body:c("BlockStatement",e)}}),u(xe,function(e){return{type:"FunctionExpression",id:s(e.name),params:e.argnames.map(s),body:c("BlockStatement",e)}}),u(ae,function(e){return{type:"ExpressionStatement",expression:{type:"Literal",value:e.value}}}),u(ue,function(e){return{type:"ExpressionStatement",expression:s(e.body)}}),u(Me,function(e){return{type:"SwitchCase",test:s(e.expression),consequent:e.body.map(s)}}),u(Ne,function(e){return{type:"TryStatement",block:l(e),handler:s(e.bcatch),guardedHandlers:[],finalizer:s(e.bfinally)}}),u(qe,function(e){return{type:"CatchClause",param:s(e.argname),guard:null,body:l(e)}}),u(Ie,function(e){return{type:"VariableDeclaration",kind:"var",declarations:e.definitions.map(s)}}),u(Ke,function(e){return{type:"SequenceExpression",expressions:e.expressions.map(s)}}),u(Ye,function(e){var t=e instanceof We;return{type:"MemberExpression",object:s(e.expression),computed:t,property:t?s(e.property):{type:"Identifier",name:e.property}}}),u(Qe,function(e){return{type:"++"==e.operator||"--"==e.operator?"UpdateExpression":"UnaryExpression",operator:e.operator,prefix:e instanceof Ze,argument:s(e.expression)}}),u(Xe,function(e){return{type:"&&"==e.operator||"||"==e.operator?"LogicalExpression":"BinaryExpression",left:s(e.left),operator:e.operator,right:s(e.right)}}),u(nt,function(e){return{type:"ArrayExpression",elements:e.elements.map(s)}}),u(rt,function(e){return{type:"ObjectExpression",properties:e.properties.map(s)}}),u(ot,function(e){var t,n={type:"Literal",value:e.key instanceof lt?e.key.name:e.key};return e instanceof it?t="init":e instanceof ut?t="get":e instanceof at&&(t="set"),{type:"Property",kind:t,key:n,value:s(e.value)}}),u(st,function(e){var t=e.definition();return{type:"Identifier",name:t?t.mangled_name||t.name:e.name}}),u(Et,function(e){var t=e.value;return{type:"Literal",value:t,raw:t.toString(),regex:{pattern:t.source,flags:t.toString().match(/[gimuy]*$/)[0]}}}),u(_t,function(e){var t=e.value;return"number"==typeof t&&(t<0||0===t&&1/t<0)?{type:"UnaryExpression",operator:"-",prefix:!0,argument:{type:"Literal",value:-t,raw:e.start.raw}}:{type:"Literal",value:t,raw:e.start.raw}}),u(xt,function(e){return{type:"Identifier",name:String(e.value)}}),Dt.DEFMETHOD("to_mozilla_ast",_t.prototype.to_mozilla_ast),Ct.DEFMETHOD("to_mozilla_ast",_t.prototype.to_mozilla_ast),Bt.DEFMETHOD("to_mozilla_ast",function(){return null}),se.DEFMETHOD("to_mozilla_ast",le.prototype.to_mozilla_ast),Ae.DEFMETHOD("to_mozilla_ast",xe.prototype.to_mozilla_ast);var h=null;re.from_mozilla_ast=function(e){var t=h;h=[];var n=i(e);return h=t,n}}();var en="undefined"==typeof atob?function(t){return new e(t,"base64").toString()}:atob,tn="undefined"==typeof btoa?function(t){return new e(t).toString("base64")}:btoa;t.Dictionary=A,t.TreeWalker=O,t.minify=ee,t._push_uniq=g}(void 0===n?n={}:n)}).call(this,e("buffer").Buffer)},{buffer:5}]},{},["html-minifier"]);
\ No newline at end of file
+require=function e(t,n,r){function o(a,u){if(!n[a]){if(!t[a]){var s="function"==typeof require&&require;if(!u&&s)return s(a,!0);if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return o(n||e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){"use strict";function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function o(e){return 3*e.length/4-r(e)}function i(e){var t,n,o,i,a,u,s=e.length;a=r(e),u=new f(3*s/4-a),o=a>0?s-4:s;var l=0;for(t=0,n=0;t<o;t+=4,n+=3)i=c[e.charCodeAt(t)]<<18|c[e.charCodeAt(t+1)]<<12|c[e.charCodeAt(t+2)]<<6|c[e.charCodeAt(t+3)],u[l++]=i>>16&255,u[l++]=i>>8&255,u[l++]=255&i;return 2===a?(i=c[e.charCodeAt(t)]<<2|c[e.charCodeAt(t+1)]>>4,u[l++]=255&i):1===a&&(i=c[e.charCodeAt(t)]<<10|c[e.charCodeAt(t+1)]<<4|c[e.charCodeAt(t+2)]>>2,u[l++]=i>>8&255,u[l++]=255&i),u}function a(e){return l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e]}function u(e,t,n){for(var r,o=[],i=t;i<n;i+=3)r=(e[i]<<16)+(e[i+1]<<8)+e[i+2],o.push(a(r));return o.join("")}function s(e){for(var t,n=e.length,r=n%3,o="",i=[],a=0,s=n-r;a<s;a+=16383)i.push(u(e,a,a+16383>s?s:a+16383));return 1===r?(t=e[n-1],o+=l[t>>2],o+=l[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=l[t>>10],o+=l[t>>4&63],o+=l[t<<2&63],o+="="),i.push(o),i.join("")}n.byteLength=o,n.toByteArray=i,n.fromByteArray=s;for(var l=[],c=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,d=p.length;h<d;++h)l[h]=p[h],c[p.charCodeAt(h)]=h;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},{}],2:[function(e,t,n){},{}],3:[function(e,t,n){arguments[4][2][0].apply(n,arguments)},{dup:2}],4:[function(e,t,n){(function(t){"use strict";var r=e("buffer"),o=r.Buffer,i=r.SlowBuffer,a=r.kMaxLength||2147483647;n.alloc=function(e,t,n){if("function"==typeof o.alloc)return o.alloc(e,t,n);if("number"==typeof n)throw new TypeError("encoding must not be number");if("number"!=typeof e)throw new TypeError("size must be a number");if(e>a)throw new RangeError("size is too large");var r=n,i=t;void 0===i&&(r=void 0,i=0);var u=new o(e);if("string"==typeof i)for(var s=new o(i,r),l=s.length,c=-1;++c<e;)u[c]=s[c%l];else u.fill(i);return u},n.allocUnsafe=function(e){if("function"==typeof o.allocUnsafe)return o.allocUnsafe(e);if("number"!=typeof e)throw new TypeError("size must be a number");if(e>a)throw new RangeError("size is too large");return new o(e)},n.from=function(e,n,r){if("function"==typeof o.from&&(!t.Uint8Array||Uint8Array.from!==o.from))return o.from(e,n,r);if("number"==typeof e)throw new TypeError('"value" argument must not be a number');if("string"==typeof e)return new o(e,n);if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer){var i=n;if(1===arguments.length)return new o(e);void 0===i&&(i=0);var a=r;if(void 0===a&&(a=e.byteLength-i),i>=e.byteLength)throw new RangeError("'offset' is out of bounds");if(a>e.byteLength-i)throw new RangeError("'length' is out of bounds");return new o(e.slice(i,i+a))}if(o.isBuffer(e)){var u=new o(e.length);return e.copy(u,0,0,e.length),u}if(e){if(Array.isArray(e)||"undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return new o(e);if("Buffer"===e.type&&Array.isArray(e.data))return new o(e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")},n.allocUnsafeSlow=function(e){if("function"==typeof o.allocUnsafeSlow)return o.allocUnsafeSlow(e);if("number"!=typeof e)throw new TypeError("size must be a number");if(e>=a)throw new RangeError("size is too large");return new i(e)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{buffer:5}],5:[function(e,t,n){(function(t){"use strict";function r(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(r()<t)throw new RangeError("Invalid typed array length");return i.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=i.prototype:(null===e&&(e=new i(t)),e.length=t),e}function i(e,t,n){if(!(i.TYPED_ARRAY_SUPPORT||this instanceof i))return new i(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return l(this,e)}return a(this,e,t,n)}function a(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?p(e,t,n,r):"string"==typeof t?c(e,t,n):h(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function s(e,t,n,r){return u(t),t<=0?o(e,t):void 0!==n?"string"==typeof r?o(e,t).fill(n,r):o(e,t).fill(n):o(e,t)}function l(e,t){if(u(t),e=o(e,t<0?0:0|d(t)),!i.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function c(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!i.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|g(t,n),a=(e=o(e,r)).write(t,n);return a!==r&&(e=e.slice(0,a)),e}function f(e,t){var n=t.length<0?0:0|d(t.length);e=o(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),i.TYPED_ARRAY_SUPPORT?(e=t).__proto__=i.prototype:e=f(e,t),e}function h(e,t){if(i.isBuffer(t)){var n=0|d(t.length);return 0===(e=o(e,n)).length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||W(t.length)?o(e,0):f(e,t);if("Buffer"===t.type&&J(t.data))return f(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function d(e){if(e>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function m(e){return+e!=e&&(e=0),i.alloc(+e)}function g(e,t){if(i.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return $(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Y(e).length;default:if(r)return $(e).length;t=(""+t).toLowerCase(),r=!0}}function v(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return R(this,t,n);case"utf8":case"utf-8":return B(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return O(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function b(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:_(e,t,n,r,o);if("number"==typeof t)return t&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function _(e,t,n,r,o){function i(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,u=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,u/=2,s/=2,n/=2}var l;if(o){var c=-1;for(l=n;l<u;l++)if(i(e,l)===i(t,-1===c?0:l-c)){if(-1===c&&(c=l),l-c+1===s)return c*a}else-1!==c&&(l-=l-c),c=-1}else for(n+s>u&&(n=u-s),l=n;l>=0;l--){for(var f=!0,p=0;p<s;p++)if(i(e,l+p)!==i(t,p)){f=!1;break}if(f)return l}return-1}function w(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var u=parseInt(t.substr(2*a,2),16);if(isNaN(u))return a;e[n+a]=u}return a}function A(e,t,n,r){return G($(t,e.length-n),e,n,r)}function E(e,t,n,r){return G(H(t),e,n,r)}function x(e,t,n,r){return E(e,t,n,r)}function C(e,t,n,r){return G(Y(t),e,n,r)}function k(e,t,n,r){return G(K(t,e.length-n),e,n,r)}function O(e,t,n){return 0===t&&n===e.length?Q.fromByteArray(e):Q.fromByteArray(e.slice(t,n))}function B(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i=e[o],a=null,u=i>239?4:i>223?3:i>191?2:1;if(o+u<=n){var s,l,c,f;switch(u){case 1:i<128&&(a=i);break;case 2:128==(192&(s=e[o+1]))&&(f=(31&i)<<6|63&s)>127&&(a=f);break;case 3:s=e[o+1],l=e[o+2],128==(192&s)&&128==(192&l)&&(f=(15&i)<<12|(63&s)<<6|63&l)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:s=e[o+1],l=e[o+2],c=e[o+3],128==(192&s)&&128==(192&l)&&128==(192&c)&&(f=(15&i)<<18|(63&s)<<12|(63&l)<<6|63&c)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,u=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),o+=u}return S(r)}function S(e){var t=e.length;if(t<=X)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=X));return n}function D(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function T(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function R(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=V(e[i]);return o}function F(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function L(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,n,r,o,a){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function P(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function U(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function N(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function q(e,t,n,r,o){return o||N(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Z.write(e,t,n,r,23,4),n+4}function z(e,t,n,r,o){return o||N(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Z.write(e,t,n,r,52,8),n+8}function I(e){if((e=j(e).replace(ee,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function j(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function V(e){return e<16?"0"+e.toString(16):e.toString(16)}function $(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function H(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function K(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}function Y(e){return Q.toByteArray(I(e))}function G(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function W(e){return e!==e}var Q=e("base64-js"),Z=e("ieee754"),J=e("isarray");n.Buffer=i,n.SlowBuffer=m,n.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),n.kMaxLength=r(),i.poolSize=8192,i._augment=function(e){return e.__proto__=i.prototype,e},i.from=function(e,t,n){return a(null,e,t,n)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0})),i.alloc=function(e,t,n){return s(null,e,t,n)},i.allocUnsafe=function(e){return l(null,e)},i.allocUnsafeSlow=function(e){return l(null,e)},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.compare=function(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o<a;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(e,t){if(!J(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return i.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=i.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(!i.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},i.byteLength=g,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)b(this,t,t+1);return this},i.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)b(this,t,t+3),b(this,t+1,t+2);return this},i.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)b(this,t,t+7),b(this,t+1,t+6),b(this,t+2,t+5),b(this,t+3,t+4);return this},i.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?B(this,0,e):v.apply(this,arguments)},i.prototype.equals=function(e){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===i.compare(this,e)},i.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},i.prototype.compare=function(e,t,n,r,o){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var a=o-r,u=n-t,s=Math.min(a,u),l=this.slice(r,o),c=e.slice(t,n),f=0;f<s;++f)if(l[f]!==c[f]){a=l[f],u=c[f];break}return a<u?-1:u<a?1:0},i.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},i.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},i.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},i.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return w(this,e,t,n);case"utf8":case"utf-8":return A(this,e,t,n);case"ascii":return E(this,e,t,n);case"latin1":case"binary":return x(this,e,t,n);case"base64":return C(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var X=4096;i.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r;if(i.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=i.prototype;else{var o=t-e;r=new i(o,void 0);for(var a=0;a<o;++a)r[a]=this[a+e]}return r},i.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},i.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},i.prototype.readUInt8=function(e,t){return t||L(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return t||L(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return t||L(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return t||L(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return t||L(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},i.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||L(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},i.prototype.readInt8=function(e,t){return t||L(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){t||L(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(e,t){t||L(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(e,t){return t||L(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return t||L(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return t||L(e,4,this.length),Z.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return t||L(e,4,this.length),Z.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return t||L(e,8,this.length),Z.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return t||L(e,8,this.length),Z.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||M(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},i.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||M(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},i.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,255,0),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},i.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},i.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):U(this,e,t,!0),t+4},i.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):U(this,e,t,!1),t+4},i.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);M(this,e,t,n,o-1,-o)}var i=0,a=1,u=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===u&&0!==this[t+i-1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+n},i.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);M(this,e,t,n,o-1,-o)}var i=n-1,a=1,u=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===u&&0!==this[t+i+1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+n},i.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,127,-128),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):P(this,e,t,!0),t+2},i.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):P(this,e,t,!1),t+2},i.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):U(this,e,t,!0),t+4},i.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):U(this,e,t,!1),t+4},i.prototype.writeFloatLE=function(e,t,n){return q(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){return q(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){return z(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){return z(this,e,t,!1,n)},i.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,a=r-n;if(this===e&&n<t&&t<r)for(o=a-1;o>=0;--o)e[o+t]=this[o+n];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o<a;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},i.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!i.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var a;if("number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var u=i.isBuffer(e)?e:$(new i(e,r).toString()),s=u.length;for(a=0;a<n-t;++a)this[a+t]=u[a%s]}return this};var ee=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":1,ieee754:106,isarray:109}],6:[function(e,t,n){t.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},{}],7:[function(e,t,n){t.exports=e("./lib/clean")},{"./lib/clean":8}],8:[function(e,t,n){(function(n){function r(e,t,n,r){var u="function"!=typeof n?n:null,s="function"==typeof r?r:"function"==typeof n?n:null,l={stats:{efficiency:0,minifiedSize:0,originalSize:0,startedAt:Date.now(),timeSpent:0},cache:{specificity:{}},errors:[],inlinedStylesheets:[],inputSourceMapTracker:A(),localOnly:!s,options:t,source:null,sourcesContent:{},validator:f(t.compatibility),warnings:[]};return u&&l.inputSourceMapTracker.track(void 0,u),o(l.localOnly)(function(){return E(e,l,function(e){var t=a((l.options.sourceMap?C:x)(i(e,l),l),l);return s?s(l.errors.length>0?l.errors:null,t):t})})}function o(e){return e?function(e){return e()}:n.nextTick}function i(e,t){var n;return n=s(e,t),n=b.One in t.options.level?l(e,t):e,n=b.Two in t.options.level?c(e,t,!0):n}function a(e,t){return e.stats=u(e.styles,t),e.errors=t.errors,e.inlinedStylesheets=t.inlinedStylesheets,e.warnings=t.warnings,e}function u(e,t){var n=Date.now()-t.stats.startedAt;return delete t.stats.startedAt,t.stats.timeSpent=n,t.stats.efficiency=1-e.length/t.stats.originalSize,t.stats.minifiedSize=e.length,t.stats}var s=e("./optimizer/level-0/optimize"),l=e("./optimizer/level-1/optimize"),c=e("./optimizer/level-2/optimize"),f=e("./optimizer/validator"),p=e("./options/compatibility"),h=e("./options/fetch"),d=e("./options/format").formatFrom,m=e("./options/inline"),g=e("./options/inline-request"),v=e("./options/inline-timeout"),b=e("./options/optimization-level").OptimizationLevel,y=e("./options/optimization-level").optimizationLevelFrom,_=e("./options/rebase"),w=e("./options/rebase-to"),A=e("./reader/input-source-map-tracker"),E=e("./reader/read-sources"),x=e("./writer/simple"),C=e("./writer/source-maps");(t.exports=function(e){e=e||{},this.options={compatibility:p(e.compatibility),fetch:h(e.fetch),format:d(e.format),inline:m(e.inline),inlineRequest:g(e.inlineRequest),inlineTimeout:v(e.inlineTimeout),level:y(e.level),rebase:_(e.rebase),rebaseTo:w(e.rebaseTo),returnPromise:!!e.returnPromise,sourceMap:!!e.sourceMap,sourceMapInlineSources:!!e.sourceMapInlineSources}}).prototype.minify=function(e,t,n){var o=this.options;return o.returnPromise?new Promise(function(n,i){r(e,o,t,function(e,t){return e?i(e):n(t)})}):r(e,o,t,n)}}).call(this,e("_process"))},{"./optimizer/level-0/optimize":10,"./optimizer/level-1/optimize":11,"./optimizer/level-2/optimize":30,"./optimizer/validator":58,"./options/compatibility":60,"./options/fetch":61,"./options/format":62,"./options/inline":65,"./options/inline-request":63,"./options/inline-timeout":64,"./options/optimization-level":66,"./options/rebase":68,"./options/rebase-to":67,"./reader/input-source-map-tracker":72,"./reader/read-sources":78,"./writer/simple":100,"./writer/source-maps":101,_process:114}],9:[function(e,t,n){var r={ASTERISK:"asterisk",BANG:"bang",BACKSLASH:"backslash",UNDERSCORE:"underscore"};t.exports=r},{}],10:[function(e,t,n){function r(e){return e}t.exports=r},{}],11:[function(e,t,n){function r(e){return e&&"-"==e[1][0]&&parseFloat(e[1])<0}function o(e){return re.test(e)}function i(e){return ie.test(e)}function a(e){return e.replace(ie,"url(").replace(/\\?\n|\\?\r\n/g,"")}function u(e){var t=e.value;1==t.length&&"none"==t[0][1]&&(t[0][1]="0 0"),1==t.length&&"transparent"==t[0][1]&&(t[0][1]="0 0")}function s(e){var t,n=e.value;3==n.length&&"/"==n[1][1]&&n[0][1]==n[2][1]?t=1:5==n.length&&"/"==n[2][1]&&n[0][1]==n[3][1]&&n[1][1]==n[4][1]?t=2:7==n.length&&"/"==n[3][1]&&n[0][1]==n[4][1]&&n[1][1]==n[5][1]&&n[2][1]==n[6][1]?t=3:9==n.length&&"/"==n[4][1]&&n[0][1]==n[5][1]&&n[1][1]==n[6][1]&&n[2][1]==n[7][1]&&n[3][1]==n[8][1]&&(t=4),t&&(e.value.splice(t),e.dirty=!0)}function l(e,t,n){return-1===t.indexOf("#")&&-1==t.indexOf("rgb")&&-1==t.indexOf("hsl")?F(t):(t=t.replace(/rgb\((\-?\d+),(\-?\d+),(\-?\d+)\)/g,function(e,t,n,r){return M(t,n,r)}).replace(/hsl\((-?\d+),(-?\d+)%?,(-?\d+)%?\)/g,function(e,t,n,r){return L(t,n,r)}).replace(/(^|[^='"])#([0-9a-f]{6})/gi,function(e,t,n){return n[0]==n[1]&&n[2]==n[3]&&n[4]==n[5]?(t+"#"+n[0]+n[2]+n[4]).toLowerCase():(t+"#"+n).toLowerCase()}).replace(/(^|[^='"])#([0-9a-f]{3})/gi,function(e,t,n){return t+"#"+n.toLowerCase()}).replace(/(rgb|rgba|hsl|hsla)\(([^\)]+)\)/g,function(e,t,n){var r=n.split(",");return"hsl"==t&&3==r.length||"hsla"==t&&4==r.length||"rgb"==t&&3==r.length&&n.indexOf("%")>0||"rgba"==t&&4==r.length&&n.indexOf("%")>0?(-1==r[1].indexOf("%")&&(r[1]+="%"),-1==r[2].indexOf("%")&&(r[2]+="%"),t+"("+r.join(",")+")"):e}),n.colors.opacity&&-1==e.indexOf("background")&&(t=t.replace(/(?:rgba|hsla)\(0,0%?,0%?,0\)/g,function(e){return G(t,",").pop().indexOf("gradient(")>-1?e:"transparent"})),F(t))}function c(e){1==e.value.length&&(e.value[0][1]=e.value[0][1].replace(/progid:DXImageTransform\.Microsoft\.(Alpha|Chroma)(\W)/,function(e,t,n){return t.toLowerCase()+n})),e.value[0][1]=e.value[0][1].replace(/,(\S)/g,", $1").replace(/ ?= ?/g,"=")}function f(e,t){var n=e.value[t][1];"normal"==n?n="400":"bold"==n&&(n="700"),e.value[t][1]=n}function p(e){var t,n=e.value;4==n.length&&"0"===n[0][1]&&"0"===n[1][1]&&"0"===n[2][1]&&"0"===n[3][1]&&(t=e.name.indexOf("box-shadow")>-1?2:1),t&&(e.value.splice(t),e.dirty=!0)}function h(e){var t=e.value;1==t.length&&"none"==t[0][1]&&(t[0][1]="0")}function d(e,t,n){return X.test(t)?t.replace(X,function(e,t){var r,o=parseInt(t);return 0===o?e:(n.properties.shorterLengthUnits&&n.units.pt&&3*o%4==0&&(r=3*o/4+"pt"),n.properties.shorterLengthUnits&&n.units.pc&&o%16==0&&(r=o/16+"pc"),n.properties.shorterLengthUnits&&n.units.in&&o%96==0&&(r=o/96+"in"),r&&(r=e.substring(0,e.indexOf(t))+r),r&&r.length<e.length?r:e)}):t}function m(e,t,n){return n.enabled&&-1!==t.indexOf(".")?t.replace(n.decimalPointMatcher,"$1$2$3").replace(n.zeroMatcher,function(e,t,r,o){var i=n.units[o].multiplier,a=parseInt(t),u=isNaN(a)?0:a,s=parseFloat(r);return Math.round((u+s)*i)/i+o}):t}function g(e,t){return ee.test(t)?t.replace(ee,function(e,t,n){var r;return"ms"==n?r=parseInt(t)/1e3+"s":"s"==n&&(r=1e3*parseFloat(t)+"ms"),r.length<e.length?r:e}):t}function v(e,t,n){return/^(?:\-moz\-calc|\-webkit\-calc|calc|rgb|hsl|rgba|hsla)\(/.test(t)?t:"flex"==e||"-ms-flex"==e||"-webkit-flex"==e||"flex-basis"==e||"-webkit-flex-basis"==e?t:t.indexOf("%")>0&&("height"==e||"max-height"==e)?t:t.replace(n,"$10$2").replace(n,"$10$2")}function b(e,t){return e.indexOf("filter")>-1||-1==t.indexOf(" ")||0===t.indexOf("expression")?t:t.indexOf(K.SINGLE_QUOTE)>-1||t.indexOf(K.DOUBLE_QUOTE)>-1?t:((t=t.replace(/\s+/g," ")).indexOf("calc")>-1&&(t=t.replace(/\) ?\/ ?/g,")/ ")),t.replace(/(\(;?)\s+/g,"$1").replace(/\s+(;?\))/g,"$1").replace(/, /g,","))}function y(e,t){return-1==t.indexOf("0deg")?t:t.replace(/\(0deg\)/g,"(0)")}function _(e,t){return-1==t.indexOf("0")?t:(t.indexOf("-")>-1&&(t=t.replace(/([^\w\d\-]|^)\-0([^\.]|$)/g,"$10$2").replace(/([^\w\d\-]|^)\-0([^\.]|$)/g,"$10$2")),t.replace(/(^|\s)0+([1-9])/g,"$1$2").replace(/(^|\D)\.0+(\D|$)/g,"$10$2").replace(/(^|\D)\.0+(\D|$)/g,"$10$2").replace(/\.([1-9]*)0+(\D|$)/g,function(e,t,n){return(t.length>0?".":"")+t+n}).replace(/(^|\D)0\.(\d)/g,"$1.$2"))}function w(e,t){return"content"==e||e.indexOf("font-feature-settings")>-1||e.indexOf("grid-")>-1?t:oe.test(t)?t.substring(1,t.length-1):t}function A(e){return!/^url\(['"].+['"]\)$/.test(e)||/^url\(['"].*[\*\s\(\)'"].*['"]\)$/.test(e)||/^url\(['"]data:[^;]+;charset/.test(e)?e:e.replace(/["']/g,"")}function E(e,t,n){var r=n(e,t);return void 0===r?t:!1===r?W:r}function x(e,t){var n,k,O,B,S,D,R=t.options,F=R.level[$.One],L=V(e,!0);e:for(var M=0,P=L.length;M<P;M++)if(n=L[M],k=n.name,te.test(k)||(D=n.all[n.position],t.warnings.push("Invalid property name '"+k+"' at "+Y(D[1][2][0])+". Ignoring."),n.unused=!0),0===n.value.length&&(D=n.all[n.position],t.warnings.push("Empty property '"+k+"' at "+Y(D[1][2][0])+". Ignoring."),n.unused=!0),n.hack&&((n.hack[0]==z.ASTERISK||n.hack[0]==z.UNDERSCORE)&&!R.compatibility.properties.iePrefixHack||n.hack[0]==z.BACKSLASH&&!R.compatibility.properties.ieSuffixHack||n.hack[0]==z.BANG&&!R.compatibility.properties.ieBangHack)&&(n.unused=!0),F.removeNegativePaddings&&0===k.indexOf("padding")&&(r(n.value[0])||r(n.value[1])||r(n.value[2])||r(n.value[3]))&&(n.unused=!0),!R.compatibility.properties.ieFilters&&T(n)&&(n.unused=!0),!n.unused)if(n.block)x(n.value[0][1],t);else if(!ae.test(k)){for(var U=0,N=n.value.length;U<N;U++){if(O=n.value[U][0],B=n.value[U][1],S=i(B),O==H.PROPERTY_BLOCK){n.unused=!0,t.warnings.push("Invalid value token at "+Y(B[0][1][2][0])+". Ignoring.");break}if(S&&!t.validator.isUrl(B)){n.unused=!0,t.warnings.push("Broken URL '"+B+"' at "+Y(n.value[U][2][0])+". Ignoring.");break}if(S?(B=F.normalizeUrls?a(B):B,B=R.compatibility.properties.urlQuotes?B:A(B)):o(B)?B=F.removeQuotes?w(k,B):B:(B=d(k,B=m(k,B=F.removeWhitespace?b(k,B):B,R.precision),R.compatibility),B=F.replaceTimeUnits?g(k,B):B,B=F.replaceZeroUnits?_(k,B):B,R.compatibility.properties.zeroUnits&&(B=v(k,B=y(k,B),R.unitsRegexp)),R.compatibility.properties.colors&&(B=l(k,B,R.compatibility))),(B=E(k,B,F.transform))===W){n.unused=!0;continue e}n.value[U][1]=B}F.replaceMultipleZeros&&p(n),"background"==k&&F.optimizeBackground?u(n):0===k.indexOf("border")&&k.indexOf("radius")>0&&F.optimizeBorderRadius?s(n):"filter"==k&&F.optimizeFilter&&R.compatibility.properties.ieFilters?c(n):"font-weight"==k&&F.optimizeFontWeight?f(n,0):"outline"==k&&F.optimizeOutline&&h(n)}j(L),I(L),L.length!=e.length&&C(e,R)}function C(e,t){var n,r;for(r=0;r<e.length;r++)(n=e[r])[0]==H.COMMENT&&(k(n,t),0===n[1].length&&(e.splice(r,1),r--))}function k(e,t){e[1][2]==K.EXCLAMATION&&("all"==t.level[$.One].specialComments||t.commentsKept<t.level[$.One].specialComments)?t.commentsKept++:e[1]=[]}function O(e){for(var t=!1,n=0,r=e.length;n<r;n++){var o=e[n];o[0]==H.AT_RULE&&(Z.test(o[1])&&(t||-1==o[1].indexOf(Q)?(e.splice(n,1),n--,r--):(t=!0,e.splice(n,1),e.unshift([H.AT_RULE,o[1].replace(Z,Q)]))))}}function B(e){var t=["px","em","ex","cm","mm","in","pt","pc","%"];return["ch","rem","vh","vm","vmax","vmin","vw"].forEach(function(n){e.compatibility.units[n]&&t.push(n)}),new RegExp("(^|\\s|\\(|,)0(?:"+t.join("|")+")(\\W|$)","g")}function S(e){var t,n,r={matcher:null,units:{}},o=[];for(t in e)(n=e[t])!=J&&(r.units[t]={},r.units[t].value=n,r.units[t].multiplier=Math.pow(10,n),o.push(t));return o.length>0&&(r.enabled=!0,r.decimalPointMatcher=new RegExp("(\\d)\\.($|"+o.join("|")+")($|W)","g"),r.zeroMatcher=new RegExp("(\\d*)(\\.\\d+)("+o.join("|")+")","g")),r}function D(e){return ne.test(e[1])}function T(e){var t;return("filter"==e.name||"-ms-filter"==e.name)&&((t=e.value[0][1]).indexOf("progid")>-1||0===t.indexOf("alpha")||0===t.indexOf("chroma"))}function R(e,t){var n=t.options,r=n.level[$.One],o=n.compatibility.selectors.ie7Hack,i=n.compatibility.selectors.adjacentSpace,a=n.compatibility.properties.spaceAfterClosingBrace,u=n.format,s=!1,l=!1;n.unitsRegexp=n.unitsRegexp||B(n),n.precision=n.precision||S(r.roundingPrecision),n.commentsKept=n.commentsKept||0;for(var c=0,f=e.length;c<f;c++){var p=e[c];switch(p[0]){case H.AT_RULE:p[1]=D(p)&&l?"":p[1],p[1]=r.tidyAtRules?q(p[1]):p[1],s=!0;break;case H.AT_RULE_BLOCK:x(p[2],t),l=!0;break;case H.NESTED_BLOCK:p[1]=r.tidyBlockScopes?N(p[1],a):p[1],R(p[2],t),l=!0;break;case H.COMMENT:k(p,n);break;case H.RULE:p[1]=r.tidySelectors?U(p[1],!o,i,u,t.warnings):p[1],p[1]=p[1].length>1?P(p[1],r.selectorsSortingMethod):p[1],x(p[2],t),l=!0}r.removeEmpty&&(0===p[1].length||p[2]&&0===p[2].length)&&(e.splice(c,1),c--,f--)}return r.cleanupCharsets&&s&&O(e),e}var F=e("./shorten-hex"),L=e("./shorten-hsl"),M=e("./shorten-rgb"),P=e("./sort-selectors"),U=e("./tidy-rules"),N=e("./tidy-block"),q=e("./tidy-at-rule"),z=e("../hack"),I=e("../remove-unused"),j=e("../restore-from-optimizing"),V=e("../wrap-for-optimizing").all,$=e("../../options/optimization-level").OptimizationLevel,H=e("../../tokenizer/token"),K=e("../../tokenizer/marker"),Y=e("../../utils/format-position"),G=e("../../utils/split"),W="ignore-property",Q="@charset",Z=new RegExp("^"+Q,"i"),J=e("../../options/rounding-precision").DEFAULT,X=/(?:^|\s|\()(-?\d+)px/,ee=/^(\-?[\d\.]+)(m?s)$/,te=/^(?:\-chrome\-|\-[\w\-]+\w|\w[\w\-]+\w|\-\-\S+)$/,ne=/^@import/i,re=/^('.*'|".*")$/,oe=/^['"][a-zA-Z][a-zA-Z\d\-_]+['"]$/,ie=/^url\(/i,ae=/^--\S+$/;t.exports=R},{"../../options/optimization-level":66,"../../options/rounding-precision":69,"../../tokenizer/marker":84,"../../tokenizer/token":85,"../../utils/format-position":88,"../../utils/split":97,"../hack":9,"../remove-unused":56,"../restore-from-optimizing":57,"../wrap-for-optimizing":59,"./shorten-hex":12,"./shorten-hsl":13,"./shorten-rgb":14,"./sort-selectors":15,"./tidy-at-rule":16,"./tidy-block":17,"./tidy-rules":18}],12:[function(e,t,n){function r(e,t,n,r){return t+u[n.toLowerCase()]+r}function o(e,t,n){return s[t.toLowerCase()]+n}function i(e){var t=e.indexOf("#")>-1,n=e.replace(f,r);return n!=e&&(n=n.replace(f,r)),t?n.replace(p,o):n}var a={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#0ff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000",blanchedalmond:"#ffebcd",blue:"#00f",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#0ff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#f0f",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#0f0",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#f00",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#fff",whitesmoke:"#f5f5f5",yellow:"#ff0",yellowgreen:"#9acd32"},u={},s={};for(var l in a){var c=a[l];l.length<c.length?s[c]=l:u[l]=c}var f=new RegExp("(^| |,|\\))("+Object.keys(u).join("|")+")( |,|\\)|$)","ig"),p=new RegExp("("+Object.keys(s).join("|")+")([^a-f0-9]|$)","ig");t.exports=i},{}],13:[function(e,t,n){function r(e,t,n){var r,i,a;if((e%=360)<0&&(e+=360),e=~~e/360,t<0?t=0:t>100&&(t=100),t=~~t/100,n<0?n=0:n>100&&(n=100),n=~~n/100,0===t)r=i=a=n;else{var u=n<.5?n*(1+t):n+t-n*t,s=2*n-u;r=o(s,u,e+1/3),i=o(s,u,e),a=o(s,u,e-1/3)}return[~~(255*r),~~(255*i),~~(255*a)]}function o(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function i(e,t,n){var o=r(e,t,n),i=o[0].toString(16),a=o[1].toString(16),u=o[2].toString(16);return"#"+(1==i.length?"0":"")+i+(1==a.length?"0":"")+a+(1==u.length?"0":"")+u}t.exports=i},{}],14:[function(e,t,n){function r(e,t,n){return"#"+("00000"+(Math.max(0,Math.min(parseInt(e),255))<<16|Math.max(0,Math.min(parseInt(t),255))<<8|Math.max(0,Math.min(parseInt(n),255))).toString(16)).slice(-6)}t.exports=r},{}],15:[function(e,t,n){function r(e,t){return a(e[1],t[1])}function o(e,t){return e[1]>t[1]?1:-1}function i(e,t){switch(t){case"natural":return e.sort(r);case"standard":return e.sort(o);case"none":case!1:return e}}var a=e("../../utils/natural-compare");t.exports=i},{"../../utils/natural-compare":95}],16:[function(e,t,n){function r(e){return e.replace(/\s+/g," ").replace(/url\(\s+/g,"url(").replace(/\s+\)/g,")").trim()}t.exports=r},{}],17:[function(e,t,n){function r(e,t){var n,r;for(r=e.length-1;r>=0;r--)n=!t&&o.test(e[r][1]),e[r][1]=e[r][1].replace(/\n|\r\n/g," ").replace(/\s+/g," ").replace(/(,|:|\() /g,"$1").replace(/ \)/g,")").replace(/'([a-zA-Z][a-zA-Z\d\-_]+)'/,"$1").replace(/"([a-zA-Z][a-zA-Z\d\-_]+)"/,"$1").replace(n?/\) /g:null,")");return e}var o=/^@media\W/;t.exports=r},{}],18:[function(e,t,n){function r(e){var t,n,r,o,i=!1,a=!1;for(r=0,o=e.length;r<o;r++){if(n=e[r],t);else if(n==s.SINGLE_QUOTE||n==s.DOUBLE_QUOTE)a=!a;else{if(!(a||n!=s.CLOSE_CURLY_BRACKET&&n!=s.EXCLAMATION&&n!=w&&n!=s.SEMICOLON)){i=!0;break}if(!a&&0===r&&v.test(n)){i=!0;break}}t=n==s.BACK_SLASH}return i}function o(e,t){var n,r,o,i,a,l,p,h,d,m,g,y,_,w=[],A=0,E=!1,x=!1,C=c.test(e),k=t&&t.spaces[u.AroundSelectorRelation];for(y=0,_=e.length;y<_;y++){if(n=e[y],r=n==s.NEW_LINE_NIX,o=n==s.NEW_LINE_NIX&&e[y-1]==s.NEW_LINE_WIN,l=p||h,m=!i&&0===A&&v.test(n),g=b.test(n),a&&l&&o)w.pop(),w.pop();else if(i&&l&&r)w.pop();else if(i)w.push(n);else if(n!=s.OPEN_SQUARE_BRACKET||l)if(n!=s.CLOSE_SQUARE_BRACKET||l)if(n!=s.OPEN_ROUND_BRACKET||l)if(n!=s.CLOSE_ROUND_BRACKET||l)if(n!=s.SINGLE_QUOTE||l)if(n!=s.DOUBLE_QUOTE||l)if(n==s.SINGLE_QUOTE&&l)w.push(n),p=!1;else if(n==s.DOUBLE_QUOTE&&l)w.push(n),h=!1;else{if(g&&E&&!k)continue;!g&&E&&k?(w.push(s.SPACE),w.push(n)):g&&(d||A>0)&&!l||g&&x&&!l||(o||r)&&(d||A>0)&&l||(m&&x&&!k?(w.pop(),w.push(n)):m&&!x&&k?(w.push(s.SPACE),w.push(n)):g?w.push(s.SPACE):w.push(n))}else w.push(n),h=!0;else w.push(n),p=!0;else w.push(n),A--;else w.push(n),A++;else w.push(n),d=!1;else w.push(n),d=!0;a=i,i=n==s.BACK_SLASH,E=m,x=g}return C?w.join("").replace(f,"$1 $2]"):w.join("")}function i(e){return-1==e.indexOf("'")&&-1==e.indexOf('"')?e:e.replace(m,"=$1 $2").replace(g,"=$1$2").replace(p,"=$1 $2").replace(h,"=$1$2")}function a(e,t,n,a,u){function s(e,t){return u.push("HTML comment '"+t+"' at "+l(e[2][0])+". Removing."),""}for(var c=[],f=[],p=0,h=e.length;p<h;p++){var m=e[p],g=m[1];r(g=g.replace(d,s.bind(null,m)))?u.push("Invalid selector '"+m[1]+"' at "+l(m[2][0])+". Ignoring."):(g=i(g=o(g,a)),n&&g.indexOf("nav")>0&&(g=g.replace(/\+nav(\S|$)/,"+ nav$1")),t&&g.indexOf(y)>-1||t&&g.indexOf(_)>-1||(g.indexOf("*")>-1&&(g=g.replace(/\*([:#\.\[])/g,"$1").replace(/^(\:first\-child)?\+html/,"*$1+html")),f.indexOf(g)>-1||(m[1]=g,f.push(g),c.push(m))))}return 1==c.length&&0===c[0][1].length&&(u.push("Empty selector '"+c[0][1]+"' at "+l(c[0][2][0])+". Ignoring."),c=[]),c}var u=e("../../options/format").Spaces,s=e("../../tokenizer/marker"),l=e("../../utils/format-position"),c=/[\s"'][iI]\s*\]/,f=/([\d\w])([iI])\]/g,p=/="([a-zA-Z][a-zA-Z\d\-_]+)"([iI])/g,h=/="([a-zA-Z][a-zA-Z\d\-_]+)"(\s|\])/g,d=/^(?:(?:<!--|-->)\s*)+/,m=/='([a-zA-Z][a-zA-Z\d\-_]+)'([iI])/g,g=/='([a-zA-Z][a-zA-Z\d\-_]+)'(\s|\])/g,v=/[>\+~]/,b=/\s/,y="*+html ",_="*:first-child+html ",w="<";t.exports=a},{"../../options/format":62,"../../tokenizer/marker":84,"../../utils/format-position":88}],19:[function(e,t,n){function r(e){var t,n;for(t=0,n=e.length;t<n;t++)if("inherit"==e[t][1])return!0;return!1}function o(e){return function(t){return"invert"==t[1]||e.isColor(t[1])||e.isPrefixed(t[1])}}function i(e){return function(t){return"inherit"!=t[1]&&e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}function a(e,t,n){var r=n[e];return v(r.doubleValues&&2==r.defaultValue.length?[b.PROPERTY,[b.PROPERTY_NAME,e],[b.PROPERTY_VALUE,r.defaultValue[0]],[b.PROPERTY_VALUE,r.defaultValue[1]]]:r.doubleValues&&1==r.defaultValue.length?[b.PROPERTY,[b.PROPERTY_NAME,e],[b.PROPERTY_VALUE,r.defaultValue[0]]]:[b.PROPERTY,[b.PROPERTY_NAME,e],[b.PROPERTY_VALUE,r.defaultValue]])}function u(e){return function(t){return"inherit"!=t[1]&&(e.isWidth(t[1])||e.isUnit(t[1])&&!e.isDynamicUnit(t[1]))&&!e.isStyleKeyword(t[1])&&!e.isColorFunction(t[1])}}function s(e,t,n){var o,i,u,s=a(e.name+"-duration",e,t),l=a(e.name+"-timing-function",e,t),c=a(e.name+"-delay",e,t),f=a(e.name+"-iteration-count",e,t),p=a(e.name+"-direction",e,t),h=a(e.name+"-fill-mode",e,t),d=a(e.name+"-play-state",e,t),m=a(e.name+"-name",e,t),v=[s,l,c,f,p,h,d,m],b=e.value,y=!1,w=!1,A=!1,E=!1,x=!1,C=!1,k=!1,O=!1;if(1==e.value.length&&"inherit"==e.value[0][1])return s.value=l.value=c.value=f.value=p.value=h.value=d.value=m.value=e.value,v;if(b.length>1&&r(b))throw new g("Invalid animation values at "+_(b[0][2][0])+". Ignoring.");for(i=0,u=b.length;i<u;i++)if(o=b[i],n.isTime(o[1])&&!y)s.value=[o],y=!0;else if(n.isTime(o[1])&&!A)c.value=[o],A=!0;else if(!n.isGlobal(o[1])&&!n.isAnimationTimingFunction(o[1])||w)if(!n.isAnimationIterationCountKeyword(o[1])&&!n.isPositiveNumber(o[1])||E)if(n.isAnimationDirectionKeyword(o[1])&&!x)p.value=[o],x=!0;else if(n.isAnimationFillModeKeyword(o[1])&&!C)h.value=[o],C=!0;else if(n.isAnimationPlayStateKeyword(o[1])&&!k)d.value=[o],k=!0;else{if(!n.isAnimationNameKeyword(o[1])&&!n.isIdentifier(o[1])||O)throw new g("Invalid animation value at "+_(o[2][0])+". Ignoring.");m.value=[o],O=!0}else f.value=[o],E=!0;else l.value=[o],w=!0;return v}function l(e,t,n){var r=a("background-image",e,t),o=a("background-position",e,t),i=a("background-size",e,t),u=a("background-repeat",e,t),s=a("background-attachment",e,t),l=a("background-origin",e,t),c=a("background-clip",e,t),f=a("background-color",e,t),p=[r,o,i,u,s,l,c,f],h=e.value,d=!1,m=!1,v=!1,b=!1,w=!1;if(1==e.value.length&&"inherit"==e.value[0][1])return f.value=r.value=u.value=o.value=i.value=l.value=c.value=e.value,p;if(1==e.value.length&&"0 0"==e.value[0][1])return p;for(var A=h.length-1;A>=0;A--){var E=h[A];if(n.isBackgroundAttachmentKeyword(E[1]))s.value=[E],w=!0;else if(n.isBackgroundClipKeyword(E[1])||n.isBackgroundOriginKeyword(E[1]))m?(l.value=[E],v=!0):(c.value=[E],m=!0),w=!0;else if(n.isBackgroundRepeatKeyword(E[1]))b?u.value.unshift(E):(u.value=[E],b=!0),w=!0;else if(n.isBackgroundPositionKeyword(E[1])||n.isBackgroundSizeKeyword(E[1])||n.isUnit(E[1])||n.isDynamicUnit(E[1])){if(A>0){var x=h[A-1];x[1]==y.FORWARD_SLASH?i.value=[E]:A>1&&h[A-2][1]==y.FORWARD_SLASH?(i.value=[x,E],A-=2):(d||(o.value=[]),o.value.unshift(E),d=!0)}else d||(o.value=[]),o.value.unshift(E),d=!0;w=!0}else f.value[0][1]!=t[f.name].defaultValue&&"none"!=f.value[0][1]||!n.isColor(E[1])&&!n.isPrefixed(E[1])?(n.isUrl(E[1])||n.isFunction(E[1]))&&(r.value=[E],w=!0):(f.value=[E],w=!0)}if(m&&!v&&(l.value=c.value.slice(0)),!w)throw new g("Invalid background value at "+_(h[0][2][0])+". Ignoring.");return p}function c(e,t){for(var n=e.value,r=-1,o=0,i=n.length;o<i;o++)if(n[o][1]==y.FORWARD_SLASH){r=o;break}if(0===r||r===n.length-1)throw new g("Invalid border-radius value at "+_(n[0][2][0])+". Ignoring.");var u=a(e.name,e,t);u.value=r>-1?n.slice(0,r):n.slice(0),u.components=p(u,t);var s=a(e.name,e,t);s.value=r>-1?n.slice(r+1):n.slice(0),s.components=p(s,t);for(var l=0;l<4;l++)u.components[l].multiplex=!0,u.components[l].value=u.components[l].value.concat(s.components[l].value);return u.components}function f(e,t,n){var o,i,u,s,l=a("font-style",e,t),c=a("font-variant",e,t),f=a("font-weight",e,t),p=a("font-stretch",e,t),h=a("font-size",e,t),d=a("line-height",e,t),m=a("font-family",e,t),v=[l,c,f,p,h,d,m],b=e.value,w=0,A=!1,E=!1,x=!1,C=!1,k=!1,O=!1;if(!b[w])throw new g("Missing font values at "+_(e.all[e.position][1][2][0])+". Ignoring.");if(1==b.length&&"inherit"==b[0][1])return l.value=c.value=f.value=p.value=h.value=d.value=m.value=b,v;if(1==b.length&&(n.isFontKeyword(b[0][1])||n.isGlobal(b[0][1])||n.isPrefixed(b[0][1])))return b[0][1]=y.INTERNAL+b[0][1],l.value=c.value=f.value=p.value=h.value=d.value=m.value=b,v;if(b.length>1&&r(b))throw new g("Invalid font values at "+_(b[0][2][0])+". Ignoring.");for(;w<4;){if(o=n.isFontStretchKeyword(b[w][1])||n.isGlobal(b[w][1]),i=n.isFontStyleKeyword(b[w][1])||n.isGlobal(b[w][1]),u=n.isFontVariantKeyword(b[w][1])||n.isGlobal(b[w][1]),s=n.isFontWeightKeyword(b[w][1])||n.isGlobal(b[w][1]),i&&!E)l.value=[b[w]],E=!0;else if(u&&!x)c.value=[b[w]],x=!0;else if(s&&!C)f.value=[b[w]],C=!0;else{if(!o||A){if(i&&E||u&&x||s&&C||o&&A)throw new g("Invalid font style / variant / weight / stretch value at "+_(b[0][2][0])+". Ignoring.");break}p.value=[b[w]],A=!0}w++}if(!(n.isFontSizeKeyword(b[w][1])||n.isUnit(b[w][1])&&!n.isDynamicUnit(b[w][1])))throw new g("Missing font size at "+_(b[0][2][0])+". Ignoring.");if(h.value=[b[w]],k=!0,w++,!b[w])throw new g("Missing font family at "+_(b[0][2][0])+". Ignoring.");for(k&&b[w]&&b[w][1]==y.FORWARD_SLASH&&b[w+1]&&(n.isLineHeightKeyword(b[w+1][1])||n.isUnit(b[w+1][1])||n.isNumber(b[w+1][1]))&&(d.value=[b[w+1]],w++,w++),m.value=[];b[w];)b[w][1]==y.COMMA?O=!1:(O?m.value[m.value.length-1][1]+=y.SPACE+b[w][1]:m.value.push(b[w]),O=!0),w++;if(0===m.value.length)throw new g("Missing font family at "+_(b[0][2][0])+". Ignoring.");return v}function p(e,t){var n=t[e.name].components,r=[],o=e.value;if(o.length<1)return[];o.length<2&&(o[1]=o[0].slice(0)),o.length<3&&(o[2]=o[0].slice(0)),o.length<4&&(o[3]=o[1].slice(0));for(var i=n.length-1;i>=0;i--){var a=v([b.PROPERTY,[b.PROPERTY_NAME,n[i]]]);a.value=[o[i]],r.unshift(a)}return r}function h(e){return function(t,n,r){var o,i,u,s,l=[],c=t.value;for(o=0,u=c.length;o<u;o++)","==c[o][1]&&l.push(o);if(0===l.length)return e(t,n,r);var f=[];for(o=0,u=l.length;o<=u;o++){var p=0===o?0:l[o-1]+1,h=o<u?l[o]:c.length,d=a(t.name,t,n);d.value=c.slice(p,h),f.push(e(d,n,r))}var m=f[0];for(o=0,u=m.length;o<u;o++)for(m[o].multiplex=!0,i=1,s=f.length;i<s;i++)m[o].value.push([b.PROPERTY_VALUE,y.COMMA]),Array.prototype.push.apply(m[o].value,f[i][o].value);return m}}function d(e,t,n){var r=a("list-style-type",e,t),o=a("list-style-position",e,t),i=a("list-style-image",e,t),u=[r,o,i];if(1==e.value.length&&"inherit"==e.value[0][1])return r.value=o.value=i.value=[e.value[0]],u;var s=e.value.slice(0),l=s.length,c=0;for(c=0,l=s.length;c<l;c++)if(n.isUrl(s[c][1])||"0"==s[c][1]){i.value=[s[c]],s.splice(c,1);break}for(c=0,l=s.length;c<l;c++)if(n.isListStylePositionKeyword(s[c][1])){o.value=[s[c]],s.splice(c,1);break}return s.length>0&&(n.isListStyleTypeKeyword(s[0][1])||n.isIdentifier(s[0][1]))&&(r.value=[s[0]]),u}function m(e,t,n){for(var r,s,l,c=t[e.name],f=[a(c.components[0],e,t),a(c.components[1],e,t),a(c.components[2],e,t)],p=0;p<3;p++){var h=f[p];h.name.indexOf("color")>0?r=h:h.name.indexOf("style")>0?s=h:l=h}if(1==e.value.length&&"inherit"==e.value[0][1]||3==e.value.length&&"inherit"==e.value[0][1]&&"inherit"==e.value[1][1]&&"inherit"==e.value[2][1])return r.value=s.value=l.value=[e.value[0]],f;var d,m,g=e.value.slice(0);return g.length>0&&(d=(m=g.filter(u(n))).length>1&&("none"==m[0][1]||"auto"==m[0][1])?m[1]:m[0])&&(l.value=[d],g.splice(g.indexOf(d),1)),g.length>0&&(d=g.filter(i(n))[0])&&(s.value=[d],g.splice(g.indexOf(d),1)),g.length>0&&(d=g.filter(o(n))[0])&&(r.value=[d],g.splice(g.indexOf(d),1)),f}var g=e("./invalid-property-error"),v=e("../wrap-for-optimizing").single,b=e("../../tokenizer/token"),y=e("../../tokenizer/marker"),_=e("../../utils/format-position");t.exports={animation:s,background:l,border:m,borderRadius:c,font:f,fourValues:p,listStyle:d,multiplex:h,outline:m}},{"../../tokenizer/marker":84,"../../tokenizer/token":85,"../../utils/format-position":88,"../wrap-for-optimizing":59,"./invalid-property-error":24}],20:[function(e,t,n){function r(e,t,n){return!!(w(e,t,n,0,!0)||e.isAnimationIterationCountKeyword(n)||e.isPositiveNumber(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(e.isAnimationIterationCountKeyword(n)||e.isPositiveNumber(n)))}function o(e,t,n){return!!(w(e,t,n,0,!0)||e.isAnimationNameKeyword(n)||e.isIdentifier(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(e.isAnimationNameKeyword(n)||e.isIdentifier(n)))}function i(e,t,n){return!!(w(e,t,n,0,!0)||e.isAnimationTimingFunction(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(e.isAnimationTimingFunction(n)||e.isGlobal(n)))}function a(e,t,n){return!(!e.isFunction(t)||!e.isFunction(n))&&t.substring(0,t.indexOf("("))===n.substring(0,n.indexOf("("))}function u(e,t,n){return!!(w(e,t,n,0,!0)||e.isBackgroundPositionKeyword(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(!(!e.isBackgroundPositionKeyword(n)&&!e.isGlobal(n))||b(e,t,n)))}function s(e,t,n){return!!(w(e,t,n,0,!0)||e.isBackgroundSizeKeyword(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(!(!e.isBackgroundSizeKeyword(n)&&!e.isGlobal(n))||b(e,t,n)))}function l(e,t,n){return!(!w(e,t,n,0,!0)&&!e.isColor(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(!e.colorOpacity&&(e.isRgbColor(t)||e.isHslColor(t)))&&(!(!e.colorOpacity&&(e.isRgbColor(n)||e.isHslColor(n)))&&(!(!e.isColor(t)||!e.isColor(n))||m(e,t,n))))}function c(e){return function(t,n,r,o){return e[o](t,n,r)}}function f(e,t,n){return w(e,t,n,0,!0)}function p(e,t,n){return!(!w(e,t,n,0,!0)&&!e.isImage(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(!!e.isImage(n)||!e.isImage(t)&&m(e,t,n)))}function h(e){return function(t,n,r){return!(!w(t,n,r,0,!0)&&!t.isKeyword(e)(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||t.isKeyword(e)(r))}}function d(e){return function(t,n,r){return!!(w(t,n,r,0,!0)||t.isKeyword(e)(r)||t.isGlobal(r))&&(!(!t.isVariable(n)||!t.isVariable(r))||(t.isKeyword(e)(r)||t.isGlobal(r)))}}function m(e,t,n){return!!a(e,t,n)||t===n}function g(e,t,n){return!!(w(e,t,n,0,!0)||e.isUnit(n)||e.isColor(n)||e.isGlobal(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||(e.isUnit(n)||e.isColor(n)||e.isGlobal(n)))}function v(e,t,n){return!(!w(e,t,n,0,!0)&&!e.isTime(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(e.isTime(t)&&!e.isTime(n))&&(!!e.isTime(n)||!e.isTime(t)&&(!(!e.isFunction(t)||e.isPrefixed(t)||!e.isFunction(n)||e.isPrefixed(n))||m(e,t,n))))}function b(e,t,n){return!(!w(e,t,n,0,!0)&&!e.isUnit(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||!(e.isUnit(t)&&!e.isUnit(n))&&(!!e.isUnit(n)||!e.isUnit(t)&&(!(!e.isFunction(t)||e.isPrefixed(t)||!e.isFunction(n)||e.isPrefixed(n))||m(e,t,n))))}function y(e){var t=d(e);return function(e,n,r){return b(e,n,r)||t(e,n,r)}}function _(e,t,n){return!(!w(e,t,n,0,!0)&&!e.isZIndex(n))&&(!(!e.isVariable(t)||!e.isVariable(n))||e.isZIndex(n))}var w=e("./properties/understandable");t.exports={generic:{color:l,components:c,image:p,time:v,unit:b},property:{animationDirection:d("animation-direction"),animationFillMode:h("animation-fill-mode"),animationIterationCount:r,animationName:o,animationPlayState:d("animation-play-state"),animationTimingFunction:i,backgroundAttachment:h("background-attachment"),backgroundClip:d("background-clip"),backgroundOrigin:h("background-origin"),backgroundPosition:u,backgroundRepeat:h("background-repeat"),backgroundSize:s,bottom:y("bottom"),borderCollapse:h("border-collapse"),borderStyle:d("*-style"),clear:d("clear"),cursor:d("cursor"),display:d("display"),float:d("float"),left:y("left"),fontFamily:f,fontStretch:d("font-stretch"),fontStyle:d("font-style"),fontVariant:d("font-variant"),fontWeight:d("font-weight"),listStyleType:d("list-style-type"),listStylePosition:d("list-style-position"),outlineStyle:d("*-style"),overflow:d("overflow"),position:d("position"),right:y("right"),textAlign:d("text-align"),textDecoration:d("text-decoration"),textOverflow:d("text-overflow"),textShadow:g,top:y("top"),transform:m,verticalAlign:y("vertical-align"),visibility:d("visibility"),whiteSpace:d("white-space"),zIndex:_}}},{"./properties/understandable":41}],21:[function(e,t,n){function r(e){for(var t=o(e),n=e.components.length-1;n>=0;n--){var r=o(e.components[n]);r.value=e.components[n].value.slice(0),t.components.unshift(r)}return t.dirty=!0,t.value=e.value.slice(0),t}function o(e){var t=i([a.PROPERTY,[a.PROPERTY_NAME,e.name]]);return t.important=e.important,t.hack=e.hack,t.unused=!1,t}var i=e("../wrap-for-optimizing").single,a=e("../../tokenizer/token");t.exports={deep:r,shallow:o}},{"../../tokenizer/token":85,"../wrap-for-optimizing":59}],22:[function(e,t,n){var r=e("./break-up"),o=e("./can-override"),i=e("./restore"),a=e("../../utils/override"),u={animation:{canOverride:o.generic.components([o.generic.time,o.property.animationTimingFunction,o.generic.time,o.property.animationIterationCount,o.property.animationDirection,o.property.animationFillMode,o.property.animationPlayState,o.property.animationName]),components:["animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state","animation-name"],breakUp:r.multiplex(r.animation),defaultValue:"none",restore:i.multiplex(i.withoutDefaults),shorthand:!0,vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-delay":{canOverride:o.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-direction":{canOverride:o.property.animationDirection,componentOf:["animation"],defaultValue:"normal",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-duration":{canOverride:o.generic.time,componentOf:["animation"],defaultValue:"0s",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-fill-mode":{canOverride:o.property.animationFillMode,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-iteration-count":{canOverride:o.property.animationIterationCount,componentOf:["animation"],defaultValue:"1",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-name":{canOverride:o.property.animationName,componentOf:["animation"],defaultValue:"none",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-play-state":{canOverride:o.property.animationPlayState,componentOf:["animation"],defaultValue:"running",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},"animation-timing-function":{canOverride:o.property.animationTimingFunction,componentOf:["animation"],defaultValue:"ease",intoMultiplexMode:"real",vendorPrefixes:["-moz-","-o-","-webkit-"]},background:{canOverride:o.generic.components([o.generic.image,o.property.backgroundPosition,o.property.backgroundSize,o.property.backgroundRepeat,o.property.backgroundAttachment,o.property.backgroundOrigin,o.property.backgroundClip,o.generic.color]),components:["background-image","background-position","background-size","background-repeat","background-attachment","background-origin","background-clip","background-color"],breakUp:r.multiplex(r.background),defaultValue:"0 0",restore:i.multiplex(i.background),shortestValue:"0",shorthand:!0},"background-attachment":{canOverride:o.property.backgroundAttachment,componentOf:["background"],defaultValue:"scroll",intoMultiplexMode:"real"},"background-clip":{canOverride:o.property.backgroundClip,componentOf:["background"],defaultValue:"border-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-color":{canOverride:o.generic.color,componentOf:["background"],defaultValue:"transparent",intoMultiplexMode:"real",multiplexLastOnly:!0,nonMergeableValue:"none",shortestValue:"red"},"background-image":{canOverride:o.generic.image,componentOf:["background"],defaultValue:"none",intoMultiplexMode:"default"},"background-origin":{canOverride:o.property.backgroundOrigin,componentOf:["background"],defaultValue:"padding-box",intoMultiplexMode:"real",shortestValue:"border-box"},"background-position":{canOverride:o.property.backgroundPosition,componentOf:["background"],defaultValue:["0","0"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0"},"background-repeat":{canOverride:o.property.backgroundRepeat,componentOf:["background"],defaultValue:["repeat"],doubleValues:!0,intoMultiplexMode:"real"},"background-size":{canOverride:o.property.backgroundSize,componentOf:["background"],defaultValue:["auto"],doubleValues:!0,intoMultiplexMode:"real",shortestValue:"0 0"},bottom:{canOverride:o.property.bottom,defaultValue:"auto"},border:{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-width","border-style","border-color"],defaultValue:"none",overridesShorthands:["border-bottom","border-left","border-right","border-top"],restore:i.withoutDefaults,shorthand:!0,shorthandComponents:!0},"border-bottom":{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-bottom-width","border-bottom-style","border-bottom-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0},"border-bottom-color":{canOverride:o.generic.color,componentOf:["border-bottom","border-color"],defaultValue:"none"},"border-bottom-left-radius":{canOverride:o.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-bottom-right-radius":{canOverride:o.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-bottom-style":{canOverride:o.property.borderStyle,componentOf:["border-bottom","border-style"],defaultValue:"none"},"border-bottom-width":{canOverride:o.generic.unit,componentOf:["border-bottom","border-width"],defaultValue:"medium",oppositeTo:"border-top-width",shortestValue:"0"},"border-collapse":{canOverride:o.property.borderCollapse,defaultValue:"separate"},"border-color":{breakUp:r.fourValues,canOverride:o.generic.components([o.generic.color,o.generic.color,o.generic.color,o.generic.color]),componentOf:["border"],components:["border-top-color","border-right-color","border-bottom-color","border-left-color"],defaultValue:"none",restore:i.fourValues,shortestValue:"red",shorthand:!0},"border-left":{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-left-width","border-left-style","border-left-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0},"border-left-color":{canOverride:o.generic.color,componentOf:["border-color","border-left"],defaultValue:"none"},"border-left-style":{canOverride:o.property.borderStyle,componentOf:["border-left","border-style"],defaultValue:"none"},"border-left-width":{canOverride:o.generic.unit,componentOf:["border-left","border-width"],defaultValue:"medium",oppositeTo:"border-right-width",shortestValue:"0"},"border-radius":{breakUp:r.borderRadius,canOverride:o.generic.components([o.generic.unit,o.generic.unit,o.generic.unit,o.generic.unit]),components:["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],defaultValue:"0",restore:i.borderRadius,shorthand:!0,vendorPrefixes:["-moz-","-o-"]},"border-right":{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-right-width","border-right-style","border-right-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0},"border-right-color":{canOverride:o.generic.color,componentOf:["border-color","border-right"],defaultValue:"none"},"border-right-style":{canOverride:o.property.borderStyle,componentOf:["border-right","border-style"],defaultValue:"none"},"border-right-width":{canOverride:o.generic.unit,componentOf:["border-right","border-width"],defaultValue:"medium",oppositeTo:"border-left-width",shortestValue:"0"},"border-style":{breakUp:r.fourValues,canOverride:o.generic.components([o.property.borderStyle,o.property.borderStyle,o.property.borderStyle,o.property.borderStyle]),componentOf:["border"],components:["border-top-style","border-right-style","border-bottom-style","border-left-style"],defaultValue:"none",restore:i.fourValues,shorthand:!0},"border-top":{breakUp:r.border,canOverride:o.generic.components([o.generic.unit,o.property.borderStyle,o.generic.color]),components:["border-top-width","border-top-style","border-top-color"],defaultValue:"none",restore:i.withoutDefaults,shorthand:!0},"border-top-color":{canOverride:o.generic.color,componentOf:["border-color","border-top"],defaultValue:"none"},"border-top-left-radius":{canOverride:o.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-top-right-radius":{canOverride:o.generic.unit,componentOf:["border-radius"],defaultValue:"0",vendorPrefixes:["-moz-","-o-"]},"border-top-style":{canOverride:o.property.borderStyle,componentOf:["border-style","border-top"],defaultValue:"none"},"border-top-width":{canOverride:o.generic.unit,componentOf:["border-top","border-width"],defaultValue:"medium",oppositeTo:"border-bottom-width",shortestValue:"0"},"border-width":{breakUp:r.fourValues,canOverride:o.generic.components([o.generic.unit,o.generic.unit,o.generic.unit,o.generic.unit]),componentOf:["border"],components:["border-top-width","border-right-width","border-bottom-width","border-left-width"],defaultValue:"medium",restore:i.fourValues,shortestValue:"0",shorthand:!0},clear:{canOverride:o.property.clear,defaultValue:"none"},color:{canOverride:o.generic.color,defaultValue:"transparent",shortestValue:"red"},cursor:{canOverride:o.property.cursor,defaultValue:"auto"},display:{canOverride:o.property.display},float:{canOverride:o.property.float,defaultValue:"none"},font:{breakUp:r.font,canOverride:o.generic.components([o.property.fontStyle,o.property.fontVariant,o.property.fontWeight,o.property.fontStretch,o.generic.unit,o.generic.unit,o.property.fontFamily]),components:["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"],restore:i.font,shorthand:!0},"font-family":{canOverride:o.property.fontFamily,defaultValue:"user|agent|specific"},"font-size":{canOverride:o.generic.unit,defaultValue:"medium",shortestValue:"0"},"font-stretch":{canOverride:o.property.fontStretch,defaultValue:"normal"},"font-style":{canOverride:o.property.fontStyle,defaultValue:"normal"},"font-variant":{canOverride:o.property.fontVariant,defaultValue:"normal"},"font-weight":{canOverride:o.property.fontWeight,defaultValue:"normal",shortestValue:"400"},height:{canOverride:o.generic.unit,defaultValue:"auto",shortestValue:"0"},left:{canOverride:o.property.left,defaultValue:"auto"},"line-height":{canOverride:o.generic.unit,defaultValue:"normal",shortestValue:"0"},"list-style":{canOverride:o.generic.components([o.property.listStyleType,o.property.listStylePosition,o.property.listStyleImage]),components:["list-style-type","list-style-position","list-style-image"],breakUp:r.listStyle,restore:i.withoutDefaults,defaultValue:"outside",shortestValue:"none",shorthand:!0},"list-style-image":{canOverride:o.generic.image,componentOf:["list-style"],defaultValue:"none"},"list-style-position":{canOverride:o.property.listStylePosition,componentOf:["list-style"],defaultValue:"outside",shortestValue:"inside"},"list-style-type":{canOverride:o.property.listStyleType,componentOf:["list-style"],defaultValue:"decimal|disc",shortestValue:"none"},margin:{breakUp:r.fourValues,canOverride:o.generic.components([o.generic.unit,o.generic.unit,o.generic.unit,o.generic.unit]),components:["margin-top","margin-right","margin-bottom","margin-left"],defaultValue:"0",restore:i.fourValues,shorthand:!0},"margin-bottom":{canOverride:o.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-top"},"margin-left":{canOverride:o.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-right"},"margin-right":{canOverride:o.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-left"},"margin-top":{canOverride:o.generic.unit,componentOf:["margin"],defaultValue:"0",oppositeTo:"margin-bottom"},outline:{canOverride:o.generic.components([o.generic.color,o.property.outlineStyle,o.generic.unit]),components:["outline-color","outline-style","outline-width"],breakUp:r.outline,restore:i.withoutDefaults,defaultValue:"0",shorthand:!0},"outline-color":{canOverride:o.generic.color,componentOf:["outline"],defaultValue:"invert",shortestValue:"red"},"outline-style":{canOverride:o.property.outlineStyle,componentOf:["outline"],defaultValue:"none"},"outline-width":{canOverride:o.generic.unit,componentOf:["outline"],defaultValue:"medium",shortestValue:"0"},overflow:{canOverride:o.property.overflow,defaultValue:"visible"},"overflow-x":{canOverride:o.property.overflow,defaultValue:"visible"},"overflow-y":{canOverride:o.property.overflow,defaultValue:"visible"},padding:{breakUp:r.fourValues,canOverride:o.generic.components([o.generic.unit,o.generic.unit,o.generic.unit,o.generic.unit]),components:["padding-top","padding-right","padding-bottom","padding-left"],defaultValue:"0",restore:i.fourValues,shorthand:!0},"padding-bottom":{canOverride:o.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-top"},"padding-left":{canOverride:o.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-right"},"padding-right":{canOverride:o.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-left"},"padding-top":{canOverride:o.generic.unit,componentOf:["padding"],defaultValue:"0",oppositeTo:"padding-bottom"},position:{canOverride:o.property.position,defaultValue:"static"},right:{canOverride:o.property.right,defaultValue:"auto"},"text-align":{canOverride:o.property.textAlign,defaultValue:"left|right"},"text-decoration":{canOverride:o.property.textDecoration,defaultValue:"none"},"text-overflow":{canOverride:o.property.textOverflow,defaultValue:"none"},"text-shadow":{canOverride:o.property.textShadow,defaultValue:"none"},top:{canOverride:o.property.top,defaultValue:"auto"},transform:{canOverride:o.property.transform,vendorPrefixes:["-moz-","-ms-","-webkit-"]},"vertical-align":{canOverride:o.property.verticalAlign,defaultValue:"baseline"},visibility:{canOverride:o.property.visibility,defaultValue:"visible"},"white-space":{canOverride:o.property.whiteSpace,defaultValue:"normal"},width:{canOverride:o.generic.unit,defaultValue:"auto",shortestValue:"0"},"z-index":{canOverride:o.property.zIndex,defaultValue:"auto"}},s={};for(var l in u){var c=u[l];if("vendorPrefixes"in c){for(var f=0;f<c.vendorPrefixes.length;f++){var p=c.vendorPrefixes[f],h=function(e,t){var n=a(u[e],{});return"componentOf"in n&&(n.componentOf=n.componentOf.map(function(e){return t+e})),"components"in n&&(n.components=n.components.map(function(e){return t+e})),n}(l,p);delete h.vendorPrefixes,s[p+l]=h}delete c.vendorPrefixes}}t.exports=a(u,s)},{"../../utils/override":96,"./break-up":19,"./can-override":20,"./restore":50}],23:[function(e,t,n){function r(e){var t,n,s,l,c,f,p=[];if(e[0]==i.RULE)for(t=!/[\.\+>~]/.test(a(e[1])),c=0,f=e[2].length;c<f;c++)(n=e[2][c])[0]==i.PROPERTY&&0!==(s=n[1][1]).length&&0!==s.indexOf("--")&&(l=u(n,c),p.push([s,l,o(s),e[2][c],s+":"+l,e[1],t]));else if(e[0]==i.NESTED_BLOCK)for(c=0,f=e[2].length;c<f;c++)p=p.concat(r(e[2][c]));return p}function o(e){return"list-style"==e?e:e.indexOf("-radius")>0?"border-radius":"border-collapse"==e||"border-spacing"==e||"border-image"==e?e:0===e.indexOf("border-")&&/^border\-\w+\-\w+$/.test(e)?e.match(/border\-\w+/)[0]:0===e.indexOf("border-")&&/^border\-\w+$/.test(e)?"border":0===e.indexOf("text-")?e:"-chrome-"==e?e:e.replace(/^\-\w+\-/,"").match(/([a-zA-Z]+)/)[0].toLowerCase()}var i=e("../../tokenizer/token"),a=e("../../writer/one-time").rules,u=e("../../writer/one-time").value;t.exports=r},{"../../tokenizer/token":85,"../../writer/one-time":99}],24:[function(e,t,n){function r(e){this.name="InvalidPropertyError",this.message=e,this.stack=(new Error).stack}r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,t.exports=r},{}],25:[function(e,t,n){function r(e,t,n,r){var u,s,l,c=h(e,p.COMMA);for(s=0,l=c.length;s<l;s++)if(0===(u=c[s]).length||o(u)||u.indexOf(p.COLON)>-1&&!a(u,i(u),t,n,r))return!1;return!0}function o(e){return d.test(e)}function i(e){var t,n,r,o,i,a,u=[],s=[],l=w.ROOT,c=0,f=!1,h=!1;for(i=0,a=e.length;i<a;i++)t=e[i],o=!r&&b.test(t),n=l==w.DOUBLE_QUOTE||l==w.SINGLE_QUOTE,r?s.push(t):t==p.DOUBLE_QUOTE&&l==w.ROOT?(s.push(t),l=w.DOUBLE_QUOTE):t==p.DOUBLE_QUOTE&&l==w.DOUBLE_QUOTE?(s.push(t),l=w.ROOT):t==p.SINGLE_QUOTE&&l==w.ROOT?(s.push(t),l=w.SINGLE_QUOTE):t==p.SINGLE_QUOTE&&l==w.SINGLE_QUOTE?(s.push(t),l=w.ROOT):n?s.push(t):t==p.OPEN_ROUND_BRACKET?(s.push(t),c++):t==p.CLOSE_ROUND_BRACKET&&1==c&&f?(s.push(t),u.push(s.join("")),c--,s=[],f=!1):t==p.CLOSE_ROUND_BRACKET?(s.push(t),c--):t==p.COLON&&0===c&&f&&!h?(u.push(s.join("")),(s=[]).push(t)):t!=p.COLON||0!==c||h?t==p.SPACE&&0===c&&f?(u.push(s.join("")),s=[],f=!1):o&&0===c&&f?(u.push(s.join("")),s=[],f=!1):s.push(t):((s=[]).push(t),f=!0),r=t==p.BACK_SLASH,h=t==p.COLON;return s.length>0&&f&&u.push(s.join("")),u}function a(e,t,n,r,o){return u(t,n,r)&&s(t)&&(t.length<2||!l(e,t))&&(t.length<2||o&&c(t))}function u(e,t,n){var r,o,i,a;for(i=0,a=e.length;i<a;i++)if(r=e[i],o=r.indexOf(p.OPEN_ROUND_BRACKET)>-1?r.substring(0,r.indexOf(p.OPEN_ROUND_BRACKET)):r,-1===t.indexOf(o)&&-1===n.indexOf(o))return!1;return!0}function s(e){var t,n,r,o,i,a;for(i=0,a=e.length;i<a;i++){if(t=e[i],r=t.indexOf(p.OPEN_ROUND_BRACKET),o=r>-1,n=o?t.substring(0,r):t,o&&-1==v.indexOf(n))return!1;if(!o&&v.indexOf(n)>-1)return!1}return!0}function l(e,t){var n,r,o,i,a,u,s,l,c=0;for(s=0,l=t.length;s<l&&(n=t[s],o=t[s+1]);s++)if(r=e.indexOf(n,c),i=e.indexOf(n,r+1),c=i,r+n.length==i&&(a=n.indexOf(p.OPEN_ROUND_BRACKET)>-1?n.substring(0,n.indexOf(p.OPEN_ROUND_BRACKET)):n,u=o.indexOf(p.OPEN_ROUND_BRACKET)>-1?o.substring(0,o.indexOf(p.OPEN_ROUND_BRACKET)):o,a!=g||u!=g))return!0;return!1}function c(e){var t,n,r,o=0;for(n=0,r=e.length;n<r;n++)if(t=e[n],f(t)?o+=_.indexOf(t)>-1?1:0:o+=y.indexOf(t)>-1?1:0,o>1)return!1;return!0}function f(e){return m.test(e)}var p=e("../../tokenizer/marker"),h=e("../../utils/split"),d=/\/deep\//,m=/^::/,g=":not",v=[":dir",":lang",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type"],b=/[>\+~]/,y=[":after",":before",":first-letter",":first-line",":lang"],_=["::after","::before","::first-letter","::first-line"],w={DOUBLE_QUOTE:"double-quote",SINGLE_QUOTE:"single-quote",ROOT:"root"};t.exports=r},{"../../tokenizer/marker":84,"../../utils/split":97}],26:[function(e,t,n){function r(e,t){for(var n=[null,[],[]],r=t.options,p=r.compatibility.selectors.adjacentSpace,h=r.level[s.One].selectorsSortingMethod,d=r.compatibility.selectors.mergeablePseudoClasses,m=r.compatibility.selectors.mergeablePseudoElements,g=r.compatibility.selectors.mergeLimit,v=r.compatibility.selectors.multiplePseudoMerging,b=0,y=e.length;b<y;b++){var _=e[b];_[0]==f.RULE?n[0]==f.RULE&&c(_[1])==c(n[1])?(Array.prototype.push.apply(n[2],_[2]),i(n[2],!0,!0,t),_[2]=[]):n[0]==f.RULE&&l(_[2])==l(n[2])&&o(c(_[1]),d,m,v)&&o(c(n[1]),d,m,v)&&n[1].length<g?(n[1]=u(n[1].concat(_[1]),!1,p,!1,t.warnings),n[1]=n.length>1?a(n[1],h):n[1],_[2]=[]):n=_:n=[null,[],[]]}}var o=e("./is-mergeable"),i=e("./properties/optimize"),a=e("../level-1/sort-selectors"),u=e("../level-1/tidy-rules"),s=e("../../options/optimization-level").OptimizationLevel,l=e("../../writer/one-time").body,c=e("../../writer/one-time").rules,f=e("../../tokenizer/token");t.exports=r},{"../../options/optimization-level":66,"../../tokenizer/token":85,"../../writer/one-time":99,"../level-1/sort-selectors":15,"../level-1/tidy-rules":18,"./is-mergeable":25,"./properties/optimize":37}],27:[function(e,t,n){function r(e,t){for(var n=t.options.level[c.Two].mergeSemantically,r=t.cache.specificity,a={},s=[],p=e.length-1;p>=0;p--){var h=e[p];if(h[0]==f.NESTED_BLOCK){var d=l(h[1]),m=a[d];m||(m=[],a[d]=m),m.push(p)}}for(var g in a){var v=a[g];e:for(var b=v.length-1;b>0;b--){var y=v[b],_=e[y],w=v[b-1],A=e[w];t:for(var E=1;E>=-1;E-=2){for(var x=1==E,C=x?y+1:w-1,k=x?w:y,O=x?1:-1,B=x?_:A,S=x?A:_,D=u(B);C!=k;){var T=u(e[C]);if(C+=O,!(n&&o(D,T,r)||i(D,T,r)))continue t}S[2]=x?B[2].concat(S[2]):S[2].concat(B[2]),B[2]=[],s.push(S);continue e}}}return s}function o(e,t,n){var r,o,i,u,l,c,f,p;for(l=0,c=e.length;l<c;l++)for(o=(r=e[l])[5],f=0,p=t.length;f<p;f++)if(i=t[f],u=i[5],s(o,u,!0)&&!a(r,i,n))return!1;return!0}var i=e("./reorderable").canReorder,a=e("./reorderable").canReorderSingle,u=e("./extract-properties"),s=e("./rules-overlap"),l=e("../../writer/one-time").rules,c=e("../../options/optimization-level").OptimizationLevel,f=e("../../tokenizer/token");t.exports=r},{"../../options/optimization-level":66,"../../tokenizer/token":85,"../../writer/one-time":99,"./extract-properties":23,"./reorderable":48,"./rules-overlap":52}],28:[function(e,t,n){function r(e){return/\.|\*| :/.test(e)}function o(e){var t=h(e[1]);return t.indexOf("__")>-1||t.indexOf("--")>-1}function i(e){return e.replace(/--[^ ,>\+~:]+/g,"")}function a(e,t){var n=i(h(e[1]));for(var r in t){var o=t[r],a=i(h(o[1]));(a.indexOf(n)>-1||n.indexOf(a)>-1)&&delete t[r]}}function u(e,t){for(var n=t.options,i=n.level[f.Two].mergeSemantically,u=n.compatibility.selectors.adjacentSpace,m=n.level[f.One].selectorsSortingMethod,g=n.compatibility.selectors.mergeablePseudoClasses,v=n.compatibility.selectors.mergeablePseudoElements,b=n.compatibility.selectors.multiplePseudoMerging,y={},_=e.length-1;_>=0;_--){var w=e[_];if(w[0]==d.RULE){w[2].length>0&&!i&&r(h(w[1]))&&(y={}),w[2].length>0&&i&&o(w)&&a(w,y);var A=p(w[2]),E=y[A];E&&s(h(w[1]),g,v,b)&&s(h(E[1]),g,v,b)&&(w[2].length>0?(w[1]=c(E[1].concat(w[1]),!1,u,!1,t.warnings),w[1]=w[1].length>1?l(w[1],m):w[1]):w[1]=E[1].concat(w[1]),E[2]=[],y[A]=null),y[p(w[2])]=w}}}var s=e("./is-mergeable"),l=e("../level-1/sort-selectors"),c=e("../level-1/tidy-rules"),f=e("../../options/optimization-level").OptimizationLevel,p=e("../../writer/one-time").body,h=e("../../writer/one-time").rules,d=e("../../tokenizer/token");t.exports=u},{"../../options/optimization-level":66,"../../tokenizer/token":85,"../../writer/one-time":99,"../level-1/sort-selectors":15,"../level-1/tidy-rules":18,"./is-mergeable":25}],29:[function(e,t,n){function r(e,t){var n,r=t.cache.specificity,l={},c=[];for(n=e.length-1;n>=0;n--)if(e[n][0]==s.RULE&&0!==e[n][2].length){var f=u(e[n][1]);l[f]=[n].concat(l[f]||[]),2==l[f].length&&c.push(f)}for(n=c.length-1;n>=0;n--){var p=l[c[n]];e:for(var h=p.length-1;h>0;h--){var d=p[h-1],m=e[d],g=p[h],v=e[g];t:for(var b=1;b>=-1;b-=2){for(var y=1==b,_=y?d+1:g-1,w=y?g:d,A=y?1:-1,E=y?m:v,x=y?v:m,C=i(E);_!=w;){var k=i(e[_]);_+=A;var O=y?o(C,k,r):o(k,C,r);if(!O&&!y)continue e;if(!O&&y)continue t}y?(Array.prototype.push.apply(E[2],x[2]),x[2]=E[2]):Array.prototype.push.apply(x[2],E[2]),a(x[2],!0,!0,t),E[2]=[]}}}}var o=e("./reorderable").canReorder,i=e("./extract-properties"),a=e("./properties/optimize"),u=e("../../writer/one-time").rules,s=e("../../tokenizer/token");t.exports=r},{"../../tokenizer/token":85,"../../writer/one-time":99,"./extract-properties":23,"./properties/optimize":37,"./reorderable":48}],30:[function(e,t,n){function r(e){for(var t=0,n=e.length;t<n;t++){var o=e[t],i=!1;switch(o[0]){case y.RULE:i=0===o[1].length||0===o[2].length;break;case y.NESTED_BLOCK:r(o[2]),i=0===o[2].length;break;case y.AT_RULE:i=0===o[1].length;break;case y.AT_RULE_BLOCK:i=0===o[2].length}i&&(e.splice(t,1),t--,n--)}}function o(e,t){for(var n=0,r=e.length;n<r;n++){var o=e[n];if(o[0]==y.NESTED_BLOCK){var i=/@(-moz-|-o-|-webkit-)?keyframes/.test(o[1][0][1]);a(o[2],t,!i)}}}function i(e,t){for(var n=0,r=e.length;n<r;n++){var o=e[n];switch(o[0]){case y.RULE:v(o[2],!0,!0,t);break;case y.NESTED_BLOCK:i(o[2],t)}}}function a(e,t,n){var v,y,_=t.options.level[b.Two];if(o(e,t),i(e,t),_.removeDuplicateRules&&d(e,t),_.mergeAdjacentRules&&u(e,t),_.reduceNonAdjacentRules&&f(e,t),_.mergeNonAdjacentRules&&"body"!=_.mergeNonAdjacentRules&&c(e,t),_.mergeNonAdjacentRules&&"selector"!=_.mergeNonAdjacentRules&&l(e,t),_.restructureRules&&_.mergeAdjacentRules&&n&&(g(e,t),u(e,t)),_.restructureRules&&!_.mergeAdjacentRules&&n&&g(e,t),_.removeDuplicateFontRules&&p(e,t),_.removeDuplicateMediaBlocks&&h(e,t),_.removeUnusedAtRules&&m(e,t),_.mergeMedia)for(y=(v=s(e,t)).length-1;y>=0;y--)a(v[y][2],t,!1);return _.removeEmpty&&r(e),e}var u=e("./merge-adjacent"),s=e("./merge-media-queries"),l=e("./merge-non-adjacent-by-body"),c=e("./merge-non-adjacent-by-selector"),f=e("./reduce-non-adjacent"),p=e("./remove-duplicate-font-at-rules"),h=e("./remove-duplicate-media-queries"),d=e("./remove-duplicates"),m=e("./remove-unused-at-rules"),g=e("./restructure"),v=e("./properties/optimize"),b=e("../../options/optimization-level").OptimizationLevel,y=e("../../tokenizer/token");t.exports=a},{"../../options/optimization-level":66,"../../tokenizer/token":85,"./merge-adjacent":26,"./merge-media-queries":27,"./merge-non-adjacent-by-body":28,"./merge-non-adjacent-by-selector":29,"./properties/optimize":37,"./reduce-non-adjacent":43,"./remove-duplicate-font-at-rules":44,"./remove-duplicate-media-queries":45,"./remove-duplicates":46,"./remove-unused-at-rules":47,"./restructure":51}],31:[function(e,t,n){function r(e,t,n){var r,i,a,u=t.value.length,s=n.value.length,l=Math.max(u,s),c=Math.min(u,s)-1;for(a=0;a<l;a++)if(r=t.value[a]&&t.value[a][1]||r,i=n.value[a]&&n.value[a][1]||i,r!=o.COMMA&&i!=o.COMMA&&!e(r,i,a,a<=c))return!1;return!0}var o=e("../../../tokenizer/marker");t.exports=r},{"../../../tokenizer/marker":84}],32:[function(e,t,n){function r(e,t){var n=o(t);return i(e,n)||a(e,n)}function o(e){return function(t){return e.name===t.name}}function i(e,t){return e.components.filter(t)[0]}function a(e,t){var n,r,o,a;if(u[e.name].shorthandComponents)for(o=0,a=e.components.length;o<a;o++)if(n=e.components[o],r=i(n,t))return r}var u=e("../compactable");t.exports=r},{"../compactable":22}],33:[function(e,t,n){function r(e){for(var t=e.value.length-1;t>=0;t--)if("inherit"==e.value[t][1])return!0;return!1}t.exports=r},{}],34:[function(e,t,n){function r(e,t,n){return o(e,t)||!n&&!!a[e.name].shorthandComponents&&i(e,t)}function o(e,t){var n=a[e.name];return"components"in n&&n.components.indexOf(t.name)>-1}function i(e,t){return e.components.some(function(e){return o(e,t)})}var a=e("../compactable");t.exports=r},{"../compactable":22}],35:[function(e,t,n){function r(e){return"font"!=e.name||-1==e.value[0][1].indexOf(o.INTERNAL)}var o=e("../../../tokenizer/marker");t.exports=r},{"../../../tokenizer/marker":84}],36:[function(e,t,n){function r(e,t){var n,r,i,a,u,s,l,c={};if(!(e.length<3)){for(a=0,u=e.length;a<u;a++)if(i=e[a],n=w[i.name],!i.unused&&!i.hack&&!i.block&&(o(e,a,c,t),n&&n.componentOf))for(s=0,l=n.componentOf.length;s<l;s++)c[r=n.componentOf[s]]=c[r]||{},c[r][i.name]=i;o(e,a,c,t)}}function o(e,t,n,r){var o,f,p,h=e[t];for(o in n)void 0!==h&&o==h.name||(f=w[o],p=n[o],h&&i(n,o,h)?delete n[o]:f.components.length>Object.keys(p).length||a(p)||u(p,o,r)&&s(p)&&(l(p)?c(e,p,o,r):v(e,p,o,r)))}function i(e,t,n){var r,o=w[t],i=w[n.name];if("overridesShorthands"in o&&o.overridesShorthands.indexOf(n.name)>-1)return!0;if(i&&"componentOf"in i)for(r in e[t])if(i.componentOf.indexOf(r)>-1)return!0;return!1}function a(e){var t,n;for(n in e){if(void 0!==t&&e[n].important!=t)return!0;t=e[n].important}return!1}function u(e,t,n){var r,o,i,a,u=w[t],s=[O.PROPERTY,[O.PROPERTY_NAME,t],[O.PROPERTY_VALUE,u.defaultValue]],l=C(s);for(_([l],n,[]),i=0,a=u.components.length;i<a;i++)if(r=e[u.components[i]],o=w[r.name].canOverride,!b(o.bind(null,n),l.components[i],r))return!1;return!0}function s(e){var t,n,r,o,i,a=null;for(n in e)if(r=e[n],"restore"in(o=w[n])){if(x([r.all[r.position]],E),i=o.restore(r,w),t=i.length,null!==a&&t!==a)return!1;a=t}return!0}function l(e){var t,n,r=null;for(t in e){if(n=y(e[t]),null!==r&&r!==n)return!0;r=n}return!1}function c(e,t,n,r){var o,i,a,u,s=f(t,n,r),l=m(t,n,r),c=s[0],p=l[0],h=k(c).length<k(p).length,d=h?c:p,v=h?s[1]:l[1],b=h?s[2]:l[2],y=t[Object.keys(t)[0]].all;v.position=y.length,v.shorthand=!0,v.dirty=!0,v.all=y,v.all.push(d[0]),e.push(v);for(o in t)(i=t[o]).unused=!0,i.name in b&&(a=b[i.name],u=g(d,o),a.position=y.length,a.all=y,a.all.push(u),e.push(a))}function f(e,t,n){var r,o,i,a,u,s,l=[],c={},f={},d=w[t],m=[O.PROPERTY,[O.PROPERTY_NAME,t],[O.PROPERTY_VALUE,d.defaultValue]],g=C(m);for(_([g],n,[]),u=0,s=d.components.length;u<s;u++)r=e[d.components[u]],y(r)?(o=r.all[r.position].slice(0,2),Array.prototype.push.apply(o,r.value),l.push(o),(i=A(r)).value=p(e,i.name),g.components[u]=i,c[r.name]=A(r)):((i=A(r)).all=r.all,g.components[u]=i,f[r.name]=r);return a=h(f,1),m[1].push(a),x([g],E),m=m.slice(0,2),Array.prototype.push.apply(m,g.value),l.unshift(m),[l,g,c]}function p(e,t){var n=w[t];return"oppositeTo"in n?e[n.oppositeTo].value:[[O.PROPERTY_VALUE,n.defaultValue]]}function h(e,t){var n,r,o,i,a=[];for(i in e)o=(r=(n=e[i]).all[n.position])[t][r[t].length-1],Array.prototype.push.apply(a,o);return a.sort(d)}function d(e,t){var n=e[0],r=t[0],o=e[1],i=t[1];return n<r?-1:n===r&&o<i?-1:1}function m(e,t,n){var r,o,i,a,u,s,l=[],c={},f={},p=w[t],d=[O.PROPERTY,[O.PROPERTY_NAME,t],[O.PROPERTY_VALUE,"inherit"]],m=C(d);for(_([m],n,[]),u=0,s=p.components.length;u<s;u++)r=e[p.components[u]],y(r)?c[r.name]=r:(o=r.all[r.position].slice(0,2),Array.prototype.push.apply(o,r.value),l.push(o),f[r.name]=A(r));return i=h(c,1),d[1].push(i),a=h(c,2),d[2].push(a),l.unshift(d),[l,m,f]}function g(e,t){var n,r;for(n=0,r=e.length;n<r;n++)if(e[n][1][1]==t)return e[n]}function v(e,t,n,r){var o,i,a,u=w[n],s=[O.PROPERTY,[O.PROPERTY_NAME,n],[O.PROPERTY_VALUE,u.defaultValue]],l=C(s);l.shorthand=!0,l.dirty=!0,_([l],r,[]);for(var c=0,f=u.components.length;c<f;c++){var p=t[u.components[c]];l.components[c]=A(p),l.important=p.important,a=p.all}for(var d in t)t[d].unused=!0;o=h(t,1),s[1].push(o),i=h(t,2),s[2].push(i),l.position=a.length,l.all=a,l.all.push(s),e.push(l)}var b=e("./every-values-pair"),y=e("./has-inherit"),_=e("./populate-components"),w=e("../compactable"),A=e("../clone").deep,E=e("../restore-with-components"),x=e("../../restore-from-optimizing"),C=e("../../wrap-for-optimizing").single,k=e("../../../writer/one-time").body,O=e("../../../tokenizer/token");t.exports=r},{"../../../tokenizer/token":85,"../../../writer/one-time":99,"../../restore-from-optimizing":57,"../../wrap-for-optimizing":59,"../clone":21,"../compactable":22,"../restore-with-components":49,"./every-values-pair":31,"./has-inherit":33,"./populate-components":40}],37:[function(e,t,n){function r(e,t,n,p){var h,d,m,g=p.options.level[f.Two],v=s(e,!1,g.skipProperties);for(a(v,p.validator,p.warnings),d=0,m=v.length;d<m;d++)(h=v[d]).block&&r(h.value[0][1],t,n,p);n&&g.mergeIntoShorthands&&o(v,p.validator),t&&g.overrideProperties&&i(v,n,p.options.compatibility,p.validator),c(v,u),l(v)}var o=e("./merge-into-shorthands"),i=e("./override-properties"),a=e("./populate-components"),u=e("../restore-with-components"),s=e("../../wrap-for-optimizing").all,l=e("../../remove-unused"),c=e("../../restore-from-optimizing"),f=e("../../../options/optimization-level").OptimizationLevel;t.exports=r},{"../../../options/optimization-level":66,"../../remove-unused":56,"../../restore-from-optimizing":57,"../../wrap-for-optimizing":59,"../restore-with-components":49,"./merge-into-shorthands":36,"./override-properties":38,"./populate-components":40}],38:[function(e,t,n){function r(e,t){for(var n=0;n<e.components.length;n++){var r=e.components[n],o=D[r.name],i=o&&o.canOverride||i.sameValue,a=F(r);if(a.value=[[M.PROPERTY_VALUE,o.defaultValue]],!x(i.bind(null,t),a,r))return!0}return!1}function o(e,t){t.unused=!0,l(t,p(e)),e.value=t.value}function i(e,t){t.unused=!0,e.multiplex=!0,e.value=t.value}function a(e,t){t.unused=!0,e.value=t.value}function u(e,t){t.multiplex?i(e,t):e.multiplex?o(e,t):a(e,t)}function s(e,t){t.unused=!0;for(var n=0,r=e.components.length;n<r;n++)u(e.components[n],t.components[n],e.multiplex)}function l(e,t){e.multiplex=!0,D[e.name].shorthand?c(e,t):f(e,t)}function c(e,t){var n,r,o;for(r=0,o=e.components.length;r<o;r++)(n=e.components[r]).multiplex||f(n,t)}function f(e,t){for(var n,r="real"==D[e.name].intoMultiplexMode,o=r?e.value.slice(0):D[e.name].defaultValue,i=p(e),a=o.length;i<t;i++)if(e.value.push([M.PROPERTY_VALUE,P.COMMA]),Array.isArray(o))for(n=0;n<a;n++)e.value.push(r?o[n]:[M.PROPERTY_VALUE,o[n]]);else e.value.push(r?o:[M.PROPERTY_VALUE,o])}function p(e){for(var t=0,n=0,r=e.value.length;n<r;n++)e.value[n][1]==P.COMMA&&t++;return t+1}function h(e){var t=[M.PROPERTY,[M.PROPERTY_NAME,e.name]].concat(e.value);return U([t],0).length}function d(e,t,n){for(var r=0,o=t;o>=0&&(e[o].name!=n||e[o].unused||r++,!(r>1));o--);return r>1}function m(e,t){for(var n=0,r=e.components.length;n<r;n++)if(!g(t.isUrl,e.components[n])&&g(t.isFunction,e.components[n]))return!0;return!1}function g(e,t){for(var n=0,r=t.value.length;n<r;n++)if(t.value[n][1]!=P.COMMA&&e(t.value[n][1]))return!0;return!1}function v(e,t){if(!e.multiplex&&!t.multiplex||e.multiplex&&t.multiplex)return!1;var n,r=e.multiplex?e:t,a=e.multiplex?t:e,u=T(r);L([u],R);var s=T(a);L([s],R);var c=h(u)+1+h(s);return e.multiplex?o(n=C(u,s),s):(n=C(s,u),l(s,p(u)),i(n,u)),L([s],R),c<=h(s)}function b(e){return e.name in D}function y(e,t){return!e.multiplex&&("background"==e.name||"background-image"==e.name)&&t.multiplex&&("background"==t.name||"background-image"==t.name)&&_(t.value)}function _(e){for(var t=w(e),n=0,r=t.length;n<r;n++)if(1==t[n].length&&"none"==t[n][0][1])return!0;return!1}function w(e){for(var t=[],n=0,r=[],o=e.length;n<o;n++){var i=e[n];i[1]==P.COMMA?(t.push(r),r=[]):r.push(i)}return t.push(r),t}function A(e,t,n,o){var i,a,c,f,h,_,w,A,T,R,F;e:for(T=e.length-1;T>=0;T--)if(a=e[T],b(a)&&!a.block){i=D[a.name].canOverride;t:for(R=T-1;R>=0;R--)if(c=e[R],b(c)&&!c.block&&!c.unused&&!a.unused&&(!c.hack||a.hack||a.important)&&(c.hack||c.important||!a.hack)&&(c.important!=a.important||c.hack[0]==a.hack[0])&&!(c.important==a.important&&(c.hack[0]!=a.hack[0]||c.hack[1]&&c.hack[1]!=a.hack[1])||E(a)||y(c,a)))if(a.shorthand&&k(a,c)){if(!a.important&&c.important)continue;if(!S([c],a.components))continue;if(!g(o.isFunction,c)&&m(a,o))continue;if(!O(a)){c.unused=!0;continue}f=C(a,c),i=D[c.name].canOverride,x(i.bind(null,o),c,f)&&(c.unused=!0)}else if(a.shorthand&&B(a,c)){if(!a.important&&c.important)continue;if(!S([c],a.components))continue;if(!g(o.isFunction,c)&&m(a,o))continue;for(F=(h=c.shorthand?c.components:[c]).length-1;F>=0;F--)if(_=h[F],w=C(a,_),i=D[_.name].canOverride,!x(i.bind(null,o),c,w))continue t;c.unused=!0}else if(t&&c.shorthand&&!a.shorthand&&k(c,a,!0)){if(a.important&&!c.important)continue;if(!a.important&&c.important){a.unused=!0;continue}if(d(e,T-1,c.name))continue;if(m(c,o))continue;if(!O(c))continue;if(f=C(c,a),x(i.bind(null,o),f,a)){var L=!n.properties.backgroundClipMerging&&f.name.indexOf("background-clip")>-1||!n.properties.backgroundOriginMerging&&f.name.indexOf("background-origin")>-1||!n.properties.backgroundSizeMerging&&f.name.indexOf("background-size")>-1,M=D[a.name].nonMergeableValue===a.value[0][1];if(L||M)continue;if(!n.properties.merging&&r(c,o))continue;if(f.value[0][1]!=a.value[0][1]&&(E(c)||E(a)))continue;if(v(c,a))continue;!c.multiplex&&a.multiplex&&l(c,p(a)),u(f,a),c.dirty=!0}}else if(t&&c.shorthand&&a.shorthand&&c.name==a.name){if(!c.multiplex&&a.multiplex)continue;if(!a.important&&c.important){a.unused=!0;continue e}if(a.important&&!c.important){c.unused=!0;continue}if(!O(a)){c.unused=!0;continue}for(F=c.components.length-1;F>=0;F--){var P=c.components[F],U=a.components[F];if(i=D[P.name].canOverride,!x(i.bind(null,o),P,U))continue e}s(c,a),c.dirty=!0}else if(t&&c.shorthand&&a.shorthand&&k(c,a)){if(!c.important&&a.important)continue;if(f=C(c,a),i=D[a.name].canOverride,!x(i.bind(null,o),f,a))continue;if(c.important&&!a.important){a.unused=!0;continue}if(D[a.name].restore(a,D).length>1)continue;u(f=C(c,a),a),a.dirty=!0}else if(c.name==a.name){if(A=!0,a.shorthand)for(F=a.components.length-1;F>=0&&A;F--)_=c.components[F],w=a.components[F],i=D[w.name].canOverride,A=A&&x(i.bind(null,o),_,w);else i=D[a.name].canOverride,A=x(i.bind(null,o),c,a);if(c.important&&!a.important&&A){a.unused=!0;continue}if(!c.important&&a.important&&A){c.unused=!0;continue}if(!A)continue;c.unused=!0}}}var E=e("./has-inherit"),x=e("./every-values-pair"),C=e("./find-component-in"),k=e("./is-component-of"),O=e("./is-mergeable-shorthand"),B=e("./overrides-non-component-shorthand"),S=e("./vendor-prefixes").same,D=e("../compactable"),T=e("../clone").deep,T=e("../clone").deep,R=e("../restore-with-components"),F=e("../clone").shallow,L=e("../../restore-from-optimizing"),M=e("../../../tokenizer/token"),P=e("../../../tokenizer/marker"),U=e("../../../writer/one-time").property;t.exports=A},{"../../../tokenizer/marker":84,"../../../tokenizer/token":85,"../../../writer/one-time":99,"../../restore-from-optimizing":57,"../clone":21,"../compactable":22,"../restore-with-components":49,"./every-values-pair":31,"./find-component-in":32,"./has-inherit":33,"./is-component-of":34,"./is-mergeable-shorthand":35,"./overrides-non-component-shorthand":39,"./vendor-prefixes":42}],39:[function(e,t,n){function r(e,t){return e.name in o&&"overridesShorthands"in o[e.name]&&o[e.name].overridesShorthands.indexOf(t.name)>-1}var o=e("../compactable");t.exports=r},{"../compactable":22}],40:[function(e,t,n){function r(e,t,n){for(var r,a,u,s=e.length-1;s>=0;s--){var l=e[s],c=o[l.name];if(c&&c.shorthand){l.shorthand=!0,l.dirty=!0;try{if(l.components=c.breakUp(l,o,t),c.shorthandComponents)for(a=0,u=l.components.length;a<u;a++)(r=l.components[a]).components=o[r.name].breakUp(r,o,t)}catch(e){if(!(e instanceof i))throw e;l.components=[],n.push(e.message)}l.components.length>0?l.multiplex=l.components[0].multiplex:l.unused=!0}}}var o=e("../compactable"),i=e("../invalid-property-error");t.exports=r},{"../compactable":22,"../invalid-property-error":24}],41:[function(e,t,n){function r(e,t,n,r,i){return!!o(t,n)&&(!i||e.isVariable(t)===e.isVariable(n))}var o=e("./vendor-prefixes").same;t.exports=r},{"./vendor-prefixes":42}],42:[function(e,t,n){function r(e){for(var t,n=[];null!==(t=i.exec(e));)-1==n.indexOf(t[0])&&n.push(t[0]);return n}function o(e,t){return r(e).sort().join(",")==r(t).sort().join(",")}var i=/(?:^|\W)(\-\w+\-)/g;t.exports={unique:r,same:o}},{}],43:[function(e,t,n){function r(e,t){for(var n=t.options,r=n.compatibility.selectors.mergeablePseudoClasses,u=n.compatibility.selectors.mergeablePseudoElements,l=n.compatibility.selectors.multiplePseudoMerging,c={},p=[],d=e.length-1;d>=0;d--){var m=e[d];if(m[0]==f.RULE&&0!==m[2].length)for(var g=h(m[1]),v=m[1].length>1&&s(g,r,u,l),b=o(m[1]),y=v?[g].concat(b):[g],_=0,w=y.length;_<w;_++){var A=y[_];c[A]?p.push(A):c[A]=[],c[A].push({where:d,list:b,isPartial:v&&_>0,isComplex:v&&0===_})}}i(e,p,c,n,t),a(e,c,n,t)}function o(e){for(var t=[],n=0;n<e.length;n++)t.push([e[n][1]]);return t}function i(e,t,n,r,o){function i(e,t){return c[e].isPartial&&0===t.length}function a(e,t,n,r){c[n-r-1].isPartial||(e[2]=t)}for(var s=0,l=t.length;s<l;s++){var c=n[t[s]];u(e,c,{filterOut:i,callback:a},r,o)}}function a(e,t,n,r){function o(e){return f.data[e].where<f.intoPosition}function i(e,t,n,r){0===r&&f.reducedBodies.push(t)}var a=n.compatibility.selectors.mergeablePseudoClasses,l=n.compatibility.selectors.mergeablePseudoElements,c=n.compatibility.selectors.multiplePseudoMerging,f={};e:for(var h in t){var d=t[h];if(d[0].isComplex){var m=d[d.length-1].where,g=e[m],v=[],b=s(h,a,l,c)?d[0].list:[h];f.intoPosition=m,f.reducedBodies=v;for(var y=0,_=b.length;y<_;y++){var w=t[b[y]];if(w.length<2)continue e;if(f.data=w,u(e,w,{filterOut:o,callback:i},n,r),p(v[v.length-1])!=p(v[0]))continue e}g[2]=v[0]}}}function u(e,t,n,r,o){for(var i=[],a=[],u=[],s=t.length-1;s>=0;s--)if(!n.filterOut(s,i)){var f=t[s].where,p=e[f],h=c(p[2]);i=i.concat(h),a.push(h),u.push(f)}l(i,!0,!1,o);for(var d=u.length,m=i.length-1,g=d-1;g>=0;)if((0===g||i[m]&&a[g].indexOf(i[m])>-1)&&m>-1)m--;else{var v=i.splice(m+1);n.callback(e[u[g]],v,d,g),g--}}var s=e("./is-mergeable"),l=e("./properties/optimize"),c=e("../../utils/clone-array"),f=e("../../tokenizer/token"),p=e("../../writer/one-time").body,h=e("../../writer/one-time").rules;t.exports=r},{"../../tokenizer/token":85,"../../utils/clone-array":87,"../../writer/one-time":99,"./is-mergeable":25,"./properties/optimize":37}],44:[function(e,t,n){function r(e){var t,n,r,u,s=[];for(r=0,u=e.length;r<u;r++)(t=e[r])[0]!=o.AT_RULE_BLOCK&&t[1][0][1]!=a||(n=i([t]),s.indexOf(n)>-1?t[2]=[]:s.push(n))}var o=e("../../tokenizer/token"),i=e("../../writer/one-time").all,a="@font-face";t.exports=r},{"../../tokenizer/token":85,"../../writer/one-time":99}],45:[function(e,t,n){function r(e){var t,n,r,u,s,l={};for(u=0,s=e.length;u<s;u++)(n=e[u])[0]==o.NESTED_BLOCK&&((t=l[r=a(n[1])+"%"+i(n[2])])&&(t[2]=[]),l[r]=n)}var o=e("../../tokenizer/token"),i=e("../../writer/one-time").all,a=e("../../writer/one-time").rules;t.exports=r},{"../../tokenizer/token":85,"../../writer/one-time":99}],46:[function(e,t,n){function r(e){for(var t,n,r,u,s={},l=[],c=0,f=e.length;c<f;c++)(n=e[c])[0]==o.RULE&&(s[t=a(n[1])]&&1==s[t].length?l.push(t):s[t]=s[t]||[],s[t].push(c));for(c=0,f=l.length;c<f;c++){u=[];for(var p=s[t=l[c]].length-1;p>=0;p--)n=e[s[t][p]],r=i(n[2]),u.indexOf(r)>-1?n[2]=[]:u.push(r)}}var o=e("../../tokenizer/token"),i=e("../../writer/one-time").body,a=e("../../writer/one-time").rules;t.exports=r},{"../../tokenizer/token":85,"../../writer/one-time":99}],47:[function(e,t,n){function r(e,t){o(e,a,u,t),o(e,s,l,t),o(e,c,f,t),o(e,p,h,t)}function o(e,t,n,r){var o,a,u,s,l={};for(u=0,s=e.length;u<s;u++)t(e[u],l);if(0!==Object.keys(l).length){i(e,n,l,r);for(o in l)(a=l[o])[a[0]==v.AT_RULE?1:2]=[]}}function i(e,t,n,r){var o,a,u=t(n);for(o=0,a=e.length;o<a;o++)switch(e[o][0]){case v.RULE:u(e[o],r);break;case v.NESTED_BLOCK:i(e[o][2],t,n,r)}}function a(e,t){e[0]==v.AT_RULE_BLOCK&&0===e[1][0][1].indexOf("@counter-style")&&(t[e[1][0][1].split(" ")[1]]=e)}function u(e){return function(t,n){var r,o,i,a;for(i=0,a=t[2].length;i<a;i++)"list-style"==(r=t[2][i])[1][1]&&(o=m(r),d([o],n.validator,n.warnings),o.components[0].value[0][1]in e&&delete e[r[2][1]],g([o])),"list-style-type"==r[1][1]&&r[2][1]in e&&delete e[r[2][1]]}}function s(e,t){var n,r,o;if(e[0]==v.AT_RULE_BLOCK&&"@font-face"==e[1][0][1])for(r=0,o=e[2].length;r<o;r++)if("font-family"==(n=e[2][r])[1][1]){t[n[2][1].toLowerCase()]=e;break}}function l(e){return function(t,n){var r,o,i,a,u,s,l,c;for(u=0,s=t[2].length;u<s;u++){if("font"==(r=t[2][u])[1][1]){for(o=m(r),d([o],n.validator,n.warnings),l=0,c=(i=o.components[6]).value.length;l<c;l++)(a=i.value[l][1].toLowerCase())in e&&delete e[a];g([o])}if("font-family"==r[1][1])for(l=2,c=r.length;l<c;l++)(a=r[l][1].toLowerCase())in e&&delete e[a]}}}function c(e,t){e[0]==v.NESTED_BLOCK&&_.test(e[1][0][1])&&(t[e[1][0][1].split(" ")[1]]=e)}function f(e){return function(t,n){var r,o,i,a,u,s,l;for(a=0,u=t[2].length;a<u;a++){if(r=t[2][a],y.test(r[1][1])){for(o=m(r),d([o],n.validator,n.warnings),s=0,l=(i=o.components[7]).value.length;s<l;s++)i.value[s][1]in e&&delete e[i.value[s][1]];g([o])}if(b.test(r[1][1]))for(s=2,l=r.length;s<l;s++)r[s][1]in e&&delete e[r[s][1]]}}}function p(e,t){e[0]==v.AT_RULE&&0===e[1].indexOf("@namespace")&&(t[e[1].split(" ")[1]]=e)}function h(e){var t=new RegExp(Object.keys(e).join("\\||")+"\\|","g");return function(n){var r,o,i,a,u,s;for(i=0,a=n[1].length;i<a;i++)for(u=0,s=(r=n[1][i][1].match(t)).length;u<s;u++)(o=r[u].substring(0,r[u].length-1))in e&&delete e[o]}}var d=e("./properties/populate-components"),m=e("../wrap-for-optimizing").single,g=e("../restore-from-optimizing"),v=e("../../tokenizer/token"),b=/^(\-moz\-|\-o\-|\-webkit\-)?animation-name$/,y=/^(\-moz\-|\-o\-|\-webkit\-)?animation$/,_=/^@(\-moz\-|\-o\-|\-webkit\-)?keyframes /;t.exports=r},{"../../tokenizer/token":85,"../restore-from-optimizing":57,"../wrap-for-optimizing":59,"./properties/populate-components":40}],48:[function(e,t,n){function r(e,t,n){for(var r=t.length-1;r>=0;r--)for(var i=e.length-1;i>=0;i--)if(!o(e[i],t[r],n))return!1;return!0}function o(e,t,n){var r=e[0],o=e[1],g=e[2],v=e[5],b=e[6],y=t[0],_=t[1],w=t[2],A=t[5],E=t[6];return!("font"==r&&"line-height"==y||"font"==y&&"line-height"==r)&&((!d.test(r)||!d.test(y))&&(!(g==w&&a(r)==a(y)&&i(r)^i(y))&&(("border"!=g||!m.test(w)||!("border"==r||r==w||o!=_&&u(r,y)))&&(("border"!=w||!m.test(g)||!("border"==y||y==g||o!=_&&u(r,y)))&&(("border"!=g||"border"!=w||r==y||!(s(r)&&l(y)||l(r)&&s(y)))&&(g!=w||(!(r!=y||g!=w||o!=_&&!c(o,_))||(r!=y&&g==w&&r!=g&&y!=w||(r!=y&&g==w&&o==_||(!(!E||!b||f(g)||f(w)||p(A,v,!1))||!h(v,A,n)))))))))))}function i(e){return/^\-(?:moz|webkit|ms|o)\-/.test(e)}function a(e){return e.replace(/^\-(?:moz|webkit|ms|o)\-/,"")}function u(e,t){return e.split("-").pop()==t.split("-").pop()}function s(e){return"border-top"==e||"border-right"==e||"border-bottom"==e||"border-left"==e}function l(e){return"border-color"==e||"border-style"==e||"border-width"==e}function c(e,t){return i(e)&&i(t)&&e.split("-")[1]!=t.split("-")[2]}function f(e){return"font"==e||"line-height"==e||"list-style"==e}var p=e("./rules-overlap"),h=e("./specificities-overlap"),d=/align\-items|box\-align|box\-pack|flex|justify/,m=/^border\-(top|right|bottom|left|color|style|width|radius)/;t.exports={canReorder:r,canReorderSingle:o}},{"./rules-overlap":52,"./specificities-overlap":53}],49:[function(e,t,n){function r(e){var t=o[e.name];return t&&t.shorthand?t.restore(e,o):e.value}var o=e("./compactable");t.exports=r},{"./compactable":22}],50:[function(e,t,n){function r(e){for(var t=0,n=e.length;t<n;t++){var r=e[t][1];if("inherit"!=r&&r!=p.COMMA&&r!=p.FORWARD_SLASH)return!1}return!0}function o(e,t,n){function o(e){Array.prototype.unshift.apply(l,e.value)}function i(e){var n=t[e.name];return n.doubleValues&&1==n.defaultValue.length?e.value[0][1]==n.defaultValue[0]&&(!e.value[1]||e.value[1][1]==n.defaultValue[0]):n.doubleValues&&1!=n.defaultValue.length?e.value[0][1]==n.defaultValue[0]&&(e.value[1]?e.value[1][1]:e.value[0][1])==n.defaultValue[1]:e.value[0][1]==n.defaultValue}for(var a,u,s=e.components,l=[],c=s.length-1;c>=0;c--){var h=s[c],d=i(h);if("background-clip"==h.name){var m=s[c-1],g=i(m);u=!(a=h.value[0][1]==m.value[0][1])&&(g&&!d||!g&&!d||!g&&d&&h.value[0][1]!=m.value[0][1]),a?o(m):u&&(o(h),o(m)),c--}else if("background-size"==h.name){var v=s[c-1],b=i(v);u=!(a=!b&&d)&&(b&&!d||!b&&!d),a?o(v):u?(o(h),l.unshift([f.PROPERTY_VALUE,p.FORWARD_SLASH]),o(v)):1==v.value.length&&o(v),c--}else{if(d||t[h.name].multiplexLastOnly&&!n)continue;o(h)}}return 0===l.length&&1==e.value.length&&"0"==e.value[0][1]&&l.push(e.value[0]),0===l.length&&l.push([f.PROPERTY_VALUE,t[e.name].defaultValue]),r(l)?[l[0]]:l}function i(e,t){if(e.multiplex){for(var n=c(e),r=c(e),o=0;o<4;o++){var i=e.components[o],a=c(e);a.value=[i.value[0]],n.components.push(a);var s=c(e);s.value=[i.value[1]||i.value[0]],r.components.push(s)}var l=u(n),h=u(r);return l.length!=h.length||l[0][1]!=h[0][1]||l.length>1&&l[1][1]!=h[1][1]||l.length>2&&l[2][1]!=h[2][1]||l.length>3&&l[3][1]!=h[3][1]?l.concat([[f.PROPERTY_VALUE,p.FORWARD_SLASH]]).concat(h):l}return u(e)}function a(e,t){var n,o=e.components,i=[],a=0,u=0;if(0===e.value[0][1].indexOf(p.INTERNAL))return e.value[0][1]=e.value[0][1].substring(p.INTERNAL.length),e.value;for(;a<4;)(n=o[a]).value[0][1]!=t[n.name].defaultValue&&Array.prototype.push.apply(i,n.value),a++;for(Array.prototype.push.apply(i,o[a].value),o[++a].value[0][1]!=t[o[a].name].defaultValue&&(Array.prototype.push.apply(i,[[f.PROPERTY_VALUE,p.FORWARD_SLASH]]),Array.prototype.push.apply(i,o[a].value)),a++;o[a].value[u];)i.push(o[a].value[u]),o[a].value[u+1]&&i.push([f.PROPERTY_VALUE,p.COMMA]),u++;return r(i)?[i[0]]:i}function u(e){var t=e.components,n=t[0].value[0],r=t[1].value[0],o=t[2].value[0],i=t[3].value[0];return n[1]==r[1]&&n[1]==o[1]&&n[1]==i[1]?[n]:n[1]==o[1]&&r[1]==i[1]?[n,r]:r[1]==i[1]?[n,r,o]:[n,r,o,i]}function s(e){return function(t,n){if(!t.multiplex)return e(t,n,!0);var r,o,i=0,a=[],u={};for(r=0,o=t.components[0].value.length;r<o;r++)t.components[0].value[r][1]==p.COMMA&&i++;for(r=0;r<=i;r++){for(var s=c(t),l=0,h=t.components.length;l<h;l++){var d=t.components[l],m=c(d);s.components.push(m);for(var g=u[m.name]||0,v=d.value.length;g<v;g++){if(d.value[g][1]==p.COMMA){u[m.name]=g+1;break}m.value.push(d.value[g])}}var b=e(s,n,r==i);Array.prototype.push.apply(a,b),r<i&&a.push([f.PROPERTY_VALUE,p.COMMA])}return a}}function l(e,t){for(var n=e.components,o=[],i=n.length-1;i>=0;i--){var a=n[i],u=t[a.name];a.value[0][1]!=u.defaultValue&&o.unshift(a.value[0])}return 0===o.length&&o.push([f.PROPERTY_VALUE,t[e.name].defaultValue]),r(o)?[o[0]]:o}var c=e("./clone").shallow,f=e("../../tokenizer/token"),p=e("../../tokenizer/marker");t.exports={background:o,borderRadius:i,font:a,fourValues:u,multiplex:s,withoutDefaults:l}},{"../../tokenizer/marker":84,"../../tokenizer/token":85,"./clone":21}],51:[function(e,t,n){function r(e,t){return e>t?1:-1}function o(e,t){var n=f(e);return n[5]=n[5].concat(t[5]),n}function i(e,t){function n(e,t,n){for(var r=n.length-1;r>=0;r--){var o=i(t,n[r][0]);if(F[o].length>1&&x(e,F[o])){f(o);break}}}function i(e,t){var n=d(t);return F[n]=F[n]||[],F[n].push([e,t]),n}function f(e){var t,n=e.split(P),r=[];for(var o in F){var i=o.split(P);for(t=i.length-1;t>=0;t--)if(n.indexOf(i[t])>-1){r.push(o);break}}for(t=r.length-1;t>=0;t--)delete F[r[t]]}function d(e){for(var t=[],n=0,r=e.length;n<r;n++)t.push(h(e[n][1]));return t.join(P)}function m(e){for(var t=[],n=[],r=e.length-1;r>=0;r--)s(h(e[r][1]),k,O,S)&&(n.unshift(e[r]),e[r][2].length>0&&-1==t.indexOf(e[r])&&t.push(e[r]));return t.length>1?n:[]}function g(e,t){var r=t[0],o=t[1],i=t[4],a=r.length+o.length+1,u=[],s=[],c=m(T[i]);if(!(c.length<2)){var f=b(c,a,1),p=f[0];if(p[1]>0)return n(e,t,f);for(var h=p[0].length-1;h>=0;h--)u=p[0][h][1].concat(u),s.unshift(p[0][h]);w(e,[t],u=l(u),s)}}function v(e,t){return e[1]>t[1]?1:e[1]==t[1]?0:-1}function b(e,t,n){return y(e,t,n,M-1).sort(v)}function y(e,t,n,r){var o=[[e,_(e,t,n)]];if(e.length>2&&r>0)for(var i=e.length-1;i>=0;i--){var a=Array.prototype.slice.call(e,0);a.splice(i,1),o=o.concat(y(a,t,n,r-1))}return o}function _(e,t,n){for(var r=0,o=e.length-1;o>=0;o--)r+=e[o][2].length>n?h(e[o][1]).length:-1;return r-(e.length-1)*t+1}function w(t,n,r,o){var i,a,u,s,l=[];for(i=o.length-1;i>=0;i--){var f=o[i];for(a=f[2].length-1;a>=0;a--){var h=f[2][a];for(u=0,s=n.length;u<s;u++){var d=n[u],m=h[1][1],g=d[0],v=d[4];if(m==g&&p([h])==v){f[2].splice(a,1);break}}}}for(i=n.length-1;i>=0;i--)l.unshift(n[i][3]);var b=[c.RULE,r,l];e.splice(t,0,b)}function A(e,t){var n=t[4],r=T[n];r&&r.length>1&&(E(e,t)||g(e,t))}function E(e,t){var n,r,o=[],i=[],a=t[4],u=m(T[a]);if(!(u.length<2)){e:for(var s in T){var l=T[s];for(n=u.length-1;n>=0;n--)if(-1==l.indexOf(u[n]))continue e;o.push(s)}if(o.length<2)return!1;for(n=o.length-1;n>=0;n--)for(r=R.length-1;r>=0;r--)if(R[r][4]==o[n]){i.unshift([R[r],u]);break}return x(e,i)}}function x(e,t){for(var n,r=0,o=[],i=t.length-1;i>=0;i--)r+=(n=t[i][0])[4].length+(i>0?1:0),o.push(n);var a=b(t[0][1],r,o.length)[0];if(a[1]>0)return!1;var u=[],s=[];for(i=a[0].length-1;i>=0;i--)u=a[0][i][1].concat(u),s.unshift(a[0][i]);for(w(e,o,u=l(u),s),i=o.length-1;i>=0;i--){n=o[i];var c=R.indexOf(n);delete T[n[4]],c>-1&&-1==L.indexOf(c)&&L.push(c)}return!0}for(var C=t.options,k=C.compatibility.selectors.mergeablePseudoClasses,O=C.compatibility.selectors.mergeablePseudoElements,B=C.compatibility.selectors.mergeLimit,S=C.compatibility.selectors.multiplePseudoMerging,D=t.cache.specificity,T={},R=[],F={},L=[],M=2,P="%",U=e.length-1;U>=0;U--){var N,q,z,I,j,V=e[U];if(V[0]==c.RULE)N=!0;else{if(V[0]!=c.NESTED_BLOCK)continue;N=!1}var $=R.length,H=u(V);L=[];var K=[];for(q=H.length-1;q>=0;q--)for(z=q-1;z>=0;z--)if(!a(H[q],H[z],D)){K.push(q);break}for(q=H.length-1;q>=0;q--){var Y=H[q],G=!1;for(z=0;z<$;z++){var W=R[z];-1==L.indexOf(z)&&(!a(Y,W,D)&&!function(e,t,n){if(e[0]!=t[0])return!1;var r=t[4],o=T[r];return o&&o.indexOf(n)>-1}(Y,W,V)||T[W[4]]&&T[W[4]].length===B)&&(A(U+1,W),-1==L.indexOf(z)&&(L.push(z),delete T[W[4]])),G||(G=Y[0]==W[0]&&Y[1]==W[1])&&(j=z)}if(N&&!(K.indexOf(q)>-1)){var Q=Y[4];G&&R[j][5].length+Y[5].length>B?(A(U+1,R[j]),R.splice(j,1),T[Q]=[V],G=!1):(T[Q]=T[Q]||[],T[Q].push(V)),G?R[j]=o(R[j],Y):R.push(Y)}}for(q=0,I=(L=L.sort(r)).length;q<I;q++){var Z=L[q]-q;R.splice(Z,1)}}for(var J=e[0]&&e[0][0]==c.AT_RULE&&0===e[0][1].indexOf("@charset")?1:0;J<e.length-1;J++){var X=e[J][0]===c.AT_RULE&&0===e[J][1].indexOf("@import"),ee=e[J][0]===c.COMMENT;if(!X&&!ee)break}for(U=0;U<R.length;U++)A(J,R[U])}var a=e("./reorderable").canReorderSingle,u=e("./extract-properties"),s=e("./is-mergeable"),l=e("./tidy-rule-duplicates"),c=e("../../tokenizer/token"),f=e("../../utils/clone-array"),p=e("../../writer/one-time").body,h=e("../../writer/one-time").rules;t.exports=i},{"../../tokenizer/token":85,"../../utils/clone-array":87,"../../writer/one-time":99,"./extract-properties":23,"./is-mergeable":25,"./reorderable":48,"./tidy-rule-duplicates":55}],52:[function(e,t,n){function r(e,t,n){var r,i,a,u,s,l;for(a=0,u=e.length;a<u;a++)for(r=e[a][1],s=0,l=t.length;s<l;s++){if(i=t[s][1],r==i)return!0;if(n&&o(r)==o(i))return!0}return!1}function o(e){return e.replace(i,"")}var i=/\-\-.+$/;t.exports=r},{}],53:[function(e,t,n){function r(e,t,n){var r,i,a,u,s,l;for(a=0,u=e.length;a<u;a++)for(r=o(e[a][1],n),s=0,l=t.length;s<l;s++)if(i=o(t[s][1],n),r[0]===i[0]&&r[1]===i[1]&&r[2]===i[2])return!0;return!1}function o(e,t){var n;return e in t||(t[e]=n=i(e)),n||t[e]}var i=e("./specificity");t.exports=r},{"./specificity":54}],54:[function(e,t,n){function r(e){var t,n,r,s,c,f,p,h=[0,0,0],d=0,m=!1,g=!1;for(f=0,p=e.length;f<p;f++){if(t=e[f],n);else if(t!=i.SINGLE_QUOTE||s||r)if(t==i.SINGLE_QUOTE&&!s&&r)r=!1;else if(t!=i.DOUBLE_QUOTE||s||r)if(t==i.DOUBLE_QUOTE&&s&&!r)s=!1;else{if(r||s)continue;d>0&&!m||(t==i.OPEN_ROUND_BRACKET?d++:t==i.CLOSE_ROUND_BRACKET&&1==d?(d--,m=!1):t==i.CLOSE_ROUND_BRACKET?d--:t==a.HASH?h[0]++:t==a.DOT||t==i.OPEN_SQUARE_BRACKET?h[1]++:t!=a.PSEUDO||g||o(e,f)?t==a.PSEUDO?m=!0:(0===f||c)&&u.test(t)&&h[2]++:(h[1]++,m=!1))}else s=!0;else r=!0;n=t==i.BACK_SLASH,g=t==a.PSEUDO,c=!n&&l.test(t)}return h}function o(e,t){return e.indexOf(s,t)===t}var i=e("../../tokenizer/marker"),a={ADJACENT_SIBLING:"+",DESCENDANT:">",DOT:".",HASH:"#",NON_ADJACENT_SIBLING:"~",PSEUDO:":"},u=/[a-zA-Z]/,s=":not(",l=/[\s,\(>~\+]/;t.exports=r},{"../../tokenizer/marker":84}],55:[function(e,t,n){function r(e,t){return e[1]>t[1]?1:-1}function o(e){for(var t=[],n=[],o=0,i=e.length;o<i;o++){var a=e[o];-1==n.indexOf(a[1])&&(n.push(a[1]),t.push(a))}return t.sort(r)}t.exports=o},{}],56:[function(e,t,n){function r(e){for(var t=e.length-1;t>=0;t--){var n=e[t];n.unused&&n.all.splice(n.position,1)}}t.exports=r},{}],57:[function(e,t,n){function r(e,t){var n,r,a,u;for(u=e.length-1;u>=0;u--)(n=e[u]).unused||(n.dirty||n.important||n.hack)&&(t?(r=t(n),n.value=r):r=n.value,n.important&&o(n),n.hack&&i(n),"all"in n&&((a=n.all[n.position])[1][1]=n.name,a.splice(2,a.length-1),Array.prototype.push.apply(a,r)))}function o(e){e.value[e.value.length-1][1]+=c}function i(e){e.hack[0]==a.UNDERSCORE?e.name=f+e.name:e.hack[0]==a.ASTERISK?e.name=s+e.name:e.hack[0]==a.BACKSLASH?e.value[e.value.length-1][1]+=l+e.hack[1]:e.hack[0]==a.BANG&&(e.value[e.value.length-1][1]+=u.SPACE+p)}var a=e("./hack"),u=e("../tokenizer/marker"),s="*",l="\\",c="!important",f="_",p="!ie";t.exports=r},{"../tokenizer/marker":84,"./hack":9}],58:[function(e,t,n){function r(){var e=p("animation-timing-function");return function(t){return e(t)||x.test(t)}}function o(e){return"auto"!=e&&(p("color")(e)||s(e)||i(e)||h(e))}function i(e){return m(e)||l(e)}function a(e){return C.test(e)}function u(e){return k.test(e)}function s(e){return F.test(e)||S.test(e)}function l(e){return O.test(e)}function c(e){return B.test(e)}function f(e){return"none"==e||"inherit"==e||w(e)}function p(e){return function(t){return U[e].indexOf(t)>-1}}function h(e){return D.test(e)}function d(e){return e.length>0&&""+parseFloat(e)===e}function m(e){return R.test(e)}function g(e){return T.test(e)}function v(e){return d(e)&&parseFloat(e)>=0}function b(e){return P.test(e)}function y(e){return L.test(e)}function _(e,t){return e.test(t)}function w(e){return M.test(e)}function A(e){return"auto"==e||d(e)||p("^")(e)}function E(e){var t=N.slice(0).filter(function(t){return!(t in e.units)||!0===e.units[t]}),n=new RegExp("^(\\-?\\.?\\d+\\.?\\d*("+t.join("|")+"|)|auto|inherit)$","i");return{colorOpacity:e.colors.opacity,isAnimationDirectionKeyword:p("animation-direction"),isAnimationFillModeKeyword:p("animation-fill-mode"),isAnimationIterationCountKeyword:p("animation-iteration-count"),isAnimationNameKeyword:p("animation-name"),isAnimationPlayStateKeyword:p("animation-play-state"),isAnimationTimingFunction:r(),isBackgroundAttachmentKeyword:p("background-attachment"),isBackgroundClipKeyword:p("background-clip"),isBackgroundOriginKeyword:p("background-origin"),isBackgroundPositionKeyword:p("background-position"),isBackgroundRepeatKeyword:p("background-repeat"),isBackgroundSizeKeyword:p("background-size"),isColor:o,isColorFunction:i,isDynamicUnit:a,isFontKeyword:p("font"),isFontSizeKeyword:p("font-size"),isFontStretchKeyword:p("font-stretch"),isFontStyleKeyword:p("font-style"),isFontVariantKeyword:p("font-variant"),isFontWeightKeyword:p("font-weight"),isFunction:u,isGlobal:p("^"),isHslColor:l,isIdentifier:c,isImage:f,isKeyword:p,isLineHeightKeyword:p("line-height"),isListStylePositionKeyword:p("list-style-position"),isListStyleTypeKeyword:p("list-style-type"),isPrefixed:g,isPositiveNumber:v,isRgbColor:m,isStyleKeyword:p("*-style"),isTime:y,isUnit:_.bind(null,n),isUrl:w,isVariable:b,isWidth:p("width"),isZIndex:A}}var x=/^(cubic\-bezier|steps)\([^\)]+\)$/,C=new RegExp("^(\\-moz\\-|\\-webkit\\-)?calc\\([^\\)]+\\)$","i"),k=new RegExp("^(var\\(\\-\\-[^\\)]+\\)|[A-Z]+(\\-|[A-Z]|[0-9])+\\(.*?\\)|\\-(\\-|[A-Z]|[0-9])+\\(.*?\\))$","i"),O=/^hsl\(\s*[\-\.\d]+\s*,\s*[\.\d]+%\s*,\s*[\.\d]+%\s*\)|hsla\(\s*[\-\.\d]+\s*,\s*[\.\d]+%\s*,\s*[\.\d]+%\s*,\s*[\.\d]+\s*\)$/,B=/^(\-[a-z0-9_][a-z0-9\-_]*|[a-z][a-z0-9\-_]*)$/i,S=/^#[0-9a-f]{6}$/i,D=/^[a-z]+$/i,T=/^-([a-z0-9]|-)*$/i,R=/^rgb\(\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*\)|rgba\(\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*,\s*[\d]{1,3}\s*,\s*[\.\d]+\s*\)$/,F=/^#[0-9a-f]{3}$/i,L=new RegExp("^(\\-?\\+?\\.?\\d+\\.?\\d*(s|ms))$"),M=/^url\([\s\S]+\)$/i,P=new RegExp("^var\\(\\-\\-[^\\)]+\\)$","i"),U={"^":["inherit","initial","unset"],"*-style":["auto","dashed","dotted","double","groove","hidden","inset","none","outset","ridge","solid"],"animation-direction":["alternate","alternate-reverse","normal","reverse"],"animation-fill-mode":["backwards","both","forwards","none"],"animation-iteration-count":["infinite"],"animation-name":["none"],"animation-play-state":["paused","running"],"animation-timing-function":["ease","ease-in","ease-in-out","ease-out","linear","step-end","step-start"],"background-attachment":["fixed","inherit","local","scroll"],"background-clip":["border-box","content-box","inherit","padding-box","text"],"background-origin":["border-box","content-box","inherit","padding-box"],"background-position":["bottom","center","left","right","top"],"background-repeat":["no-repeat","inherit","repeat","repeat-x","repeat-y","round","space"],"background-size":["auto","cover","contain"],"border-collapse":["collapse","inherit","separate"],bottom:["auto"],clear:["both","left","none","right"],color:["transparent"],cursor:["all-scroll","auto","col-resize","crosshair","default","e-resize","help","move","n-resize","ne-resize","no-drop","not-allowed","nw-resize","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","vertical-text","w-resize","wait"],display:["block","inline","inline-block","inline-table","list-item","none","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group"],float:["left","none","right"],left:["auto"],font:["caption","icon","menu","message-box","small-caption","status-bar","unset"],"font-size":["large","larger","medium","small","smaller","x-large","x-small","xx-large","xx-small"],"font-stretch":["condensed","expanded","extra-condensed","extra-expanded","normal","semi-condensed","semi-expanded","ultra-condensed","ultra-expanded"],"font-style":["italic","normal","oblique"],"font-variant":["normal","small-caps"],"font-weight":["100","200","300","400","500","600","700","800","900","bold","bolder","lighter","normal"],"line-height":["normal"],"list-style-position":["inside","outside"],"list-style-type":["armenian","circle","decimal","decimal-leading-zero","disc","decimal|disc","georgian","lower-alpha","lower-greek","lower-latin","lower-roman","none","square","upper-alpha","upper-latin","upper-roman"],overflow:["auto","hidden","scroll","visible"],position:["absolute","fixed","relative","static"],right:["auto"],"text-align":["center","justify","left","left|right","right"],"text-decoration":["line-through","none","overline","underline"],"text-overflow":["clip","ellipsis"],top:["auto"],"vertical-align":["baseline","bottom","middle","sub","super","text-bottom","text-top","top"],visibility:["collapse","hidden","visible"],"white-space":["normal","nowrap","pre"],width:["inherit","initial","medium","thick","thin"]},N=["%","ch","cm","em","ex","in","mm","pc","pt","px","rem","vh","vm","vmax","vmin","vw"];t.exports=E},{}],59:[function(e,t,n){function r(e,t,n){var r,i,a,u=[];for(a=e.length-1;a>=0;a--)(i=e[a])[0]==m.PROPERTY&&(!t&&o(i)||n&&n.indexOf(i[1][1])>-1||((r=p(i)).all=e,r.position=a,u.unshift(r)));return u}function o(e){var t,n,r;for(t=2,n=e.length;t<n;t++)if((r=e[t])[0]==m.PROPERTY_VALUE&&i(r[1]))return!0;return!1}function i(e){return g.VARIABLE_REFERENCE_PATTERN.test(e)}function a(e){var t,n,r;for(n=3,r=e.length;n<r;n++)if((t=e[n])[0]==m.PROPERTY_VALUE&&(t[1]==d.COMMA||t[1]==d.FORWARD_SLASH))return!0;return!1}function u(e){var t=!1,n=e[1][1],r=e[e.length-1];return n[0]==g.UNDERSCORE?t=[h.UNDERSCORE]:n[0]==g.ASTERISK?t=[h.ASTERISK]:r[1][0]!=g.BANG||r[1].match(g.IMPORTANT_WORD_PATTERN)?r[1].indexOf(g.BANG)>0&&!r[1].match(g.IMPORTANT_WORD_PATTERN)&&g.BANG_SUFFIX_PATTERN.test(r[1])?t=[h.BANG]:r[1].indexOf(g.BACKSLASH)>0&&r[1].indexOf(g.BACKSLASH)==r[1].length-g.BACKSLASH.length-1?t=[h.BACKSLASH,r[1].substring(r[1].indexOf(g.BACKSLASH)+1)]:0===r[1].indexOf(g.BACKSLASH)&&2==r[1].length&&(t=[h.BACKSLASH,r[1].substring(1)]):t=[h.BANG],t}function s(e){if(e.length<3)return!1;var t=e[e.length-1];return!!g.IMPORTANT_TOKEN_PATTERN.test(t[1])||!(!g.IMPORTANT_WORD_PATTERN.test(t[1])||!g.SUFFIX_BANG_PATTERN.test(e[e.length-2][1]))}function l(e){var t=e[e.length-1],n=e[e.length-2];g.IMPORTANT_TOKEN_PATTERN.test(t[1])?t[1]=t[1].replace(g.IMPORTANT_TOKEN_PATTERN,""):(t[1]=t[1].replace(g.IMPORTANT_WORD_PATTERN,""),n[1]=n[1].replace(g.SUFFIX_BANG_PATTERN,"")),0===t[1].length&&e.pop(),0===n[1].length&&e.pop()}function c(e){e[1][1]=e[1][1].substring(1)}function f(e,t){var n=e[e.length-1];n[1]=n[1].substring(0,n[1].indexOf(t[0]==h.BACKSLASH?g.BACKSLASH:g.BANG)).trim(),0===n[1].length&&e.pop()}function p(e){var t=s(e);t&&l(e);var n=u(e);return n[0]==h.ASTERISK||n[0]==h.UNDERSCORE?c(e):n[0]!=h.BACKSLASH&&n[0]!=h.BANG||f(e,n),{block:e[2]&&e[2][0]==m.PROPERTY_BLOCK,components:[],dirty:!1,hack:n,important:t,name:e[1][1],multiplex:e.length>3&&a(e),position:0,shorthand:!1,unused:!1,value:e.slice(2)}}var h=e("./hack"),d=e("../tokenizer/marker"),m=e("../tokenizer/token"),g={ASTERISK:"*",BACKSLASH:"\\",BANG:"!",BANG_SUFFIX_PATTERN:/!\w+$/,IMPORTANT_TOKEN:"!important",IMPORTANT_TOKEN_PATTERN:new RegExp("!important$","i"),IMPORTANT_WORD:"important",IMPORTANT_WORD_PATTERN:new RegExp("important$","i"),SUFFIX_BANG_PATTERN:/!$/,UNDERSCORE:"_",VARIABLE_REFERENCE_PATTERN:/var\(--.+\)$/};t.exports={all:r,single:p}},{"../tokenizer/marker":84,"../tokenizer/token":85,"./hack":9}],60:[function(e,t,n){function r(e){return o(a["*"],i(e))}function o(e,t){for(var n in e){var r=e[n];"object"!=typeof r||Array.isArray(r)?t[n]=n in t?t[n]:r:t[n]=o(r,t[n]||{})}return t}function i(e){if("object"==typeof e)return e;if(!/[,\+\-]/.test(e))return a[e]||a["*"];var t=e.split(","),n=t[0]in a?a[t.shift()]:a["*"];return e={},t.forEach(function(t){var n="+"==t[0],r=t.substring(1).split("."),o=r[0],i=r[1];e[o]=e[o]||{},e[o][i]=n}),o(n,e)}var a={"*":{colors:{opacity:!0},properties:{backgroundClipMerging:!0,backgroundOriginMerging:!0,backgroundSizeMerging:!0,colors:!0,ieBangHack:!1,ieFilters:!1,iePrefixHack:!1,ieSuffixHack:!1,merging:!0,shorterLengthUnits:!1,spaceAfterClosingBrace:!0,urlQuotes:!1,zeroUnits:!0},selectors:{adjacentSpace:!1,ie7Hack:!1,mergeablePseudoClasses:[":active",":after",":before",":empty",":checked",":disabled",":empty",":enabled",":first-child",":first-letter",":first-line",":first-of-type",":focus",":hover",":lang",":last-child",":last-of-type",":link",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type",":only-child",":only-of-type",":root",":target",":visited"],mergeablePseudoElements:["::after","::before","::first-letter","::first-line"],mergeLimit:8191,multiplePseudoMerging:!0},units:{ch:!0,in:!0,pc:!0,pt:!0,rem:!0,vh:!0,vm:!0,vmax:!0,vmin:!0,vw:!0}}};a.ie11=a["*"],a.ie10=a["*"],a.ie9=o(a["*"],{properties:{ieFilters:!0,ieSuffixHack:!0}}),a.ie8=o(a.ie9,{colors:{opacity:!1},properties:{backgroundClipMerging:!1,backgroundOriginMerging:!1,backgroundSizeMerging:!1,iePrefixHack:!0,merging:!1},selectors:{mergeablePseudoClasses:[":after",":before",":first-child",":first-letter",":focus",":hover",":visited"],mergeablePseudoElements:[]},units:{ch:!1,rem:!1,vh:!1,vm:!1,vmax:!1,vmin:!1,vw:!1}}),a.ie7=o(a.ie8,{properties:{ieBangHack:!0},selectors:{ie7Hack:!0,mergeablePseudoClasses:[":first-child",":first-letter",":hover",":visited"]}}),t.exports=r},{}],61:[function(e,t,n){function r(e){return e||o}var o=e("../reader/load-remote-resource");t.exports=r},{"../reader/load-remote-resource":75}],62:[function(e,t,n){function r(e){var t={};return t[f.AfterAtRule]=e,t[f.AfterBlockBegins]=e,t[f.AfterBlockEnds]=e,t[f.AfterComment]=e,t[f.AfterProperty]=e,t[f.AfterRuleBegins]=e,t[f.AfterRuleEnds]=e,t[f.BeforeBlockEnds]=e,t[f.BetweenSelectors]=e,t}function o(e){var t={};return t[h.AroundSelectorRelation]=e,t[h.BeforeBlockBegins]=e,t[h.BeforeValue]=e,t}function i(e){return void 0!==e&&!1!==e&&("object"==typeof e&&"indentBy"in e&&(e=c(e,{indentBy:parseInt(e.indentBy)})),"object"==typeof e&&"indentWith"in e&&(e=c(e,{indentWith:l(e.indentWith)})),"object"==typeof e?c(d,e):"object"==typeof e?c(d,e):"string"==typeof e&&e==m?c(d,{breaks:r(!0),indentBy:2,spaces:o(!0)}):"string"==typeof e&&e==g?c(d,{breaks:{afterAtRule:!0,afterBlockBegins:!0,afterBlockEnds:!0,afterComment:!0,afterRuleEnds:!0,beforeBlockEnds:!0}}):"string"==typeof e?c(d,a(e)):d)}function a(e){return e.split(v).reduce(function(e,t){var n=t.split(b),r=n[0],o=n[1];return"breaks"==r||"spaces"==r?e[r]=u(o):"indentBy"==r||"wrapAt"==r?e[r]=parseInt(o):"indentWith"==r&&(e[r]=l(o)),e},{})}function u(e){return e.split(y).reduce(function(e,t){var n=t.split(_),r=n[0],o=n[1];return e[r]=s(o),e},{})}function s(e){switch(e){case w:case A:return!1;case E:case x:return!0;default:return e}}function l(e){switch(e){case"space":return p.Space;case"tab":return p.Tab;default:return e}}var c=e("../utils/override"),f={AfterAtRule:"afterAtRule",AfterBlockBegins:"afterBlockBegins",AfterBlockEnds:"afterBlockEnds",AfterComment:"afterComment",AfterProperty:"afterProperty",AfterRuleBegins:"afterRuleBegins",AfterRuleEnds:"afterRuleEnds",BeforeBlockEnds:"beforeBlockEnds",BetweenSelectors:"betweenSelectors"},p={Space:" ",Tab:"\t"},h={AroundSelectorRelation:"aroundSelectorRelation",BeforeBlockBegins:"beforeBlockBegins",BeforeValue:"beforeValue"},d={breaks:r(!1),indentBy:0,indentWith:p.Space,spaces:o(!1),wrapAt:!1},m="beautify",g="keep-breaks",v=";",b=":",y=",",_="=",w="false",A="off",E="true",x="on";t.exports={Breaks:f,Spaces:h,formatFrom:i}},{"../utils/override":96}],63:[function(e,t,n){(function(n){function r(e){return a(o(n.env.HTTP_PROXY||n.env.http_proxy),e||{})}function o(e){return e?{hostname:i.parse(e).hostname,port:parseInt(i.parse(e).port)}:{}}var i=e("url"),a=e("../utils/override");t.exports=r}).call(this,e("_process"))},{"../utils/override":96,_process:114,url:162}],64:[function(e,t,n){function r(e){return e||o}var o=5e3;t.exports=r},{}],65:[function(e,t,n){function r(e){return Array.isArray(e)?e:!1===e?["none"]:void 0===e?["local"]:e.split(",")}t.exports=r},{}],66:[function(e,t,n){function r(){}function o(e){var t=c(p,{}),n=f.Zero,r=f.One,o=f.Two;return void 0===e?(delete t[o],t):("string"==typeof e&&(e=parseInt(e)),"number"==typeof e&&e===parseInt(o)?t:"number"==typeof e&&e===parseInt(r)?(delete t[o],t):"number"==typeof e&&e===parseInt(n)?(delete t[o],delete t[r],t):("object"==typeof e&&(e=u(e)),r in e&&"roundingPrecision"in e[r]&&(e[r].roundingPrecision=l(e[r].roundingPrecision)),o in e&&"skipProperties"in e[o]&&"string"==typeof e[o].skipProperties&&(e[o].skipProperties=e[o].skipProperties.split(y)),(n in e||r in e||o in e)&&(t[n]=c(t[n],e[n])),r in e&&h in e[r]&&(t[r]=c(t[r],i(r,a(e[r][h]))),delete e[r][h]),r in e&&d in e[r]&&(t[r]=c(t[r],i(r,a(e[r][d]))),delete e[r][d]),r in e||o in e?t[r]=c(t[r],e[r]):delete t[r],o in e&&h in e[o]&&(t[o]=c(t[o],i(o,a(e[o][h]))),delete e[o][h]),o in e&&d in e[o]&&(t[o]=c(t[o],i(o,a(e[o][d]))),delete e[o][d]),o in e?t[o]=c(t[o],e[o]):delete t[o],t))}function i(e,t){var n,r=c(p[e],{});for(n in r)"boolean"==typeof r[n]&&(r[n]=t);return r}function a(e){switch(e){case m:case g:return!1;case v:case b:return!0;default:return e}}function u(e){var t,n,r=c(e,{});for(n=0;n<=2;n++)(t=""+n)in r&&(void 0===r[t]||!1===r[t])&&delete r[t],t in r&&!0===r[t]&&(r[t]={}),t in r&&"string"==typeof r[t]&&(r[t]=s(r[t],t));return r}function s(e,t){return e.split(_).reduce(function(e,n){var r=n.split(w),o=r[0],u=a(r[1]);return h==o||d==o?e=c(e,i(t,u)):e[o]=u,e},{})}var l=e("./rounding-precision").roundingPrecisionFrom,c=e("../utils/override"),f={Zero:"0",One:"1",Two:"2"},p={};p[f.Zero]={},p[f.One]={cleanupCharsets:!0,normalizeUrls:!0,optimizeBackground:!0,optimizeBorderRadius:!0,optimizeFilter:!0,optimizeFontWeight:!0,optimizeOutline:!0,removeEmpty:!0,removeNegativePaddings:!0,removeQuotes:!0,removeWhitespace:!0,replaceMultipleZeros:!0,replaceTimeUnits:!0,replaceZeroUnits:!0,roundingPrecision:l(void 0),selectorsSortingMethod:"standard",specialComments:"all",tidyAtRules:!0,tidyBlockScopes:!0,tidySelectors:!0,transform:r},p[f.Two]={mergeAdjacentRules:!0,mergeIntoShorthands:!0,mergeMedia:!0,mergeNonAdjacentRules:!0,mergeSemantically:!1,overrideProperties:!0,removeEmpty:!0,reduceNonAdjacentRules:!0,removeDuplicateFontRules:!0,removeDuplicateMediaBlocks:!0,removeDuplicateRules:!0,removeUnusedAtRules:!1,restructureRules:!1,skipProperties:[]};var h="*",d="all",m="false",g="off",v="true",b="on",y=",",_=";",w=":";t.exports={OptimizationLevel:f,optimizationLevelFrom:o}},{"../utils/override":96,"./rounding-precision":69}],67:[function(e,t,n){(function(n){function r(e){return e?o.resolve(e):n.cwd()}var o=e("path");t.exports=r}).call(this,e("_process"))},{_process:114,path:112}],68:[function(e,t,n){function r(e){return void 0===e||!!e}t.exports=r},{}],69:[function(e,t,n){function r(e){return a(o(l),i(e))}function o(e){return{ch:e,cm:e,em:e,ex:e,in:e,mm:e,pc:e,pt:e,px:e,q:e,rem:e,vh:e,vmax:e,vmin:e,vw:e,"%":e}}function i(e){return null===e||void 0===e?{}:"boolean"==typeof e?{}:"number"==typeof e&&-1==e?o(l):"number"==typeof e?o(e):"string"==typeof e&&u.test(e)?o(parseInt(e)):"string"==typeof e&&e==l?o(l):"object"==typeof e?e:e.split(c).reduce(function(e,t){var n=t.split(f),r=n[0],i=parseInt(n[1]);return(isNaN(i)||-1==i)&&(i=l),s.indexOf(r)>-1?e=a(e,o(i)):e[r]=i,e},{})}var a=e("../utils/override"),u=/^\d+$/,s=["*","all"],l="off",c=",",f="=";t.exports={DEFAULT:l,roundingPrecisionFrom:r}},{"../utils/override":96}],70:[function(e,t,n){(function(n,r){function o(e,t,n){var r={callback:n,fetch:t.options.fetch,index:0,inline:t.options.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,inputSourceMapTracker:t.inputSourceMapTracker,localOnly:t.localOnly,processedTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings};return t.options.sourceMap&&e.length>0?i(r):n(e)}function i(e){var t,n,r,o=[],i=a(e.sourceTokens[0]);for(r=e.sourceTokens.length;e.index<r;e.index++)if(n=e.sourceTokens[e.index],(t=a(n))!=i&&(o=[],i=t),o.push(n),e.processedTokens.push(n),n[0]==_.COMMENT&&x.test(n[1]))return u(n[1],t,o,e);return e.callback(e.processedTokens)}function a(e){return(e[0]==_.AT_RULE||e[0]==_.COMMENT?e[2][0]:e[1][0][2][0])[2]}function u(e,t,n,r){return s(e,r,function(e){return e&&(r.inputSourceMapTracker.track(t,e),p(n,r.inputSourceMapTracker)),r.index++,i(r)})}function s(e,t,n){var r,o,i,a=x.exec(e)[1];return A(a)?(o=l(a),n(o)):E(a)?c(a,t,function(e){var t;e?(t=JSON.parse(e),i=y(t,a),n(i)):n(null)}):(r=m.resolve(t.rebaseTo,a),o=f(r,t),o?(i=b(o,r,t.rebaseTo),n(i)):n(null))}function l(e){var t=v(e),o=t[2]?t[2].split(/[=;]/)[2]:"us-ascii",i=t[3]?t[3].split(";")[1]:"utf8",a="utf8"==i?n.unescape(t[4]):t[4],u=new r(a,i);return u.charset=o,JSON.parse(u.toString())}function c(e,t,n){var r=g(e,!0,t.inline),o=!w(e);return t.localOnly?(t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),n(null)):o?(t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),n(null)):r?void t.fetch(e,t.inlineRequest,t.inlineTimeout,function(r,o){if(r)return t.warnings.push('Missing source map at "'+e+'" - '+r),n(null);n(o)}):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),n(null))}function f(e,t){var n,r=g(e,!1,t.inline);return d.existsSync(e)&&d.statSync(e).isFile()?r?(n=d.readFileSync(e,"utf-8"),JSON.parse(n)):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),null):(t.warnings.push('Ignoring local source map at "'+e+'" as resource is missing.'),null)}function p(e,t){var n,r,o;for(r=0,o=e.length;r<o;r++)switch((n=e[r])[0]){case _.AT_RULE:h(n,t);break;case _.AT_RULE_BLOCK:p(n[1],t),p(n[2],t);break;case _.AT_RULE_BLOCK_SCOPE:h(n,t);break;case _.NESTED_BLOCK:p(n[1],t),p(n[2],t);break;case _.NESTED_BLOCK_SCOPE:case _.COMMENT:h(n,t);break;case _.PROPERTY:p(n,t);break;case _.PROPERTY_BLOCK:p(n[1],t);break;case _.PROPERTY_NAME:case _.PROPERTY_VALUE:h(n,t);break;case _.RULE:p(n[1],t),p(n[2],t);break;case _.RULE_SCOPE:h(n,t)}return e}function h(e,t){var n,r,o=e[1],i=e[2],a=[];for(n=0,r=i.length;n<r;n++)a.push(t.originalPositionFor(i[n],o.length));e[2]=a}var d=e("fs"),m=e("path"),g=e("./is-allowed-resource"),v=e("./match-data-uri"),b=e("./rebase-local-map"),y=e("./rebase-remote-map"),_=e("../tokenizer/token"),w=e("../utils/has-protocol"),A=e("../utils/is-data-uri-resource"),E=e("../utils/is-remote-resource"),x=/^\/\*# sourceMappingURL=(\S+) \*\/$/;t.exports=o}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"../tokenizer/token":85,"../utils/has-protocol":89,"../utils/is-data-uri-resource":90,"../utils/is-remote-resource":94,"./is-allowed-resource":73,"./match-data-uri":76,"./rebase-local-map":79,"./rebase-remote-map":80,buffer:5,fs:3,path:112}],71:[function(e,t,n){function r(e){var t,n,r,p;return r=e.replace(u,"").trim().replace(c,"(").replace(f,")").replace(s,"").replace(l,""),p=o(r," "),t=p[0].replace(i,"").replace(a,""),n=p.slice(1).join(" "),[t,n]}var o=e("../utils/split"),i=/^\(/,a=/\)$/,u=/^@import/i,s=/['"]\s*/,l=/\s*['"]/,c=/^url\(\s*/i,f=/\s*\)/i;t.exports=r},{"../utils/split":97}],72:[function(e,t,n){function r(){var e={};return{all:o.bind(null,e),isTracking:i.bind(null,e),originalPositionFor:a.bind(null,e),track:s.bind(null,e)}}function o(e){return e}function i(e,t){return t in e}function a(e,t,n,r){for(var o,i=t[0],s=t[1],l=t[2],c={line:i,column:s+n};!o&&c.column>s;)c.column--,o=e[l].originalPositionFor(c);return null===o.line&&i>1&&r>0?a(e,[i-1,s,l],n,r-1):null!==o.line?u(o):t}function u(e){return[e.line,e.column,e.source]}function s(e,t,n){e[t]=new l(n)}var l=e("source-map").SourceMapConsumer;t.exports=r},{"source-map":156}],73:[function(e,t,n){function r(e,t,n){var u,c,f,p,h,d,m=!t;if(0===n.length)return!1;for(t&&!s(e)&&(e=l+e),u=t?a.parse(e).host:e,c=t?e:i.resolve(e),d=0;d<n.length;d++)p="!"==(f=n[d])[0],h=f.substring(1),m=p&&t&&o(h)?m&&!r(e,!0,[h]):!p||t||o(h)?p?m&&!0:"all"==f||(t&&"local"==f?m||!1:!(!t||"remote"!=f)||!(!t&&"remote"==f)&&(!t&&"local"==f||(f===u||(f===e||(!(!t||0!==c.indexOf(f))||(!t&&0===c.indexOf(i.resolve(f))||t!=o(h)&&(m&&!0))))))):m&&!r(e,!1,[h]);return m}function o(e){return u(e)||a.parse(l+"//"+e).host==e}var i=e("path"),a=e("url"),u=e("../utils/is-remote-resource"),s=e("../utils/has-protocol"),l="http:";t.exports=r},{"../utils/has-protocol":89,"../utils/is-remote-resource":94,path:112,url:162}],74:[function(e,t,n){function r(e,t){var n={callback:t,fetch:e.options.fetch,index:0,inline:e.options.inline,inlineRequest:e.options.inlineRequest,inlineTimeout:e.options.inlineTimeout,localOnly:e.localOnly,rebaseTo:e.options.rebaseTo,sourcesContent:e.sourcesContent,uriToSource:o(e.inputSourceMapTracker.all()),warnings:e.warnings};return e.options.sourceMap&&e.options.sourceMapInlineSources?i(n):t()}function o(e){var t,n,r,o,i,a={};for(r in e)for(o=0,i=(t=e[r]).sources.length;o<i;o++)n=t.sources[o],r=t.sourceContentFor(n,!0),a[n]=r;return a}function i(e){var t,n,r,o=Object.keys(e.uriToSource);for(r=o.length;e.index<r;e.index++){if(t=o[e.index],!(n=e.uriToSource[t]))return a(t,e);e.sourcesContent[t]=n}return e.callback()}function a(e,t){var n;return h(e)?u(e,t,function(n){return t.index++,t.sourcesContent[e]=n,i(t)}):(n=s(e,t),t.index++,t.sourcesContent[e]=n,i(t))}function u(e,t,n){var r=f(e,!0,t.inline),o=!p(e);return t.localOnly?(t.warnings.push('Cannot fetch remote resource from "'+e+'" as no callback given.'),n(null)):o?(t.warnings.push('Cannot fetch "'+e+'" as no protocol given.'),n(null)):r?void t.fetch(e,t.inlineRequest,t.inlineTimeout,function(r,o){r&&t.warnings.push('Missing original source at "'+e+'" - '+r),n(o)}):(t.warnings.push('Cannot fetch "'+e+'" as resource is not allowed.'),n(null))}function s(e,t){var n=f(e,!1,t.inline),r=c.resolve(t.rebaseTo,e);return l.existsSync(r)&&l.statSync(r).isFile()?n?l.readFileSync(r,"utf8"):(t.warnings.push('Cannot fetch "'+r+'" as resource is not allowed.'),null):(t.warnings.push('Ignoring local source map at "'+r+'" as resource is missing.'),null)}var l=e("fs"),c=e("path"),f=e("./is-allowed-resource"),p=e("../utils/has-protocol"),h=e("../utils/is-remote-resource");t.exports=r},{"../utils/has-protocol":89,"../utils/is-remote-resource":94,"./is-allowed-resource":73,fs:3,path:112}],75:[function(e,t,n){function r(e,t,n,f){var p,h=t.protocol||t.hostname,d=!1;p=l(a.parse(e),t||{}),void 0!==t.hostname&&(p.protocol=t.protocol||c,p.path=p.href),(h&&!s(h)||u(e)?o.get:i.get)(p,function(o){var i,u=[];if(!d){if(o.statusCode<200||o.statusCode>399)return f(o.statusCode,null);if(o.statusCode>299)return i=a.resolve(e,o.headers.location),r(i,t,n,f);o.on("data",function(e){u.push(e.toString())}),o.on("end",function(){var e=u.join("");f(null,e)})}}).on("error",function(e){d||(d=!0,f(e.message,null))}).on("timeout",function(){d||(d=!0,f("timeout",null))}).setTimeout(n)}var o=e("http"),i=e("https"),a=e("url"),u=e("../utils/is-http-resource"),s=e("../utils/is-https-resource"),l=e("../utils/override"),c="http:";t.exports=r},{"../utils/is-http-resource":91,"../utils/is-https-resource":92,"../utils/override":96,http:157,https:105,url:162}],76:[function(e,t,n){function r(e){return o.exec(e)}var o=/^data:(\S*?)?(;charset=[^;]+)?(;[^,]+?)?,(.+)/;t.exports=r},{}],77:[function(e,t,n){function r(e){return e.replace(i,o)}var o="/",i=/\\/g;t.exports=r},{}],78:[function(e,t,n){(function(n,r){function o(e,t,n){return i(e,t,function(e){return x(e,t,function(){return O(t,function(){return n(e)})})})}function i(e,t,r){return"string"==typeof e?a(e,t,r):n.isBuffer(e)?a(e.toString(),t,r):Array.isArray(e)?u(e,t,r):"object"==typeof e?s(e,t,r):void 0}function a(e,t,n){return t.source=void 0,t.sourcesContent[void 0]=e,t.stats.originalSize+=e.length,d(e,t,{inline:t.options.inline},n)}function u(e,t,n){return d(e.reduce(function(e,n){return"string"==typeof n?l(n,e):c(n,t,e)},[]).join(""),t,{inline:["all"]},n)}function s(e,t,n){return d(c(e,t,[]).join(""),t,{inline:["all"]},n)}function l(e,t){return t.push(h(f(e))),t}function c(e,t,n){var r,o,i;for(r in e)i=e[r],o=f(r),n.push(h(o)),t.sourcesContent[o]=i.styles,i.sourceMap&&p(i.sourceMap,o,t);return n}function f(e){var t,n,r=E.resolve("");return N(e)?e:(t=E.isAbsolute(e)?e:E.resolve(e),n=E.relative(r,t),B(n))}function p(e,t,n){var r="string"==typeof e?JSON.parse(e):e,o=N(t)?T(r,t):D(r,t||q,n.options.rebaseTo);n.inputSourceMapTracker.track(t,o)}function h(e){return R("url("+e+")","")+M.SEMICOLON}function d(e,t,n,r){var o,i={};return t.source?N(t.source)?(i.fromBase=t.source,i.toBase=t.source):E.isAbsolute(t.source)?(i.fromBase=E.dirname(t.source),i.toBase=t.options.rebaseTo):(i.fromBase=E.dirname(E.resolve(t.source)),i.toBase=t.options.rebaseTo):(i.fromBase=E.resolve(""),i.toBase=t.options.rebaseTo),o=F(e,t),o=S(o,t.options.rebase,t.validator,i),m(n.inline)?g(o,t,n,r):r(o)}function m(e){return!(1==e.length&&"none"==e[0])}function g(e,t,n,r){return v({afterContent:!1,callback:r,errors:t.errors,externalContext:t,fetch:t.options.fetch,inlinedStylesheets:n.inlinedStylesheets||t.inlinedStylesheets,inline:n.inline,inlineRequest:t.options.inlineRequest,inlineTimeout:t.options.inlineTimeout,isRemote:n.isRemote||!1,localOnly:t.localOnly,outputTokens:[],rebaseTo:t.options.rebaseTo,sourceTokens:e,warnings:t.warnings})}function v(e){var t,n,r;for(n=0,r=e.sourceTokens.length;n<r;n++){if((t=e.sourceTokens[n])[0]==L.AT_RULE&&U(t[1]))return e.sourceTokens.splice(0,n),b(t,e);t[0]==L.AT_RULE||t[0]==L.COMMENT?e.outputTokens.push(t):(e.outputTokens.push(t),e.afterContent=!0)}return e.sourceTokens=[],e.callback(e.outputTokens)}function b(e,t){var n=C(e[1]),r=n[0],o=n[1],i=e[2];return N(r)?y(r,o,i,t):_(r,o,i,t)}function y(e,t,n,o){function i(i,a){return i?(o.errors.push('Broken @import declaration of "'+e+'" - '+i),r.nextTick(function(){o.outputTokens=o.outputTokens.concat(o.sourceTokens.slice(0,1)),o.sourceTokens=o.sourceTokens.slice(1),v(o)})):(o.inline=o.externalContext.options.inline,o.isRemote=!0,o.externalContext.source=u,o.externalContext.sourcesContent[e]=a,o.externalContext.stats.originalSize+=a.length,d(a,o.externalContext,o,function(e){return e=w(e,t,n),o.outputTokens=o.outputTokens.concat(e),o.sourceTokens=o.sourceTokens.slice(1),v(o)}))}var a=k(e,!0,o.inline),u=e,s=e in o.externalContext.sourcesContent,l=!P(e);return o.inlinedStylesheets.indexOf(e)>-1?(o.warnings.push('Ignoring remote @import of "'+e+'" as it has already been imported.'),o.sourceTokens=o.sourceTokens.slice(1),v(o)):o.localOnly&&o.afterContent?(o.warnings.push('Ignoring remote @import of "'+e+'" as no callback given and after other content.'),o.sourceTokens=o.sourceTokens.slice(1),v(o)):l?(o.warnings.push('Skipping remote @import of "'+e+'" as no protocol given.'),o.outputTokens=o.outputTokens.concat(o.sourceTokens.slice(0,1)),o.sourceTokens=o.sourceTokens.slice(1),v(o)):o.localOnly&&!s?(o.warnings.push('Skipping remote @import of "'+e+'" as no callback given.'),o.outputTokens=o.outputTokens.concat(o.sourceTokens.slice(0,1)),o.sourceTokens=o.sourceTokens.slice(1),v(o)):!a&&o.afterContent?(o.warnings.push('Ignoring remote @import of "'+e+'" as resource is not allowed and after other content.'),o.sourceTokens=o.sourceTokens.slice(1),v(o)):a?(o.inlinedStylesheets.push(e),s?i(null,o.externalContext.sourcesContent[e]):o.fetch(e,o.inlineRequest,o.inlineTimeout,i)):(o.warnings.push('Skipping remote @import of "'+e+'" as resource is not allowed.'),o.outputTokens=o.outputTokens.concat(o.sourceTokens.slice(0,1)),o.sourceTokens=o.sourceTokens.slice(1),v(o))}function _(e,t,n,r){var o,i,a=E.resolve(""),u=E.isAbsolute(e)?E.resolve(a,"/"==e[0]?e.substring(1):e):E.resolve(r.rebaseTo,e),s=E.relative(a,u),l=k(e,!1,r.inline),c=B(s),f=c in r.externalContext.sourcesContent;return r.inlinedStylesheets.indexOf(u)>-1?r.warnings.push('Ignoring local @import of "'+e+'" as it has already been imported.'):f||A.existsSync(u)&&A.statSync(u).isFile()?!l&&r.afterContent?r.warnings.push('Ignoring local @import of "'+e+'" as resource is not allowed and after other content.'):r.afterContent?r.warnings.push('Ignoring local @import of "'+e+'" as after other content.'):l?(o=f?r.externalContext.sourcesContent[c]:A.readFileSync(u,"utf-8"),r.inlinedStylesheets.push(u),r.inline=r.externalContext.options.inline,r.externalContext.source=c,r.externalContext.sourcesContent[c]=o,r.externalContext.stats.originalSize+=o.length,i=w(i=d(o,r.externalContext,r,function(e){return e}),t,n),r.outputTokens=r.outputTokens.concat(i)):(r.warnings.push('Skipping local @import of "'+e+'" as resource is not allowed.'),r.outputTokens=r.outputTokens.concat(r.sourceTokens.slice(0,1))):r.errors.push('Ignoring local @import of "'+e+'" as resource is missing.'),r.sourceTokens=r.sourceTokens.slice(1),v(r)}function w(e,t,n){return t?[[L.NESTED_BLOCK,[[L.NESTED_BLOCK_SCOPE,"@media "+t,n]],e]]:e}var A=e("fs"),E=e("path"),x=e("./apply-source-maps"),C=e("./extract-import-url-and-media"),k=e("./is-allowed-resource"),O=e("./load-original-sources"),B=e("./normalize-path"),S=e("./rebase"),D=e("./rebase-local-map"),T=e("./rebase-remote-map"),R=e("./restore-import"),F=e("../tokenizer/tokenize"),L=e("../tokenizer/token"),M=e("../tokenizer/marker"),P=e("../utils/has-protocol"),U=e("../utils/is-import"),N=e("../utils/is-remote-resource"),q="uri:unknown";t.exports=o}).call(this,{isBuffer:e("../../../is-buffer/index.js")},e("_process"))},{"../../../is-buffer/index.js":108,"../tokenizer/marker":84,"../tokenizer/token":85,"../tokenizer/tokenize":86,"../utils/has-protocol":89,"../utils/is-import":93,"../utils/is-remote-resource":94,"./apply-source-maps":70,"./extract-import-url-and-media":71,"./is-allowed-resource":73,"./load-original-sources":74,"./normalize-path":77,"./rebase":81,"./rebase-local-map":79,"./rebase-remote-map":80,"./restore-import":82,_process:114,fs:3,path:112}],79:[function(e,t,n){function r(e,t,n){var r=o.resolve(""),i=o.resolve(r,t),a=o.dirname(i);return e.sources=e.sources.map(function(e){return o.relative(n,o.resolve(a,e))}),e}var o=e("path");t.exports=r},{path:112}],80:[function(e,t,n){function r(e,t){var n=o.dirname(t);return e.sources=e.sources.map(function(e){return i.resolve(n,e)}),e}var o=e("path"),i=e("url");t.exports=r},{path:112,url:162}],81:[function(e,t,n){function r(e,t,n,r){return t?o(e,n,r):i(e,n,r)}function o(e,t,n){var r,i,l;for(i=0,l=e.length;i<l;i++)switch((r=e[i])[0]){case p.AT_RULE:a(r,t,n);break;case p.AT_RULE_BLOCK:s(r[2],t,n);break;case p.COMMENT:u(r,n);break;case p.NESTED_BLOCK:o(r[2],t,n);break;case p.RULE:s(r[2],t,n)}return e}function i(e,t,n){var r,o,i;for(o=0,i=e.length;o<i;o++)switch((r=e[o])[0]){case p.AT_RULE:a(r,t,n)}return e}function a(e,t,n){if(h(e[1])){var r=l(e[1]),o=f(r[0],n),i=r[1];e[1]=c(o,i)}}function u(e,t){var n=d.exec(e[1]);n&&-1===n[1].indexOf("data:")&&(e[1]=e[1].replace(n[1],f(n[1],t,!0)))}function s(e,t,n){var r,o,i,a,u,s;for(i=0,a=e.length;i<a;i++)for(u=2,s=(r=e[i]).length;u<s;u++)o=r[u][1],t.isUrl(o)&&(r[u][1]=f(o,n))}var l=e("./extract-import-url-and-media"),c=e("./restore-import"),f=e("./rewrite-url"),p=e("../tokenizer/token"),h=e("../utils/is-import"),d=/^\/\*# sourceMappingURL=(\S+) \*\/$/;t.exports=r},{"../tokenizer/token":85,"../utils/is-import":93,"./extract-import-url-and-media":71,"./restore-import":82,"./rewrite-url":83}],82:[function(e,t,n){function r(e,t){return("@import "+e+" "+t).trim()}t.exports=r},{}],83:[function(e,t,n){(function(n){function r(e,t){return t?o(e)&&!u(t.toBase)?e:u(e)||i(e)||a(e)?e:s(e)?"'"+e+"'":u(t.toBase)?v.resolve(t.toBase,e):f(t.absolute?l(e,t):c(e,t)):e}function o(e){return g.isAbsolute(e)}function i(e){return"#"==e[0]}function a(e){return/^\w+:\w+/.test(e)}function u(e){return/^[^:]+?:\/\//.test(e)||0===e.indexOf("//")}function s(e){return 0===e.indexOf("data:")}function l(e,t){return g.resolve(g.join(t.fromBase||"",e)).replace(t.toBase,"")}function c(e,t){return g.relative(t.toBase,g.join(t.fromBase||"",e))}function f(e){return B?e.replace(/\\/g,"/"):e}function p(e){return e.indexOf(y)>-1?b:e.indexOf(b)>-1?y:h(e)||d(e)?y:""}function h(e){return O.test(e)}function d(e){return x.test(e)}function m(e,t,n){var o=e.replace(C,"").replace(k,"").trim(),i=o.replace(A,"").replace(E,"").trim(),a=o[0]==y||o[0]==b?o[0]:p(i);return n?r(i,t):_+a+r(i,t)+a+w}var g=e("path"),v=e("url"),b='"',y="'",_="url(",w=")",A=/^["']/,E=/["']$/,x=/[\(\)]/,C=/^url\(/i,k=/\)$/,O=/\s/,B="win32"==n.platform;t.exports=m}).call(this,e("_process"))},{_process:114,path:112,url:162}],84:[function(e,t,n){var r={ASTERISK:"*",AT:"@",BACK_SLASH:"\\",CLOSE_CURLY_BRACKET:"}",CLOSE_ROUND_BRACKET:")",CLOSE_SQUARE_BRACKET:"]",COLON:":",COMMA:",",DOUBLE_QUOTE:'"',EXCLAMATION:"!",FORWARD_SLASH:"/",INTERNAL:"-clean-css-",NEW_LINE_NIX:"\n",NEW_LINE_WIN:"\r",OPEN_CURLY_BRACKET:"{",OPEN_ROUND_BRACKET:"(",OPEN_SQUARE_BRACKET:"[",SEMICOLON:";",SINGLE_QUOTE:"'",SPACE:" ",TAB:"\t",UNDERSCORE:"_"};t.exports=r},{}],85:[function(e,t,n){var r={AT_RULE:"at-rule",AT_RULE_BLOCK:"at-rule-block",AT_RULE_BLOCK_SCOPE:"at-rule-block-scope",COMMENT:"comment",NESTED_BLOCK:"nested-block",NESTED_BLOCK_SCOPE:"nested-block-scope",PROPERTY:"property",PROPERTY_BLOCK:"property-block",PROPERTY_NAME:"property-name",PROPERTY_VALUE:"property-value",RULE:"rule",RULE_SCOPE:"rule-scope"};t.exports=r},{}],86:[function(e,t,n){function r(e,t){return o(e,t,{level:p.BLOCK,position:{source:t.source||void 0,line:1,column:0,index:0}},!1)}function o(e,t,n,r){for(var h,d,m,g,b,y,_,w,A,E,x,C,k=[],O=k,B=[],S=[],D=n.level,T=[],R=[],F=[],L=0,M=!1,P=!1,U=!1,N=!1,q=n.position;q.index<e.length;q.index++){var z=e[q.index];if(y=D==p.SINGLE_QUOTE||D==p.DOUBLE_QUOTE,_=z==l.SPACE||z==l.TAB,w=z==l.NEW_LINE_NIX,A=z==l.NEW_LINE_NIX&&e[q.index-1]==l.NEW_LINE_WIN,E=!P&&D!=p.COMMENT&&!y&&z==l.ASTERISK&&e[q.index-1]==l.FORWARD_SLASH,x=!M&&D==p.COMMENT&&z==l.FORWARD_SLASH&&e[q.index-1]==l.ASTERISK,g=0===R.length?[q.line,q.column,q.source]:g,C)R.push(z);else if(x||D!=p.COMMENT)if(E&&(D==p.BLOCK||D==p.RULE)&&R.length>1)S.push(g),R.push(z),F.push(R.slice(0,R.length-2)),R=R.slice(R.length-2),g=[q.line,q.column-1,q.source],T.push(D),D=p.COMMENT;else if(E)T.push(D),D=p.COMMENT,R.push(z);else if(x)b=R.join("").trim()+z,h=[c.COMMENT,b,[i(g,b,t)]],O.push(h),D=T.pop(),g=S.pop()||null,R=F.pop()||[];else if(z!=l.SINGLE_QUOTE||y)if(z==l.SINGLE_QUOTE&&D==p.SINGLE_QUOTE)D=T.pop(),R.push(z);else if(z!=l.DOUBLE_QUOTE||y)if(z==l.DOUBLE_QUOTE&&D==p.DOUBLE_QUOTE)D=T.pop(),R.push(z);else if(!E&&!x&&z!=l.CLOSE_ROUND_BRACKET&&z!=l.OPEN_ROUND_BRACKET&&D!=p.COMMENT&&!y&&L>0)R.push(z);else if(z!=l.OPEN_ROUND_BRACKET||y||D==p.COMMENT||U)if(z!=l.CLOSE_ROUND_BRACKET||y||D==p.COMMENT||U)if(z==l.SEMICOLON&&D==p.BLOCK&&R[0]==l.AT)b=R.join("").trim(),k.push([c.AT_RULE,b,[i(g,b,t)]]),R=[];else if(z==l.COMMA&&D==p.BLOCK&&d)b=R.join("").trim(),d[1].push([u(d[0]),b,[i(g,b,t,d[1].length)]]),R=[];else if(z==l.COMMA&&D==p.BLOCK&&a(R)==c.AT_RULE)R.push(z);else if(z==l.COMMA&&D==p.BLOCK)d=[a(R),[],[]],b=R.join("").trim(),d[1].push([u(d[0]),b,[i(g,b,t,0)]]),R=[];else if(z==l.OPEN_CURLY_BRACKET&&D==p.BLOCK&&d&&d[0]==c.NESTED_BLOCK)b=R.join("").trim(),d[1].push([c.NESTED_BLOCK_SCOPE,b,[i(g,b,t)]]),k.push(d),T.push(D),q.column++,q.index++,R=[],d[2]=o(e,t,n,!0),d=null;else if(z==l.OPEN_CURLY_BRACKET&&D==p.BLOCK&&a(R)==c.NESTED_BLOCK)b=R.join("").trim(),(d=d||[c.NESTED_BLOCK,[],[]])[1].push([c.NESTED_BLOCK_SCOPE,b,[i(g,b,t)]]),k.push(d),T.push(D),q.column++,q.index++,R=[],d[2]=o(e,t,n,!0),d=null;else if(z==l.OPEN_CURLY_BRACKET&&D==p.BLOCK)b=R.join("").trim(),(d=d||[a(R),[],[]])[1].push([u(d[0]),b,[i(g,b,t,d[1].length)]]),O=d[2],k.push(d),T.push(D),D=p.RULE,R=[];else if(z==l.OPEN_CURLY_BRACKET&&D==p.RULE&&U)B.push(d),d=[c.PROPERTY_BLOCK,[]],m.push(d),O=d[1],T.push(D),D=p.RULE,U=!1;else if(z!=l.COLON||D!=p.RULE||U)if(z==l.SEMICOLON&&D==p.RULE&&m&&B.length>0&&R.length>0&&R[0]==l.AT)b=R.join("").trim(),d[1].push([c.AT_RULE,b,[i(g,b,t)]]),R=[];else if(z==l.SEMICOLON&&D==p.RULE&&m&&R.length>0)b=R.join("").trim(),m.push([c.PROPERTY_VALUE,b,[i(g,b,t)]]),m=null,U=!1,R=[];else if(z==l.SEMICOLON&&D==p.RULE&&m&&0===R.length)m=null,U=!1;else if(z==l.SEMICOLON&&D==p.RULE&&R.length>0&&R[0]==l.AT)b=R.join(""),O.push([c.AT_RULE,b,[i(g,b,t)]]),U=!1,R=[];else if(z==l.SEMICOLON&&D==p.RULE&&N)N=!1,R=[];else if(z==l.SEMICOLON&&D==p.RULE&&0===R.length);else if(z==l.CLOSE_CURLY_BRACKET&&D==p.RULE&&m&&U&&R.length>0&&B.length>0)b=R.join(""),m.push([c.PROPERTY_VALUE,b,[i(g,b,t)]]),m=null,O=(d=B.pop())[2],D=T.pop(),U=!1,R=[];else if(z==l.CLOSE_CURLY_BRACKET&&D==p.RULE&&m&&R.length>0&&R[0]==l.AT&&B.length>0)b=R.join(""),d[1].push([c.AT_RULE,b,[i(g,b,t)]]),m=null,O=(d=B.pop())[2],D=T.pop(),U=!1,R=[];else if(z==l.CLOSE_CURLY_BRACKET&&D==p.RULE&&m&&B.length>0)m=null,O=(d=B.pop())[2],D=T.pop(),U=!1;else if(z==l.CLOSE_CURLY_BRACKET&&D==p.RULE&&m&&R.length>0)b=R.join(""),m.push([c.PROPERTY_VALUE,b,[i(g,b,t)]]),m=null,d=B.pop(),O=k,D=T.pop(),U=!1,R=[];else if(z==l.CLOSE_CURLY_BRACKET&&D==p.RULE&&R.length>0&&R[0]==l.AT)m=null,d=null,b=R.join("").trim(),O.push([c.AT_RULE,b,[i(g,b,t)]]),O=k,D=T.pop(),U=!1,R=[];else if(z==l.CLOSE_CURLY_BRACKET&&D==p.RULE&&T[T.length-1]==p.RULE)m=null,O=(d=B.pop())[2],D=T.pop(),U=!1,N=!0,R=[];else if(z==l.CLOSE_CURLY_BRACKET&&D==p.RULE)m=null,d=null,O=k,D=T.pop(),U=!1;else if(z==l.CLOSE_CURLY_BRACKET&&D==p.BLOCK&&!r&&q.index<=e.length-1)t.warnings.push("Unexpected '}' at "+f([q.line,q.column,q.source])+"."),R.push(z);else{if(z==l.CLOSE_CURLY_BRACKET&&D==p.BLOCK)break;z==l.OPEN_ROUND_BRACKET&&D==p.RULE&&U?(R.push(z),L++):z==l.CLOSE_ROUND_BRACKET&&D==p.RULE&&U&&1==L?(R.push(z),b=R.join("").trim(),m.push([c.PROPERTY_VALUE,b,[i(g,b,t)]]),L--,R=[]):z==l.CLOSE_ROUND_BRACKET&&D==p.RULE&&U?(R.push(z),L--):z==l.FORWARD_SLASH&&e[q.index+1]!=l.ASTERISK&&D==p.RULE&&U&&R.length>0?(b=R.join("").trim(),m.push([c.PROPERTY_VALUE,b,[i(g,b,t)]]),m.push([c.PROPERTY_VALUE,z,[[q.line,q.column,q.source]]]),R=[]):z==l.FORWARD_SLASH&&e[q.index+1]!=l.ASTERISK&&D==p.RULE&&U?(m.push([c.PROPERTY_VALUE,z,[[q.line,q.column,q.source]]]),R=[]):z==l.COMMA&&D==p.RULE&&U&&R.length>0?(b=R.join("").trim(),m.push([c.PROPERTY_VALUE,b,[i(g,b,t)]]),m.push([c.PROPERTY_VALUE,z,[[q.line,q.column,q.source]]]),R=[]):z==l.COMMA&&D==p.RULE&&U?(m.push([c.PROPERTY_VALUE,z,[[q.line,q.column,q.source]]]),R=[]):z==l.CLOSE_SQUARE_BRACKET&&m&&m.length>1&&R.length>0&&s(R)?(R.push(z),b=R.join("").trim(),m[m.length-1][1]+=b,R=[]):(_||w&&!A)&&D==p.RULE&&U&&m&&R.length>0?(b=R.join("").trim(),m.push([c.PROPERTY_VALUE,b,[i(g,b,t)]]),R=[]):A&&D==p.RULE&&U&&m&&R.length>1?(b=R.join("").trim(),m.push([c.PROPERTY_VALUE,b,[i(g,b,t)]]),R=[]):A&&D==p.RULE&&U?R=[]:1==R.length&&A?R.pop():(R.length>0||!_&&!w&&!A)&&R.push(z)}else b=R.join("").trim(),m=[c.PROPERTY,[c.PROPERTY_NAME,b,[i(g,b,t)]]],O.push(m),U=!0,R=[];else R.push(z),L--;else R.push(z),L++;else T.push(D),D=p.DOUBLE_QUOTE,R.push(z);else T.push(D),D=p.SINGLE_QUOTE,R.push(z);else R.push(z);C=!C&&z==l.BACK_SLASH,M=E,P=x,q.line=A||w?q.line+1:q.line,q.column=A||w?0:q.column+1}return U&&t.warnings.push("Missing '}' at "+f([q.line,q.column,q.source])+"."),U&&R.length>0&&(b=R.join("").replace(v,""),m.push([c.PROPERTY_VALUE,b,[i(g,b,t)]]),R=[]),R.length>0&&t.warnings.push("Invalid character(s) '"+R.join("")+"' at "+f(g)+". Ignoring."),k}function i(e,t,n,r){var o=e[2];return n.inputSourceMapTracker.isTracking(o)?n.inputSourceMapTracker.originalPositionFor(e,t.length,r):e}function a(e){var t=e[0]==l.AT||e[0]==l.UNDERSCORE,n=e.join("").split(g)[0];return t&&d.indexOf(n)>-1?c.NESTED_BLOCK:t&&h.indexOf(n)>-1?c.AT_RULE:t?c.AT_RULE_BLOCK:c.RULE}function u(e){return e==c.RULE?c.RULE_SCOPE:e==c.NESTED_BLOCK?c.NESTED_BLOCK_SCOPE:e==c.AT_RULE_BLOCK?c.AT_RULE_BLOCK_SCOPE:void 0}function s(e){return m.test(e.join("")+l.CLOSE_SQUARE_BRACKET)}var l=e("./marker"),c=e("./token"),f=e("../utils/format-position"),p={BLOCK:"block",COMMENT:"comment",DOUBLE_QUOTE:"double-quote",RULE:"rule",SINGLE_QUOTE:"single-quote"},h=["@charset","@import"],d=["@-moz-document","@document","@-moz-keyframes","@-ms-keyframes","@-o-keyframes","@-webkit-keyframes","@keyframes","@media","@supports"],m=/^\[\s*\d+\s*\]$/,g=/[\s\(]/,v=/[\s|\}]*$/;t.exports=r},{"../utils/format-position":88,"./marker":84,"./token":85}],87:[function(e,t,n){function r(e){for(var t=e.slice(0),n=0,o=t.length;n<o;n++)Array.isArray(t[n])&&(t[n]=r(t[n]));return t}t.exports=r},{}],88:[function(e,t,n){function r(e){var t=e[0],n=e[1],r=e[2];return r?r+":"+t+":"+n:t+":"+n}t.exports=r},{}],89:[function(e,t,n){function r(e){return!o.test(e)}var o=/^\/\//;t.exports=r},{}],90:[function(e,t,n){function r(e){return o.test(e)}var o=/^data:(\S*?)?(;charset=[^;]+)?(;[^,]+?)?,(.+)/;t.exports=r},{}],91:[function(e,t,n){function r(e){return o.test(e)}var o=/^http:\/\//;t.exports=r},{}],92:[function(e,t,n){function r(e){return o.test(e)}var o=/^https:\/\//;t.exports=r},{}],93:[function(e,t,n){function r(e){return o.test(e)}var o=/^@import/i;t.exports=r},{}],94:[function(e,t,n){function r(e){return o.test(e)}var o=/^(\w+:\/\/|\/\/)/;t.exports=r},{}],95:[function(e,t,n){function r(e,t){var n,r,a,u,s=(""+e).split(i).map(o),l=(""+t).split(i).map(o);for(a=0,u=Math.min(s.length,l.length);a<u;a++)if(n=s[a],r=l[a],n!=r)return n>r?1:-1;return s.length>l.length?1:s.length==l.length?0:-1}function o(e){return""+parseInt(e)==e?parseInt(e):e}var i=/([0-9]+)/;t.exports=r},{}],96:[function(e,t,n){function r(e,t){var n,o,i,a={};for(n in e)i=e[n],Array.isArray(i)?a[n]=i.slice(0):a[n]="object"==typeof i&&null!==i?r(i,{}):i;for(o in t)i=t[o],o in a&&Array.isArray(i)?a[o]=i.slice(0):a[o]=o in a&&"object"==typeof i&&null!==i?r(a[o],i):i;return a}t.exports=r},{}],97:[function(e,t,n){function r(e,t){var n,r=o.OPEN_ROUND_BRACKET,i=o.CLOSE_ROUND_BRACKET,a=0,u=0,s=0,l=e.length,c=[];if(-1==e.indexOf(t))return[e];if(-1==e.indexOf(r))return e.split(t);for(;u<l;)e[u]==r?a++:e[u]==i&&a--,0===a&&u>0&&u+1<l&&e[u]==t&&(c.push(e.substring(s,u)),s=u+1),u++;return s<u+1&&((n=e.substring(s))[n.length-1]==t&&(n=n.substring(0,n.length-1)),c.push(n)),c}var o=e("../tokenizer/marker");t.exports=r},{"../tokenizer/marker":84}],98:[function(e,t,n){function r(e){return"background"==e[1][1]||"transform"==e[1][1]||"src"==e[1][1]}function o(e,t){return e[t][1][e[t][1].length-1]==B.CLOSE_ROUND_BRACKET}function i(e,t){return e[t][1]==B.COMMA}function a(e,t){return e[t][1]==B.FORWARD_SLASH}function u(e,t){return e[t+1]&&e[t+1][1]==B.COMMA}function s(e,t){return e[t+1]&&e[t+1][1]==B.FORWARD_SLASH}function l(e){return"filter"==e[1][1]||"-ms-filter"==e[1][1]}function c(e,t,n){return!e.spaceAfterClosingBrace&&r(t)&&o(t,n)||s(t,n)||a(t,n)||u(t,n)||i(t,n)}function f(e,t){for(var n=e.store,r=0,o=t.length;r<o;r++)n(e,t[r]),r<o-1&&n(e,A(e))}function p(e,t){for(var n=h(t),r=0,o=t.length;r<o;r++)d(e,t,r,n)}function h(e){for(var t=e.length-1;t>=0&&e[t][0]==S.COMMENT;t--);return t}function d(e,t,n,r){var o=e.store,i=t[n],a=i[2][0]==S.PROPERTY_BLOCK,u=n<r||a,s=n===r;switch(i[0]){case S.AT_RULE:o(e,i),o(e,w(e,k.AfterProperty,!1));break;case S.COMMENT:o(e,i);break;case S.PROPERTY:o(e,i[1]),o(e,_(e)),m(e,i),o(e,u?w(e,k.AfterProperty,s):C)}}function m(e,t){var n,r,o=e.store;if(t[2][0]==S.PROPERTY_BLOCK)o(e,b(e,k.AfterBlockBegins,!1)),p(e,t[2][1]),o(e,y(e,k.AfterBlockEnds,!1,!0));else for(n=2,r=t.length;n<r;n++)o(e,t[n]),n<r-1&&(l(t)||!c(e,t,n))&&o(e,B.SPACE)}function g(e,t){return e.format&&e.format.breaks[t]}function v(e,t){return e.format&&e.format.spaces[t]}function b(e,t,n){return e.format?(e.indentBy+=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),(n&&v(e,O.BeforeBlockBegins)?B.SPACE:C)+B.OPEN_CURLY_BRACKET+(g(e,t)?x:C)+e.indentWith):B.OPEN_CURLY_BRACKET}function y(e,t,n,r){return e.format?(e.indentBy-=e.format.indentBy,e.indentWith=e.format.indentWith.repeat(e.indentBy),(g(e,k.AfterProperty)||n&&g(e,k.BeforeBlockEnds)?x:C)+e.indentWith+B.CLOSE_CURLY_BRACKET+(r?C:(g(e,t)?x:C)+e.indentWith)):B.CLOSE_CURLY_BRACKET}function _(e){return e.format?B.COLON+(v(e,O.BeforeValue)?B.SPACE:C):B.COLON}function w(e,t,n){return e.format?B.SEMICOLON+(n||!g(e,t)?C:x+e.indentWith):B.SEMICOLON}function A(e){return e.format?B.COMMA+(g(e,k.BetweenSelectors)?x:C)+e.indentWith:B.COMMA}function E(e,t){var n,r,o,i,a=e.store;for(o=0,i=t.length;o<i;o++)switch(n=t[o],r=o==i-1,n[0]){case S.AT_RULE:a(e,n),a(e,w(e,k.AfterAtRule,r));break;case S.AT_RULE_BLOCK:f(e,n[1]),a(e,b(e,k.AfterRuleBegins,!0)),p(e,n[2]),a(e,y(e,k.AfterRuleEnds,!1,r));break;case S.NESTED_BLOCK:f(e,n[1]),a(e,b(e,k.AfterBlockBegins,!0)),E(e,n[2]),a(e,y(e,k.AfterBlockEnds,!0,r));break;case S.COMMENT:a(e,n),a(e,g(e,k.AfterComment)?x:C);break;case S.RULE:f(e,n[1]),a(e,b(e,k.AfterRuleBegins,!0)),p(e,n[2]),a(e,y(e,k.AfterRuleEnds,!1,r))}}var x=e("os").EOL,C="",k=e("../options/format").Breaks,O=e("../options/format").Spaces,B=e("../tokenizer/marker"),S=e("../tokenizer/token");t.exports={all:E,body:p,property:d,rules:f,value:m}},{"../options/format":62,"../tokenizer/marker":84,"../tokenizer/token":85,os:111}],99:[function(e,t,n){function r(e,t){e.output.push("string"==typeof t?t:t[1])}function o(){return{output:[],store:r}}function i(e){var t=o();return c.all(t,e),t.output.join("")}function a(e){var t=o();return c.body(t,e),t.output.join("")}function u(e,t){var n=o();return c.property(n,e,t,!0),n.output.join("")}function s(e){var t=o();return c.rules(t,e),t.output.join("")}function l(e){var t=o();return c.value(t,e),t.output.join("")}var c=e("./helpers");t.exports={all:i,body:a,property:u,rules:s,value:l}},{"./helpers":98}],100:[function(e,t,n){function r(e,t){var n="string"==typeof t?t:t[1];(0,e.wrap)(e,n),i(e,n),e.output.push(n)}function o(e,t){e.column+t.length>e.format.wrapAt&&(i(e,s),e.output.push(s))}function i(e,t){var n=t.split("\n");e.line+=n.length-1,e.column=n.length>1?0:e.column+n.pop().length}function a(e,t){var n={column:0,format:t.options.format,indentBy:0,indentWith:"",line:1,output:[],spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:r,wrap:t.options.format.wrapAt?o:function(){}};return u(n,e),{styles:n.output.join("")}}var u=e("./helpers").all,s=e("os").EOL;t.exports=a},{"./helpers":98,os:111}],101:[function(e,t,n){(function(n){function r(e,t){var n="string"==typeof t,r=n?t:t[1],o=n?null:t[2];(0,e.wrap)(e,r),i(e,r,o),e.output.push(r)}function o(e,t){e.column+t.length>e.format.wrapAt&&(i(e,f,!1),e.output.push(f))}function i(e,t,n){var r=t.split("\n");n&&a(e,n),e.line+=r.length-1,e.column=r.length>1?0:e.column+r.pop().length}function a(e,t){for(var n=0,r=t.length;n<r;n++)u(e,t[n])}function u(e,t){var n=t[0],r=t[1],o=t[2],i=o,a=i||m;h&&i&&!p(i)&&(a=i.replace(d,g)),e.outputMap.addMapping({generated:{line:e.line,column:e.column},source:a,original:{line:n,column:r}}),e.inlineSources&&o in e.sourcesContent&&e.outputMap.setSourceContent(a,e.sourcesContent[o])}function s(e,t){var n={column:0,format:t.options.format,indentBy:0,indentWith:"",inlineSources:t.options.sourceMapInlineSources,line:1,output:[],outputMap:new l,sourcesContent:t.sourcesContent,spaceAfterClosingBrace:t.options.compatibility.properties.spaceAfterClosingBrace,store:r,wrap:t.options.format.wrapAt?o:function(){}};return c(n,e),{sourceMap:n.outputMap,styles:n.output.join("")}}var l=e("source-map").SourceMapGenerator,c=e("./helpers").all,f=e("os").EOL,p=e("../utils/is-remote-resource"),h="win32"==n.platform,d=/\//g,m="$stdin",g="\\";t.exports=s}).call(this,e("_process"))},{"../utils/is-remote-resource":94,"./helpers":98,_process:114,os:111,"source-map":156}],102:[function(e,t,n){(function(e){function t(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function r(e){return"boolean"==typeof e}function o(e){return null===e}function i(e){return null==e}function a(e){return"number"==typeof e}function u(e){return"string"==typeof e}function s(e){return"symbol"==typeof e}function l(e){return void 0===e}function c(e){return"[object RegExp]"===g(e)}function f(e){return"object"==typeof e&&null!==e}function p(e){return"[object Date]"===g(e)}function h(e){return"[object Error]"===g(e)||e instanceof Error}function d(e){return"function"==typeof e}function m(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function g(e){return Object.prototype.toString.call(e)}n.isArray=t,n.isBoolean=r,n.isNull=o,n.isNullOrUndefined=i,n.isNumber=a,n.isString=u,n.isSymbol=s,n.isUndefined=l,n.isRegExp=c,n.isObject=f,n.isDate=p,n.isError=h,n.isFunction=d,n.isPrimitive=m,n.isBuffer=e.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":108}],103:[function(e,t,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(e){return"function"==typeof e}function i(e){return"number"==typeof e}function a(e){return"object"==typeof e&&null!==e}function u(e){return void 0===e}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!i(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,n,r,i,s,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||a(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}if(n=this._events[e],u(n))return!1;if(o(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),n.apply(this,i)}else if(a(n))for(i=Array.prototype.slice.call(arguments,1),r=(l=n.slice()).length,s=0;s<r;s++)l[s].apply(this,i);return!0},r.prototype.addListener=function(e,t){var n;if(!o(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,o(t.listener)?t.listener:t),this._events[e]?a(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,a(this._events[e])&&!this._events[e].warned&&(n=u(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}if(!o(t))throw TypeError("listener must be a function");var r=!1;return n.listener=t,this.on(e,n),this},r.prototype.removeListener=function(e,t){var n,r,i,u;if(!o(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],i=n.length,r=-1,n===t||o(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(a(n)){for(u=i;u-- >0;)if(n[u]===t||n[u].listener&&n[u].listener===t){r=u;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],o(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?o(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(o(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},{}],104:[function(e,t,n){(function(e){!function(r){var o="object"==typeof n&&n,i="object"==typeof t&&t&&t.exports==o&&t,a="object"==typeof e&&e;a.global!==a&&a.window!==a||(r=a);var u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,f={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},p=/["&'<>`]/g,h={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},d=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,m=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)([=a-zA-Z0-9])?/g,v={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},b={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},y={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},_=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],w=String.fromCharCode,A={}.hasOwnProperty,E=function(e,t){return A.call(e,t)},x=function(e,t){for(var n=-1,r=e.length;++n<r;)if(e[n]==t)return!0;return!1},C=function(e,t){if(!e)return t;var n,r={};for(n in t)r[n]=E(e,n)?e[n]:t[n];return r},k=function(e,t){var n="";return e>=55296&&e<=57343||e>1114111?(t&&S("character reference outside the permissible Unicode range"),"�"):E(y,e)?(t&&S("disallowed character reference"),y[e]):(t&&x(_,e)&&S("disallowed character reference"),e>65535&&(n+=w((e-=65536)>>>10&1023|55296),e=56320|1023&e),n+=w(e))},O=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},B=function(e){return"&#"+e+";"},S=function(e){throw Error("Parse error: "+e)},D=function(e,t){(t=C(t,D.options)).strict&&m.test(e)&&S("forbidden code point");var n=t.encodeEverything,r=t.useNamedReferences,o=t.allowUnsafeSymbols,i=t.decimal?B:O,a=function(e){return i(e.charCodeAt(0))};return n?(e=e.replace(s,function(e){return r&&E(f,e)?"&"+f[e]+";":a(e)}),r&&(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),r&&(e=e.replace(c,function(e){return"&"+f[e]+";"}))):r?(o||(e=e.replace(p,function(e){return"&"+f[e]+";"})),e=(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(c,function(e){return"&"+f[e]+";"})):o||(e=e.replace(p,a)),e.replace(u,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return i(1024*(t-55296)+n-56320+65536)}).replace(l,a)};D.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var T=function(e,t){var n=(t=C(t,T.options)).strict;return n&&d.test(e)&&S("malformed character reference"),e.replace(g,function(e,r,o,i,a,u,s,l){var c,f,p,h,d,m;return r?(p=r,f=o,n&&!f&&S("character reference was not terminated by a semicolon"),c=parseInt(p,10),k(c,n)):i?(h=i,f=a,n&&!f&&S("character reference was not terminated by a semicolon"),c=parseInt(h,16),k(c,n)):u?(d=u,E(v,d)?v[d]:(n&&S("named character reference was not terminated by a semicolon"),e)):(d=s,m=l,m&&t.isAttributeValue?(n&&"="==m&&S("`&` did not start a character reference"),e):(n&&S("named character reference was not terminated by a semicolon"),b[d]+(m||"")))})};T.options={isAttributeValue:!1,strict:!1};var R={version:"1.1.1",encode:D,decode:T,escape:function(e){return e.replace(p,function(e){return h[e]})},unescape:T};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)define(function(){return R});else if(o&&!o.nodeType)if(i)i.exports=R;else for(var F in R)E(R,F)&&(o[F]=R[F]);else r.he=R}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],105:[function(e,t,n){var r=e("http"),o=t.exports;for(var i in r)r.hasOwnProperty(i)&&(o[i]=r[i]);o.request=function(e,t){return e||(e={}),e.scheme="https",e.protocol="https:",r.request.call(this,e,t)}},{http:157}],106:[function(e,t,n){n.read=function(e,t,n,r,o){var i,a,u=8*o-r-1,s=(1<<u)-1,l=s>>1,c=-7,f=n?o-1:0,p=n?-1:1,h=e[t+f];for(f+=p,i=h&(1<<-c)-1,h>>=-c,c+=u;c>0;i=256*i+e[t+f],f+=p,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=p,c-=8);if(0===i)i=1-l;else{if(i===s)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),i-=l}return(h?-1:1)*a*Math.pow(2,i-r)},n.write=function(e,t,n,r,o,i){var a,u,s,l=8*i-o-1,c=(1<<l)-1,f=c>>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:i-1,d=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),(t+=a+f>=1?p/s:p*Math.pow(2,1-f))*s>=2&&(a++,s/=2),a+f>=c?(u=0,a=c):a+f>=1?(u=(t*s-1)*Math.pow(2,o),a+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+h]=255&u,h+=d,u/=256,o-=8);for(a=a<<o|u,l+=o;l>0;e[n+h]=255&a,h+=d,a/=256,l-=8);e[n+h-d]|=128*m}},{}],107:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],108:[function(e,t,n){function r(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function o(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&r(e.slice(0,0))}t.exports=function(e){return null!=e&&(r(e)||o(e)||!!e._isBuffer)}},{}],109:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],110:[function(e,t,n){"use strict";function r(e){return e.source.slice(1,-1)}var o=e("xml-char-classes");t.exports=new RegExp("^["+r(o.letter)+"_]["+r(o.letter)+r(o.digit)+"\\.\\-_"+r(o.combiningChar)+r(o.extender)+"]*$")},{"xml-char-classes":165}],111:[function(e,t,n){n.endianness=function(){return"LE"},n.hostname=function(){return"undefined"!=typeof location?location.hostname:""},n.loadavg=function(){return[]},n.uptime=function(){return 0},n.freemem=function(){return Number.MAX_VALUE},n.totalmem=function(){return Number.MAX_VALUE},n.cpus=function(){return[]},n.type=function(){return"Browser"},n.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},n.networkInterfaces=n.getNetworkInterfaces=function(){return{}},n.arch=function(){return"javascript"},n.platform=function(){return"browser"},n.tmpdir=n.tmpDir=function(){return"/tmp"},n.EOL="\n"},{}],112:[function(e,t,n){(function(e){function t(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?e.splice(r,1):".."===o?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}var o=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,i=function(e){return o.exec(e).slice(1)};n.resolve=function(){for(var n="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(n=a+"/"+n,o="/"===a.charAt(0))}return n=t(r(n.split("/"),function(e){return!!e}),!o).join("/"),(o?"/":"")+n||"."},n.normalize=function(e){var o=n.isAbsolute(e),i="/"===a(e,-1);return(e=t(r(e.split("/"),function(e){return!!e}),!o).join("/"))||o||(e="."),e&&i&&(e+="/"),(o?"/":"")+e},n.isAbsolute=function(e){return"/"===e.charAt(0)},n.join=function(){var e=Array.prototype.slice.call(arguments,0);return n.normalize(r(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},n.relative=function(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(var o=r(e.split("/")),i=r(t.split("/")),a=Math.min(o.length,i.length),u=a,s=0;s<a;s++)if(o[s]!==i[s]){u=s;break}for(var l=[],s=u;s<o.length;s++)l.push("..");return(l=l.concat(i.slice(u))).join("/")},n.sep="/",n.delimiter=":",n.dirname=function(e){var t=i(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},n.basename=function(e,t){var n=i(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},n.extname=function(e){return i(e)[3]};var a="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,e("_process"))},{_process:114}],113:[function(e,t,n){(function(e){"use strict";function n(t,n,r,o){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var i,a,u=arguments.length;switch(u){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,n)});case 3:return e.nextTick(function(){t.call(null,n,r)});case 4:return e.nextTick(function(){t.call(null,n,r,o)});default:for(i=new Array(u-1),a=0;a<i.length;)i[a++]=arguments[a];return e.nextTick(function(){t.apply(null,i)})}}!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports=n:t.exports=e.nextTick}).call(this,e("_process"))},{_process:114}],114:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function a(e){if(p===clearTimeout)return clearTimeout(e);if((p===o||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function u(){g&&d&&(g=!1,d.length?m=d.concat(m):v=-1,m.length&&s())}function s(){if(!g){var e=i(u);g=!0;for(var t=m.length;t;){for(d=m,m=[];++v<t;)d&&d[v].run();v=-1,t=m.length}d=null,g=!1,a(e)}}function l(e,t){this.fun=e,this.array=t}function c(){}var f,p,h=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:r}catch(e){f=r}try{p="function"==typeof clearTimeout?clearTimeout:o}catch(e){p=o}}();var d,m=[],g=!1,v=-1;h.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new l(e,t)),1!==m.length||g||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.prependListener=c,h.prependOnceListener=c,h.listeners=function(e){return[]},h.binding=function(e){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(e){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},{}],115:[function(e,t,n){(function(e){!function(r){function o(e){throw new RangeError(F[e])}function i(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function a(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+i((e=e.replace(R,".")).split("."),t).join(".")}function u(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function s(e){return i(e,function(e){var t="";return e>65535&&(t+=P((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=P(e)}).join("")}function l(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:A}function c(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var r=0;for(e=n?M(e/k):e>>1,e+=M(e/t);e>L*x>>1;r+=A)e=M(e/L);return M(r+(L+1)*e/(e+C))}function p(e){var t,n,r,i,a,u,c,p,h,d,m=[],g=e.length,v=0,b=B,y=O;for((n=e.lastIndexOf(S))<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&o("not-basic"),m.push(e.charCodeAt(r));for(i=n>0?n+1:0;i<g;){for(a=v,u=1,c=A;i>=g&&o("invalid-input"),((p=l(e.charCodeAt(i++)))>=A||p>M((w-v)/u))&&o("overflow"),v+=p*u,h=c<=y?E:c>=y+x?x:c-y,!(p<h);c+=A)u>M(w/(d=A-h))&&o("overflow"),u*=d;y=f(v-a,t=m.length+1,0==a),M(v/t)>w-b&&o("overflow"),b+=M(v/t),v%=t,m.splice(v++,0,b)}return s(m)}function h(e){var t,n,r,i,a,s,l,p,h,d,m,g,v,b,y,_=[];for(g=(e=u(e)).length,t=B,n=0,a=O,s=0;s<g;++s)(m=e[s])<128&&_.push(P(m));for(r=i=_.length,i&&_.push(S);r<g;){for(l=w,s=0;s<g;++s)(m=e[s])>=t&&m<l&&(l=m);for(l-t>M((w-n)/(v=r+1))&&o("overflow"),n+=(l-t)*v,t=l,s=0;s<g;++s)if((m=e[s])<t&&++n>w&&o("overflow"),m==t){for(p=n,h=A;d=h<=a?E:h>=a+x?x:h-a,!(p<d);h+=A)y=p-d,b=A-d,_.push(P(c(d+y%b,0))),p=M(y/b);_.push(P(c(p,0))),a=f(n,v,r==i),n=0,++r}++n,++t}return _.join("")}function d(e){return a(e,function(e){return D.test(e)?p(e.slice(4).toLowerCase()):e})}function m(e){return a(e,function(e){return T.test(e)?"xn--"+h(e):e})}var g="object"==typeof n&&n&&!n.nodeType&&n,v="object"==typeof t&&t&&!t.nodeType&&t,b="object"==typeof e&&e;b.global!==b&&b.window!==b&&b.self!==b||(r=b);var y,_,w=2147483647,A=36,E=1,x=26,C=38,k=700,O=72,B=128,S="-",D=/^xn--/,T=/[^\x20-\x7E]/,R=/[\x2E\u3002\uFF0E\uFF61]/g,F={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=A-E,M=Math.floor,P=String.fromCharCode;if(y={version:"1.4.1",ucs2:{decode:u,encode:s},decode:p,encode:h,toASCII:m,toUnicode:d},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return y});else if(g&&v)if(t.exports==g)v.exports=y;else for(_ in y)y.hasOwnProperty(_)&&(g[_]=y[_]);else r.punycode=y}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],116:[function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,n,i){t=t||"&",n=n||"=";var a={};if("string"!=typeof e||0===e.length)return a;var u=/\+/g;e=e.split(t);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var c=0;c<l;++c){var f,p,h,d,m=e[c].replace(u,"%20"),g=m.indexOf(n);g>=0?(f=m.substr(0,g),p=m.substr(g+1)):(f=m,p=""),h=decodeURIComponent(f),d=decodeURIComponent(p),r(a,h)?o(a[h])?a[h].push(d):a[h]=[a[h],d]:a[h]=d}return a};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],117:[function(e,t,n){"use strict";function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var o=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,n,u){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?r(a(e),function(a){var u=encodeURIComponent(o(a))+n;return i(e[a])?r(e[a],function(e){return u+encodeURIComponent(o(e))}).join(t):u+encodeURIComponent(o(e[a]))}).join(t):u?encodeURIComponent(o(u))+n+encodeURIComponent(o(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},a=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},{}],118:[function(e,t,n){"use strict";n.decode=n.parse=e("./decode"),n.encode=n.stringify=e("./encode")},{"./decode":116,"./encode":117}],119:[function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);l.call(this,e),c.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",o)}function o(){this.allowHalfOpen||this._writableState.ended||u(i,this)}function i(e){e.end()}var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=r;var u=e("process-nextick-args"),s=e("core-util-is");s.inherits=e("inherits");var l=e("./_stream_readable"),c=e("./_stream_writable");s.inherits(r,l);for(var f=a(c.prototype),p=0;p<f.length;p++){var h=f[p];r.prototype[h]||(r.prototype[h]=c.prototype[h])}},{"./_stream_readable":121,"./_stream_writable":123,"core-util-is":102,inherits:107,"process-nextick-args":113}],120:[function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);o.call(this,e)}t.exports=r;var o=e("./_stream_transform"),i=e("core-util-is");i.inherits=e("inherits"),i.inherits(r,o),r.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":122,"core-util-is":102,inherits:107}],121:[function(e,t,n){(function(n){"use strict";function r(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?D(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function o(t,n){B=B||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,n instanceof B&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,o=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:o,this.highWaterMark=~~this.highWaterMark,this.buffer=new q,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(N||(N=e("string_decoder/").StringDecoder),this.decoder=new N(t.encoding),this.encoding=t.encoding)}function i(t){if(B=B||e("./_stream_duplex"),!(this instanceof i))return new i(t);this._readableState=new o(t,this),this.readable=!0,t&&"function"==typeof t.read&&(this._read=t.read),R.call(this)}function a(e,t,n,r,o){var i=c(t,n);if(i)e.emit("error",i);else if(null===n)t.reading=!1,f(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!o){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&o){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var l;!t.decoder||o||r||(n=t.decoder.write(n),l=!t.objectMode&&0===n.length),o||(t.reading=!1),l||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,o?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&p(e))),d(e,t)}else o||(t.reading=!1);return u(t)}function u(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){return e>=I?e=I:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function l(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function c(e,t){var n=null;return F.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function f(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,p(e)}}function p(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(U("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?S(h,e):h(e))}function h(e){U("emit readable"),e.emit("readable"),_(e)}function d(e,t){t.readingMore||(t.readingMore=!0,S(m,e,t))}function m(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(U("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function g(e){return function(){var t=e._readableState;U("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&T(e,"data")&&(t.flowing=!0,_(e))}}function v(e){U("readable nexttick read 0"),e.read(0)}function b(e,t){t.resumeScheduled||(t.resumeScheduled=!0,S(y,e,t))}function y(e,t){t.reading||(U("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),_(e),t.flowing&&!t.reading&&e.read(0)}function _(e){var t=e._readableState;for(U("flow",t.flowing);t.flowing&&null!==e.read(););}function w(e,t){if(0===t.length)return null;var n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=A(e,t.buffer,t.decoder),n}function A(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?E(e,t):x(e,t),r}function E(e,t){var n=t.head,r=1,o=n.data;for(e-=o.length;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(a===i.length?o+=i:o+=i.slice(0,e),0===(e-=a)){a===i.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(a));break}++r}return t.length-=r,o}function x(e,t){var n=L.allocUnsafe(e),r=t.head,o=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var i=r.data,a=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,a),0===(e-=a)){a===i.length?(++o,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(a));break}++o}return t.length-=o,n}function C(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,S(k,t,e))}function k(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function O(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}t.exports=i;var B,S=e("process-nextick-args"),D=e("isarray");i.ReadableState=o;e("events").EventEmitter;var T=function(e,t){return e.listeners(t).length},R=e("./internal/streams/stream"),F=e("buffer").Buffer,L=e("buffer-shims"),M=e("core-util-is");M.inherits=e("inherits");var P=e("util"),U=void 0;U=P&&P.debuglog?P.debuglog("stream"):function(){};var N,q=e("./internal/streams/BufferList");M.inherits(i,R);var z=["error","close","destroy","pause","resume"];i.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||"string"!=typeof e||(t=t||n.defaultEncoding)!==n.encoding&&(e=L.from(e,t),t=""),a(this,n,e,t,!1)},i.prototype.unshift=function(e){return a(this,this._readableState,e,"",!0)},i.prototype.isPaused=function(){return!1===this._readableState.flowing},i.prototype.setEncoding=function(t){return N||(N=e("string_decoder/").StringDecoder),this._readableState.decoder=new N(t),this._readableState.encoding=t,this};var I=8388608;i.prototype.read=function(e){U("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return U("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?C(this):p(this),null;if(0===(e=l(e,t))&&t.ended)return 0===t.length&&C(this),null;var r=t.needReadable;U("need readable",r),(0===t.length||t.length-e<t.highWaterMark)&&U("length less than watermark",r=!0),t.ended||t.reading?U("reading or ended",r=!1):r&&(U("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=l(n,t)));var o;return o=e>0?w(e,t):null,null===o?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&C(this)),null!==o&&this.emit("data",o),o},i.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},i.prototype.pipe=function(e,t){function o(e){U("onunpipe"),e===p&&a()}function i(){U("onend"),e.end()}function a(){U("cleanup"),e.removeListener("close",l),e.removeListener("finish",c),e.removeListener("drain",m),e.removeListener("error",s),e.removeListener("unpipe",o),p.removeListener("end",i),p.removeListener("end",a),p.removeListener("data",u),v=!0,!h.awaitDrain||e._writableState&&!e._writableState.needDrain||m()}function u(t){U("ondata"),b=!1,!1!==e.write(t)||b||((1===h.pipesCount&&h.pipes===e||h.pipesCount>1&&-1!==O(h.pipes,e))&&!v&&(U("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,b=!0),p.pause())}function s(t){U("onerror",t),f(),e.removeListener("error",s),0===T(e,"error")&&e.emit("error",t)}function l(){e.removeListener("finish",c),f()}function c(){U("onfinish"),e.removeListener("close",l),f()}function f(){U("unpipe"),p.unpipe(e)}var p=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=e;break;case 1:h.pipes=[h.pipes,e];break;default:h.pipes.push(e)}h.pipesCount+=1,U("pipe count=%d opts=%j",h.pipesCount,t);var d=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?i:a;h.endEmitted?S(d):p.once("end",d),e.on("unpipe",o);var m=g(p);e.on("drain",m);var v=!1,b=!1;return p.on("data",u),r(e,"error",s),e.once("close",l),e.once("finish",c),e.emit("pipe",p),h.flowing||(U("pipe resume"),p.resume()),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<r;o++)n[o].emit("unpipe",this);return this}var i=O(t.pipes,e);return-1===i?this:(t.pipes.splice(i,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},i.prototype.on=function(e,t){var n=R.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&p(this):S(v,this))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){var e=this._readableState;return e.flowing||(U("resume"),e.flowing=!0,b(this,e)),this},i.prototype.pause=function(){return U("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(U("pause"),this._readableState.flowing=!1,this.emit("pause")),this},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on("end",function(){if(U("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on("data",function(o){U("wrapped data"),t.decoder&&(o=t.decoder.write(o)),(!t.objectMode||null!==o&&void 0!==o)&&(t.objectMode||o&&o.length)&&(r.push(o)||(n=!0,e.pause()))});for(var o in e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var i=0;i<z.length;i++)e.on(z[i],r.emit.bind(r,z[i]));return r._read=function(t){U("wrapped _read",t),n&&(n=!1,e.resume())},r},i._fromList=w}).call(this,e("_process"))},{"./_stream_duplex":119,"./internal/streams/BufferList":124,"./internal/streams/stream":125,_process:114,buffer:5,"buffer-shims":4,"core-util-is":102,events:103,inherits:107,isarray:109,"process-nextick-args":113,"string_decoder/":126,util:2}],122:[function(e,t,n){"use strict";function r(e){this.afterTransform=function(t,n){return o(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function o(e,t,n){var r=e._transformState;r.transforming=!1;var o=r.writecb;if(!o)return e.emit("error",new Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),o(t);var i=e._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&e._read(i.highWaterMark)}function i(e){if(!(this instanceof i))return new i(e);u.call(this,e),this._transformState=new r(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e,n){a(t,e,n)}):a(t)})}function a(e,t,n){if(t)return e.emit("error",t);null!==n&&void 0!==n&&e.push(n);var r=e._writableState,o=e._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(o.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}t.exports=i;var u=e("./_stream_duplex"),s=e("core-util-is");s.inherits=e("inherits"),s.inherits(i,u),i.prototype.push=function(e,t){return this._transformState.needTransform=!1,u.prototype.push.call(this,e,t)},i.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},i.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},i.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0}},{"./_stream_duplex":119,"core-util-is":102,inherits:107}],123:[function(e,t,n){(function(n){"use strict";function r(){}function o(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function i(t,n){E=E||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,n instanceof E&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,o=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:o,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var i=!1===t.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){d(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new A(this)}function a(t){if(E=E||e("./_stream_duplex"),!(T.call(a,this)||this instanceof E))return new a(t);this._writableState=new i(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev)),B.call(this)}function u(e,t){var n=new Error("write after end");e.emit("error",n),x(t,n)}function s(e,t,n,r){var o=!0,i=!1;return null===n?i=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(i=new TypeError("Invalid non-string/buffer chunk")),i&&(e.emit("error",i),x(r,i),o=!1),o}function l(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=D.from(t,n)),t}function c(e,t,n,r,i,a){n||(r=l(t,r,i),S.isBuffer(r)&&(i="buffer"));var u=t.objectMode?1:r.length;t.length+=u;var s=t.length<t.highWaterMark;if(s||(t.needDrain=!0),t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest=new o(r,i,a),c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else f(e,t,!1,u,r,i,a);return s}function f(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function p(e,t,n,r,o){--t.pendingcb,n?x(o,r):o(r),e._writableState.errorEmitted=!0,e.emit("error",r)}function h(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function d(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if(h(n),t)p(e,n,r,t,o);else{var i=b(n);i||n.corked||n.bufferProcessing||!n.bufferedRequest||v(e,n),r?C(m,e,n,i,o):m(e,n,i,o)}}function m(e,t,n,r){n||g(e,t),t.pendingcb--,r(),_(e,t)}function g(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function v(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),i=t.corkedRequestsFree;i.entry=n;for(var a=0;n;)o[a]=n,n=n.next,a+=1;f(e,t,!0,t.length,o,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new A(t)}else{for(;n;){var u=n.chunk,s=n.encoding,l=n.callback;if(f(e,t,!1,t.objectMode?1:u.length,u,s,l),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function b(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function y(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function _(e,t){var n=b(t);return n&&(0===t.pendingcb?(y(e,t),t.finished=!0,e.emit("finish")):y(e,t)),n}function w(e,t,n){t.ending=!0,_(e,t),n&&(t.finished?x(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function A(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var o=r.callback;e.pendingcb--,o(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}t.exports=a;var E,x=e("process-nextick-args"),C=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?setImmediate:x;a.WritableState=i;var k=e("core-util-is");k.inherits=e("inherits");var O={deprecate:e("util-deprecate")},B=e("./internal/streams/stream"),S=e("buffer").Buffer,D=e("buffer-shims");k.inherits(a,B),i.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(i.prototype,"buffer",{get:O.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(e){}}();var T;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(T=Function.prototype[Symbol.hasInstance],Object.defineProperty(a,Symbol.hasInstance,{value:function(e){return!!T.call(this,e)||e&&e._writableState instanceof i}})):T=function(e){return e instanceof this},a.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},a.prototype.write=function(e,t,n){var o=this._writableState,i=!1,a=S.isBuffer(e);return"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=r),o.ended?u(this,n):(a||s(this,o,e,n))&&(o.pendingcb++,i=c(this,o,a,e,t,n)),i},a.prototype.cork=function(){this._writableState.corked++},a.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||v(this,e))},a.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},a.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},a.prototype._writev=null,a.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||w(this,r,n)}}).call(this,e("_process"))},{"./_stream_duplex":119,"./internal/streams/stream":125,_process:114,buffer:5,"buffer-shims":4,"core-util-is":102,inherits:107,"process-nextick-args":113,"util-deprecate":164}],124:[function(e,t,n){"use strict";function r(){this.head=null,this.tail=null,this.length=0}e("buffer").Buffer;var o=e("buffer-shims");t.exports=r,r.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},r.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},r.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},r.prototype.concat=function(e){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;for(var t=o.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t}},{buffer:5,"buffer-shims":4}],125:[function(e,t,n){t.exports=e("events").EventEmitter},{events:103}],126:[function(e,t,n){"use strict";function r(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function o(e){var t=r(e);if("string"!=typeof t&&(b.isEncoding===y||!y(e)))throw new Error("Unknown encoding: "+e);return t||e}function i(e){this.encoding=o(e);var t;switch(this.encoding){case"utf16le":this.text=p,this.end=h,t=4;break;case"utf8":this.fillLast=l,t=4;break;case"base64":this.text=d,this.end=m,t=3;break;default:return this.write=g,void(this.end=v)}this.lastNeed=0,this.lastTotal=0,this.lastChar=b.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function u(e,t,n){var r=t.length-1;if(r<n)return 0;var o=a(t[r]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--r<n?0:(o=a(t[r]))>=0?(o>0&&(e.lastNeed=o-2),o):--r<n?0:(o=a(t[r]),o>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0)}function s(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(n);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�".repeat(n+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�".repeat(n+2)}}function l(e){var t=this.lastTotal-this.lastNeed,n=s(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){var n=u(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�".repeat(this.lastTotal-this.lastNeed):t}function p(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function h(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function d(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function m(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function g(e){return e.toString(this.encoding)}function v(e){return e&&e.length?this.write(e):""}var b=e("safe-buffer").Buffer,y=b.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};n.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},i.prototype.end=f,i.prototype.text=c,i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},{"safe-buffer":145}],127:[function(e,t,n){(n=t.exports=e("./lib/_stream_readable.js")).Stream=n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":119,"./lib/_stream_passthrough.js":120,"./lib/_stream_readable.js":121,"./lib/_stream_transform.js":122,"./lib/_stream_writable.js":123}],128:[function(e,t,n){"use strict";t.exports={ABSOLUTE:"absolute",PATH_RELATIVE:"pathRelative",ROOT_RELATIVE:"rootRelative",SHORTEST:"shortest"}},{}],129:[function(e,t,n){"use strict";function r(e,t){return!e.auth||t.removeAuth||!e.extra.relation.maximumHost&&t.output!==m.ABSOLUTE?"":e.auth+"@"}function o(e,t){return e.hash?e.hash:""}function i(e,t){return e.host.full&&(e.extra.relation.maximumAuth||t.output===m.ABSOLUTE)?e.host.full:""}function a(e,t){var n="",r=e.path.absolute.string,o=e.path.relative.string,i=d(e,t);if(e.extra.relation.maximumHost||t.output===m.ABSOLUTE||t.output===m.ROOT_RELATIVE)n=r;else if(o.length<=r.length&&t.output===m.SHORTEST||t.output===m.PATH_RELATIVE){if(""===(n=o)){var a=h(e,t)&&!!p(e,t);e.extra.relation.maximumPath&&!i?n="./":!e.extra.relation.overridesQuery||i||a||(n="./")}}else n=r;return"/"!==n||i||!t.removeRootTrailingSlash||e.extra.relation.minimumPort&&t.output!==m.ABSOLUTE||(n=""),n}function u(e,t){return e.port&&!e.extra.portIsDefault&&e.extra.relation.maximumHost?":"+e.port:""}function s(e,t){return h(e,t)?p(e,t):""}function l(e,t){return d(e,t)?e.resource:""}function c(e,t){var n="";return(e.extra.relation.maximumHost||t.output===m.ABSOLUTE)&&(e.extra.relation.minimumScheme&&t.schemeRelative&&t.output!==m.ABSOLUTE?n+="//":n+=e.scheme+"://"),n}function f(e,t){var n="";return n+=c(e,t),n+=r(e,t),n+=i(e,t),n+=u(e,t),n+=a(e,t),n+=l(e,t),n+=s(e,t),n+=o(e,t)}function p(e,t){var n=t.removeEmptyQueries&&e.extra.relation.minimumPort;return e.query.string[n?"stripped":"full"]}function h(e,t){return!e.extra.relation.minimumQuery||t.output===m.ABSOLUTE||t.output===m.ROOT_RELATIVE}function d(e,t){var n=t.removeDirectoryIndexes&&e.extra.resourceIsIndex,r=e.extra.relation.minimumResource&&t.output!==m.ABSOLUTE&&t.output!==m.ROOT_RELATIVE;return!!e.resource&&!r&&!n}var m=e("./constants");t.exports=f},{"./constants":128}],130:[function(e,t,n){"use strict";function r(e,t){this.options=a(t,{defaultPorts:{ftp:21,http:80,https:443},directoryIndexes:["index.html"],ignore_www:!1,output:r.SHORTEST,rejectedSchemes:["data","javascript","mailto"],removeAuth:!1,removeDirectoryIndexes:!0,removeEmptyQueries:!1,removeRootTrailingSlash:!0,schemeRelative:!0,site:void 0,slashesDenoteHost:!0}),this.from=s.from(e,this.options,null)}var o=e("./constants"),i=e("./format"),a=e("./options"),u=e("./util/object"),s=e("./parse"),l=e("./relate");r.prototype.relate=function(e,t,n){if(u.isPlainObject(t)?(n=t,t=e,e=null):t||(t=e,e=null),n=a(n,this.options),e=e||n.site,!(e=s.from(e,n,this.from))||!e.href)throw new Error("from value not defined.");if(e.extra.hrefInfo.minimumPathOnly)throw new Error("from value supplied is not absolute: "+e.href);return!1===(t=s.to(t,n)).valid?t.href:(t=l(e,t,n),t=i(t,n))},r.relate=function(e,t,n){return(new r).relate(e,t,n)},u.shallowMerge(r,o),t.exports=r},{"./constants":128,"./format":129,"./options":131,"./parse":134,"./relate":141,"./util/object":143}],131:[function(e,t,n){"use strict";function r(e,t){if(i.isPlainObject(e)){var n={};for(var r in t)t.hasOwnProperty(r)&&(void 0!==e[r]?n[r]=o(e[r],t[r]):n[r]=t[r]);return n}return t}function o(e,t){return t instanceof Object&&e instanceof Object?t instanceof Array&&e instanceof Array?t.concat(e):i.shallowMerge(e,t):e}var i=e("./util/object");t.exports=r},{"./util/object":143}],132:[function(e,t,n){"use strict";function r(e,t){if(t.ignore_www){var n=e.host.full;if(n){var r=n;0===n.indexOf("www.")&&(r=n.substr(4)),e.host.stripped=r}}}t.exports=r},{}],133:[function(e,t,n){"use strict";function r(e){var t=!(e.scheme||e.auth||e.host.full||e.port),n=t&&!e.path.absolute.string,r=n&&!e.resource,o=r&&!e.query.string.full.length,i=o&&!e.hash;e.extra.hrefInfo.minimumPathOnly=t,e.extra.hrefInfo.minimumResourceOnly=n,e.extra.hrefInfo.minimumQueryOnly=r,e.extra.hrefInfo.minimumHashOnly=o,e.extra.hrefInfo.empty=i}t.exports=r},{}],134:[function(e,t,n){"use strict";function r(e,t,n){if(e){var r=o(e,t),i=f.resolveDotSegments(r.path.absolute.array);return r.path.absolute.array=i,r.path.absolute.string="/"+f.join(i),r}return n}function o(e,t){var n=c(e,t);return!1===n.valid?n:(a(n,t),s(n,t),u(n,t),l(n,t),i(n),n)}var i=e("./hrefInfo"),a=e("./host"),u=e("./path"),s=e("./port"),l=e("./query"),c=e("./urlstring"),f=e("../util/path");t.exports={from:r,to:o}},{"../util/path":144,"./host":132,"./hrefInfo":133,"./path":135,"./port":136,"./query":137,"./urlstring":138}],135:[function(e,t,n){"use strict";function r(e,t){var n=!1;return t.directoryIndexes.every(function(t){return t!==e||(n=!0,!1)}),n}function o(e,t){var n=e.path.absolute.string;if(n){var o=n.lastIndexOf("/");if(o>-1){if(++o<n.length){var a=n.substr(o);"."!==a&&".."!==a?(e.resource=a,n=n.substr(0,o)):n+="/"}e.path.absolute.string=n,e.path.absolute.array=i(n)}else"."===n||".."===n?(n+="/",e.path.absolute.string=n,e.path.absolute.array=i(n)):(e.resource=n,e.path.absolute.string=null);e.extra.resourceIsIndex=r(e.resource,t)}}function i(e){if("/"!==e){var t=[];return e.split("/").forEach(function(e){""!==e&&t.push(e)}),t}return[]}t.exports=o},{}],136:[function(e,t,n){"use strict";function r(e,t){var n=-1;for(var r in t.defaultPorts)if(r===e.scheme&&t.defaultPorts.hasOwnProperty(r)){n=t.defaultPorts[r];break}n>-1&&(n=n.toString(),null===e.port&&(e.port=n),e.extra.portIsDefault=e.port===n)}t.exports=r},{}],137:[function(e,t,n){"use strict";function r(e,t){e.query.string.full=o(e.query.object,!1),t.removeEmptyQueries&&(e.query.string.stripped=o(e.query.object,!0))}function o(e,t){var n=0,r="";for(var o in e)if(""!==o&&!0===i.call(e,o)){var a=e[o];""===a&&t||(r+=1==++n?"?":"&",o=encodeURIComponent(o),r+=""!==a?o+"="+encodeURIComponent(a).replace(/%20/g,"+"):o)}return r}var i=Object.prototype.hasOwnProperty;t.exports=r},{}],138:[function(e,t,n){"use strict";function r(e){var t=e.protocol;return t&&t.indexOf(":")===t.length-1&&(t=t.substr(0,t.length-1)),e.host={full:e.hostname,stripped:null},e.path={absolute:{array:null,string:e.pathname},relative:{array:null,string:null}},e.query={object:e.query,string:{full:null,stripped:null}},e.extra={hrefInfo:{minimumPathOnly:null,minimumResourceOnly:null,minimumQueryOnly:null,minimumHashOnly:null,empty:null,separatorOnlyQuery:"?"===e.search},portIsDefault:null,relation:{maximumScheme:null,maximumAuth:null,maximumHost:null,maximumPort:null,maximumPath:null,maximumResource:null,maximumQuery:null,maximumHash:null,minimumScheme:null,minimumAuth:null,minimumHost:null,minimumPort:null,minimumPath:null,minimumResource:null,minimumQuery:null,minimumHash:null,overridesQuery:null},resourceIsIndex:null,slashes:e.slashes},e.resource=null,e.scheme=t,delete e.hostname,delete e.pathname,delete e.protocol,delete e.search,delete e.slashes,e}function o(e,t){var n=!0;return t.rejectedSchemes.every(function(t){return n=!(0===e.indexOf(t+":"))}),n}function i(e,t){return o(e,t)?r(a(e,!0,t.slashesDenoteHost)):{href:e,valid:!1}}var a=e("url").parse;t.exports=i},{url:162}],139:[function(e,t,n){"use strict";function r(e,t,n){u.upToPath(e,t,n),e.extra.relation.minimumScheme&&(e.scheme=t.scheme),e.extra.relation.minimumAuth&&(e.auth=t.auth),e.extra.relation.minimumHost&&(e.host=s.clone(t.host)),e.extra.relation.minimumPort&&i(e,t),e.extra.relation.minimumScheme&&o(e,t),u.pathOn(e,t,n),e.extra.relation.minimumResource&&a(e,t),e.extra.relation.minimumQuery&&(e.query=s.clone(t.query)),e.extra.relation.minimumHash&&(e.hash=t.hash)}function o(e,t){if(e.extra.relation.maximumHost||!e.extra.hrefInfo.minimumResourceOnly){var n=e.path.absolute.array,r="/";n?(e.extra.hrefInfo.minimumPathOnly&&0!==e.path.absolute.string.indexOf("/")&&(n=t.path.absolute.array.concat(n)),n=l.resolveDotSegments(n),r+=l.join(n)):n=[],e.path.absolute.array=n,e.path.absolute.string=r}else e.path=s.clone(t.path)}function i(e,t){e.port=t.port,e.extra.portIsDefault=t.extra.portIsDefault}function a(e,t){e.resource=t.resource,e.extra.resourceIsIndex=t.extra.resourceIsIndex}var u=e("./findRelation"),s=e("../util/object"),l=e("../util/path");t.exports=r},{"../util/object":143,"../util/path":144,"./findRelation":140}],140:[function(e,t,n){"use strict";function r(e,t,n){var r=e.extra.hrefInfo.minimumPathOnly,o=e.scheme===t.scheme||!e.scheme,i=o&&(e.auth===t.auth||n.removeAuth||r),a=n.ignore_www?"stripped":"full",u=i&&(e.host[a]===t.host[a]||r),s=u&&(e.port===t.port||r);e.extra.relation.minimumScheme=o,e.extra.relation.minimumAuth=i,e.extra.relation.minimumHost=u,e.extra.relation.minimumPort=s,e.extra.relation.maximumScheme=!o||o&&!i,e.extra.relation.maximumAuth=!o||o&&!u,e.extra.relation.maximumHost=!o||o&&!s}function o(e,t,n){var r=e.extra.hrefInfo.minimumQueryOnly,o=e.extra.hrefInfo.minimumHashOnly,i=e.extra.hrefInfo.empty,a=e.extra.relation.minimumPort,u=e.extra.relation.minimumScheme,s=a&&e.path.absolute.string===t.path.absolute.string,l=e.resource===t.resource||!e.resource&&t.extra.resourceIsIndex||n.removeDirectoryIndexes&&e.extra.resourceIsIndex&&!t.resource,c=s&&(l||r||o||i),f=n.removeEmptyQueries?"stripped":"full",p=e.query.string[f],h=t.query.string[f],d=c&&!!p&&p===h||(o||i)&&!e.extra.hrefInfo.separatorOnlyQuery,m=d&&e.hash===t.hash;e.extra.relation.minimumPath=s,e.extra.relation.minimumResource=c,e.extra.relation.minimumQuery=d,e.extra.relation.minimumHash=m,e.extra.relation.maximumPort=!u||u&&!s,e.extra.relation.maximumPath=!u||u&&!c,e.extra.relation.maximumResource=!u||u&&!d,e.extra.relation.maximumQuery=!u||u&&!m,e.extra.relation.maximumHash=!u||u&&!m,e.extra.relation.overridesQuery=s&&e.extra.relation.maximumResource&&!d&&!!h}t.exports={pathOn:o,upToPath:r}},{}],141:[function(e,t,n){"use strict";function r(e,t,n){return o(t,e,n),i(t,e,n),t}var o=e("./absolutize"),i=e("./relativize");t.exports=r},{"./absolutize":139,"./relativize":142}],142:[function(e,t,n){"use strict";function r(e,t){var n=[],r=!0,o=-1;return t.forEach(function(t,i){r&&(e[i]!==t?r=!1:o=i),r||n.push("..")}),e.forEach(function(e,t){t>o&&n.push(e)}),n}function o(e,t,n){if(e.extra.relation.minimumScheme){var o=r(e.path.absolute.array,t.path.absolute.array);e.path.relative.array=o,e.path.relative.string=i.join(o)}}var i=e("../util/path");t.exports=o},{"../util/path":144}],143:[function(e,t,n){"use strict";function r(e){if(e instanceof Object){var t=e instanceof Array?[]:{};for(var n in e)e.hasOwnProperty(n)&&(t[n]=r(e[n]));return t}return e}function o(e){return!!e&&"object"==typeof e&&e.constructor===Object}function i(e,t){if(e instanceof Object&&t instanceof Object)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}t.exports={clone:r,isPlainObject:o,shallowMerge:i}},{}],144:[function(e,t,n){"use strict";function r(e){return e.length>0?e.join("/")+"/":""}function o(e){var t=[];return e.forEach(function(e){".."!==e?"."!==e&&t.push(e):t.length>0&&t.splice(t.length-1,1)}),t}t.exports={join:r,resolveDotSegments:o}},{}],145:[function(e,t,n){t.exports=e("buffer")},{buffer:5}],146:[function(e,t,n){function r(){this._array=[],this._set=Object.create(null)}var o=e("./util"),i=Object.prototype.hasOwnProperty;r.fromArray=function(e,t){for(var n=new r,o=0,i=e.length;o<i;o++)n.add(e[o],t);return n},r.prototype.size=function(){return Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(e,t){var n=o.toSetString(e),r=i.call(this._set,n),a=this._array.length;r&&!t||this._array.push(e),r||(this._set[n]=a)},r.prototype.has=function(e){var t=o.toSetString(e);return i.call(this._set,t)},r.prototype.indexOf=function(e){var t=o.toSetString(e);if(i.call(this._set,t))return this._set[t];throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},n.ArraySet=r},{"./util":155}],147:[function(e,t,n){function r(e){return e<0?1+(-e<<1):0+(e<<1)}function o(e){var t=e>>1;return 1==(1&e)?-t:t}var i=e("./base64");n.encode=function(e){var t,n="",o=r(e);do{t=31&o,(o>>>=5)>0&&(t|=32),n+=i.encode(t)}while(o>0);return n},n.decode=function(e,t,n){var r,a,u=e.length,s=0,l=0;do{if(t>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=i.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&a),s+=(a&=31)<<l,l+=5}while(r);n.value=o(s),n.rest=t}},{"./base64":148}],148:[function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");n.encode=function(e){if(0<=e&&e<r.length)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},n.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},{}],149:[function(e,t,n){function r(e,t,o,i,a,u){var s=Math.floor((t-e)/2)+e,l=a(o,i[s],!0);return 0===l?s:l>0?t-s>1?r(s,t,o,i,a,u):u==n.LEAST_UPPER_BOUND?t<i.length?t:-1:s:s-e>1?r(e,s,o,i,a,u):u==n.LEAST_UPPER_BOUND?s:e<0?-1:e}n.GREATEST_LOWER_BOUND=1,n.LEAST_UPPER_BOUND=2,n.search=function(e,t,o,i){if(0===t.length)return-1;var a=r(-1,t.length,e,t,o,i||n.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===o(t[a],t[a-1],!0);)--a;return a}},{}],150:[function(e,t,n){function r(e,t){var n=e.generatedLine,r=t.generatedLine,o=e.generatedColumn,a=t.generatedColumn;return r>n||r==n&&a>=o||i.compareByGeneratedPositionsInflated(e,t)<=0}function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var i=e("./util");o.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},o.prototype.add=function(e){r(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(i.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},n.MappingList=o},{"./util":155}],151:[function(e,t,n){function r(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function o(e,t){return Math.round(e+Math.random()*(t-e))}function i(e,t,n,a){if(n<a){var u=n-1;r(e,o(n,a),a);for(var s=e[a],l=n;l<a;l++)t(e[l],s)<=0&&r(e,u+=1,l);r(e,u+1,l);var c=u+1;i(e,t,n,c-1),i(e,t,c+1,a)}}n.quickSort=function(e,t){i(e,t,0,e.length-1)}},{}],152:[function(e,t,n){function r(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new a(t):new o(t)}function o(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=u.getArg(t,"version"),r=u.getArg(t,"sources"),o=u.getArg(t,"names",[]),i=u.getArg(t,"sourceRoot",null),a=u.getArg(t,"sourcesContent",null),s=u.getArg(t,"mappings"),c=u.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(String).map(u.normalize).map(function(e){return i&&u.isAbsolute(i)&&u.isAbsolute(e)?u.relative(i,e):e}),this._names=l.fromArray(o.map(String),!0),this._sources=l.fromArray(r,!0),this.sourceRoot=i,this.sourcesContent=a,this._mappings=s,this.file=c}function i(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function a(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=u.getArg(t,"version"),o=u.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new l,this._names=new l;var i={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=u.getArg(e,"offset"),n=u.getArg(t,"line"),o=u.getArg(t,"column");if(n<i.line||n===i.line&&o<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=t,{generatedOffset:{generatedLine:n+1,generatedColumn:o+1},consumer:new r(u.getArg(e,"map"))}})}var u=e("./util"),s=e("./binary-search"),l=e("./array-set").ArraySet,c=e("./base64-vlq"),f=e("./quick-sort").quickSort;r.fromSourceMap=function(e){return o.fromSourceMap(e)},r.prototype._version=3,r.prototype.__generatedMappings=null,Object.defineProperty(r.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),r.prototype.__originalMappings=null,Object.defineProperty(r.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),r.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},r.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.GREATEST_LOWER_BOUND=1,r.LEAST_UPPER_BOUND=2,r.prototype.eachMapping=function(e,t,n){var o,i=t||null;switch(n||r.GENERATED_ORDER){case r.GENERATED_ORDER:o=this._generatedMappings;break;case r.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;o.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=a&&(t=u.join(a,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,i)},r.prototype.allGeneratedPositionsFor=function(e){var t=u.getArg(e,"line"),n={source:u.getArg(e,"source"),originalLine:t,originalColumn:u.getArg(e,"column",0)};if(null!=this.sourceRoot&&(n.source=u.relative(this.sourceRoot,n.source)),!this._sources.has(n.source))return[];n.source=this._sources.indexOf(n.source);var r=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",u.compareByOriginalPositions,s.LEAST_UPPER_BOUND);if(o>=0){var i=this._originalMappings[o];if(void 0===e.column)for(var a=i.originalLine;i&&i.originalLine===a;)r.push({line:u.getArg(i,"generatedLine",null),column:u.getArg(i,"generatedColumn",null),lastColumn:u.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var l=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==l;)r.push({line:u.getArg(i,"generatedLine",null),column:u.getArg(i,"generatedColumn",null),lastColumn:u.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return r},n.SourceMapConsumer=r,o.prototype=Object.create(r.prototype),o.prototype.consumer=r,o.fromSourceMap=function(e){var t=Object.create(o.prototype),n=t._names=l.fromArray(e._names.toArray(),!0),r=t._sources=l.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),s=t.__generatedMappings=[],c=t.__originalMappings=[],p=0,h=a.length;p<h;p++){var d=a[p],m=new i;m.generatedLine=d.generatedLine,m.generatedColumn=d.generatedColumn,d.source&&(m.source=r.indexOf(d.source),m.originalLine=d.originalLine,m.originalColumn=d.originalColumn,d.name&&(m.name=n.indexOf(d.name)),c.push(m)),s.push(m)}return f(t.__originalMappings,u.compareByOriginalPositions),t},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?u.join(this.sourceRoot,e):e},this)}}),o.prototype._parseMappings=function(e,t){for(var n,r,o,a,s,l=1,p=0,h=0,d=0,m=0,g=0,v=e.length,b=0,y={},_={},w=[],A=[];b<v;)if(";"===e.charAt(b))l++,b++,p=0;else if(","===e.charAt(b))b++;else{for((n=new i).generatedLine=l,a=b;a<v&&!this._charIsMappingSeparator(e,a);a++);if(r=e.slice(b,a),o=y[r])b+=r.length;else{for(o=[];b<a;)c.decode(e,b,_),s=_.value,b=_.rest,o.push(s);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");y[r]=o}n.generatedColumn=p+o[0],p=n.generatedColumn,o.length>1&&(n.source=m+o[1],m+=o[1],n.originalLine=h+o[2],h=n.originalLine,n.originalLine+=1,n.originalColumn=d+o[3],d=n.originalColumn,o.length>4&&(n.name=g+o[4],g+=o[4])),A.push(n),"number"==typeof n.originalLine&&w.push(n)}f(A,u.compareByGeneratedPositionsDeflated),this.__generatedMappings=A,f(w,u.compareByOriginalPositions),this.__originalMappings=w},o.prototype._findMapping=function(e,t,n,r,o,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return s.search(e,t,o,i)},o.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(e){var t={generatedLine:u.getArg(e,"line"),generatedColumn:u.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",u.compareByGeneratedPositionsDeflated,u.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(n>=0){var o=this._generatedMappings[n];if(o.generatedLine===t.generatedLine){var i=u.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=u.join(this.sourceRoot,i)));var a=u.getArg(o,"name",null);return null!==a&&(a=this._names.at(a)),{source:i,line:u.getArg(o,"originalLine",null),column:u.getArg(o,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},o.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=u.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=u.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(e){var t=u.getArg(e,"source");if(null!=this.sourceRoot&&(t=u.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var n={source:t=this._sources.indexOf(t),originalLine:u.getArg(e,"line"),originalColumn:u.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",u.compareByOriginalPositions,u.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===n.source)return{line:u.getArg(i,"generatedLine",null),column:u.getArg(i,"generatedColumn",null),lastColumn:u.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.BasicSourceMapConsumer=o,a.prototype=Object.create(r.prototype),a.prototype.constructor=r,a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),a.prototype.originalPositionFor=function(e){var t={generatedLine:u.getArg(e,"line"),generatedColumn:u.getArg(e,"column")},n=s.search(t,this._sections,function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn}),r=this._sections[n];return r?r.consumer.originalPositionFor({line:t.generatedLine-(r.generatedOffset.generatedLine-1),column:t.generatedColumn-(r.generatedOffset.generatedLine===t.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},a.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer.sources.indexOf(u.getArg(e,"source"))){var r=n.consumer.generatedPositionFor(e);if(r)return{line:r.line+(n.generatedOffset.generatedLine-1),column:r.column+(n.generatedOffset.generatedLine===r.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},a.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var r=this._sections[n],o=r.consumer._generatedMappings,i=0;i<o.length;i++){var a=o[i],s=r.consumer._sources.at(a.source);null!==r.consumer.sourceRoot&&(s=u.join(r.consumer.sourceRoot,s)),this._sources.add(s),s=this._sources.indexOf(s);var l=r.consumer._names.at(a.name);this._names.add(l),l=this._names.indexOf(l);var c={source:s,generatedLine:a.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(r.generatedOffset.generatedLine===a.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:l};this.__generatedMappings.push(c),"number"==typeof c.originalLine&&this.__originalMappings.push(c)}f(this.__generatedMappings,u.compareByGeneratedPositionsDeflated),f(this.__originalMappings,u.compareByOriginalPositions)},n.IndexedSourceMapConsumer=a},{"./array-set":146,"./base64-vlq":147,"./binary-search":149,"./quick-sort":151,"./util":155}],153:[function(e,t,n){function r(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new a,this._names=new a,this._mappings=new u,this._sourcesContents=null}var o=e("./base64-vlq"),i=e("./util"),a=e("./array-set").ArraySet,u=e("./mapping-list").MappingList;r.prototype._version=3,r.fromSourceMap=function(e){var t=e.sourceRoot,n=new r({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=i.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)}),e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&n.setSourceContent(t,r)}),n},r.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),n=i.getArg(e,"original",null),r=i.getArg(e,"source",null),o=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,o),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:o})},r.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=i.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},r.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var o=this._sourceRoot;null!=o&&(r=i.relative(o,r));var u=new a,s=new a;this._mappings.unsortedForEach(function(t){if(t.source===r&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=n&&(t.source=i.join(n,t.source)),null!=o&&(t.source=i.relative(o,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var l=t.source;null==l||u.has(l)||u.add(l);var c=t.name;null==c||s.has(c)||s.add(c)},this),this._sources=u,this._names=s,e.sources.forEach(function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=i.join(n,t)),null!=o&&(t=i.relative(o,t)),this.setSourceContent(t,r))},this)},r.prototype._validateMapping=function(e,t,n,r){if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},r.prototype._serializeMappings=function(){for(var e,t,n,r,a=0,u=1,s=0,l=0,c=0,f=0,p="",h=this._mappings.toArray(),d=0,m=h.length;d<m;d++){if(t=h[d],e="",t.generatedLine!==u)for(a=0;t.generatedLine!==u;)e+=";",u++;else if(d>0){if(!i.compareByGeneratedPositionsInflated(t,h[d-1]))continue;e+=","}e+=o.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(r=this._sources.indexOf(t.source),e+=o.encode(r-f),f=r,e+=o.encode(t.originalLine-1-l),l=t.originalLine-1,e+=o.encode(t.originalColumn-s),s=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=o.encode(n-c),c=n)),p+=e}return p},r.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var n=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},r.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},r.prototype.toString=function(){return JSON.stringify(this.toJSON())},n.SourceMapGenerator=r},{"./array-set":146,"./base64-vlq":147,"./mapping-list":150,"./util":155}],154:[function(e,t,n){function r(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==o?null:o,this[u]=!0,null!=r&&this.add(r)}var o=e("./source-map-generator").SourceMapGenerator,i=e("./util"),a=/(\r?\n)/,u="$$$isSourceNode$$$";r.fromStringWithSourceMap=function(e,t,n){function o(e,t){if(null===e||void 0===e.source)u.add(t);else{var o=n?i.join(n,e.source):e.source;u.add(new r(e.originalLine,e.originalColumn,o,t,e.name))}}var u=new r,s=e.split(a),l=function(){return s.shift()+(s.shift()||"")},c=1,f=0,p=null;return t.eachMapping(function(e){if(null!==p){if(!(c<e.generatedLine)){var t=(n=s[0]).substr(0,e.generatedColumn-f);return s[0]=n.substr(e.generatedColumn-f),f=e.generatedColumn,o(p,t),void(p=e)}o(p,l()),c++,f=0}for(;c<e.generatedLine;)u.add(l()),c++;if(f<e.generatedColumn){var n=s[0];u.add(n.substr(0,e.generatedColumn)),s[0]=n.substr(e.generatedColumn),f=e.generatedColumn}p=e},this),s.length>0&&(p&&o(p,l()),u.add(s.join(""))),t.sources.forEach(function(e){var r=t.sourceContentFor(e);null!=r&&(null!=n&&(e=i.join(n,e)),u.setSourceContent(e,r))}),u},r.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},r.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[u]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},r.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[u]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},r.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},r.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[u]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},r.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},r.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][u]&&this.children[t].walkSourceContents(e);for(var r=Object.keys(this.sourceContents),t=0,n=r.length;t<n;t++)e(i.fromSetString(r[t]),this.sourceContents[r[t]])},r.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},r.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new o(e),r=!1,i=null,a=null,u=null,s=null;return this.walk(function(e,o){t.code+=e,null!==o.source&&null!==o.line&&null!==o.column?(i===o.source&&a===o.line&&u===o.column&&s===o.name||n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:t.line,column:t.column},name:o.name}),i=o.source,a=o.line,u=o.column,s=o.name,r=!0):r&&(n.addMapping({generated:{line:t.line,column:t.column}}),i=null,r=!1);for(var l=0,c=e.length;l<c;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===c?(i=null,r=!1):r&&n.addMapping({source:o.source,original:{line:o.line,column:o.column},generated:{line:t.line,column:t.column},name:o.name})):t.column++}),this.walkSourceContents(function(e,t){n.setSourceContent(e,t)}),{code:t.code,map:n}},n.SourceNode=r},{"./source-map-generator":153,"./util":155}],155:[function(e,t,n){function r(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')}function o(e){var t=e.match(v);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function a(e){var t=e,r=o(e);if(r){if(!r.path)return e;t=r.path}for(var a,u=n.isAbsolute(t),s=t.split(/\/+/),l=0,c=s.length-1;c>=0;c--)"."===(a=s[c])?s.splice(c,1):".."===a?l++:l>0&&(""===a?(s.splice(c+1,l),l=0):(s.splice(c,2),l--));return""===(t=s.join("/"))&&(t=u?"/":"."),r?(r.path=t,i(r)):t}function u(e,t){""===e&&(e="."),""===t&&(t=".");var n=o(t),r=o(e);if(r&&(e=r.path||"/"),n&&!n.scheme)return r&&(n.scheme=r.scheme),i(n);if(n||t.match(b))return t;if(r&&!r.host&&!r.path)return r.host=t,i(r);var u="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return r?(r.path=u,i(r)):u}function s(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)}function l(e){return e}function c(e){return p(e)?"$"+e:e}function f(e){return p(e)?e.slice(1):e}function p(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function h(e,t,n){var r=e.source-t.source;return 0!==r?r:0!==(r=e.originalLine-t.originalLine)?r:0!==(r=e.originalColumn-t.originalColumn)||n?r:0!==(r=e.generatedColumn-t.generatedColumn)?r:(r=e.generatedLine-t.generatedLine,0!==r?r:e.name-t.name)}function d(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r?r:0!==(r=e.generatedColumn-t.generatedColumn)||n?r:0!==(r=e.source-t.source)?r:0!==(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,0!==r?r:e.name-t.name)}function m(e,t){return e===t?0:e>t?1:-1}function g(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!==(n=e.generatedColumn-t.generatedColumn)?n:0!==(n=m(e.source,t.source))?n:0!==(n=e.originalLine-t.originalLine)?n:(n=e.originalColumn-t.originalColumn,0!==n?n:m(e.name,t.name))}n.getArg=r;var v=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,b=/^data:.+\,.+$/;n.urlParse=o,n.urlGenerate=i,n.normalize=a,n.join=u,n.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(v)},n.relative=s;var y=function(){return!("__proto__"in Object.create(null))}();n.toSetString=y?l:c,n.fromSetString=y?l:f,n.compareByOriginalPositions=h,n.compareByGeneratedPositionsDeflated=d,n.compareByGeneratedPositionsInflated=g},{}],156:[function(e,t,n){n.SourceMapGenerator=e("./lib/source-map-generator").SourceMapGenerator,n.SourceMapConsumer=e("./lib/source-map-consumer").SourceMapConsumer,n.SourceNode=e("./lib/source-node").SourceNode},{"./lib/source-map-consumer":152,"./lib/source-map-generator":153,"./lib/source-node":154}],157:[function(e,t,n){(function(t){var r=e("./lib/request"),o=e("xtend"),i=e("builtin-status-codes"),a=e("url"),u=n;u.request=function(e,n){e="string"==typeof e?a.parse(e):o(e);var i=-1===t.location.protocol.search(/^https?:$/)?"http:":"",u=e.protocol||i,s=e.hostname||e.host,l=e.port,c=e.path||"/";s&&-1!==s.indexOf(":")&&(s="["+s+"]"),e.url=(s?u+"//"+s:"")+(l?":"+l:"")+c,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var f=new r(e);return n&&f.on("response",n),f},u.get=function(e,t){var n=u.request(e,t);return n.end(),n},u.Agent=function(){},u.Agent.defaultMaxSockets=4,u.STATUS_CODES=i,u.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lib/request":159,"builtin-status-codes":6,url:162,xtend:166}],158:[function(e,t,n){(function(e){function t(){if(void 0!==i)return i;if(e.XMLHttpRequest){i=new e.XMLHttpRequest;try{i.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){i=null}}else i=null;return i}function r(e){var n=t();if(!n)return!1;try{return n.responseType=e,n.responseType===e}catch(e){}return!1}function o(e){return"function"==typeof e}n.fetch=o(e.fetch)&&o(e.ReadableStream),n.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),n.blobConstructor=!0}catch(e){}var i,a=void 0!==e.ArrayBuffer,u=a&&o(e.ArrayBuffer.prototype.slice);n.arraybuffer=n.fetch||a&&r("arraybuffer"),n.msstream=!n.fetch&&u&&r("ms-stream"),n.mozchunkedarraybuffer=!n.fetch&&a&&r("moz-chunked-arraybuffer"),n.overrideMimeType=n.fetch||!!t()&&o(t().overrideMimeType),n.vbArray=o(e.VBArray),i=null}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],159:[function(e,t,n){(function(n,r,o){function i(e,t){return u.fetch&&t?"fetch":u.mozchunkedarraybuffer?"moz-chunked-arraybuffer":u.msstream?"ms-stream":u.arraybuffer&&e?"arraybuffer":u.vbArray&&e?"text:vbarray":"text"}function a(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}}var u=e("./capability"),s=e("inherits"),l=e("./response"),c=e("readable-stream"),f=e("to-arraybuffer"),p=l.IncomingMessage,h=l.readyStates,d=t.exports=function(e){var t=this;c.Writable.call(t),t._opts=e,t._body=[],t._headers={},e.auth&&t.setHeader("Authorization","Basic "+new o(e.auth).toString("base64")),Object.keys(e.headers).forEach(function(n){t.setHeader(n,e.headers[n])});var n,r=!0;if("disable-fetch"===e.mode||"timeout"in e)r=!1,n=!0;else if("prefer-streaming"===e.mode)n=!1;else if("allow-wrong-content-type"===e.mode)n=!u.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");n=!0}t._mode=i(n,r),t.on("finish",function(){t._onFinish()})};s(d,c.Writable),d.prototype.setHeader=function(e,t){var n=this,r=e.toLowerCase();-1===m.indexOf(r)&&(n._headers[r]={name:e,value:t})},d.prototype.getHeader=function(e){var t=this._headers[e.toLowerCase()];return t?t.value:null},d.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},d.prototype._onFinish=function(){var e=this;if(!e._destroyed){var t=e._opts,i=e._headers,a=null;"GET"!==t.method&&"HEAD"!==t.method&&(a=u.blobConstructor?new r.Blob(e._body.map(function(e){return f(e)}),{type:(i["content-type"]||{}).value||""}):o.concat(e._body).toString());var s=[];if(Object.keys(i).forEach(function(e){var t=i[e].name,n=i[e].value;Array.isArray(n)?n.forEach(function(e){s.push([t,e])}):s.push([t,n])}),"fetch"===e._mode)r.fetch(e._opts.url,{method:e._opts.method,headers:s,body:a||void 0,mode:"cors",credentials:t.withCredentials?"include":"same-origin"}).then(function(t){e._fetchResponse=t,e._connect()},function(t){e.emit("error",t)});else{var l=e._xhr=new r.XMLHttpRequest;try{l.open(e._opts.method,e._opts.url,!0)}catch(t){return void n.nextTick(function(){e.emit("error",t)})}"responseType"in l&&(l.responseType=e._mode.split(":")[0]),"withCredentials"in l&&(l.withCredentials=!!t.withCredentials),"text"===e._mode&&"overrideMimeType"in l&&l.overrideMimeType("text/plain; charset=x-user-defined"),"timeout"in t&&(l.timeout=t.timeout,l.ontimeout=function(){e.emit("timeout")}),s.forEach(function(e){l.setRequestHeader(e[0],e[1])}),e._response=null,l.onreadystatechange=function(){switch(l.readyState){case h.LOADING:case h.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(l.onprogress=function(){e._onXHRProgress()}),l.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{l.send(a)}catch(t){return void n.nextTick(function(){e.emit("error",t)})}}}},d.prototype._onXHRProgress=function(){var e=this;a(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},d.prototype._connect=function(){var e=this;e._destroyed||(e._response=new p(e._xhr,e._fetchResponse,e._mode),e._response.on("error",function(t){e.emit("error",t)}),e.emit("response",e._response))},d.prototype._write=function(e,t,n){this._body.push(e),n()},d.prototype.abort=d.prototype.destroy=function(){var e=this;e._destroyed=!0,e._response&&(e._response._destroyed=!0),e._xhr&&e._xhr.abort()},d.prototype.end=function(e,t,n){var r=this;"function"==typeof e&&(n=e,e=void 0),c.Writable.prototype.end.call(r,e,t,n)},d.prototype.flushHeaders=function(){},d.prototype.setTimeout=function(){},d.prototype.setNoDelay=function(){},d.prototype.setSocketKeepAlive=function(){};var m=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","user-agent","via"]}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"./capability":158,"./response":160,_process:114,buffer:5,inherits:107,"readable-stream":127,"to-arraybuffer":161}],160:[function(e,t,n){(function(t,r,o){var i=e("./capability"),a=e("inherits"),u=e("readable-stream"),s=n.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},l=n.IncomingMessage=function(e,n,r){function a(){l.read().then(function(e){s._destroyed||(e.done?s.push(null):(s.push(new o(e.value)),a()))}).catch(function(e){s.emit("error",e)})}var s=this;if(u.Readable.call(s),s._mode=r,s.headers={},s.rawHeaders=[],s.trailers={},s.rawTrailers=[],s.on("end",function(){t.nextTick(function(){s.emit("close")})}),"fetch"===r){s._fetchResponse=n,s.url=n.url,s.statusCode=n.status,s.statusMessage=n.statusText,n.headers.forEach(function(e,t){s.headers[t.toLowerCase()]=e,s.rawHeaders.push(t,e)});var l=n.body.getReader();a()}else if(s._xhr=e,s._pos=0,s.url=e.responseURL,s.statusCode=e.status,s.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach(function(e){var t=e.match(/^([^:]+):\s*(.*)/);if(t){var n=t[1].toLowerCase();"set-cookie"===n?(void 0===s.headers[n]&&(s.headers[n]=[]),s.headers[n].push(t[2])):void 0!==s.headers[n]?s.headers[n]+=", "+t[2]:s.headers[n]=t[2],s.rawHeaders.push(t[1],t[2])}}),s._charset="x-user-defined",!i.overrideMimeType){var c=s.rawHeaders["mime-type"];if(c){var f=c.match(/;\s*charset=([^;])(;|$)/);f&&(s._charset=f[1].toLowerCase())}s._charset||(s._charset="utf-8")}};a(l,u.Readable),l.prototype._read=function(){},l.prototype._onXHRProgress=function(){var e=this,t=e._xhr,n=null;switch(e._mode){case"text:vbarray":if(t.readyState!==s.DONE)break;try{n=new r.VBArray(t.responseBody).toArray()}catch(e){}if(null!==n){e.push(new o(n));break}case"text":try{n=t.responseText}catch(t){e._mode="text:vbarray";break}if(n.length>e._pos){var i=n.substr(e._pos);if("x-user-defined"===e._charset){for(var a=new o(i.length),u=0;u<i.length;u++)a[u]=255&i.charCodeAt(u);e.push(a)}else e.push(i,e._charset);e._pos=n.length}break;case"arraybuffer":if(t.readyState!==s.DONE||!t.response)break;n=t.response,e.push(new o(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=t.response,t.readyState!==s.LOADING||!n)break;e.push(new o(new Uint8Array(n)));break;case"ms-stream":if(n=t.response,t.readyState!==s.LOADING)break;var l=new r.MSStreamReader;l.onprogress=function(){l.result.byteLength>e._pos&&(e.push(new o(new Uint8Array(l.result.slice(e._pos)))),e._pos=l.result.byteLength)},l.onload=function(){e.push(null)},l.readAsArrayBuffer(n)}e._xhr.readyState===s.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{"./capability":158,_process:114,buffer:5,inherits:107,"readable-stream":127}],161:[function(e,t,n){var r=e("buffer").Buffer;t.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(r.isBuffer(e)){for(var t=new Uint8Array(e.length),n=e.length,o=0;o<n;o++)t[o]=e[o];return t.buffer}throw new Error("Argument must be a Buffer")}},{buffer:5}],162:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(e,t,n){if(e&&l.isObject(e)&&e instanceof r)return e;var o=new r;return o.parse(e,t,n),o}function i(e){return l.isString(e)&&(e=o(e)),e instanceof r?e.format():r.prototype.format.call(e)}function a(e,t){return o(e,!1,!0).resolve(t)}function u(e,t){return e?o(e,!1,!0).resolveObject(t):t}var s=e("punycode"),l=e("./util");n.parse=o,n.resolve=a,n.resolveObject=u,n.format=i,n.Url=r;var c=/^([a-z0-9.+-]+:)/i,f=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,h=["<",">",'"',"`"," ","\r","\n","\t"],d=["{","}","|","\\","^","`"].concat(h),m=["'"].concat(d),g=["%","/","?",";","#"].concat(m),v=["/","?","#"],b=/^[+a-z0-9A-Z_-]{0,63}$/,y=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},w={javascript:!0,"javascript:":!0},A={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},E=e("querystring");r.prototype.parse=function(e,t,n){if(!l.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),o=-1!==r&&r<e.indexOf("#")?"?":"#",i=e.split(o),a=/\\/g;i[0]=i[0].replace(a,"/");var u=e=i.join(o);if(u=u.trim(),!n&&1===e.split("#").length){var f=p.exec(u);if(f)return this.path=u,this.href=u,this.pathname=f[1],f[2]?(this.search=f[2],this.query=t?E.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var h=c.exec(u);if(h){var d=(h=h[0]).toLowerCase();this.protocol=d,u=u.substr(h.length)}if(n||h||u.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===u.substr(0,2);!x||h&&w[h]||(u=u.substr(2),this.slashes=!0)}if(!w[h]&&(x||h&&!A[h])){for(var C=-1,k=0;k<v.length;k++)-1!==(S=u.indexOf(v[k]))&&(-1===C||S<C)&&(C=S);var O,B;-1!==(B=-1===C?u.lastIndexOf("@"):u.lastIndexOf("@",C))&&(O=u.slice(0,B),u=u.slice(B+1),this.auth=decodeURIComponent(O)),C=-1;for(k=0;k<g.length;k++){var S=u.indexOf(g[k]);-1!==S&&(-1===C||S<C)&&(C=S)}-1===C&&(C=u.length),this.host=u.slice(0,C),u=u.slice(C),this.parseHost(),this.hostname=this.hostname||"";var D="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!D)for(var T=this.hostname.split(/\./),k=0,R=T.length;k<R;k++){var F=T[k];if(F&&!F.match(b)){for(var L="",M=0,P=F.length;M<P;M++)F.charCodeAt(M)>127?L+="x":L+=F[M];if(!L.match(b)){var U=T.slice(0,k),N=T.slice(k+1),q=F.match(y);q&&(U.push(q[1]),N.unshift(q[2])),N.length&&(u="/"+N.join(".")+u),this.hostname=U.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),D||(this.hostname=s.toASCII(this.hostname));var z=this.port?":"+this.port:"",I=this.hostname||"";this.host=I+z,this.href+=this.host,D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==u[0]&&(u="/"+u))}if(!_[d])for(var k=0,R=m.length;k<R;k++){var j=m[k];if(-1!==u.indexOf(j)){var V=encodeURIComponent(j);V===j&&(V=escape(j)),u=u.split(j).join(V)}}var $=u.indexOf("#");-1!==$&&(this.hash=u.substr($),u=u.slice(0,$));var H=u.indexOf("?");if(-1!==H?(this.search=u.substr(H),this.query=u.substr(H+1),t&&(this.query=E.parse(this.query)),u=u.slice(0,H)):t&&(this.search="",this.query={}),u&&(this.pathname=u),A[d]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var z=this.pathname||"",K=this.search||"";this.path=z+K}return this.href=this.format(),this},r.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,i="";this.host?o=e+this.host:this.hostname&&(o=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&l.isObject(this.query)&&Object.keys(this.query).length&&(i=E.stringify(this.query));var a=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||A[t])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),a&&"?"!==a.charAt(0)&&(a="?"+a),n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),a=a.replace("#","%23"),t+o+n+a+r},r.prototype.resolve=function(e){return this.resolveObject(o(e,!1,!0)).format()},r.prototype.resolveObject=function(e){if(l.isString(e)){var t=new r;t.parse(e,!1,!0),e=t}for(var n=new r,o=Object.keys(this),i=0;i<o.length;i++){var a=o[i];n[a]=this[a]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var u=Object.keys(e),s=0;s<u.length;s++){var c=u[s];"protocol"!==c&&(n[c]=e[c])}return A[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!A[e.protocol]){for(var f=Object.keys(e),p=0;p<f.length;p++){var h=f[p];n[h]=e[h]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||w[e.protocol])n.pathname=e.pathname;else{for(E=(e.pathname||"").split("/");E.length&&!(e.host=E.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==E[0]&&E.unshift(""),E.length<2&&E.unshift(""),n.pathname=E.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var d=n.pathname||"",m=n.search||"";n.path=d+m}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var g=n.pathname&&"/"===n.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),b=v||g||n.host&&e.pathname,y=b,_=n.pathname&&n.pathname.split("/")||[],E=e.pathname&&e.pathname.split("/")||[],x=n.protocol&&!A[n.protocol];if(x&&(n.hostname="",n.port=null,n.host&&(""===_[0]?_[0]=n.host:_.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===E[0]?E[0]=e.host:E.unshift(e.host)),e.host=null),b=b&&(""===E[0]||""===_[0])),v)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,_=E;else if(E.length)_||(_=[]),_.pop(),_=_.concat(E),n.search=e.search,n.query=e.query;else if(!l.isNullOrUndefined(e.search))return x&&(n.hostname=n.host=_.shift(),(D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=D.shift(),n.host=n.hostname=D.shift())),n.search=e.search,n.query=e.query,l.isNull(n.pathname)&&l.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=_.slice(-1)[0],k=(n.host||e.host||_.length>1)&&("."===C||".."===C)||""===C,O=0,B=_.length;B>=0;B--)"."===(C=_[B])?_.splice(B,1):".."===C?(_.splice(B,1),O++):O&&(_.splice(B,1),O--);if(!b&&!y)for(;O--;O)_.unshift("..");!b||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),k&&"/"!==_.join("/").substr(-1)&&_.push("");var S=""===_[0]||_[0]&&"/"===_[0].charAt(0);if(x){n.hostname=n.host=S?"":_.length?_.shift():"";var D=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");D&&(n.auth=D.shift(),n.host=n.hostname=D.shift())}return(b=b||n.host&&_.length)&&!S&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),l.isNull(n.pathname)&&l.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var e=this.host,t=f.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{"./util":163,punycode:115,querystring:118}],163:[function(e,t,n){"use strict";t.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},{}],164:[function(e,t,n){(function(e){function n(e,t){function n(){if(!o){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),o=!0}return e.apply(this,arguments)}if(r("noDeprecation"))return e;var o=!1;return n}function r(t){try{if(!e.localStorage)return!1}catch(e){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],165:[function(e,t,n){n.baseChar=/[A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7\u04C8\u04CB\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B36-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60\u0D61\u0E01-\u0E2E\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD\u0EAE\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102\u1103\u1105-\u1107\u1109\u110B\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D\u116E\u1172\u1173\u1175\u119E\u11A8\u11AB\u11AE\u11AF\u11B7\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A\u212B\u212E\u2180-\u2182\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\uAC00-\uD7A3]/,n.ideographic=/[\u3007\u3021-\u3029\u4E00-\u9FA5]/,n.letter=/[A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u0131\u0134-\u013E\u0141-\u0148\u014A-\u017E\u0180-\u01C3\u01CD-\u01F0\u01F4\u01F5\u01FA-\u0217\u0250-\u02A8\u02BB-\u02C1\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03CE\u03D0-\u03D6\u03DA\u03DC\u03DE\u03E0\u03E2-\u03F3\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E-\u0481\u0490-\u04C4\u04C7\u04C8\u04CB\u04CC\u04D0-\u04EB\u04EE-\u04F5\u04F8\u04F9\u0531-\u0556\u0559\u0561-\u0586\u05D0-\u05EA\u05F0-\u05F2\u0621-\u063A\u0641-\u064A\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D3\u06D5\u06E5\u06E6\u0905-\u0939\u093D\u0958-\u0961\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8B\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AE0\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B36-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB5\u0BB7-\u0BB9\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CDE\u0CE0\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D60\u0D61\u0E01-\u0E2E\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD\u0EAE\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0F40-\u0F47\u0F49-\u0F69\u10A0-\u10C5\u10D0-\u10F6\u1100\u1102\u1103\u1105-\u1107\u1109\u110B\u110C\u110E-\u1112\u113C\u113E\u1140\u114C\u114E\u1150\u1154\u1155\u1159\u115F-\u1161\u1163\u1165\u1167\u1169\u116D\u116E\u1172\u1173\u1175\u119E\u11A8\u11AB\u11AE\u11AF\u11B7\u11B8\u11BA\u11BC-\u11C2\u11EB\u11F0\u11F9\u1E00-\u1E9B\u1EA0-\u1EF9\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2126\u212A\u212B\u212E\u2180-\u2182\u3007\u3021-\u3029\u3041-\u3094\u30A1-\u30FA\u3105-\u312C\u4E00-\u9FA5\uAC00-\uD7A3]/,n.combiningChar=/[\u0300-\u0345\u0360\u0361\u0483-\u0486\u0591-\u05A1\u05A3-\u05B9\u05BB-\u05BD\u05BF\u05C1\u05C2\u05C4\u064B-\u0652\u0670\u06D6-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0901-\u0903\u093C\u093E-\u094D\u0951-\u0954\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A02\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A70\u0A71\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0B01-\u0B03\u0B3C\u0B3E-\u0B43\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B82\u0B83\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C01-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C82\u0C83\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0D02\u0D03\u0D3E-\u0D43\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86-\u0F8B\u0F90-\u0F95\u0F97\u0F99-\u0FAD\u0FB1-\u0FB7\u0FB9\u20D0-\u20DC\u20E1\u302A-\u302F\u3099\u309A]/,n.digit=/[0-9\u0660-\u0669\u06F0-\u06F9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE7-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29]/,n.extender=/[\xB7\u02D0\u02D1\u0387\u0640\u0E46\u0EC6\u3005\u3031-\u3035\u309D\u309E\u30FC-\u30FE]/},{}],166:[function(e,t,n){function r(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n)o.call(n,r)&&(e[r]=n[r])}return e}t.exports=r;var o=Object.prototype.hasOwnProperty},{}],167:[function(e,t,n){"use strict";function r(e){return u(e,!0)}function o(e){var t=s.source+"(?:\\s*("+i(e)+")[ \\t\\n\\f\\r]*(?:"+c.join("|")+"))?";if(e.customAttrSurround){for(var n=[],r=e.customAttrSurround.length-1;r>=0;r--)n[r]="(?:("+e.customAttrSurround[r][0].source+")\\s*"+t+"\\s*("+e.customAttrSurround[r][1].source+"))";n.push("(?:"+t+")"),t="(?:"+n.join("|")+")"}return new RegExp("^\\s*"+t)}function i(e){return l.concat(e.customAttrAssign||[]).map(function(e){return"(?:"+e.source+")"}).join("|")}function a(e,t){function n(e){var t=e.match(p);if(t){var n={tagName:t[1],attrs:[]};e=e.slice(t[0].length);for(var r,o;!(r=e.match(h))&&(o=e.match(c));)e=e.slice(o[0].length),n.attrs.push(o);if(r)return n.unarySlash=r[1],n.rest=e.slice(r[0].length),n}}function r(e,n){var r;if(n){var o=n.toLowerCase();for(r=l.length-1;r>=0&&l[r].tag.toLowerCase()!==o;r--);}else r=0;if(r>=0){for(var a=l.length-1;a>=r;a--)t.end&&t.end(l[a].tag,l[a].attrs,a>r||!e);l.length=r,i=r&&l[r-1].tag}else"br"===n.toLowerCase()?t.start&&t.start(n,[],!0,""):"p"===n.toLowerCase()&&(t.start&&t.start(n,[],!1,"",!0),t.end&&t.end(n,[]))}for(var i,a,u,s,l=[],c=o(t);e;){if(a=e,i&&w(i)){var f=i.toLowerCase(),x=E[f]||(E[f]=new RegExp("([\\s\\S]*?)</"+f+"[^>]*>","i"));e=e.replace(x,function(e,n){return"script"!==f&&"style"!==f&&"noscript"!==f&&(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),t.chars&&t.chars(n),""}),r("</"+f+">",f)}else{var C=e.indexOf("<");if(0===C){if(/^<!--/.test(e)){var k=e.indexOf("--\x3e");if(k>=0){t.comment&&t.comment(e.substring(4,k)),e=e.substring(k+3),u="";continue}}if(/^<!\[/.test(e)){var O=e.indexOf("]>");if(O>=0){t.comment&&t.comment(e.substring(2,O+1),!0),e=e.substring(O+2),u="";continue}}var B=e.match(m);if(B){t.doctype&&t.doctype(B[0]),e=e.substring(B[0].length),u="";continue}var S=e.match(d);if(S){e=e.substring(S[0].length),S[0].replace(d,r),u="/"+S[1].toLowerCase();continue}var D=n(e);if(D){e=D.rest,function(e){var n=e.tagName,o=e.unarySlash;if(t.html5&&"p"===i&&A(n)&&r("",i),!t.html5)for(;i&&b(i);)r("",i);y(n)&&i===n&&r("",n);var a=v(n)||"html"===n&&"head"===i||!!o,u=e.attrs.map(function(e){function n(t){return u=e[t],void 0!==(o=e[t+1])?'"':void 0!==(o=e[t+2])?"'":(void 0===(o=e[t+3])&&_(r)&&(o=r),"")}var r,o,i,a,u,s;g&&-1===e[0].indexOf('""')&&(""===e[3]&&delete e[3],""===e[4]&&delete e[4],""===e[5]&&delete e[5]);var l=1;if(t.customAttrSurround)for(var c=0,f=t.customAttrSurround.length;c<f;c++,l+=7)if(r=e[l+1]){s=n(l+2),i=e[l],a=e[l+6];break}return!r&&(r=e[l])&&(s=n(l+1)),{name:r,value:o,customAssign:u||"=",customOpen:i||"",customClose:a||"",quote:s||""}});a||(l.push({tag:n,attrs:u}),i=n,o=""),t.start&&t.start(n,u,a,o)}(D),u=D.tagName.toLowerCase();continue}}var T;C>=0?(T=e.substring(0,C),e=e.substring(C)):(T=e,e="");var R=n(e);s=R?R.tagName:(R=e.match(d))?"/"+R[1]:"",t.chars&&t.chars(T,u,s),u=""}if(e===a)throw new Error("Parse Error: "+e)}t.partialMarkup||r()}var u=e("./utils").createMapFromString,s=/([^\s"'<>/=]+)/,l=[/=/],c=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^ \t\n\f\r"'`=<>]+)/.source],f=function(){var t=e("ncname").source.slice(1,-1);return"((?:"+t+"\\:)?"+t+")"}(),p=new RegExp("^<"+f),h=/^\s*(\/?)>/,d=new RegExp("^<\\/"+f+"[^>]*>"),m=/^<!DOCTYPE [^>]+>/i,g=!1;"x".replace(/x(.)?/g,function(e,t){g=""===t});var v=r("area,base,basefont,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),b=r("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,noscript,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,svg,textarea,tt,u,var"),y=r("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),_=r("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),w=r("script,style"),A=r("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),E={};n.HTMLParser=a,n.HTMLtoXML=function(e){var t="";return new a(e,{start:function(e,n,r){t+="<"+e;for(var o=0,i=n.length;o<i;o++)t+=" "+n[o].name+'="'+(n[o].value||"").replace(/"/g,"&#34;")+'"';t+=(r?"/":"")+">"},end:function(e){t+="</"+e+">"},chars:function(e){t+=e},comment:function(e){t+="\x3c!--"+e+"--\x3e"},ignore:function(e){t+=e}}),t},n.HTMLtoDOM=function(e,t){var n={html:!0,head:!0,body:!0,title:!0},r={link:"head",base:"head"};t?t=t.ownerDocument||t.getOwnerDocument&&t.getOwnerDocument()||t:"undefined"!=typeof DOMDocument?t=new DOMDocument:"undefined"!=typeof document&&document.implementation&&document.implementation.createDocument?t=document.implementation.createDocument("","",null):"undefined"!=typeof ActiveX&&(t=new ActiveXObject("Msxml.DOMDocument"));var o=[];if(!(t.documentElement||t.getDocumentElement&&t.getDocumentElement())&&t.createElement&&function(){var e=t.createElement("html"),n=t.createElement("head");n.appendChild(t.createElement("title")),e.appendChild(n),e.appendChild(t.createElement("body")),t.appendChild(e)}(),t.getElementsByTagName)for(var i in n)n[i]=t.getElementsByTagName(i)[0];var u=n.body;return new a(e,{start:function(e,i,a){if(n[e])u=n[e];else{var s=t.createElement(e);for(var l in i)s.setAttribute(i[l].name,i[l].value);r[e]&&"boolean"!=typeof n[r[e]]?n[r[e]].appendChild(s):u&&u.appendChild&&u.appendChild(s),a||(o.push(s),u=s)}},end:function(){o.length-=1,u=o[o.length-1]},chars:function(e){u.appendChild(t.createTextNode(e))},comment:function(){},ignore:function(){}}),t}},{"./utils":169,ncname:110}],168:[function(e,t,n){"use strict";function r(){}function o(){}r.prototype.sort=function(e,t){t=t||0;for(var n=0,r=this.keys.length;n<r;n++){var o=this.keys[n],i=o.slice(1),a=e.indexOf(i,t);if(-1!==a){do{a!==t&&(e.splice(a,1),e.splice(t,0,i)),t++}while(-1!==(a=e.indexOf(i,t)));return this[o].sort(e,t)}}return e},o.prototype={add:function(e){var t=this;e.forEach(function(n){var r="$"+n;t[r]||(t[r]=[],t[r].processed=0),t[r].push(e)})},createSorter:function(){var e=this,t=new r;return t.keys=Object.keys(e).sort(function(t,n){var r=e[t].length,o=e[n].length;return r<o?1:r>o?-1:t<n?-1:t>n?1:0}).filter(function(n){if(e[n].processed<e[n].length){var r=n.slice(1),i=new o;return e[n].forEach(function(t){for(var n;-1!==(n=t.indexOf(r));)t.splice(n,1);t.forEach(function(t){e["$"+t].processed++}),i.add(t.slice(0))}),t[n]=i.createSorter(),!0}return!1}),t}},t.exports=o},{}],169:[function(e,t,n){"use strict";function r(e,t){var n={};return e.forEach(function(e){n[e]=1}),t?function(e){return 1===n[e.toLowerCase()]}:function(e){return 1===n[e]}}n.createMap=r,n.createMapFromString=function(e,t){return r(e.split(/,/),t)}},{}],"html-minifier":[function(e,t,n){"use strict";function r(e){return e&&e.replace(/\s+/g,function(e){return"\t"===e?"\t":e.replace(/(^|\xA0+)[^\xA0]+/g,"$1 ")})}function o(e,t,n,o,i){var a="",u="";return t.preserveLineBreaks&&(e=e.replace(/^\s*?[\n\r]\s*/,function(){return a="\n",""}).replace(/\s*?[\n\r]\s*$/,function(){return u="\n",""})),n&&(e=e.replace(/^\s+/,function(e){var n=!a&&t.conservativeCollapse;return n&&"\t"===e?"\t":e.replace(/^[^\xA0]+/,"").replace(/(\xA0+)[^\xA0]+/g,"$1 ")||(n?" ":"")})),o&&(e=e.replace(/\s+$/,function(e){var n=!u&&t.conservativeCollapse;return n&&"\t"===e?"\t":e.replace(/[^\xA0]+(\xA0+)/g," $1").replace(/[^\xA0]+$/,"")||(n?" ":"")})),i&&(e=r(e)),a+e+u}function i(e,t,n,r){var i=t&&!re(t);i&&!r.collapseInlineTagWhitespace&&(i="/"===t.charAt(0)?!te(t.slice(1)):!ne(t));var a=n&&!re(n);return a&&!r.collapseInlineTagWhitespace&&(a="/"===n.charAt(0)?!ne(n.slice(1)):!te(n)),o(e,r,i,a,t&&n)}function a(e){return/^\[if\s[^\]]+]|\[endif]$/.test(e)}function u(e,t){for(var n=0,r=t.ignoreCustomComments.length;n<r;n++)if(t.ignoreCustomComments[n].test(e))return!0;return!1}function s(e,t){var n=t.customEventAttributes;if(n){for(var r=n.length;r--;)if(n[r].test(e))return!0;return!1}return/^on[a-z]{3,}$/.test(e)}function l(e){return/^[^ \t\n\f\r"'`=<>]+$/.test(e)}function c(e,t){for(var n=e.length;n--;)if(e[n].name.toLowerCase()===t)return!0;return!1}function f(e,t,n,r){return n=n?X(n.toLowerCase()):"","script"===e&&"language"===t&&"javascript"===n||"form"===e&&"method"===t&&"get"===n||"input"===e&&"type"===t&&"text"===n||"script"===e&&"charset"===t&&!c(r,"src")||"a"===e&&"name"===t&&c(r,"id")||"area"===e&&"shape"===t&&"rect"===n}function p(e){return""===(e=X(e.split(/;/,2)[0]).toLowerCase())||oe(e)}function h(e,t){if("script"!==e)return!1;for(var n=0,r=t.length;n<r;n++)if("type"===t[n].name.toLowerCase())return p(t[n].value);return!0}function d(e){return""===(e=X(e).toLowerCase())||"text/css"===e}function m(e,t){if("style"!==e)return!1;for(var n=0,r=t.length;n<r;n++)if("type"===t[n].name.toLowerCase())return d(t[n].value);return!0}function g(e,t){return ie(e)||"draggable"===e&&!ae(t)}function v(e,t){return/^(?:a|area|link|base)$/.test(t)&&"href"===e||"img"===t&&/^(?:src|longdesc|usemap)$/.test(e)||"object"===t&&/^(?:classid|codebase|data|usemap)$/.test(e)||"q"===t&&"cite"===e||"blockquote"===t&&"cite"===e||("ins"===t||"del"===t)&&"cite"===e||"form"===t&&"action"===e||"input"===t&&("src"===e||"usemap"===e)||"head"===t&&"profile"===e||"script"===t&&("src"===e||"for"===e)}function b(e,t){return/^(?:a|area|object|button)$/.test(t)&&"tabindex"===e||"input"===t&&("maxlength"===e||"tabindex"===e)||"select"===t&&("size"===e||"tabindex"===e)||"textarea"===t&&/^(?:rows|cols|tabindex)$/.test(e)||"colgroup"===t&&"span"===e||"col"===t&&"span"===e||("th"===t||"td"===t)&&("rowspan"===e||"colspan"===e)}function y(e,t,n){if("link"!==e)return!1;for(var r=0,o=t.length;r<o;r++)if("rel"===t[r].name&&t[r].value===n)return!0}function _(e,t,n){return"media"===n&&(y(e,t,"stylesheet")||m(e,t))}function w(e,t){return"srcset"===e&&ue(t)}function A(e,t,n,o,i){if(n&&s(t,o))return n=X(n).replace(/^javascript:\s*/i,""),o.minifyJS(n,!0);if("class"===t)return n=X(n),n=o.sortClassName?o.sortClassName(n):r(n);if(v(t,e))return n=X(n),y(e,i,"canonical")?n:o.minifyURLs(n);if(b(t,e))return X(n);if("style"===t)return(n=X(n))&&(/;$/.test(n)&&!/&#?[0-9a-zA-Z]+;$/.test(n)&&(n=n.replace(/\s*;$/,"")),n=C(o.minifyCSS(x(n)))),n;if(w(t,e))n=X(n).split(/\s+,\s*|\s*,\s+/).map(function(e){var t=e,n="",r=e.match(/\s+([1-9][0-9]*w|[0-9]+(?:\.[0-9]+)?x)$/);if(r){t=t.slice(0,-r[0].length);var i=+r[1].slice(0,-1),a=r[1].slice(-1);1===i&&"x"===a||(n=" "+i+a)}return o.minifyURLs(t)+n}).join(", ");else if(E(e,i)&&"content"===t)n=n.replace(/\s+/g,"").replace(/[0-9]+\.[0-9]+/g,function(e){return(+e).toString()});else if(n&&o.customAttrCollapse&&o.customAttrCollapse.test(t))n=n.replace(/\n+|\r+|\s{2,}/g,"");else if("script"===e&&"type"===t)n=X(n.replace(/\s*;\s*/g,";"));else if(_(e,i,t))return n=X(n),O(o.minifyCSS(k(n)));return n}function E(e,t){if("meta"!==e)return!1;for(var n=0,r=t.length;n<r;n++)if("name"===t[n].name&&"viewport"===t[n].value)return!0}function x(e){return"*{"+e+"}"}function C(e){var t=e.match(/^\*\{([\s\S]*)\}$/);return t?t[1]:e}function k(e){return"@media "+e+"{a{top:0}}"}function O(e){var t=e.match(/^@media ([\s\S]*?)\s*{[\s\S]*}$/);return t?t[1]:e}function B(e,t){return t.processConditionalComments?e.replace(/^(\[if\s[^\]]+]>)([\s\S]*?)(<!\[endif])$/,function(e,n,r,o){return n+$(r,t,!0)+o}):e}function S(e,t,n){for(var r=0,o=n.length;r<o;r++)if("type"===n[r].name.toLowerCase()&&t.processScripts.indexOf(n[r].value)>-1)return $(e,t);return e}function D(e,t){switch(e){case"html":case"head":return!0;case"body":return!ce(t);case"colgroup":return"col"===t;case"tbody":return"tr"===t}return!1}function T(e,t){switch(t){case"colgroup":return"colgroup"===e;case"tbody":return be(e)}return!1}function R(e,t){switch(e){case"html":case"head":case"body":case"colgroup":case"caption":return!0;case"li":case"optgroup":case"tr":return t===e;case"dt":case"dd":return fe(t);case"p":return pe(t);case"rb":case"rt":case"rp":return de(t);case"rtc":return me(t);case"option":return ge(t);case"thead":case"tbody":return ve(t);case"tfoot":return"tbody"===t;case"td":case"th":return ye(t)}return!1}function F(e,t,n,r){return!(n&&!/^\s*$/.test(n))&&("function"==typeof r.removeEmptyAttributes?r.removeEmptyAttributes(t,e):"input"===e&&"value"===t||Ce.test(t))}function L(e,t){for(var n=t.length-1;n>=0;n--)if(t[n].name===e)return!0;return!1}function M(e,t){switch(e){case"textarea":return!1;case"audio":case"script":case"video":if(L("src",t))return!1;break;case"iframe":if(L("src",t)||L("srcdoc",t))return!1;break;case"object":if(L("data",t))return!1;break;case"applet":if(L("code",t))return!1}return!0}function P(e){return!/^(?:script|style|pre|textarea)$/.test(e)}function U(e){return!/^(?:pre|textarea)$/.test(e)}function N(e,t,n,r){var o=r.caseSensitive?e.name:e.name.toLowerCase(),i=e.value;if(r.decodeEntities&&i&&(i=Y(i,{isAttributeValue:!0})),!(r.removeRedundantAttributes&&f(n,o,i,t)||r.removeScriptTypeAttributes&&"script"===n&&"type"===o&&p(i)||r.removeStyleLinkTypeAttributes&&("style"===n||"link"===n)&&"type"===o&&d(i)||(i=A(n,o,i,r,t),r.removeEmptyAttributes&&F(n,o,i,r))))return r.decodeEntities&&i&&(i=i.replace(/&(#?[0-9a-zA-Z]+;)/g,"&amp;$1")),{attr:e,name:o,value:i}}function q(e,t,n,r,o){var i,a,u=e.name,s=e.value,c=e.attr,f=c.quote;return void 0===s||n.removeAttributeQuotes&&!~s.indexOf(o)&&l(s)?a=!r||t||/\/$/.test(s)?s+" ":s:(n.preventAttributesEscaping||(s='"'===(f=void 0===n.quoteCharacter?(s.match(/'/g)||[]).length<(s.match(/"/g)||[]).length?"'":'"':"'"===n.quoteCharacter?"'":'"')?s.replace(/"/g,"&#34;"):s.replace(/'/g,"&#39;")),a=f+s+f,r||n.removeTagWhitespace||(a+=" ")),void 0===s||n.collapseBooleanAttributes&&g(u.toLowerCase(),s.toLowerCase())?(i=u,r||(i+=" ")):i=u+c.customAssign+a,c.customOpen+i+c.customClose}function z(e){return e}function I(e){if(["html5","includeAutoGeneratedTags"].forEach(function(t){t in e||(e[t]=!0)}),"function"!=typeof e.log&&(e.log=z),e.canCollapseWhitespace||(e.canCollapseWhitespace=P),e.canTrimWhitespace||(e.canTrimWhitespace=U),"ignoreCustomComments"in e||(e.ignoreCustomComments=[/^!/]),"ignoreCustomFragments"in e||(e.ignoreCustomFragments=[/<%[\s\S]*?%>/,/<\?[\s\S]*?\?>/]),e.minifyURLs||(e.minifyURLs=z),"function"!=typeof e.minifyURLs){var t=e.minifyURLs;"string"==typeof t?t={site:t}:"object"!=typeof t&&(t={}),e.minifyURLs=function(n){try{return W.relate(n,t)}catch(t){return e.log(t),n}}}if(e.minifyJS||(e.minifyJS=z),"function"!=typeof e.minifyJS){var n=e.minifyJS;"object"!=typeof n&&(n={}),(n.parse||(n.parse={})).bare_returns=!1,e.minifyJS=function(t,r){var o=t.match(/^\s*<!--.*/),i=o?t.slice(o[0].length).replace(/\n\s*-->\s*$/,""):t;n.parse.bare_returns=r;var a=Z.minify(i,n);return a.error?(e.log(a.error),t):a.code.replace(/;$/,"")}}if(e.minifyCSS||(e.minifyCSS=z),"function"!=typeof e.minifyCSS){var r=e.minifyCSS;"object"!=typeof r&&(r={}),e.minifyCSS=function(t){t=t.replace(/(url\s*\(\s*)("|'|)(.*?)\2(\s*\))/gi,function(t,n,r,o,i){return n+r+e.minifyURLs(o)+r+i});try{return new K(r).minify(t).styles}catch(n){return e.log(n),t}}}}function j(e){var t;do{t=Math.random().toString(36).replace(/^0\.[0-9]*/,"")}while(~e.indexOf(t));return t}function V(e,t,n,r){function o(e){return e.map(function(e){return t.caseSensitive?e.name:e.name.toLowerCase()})}function i(e,t){return!t||-1===e.indexOf(t)}function a(e){return i(e,n)&&i(e,r)}function u(e){var n,r;new G(e,{start:function(e,i){s&&(s[e]||(s[e]=new Q),s[e].add(o(i).filter(a)));for(var u=0,c=i.length;u<c;u++){var f=i[u];l&&"class"===(t.caseSensitive?f.name:f.name.toLowerCase())?l.add(X(f.value).split(/[ \t\n\f\r]+/).filter(a)):t.processScripts&&"type"===f.name.toLowerCase()&&(n=e,r=f.value)}},end:function(){n=""},chars:function(e){t.processScripts&&ke(n)&&t.processScripts.indexOf(r)>-1&&u(e)}})}var s=t.sortAttributes&&Object.create(null),l=t.sortClassName&&new Q,c=t.log;if(t.log=null,t.sortAttributes=!1,t.sortClassName=!1,u($(e,t)),t.log=c,s){var f=Object.create(null);for(var p in s)f[p]=s[p].createSorter();t.sortAttributes=function(e,t){var n=f[e];if(n){var r=Object.create(null),i=o(t);i.forEach(function(e,n){(r[e]||(r[e]=[])).push(t[n])}),n.sort(i).forEach(function(e,n){t[n]=r[e].shift()})}}}if(l){var h=l.createSorter();t.sortClassName=function(e){return h.sort(e.split(/[ \n\f\r]+/)).join(" ")}}}function $(e,t,n){function s(e){return e.replace(A,function(e,t,n){var r=W[+n];return r[1]+w+n+r[2]})}function l(e,n){return t.canCollapseWhitespace(e,n,P)}function c(e,n){return t.canTrimWhitespace(e,n,U)}function f(){for(var e=E.length-1;e>0&&!/^<[^/!]/.test(E[e]);)e--;E.length=Math.max(0,e)}function p(){for(var e=E.length-1;e>0&&!/^<\//.test(E[e]);)e--;E.length=Math.max(0,e)}function d(e,n){for(var r=null;e>=0&&c(r);e--){var o=E[e],a=o.match(/^<\/([\w:-]+)>$/);if(a)r=a[1];else if(/>$/.test(o)||(E[e]=i(o,null,n,t)))break}}function g(e){var t=E.length-1;if(E.length>1){var n=E[E.length-1];/^(?:<!|$)/.test(n)&&-1===n.indexOf(_)&&t--}d(t,e)}var v=[];I(t=t||{}),t.collapseWhitespace&&(e=o(e,t,!0,!0));var b,y,_,w,A,E=[],x="",C="",k=[],O=[],F=[],L="",z="",$=Date.now(),K=[],W=[];e=e.replace(/<!-- htmlmin:ignore -->([\s\S]*?)<!-- htmlmin:ignore -->/g,function(n,r){if(!_){_=j(e);var o=new RegExp("^"+_+"([0-9]+)$");t.ignoreCustomComments?t.ignoreCustomComments.push(o):t.ignoreCustomComments=[o]}var i="\x3c!--"+_+K.length+"--\x3e";return K.push(r),i});var Q=t.ignoreCustomFragments.map(function(e){return e.source});if(Q.length){var Z=new RegExp("\\s*(?:"+Q.join("|")+")+\\s*","g");e=e.replace(Z,function(n){if(!w){w=j(e),A=new RegExp("(\\s*)"+w+"([0-9]+)(\\s*)","g");var r=t.minifyCSS;r&&(t.minifyCSS=function(e){return r(s(e))});var o=t.minifyJS;o&&(t.minifyJS=function(e,t){return o(s(e),t)})}var i=w+W.length;return W.push(/^(\s*)[\s\S]*?(\s*)$/.exec(n)),"\t"+i+"\t"})}(t.sortAttributes&&"function"!=typeof t.sortAttributes||t.sortClassName&&"function"!=typeof t.sortClassName)&&V(e,t,_,w),new G(e,{partialMarkup:n,html5:t.html5,start:function(e,n,r,o,i){var a=e.toLowerCase();if("svg"===a){v.push(t);var u={};for(var s in t)u[s]=t[s];u.keepClosingSlash=!0,u.caseSensitive=!0,t=u}e=t.caseSensitive?e:a,C=e,b=e,ne(e)||(x=""),y=!1,k=n;var h=t.removeOptionalTags;if(h){var d=xe(e);d&&D(L,e)&&f(),L="",d&&R(z,e)&&(p(),h=!T(z,e)),z=""}t.collapseWhitespace&&(O.length||g(e),c(e,n)||O.push(e),l(e,n)||F.push(e));var m="<"+e,_=o&&t.keepClosingSlash;E.push(m),t.sortAttributes&&t.sortAttributes(e,n);for(var A=[],B=n.length,S=!0;--B>=0;){var M=N(n[B],n,e,t);M&&(A.unshift(q(M,_,t,S,w)),S=!1)}A.length>0?(E.push(" "),E.push.apply(E,A)):h&&se(e)&&(L=e),E.push(E.pop()+(_?"/":"")+">"),i&&!t.includeAutoGeneratedTags&&(f(),L="")},end:function(e,n,r){var o=e.toLowerCase();"svg"===o&&(t=v.pop()),e=t.caseSensitive?e:o,t.collapseWhitespace&&(O.length?e===O[O.length-1]&&O.pop():g("/"+e),F.length&&e===F[F.length-1]&&F.pop());var i=!1;e===C&&(C="",i=!y),t.removeOptionalTags&&(i&&_e(L)&&f(),L="",!xe(e)||!z||Ee(z)||"p"===z&&he(e)||p(),z=le(e)?e:""),t.removeEmptyElements&&i&&M(e,n)?(f(),L="",z=""):(r&&!t.includeAutoGeneratedTags?z="":E.push("</"+e+">"),b="/"+e,te(e)?i&&(x+="|"):x="")},chars:function(e,n,r){if(n=""===n?"comment":n,r=""===r?"comment":r,t.decodeEntities&&e&&!ke(C)&&(e=Y(e)),t.collapseWhitespace){if(!O.length){if("comment"===n){var a=E[E.length-1];if(-1===a.indexOf(_)&&(a||(n=b),E.length>1&&(!a||!t.conservativeCollapse&&/ $/.test(x)))){var u=E.length-2;E[u]=E[u].replace(/\s+$/,function(t){return e=t+e,""})}}if(n)if("/nobr"===n||"wbr"===n){if(/^\s/.test(e)){for(var s=E.length-1;s>0&&0!==E[s].lastIndexOf("<"+n);)s--;d(s-1,"br")}}else ne("/"===n.charAt(0)?n.slice(1):n)&&(e=o(e,t,/(?:^|\s)$/.test(x)));!(e=n||r?i(e,n,r,t):o(e,t,!0,!0))&&/\s$/.test(x)&&n&&"/"===n.charAt(0)&&d(E.length-1,r)}F.length||"html"===r||n&&r||(e=o(e,t,!1,!1,!0))}t.processScripts&&ke(C)&&(e=S(e,t,k)),h(C,k)&&(e=t.minifyJS(e)),m(C,k)&&(e=t.minifyCSS(e)),t.removeOptionalTags&&e&&(("html"===L||"body"===L&&!/^\s/.test(e))&&f(),L="",(we(z)||Ae(z)&&!/^\s/.test(e))&&p(),z=""),b=/^\s*$/.test(e)?n:"comment",t.decodeEntities&&e&&!ke(C)&&(e=e.replace(/&(#?[0-9a-zA-Z]+;)/g,"&amp$1").replace(/</g,"&lt;")),x+=e,e&&(y=!0),E.push(e)},comment:function(e,n){var r=n?"<!":"\x3c!--",o=n?">":"--\x3e";e=a(e)?r+B(e,t)+o:t.removeComments?u(e,t)?"\x3c!--"+e+"--\x3e":"":r+e+o,t.removeOptionalTags&&e&&(L="",z=""),E.push(e)},doctype:function(e){E.push(t.useShortDoctype?"<!DOCTYPE html>":r(e))},customAttrAssign:t.customAttrAssign,customAttrSurround:t.customAttrSurround}),t.removeOptionalTags&&(_e(L)&&f(),z&&!Ee(z)&&p()),t.collapseWhitespace&&g("br");var J=H(E,t);return A&&(J=J.replace(A,function(e,n,r,i){var a=W[+r][0];return t.collapseWhitespace?("\t"!==n&&(a=n+a),"\t"!==i&&(a+=i),o(a,{preserveLineBreaks:t.preserveLineBreaks,conservativeCollapse:!t.trimCustomFragments},/^\s/.test(a),/\s$/.test(a))):a})),_&&(J=J.replace(new RegExp("\x3c!--"+_+"([0-9]+)--\x3e","g"),function(e,t){return K[+t]})),t.log("minified in: "+(Date.now()-$)+"ms"),J}function H(e,t){var n,r=t.maxLineLength;if(r){for(var i,a=[],u="",s=0,l=e.length;s<l;s++)i=e[s],u.length+i.length<r?u+=i:(a.push(u.replace(/^\n/,"")),u=i);a.push(u),n=a.join("\n")}else n=e.join("");return t.collapseWhitespace?o(n,t,!0,!0):n}var K=e("clean-css"),Y=e("he").decode,G=e("./htmlparser").HTMLParser,W=e("relateurl"),Q=e("./tokenchain"),Z=e("uglify-js"),J=e("./utils"),X=String.prototype.trim?function(e){return"string"!=typeof e?e:e.trim()}:function(e){return"string"!=typeof e?e:e.replace(/^\s+/,"").replace(/\s+$/,"")},ee=J.createMapFromString,te=ee("a,abbr,acronym,b,bdi,bdo,big,button,cite,code,del,dfn,em,font,i,ins,kbd,mark,math,nobr,q,rt,rp,s,samp,small,span,strike,strong,sub,sup,svg,time,tt,u,var"),ne=ee("a,abbr,acronym,b,big,del,em,font,i,ins,kbd,mark,nobr,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var"),re=ee("comment,img,input,wbr"),oe=J.createMap(["text/javascript","text/ecmascript","text/jscript","application/javascript","application/x-javascript","application/ecmascript"]),ie=ee("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),ae=ee("true,false"),ue=ee("img,source"),se=ee("html,head,body,colgroup,tbody"),le=ee("html,head,body,li,dt,dd,p,rb,rt,rtc,rp,optgroup,option,colgroup,caption,thead,tbody,tfoot,tr,td,th"),ce=ee("meta,link,script,style,template,noscript"),fe=ee("dt,dd"),pe=ee("address,article,aside,blockquote,details,div,dl,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,main,menu,nav,ol,p,pre,section,table,ul"),he=ee("a,audio,del,ins,map,noscript,video"),de=ee("rb,rt,rtc,rp"),me=ee("rb,rtc,rp"),ge=ee("option,optgroup"),ve=ee("tbody,tfoot"),be=ee("thead,tbody,tfoot"),ye=ee("td,th"),_e=ee("html,head,body"),we=ee("html,body"),Ae=ee("head,colgroup,caption"),Ee=ee("dt,thead"),xe=ee("a,abbr,acronym,address,applet,area,article,aside,audio,b,base,basefont,bdi,bdo,bgsound,big,blink,blockquote,body,br,button,canvas,caption,center,cite,code,col,colgroup,command,content,data,datalist,dd,del,details,dfn,dialog,dir,div,dl,dt,element,em,embed,fieldset,figcaption,figure,font,footer,form,frame,frameset,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,i,iframe,image,img,input,ins,isindex,kbd,keygen,label,legend,li,link,listing,main,map,mark,marquee,menu,menuitem,meta,meter,multicol,nav,nobr,noembed,noframes,noscript,object,ol,optgroup,option,output,p,param,picture,plaintext,pre,progress,q,rp,rt,rtc,ruby,s,samp,script,section,select,shadow,small,source,spacer,span,strike,strong,style,sub,summary,sup,table,tbody,td,template,textarea,tfoot,th,thead,time,title,tr,track,tt,u,ul,var,video,wbr,xmp"),Ce=new RegExp("^(?:class|id|style|title|lang|dir|on(?:focus|blur|change|click|dblclick|mouse(?:down|up|over|move|out)|key(?:press|down|up)))$"),ke=ee("script,style");n.minify=function(e,t){return $(e,t)}},{"./htmlparser":167,"./tokenchain":168,"./utils":169,"clean-css":7,he:104,relateurl:130,"uglify-js":"uglify-js"}],"uglify-js":[function(e,t,n){(function(e){!function(t){"use strict";function n(e){for(var t=Object.create(null),n=0;n<e.length;++n)t[e[n]]=!0;return t}function r(e){return e.split("")}function o(e,t){return t.indexOf(e)>=0}function i(e,t){for(var n=0,r=t.length;n<r;++n)if(e(t[n]))return t[n]}function a(e,t){if(t<=0)return"";if(1==t)return e;var n=a(e,t>>1);return n+=n,1&t&&(n+=e),n}function u(e){Object.defineProperty(e.prototype,"stack",{get:function(){var e=new Error(this.message);e.name=this.name;try{throw e}catch(e){return e.stack}}})}function s(e,t){this.message=e,this.defs=t}function l(e,t,n){!0===e&&(e={});var r=e||{};if(n)for(var o in r)E(r,o)&&!E(t,o)&&s.croak("`"+o+"` is not a supported option",t);for(var o in t)E(t,o)&&(r[o]=e&&E(e,o)?e[o]:t[o]);return r}function c(e,t){var n=0;for(var r in t)E(t,r)&&(e[r]=t[r],n++);return n}function f(){}function p(){return!1}function h(){return!0}function d(){return this}function m(){return null}function g(e,t){e.indexOf(t)<0&&e.push(t)}function v(e,t){return e.replace(/\{(.+?)\}/g,function(e,n){return t&&t[n]})}function b(e,t){for(var n=e.length;--n>=0;)e[n]===t&&e.splice(n,1)}function y(e,t){function n(e,n){for(var r=[],o=0,i=0,a=0;o<e.length&&i<n.length;)t(e[o],n[i])<=0?r[a++]=e[o++]:r[a++]=n[i++];return o<e.length&&r.push.apply(r,e.slice(o)),i<n.length&&r.push.apply(r,n.slice(i)),r}function r(e){if(e.length<=1)return e;var t=Math.floor(e.length/2),o=e.slice(0,t),i=e.slice(t);return o=r(o),i=r(i),n(o,i)}return e.length<2?e.slice():r(e)}function _(e){function t(e){return JSON.stringify(e).replace(/[\u2028\u2029]/g,function(e){switch(e){case"\u2028":return"\\u2028";case"\u2029":return"\\u2029"}return e})}function n(e){if(1==e.length)return r+="return str === "+t(e[0])+";";r+="switch(str){";for(var n=0;n<e.length;++n)r+="case "+t(e[n])+":";r+="return true}return false;"}e instanceof Array||(e=e.split(" "));var r="",o=[];e:for(a=0;a<e.length;++a){for(var i=0;i<o.length;++i)if(o[i][0].length==e[a].length){o[i].push(e[a]);continue e}o.push([e[a]])}if(o.length>3){o.sort(function(e,t){return t.length-e.length}),r+="switch(str.length){";for(var a=0;a<o.length;++a){var u=o[a];r+="case "+u[0].length+":",n(u)}r+="}"}else n(e);return new Function("str",r)}function w(e,t){for(var n=e.length;--n>=0;)if(!t(e[n]))return!1;return!0}function A(){this._values=Object.create(null),this._size=0}function E(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function x(e){for(var t,n=e.parent(-1),r=0;t=e.parent(r);r++){if(t instanceof oe&&t.body===n)return!0;if(!(t instanceof Ke&&t.expressions[0]===n||t instanceof $e&&t.expression===n&&!(t instanceof He)||t instanceof Ge&&t.expression===n||t instanceof We&&t.expression===n||t instanceof et&&t.condition===n||t instanceof Xe&&t.left===n||t instanceof Je&&t.expression===n))return!1;n=t}}function C(e,n,r,o){arguments.length<4&&(o=re);var i=n=n?n.split(/\s+/):[];o&&o.PROPS&&(n=n.concat(o.PROPS));for(var a="return function AST_"+e+"(props){ if (props) { ",u=n.length;--u>=0;)a+="this."+n[u]+" = props."+n[u]+";";var s=o&&new o;(s&&s.initialize||r&&r.initialize)&&(a+="this.initialize();"),a+="}}";var l=new Function(a)();if(s&&(l.prototype=s,l.BASE=o),o&&o.SUBCLASSES.push(l),l.prototype.CTOR=l,l.PROPS=n||null,l.SELF_PROPS=i,l.SUBCLASSES=[],e&&(l.prototype.TYPE=l.TYPE=e),r)for(u in r)E(r,u)&&(/^\$/.test(u)?l[u.substr(1)]=r[u]:l.prototype[u]=r[u]);return l.DEFMETHOD=function(e,t){this.prototype[e]=t},void 0!==t&&(t["AST_"+e]=l),l}function k(e,t){var n=e.body;if(n instanceof oe)n._walk(t);else for(var r=0,o=n.length;r<o;r++)n[r]._walk(t)}function O(e){this.visit=e,this.stack=[],this.directives=Object.create(null)}function B(e){return e>=97&&e<=122||e>=65&&e<=90||e>=170&&Ht.letter.test(String.fromCharCode(e))}function S(e){return e>=48&&e<=57}function D(e){return S(e)||B(e)}function T(e){return Ht.digit.test(String.fromCharCode(e))}function R(e){return Ht.non_spacing_mark.test(e)||Ht.space_combining_mark.test(e)}function F(e){return Ht.connector_punctuation.test(e)}function L(e){return!Mt(e)&&/^[a-z_$][a-z0-9_$]*$/i.test(e)}function M(e){return 36==e||95==e||B(e)}function P(e){var t=e.charCodeAt(0);return M(t)||S(t)||8204==t||8205==t||R(e)||F(e)||T(t)}function U(e){return/^[a-z_$][a-z0-9_$]*$/i.test(e)}function N(e){if(Nt.test(e))return parseInt(e.substr(2),16);if(qt.test(e))return parseInt(e.substr(1),8);var t=parseFloat(e);return t==e?t:void 0}function q(e,t,n,r,o){this.message=e,this.filename=t,this.line=n,this.col=r,this.pos=o}function z(e,t,n,r,o){throw new q(e,t,n,r,o)}function I(e,t,n){return e.type==t&&(null==n||e.value==n)}function j(e,t,n,r){function o(){return O.text.charAt(O.pos)}function i(e,t){var n=O.text.charAt(O.pos++);if(e&&!n)throw Kt;return jt(n)?(O.newline_before=O.newline_before||!t,++O.line,O.col=0,t||"\r"!=n||"\n"!=o()||(++O.pos,n="\n")):++O.col,n}function a(e){for(;e-- >0;)i()}function u(e){return O.text.substr(O.pos,e.length)==e}function s(){for(var e=O.text,t=O.pos,n=O.text.length;t<n;++t){var r=e[t];if(jt(r))return t}return-1}function l(e,t){var n=O.text.indexOf(e,O.pos);if(t&&-1==n)throw Kt;return n}function c(){O.tokline=O.line,O.tokcol=O.col,O.tokpos=O.pos}function f(n,r,o){O.regex_allowed="operator"==n&&!Gt(r)||"keyword"==n&&Pt(r)||"punc"==n&&Vt(r),"punc"==n&&"."==r?B=!0:o||(B=!1);var i={type:n,value:r,line:O.tokline,col:O.tokcol,pos:O.tokpos,endline:O.line,endcol:O.col,endpos:O.pos,nlb:O.newline_before,file:t};if(/^(?:num|string|regexp)$/i.test(n)&&(i.raw=e.substring(i.pos,i.endpos)),!o){i.comments_before=O.comments_before,O.comments_before=[];for(var a=0,u=i.comments_before.length;a<u;a++)i.nlb=i.nlb||i.comments_before[a].nlb}return O.newline_before=!1,new ne(i)}function p(){for(;It(o());)i()}function h(e){for(var t,n="",r=0;(t=o())&&e(t,r++);)n+=i();return n}function d(e){z(e,t,O.tokline,O.tokcol,O.tokpos)}function m(e){var t=!1,n=!1,r=!1,o="."==e,i=h(function(i,a){var u=i.charCodeAt(0);switch(u){case 120:case 88:return!r&&(r=!0);case 101:case 69:return!!r||!t&&(t=n=!0);case 45:return n||0==a&&!e;case 43:return n;case n=!1,46:return!(o||r||t)&&(o=!0)}return D(u)});e&&(i=e+i),qt.test(i)&&k.has_directive("use strict")&&d("Legacy octal literals are not allowed in strict mode");var a=N(i);if(!isNaN(a))return f("num",a);d("Invalid syntax: "+i)}function g(e){var t=i(!0,e);switch(t.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(b(2));case 117:return String.fromCharCode(b(4));case 10:return"";case 13:if("\n"==o())return i(!0,e),""}return t>="0"&&t<="7"?v(t):t}function v(e){var t=o();return t>="0"&&t<="7"&&(e+=i(!0))[0]<="3"&&(t=o())>="0"&&t<="7"&&(e+=i(!0)),"0"===e?"\0":(e.length>0&&k.has_directive("use strict")&&d("Legacy octal escape sequences are not allowed in strict mode"),String.fromCharCode(parseInt(e,8)))}function b(e){for(var t=0;e>0;--e){var n=parseInt(i(!0),16);isNaN(n)&&d("Invalid hex-character pattern in string"),t=t<<4|n}return t}function y(e){var t,n=O.regex_allowed,r=s();return-1==r?(t=O.text.substr(O.pos),O.pos=O.text.length):(t=O.text.substring(O.pos,r),O.pos=r),O.col=O.tokcol+(O.pos-O.tokpos),O.comments_before.push(f(e,t,!0)),O.regex_allowed=n,k}function _(){for(var e,t,n=!1,r="",a=!1;null!=(e=o());)if(n)"u"!=e&&d("Expecting UnicodeEscapeSequence -- uXXXX"),P(e=g())||d("Unicode char: "+e.charCodeAt(0)+" is not valid in identifier"),r+=e,n=!1;else if("\\"==e)a=n=!0,i();else{if(!P(e))break;r+=i()}return Ft(r)&&a&&(t=r.charCodeAt(0).toString(16).toUpperCase(),r="\\u"+"0000".substr(t.length)+t+r.slice(1)),r}function w(e){function t(e){if(!o())return e;var n=e+o();return zt(n)?(i(),t(n)):e}return f("operator",t(e||i()))}function A(){switch(i(),o()){case"/":return i(),y("comment1");case"*":return i(),R()}return O.regex_allowed?F(""):w("/")}function E(){return i(),S(o().charCodeAt(0))?m("."):f("punc",".")}function x(){var e=_();return B?f("name",e):Lt(e)?f("atom",e):Ft(e)?zt(e)?f("operator",e):f("keyword",e):f("name",e)}function C(e,t){return function(n){try{return t(n)}catch(t){if(t!==Kt)throw t;d(e)}}}function k(e){if(null!=e)return F(e);for(r&&0==O.pos&&u("#!")&&(c(),a(2),y("comment5"));;){if(p(),c(),n){if(u("\x3c!--")){a(4),y("comment3");continue}if(u("--\x3e")&&O.newline_before){a(3),y("comment4");continue}}var t=o();if(!t)return f("eof");var s=t.charCodeAt(0);switch(s){case 34:case 39:return T(t);case 46:return E();case 47:var l=A();if(l===k)continue;return l}if(S(s))return m();if($t(t))return f("punc",i());if(Ut(t))return w();if(92==s||M(s))return x();break}d("Unexpected character '"+t+"'")}var O={text:e,filename:t,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:!1,regex_allowed:!1,comments_before:[],directives:{},directive_stack:[]},B=!1,T=C("Unterminated string constant",function(e){for(var t=i(),n="";;){var r=i(!0,!0);if("\\"==r)r=g(!0);else if(jt(r))d("Unterminated string constant");else if(r==t)break;n+=r}var o=f("string",n);return o.quote=e,o}),R=C("Unterminated multiline comment",function(){var e=O.regex_allowed,t=l("*/",!0),n=O.text.substring(O.pos,t).replace(/\r\n|\r|\u2028|\u2029/g,"\n");return a(n.length+2),O.comments_before.push(f("comment2",n,!0)),O.regex_allowed=e,k}),F=C("Unterminated regular expression",function(e){for(var t,n=!1,r=!1;t=i(!0);)if(jt(t))d("Unexpected line terminator");else if(n)e+="\\"+t,n=!1;else if("["==t)r=!0,e+=t;else if("]"==t&&r)r=!1,e+=t;else{if("/"==t&&!r)break;"\\"==t?n=!0:e+=t}var o=_();try{var a=new RegExp(e,o);return a.raw_source=e,f("regexp",a)}catch(e){d(e.message)}});return k.context=function(e){return e&&(O=e),O},k.add_directive=function(e){O.directive_stack[O.directive_stack.length-1].push(e),void 0===O.directives[e]?O.directives[e]=1:O.directives[e]++},k.push_directives_stack=function(){O.directive_stack.push([])},k.pop_directives_stack=function(){for(var e=O.directive_stack[O.directive_stack.length-1],t=0;t<e.length;t++)O.directives[e[t]]--;O.directive_stack.pop()},k.has_directive=function(e){return O.directives[e]>0},k}function V(e,t){function n(e,t){return I($.token,e,t)}function r(){return $.peeked||($.peeked=$.input())}function o(){return $.prev=$.token,$.peeked?($.token=$.peeked,$.peeked=null):$.token=$.input(),$.in_directives=$.in_directives&&("string"==$.token.type||n("punc",";")),$.token}function a(){return $.prev}function u(e,t,n,r){var o=$.input.context();z(e,o.filename,null!=t?t:o.tokline,null!=n?n:o.tokcol,null!=r?r:o.tokpos)}function s(e,t){u(t,e.line,e.col)}function c(e){null==e&&(e=$.token),s(e,"Unexpected token: "+e.type+" ("+e.value+")")}function f(e,t){if(n(e,t))return o();s($.token,"Unexpected token "+$.token.type+" «"+$.token.value+"», expected "+e+" «"+t+"»")}function p(e){return f("punc",e)}function h(){return!t.strict&&($.token.nlb||n("eof")||n("punc","}"))}function d(e){n("punc",";")?o():e||h()||c()}function m(){p("(");var e=oe(!0);return p(")"),e}function g(e){return function(){var t=$.token,n=e(),r=a();return n.start=t,n.end=r,n}}function v(){(n("operator","/")||n("operator","/="))&&($.peeked=null,$.token=$.input($.token.value.substr(1)))}function b(){var e=M(gt);i(function(t){return t.name==e.name},$.labels)&&u("Label "+e.name+" defined twice"),p(":"),$.labels.push(e);var t=H();return $.labels.pop(),t instanceof he||e.references.forEach(function(t){t instanceof Re&&(t=t.label.start,u("Continue label `"+e.name+"` refers to non-IterationStatement.",t.line,t.col,t.pos))}),new pe({body:t,label:e})}function y(e){return new ue({body:(e=oe(!0),d(),e)})}function _(e){var t,n=null;h()||(n=M(bt,!0)),null!=n?((t=i(function(e){return e.name==n.name},$.labels))||u("Undefined label "+n.name),n.thedef=t):0==$.in_loop&&u(e.TYPE+" not inside a loop or switch"),d();var r=new e({label:n});return t&&t.references.push(r),r}function w(){p("(");var e=null;return!n("punc",";")&&(e=n("keyword","var")?(o(),Y(!0)):oe(!0,!0),n("operator","in"))?(e instanceof je&&e.definitions.length>1&&u("Only one variable declaration allowed in for..in loop"),o(),E(e)):A(e)}function A(e){p(";");var t=n("punc",";")?null:oe(!0);p(";");var r=n("punc",")")?null:oe(!0);return p(")"),new ve({init:e,condition:t,step:r,body:V(H)})}function E(e){var t=e instanceof je?e.definitions[0].name:null,n=oe(!0);return p(")"),new be({init:e,name:t,object:n,body:V(H)})}function x(){var e=m(),t=H(),r=null;return n("keyword","else")&&(o(),r=H()),new Fe({condition:e,body:t,alternative:r})}function C(){p("{");for(var e=[];!n("punc","}");)n("eof")&&c(),e.push(H());return o(),e}function k(){p("{");for(var e,t=[],r=null,i=null;!n("punc","}");)n("eof")&&c(),n("keyword","case")?(i&&(i.end=a()),r=[],i=new Ue({start:(e=$.token,o(),e),expression:oe(!0),body:r}),t.push(i),p(":")):n("keyword","default")?(i&&(i.end=a()),r=[],i=new Pe({start:(e=$.token,o(),p(":"),e),body:r}),t.push(i)):(r||c(),r.push(H()));return i&&(i.end=a()),o(),t}function O(){var e=C(),t=null,r=null;if(n("keyword","catch")){s=$.token;o(),p("(");var i=M(mt);p(")"),t=new qe({start:s,argname:i,body:C(),end:a()})}if(n("keyword","finally")){var s=$.token;o(),r=new ze({start:s,body:C(),end:a()})}return t||r||u("Missing catch/finally blocks"),new Ne({body:e,bcatch:t,bfinally:r})}function B(e){for(var t=[];t.push(new Ve({start:$.token,name:M(ft),value:n("operator","=")?(o(),oe(!1,e)):null,end:a()})),n("punc",",");)o();return t}function S(){var e,t=$.token;switch(t.type){case"name":case"keyword":e=F(vt);break;case"num":e=new At({start:t,end:t,value:t.value});break;case"string":e=new wt({start:t,end:t,value:t.value,quote:t.quote});break;case"regexp":e=new Et({start:t,end:t,value:t.value});break;case"atom":switch(t.value){case"false":e=new Tt({start:t,end:t});break;case"true":e=new Rt({start:t,end:t});break;case"null":e=new Ct({start:t,end:t})}break;case"operator":U(t.value)||u("Invalid getter/setter name: "+t.value,t.line,t.col,t.pos),e=F(vt)}return o(),e}function D(e,t,r){for(var i=!0,a=[];!n("punc",e)&&(i?i=!1:p(","),!t||!n("punc",e));)n("punc",",")&&r?a.push(new Bt({start:$.token,end:$.token})):a.push(oe(!1));return o(),a}function T(){var e=$.token;switch(e.type){case"operator":Ft(e.value)||c();case"num":case"string":case"name":case"keyword":case"atom":return o(),e.value;default:c()}}function R(){var e=$.token;return"name"!=e.type&&c(),o(),e.value}function F(e){var t=$.token.value;return new("this"==t?yt:e)({name:String(t),start:$.token,end:$.token})}function L(e){"arguments"!=e.name&&"eval"!=e.name||u("Unexpected "+e.name+" in strict mode",e.start.line,e.start.col,e.start.pos)}function M(e,t){if(!n("name"))return t||u("Name expected"),null;var r=F(e);return $.input.has_directive("use strict")&&r instanceof ct&&L(r),o(),r}function P(e,t,n){var r=t.value;switch(r){case"++":case"--":q(n)||u("Invalid use of "+r+" operator",t.line,t.col,t.pos);break;case"delete":n instanceof vt&&$.input.has_directive("use strict")&&u("Calling delete on expression not allowed in strict mode",n.start.line,n.start.col,n.start.pos)}return new e({operator:r,expression:n})}function N(e){return te(ee(!0),0,e)}function q(e){return e instanceof Ye||e instanceof vt}function V(e){++$.in_loop;var t=e();return--$.in_loop,t}t=l(t,{bare_returns:!1,expression:!1,filename:null,html5_comments:!0,shebang:!0,strict:!1,toplevel:null});var $={input:"string"==typeof e?j(e,t.filename,t.html5_comments,t.shebang):e,token:null,prev:null,peeked:null,in_function:0,in_directives:!0,in_loop:0,labels:[]};$.token=o();var H=g(function(){switch(v(),$.token.type){case"string":if($.in_directives){var e=r();-1==$.token.raw.indexOf("\\")&&(e.nlb||I(e,"eof")||I(e,"punc",";")||I(e,"punc","}"))?$.input.add_directive($.token.value):$.in_directives=!1}var i=$.in_directives,s=y();return i?new ae(s.body):s;case"num":case"regexp":case"operator":case"atom":return y();case"name":return I(r(),"punc",":")?b():y();case"punc":switch($.token.value){case"{":return new le({start:$.token,body:C(),end:a()});case"[":case"(":return y();case";":return $.in_directives=!1,o(),new ce;default:c()}case"keyword":switch($.token.value){case"break":return o(),_(Te);case"continue":return o(),_(Re);case"debugger":return o(),d(),new ie;case"do":o();var l=V(H);f("keyword","while");var p=m();return d(!0),new me({body:l,condition:p});case"while":return o(),new ge({condition:m(),body:V(H)});case"for":return o(),w();case"function":return o(),K(Ce);case"if":return o(),x();case"return":0!=$.in_function||t.bare_returns||u("'return' outside of function"),o();g=null;return n("punc",";")?o():h()||(g=oe(!0),d()),new Be({value:g});case"switch":return o(),new Le({expression:m(),body:V(k)});case"throw":o(),$.token.nlb&&u("Illegal newline after 'throw'");var g=oe(!0);return d(),new Se({value:g});case"try":return o(),O();case"var":o();var A=Y();return d(),A;case"with":return $.input.has_directive("use strict")&&u("Strict mode may not include a with statement"),o(),new ye({expression:m(),body:H()})}}c()}),K=function(e){var t=e===Ce,r=n("name")?M(t?ht:dt):null;t&&!r&&c(),p("(");for(var i=[],a=!0;!n("punc",")");)a?a=!1:p(","),i.push(M(pt));o();var u=$.in_loop,s=$.labels;++$.in_function,$.in_directives=!0,$.input.push_directives_stack(),$.in_loop=0,$.labels=[];var l=C();return $.input.has_directive("use strict")&&(r&&L(r),i.forEach(L)),$.input.pop_directives_stack(),--$.in_function,$.in_loop=u,$.labels=s,new e({name:r,argnames:i,body:l})},Y=function(e){return new je({start:a(),definitions:B(e),end:a()})},G=function(e){var t=$.token;f("operator","new");var r,i=W(!1);return n("punc","(")?(o(),r=D(")")):r=[],X(new He({start:t,expression:i,args:r,end:a()}),e)},W=function(e){if(n("operator","new"))return G(e);var t=$.token;if(n("punc")){switch(t.value){case"(":o();var r=oe(!0);return r.start=t,r.end=$.token,p(")"),X(r,e);case"[":return X(Q(),e);case"{":return X(J(),e)}c()}if(n("keyword","function")){o();var i=K(xe);return i.start=t,i.end=a(),X(i,e)}if(Zt[$.token.type])return X(S(),e);c()},Q=g(function(){return p("["),new nt({elements:D("]",!t.strict,!0)})}),Z=g(function(){return K(Ee)}),J=g(function(){p("{");for(var e=!0,r=[];!n("punc","}")&&(e?e=!1:p(","),t.strict||!n("punc","}"));){var i=$.token,u=i.type,s=T();if("name"==u&&!n("punc",":")){var l=new lt({start:$.token,name:T(),end:a()});if("get"==s){r.push(new ut({start:i,key:l,value:Z(),end:a()}));continue}if("set"==s){r.push(new at({start:i,key:l,value:Z(),end:a()}));continue}}p(":"),r.push(new it({start:i,quote:i.quote,key:s,value:oe(!1),end:a()}))}return o(),new rt({properties:r})}),X=function(e,t){var r=e.start;if(n("punc","."))return o(),X(new Ge({start:r,expression:e,property:R(),end:a()}),t);if(n("punc","[")){o();var i=oe(!0);return p("]"),X(new We({start:r,expression:e,property:i,end:a()}),t)}return t&&n("punc","(")?(o(),X(new $e({start:r,expression:e,args:D(")"),end:a()}),!0)):e},ee=function(e){var t=$.token;if(n("operator")&&Yt(t.value)){o(),v();var r=P(Ze,t,ee(e));return r.start=t,r.end=a(),r}for(var i=W(e);n("operator")&&Gt($.token.value)&&!$.token.nlb;)(i=P(Je,$.token,i)).start=t,i.end=$.token,o();return i},te=function(e,t,r){var i=n("operator")?$.token.value:null;"in"==i&&r&&(i=null);var a=null!=i?Qt[i]:null;if(null!=a&&a>t){o();var u=te(ee(!0),a,r);return te(new Xe({start:e.start,left:e,operator:i,right:u,end:u.end}),t,r)}return e},ne=function(e){var t=$.token,r=N(e);if(n("operator","?")){o();var i=oe(!1);return p(":"),new et({start:t,condition:r,consequent:i,alternative:oe(!1,e),end:a()})}return r},re=function(e){var t=$.token,r=ne(e),i=$.token.value;if(n("operator")&&Wt(i)){if(q(r))return o(),new tt({start:t,left:r,operator:i,right:re(e),end:a()});u("Invalid assignment")}return r},oe=function(e,t){for(var i=$.token,a=[];;){if(a.push(re(t)),!e||!n("punc",","))break;o(),e=!0}return 1==a.length?a[0]:new Ke({start:i,expressions:a,end:r()})};return t.expression?oe(!0):function(){var e=$.token,r=[];for($.input.push_directives_stack();!n("eof");)r.push(H());$.input.pop_directives_stack();var o=a(),i=t.toplevel;return i?(i.body=i.body.concat(r),i.end=o):i=new we({start:e,body:r,end:o}),i}()}function $(e,t){O.call(this),this.before=e,this.after=t}function H(e,t,n){this.name=n.name,this.orig=[n],this.scope=e,this.references=[],this.global=!1,this.mangled_name=null,this.undeclared=!1,this.index=t,this.id=H.next_id++}function K(e){return"comment2"==e.type&&/@preserve|@license|@cc_on/i.test(e.value)}function Y(e){function t(e,t){return e.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(e){var n=e.charCodeAt(0).toString(16);if(n.length<=2&&!t){for(;n.length<2;)n="0"+n;return"\\x"+n}for(;n.length<4;)n="0"+n;return"\\u"+n})}function n(n,r){function o(){return"'"+n.replace(/\x27/g,"\\'")+"'"}function i(){return'"'+n.replace(/\x22/g,'\\"')+'"'}var a=0,u=0;switch(n=n.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(t,r){switch(t){case'"':return++a,'"';case"'":return++u,"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return e.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-7]/.test(n.charAt(r+1))?"\\x00":"\\0"}return t}),e.ascii_only&&(n=t(n)),e.quote_style){case 1:return o();case 2:return i();case 3:return"'"==r?o():i();default:return a>u?o():i()}}function r(t,r){var o=n(t,r);return e.inline_script&&(o=(o=(o=o.replace(/<\x2fscript([>\/\t\n\f\r ])/gi,"<\\/script$1")).replace(/\x3c!--/g,"\\x3c!--")).replace(/--\x3e/g,"--\\x3e")),o}function o(n){return n=n.toString(),e.ascii_only&&(n=t(n,!0)),n}function i(t){return a(" ",e.indent_start+x-t*e.indent_level)}function u(t){var n=(t=String(t)).charAt(0),r=R.charAt(R.length-1);if(D&&(D=!1,(":"==r&&"}"==n||(!n||";}".indexOf(n)<0)&&";"!=r)&&(e.semicolons||L(n)?(B+=";",C++,O++):(F(),B+="\n",O++,k++,C=0,/^\s+$/.test(t)&&(D=!0)),e.beautify||(S=!1))),!e.beautify&&e.preserve_line&&j[j.length-1])for(var o=j[j.length-1].start.line;k<o;)F(),B+="\n",O++,k++,C=0,S=!1;S&&((P(r)&&(P(n)||"\\"==n)||"/"==n&&n==r||("+"==n||"-"==n)&&n==R)&&(B+=" ",C++,O++),S=!1),B+=t,O+=t.length;var i=t.split(/\r?\n/),a=i.length-1;k+=a,C+=i[0].length,a>0&&(F(),C=i[a].length),R=t}function s(){D=!1,u(";")}function c(){return x+e.indent_level}function d(e){var t;return u("{"),q(),N(c(),function(){t=e()}),U(),u("}"),t}function m(e){u("(");var t=e();return u(")"),t}function g(e){u("[");var t=e();return u("]"),t}function v(){u(","),M()}function b(){u(":"),M()}function y(){return T&&F(),B}var w=p;if((e=l(e,{ascii_only:!1,beautify:!1,bracketize:!1,comments:!1,ie8:!1,indent_level:4,indent_start:0,inline_script:!0,keep_quoted_props:!1,max_line_len:!1,preamble:null,preserve_line:!1,quote_keys:!1,quote_style:0,semicolons:!0,shebang:!0,source_map:null,width:80,wrap_iife:!1},!0)).comments){var A=e.comments;if("string"==typeof e.comments&&/^\/.*\/[a-zA-Z]*$/.test(e.comments)){var E=e.comments.lastIndexOf("/");A=new RegExp(e.comments.substr(1,E-1),e.comments.substr(E+1))}w=A instanceof RegExp?function(e){return"comment5"!=e.type&&A.test(e.value)}:"function"==typeof A?function(e){return"comment5"!=e.type&&A(this,e)}:"some"===A?K:h}var x=0,C=0,k=1,O=0,B="",S=!1,D=!1,T=0,R="",F=e.max_line_len?function(){if(C>e.max_line_len){if(T){var t=B.slice(0,T),n=B.slice(T);B=t+"\n"+n,k++,O++,C=n.length}C>e.max_line_len&&re.warn("Output exceeds {max_line_len} characters",e)}T=0}:f,L=_("( [ + * / - , ."),M=e.beautify?function(){u(" ")}:function(){S=!0},U=e.beautify?function(t){e.beautify&&u(i(t?.5:0))}:f,N=e.beautify?function(e,t){!0===e&&(e=c());var n=x;x=e;var r=t();return x=n,r}:function(e,t){return t()},q=e.beautify?function(){u("\n")}:e.max_line_len?function(){F(),T=B.length}:f,z=e.beautify?function(){u(";")}:function(){D=!0},I=e.source_map?function(t,n){try{t&&e.source_map.add(t.file||"?",k,C,t.line,t.col,n||"name"!=t.type?n:t.value)}catch(e){re.warn("Couldn't figure out mapping for {file}:{line},{col} → {cline},{ccol} [{name}]",{file:t.file,line:t.line,col:t.col,cline:k,ccol:C,name:n||""})}}:f,j=[];return{get:y,toString:y,indent:U,indentation:function(){return x},current_width:function(){return C-x},should_break:function(){return e.width&&this.current_width()>=e.width},newline:q,print:u,space:M,comma:v,colon:b,last:function(){return R},semicolon:z,force_semicolon:s,to_ascii:t,print_name:function(e){u(o(e))},print_string:function(e,t,n){var o=r(e,t);!0===n&&-1===o.indexOf("\\")&&(Xt.test(B)||s(),s()),u(o)},encode_string:r,next_indent:c,with_indent:N,with_block:d,with_parens:m,with_square:g,add_mapping:I,option:function(t){return e[t]},comment_filter:w,line:function(){return k},col:function(){return C},pos:function(){return O},push_node:function(e){j.push(e)},pop_node:function(){return j.pop()},parent:function(e){return j[j.length-2-(e||0)]}}}function G(e,t){if(!(this instanceof G))return new G(e,t);$.call(this,this.before,this.after),this.options=l(e,{booleans:!t,cascade:!t,collapse_vars:!t,comparisons:!t,conditionals:!t,dead_code:!t,drop_console:!1,drop_debugger:!t,evaluate:!t,expression:!1,global_defs:{},hoist_funs:!t,hoist_vars:!1,ie8:!1,if_return:!t,join_vars:!t,keep_fargs:!0,keep_fnames:!1,keep_infinity:!1,loops:!t,negate_iife:!t,passes:1,properties:!t,pure_getters:!t&&"strict",pure_funcs:null,reduce_vars:!t,sequences:!t,side_effects:!t,switches:!t,top_retain:null,toplevel:!(!e||!e.top_retain),unsafe:!1,unsafe_comps:!1,unsafe_math:!1,unsafe_proto:!1,unsafe_regexp:!1,unused:!t,warnings:!1},!0);var n=this.options.pure_funcs;this.pure_funcs="function"==typeof n?n:n?function(e){return n.indexOf(e.expression.print_to_string())<0}:h;var r=this.options.top_retain;r instanceof RegExp?this.top_retain=function(e){return r.test(e.name)}:"function"==typeof r?this.top_retain=r:r&&("string"==typeof r&&(r=r.split(/,/)),this.top_retain=function(e){return r.indexOf(e.name)>=0});var o=this.options.toplevel;"string"==typeof o?(this.toplevel.funcs=/funcs/.test(o),this.toplevel.vars=/vars/.test(o)):(this.toplevel=o?h:p,this.toplevel.funcs=this.toplevel.vars=o);var i=this.options.sequences;this.sequences_limit=1==i?800:0|i,this.warnings_produced={}}function W(e){function t(t,o,i,a,u,s){if(r){var l=r.originalPositionFor({line:a,column:u});if(null===l.source)return;t=l.source,a=l.line,u=l.column,s=l.name||s}n.addMapping({generated:{line:o+e.dest_line_diff,column:i},original:{line:a+e.orig_line_diff,column:u},source:t,name:s})}e=l(e,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0});var n=new MOZ_SourceMap.SourceMapGenerator({file:e.file,sourceRoot:e.root}),r=e.orig&&new MOZ_SourceMap.SourceMapConsumer(e.orig);return r&&Array.isArray(e.orig.sources)&&r._sources.toArray().forEach(function(e){var t=r.sourceContentFor(e,!0);t&&n.setSourceContent(e,t)}),{add:t,get:function(){return n},toString:function(){return JSON.stringify(n.toJSON())}}}function Q(e){function t(t){g(e,t)}["null","true","false","Infinity","-Infinity","undefined"].forEach(t),[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp].forEach(function(e){Object.getOwnPropertyNames(e).map(t),e.prototype&&Object.getOwnPropertyNames(e.prototype).map(t)})}function Z(e,t){function n(e){return!(v.indexOf(e)>=0)&&(!(s.indexOf(e)>=0)&&(t.only_cache?c.props.has(e):!/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(e)))}function r(e){return!(h&&e in b)&&(!(p&&!p.test(e))&&(!(s.indexOf(e)>=0)&&(c.props.has(e)||m.indexOf(e)>=0)))}function o(e,t){t?b[e]=!0:(n(e)&&g(m,e),r(e)||g(v,e))}function i(e){if(!r(e))return e;var t=c.props.get(e);if(!t){if(d){var o="_$"+e+"$"+f+"_";!n(o)||h&&o in b||(t=o)}if(!t)do{t=Jt(++c.cname)}while(!n(t)||h&&t in b);c.props.set(e,t)}return t}function a(e,t){var n={};try{!function e(r){r.walk(new O(function(r){if(r instanceof Ke)return e(r.expressions[r.expressions.length-1]),!0;if(r instanceof wt)return o(r.value,t),!0;if(r instanceof et)return e(r.consequent),e(r.alternative),!0;throw n}))}(e)}catch(e){if(e!==n)throw e}}function u(e){return e.transform(new $(function(e){if(e instanceof Ke){var t=e.expressions.length-1;e.expressions[t]=u(e.expressions[t])}else e instanceof wt?e.value=i(e.value):e instanceof et&&(e.consequent=u(e.consequent),e.alternative=u(e.alternative));return e}))}var s=(t=l(t,{builtins:!1,cache:null,debug:!1,keep_quoted:!1,only_cache:!1,regex:null,reserved:null})).reserved||[];t.builtins||Q(s);var c=t.cache;null==c&&(c={cname:-1,props:new A});var f,p=t.regex,h=t.keep_quoted,d=!1!==t.debug;d&&(f=!0===t.debug?"":t.debug);var m=[],v=[],b={};return e.walk(new O(function(e){e instanceof it?o(e.key,h&&e.quote):e instanceof ot?o(e.key.name):e instanceof Ge?o(e.property):e instanceof We&&a(e.property,h)})),e.transform(new $(function(e){e instanceof it?h&&e.quote||(e.key=i(e.key)):e instanceof ot?e.key.name=i(e.key.name):e instanceof Ge?e.property=i(e.property):e instanceof We&&(h||(e.property=u(e.property)))}))}function J(e){var t=/\n\/\/# sourceMappingURL=data:application\/json(;.*?)?;base64,(.*)/.exec(e);return t?en(t[2]):(re.warn("inline source map not found"),null)}function X(e,t,n){t[e]&&n.forEach(function(n){t[n]&&("object"!=typeof t[n]&&(t[n]={}),e in t[n]||(t[n][e]=t[e]))})}function ee(e,t){var n=re.warn_function;try{"string"==typeof e&&(e=[e]),X("ie8",t=l(t,{compress:{},ie8:!1,keep_fnames:!1,mangle:{},output:{},parse:{},sourceMap:!1,toplevel:!1,warnings:!1,wrap:!1},!0),["compress","mangle","output"]),X("keep_fnames",t,["compress","mangle"]),X("toplevel",t,["compress","mangle"]),X("warnings",t,["compress"]),t.mangle&&(t.mangle=l(t.mangle,{cache:null,eval:!1,ie8:!1,keep_fnames:!1,properties:!1,reserved:[],toplevel:!1},!0)),t.sourceMap&&(t.sourceMap=l(t.sourceMap,{content:null,filename:null,includeSources:!1,root:null,url:null},!0));var r=[];t.warnings&&!re.warn_function&&(re.warn_function=function(e){r.push(e)});var o;if(e instanceof we)o=e;else{t.parse=t.parse||{},t.parse.toplevel=null;for(var i in e)if(t.parse.filename=i,t.parse.toplevel=V(e[i],t.parse),t.sourceMap&&"inline"==t.sourceMap.content){if(Object.keys(e).length>1)throw new Error("inline source map only works with singular input");t.sourceMap.content=J(e[i])}o=t.parse.toplevel}t.wrap&&(o=o.wrap_commonjs(t.wrap)),t.compress&&(o.figure_out_scope(t.mangle),o=new G(t.compress).compress(o)),t.mangle&&(o.figure_out_scope(t.mangle),Jt.reset(),o.compute_char_frequency(t.mangle),o.mangle_names(t.mangle),t.mangle.properties&&(o=Z(o,t.mangle.properties)));var a={};if(t.output.ast&&(a.ast=o),!E(t.output,"code")||t.output.code){if(t.sourceMap&&("string"==typeof t.sourceMap.content&&(t.sourceMap.content=JSON.parse(t.sourceMap.content)),t.output.source_map=W({file:t.sourceMap.filename,orig:t.sourceMap.content,root:t.sourceMap.root}),t.sourceMap.includeSources))for(var i in e)t.output.source_map.get().setSourceContent(i,e[i]);delete t.output.ast,delete t.output.code;var u=Y(t.output);o.print(u),a.code=u.get(),t.sourceMap&&(a.map=t.output.source_map.toString(),"inline"==t.sourceMap.url?a.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+tn(a.map):t.sourceMap.url&&(a.code+="\n//# sourceMappingURL="+t.sourceMap.url))}return r.length&&(a.warnings=r),a}catch(e){return{error:e}}finally{re.warn_function=n}}s.prototype=Object.create(Error.prototype),s.prototype.constructor=s,s.prototype.name="DefaultsError",u(s),s.croak=function(e,t){throw new s(e,t)};var te=function(){function e(e,i,a){function u(){var u=i(e[s],s),f=u instanceof r;return f&&(u=u.v),u instanceof t?(u=u.v)instanceof n?c.push.apply(c,a?u.v.slice().reverse():u.v):c.push(u):u!==o&&(u instanceof n?l.push.apply(l,a?u.v.slice().reverse():u.v):l.push(u)),f}var s,l=[],c=[];if(e instanceof Array)if(a){for(s=e.length;--s>=0&&!u(););l.reverse(),c.reverse()}else for(s=0;s<e.length&&!u();++s);else for(s in e)if(E(e,s)&&u())break;return c.concat(l)}function t(e){this.v=e}function n(e){this.v=e}function r(e){this.v=e}e.at_top=function(e){return new t(e)},e.splice=function(e){return new n(e)},e.last=function(e){return new r(e)};var o=e.skip={};return e}();A.prototype={set:function(e,t){return this.has(e)||++this._size,this._values["$"+e]=t,this},add:function(e,t){return this.has(e)?this.get(e).push(t):this.set(e,[t]),this},get:function(e){return this._values["$"+e]},del:function(e){return this.has(e)&&(--this._size,delete this._values["$"+e]),this},has:function(e){return"$"+e in this._values},each:function(e){for(var t in this._values)e(this._values[t],t.substr(1))},size:function(){return this._size},map:function(e){var t=[];for(var n in this._values)t.push(e(this._values[n],n.substr(1)));return t},toObject:function(){return this._values}},A.fromObject=function(e){var t=new A;return t._size=c(t._values,e),t};var ne=C("Token","type value line col pos endline endcol endpos nlb comments_before file raw",{},null),re=C("Node","start end",{_clone:function(e){if(e){var t=this.clone();return t.transform(new $(function(e){if(e!==t)return e.clone(!0)}))}return new this.CTOR(this)},clone:function(e){return this._clone(e)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(e){return e._visit(this)},walk:function(e){return this._walk(e)}},null);re.warn_function=null,re.warn=function(e,t){re.warn_function&&re.warn_function(v(e,t))};var oe=C("Statement",null,{$documentation:"Base class of all statements"}),ie=C("Debugger",null,{$documentation:"Represents a debugger statement"},oe),ae=C("Directive","value scope quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",scope:"[AST_Scope/S] The scope that this directive affects",quote:"[string] the original quote character"}},oe),ue=C("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(e){return e._visit(this,function(){this.body._walk(e)})}},oe),se=C("Block","body",{$documentation:"A body of statements (usually bracketed)",$propdoc:{body:"[AST_Statement*] an array of statements"},_walk:function(e){return e._visit(this,function(){k(this,e)})}},oe),le=C("BlockStatement",null,{$documentation:"A block statement"},se),ce=C("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)"},oe),fe=C("StatementWithBody","body",{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},oe),pe=C("LabeledStatement","label",{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(e){return e._visit(this,function(){this.label._walk(e),this.body._walk(e)})},clone:function(e){var t=this._clone(e);if(e){var n=t.label,r=this.label;t.walk(new O(function(e){e instanceof De&&e.label&&e.label.thedef===r&&(e.label.thedef=n,n.references.push(e))}))}return t}},fe),he=C("IterationStatement",null,{$documentation:"Internal class.  All loops inherit from it."},fe),de=C("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition.  Should not be instanceof AST_Statement"}},he),me=C("Do",null,{$documentation:"A `do` statement",_walk:function(e){return e._visit(this,function(){this.body._walk(e),this.condition._walk(e)})}},de),ge=C("While",null,{$documentation:"A `while` statement",_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e)})}},de),ve=C("For","init condition step",{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(e){return e._visit(this,function(){this.init&&this.init._walk(e),this.condition&&this.condition._walk(e),this.step&&this.step._walk(e),this.body._walk(e)})}},he),be=C("ForIn","init name object",{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",name:"[AST_SymbolRef?] the loop variable, only if `init` is AST_Var",object:"[AST_Node] the object that we're looping through"},_walk:function(e){return e._visit(this,function(){this.init._walk(e),this.object._walk(e),this.body._walk(e)})}},he),ye=C("With","expression",{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.body._walk(e)})}},fe),_e=C("Scope","directives variables functions uses_with uses_eval parent_scope enclosed cname",{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{directives:"[string*/S] an array of directives declared in this scope",variables:"[Object/S] a map of name -> SymbolDef for all variables/functions defined in this scope",functions:"[Object/S] like `variables`, but only lists function declarations",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"}},se),we=C("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Object/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(e){var t=this.body,n="(function(exports){'$ORIG';})(typeof "+e+"=='undefined'?("+e+"={}):"+e+");";return n=V(n),n=n.transform(new $(function(e){if(e instanceof ae&&"$ORIG"==e.value)return te.splice(t)}))}},_e),Ae=C("Lambda","name argnames uses_arguments",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg*] array of function arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array"},_walk:function(e){return e._visit(this,function(){this.name&&this.name._walk(e);for(var t=this.argnames,n=0,r=t.length;n<r;n++)t[n]._walk(e);k(this,e)})}},_e),Ee=C("Accessor",null,{$documentation:"A setter/getter function.  The `name` property is always null."},Ae),xe=C("Function",null,{$documentation:"A function expression"},Ae),Ce=C("Defun",null,{$documentation:"A function definition"},Ae),ke=C("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},oe),Oe=C("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(e){return e._visit(this,this.value&&function(){this.value._walk(e)})}},ke),Be=C("Return",null,{$documentation:"A `return` statement"},Oe),Se=C("Throw",null,{$documentation:"A `throw` statement"},Oe),De=C("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(e){return e._visit(this,this.label&&function(){this.label._walk(e)})}},ke),Te=C("Break",null,{$documentation:"A `break` statement"},De),Re=C("Continue",null,{$documentation:"A `continue` statement"},De),Fe=C("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.body._walk(e),this.alternative&&this.alternative._walk(e)})}},fe),Le=C("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),k(this,e)})}},se),Me=C("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},se),Pe=C("Default",null,{$documentation:"A `default` switch branch"},Me),Ue=C("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e),k(this,e)})}},Me),Ne=C("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(e){return e._visit(this,function(){k(this,e),this.bcatch&&this.bcatch._walk(e),this.bfinally&&this.bfinally._walk(e)})}},se),qe=C("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch] symbol for the exception"},_walk:function(e){return e._visit(this,function(){this.argname._walk(e),k(this,e)})}},se),ze=C("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},se),Ie=C("Definitions","definitions",{$documentation:"Base class for `var` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(e){return e._visit(this,function(){for(var t=this.definitions,n=0,r=t.length;n<r;n++)t[n]._walk(e)})}},oe),je=C("Var",null,{$documentation:"A `var` statement"},Ie),Ve=C("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_SymbolVar] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(e){return e._visit(this,function(){this.name._walk(e),this.value&&this.value._walk(e)})}}),$e=C("Call","expression args",{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments"},_walk:function(e){return e._visit(this,function(){for(var t=this.args,n=0,r=t.length;n<r;n++)t[n]._walk(e);this.expression._walk(e)})}}),He=C("New",null,{$documentation:"An object instantiation.  Derives from a function call since it has exactly the same properties"},$e),Ke=C("Sequence","expressions",{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(e){return e._visit(this,function(){this.expressions.forEach(function(t){t._walk(e)})})}}),Ye=C("PropAccess","expression property",{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the “container” expression",property:"[AST_Node|string] the property to access.  For AST_Dot this is always a plain string, while for AST_Sub it's an arbitrary AST_Node"}}),Ge=C("Dot",null,{$documentation:"A dotted property access expression",_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})}},Ye),We=C("Sub",null,{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(e){return e._visit(this,function(){this.expression._walk(e),this.property._walk(e)})}},Ye),Qe=C("Unary","operator expression",{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})}}),Ze=C("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},Qe),Je=C("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},Qe),Xe=C("Binary","operator left right",{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(e){return e._visit(this,function(){this.left._walk(e),this.right._walk(e)})}}),et=C("Conditional","condition consequent alternative",{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(e){return e._visit(this,function(){this.condition._walk(e),this.consequent._walk(e),this.alternative._walk(e)})}}),tt=C("Assign",null,{$documentation:"An assignment expression — `a = b + 5`"},Xe),nt=C("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(e){return e._visit(this,function(){for(var t=this.elements,n=0,r=t.length;n<r;n++)t[n]._walk(e)})}}),rt=C("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(e){return e._visit(this,function(){for(var t=this.properties,n=0,r=t.length;n<r;n++)t[n]._walk(e)})}}),ot=C("ObjectProperty","key value",{$documentation:"Base class for literal object properties",$propdoc:{key:"[string] the property name converted to a string for ObjectKeyVal.  For setters and getters this is an AST_SymbolAccessor.",value:"[AST_Node] property value.  For setters and getters this is an AST_Accessor."},_walk:function(e){return e._visit(this,function(){this.value._walk(e)})}}),it=C("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"}},ot),at=C("ObjectSetter",null,{$documentation:"An object setter property"},ot),ut=C("ObjectGetter",null,{$documentation:"An object getter property"},ot),st=C("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"}),lt=C("SymbolAccessor",null,{$documentation:"The name of a property accessor (setter/getter function)"},st),ct=C("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var, function name or argument, symbol in catch)"},st),ft=C("SymbolVar",null,{$documentation:"Symbol defining a variable"},ct),pt=C("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},ft),ht=C("SymbolDefun",null,{$documentation:"Symbol defining a function"},ct),dt=C("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},ct),mt=C("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},ct),gt=C("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[],this.thedef=this}},st),vt=C("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},st),bt=C("LabelRef",null,{$documentation:"Reference to a label symbol"},st),yt=C("This",null,{$documentation:"The `this` symbol"},st),_t=C("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}}),wt=C("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},_t),At=C("Number","value literal",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",literal:"[string] numeric value as string (optional)"}},_t),Et=C("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},_t),xt=C("Atom",null,{$documentation:"Base class for atoms"},_t),Ct=C("Null",null,{$documentation:"The `null` atom",value:null},xt),kt=C("NaN",null,{$documentation:"The impossible value",value:NaN},xt),Ot=C("Undefined",null,{$documentation:"The `undefined` value",value:void 0},xt),Bt=C("Hole",null,{$documentation:"A hole in an array",value:void 0},xt),St=C("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},xt),Dt=C("Boolean",null,{$documentation:"Base class for booleans"},xt),Tt=C("False",null,{$documentation:"The `false` atom",value:!1},Dt),Rt=C("True",null,{$documentation:"The `true` atom",value:!0},Dt);O.prototype={_visit:function(e,t){this.push(e);var n=this.visit(e,t?function(){t.call(e)}:f);return!n&&t&&t.call(e),this.pop(e),n},parent:function(e){return this.stack[this.stack.length-2-(e||0)]},push:function(e){e instanceof Ae?this.directives=Object.create(this.directives):e instanceof ae&&!this.directives[e.value]&&(this.directives[e.value]=e),this.stack.push(e)},pop:function(e){this.stack.pop(),e instanceof Ae&&(this.directives=Object.getPrototypeOf(this.directives))},self:function(){return this.stack[this.stack.length-1]},find_parent:function(e){for(var t=this.stack,n=t.length;--n>=0;){var r=t[n];if(r instanceof e)return r}},has_directive:function(e){var t=this.directives[e];if(t)return t;var n=this.stack[this.stack.length-1];if(n instanceof _e)for(var r=0;r<n.body.length;++r){var o=n.body[r];if(!(o instanceof ae))break;if(o.value==e)return o}},in_boolean_context:function(){for(var e=this.stack,t=e.length,n=e[--t];t>0;){var r=e[--t];if(r instanceof Fe&&r.condition===n||r instanceof et&&r.condition===n||r instanceof de&&r.condition===n||r instanceof ve&&r.condition===n||r instanceof Ze&&"!"==r.operator&&r.expression===n)return!0;if(!(r instanceof Xe)||"&&"!=r.operator&&"||"!=r.operator)return!1;n=r}},loopcontrol_target:function(e){var t=this.stack;if(e.label){for(n=t.length;--n>=0;)if((r=t[n])instanceof pe&&r.label.name==e.label.name)return r.body}else for(var n=t.length;--n>=0;){var r=t[n];if(r instanceof he||e instanceof Te&&r instanceof Le)return r}}};var Ft="break case catch const continue debugger default delete do else finally for function if in instanceof new return switch throw try typeof var void while with",Lt="false null true",Mt="abstract boolean byte char class double enum export extends final float goto implements import int interface let long native package private protected public short static super synchronized this throws transient volatile yield "+Lt+" "+Ft,Pt="return new delete throw else case";Ft=_(Ft),Mt=_(Mt),Pt=_(Pt),Lt=_(Lt);var Ut=_(r("+-*&%=<>!?|~^")),Nt=/^0x[0-9a-f]+$/i,qt=/^0[0-7]+$/,zt=_(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","||"]),It=_(r("  \n\r\t\f\v​           \u2028\u2029   \ufeff")),jt=_(r("\n\r\u2028\u2029")),Vt=_(r("[{(,;:")),$t=_(r("[]{}(),;:")),Ht=(_(r("gmsiy")),{letter:new RegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"),digit:new RegExp("[\\u0030-\\u0039\\u0660-\\u0669\\u06F0-\\u06F9\\u07C0-\\u07C9\\u0966-\\u096F\\u09E6-\\u09EF\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0BE6-\\u0BEF\\u0C66-\\u0C6F\\u0CE6-\\u0CEF\\u0D66-\\u0D6F\\u0DE6-\\u0DEF\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F29\\u1040-\\u1049\\u1090-\\u1099\\u17E0-\\u17E9\\u1810-\\u1819\\u1946-\\u194F\\u19D0-\\u19D9\\u1A80-\\u1A89\\u1A90-\\u1A99\\u1B50-\\u1B59\\u1BB0-\\u1BB9\\u1C40-\\u1C49\\u1C50-\\u1C59\\uA620-\\uA629\\uA8D0-\\uA8D9\\uA900-\\uA909\\uA9D0-\\uA9D9\\uA9F0-\\uA9F9\\uAA50-\\uAA59\\uABF0-\\uABF9\\uFF10-\\uFF19]"),non_spacing_mark:new RegExp("[\\u0300-\\u036F\\u0483-\\u0487\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065E\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0900-\\u0902\\u093C\\u0941-\\u0948\\u094D\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09BC\\u09C1-\\u09C4\\u09CD\\u09E2\\u09E3\\u0A01\\u0A02\\u0A3C\\u0A41\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81\\u0A82\\u0ABC\\u0AC1-\\u0AC5\\u0AC7\\u0AC8\\u0ACD\\u0AE2\\u0AE3\\u0B01\\u0B3C\\u0B3F\\u0B41-\\u0B44\\u0B4D\\u0B56\\u0B62\\u0B63\\u0B82\\u0BC0\\u0BCD\\u0C3E-\\u0C40\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0CBC\\u0CBF\\u0CC6\\u0CCC\\u0CCD\\u0CE2\\u0CE3\\u0D41-\\u0D44\\u0D4D\\u0D62\\u0D63\\u0DCA\\u0DD2-\\u0DD4\\u0DD6\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F71-\\u0F7E\\u0F80-\\u0F84\\u0F86\\u0F87\\u0F90-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102D-\\u1030\\u1032-\\u1037\\u1039\\u103A\\u103D\\u103E\\u1058\\u1059\\u105E-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108D\\u109D\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B7-\\u17BD\\u17C6\\u17C9-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193B\\u1A17\\u1A18\\u1A56\\u1A58-\\u1A5E\\u1A60\\u1A62\\u1A65-\\u1A6C\\u1A73-\\u1A7C\\u1A7F\\u1B00-\\u1B03\\u1B34\\u1B36-\\u1B3A\\u1B3C\\u1B42\\u1B6B-\\u1B73\\u1B80\\u1B81\\u1BA2-\\u1BA5\\u1BA8\\u1BA9\\u1C2C-\\u1C33\\u1C36\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE0\\u1CE2-\\u1CE8\\u1CED\\u1DC0-\\u1DE6\\u1DFD-\\u1DFF\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2CEF-\\u2CF1\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F\\uA67C\\uA67D\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA825\\uA826\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA951\\uA980-\\uA982\\uA9B3\\uA9B6-\\uA9B9\\uA9BC\\uAA29-\\uAA2E\\uAA31\\uAA32\\uAA35\\uAA36\\uAA43\\uAA4C\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uABE5\\uABE8\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE26]"),space_combining_mark:new RegExp("[\\u0903\\u093E-\\u0940\\u0949-\\u094C\\u094E\\u0982\\u0983\\u09BE-\\u09C0\\u09C7\\u09C8\\u09CB\\u09CC\\u09D7\\u0A03\\u0A3E-\\u0A40\\u0A83\\u0ABE-\\u0AC0\\u0AC9\\u0ACB\\u0ACC\\u0B02\\u0B03\\u0B3E\\u0B40\\u0B47\\u0B48\\u0B4B\\u0B4C\\u0B57\\u0BBE\\u0BBF\\u0BC1\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCC\\u0BD7\\u0C01-\\u0C03\\u0C41-\\u0C44\\u0C82\\u0C83\\u0CBE\\u0CC0-\\u0CC4\\u0CC7\\u0CC8\\u0CCA\\u0CCB\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D40\\u0D46-\\u0D48\\u0D4A-\\u0D4C\\u0D57\\u0D82\\u0D83\\u0DCF-\\u0DD1\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0F3E\\u0F3F\\u0F7F\\u102B\\u102C\\u1031\\u1038\\u103B\\u103C\\u1056\\u1057\\u1062-\\u1064\\u1067-\\u106D\\u1083\\u1084\\u1087-\\u108C\\u108F\\u109A-\\u109C\\u17B6\\u17BE-\\u17C5\\u17C7\\u17C8\\u1923-\\u1926\\u1929-\\u192B\\u1930\\u1931\\u1933-\\u1938\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A19-\\u1A1B\\u1A55\\u1A57\\u1A61\\u1A63\\u1A64\\u1A6D-\\u1A72\\u1B04\\u1B35\\u1B3B\\u1B3D-\\u1B41\\u1B43\\u1B44\\u1B82\\u1BA1\\u1BA6\\u1BA7\\u1BAA\\u1C24-\\u1C2B\\u1C34\\u1C35\\u1CE1\\u1CF2\\uA823\\uA824\\uA827\\uA880\\uA881\\uA8B4-\\uA8C3\\uA952\\uA953\\uA983\\uA9B4\\uA9B5\\uA9BA\\uA9BB\\uA9BD-\\uA9C0\\uAA2F\\uAA30\\uAA33\\uAA34\\uAA4D\\uAA7B\\uABE3\\uABE4\\uABE6\\uABE7\\uABE9\\uABEA\\uABEC]"),connector_punctuation:new RegExp("[\\u005F\\u203F\\u2040\\u2054\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFF3F]")});q.prototype=Object.create(Error.prototype),q.prototype.constructor=q,q.prototype.name="SyntaxError",u(q);var Kt={},Yt=_(["typeof","void","delete","--","++","!","~","-","+"]),Gt=_(["--","++"]),Wt=_(["=","+=","-=","/=","*=","%=",">>=","<<=",">>>=","|=","^=","&="]),Qt=function(e,t){for(var n=0;n<e.length;++n)for(var r=e[n],o=0;o<r.length;++o)t[r[o]]=n+1;return t}([["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]],{}),Zt=(n(["for","do","while","switch"]),n(["atom","num","string","regexp","name"]));$.prototype=new O,function(e){function t(t,n){t.DEFMETHOD("transform",function(t,r){var o,i;return t.push(this),t.before&&(o=t.before(this,n,r)),o===e&&(t.after?(t.stack[t.stack.length-1]=o=this,n(o,t),(i=t.after(o,r))!==e&&(o=i)):n(o=this,t)),t.pop(this),o})}function n(e,t){return te(e,function(e){return e.transform(t,!0)})}t(re,f),t(pe,function(e,t){e.label=e.label.transform(t),e.body=e.body.transform(t)}),t(ue,function(e,t){e.body=e.body.transform(t)}),t(se,function(e,t){e.body=n(e.body,t)}),t(de,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t)}),t(ve,function(e,t){e.init&&(e.init=e.init.transform(t)),e.condition&&(e.condition=e.condition.transform(t)),e.step&&(e.step=e.step.transform(t)),e.body=e.body.transform(t)}),t(be,function(e,t){e.init=e.init.transform(t),e.object=e.object.transform(t),e.body=e.body.transform(t)}),t(ye,function(e,t){e.expression=e.expression.transform(t),e.body=e.body.transform(t)}),t(Oe,function(e,t){e.value&&(e.value=e.value.transform(t))}),t(De,function(e,t){e.label&&(e.label=e.label.transform(t))}),t(Fe,function(e,t){e.condition=e.condition.transform(t),e.body=e.body.transform(t),e.alternative&&(e.alternative=e.alternative.transform(t))}),t(Le,function(e,t){e.expression=e.expression.transform(t),e.body=n(e.body,t)}),t(Ue,function(e,t){e.expression=e.expression.transform(t),e.body=n(e.body,t)}),t(Ne,function(e,t){e.body=n(e.body,t),e.bcatch&&(e.bcatch=e.bcatch.transform(t)),e.bfinally&&(e.bfinally=e.bfinally.transform(t))}),t(qe,function(e,t){e.argname=e.argname.transform(t),e.body=n(e.body,t)}),t(Ie,function(e,t){e.definitions=n(e.definitions,t)}),t(Ve,function(e,t){e.name=e.name.transform(t),e.value&&(e.value=e.value.transform(t))}),t(Ae,function(e,t){e.name&&(e.name=e.name.transform(t)),e.argnames=n(e.argnames,t),e.body=n(e.body,t)}),t($e,function(e,t){e.expression=e.expression.transform(t),e.args=n(e.args,t)}),t(Ke,function(e,t){e.expressions=n(e.expressions,t)}),t(Ge,function(e,t){e.expression=e.expression.transform(t)}),t(We,function(e,t){e.expression=e.expression.transform(t),e.property=e.property.transform(t)}),t(Qe,function(e,t){e.expression=e.expression.transform(t)}),t(Xe,function(e,t){e.left=e.left.transform(t),e.right=e.right.transform(t)}),t(et,function(e,t){e.condition=e.condition.transform(t),e.consequent=e.consequent.transform(t),e.alternative=e.alternative.transform(t)}),t(nt,function(e,t){e.elements=n(e.elements,t)}),t(rt,function(e,t){e.properties=n(e.properties,t)}),t(ot,function(e,t){e.value=e.value.transform(t)})}(),H.next_id=1,H.prototype={unmangleable:function(e){return e||(e={}),this.global&&!e.toplevel||this.undeclared||!e.eval&&(this.scope.uses_eval||this.scope.uses_with)||e.keep_fnames&&(this.orig[0]instanceof dt||this.orig[0]instanceof ht)},mangle:function(e){var t=e.cache&&e.cache.props;if(this.global&&t&&t.has(this.name))this.mangled_name=t.get(this.name);else if(!this.mangled_name&&!this.unmangleable(e)){var n=this.scope,r=this.orig[0];e.ie8&&r instanceof dt&&(n=n.parent_scope);var o;this.defun&&(o=this.defun.variables.get(this.name))?this.mangled_name=o.mangled_name||o.name:this.mangled_name=n.next_mangled(e,this),this.global&&t&&t.set(this.name,this.mangled_name)}}},we.DEFMETHOD("figure_out_scope",function(e){e=l(e,{cache:null,ie8:!1});var t=this,n=t.parent_scope=null,r=new A,o=null,i=new O(function(t,i){if(t instanceof qe){a=n;return(n=new _e(t)).init_scope_vars(a),i(),n=a,!0}if(t instanceof _e){t.init_scope_vars(n);var a=n,u=o,s=r;return o=n=t,r=new A,i(),n=a,o=u,r=s,!0}if(t instanceof pe){var l=t.label;if(r.has(l.name))throw new Error(v("Label {name} defined twice",l));return r.set(l.name,l),i(),r.del(l.name),!0}if(t instanceof ye)for(var c=n;c;c=c.parent_scope)c.uses_with=!0;else if(t instanceof st&&(t.scope=n),t instanceof gt&&(t.thedef=t,t.references=[]),t instanceof dt)o.def_function(t);else if(t instanceof ht)(t.scope=o.parent_scope).def_function(t);else if(t instanceof ft){if(o.def_variable(t),o!==n){t.mark_enclosed(e);var f=n.find_variable(t);t.thedef!==f&&(t.thedef=f,t.reference(e))}}else if(t instanceof mt)n.def_variable(t).defun=o;else if(t instanceof bt){var p=r.get(t.name);if(!p)throw new Error(v("Undefined label {name} [{line},{col}]",{name:t.name,line:t.start.line,col:t.start.col}));t.thedef=p}});t.walk(i);var a=null,i=(t.globals=new A,new O(function(n,r){if(n instanceof Ae){var o=a;return a=n,r(),a=o,!0}if(n instanceof De&&n.label)return n.label.thedef.references.push(n),!0;if(n instanceof vt){var u=n.name;if("eval"==u&&i.parent()instanceof $e)for(var s=n.scope;s&&!s.uses_eval;s=s.parent_scope)s.uses_eval=!0;var l=n.scope.find_variable(u);return n.scope instanceof Ae&&"arguments"==u&&(n.scope.uses_arguments=!0),l||(l=t.def_global(n)),n.thedef=l,n.reference(e),!0}}));t.walk(i),e.ie8&&t.walk(new O(function(n,r){if(n instanceof mt){var o=n.name,i=n.thedef.references,a=n.thedef.defun,u=a.find_variable(o)||t.globals.get(o)||a.def_variable(n);return i.forEach(function(t){t.thedef=u,t.reference(e)}),n.thedef=u,!0}})),e.cache&&(this.cname=e.cache.cname)}),we.DEFMETHOD("def_global",function(e){var t=this.globals,n=e.name;if(t.has(n))return t.get(n);var r=new H(this,t.size(),e);return r.undeclared=!0,r.global=!0,t.set(n,r),r}),_e.DEFMETHOD("init_scope_vars",function(e){this.variables=new A,this.functions=new A,this.uses_with=!1,this.uses_eval=!1,this.parent_scope=e,this.enclosed=[],this.cname=-1}),Ae.DEFMETHOD("init_scope_vars",function(){_e.prototype.init_scope_vars.apply(this,arguments),this.uses_arguments=!1,this.def_variable(new pt({name:"arguments",start:this.start,end:this.end}))}),st.DEFMETHOD("mark_enclosed",function(e){for(var t=this.definition(),n=this.scope;n&&(g(n.enclosed,t),e.keep_fnames&&n.functions.each(function(e){g(t.scope.enclosed,e)}),n!==t.scope);)n=n.parent_scope}),st.DEFMETHOD("reference",function(e){this.definition().references.push(this),this.mark_enclosed(e)}),_e.DEFMETHOD("find_variable",function(e){return e instanceof st&&(e=e.name),this.variables.get(e)||this.parent_scope&&this.parent_scope.find_variable(e)}),_e.DEFMETHOD("def_function",function(e){this.functions.set(e.name,this.def_variable(e))}),_e.DEFMETHOD("def_variable",function(e){var t;return this.variables.has(e.name)?(t=this.variables.get(e.name)).orig.push(e):(t=new H(this,this.variables.size(),e),this.variables.set(e.name,t),t.global=!this.parent_scope),e.thedef=t}),_e.DEFMETHOD("next_mangled",function(e){var t=this.enclosed;e:for(;;){var n=Jt(++this.cname);if(L(n)&&!(e.reserved.indexOf(n)>=0)){for(var r=t.length;--r>=0;){var o=t[r];if(n==(o.mangled_name||o.unmangleable(e)&&o.name))continue e}return n}}}),xe.DEFMETHOD("next_mangled",function(e,t){for(var n=t.orig[0]instanceof pt&&this.name&&this.name.definition(),r=n?n.mangled_name||n.name:null;;){var o=Ae.prototype.next_mangled.call(this,e,t);if(!r||r!=o)return o}}),st.DEFMETHOD("unmangleable",function(e){return this.definition().unmangleable(e)}),gt.DEFMETHOD("unmangleable",function(){return!1}),st.DEFMETHOD("unreferenced",function(){return 0==this.definition().references.length&&!(this.scope.uses_eval||this.scope.uses_with)}),st.DEFMETHOD("undeclared",function(){return this.definition().undeclared}),bt.DEFMETHOD("undeclared",function(){return!1}),gt.DEFMETHOD("undeclared",function(){return!1}),st.DEFMETHOD("definition",function(){return this.thedef}),st.DEFMETHOD("global",function(){return this.definition().global}),we.DEFMETHOD("_default_mangler_options",function(e){return l(e,{eval:!1,ie8:!1,keep_fnames:!1,reserved:[],toplevel:!1})}),we.DEFMETHOD("mangle_names",function(e){(e=this._default_mangler_options(e)).reserved.push("arguments");var t=-1,n=[];e.cache&&this.globals.each(function(t){e.reserved.indexOf(t.name)<0&&n.push(t)});var r=new O(function(o,i){if(o instanceof pe){var a=t;return i(),t=a,!0}if(o instanceof _e){r.parent();var u=[];return o.variables.each(function(t){e.reserved.indexOf(t.name)<0&&u.push(t)}),void n.push.apply(n,u)}if(o instanceof gt){var s;do{s=Jt(++t)}while(!L(s));return o.mangled_name=s,!0}!e.ie8&&o instanceof mt&&n.push(o.definition())});this.walk(r),n.forEach(function(t){t.mangle(e)}),e.cache&&(e.cache.cname=this.cname)}),we.DEFMETHOD("compute_char_frequency",function(e){e=this._default_mangler_options(e);var t=new O(function(t){t instanceof _t?Jt.consider(t.print_to_string()):t instanceof Be?Jt.consider("return"):t instanceof Se?Jt.consider("throw"):t instanceof Re?Jt.consider("continue"):t instanceof Te?Jt.consider("break"):t instanceof ie?Jt.consider("debugger"):t instanceof ae?Jt.consider(t.value):t instanceof ge?Jt.consider("while"):t instanceof me?Jt.consider("do while"):t instanceof Fe?(Jt.consider("if"),t.alternative&&Jt.consider("else")):t instanceof je?Jt.consider("var"):t instanceof Ae?Jt.consider("function"):t instanceof ve?Jt.consider("for"):t instanceof be?Jt.consider("for in"):t instanceof Le?Jt.consider("switch"):t instanceof Ue?Jt.consider("case"):t instanceof Pe?Jt.consider("default"):t instanceof ye?Jt.consider("with"):t instanceof at?Jt.consider("set"+t.key):t instanceof ut?Jt.consider("get"+t.key):t instanceof it?Jt.consider(t.key):t instanceof He?Jt.consider("new"):t instanceof yt?Jt.consider("this"):t instanceof Ne?Jt.consider("try"):t instanceof qe?Jt.consider("catch"):t instanceof ze?Jt.consider("finally"):t instanceof st&&t.unmangleable(e)?Jt.consider(t.name):t instanceof Qe||t instanceof Xe?Jt.consider(t.operator):t instanceof Ge&&Jt.consider(t.property)});this.walk(t),Jt.sort()});var Jt=function(){function e(){r=Object.create(null),(n=o.split("").map(function(e){return e.charCodeAt(0)})).forEach(function(e){r[e]=0})}function t(e){var t="",r=54;e++;do{e--,t+=String.fromCharCode(n[e%r]),e=Math.floor(e/r),r=64}while(e>0);return t}var n,r,o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_0123456789";return t.consider=function(e){for(var t=e.length;--t>=0;){var n=e.charCodeAt(t);n in r&&++r[n]}},t.sort=function(){n=y(n,function(e,t){return S(e)&&!S(t)?1:S(t)&&!S(e)?-1:r[t]-r[e]})},t.reset=e,e(),t.get=function(){return n},t.freq=function(){return r},t}(),Xt=/^$|[;{][\s\n]*$/;!function(){function e(e,t){e.DEFMETHOD("_codegen",t)}function t(e,n){Array.isArray(e)?e.forEach(function(e){t(e,n)}):e.DEFMETHOD("needs_parens",n)}function n(e,t,n,r){var o=e.length-1;m=r,e.forEach(function(e,r){!0!==m||e instanceof ae||e instanceof ce||e instanceof ue&&e.body instanceof wt||(m=!1),e instanceof ce||(n.indent(),e.print(n),r==o&&t||(n.newline(),t&&n.newline())),!0===m&&e instanceof ue&&e.body instanceof wt&&(m=!1)}),m=!1}function r(e,t,r){e.length>0?t.with_block(function(){n(e,!1,t,r)}):t.print("{}")}function o(e,t){var n=e.body;if(t.option("bracketize")||t.option("ie8")&&n instanceof me)return c(n,t);if(!n)return t.force_semicolon();for(;;)if(n instanceof Fe){if(!n.alternative)return void c(e.body,t);n=n.alternative}else{if(!(n instanceof fe))break;n=n.body}a(e.body,t)}function i(e,t,n){if(n)try{e.walk(new O(function(e){if(e instanceof Xe&&"in"==e.operator)throw t})),e.print(t)}catch(n){if(n!==t)throw n;e.print(t,!0)}else e.print(t)}function a(e,t){t.option("bracketize")?c(e,t):!e||e instanceof ce?t.force_semicolon():e.print(t)}function u(e,t){return e.args.length>0||t.option("beautify")}function s(e){for(var t=e[0],n=t.length,r=1;r<e.length;++r)e[r].length<n&&(n=(t=e[r]).length);return t}function l(e){var t,n=e.toString(10),r=[n.replace(/^0\./,".").replace("e+","e")];return Math.floor(e)===e?(e>=0?r.push("0x"+e.toString(16).toLowerCase(),"0"+e.toString(8)):r.push("-0x"+(-e).toString(16).toLowerCase(),"-0"+(-e).toString(8)),(t=/^(.*?)(0+)$/.exec(e))&&r.push(t[1]+"e"+t[2].length)):(t=/^0?\.(0+)(.*)$/.exec(e))&&r.push(t[2]+"e-"+(t[1].length+t[2].length),n.substr(n.indexOf("."))),s(r)}function c(e,t){!e||e instanceof ce?t.print("{}"):e instanceof le?e.print(t):t.with_block(function(){t.indent(),e.print(t),t.newline()})}function p(e,t){e.DEFMETHOD("add_source_map",function(e){t(this,e)})}function h(e,t){t.add_mapping(e.start)}var d=!1,m=!1;re.DEFMETHOD("print",function(e,t){function n(){r.add_comments(e),r.add_source_map(e),o(r,e)}var r=this,o=r._codegen,i=d;r instanceof ae&&"use asm"==r.value&&e.parent()instanceof _e&&(d=!0),e.push_node(r),t||r.needs_parens(e)?e.with_parens(n):n(),e.pop_node(),r instanceof _e&&(d=i)}),re.DEFMETHOD("print_to_string",function(e){var t=Y(e);return e||(t._readonly=!0),this.print(t),t.get()}),re.DEFMETHOD("add_comments",function(e){if(!e._readonly){var t=this,n=t.start;if(n&&!n._comments_dumped){n._comments_dumped=!0;var r=n.comments_before||[];if(t instanceof Oe&&t.value&&t.value.walk(new O(function(e){if(e.start&&e.start.comments_before&&(r=r.concat(e.start.comments_before),e.start.comments_before=[]),e instanceof xe||e instanceof nt||e instanceof rt)return!0})),0==e.pos()){r.length>0&&e.option("shebang")&&"comment5"==r[0].type&&(e.print("#!"+r.shift().value+"\n"),e.indent());var o=e.option("preamble");o&&e.print(o.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}r=r.filter(e.comment_filter,t),!e.option("beautify")&&r.length>0&&/comment[134]/.test(r[0].type)&&0!==e.col()&&r[0].nlb&&e.print("\n"),r.forEach(function(t){/comment[134]/.test(t.type)?(e.print("//"+t.value+"\n"),e.indent()):"comment2"==t.type&&(e.print("/*"+t.value+"*/"),n.nlb?(e.print("\n"),e.indent()):e.space())})}}}),t(re,function(){return!1}),t(xe,function(e){if(x(e))return!0;if(e.option("wrap_iife")){var t=e.parent();return t instanceof $e&&t.expression===this}return!1}),t(rt,function(e){return x(e)}),t(Qe,function(e){var t=e.parent();return t instanceof Ye&&t.expression===this||t instanceof $e&&t.expression===this}),t(Ke,function(e){var t=e.parent();return t instanceof $e||t instanceof Qe||t instanceof Xe||t instanceof Ve||t instanceof Ye||t instanceof nt||t instanceof ot||t instanceof et}),t(Xe,function(e){var t=e.parent();if(t instanceof $e&&t.expression===this)return!0;if(t instanceof Qe)return!0;if(t instanceof Ye&&t.expression===this)return!0;if(t instanceof Xe){var n=t.operator,r=Qt[n],o=this.operator,i=Qt[o];if(r>i||r==i&&this===t.right)return!0}}),t(Ye,function(e){var t=e.parent();if(t instanceof He&&t.expression===this)try{this.walk(new O(function(e){if(e instanceof $e)throw t}))}catch(e){if(e!==t)throw e;return!0}}),t($e,function(e){var t,n=e.parent();return n instanceof He&&n.expression===this||this.expression instanceof xe&&n instanceof Ye&&n.expression===this&&(t=e.parent(1))instanceof tt&&t.left===n}),t(He,function(e){var t=e.parent();if(!u(this,e)&&(t instanceof Ye||t instanceof $e&&t.expression===this))return!0}),t(At,function(e){var t=e.parent();if(t instanceof Ye&&t.expression===this){var n=this.getValue();if(n<0||/^0/.test(l(n)))return!0}}),t([tt,et],function(e){var t=e.parent();return t instanceof Qe||(t instanceof Xe&&!(t instanceof tt)||(t instanceof $e&&t.expression===this||(t instanceof et&&t.condition===this||(t instanceof Ye&&t.expression===this||void 0))))}),e(ae,function(e,t){t.print_string(e.value,e.quote),t.semicolon()}),e(ie,function(e,t){t.print("debugger"),t.semicolon()}),fe.DEFMETHOD("_do_print_body",function(e){a(this.body,e)}),e(oe,function(e,t){e.body.print(t),t.semicolon()}),e(we,function(e,t){n(e.body,!0,t,!0),t.print("")}),e(pe,function(e,t){e.label.print(t),t.colon(),e.body.print(t)}),e(ue,function(e,t){e.body.print(t),t.semicolon()}),e(le,function(e,t){r(e.body,t)}),e(ce,function(e,t){t.semicolon()}),e(me,function(e,t){t.print("do"),t.space(),c(e.body,t),t.space(),t.print("while"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.semicolon()}),e(ge,function(e,t){t.print("while"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e._do_print_body(t)}),e(ve,function(e,t){t.print("for"),t.space(),t.with_parens(function(){e.init?(e.init instanceof Ie?e.init.print(t):i(e.init,t,!0),t.print(";"),t.space()):t.print(";"),e.condition?(e.condition.print(t),t.print(";"),t.space()):t.print(";"),e.step&&e.step.print(t)}),t.space(),e._do_print_body(t)}),e(be,function(e,t){t.print("for"),t.space(),t.with_parens(function(){e.init.print(t),t.space(),t.print("in"),t.space(),e.object.print(t)}),t.space(),e._do_print_body(t)}),e(ye,function(e,t){t.print("with"),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space(),e._do_print_body(t)}),Ae.DEFMETHOD("_do_print",function(e,t){var n=this;t||e.print("function"),n.name&&(e.space(),n.name.print(e)),e.with_parens(function(){n.argnames.forEach(function(t,n){n&&e.comma(),t.print(e)})}),e.space(),r(n.body,e,!0)}),e(Ae,function(e,t){e._do_print(t)}),Oe.DEFMETHOD("_do_print",function(e,t){e.print(t),this.value&&(e.space(),this.value.print(e)),e.semicolon()}),e(Be,function(e,t){e._do_print(t,"return")}),e(Se,function(e,t){e._do_print(t,"throw")}),De.DEFMETHOD("_do_print",function(e,t){e.print(t),this.label&&(e.space(),this.label.print(e)),e.semicolon()}),e(Te,function(e,t){e._do_print(t,"break")}),e(Re,function(e,t){e._do_print(t,"continue")}),e(Fe,function(e,t){t.print("if"),t.space(),t.with_parens(function(){e.condition.print(t)}),t.space(),e.alternative?(o(e,t),t.space(),t.print("else"),t.space(),e.alternative instanceof Fe?e.alternative.print(t):a(e.alternative,t)):e._do_print_body(t)}),e(Le,function(e,t){t.print("switch"),t.space(),t.with_parens(function(){e.expression.print(t)}),t.space();var n=e.body.length-1;n<0?t.print("{}"):t.with_block(function(){e.body.forEach(function(e,r){t.indent(!0),e.print(t),r<n&&e.body.length>0&&t.newline()})})}),Me.DEFMETHOD("_do_print_body",function(e){e.newline(),this.body.forEach(function(t){e.indent(),t.print(e),e.newline()})}),e(Pe,function(e,t){t.print("default:"),e._do_print_body(t)}),e(Ue,function(e,t){t.print("case"),t.space(),e.expression.print(t),t.print(":"),e._do_print_body(t)}),e(Ne,function(e,t){t.print("try"),t.space(),r(e.body,t),e.bcatch&&(t.space(),e.bcatch.print(t)),e.bfinally&&(t.space(),e.bfinally.print(t))}),e(qe,function(e,t){t.print("catch"),t.space(),t.with_parens(function(){e.argname.print(t)}),t.space(),r(e.body,t)}),e(ze,function(e,t){t.print("finally"),t.space(),r(e.body,t)}),Ie.DEFMETHOD("_do_print",function(e,t){e.print(t),e.space(),this.definitions.forEach(function(t,n){n&&e.comma(),t.print(e)});var n=e.parent();(n instanceof ve||n instanceof be)&&n.init===this||e.semicolon()}),e(je,function(e,t){e._do_print(t,"var")}),e(Ve,function(e,t){if(e.name.print(t),e.value){t.space(),t.print("="),t.space();var n=t.parent(1),r=n instanceof ve||n instanceof be;i(e.value,t,r)}}),e($e,function(e,t){e.expression.print(t),e instanceof He&&!u(e,t)||t.with_parens(function(){e.args.forEach(function(e,n){n&&t.comma(),e.print(t)})})}),e(He,function(e,t){t.print("new"),t.space(),$e.prototype._codegen(e,t)}),Ke.DEFMETHOD("_do_print",function(e){this.expressions.forEach(function(t,n){n>0&&(e.comma(),e.should_break()&&(e.newline(),e.indent())),t.print(e)})}),e(Ke,function(e,t){e._do_print(t)}),e(Ge,function(e,t){var n=e.expression;n.print(t),n instanceof At&&n.getValue()>=0&&(/[xa-f.)]/i.test(t.last())||t.print(".")),t.print("."),t.add_mapping(e.end),t.print_name(e.property)}),e(We,function(e,t){e.expression.print(t),t.print("["),e.property.print(t),t.print("]")}),e(Ze,function(e,t){var n=e.operator;t.print(n),(/^[a-z]/i.test(n)||/[+-]$/.test(n)&&e.expression instanceof Ze&&/^[+-]/.test(e.expression.operator))&&t.space(),e.expression.print(t)}),e(Je,function(e,t){e.expression.print(t),t.print(e.operator)}),e(Xe,function(e,t){var n=e.operator;e.left.print(t),">"==n[0]&&e.left instanceof Je&&"--"==e.left.operator?t.print(" "):t.space(),t.print(n),("<"==n||"<<"==n)&&e.right instanceof Ze&&"!"==e.right.operator&&e.right.expression instanceof Ze&&"--"==e.right.expression.operator?t.print(" "):t.space(),e.right.print(t)}),e(et,function(e,t){e.condition.print(t),t.space(),t.print("?"),t.space(),e.consequent.print(t),t.space(),t.colon(),e.alternative.print(t)}),e(nt,function(e,t){t.with_square(function(){var n=e.elements,r=n.length;r>0&&t.space(),n.forEach(function(e,n){n&&t.comma(),e.print(t),n===r-1&&e instanceof Bt&&t.comma()}),r>0&&t.space()})}),e(rt,function(e,t){e.properties.length>0?t.with_block(function(){e.properties.forEach(function(e,n){n&&(t.print(","),t.newline()),t.indent(),e.print(t)}),t.newline()}):t.print("{}")}),e(it,function(e,t){var n=e.key,r=e.quote;t.option("quote_keys")?t.print_string(n+""):("number"==typeof n||!t.option("beautify")&&+n+""==n)&&parseFloat(n)>=0?t.print(l(n)):(Mt(n)?!t.option("ie8"):U(n))?r&&t.option("keep_quoted_props")?t.print_string(n,r):t.print_name(n):t.print_string(n,r),t.colon(),e.value.print(t)}),e(at,function(e,t){t.print("set"),t.space(),e.key.print(t),e.value._do_print(t,!0)}),e(ut,function(e,t){t.print("get"),t.space(),e.key.print(t),e.value._do_print(t,!0)}),e(st,function(e,t){var n=e.definition();t.print_name(n?n.mangled_name||n.name:e.name)}),e(Bt,f),e(yt,function(e,t){t.print("this")}),e(_t,function(e,t){t.print(e.getValue())}),e(wt,function(e,t){t.print_string(e.getValue(),e.quote,m)}),e(At,function(e,t){d&&e.start&&null!=e.start.raw?t.print(e.start.raw):t.print(l(e.getValue()))}),e(Et,function(e,t){var n=e.getValue(),r=n.toString();n.raw_source&&(r="/"+n.raw_source+r.slice(r.lastIndexOf("/"))),t.option("ascii_only")&&(r=t.to_ascii(r)),t.print(r);var o=t.parent();o instanceof Xe&&/^in/.test(o.operator)&&o.left===e&&t.print(" ")}),p(re,f),p(ae,h),p(ie,h),p(st,h),p(ke,h),p(fe,h),p(pe,f),p(Ae,h),p(Le,h),p(Me,h),p(le,h),p(we,f),p(He,h),p(Ne,h),p(qe,h),p(ze,h),p(Ie,h),p(_t,h),p(at,function(e,t){t.add_mapping(e.start,e.key.name)}),p(ut,function(e,t){t.add_mapping(e.start,e.key.name)}),p(ot,function(e,t){t.add_mapping(e.start,e.key)})}(),G.prototype=new $,c(G.prototype,{option:function(e){return this.options[e]},toplevel:function(e){for(var t=0,n=e.orig.length;t<n;t++)if(!this.toplevel[e.orig[t]instanceof ht?"funcs":"vars"])return!1;return!0},compress:function(e){this.option("expression")&&e.process_expression(!0);for(var t=+this.options.passes||1,n=0;n<t&&n<3;++n)(n>0||this.option("reduce_vars"))&&e.reset_opt_flags(this,!0),e=e.transform(this);return this.option("expression")&&e.process_expression(!1),e},info:function(){"verbose"==this.options.warnings&&re.warn.apply(re,arguments)},warn:function(e,t){if(this.options.warnings){var n=v(e,t);n in this.warnings_produced||(this.warnings_produced[n]=!0,re.warn.apply(re,arguments))}},clear_warnings:function(){this.warnings_produced={}},before:function(e,t,n){if(e._squeezed)return e;var r=!1;e instanceof _e&&(e=e.hoist_declarations(this),r=!0),t(e,this),t(e,this);var o=e.optimize(this);return r&&o instanceof _e&&(o.drop_unused(this),t(o,this)),o===e&&(o._squeezed=!0),o}}),function(){function e(e,t){e.DEFMETHOD("optimize",function(e){var n=this;if(n._optimized)return n;if(e.has_directive("use asm"))return n;var r=t(n,e);return r._optimized=!0,r})}function t(e){return e instanceof vt&&e.definition().orig[0]instanceof dt}function n(e,t){for(var n,r=0;(n=e.parent(r++))&&!(n instanceof _e);)if(n instanceof qe){n=n.argname.definition().scope;break}return n.find_variable(t)}function r(e,t,n){return n||(n={}),t&&(n.start||(n.start=t.start),n.end||(n.end=t.end)),new e(n)}function a(e,t){return 1==t.length?t[0]:r(Ke,e,{expressions:t})}function u(e,t){switch(typeof e){case"string":return r(wt,t,{value:e});case"number":return isNaN(e)?r(kt,t):isFinite(e)?1/e<0?r(Ze,t,{operator:"-",expression:r(At,t,{value:-e})}):r(At,t,{value:e}):e<0?r(Ze,t,{operator:"-",expression:r(St,t)}):r(St,t);case"boolean":return r(e?Rt:Tt,t);case"undefined":return r(Ot,t);default:if(null===e)return r(Ct,t,{value:null});if(e instanceof RegExp)return r(Et,t,{value:e});throw new Error(v("Can't handle constant of type: {type}",{type:typeof e}))}}function s(e,t,n){return e instanceof Ze&&"delete"==e.operator||e instanceof $e&&e.expression===t&&(n instanceof Ye||n instanceof vt&&"eval"==n.name)?a(t,[r(At,t,{value:0}),n]):n}function l(e,t){t instanceof Ke?e.push.apply(e,t.expressions):e.push(t)}function c(e){if(null===e)return[];if(e instanceof le)return e.body;if(e instanceof ce)return[];if(e instanceof oe)return[e];throw new Error("Can't convert thing to statement array")}function g(e){return null===e||(e instanceof ce||e instanceof le&&0==e.body.length)}function y(e){return e instanceof Le?e:(e instanceof ve||e instanceof be||e instanceof de)&&e.body instanceof le?e.body:e}function C(e){return e instanceof $e&&!(e instanceof He)&&(e.expression instanceof xe||C(e.expression))}function B(e,n){function o(e){var t=[];return e.reduce(function(e,n){return n instanceof le?(u=!0,e.push.apply(e,o(n.body))):n instanceof ce?u=!0:n instanceof ae?t.indexOf(n.value)<0?(e.push(n),t.push(n.value)):u=!0:e.push(n),e},[])}function i(e,t){function n(e){o.pop();var n=i.body;return n instanceof Ke||(n=r(Ke,n,{expressions:[n]})),l(n.expressions,e),n.transform(t)}var o=[],i=null;return e.forEach(function(e){if(i)if(e instanceof ve)try{i.body.walk(new O(function(e){if(e instanceof Xe&&"in"==e.operator)throw n})),!e.init||e.init instanceof Ie?e.init||(e.init=i.body.drop_side_effect_free(t),o.pop()):e.init=n(e.init)}catch(e){if(e!==n)throw e}else e instanceof Fe?e.condition=n(e.condition):e instanceof ye?e.expression=n(e.expression):e instanceof Oe&&e.value?e.value=n(e.value):e instanceof Oe?e.value=n(r(Ot,e).transform(t)):e instanceof Le&&(e.expression=n(e.expression));o.push(e),i=e instanceof ue?e:null}),o}var u,f=10;do{u=!1,e=o(e),n.option("dead_code")&&(e=function(e,t){var n=!1,r=e.length,o=t.self();return e=e.reduce(function(e,r){if(n)D(t,r,e);else{if(r instanceof De){var i=t.loopcontrol_target(r);r instanceof Te&&!(i instanceof he)&&y(i)===o||r instanceof Re&&y(i)===o?r.label&&b(r.label.thedef.references,r):e.push(r)}else e.push(r);P(r)&&(n=!0)}return e},[]),u=e.length!=r,e}(e,n)),n.option("if_return")&&(e=function(e,t){var n=t.self(),o=function(e){for(var t=0,n=e.length;--n>=0;){var r=e[n];if(r instanceof Fe&&r.body instanceof Be&&++t>1)return!0}return!1}(e),i=n instanceof Ae,a=[];e:for(var s=e.length;--s>=0;){var l=e[s];switch(!0){case i&&l instanceof Be&&!l.value&&0==a.length:u=!0;continue e;case l instanceof Fe:if(l.body instanceof Be){var f=l.body.value;if((i&&0==a.length||a[0]instanceof Be&&!a[0].value)&&!f&&!l.alternative){u=!0;var p=r(ue,l.condition,{body:l.condition});a.unshift(p);continue e}if(a[0]instanceof Be&&f&&a[0].value&&!l.alternative){u=!0,(l=l.clone()).alternative=a[0],a[0]=l.transform(t);continue e}if(o&&(0==a.length||a[0]instanceof Be)&&f&&!l.alternative&&i){u=!0,(l=l.clone()).alternative=a[0]||r(Be,l,{value:null}),a[0]=l.transform(t);continue e}if(i&&(!f||f instanceof Ze&&"void"==f.operator)){u=!0,(l=l.clone()).condition=l.condition.negate(t);var h=S(g=c(l.alternative).concat(a));l.body=r(le,l,{body:g}),l.alternative=f?r(ue,f,{body:f.expression}):null,a=h.concat([l.transform(t)]);continue e}if(t.option("sequences")&&s>0&&e[s-1]instanceof Fe&&e[s-1].body instanceof Be&&1==a.length&&i&&a[0]instanceof ue&&!l.alternative){u=!0,a.push(r(Be,a[0],{value:null}).transform(t)),a.unshift(l);continue e}}var d=P(l.body),m=d instanceof De?t.loopcontrol_target(d):null;if(d&&(d instanceof Be&&!d.value&&i||d instanceof Re&&n===y(m)||d instanceof Te&&m instanceof le&&n===m)){d.label&&b(d.label.thedef.references,d),u=!0;var g=c(l.body).slice(0,-1);(l=l.clone()).condition=l.condition.negate(t),l.body=r(le,l,{body:c(l.alternative).concat(a)}),l.alternative=r(le,l,{body:g}),a=[l.transform(t)];continue e}m=(d=P(l.alternative))instanceof De?t.loopcontrol_target(d):null;if(d&&(d instanceof Be&&!d.value&&i||d instanceof Re&&n===y(m)||d instanceof Te&&m instanceof le&&n===m)){d.label&&b(d.label.thedef.references,d),u=!0,(l=l.clone()).body=r(le,l.body,{body:c(l.body).concat(a)}),l.alternative=r(le,l.alternative,{body:c(l.alternative).slice(0,-1)}),a=[l.transform(t)];continue e}a.unshift(l);break;default:a.unshift(l)}}return a}(e,n)),n.sequences_limit>0&&(e=function(e,t){function n(){if(o.length){var e=a(o[0],o);s.push(r(ue,e,{body:e})),o=[]}}if(e.length<2)return e;var o=[],s=[];return e.forEach(function(e){if(e instanceof ue){o.length>=t.sequences_limit&&n();var r=e.body;o.length>0&&(r=r.drop_side_effect_free(t)),r&&l(o,r)}else n(),s.push(e)}),n(),s=i(s,t),u=s.length!=e.length,s}(e,n)),n.option("join_vars")&&(e=function(e,t){var n=null;return e.reduce(function(e,t){return t instanceof Ie&&n&&n.TYPE==t.TYPE?(n.definitions=n.definitions.concat(t.definitions),u=!0):t instanceof ve&&n instanceof je&&(!t.init||t.init.TYPE==n.TYPE)?(u=!0,e.pop(),t.init?t.init.definitions=n.definitions.concat(t.init.definitions):t.init=n,e.push(t),n=t):(n=t,e.push(t)),e},[])}(e,n)),n.option("collapse_vars")&&(e=function(e,n){function o(e){e instanceof tt&&!e.left.has_side_effects(n)||e instanceof Qe&&("++"==e.operator||"--"==e.operator)?f.push(e):e instanceof Ke?e.expressions.forEach(o):e instanceof Ie?e.definitions.forEach(function(e){e.value&&f.push(e)}):e instanceof ue?o(e.body):e instanceof ve&&e.init&&o(e.init)}function i(e){for(;e instanceof Ye;)e=e.expression;return e}function a(e){return e instanceof Ve?e.value&&e.name:R(e.left,e)}function l(e){return 1==e.orig.length&&e.orig[0]instanceof ht||e.scope===c&&e.references.every(function(e){return e.scope===c})}var c=n.find_parent(_e);if(c.uses_eval||c.uses_with)return e;for(var f=[],p=e.length;--p>=0;)for(o(e[p]);f.length>0;){var h=f.pop(),d=function(e){if(!(e instanceof Ve))return e[e instanceof tt?"left":"expression"];var t=e.name.definition();return t.orig.length>1||1==t.references.length&&(!t.global||n.toplevel(t))?r(vt,e.name,e.name):void 0}(h);if(d&&!t(d)){var m=function(e){var t=Object.create(null);if(e instanceof Qe)return t;var n,r=new O(function(e,o){if(e instanceof _e){var a=n;return o(),n=a,!0}if(e instanceof vt||e instanceof Ye){var u=i(e);u instanceof vt&&(t[u.name]=t[u.name]||R(e,r.parent()))}});return e[e instanceof tt?"right":"value"].walk(r),t}(h);d instanceof vt&&(m[d.name]=!1);for(var g=function(e){return!(e instanceof Qe)&&e[e instanceof tt?"right":"value"].has_side_effects(n)}(h),v=!1,y=!1,_=!1,w=(new $(function(e,t){if(y)return e;{if(v){var o=w.parent();if(e instanceof tt&&"="!=e.operator&&d.equivalent_to(e.left)||e instanceof ie||e instanceof he&&!(e instanceof ve)||e instanceof vt&&e.undeclared()||e instanceof Ne||e instanceof ye||o instanceof ve&&e!==o.init)return y=!0,e;if(!(e instanceof ct)&&!R(e,o)&&d.equivalent_to(e)){if(u=_=y=!0,n.info("Collapsing {name} [{file}:{line},{col}]",{name:e.print_to_string(),file:e.start.file,line:e.start.line,col:e.start.col}),h instanceof Je)return r(Ze,h,h);if(h instanceof Ve){var c=h.name.definition();return 1!=c.references.length||c.global&&!n.toplevel(c)?r(tt,h,{operator:"=",left:r(vt,h.name,h.name),right:h.value}):s(o,e,h.value)}return h}var f;return e instanceof $e||e instanceof Oe||e instanceof Ye||e instanceof vt&&(m[e.name]||g&&!l(e.definition()))||(f=a(e))&&i(f).name in m||o instanceof Xe&&("&&"==o.operator||"||"==o.operator)||o instanceof Ue||o instanceof et||o instanceof ve||o instanceof Fe?(e instanceof _e||t(e,w),y=!0,e):e instanceof Pe||e instanceof _e?e:void 0}if(e===h)return v=!0,e}})),A=p;!y&&A<e.length;A++)e[A].transform(w);_&&!function(t){var n=!1;return e[p].transform(new $(function(e,r,o){return n?e:e===t?(n=!0,e instanceof Ve&&b(e.name.definition().orig,e.name),o?te.skip:null):void 0},function(e){if(e instanceof Ke)switch(e.expressions.length){case 0:return null;case 1:return e.expressions[0]}if(e instanceof Ie&&0==e.definitions.length||e instanceof ue&&!e.body)return null}))}(h)&&e.splice(p,1)}}return e}(e,n))}while(u&&f-- >0);return e}function S(e){for(var t=[],n=e.length-1;n>=0;--n){var r=e[n];r instanceof Ce&&(e.splice(n,1),t.unshift(r))}return t}function D(e,t,n){t instanceof Ce||e.warn("Dropping unreachable code [{file}:{line},{col}]",t.start),t.walk(new O(function(t){return t instanceof Ie?(e.warn("Declarations in unreachable code! [{file}:{line},{col}]",t.start),t.remove_initializers(),n.push(t),!0):t instanceof Ce?(n.push(t),!0):t instanceof _e||void 0}))}function T(e,t){return e.is_undefined||e instanceof Ot||e instanceof Ze&&"void"==e.operator&&!e.expression.has_side_effects(t)}function R(e,t){return t instanceof Qe&&j(t.operator)?t.expression:t instanceof tt&&t.left===e?e:void 0}function F(e,t){return e.print_to_string().length>t.print_to_string().length?t:e}function L(e,t){return F(r(ue,e,{body:e}),r(ue,t,{body:t})).body}function M(e,t,n){return(x(e)?L:F)(t,n)}function P(e){return e&&e.aborts()}function N(e,t){function n(n){n=c(n),e.body instanceof le?(e.body=e.body.clone(),e.body.body=n.concat(e.body.body.slice(1)),e.body=e.body.transform(t)):e.body=r(le,e.body,{body:n}).transform(t),N(e,t)}var o=e.body instanceof le?e.body.body[0]:e.body;o instanceof Fe&&(o.body instanceof Te&&t.loopcontrol_target(o.body)===t.self()?(e.condition?e.condition=r(Xe,e.condition,{left:e.condition,operator:"&&",right:o.condition.negate(t)}):e.condition=o.condition.negate(t),n(o.alternative)):o.alternative instanceof Te&&t.loopcontrol_target(o.alternative)===t.self()&&(e.condition?e.condition=r(Xe,e.condition,{left:e.condition,operator:"&&",right:o.condition}):e.condition=o.condition,n(o.body)))}function z(e,t){return e instanceof vt||e.TYPE===t.TYPE}function I(e,t){return t.option("booleans")&&t.in_boolean_context()?M(t,e,a(e,[e,r(Rt,e)]).optimize(t)):e}e(re,function(e,t){return e}),re.DEFMETHOD("equivalent_to",function(e){return this.TYPE==e.TYPE&&this.print_to_string()==e.print_to_string()}),_e.DEFMETHOD("process_expression",function(e,t){var n=this,o=new $(function(i){if(e&&i instanceof ue)return r(Be,i,{value:i.body});if(!e&&i instanceof Be){if(t){var a=i.value&&i.value.drop_side_effect_free(t,!0);return a?r(ue,i,{body:a}):r(ce,i)}return r(ue,i,{body:i.value||r(Ze,i,{operator:"void",expression:r(At,i,{value:0})})})}if(i instanceof Ae&&i!==n)return i;if(i instanceof se){var u=i.body.length-1;u>=0&&(i.body[u]=i.body[u].transform(o))}return i instanceof Fe&&(i.body=i.body.transform(o),i.alternative&&(i.alternative=i.alternative.transform(o))),i instanceof ye&&(i.body=i.body.transform(o)),i});n.transform(o)}),re.DEFMETHOD("reset_opt_flags",function(e,t){function n(e,t){p[e.id]=t}function o(e){if(p[e.id]){if(null==e.fixed){var t=e.orig[0];if(t instanceof pt||"arguments"==t.name)return!1;e.fixed=r(Ot,t)}return!0}}function i(e,t){return!!E(p,e.id)&&(!!o(e)&&(!1!==e.fixed&&(!(null!=e.fixed&&(!t||e.references.length>0))&&!e.orig.some(function(e){return e instanceof ht||e instanceof dt}))))}function a(){p=Object.create(p)}function u(){p=Object.getPrototypeOf(p)}function s(t){t.escaped=!1,t.scope.uses_eval?t.fixed=!1:!t.global||e.toplevel(t)?t.fixed=void 0:t.fixed=!1,t.references=[],t.should_replace=void 0}function l(e){return e&&e.is_constant()||e instanceof Ae}function c(e,t,n){var r=d.parent(t);return!!(R(e,r)||!n&&r instanceof $e&&r.expression===e)||(r instanceof Ye&&r.expression===e?!n&&c(r,t+1):void 0)}var f=t&&e.option("reduce_vars"),p=Object.create(null),h=new O(function(e){if(e instanceof st){var t=e.definition();e instanceof vt&&t.references.push(e),t.fixed=!1}}),d=new O(function(t,m){if(t._squeezed=!1,t._optimized=!1,f){if(t instanceof we&&t.globals.each(s),t instanceof _e&&t.variables.each(s),t instanceof vt)if((v=t.definition()).references.push(t),void 0===v.fixed||!o(v)||c(t,0,l(t.fixed_value())))v.fixed=!1;else{var g=d.parent();(g instanceof tt&&"="==g.operator&&t===g.right||g instanceof $e&&t!==g.expression||g instanceof Be&&t===g.value&&t.scope!==v.scope||g instanceof Ve&&t===g.value)&&(v.escaped=!0)}if(t instanceof mt&&(t.definition().fixed=!1),t instanceof Ve){if(void 0===(v=t.name.definition()).fixed||i(v,t.value))return t.value?(v.fixed=function(){return t.value},n(v,!1),m()):v.fixed=null,n(v,!0),!0;t.value&&(v.fixed=!1)}if(t instanceof tt&&"="==t.operator&&t.left instanceof vt&&i(v=t.left.definition(),t.right))return v.references.push(t.left),v.fixed=function(){return t.right},n(v,!1),t.right.walk(d),n(v,!0),!0;if(t instanceof Ce){var v=t.name.definition();v.global&&!e.toplevel(v)||o(v)?v.fixed=!1:(v.fixed=t,n(v,!0));y=p;return p=Object.create(null),m(),p=y,!0}if(t instanceof xe){a();var b;return!t.name&&(b=d.parent())instanceof $e&&b.expression===t&&t.argnames.forEach(function(e,o){var i=e.definition();t.uses_arguments||void 0!==i.fixed?i.fixed=!1:(i.fixed=function(){return b.args[o]||r(Ot,b)},n(i,!0))}),m(),u(),!0}if(t instanceof Ee){var y=p;return p=Object.create(null),m(),p=y,!0}if(t instanceof Xe&&("&&"==t.operator||"||"==t.operator))return t.left.walk(d),a(),t.right.walk(d),u(),!0;if(t instanceof et)return t.condition.walk(d),a(),t.consequent.walk(d),u(),a(),t.alternative.walk(d),u(),!0;if(t instanceof Fe)return t.condition.walk(d),a(),t.body.walk(d),u(),t.alternative&&(a(),t.alternative.walk(d),u()),!0;if(t instanceof de)return a(),t.condition.walk(d),t.body.walk(d),u(),!0;if(t instanceof pe)return a(),t.body.walk(d),u(),!0;if(t instanceof ve)return t.init&&t.init.walk(d),t.condition&&(a(),t.condition.walk(d),u()),a(),t.body.walk(d),u(),t.step&&(a(),t.step.walk(d),u()),!0;if(t instanceof be)return t.init.walk(h),t.object.walk(d),a(),t.body.walk(d),u(),!0;if(t instanceof Ne)return a(),k(t,d),u(),t.bcatch&&(a(),t.bcatch.walk(d),u()),t.bfinally&&t.bfinally.walk(d),!0;if(t instanceof Me)return a(),m(),u(),!0}});this.walk(d)}),vt.DEFMETHOD("fixed_value",function(){var e=this.definition().fixed;return!e||e instanceof re?e:e()}),function(e){function t(e){return/strict/.test(e)}re.DEFMETHOD("may_throw_on_access",function(e){var t=e.option("pure_getters");return!t||this._throw_on_access(t)}),e(re,t),e(Ct,h),e(Ot,h),e(_t,p),e(nt,p),e(rt,function(e){if(!t(e))return!1;for(var n=this.properties.length;--n>=0;)if(this.properties[n].value instanceof Ee)return!0;return!1}),e(xe,p),e(Je,p),e(Ze,function(){return"void"==this.operator}),e(Xe,function(e){switch(this.operator){case"&&":return this.left._throw_on_access(e);case"||":return this.left._throw_on_access(e)&&this.right._throw_on_access(e);default:return!1}}),e(tt,function(e){return"="==this.operator&&this.right._throw_on_access(e)}),e(et,function(e){return this.consequent._throw_on_access(e)||this.alternative._throw_on_access(e)}),e(Ke,function(e){return this.expressions[this.expressions.length-1]._throw_on_access(e)}),e(vt,function(e){if(this.is_undefined)return!0;if(!t(e))return!1;var n=this.fixed_value();return!n||n._throw_on_access(e)})}(function(e,t){e.DEFMETHOD("_throw_on_access",t)}),function(e){var t=["!","delete"],n=["in","instanceof","==","!=","===","!==","<","<=",">=",">"];e(re,p),e(Ze,function(){return o(this.operator,t)}),e(Xe,function(){return o(this.operator,n)||("&&"==this.operator||"||"==this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}),e(et,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}),e(tt,function(){return"="==this.operator&&this.right.is_boolean()}),e(Ke,function(){return this.expressions[this.expressions.length-1].is_boolean()}),e(Rt,h),e(Tt,h)}(function(e,t){e.DEFMETHOD("is_boolean",t)}),function(e){e(re,p),e(At,h);var t=_("+ - ~ ++ --");e(Qe,function(){return t(this.operator)});var n=_("- * / % & | ^ << >> >>>");e(Xe,function(e){return n(this.operator)||"+"==this.operator&&this.left.is_number(e)&&this.right.is_number(e)}),e(tt,function(e){return n(this.operator.slice(0,-1))||"="==this.operator&&this.right.is_number(e)}),e(Ke,function(e){return this.expressions[this.expressions.length-1].is_number(e)}),e(et,function(e){return this.consequent.is_number(e)&&this.alternative.is_number(e)})}(function(e,t){e.DEFMETHOD("is_number",t)}),function(e){e(re,p),e(wt,h),e(Ze,function(){return"typeof"==this.operator}),e(Xe,function(e){return"+"==this.operator&&(this.left.is_string(e)||this.right.is_string(e))}),e(tt,function(e){return("="==this.operator||"+="==this.operator)&&this.right.is_string(e)}),e(Ke,function(e){return this.expressions[this.expressions.length-1].is_string(e)}),e(et,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)})}(function(e,t){e.DEFMETHOD("is_string",t)});var j=_("delete ++ --");!function(e){function t(e,n){if(e instanceof re)return r(e.CTOR,n,e);if(Array.isArray(e))return r(nt,n,{elements:e.map(function(e){return t(e,n)})});if(e&&"object"==typeof e){var o=[];for(var i in e)o.push(r(it,n,{key:i,value:t(e[i],n)}));return r(rt,n,{properties:o})}return u(e,n)}re.DEFMETHOD("resolve_defines",function(e){if(e.option("global_defs")){var t=this._find_defs(e,"");if(t){var n,r=this,o=0;do{n=r,r=e.parent(o++)}while(r instanceof Ye&&r.expression===n);if(!R(n,r))return t;e.warn("global_defs "+this.print_to_string()+" redefined [{file}:{line},{col}]",this.start)}}}),e(re,f),e(Ge,function(e,t){return this.expression._find_defs(e,"."+this.property+t)}),e(vt,function(e,n){if(this.global()){var r,o=e.option("global_defs");if(o&&E(o,r=this.name+n)){var i=t(o[r],this),a=e.find_parent(we);return i.walk(new O(function(e){e instanceof vt&&(e.scope=a,e.thedef=a.def_global(e))})),i}}})}(function(e,t){e.DEFMETHOD("_find_defs",t)}),function(e){function t(e,t){if(!t)throw new Error("Compressor must be passed");return e._eval(t)}re.DEFMETHOD("evaluate",function(t){if(!t.option("evaluate"))return this;try{var n=this._eval(t);return!n||n instanceof RegExp||"object"!=typeof n?n:this}catch(t){if(t!==e)throw t;return this}});var n=_("! ~ - + void");re.DEFMETHOD("is_constant",function(){return this instanceof _t?!(this instanceof Et):this instanceof Ze&&this.expression instanceof _t&&n(this.operator)}),re.DEFMETHOD("constant_value",function(e){if(this instanceof _t&&!(this instanceof Et))return this.value;if(this instanceof Ze&&this.expression instanceof _t)switch(this.operator){case"!":return!this.expression.value;case"~":return~this.expression.value;case"-":return-this.expression.value;case"+":return+this.expression.value;default:throw new Error(v("Cannot evaluate unary expression {value}",{value:this.print_to_string()}))}var t=this.evaluate(e);if(t!==this)return t;throw new Error(v("Cannot evaluate constant [{file}:{line},{col}]",this.start))}),e(oe,function(){throw new Error(v("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}),e(Ae,function(){throw e}),e(re,function(){throw e}),e(_t,function(){return this.getValue()}),e(nt,function(n){if(n.option("unsafe"))return this.elements.map(function(e){return t(e,n)});throw e}),e(rt,function(n){if(n.option("unsafe")){for(var r={},o=0,i=this.properties.length;o<i;o++){var a=this.properties[o],u=a.key;if(u instanceof st?u=u.name:u instanceof re&&(u=t(u,n)),"function"==typeof Object.prototype[u])throw e;r[u]=t(a.value,n)}return r}throw e}),e(Ze,function(n){var r=this.expression;switch(this.operator){case"!":return!t(r,n);case"typeof":if(r instanceof xe)return"function";if((r=t(r,n))instanceof RegExp)throw e;return typeof r;case"void":return void t(r,n);case"~":return~t(r,n);case"-":return-t(r,n);case"+":return+t(r,n)}throw e}),e(Xe,function(n){var r,o=this.left,i=this.right;switch(this.operator){case"&&":r=t(o,n)&&t(i,n);break;case"||":r=t(o,n)||t(i,n);break;case"|":r=t(o,n)|t(i,n);break;case"&":r=t(o,n)&t(i,n);break;case"^":r=t(o,n)^t(i,n);break;case"+":r=t(o,n)+t(i,n);break;case"*":r=t(o,n)*t(i,n);break;case"/":r=t(o,n)/t(i,n);break;case"%":r=t(o,n)%t(i,n);break;case"-":r=t(o,n)-t(i,n);break;case"<<":r=t(o,n)<<t(i,n);break;case">>":r=t(o,n)>>t(i,n);break;case">>>":r=t(o,n)>>>t(i,n);break;case"==":r=t(o,n)==t(i,n);break;case"===":r=t(o,n)===t(i,n);break;case"!=":r=t(o,n)!=t(i,n);break;case"!==":r=t(o,n)!==t(i,n);break;case"<":r=t(o,n)<t(i,n);break;case"<=":r=t(o,n)<=t(i,n);break;case">":r=t(o,n)>t(i,n);break;case">=":r=t(o,n)>=t(i,n);break;default:throw e}if(isNaN(r)&&n.find_parent(ye))throw e;return r}),e(et,function(e){return t(this.condition,e)?t(this.consequent,e):t(this.alternative,e)}),e(vt,function(n){if(!n.option("reduce_vars")||this._evaluating)throw e;this._evaluating=!0;try{var r=this.fixed_value();if(!r)throw e;var o=t(r,n);if(E(r,"_eval")||(r._eval=function(){return o}),o&&"object"==typeof o&&this.definition().escaped)throw e;return o}finally{this._evaluating=!1}}),e(Ye,function(n){if(n.option("unsafe")){var r=this.property;r instanceof re&&(r=t(r,n));var o=t(this.expression,n);if(o&&E(o,r))return o[r]}throw e})}(function(e,t){e.DEFMETHOD("_eval",t)}),function(e){function t(e){return r(Ze,e,{operator:"!",expression:e})}function n(e,n,o){var i=t(e);if(o){var a=r(ue,n,{body:n});return F(i,a)===a?n:i}return F(i,n)}e(re,function(){return t(this)}),e(oe,function(){throw new Error("Cannot negate a statement")}),e(xe,function(){return t(this)}),e(Ze,function(){return"!"==this.operator?this.expression:t(this)}),e(Ke,function(e){var t=this.expressions.slice();return t.push(t.pop().negate(e)),a(this,t)}),e(et,function(e,t){var r=this.clone();return r.consequent=r.consequent.negate(e),r.alternative=r.alternative.negate(e),n(this,r,t)}),e(Xe,function(e,r){var o=this.clone(),i=this.operator;if(e.option("unsafe_comps"))switch(i){case"<=":return o.operator=">",o;case"<":return o.operator=">=",o;case">=":return o.operator="<",o;case">":return o.operator="<=",o}switch(i){case"==":return o.operator="!=",o;case"!=":return o.operator="==",o;case"===":return o.operator="!==",o;case"!==":return o.operator="===",o;case"&&":return o.operator="||",o.left=o.left.negate(e,r),o.right=o.right.negate(e),n(this,o,r);case"||":return o.operator="&&",o.left=o.left.negate(e,r),o.right=o.right.negate(e),n(this,o,r)}return t(this)})}(function(e,t){e.DEFMETHOD("negate",function(e,n){return t.call(this,e,n)})}),$e.DEFMETHOD("has_pure_annotation",function(e){if(!e.option("side_effects"))return!1;if(void 0!==this.pure)return this.pure;var t,n,r=!1;return this.start&&(t=this.start.comments_before)&&t.length&&/[@#]__PURE__/.test((n=t[t.length-1]).value)&&(r=n),this.pure=r}),function(e){function t(e,t){for(var n=e.length;--n>=0;)if(e[n].has_side_effects(t))return!0;return!1}e(re,h),e(ce,p),e(_t,p),e(yt,p),e($e,function(e){if(!this.has_pure_annotation(e)&&e.pure_funcs(this))return!0;for(var t=this.args.length;--t>=0;)if(this.args[t].has_side_effects(e))return!0;return!1}),e(se,function(e){return t(this.body,e)}),e(Le,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(Ue,function(e){return this.expression.has_side_effects(e)||t(this.body,e)}),e(Ne,function(e){return t(this.body,e)||this.bcatch&&this.bcatch.has_side_effects(e)||this.bfinally&&this.bfinally.has_side_effects(e)}),e(Fe,function(e){return this.condition.has_side_effects(e)||this.body&&this.body.has_side_effects(e)||this.alternative&&this.alternative.has_side_effects(e)}),e(pe,function(e){return this.body.has_side_effects(e)}),e(ue,function(e){return this.body.has_side_effects(e)}),e(Ce,h),e(xe,p),e(Xe,function(e){return this.left.has_side_effects(e)||this.right.has_side_effects(e)}),e(tt,h),e(et,function(e){return this.condition.has_side_effects(e)||this.consequent.has_side_effects(e)||this.alternative.has_side_effects(e)}),e(Qe,function(e){return j(this.operator)||this.expression.has_side_effects(e)}),e(vt,function(e){return this.undeclared()}),e(ct,p),e(rt,function(e){return t(this.properties,e)}),e(ot,function(e){return this.value.has_side_effects(e)}),e(nt,function(e){return t(this.elements,e)}),e(Ge,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)}),e(We,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)||this.property.has_side_effects(e)}),e(Ke,function(e){return this.expressions.some(function(t,n){return t.has_side_effects(e)})})}(function(e,t){e.DEFMETHOD("has_side_effects",t)}),function(e){function t(e){for(var t=e.length;--t>=0;)if(!e[t].is_constant_expression())return!1;return!0}e(re,p),e(_t,h),e(Qe,function(){return this.expression.is_constant_expression()}),e(Xe,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}),e(nt,function(){return t(this.elements)}),e(rt,function(){return t(this.properties)}),e(ot,function(){return this.value.is_constant_expression()})}(function(e,t){e.DEFMETHOD("is_constant_expression",t)}),function(e){function t(){var e=this.body.length;return e>0&&P(this.body[e-1])}e(oe,m),e(ke,d),e(le,t),e(Me,t),e(Fe,function(){return this.alternative&&P(this.body)&&P(this.alternative)&&this})}(function(e,t){e.DEFMETHOD("aborts",t)}),e(ae,function(e,t){return t.has_directive(e.value)!==e?r(ce,e):e}),e(ie,function(e,t){return t.option("drop_debugger")?r(ce,e):e}),e(pe,function(e,t){return e.body instanceof Te&&t.loopcontrol_target(e.body)===e.body?r(ce,e):0==e.label.references.length?e.body:e}),e(se,function(e,t){return e.body=B(e.body,t),e}),e(le,function(e,t){switch(e.body=B(e.body,t),e.body.length){case 1:return e.body[0];case 0:return r(ce,e)}return e}),_e.DEFMETHOD("drop_unused",function(e){if(e.option("unused")&&!e.has_directive("use asm")){var t=this;if(!t.uses_eval&&!t.uses_with){var n=!(t instanceof we)||e.toplevel.funcs,o=!(t instanceof we)||e.toplevel.vars;if(n||o){var i=!/keep_assign/.test(e.option("unused")),u=[],c=Object.create(null);t instanceof we&&e.top_retain&&t.variables.each(function(t){!e.top_retain(t)||t.id in c||(c[t.id]=!0,u.push(t))});var f=new A,p=new A,h=this,d=new O(function(r,a){if(r!==t){if(r instanceof Ce)return n||h!==t||(s=r.name.definition()).id in c||(c[s.id]=!0,u.push(s)),p.add(r.name.name,r),!0;if(r instanceof Ie&&h===t)return r.definitions.forEach(function(t){var n=t.name.definition();t.name instanceof ft&&f.add(n.id,t),o||n.id in c||(c[n.id]=!0,u.push(n)),t.value&&(p.add(t.name.name,t.value),t.value.has_side_effects(e)&&t.value.walk(d))}),!0;if(i&&r instanceof tt&&"="==r.operator&&r.left instanceof vt&&h===t)return r.right.walk(d),!0;if(r instanceof vt){var s=r.definition();return s.id in c||(c[s.id]=!0,u.push(s)),!0}if(r instanceof _e){var l=h;return h=r,a(),h=l,!0}}});t.walk(d);for(var m=0;m<u.length;++m)u[m].orig.forEach(function(e){var t=p.get(e.name);t&&t.forEach(function(e){var t=new O(function(e){if(e instanceof vt){var t=e.definition();t.id in c||(c[t.id]=!0,u.push(t))}});e.walk(t)})});var v=new $(function(u,p,h){function d(e){return{name:e.name,file:e.start.file,line:e.start.line,col:e.start.col}}if(u instanceof xe&&u.name&&!e.option("keep_fnames")&&((O=u.name.definition()).id in c&&!(O.orig.length>1)||(u.name=null)),u instanceof Ae&&!(u instanceof Ee))for(var m=!e.option("keep_fargs"),y=u.argnames,_=y.length;--_>=0;){var w=y[_];w.definition().id in c?m=!1:(w.__unused=!0,m&&(y.pop(),e[w.unreferenced()?"warn":"info"]("Dropping unused function argument {name} [{file}:{line},{col}]",d(w))))}if(n&&u instanceof Ce&&u!==t)return u.name.definition().id in c?u:(e[u.name.unreferenced()?"warn":"info"]("Dropping unused function {name} [{file}:{line},{col}]",d(u.name)),r(ce,u));if(o&&u instanceof Ie&&!(v.parent()instanceof be&&v.parent().init===u)){var A=[],E=[],x=[],C=[];if(u.definitions.forEach(function(t){t.value&&(t.value=t.value.transform(v));var n=t.name.definition();if(n.id in c){if(t.name instanceof ft){var o=f.get(n.id);if(o.length>1&&!t.value)return e.warn("Dropping duplicated definition of variable {name} [{file}:{line},{col}]",d(t.name)),b(o,t),void b(n.orig,t.name)}t.value?(C.length>0&&(x.length>0?(l(C,t.value),t.value=a(t.value,C)):A.push(r(ue,u,{body:a(u,C)})),C=[]),x.push(t)):E.push(t)}else if(n.orig[0]instanceof mt)(i=t.value&&t.value.drop_side_effect_free(e))&&l(C,i),t.value=null,E.push(t);else{var i=t.value&&t.value.drop_side_effect_free(e);i?(e.warn("Side effects in initialization of unused variable {name} [{file}:{line},{col}]",d(t.name)),l(C,i)):e[t.name.unreferenced()?"warn":"info"]("Dropping unused variable {name} [{file}:{line},{col}]",d(t.name)),b(n.orig,t.name)}}),0==E.length&&1==x.length&&x[0].name instanceof ft){var k=f.get(x[0].name.definition().id);if(k.length>1){var O=x.pop();e.warn("Converting duplicated definition of variable {name} to assignment [{file}:{line},{col}]",d(O.name)),b(k,O),b(O.name.definition().orig,O.name),C.unshift(r(tt,O,{operator:"=",left:r(vt,O.name,O.name),right:O.value}))}}switch((E.length>0||x.length>0)&&(u.definitions=E.concat(x),A.push(u)),C.length>0&&A.push(r(ue,u,{body:a(u,C)})),A.length){case 0:return h?te.skip:r(ce,u);case 1:return A[0];default:return h?te.splice(A):r(le,u,{body:A})}}if(o&&i&&u instanceof tt&&"="==u.operator&&u.left instanceof vt&&!((O=u.left.definition()).id in c)&&t.variables.get(O.name)===O)return s(v.parent(),u,u.right.transform(v));if(u instanceof ve){if(p(u,this),u.init instanceof le){B=u.init;return u.init=B.body.pop(),B.body.push(u),h?te.splice(B.body):B}return u.init instanceof ue?u.init=u.init.body:g(u.init)&&(u.init=null),u}if(u instanceof pe&&u.body instanceof ve){if(p(u,this),u.body instanceof le){var B=u.body;return u.body=B.body.pop(),B.body.push(u),h?te.splice(B.body):B}return u}return u instanceof _e&&u!==t?u:void 0});t.transform(v)}}}}),_e.DEFMETHOD("hoist_declarations",function(e){var t=this;if(e.has_directive("use asm"))return t;var n=e.option("hoist_funs"),o=e.option("hoist_vars");if(n||o){var u=[],s=[],l=new A,c=0,f=0;t.walk(new O(function(e){return e instanceof _e&&e!==t||(e instanceof je?(++f,!0):void 0)})),o=o&&f>1;var p=new $(function(i){if(i!==t){if(i instanceof ae)return u.push(i),r(ce,i);if(i instanceof Ce&&n)return s.push(i),r(ce,i);if(i instanceof je&&o){i.definitions.forEach(function(e){l.set(e.name.name,e),++c});var a=i.to_assignments(e),f=p.parent();if(f instanceof be&&f.init===i){if(null==a){var h=i.definitions[0].name;return r(vt,h,h)}return a}return f instanceof ve&&f.init===i?a:a?r(ue,i,{body:a}):r(ce,i)}if(i instanceof _e)return i}});if(t=t.transform(p),c>0){var h=[];if(l.each(function(e,n){t instanceof Ae&&i(function(t){return t.name==e.name.name},t.argnames)?l.del(n):((e=e.clone()).value=null,h.push(e),l.set(n,e))}),h.length>0){for(;0<t.body.length;){if(t.body[0]instanceof ue){var d,m,g=t.body[0].body;if(g instanceof tt&&"="==g.operator&&(d=g.left)instanceof st&&l.has(d.name)){if((v=l.get(d.name)).value)break;v.value=g.right,b(h,v),h.push(v),t.body.splice(0,1);continue}if(g instanceof Ke&&(m=g.expressions[0])instanceof tt&&"="==m.operator&&(d=m.left)instanceof st&&l.has(d.name)){var v=l.get(d.name);if(v.value)break;v.value=m.right,b(h,v),h.push(v),t.body[0].body=a(g,g.expressions.slice(1));continue}}if(t.body[0]instanceof ce)t.body.splice(0,1);else{if(!(t.body[0]instanceof le))break;var y=[0,1].concat(t.body[0].body);t.body.splice.apply(t.body,y)}}h=r(je,t,{definitions:h}),s.push(h)}}t.body=u.concat(s,t.body)}return t}),function(e){function t(e,t,n){var r=e.length;if(!r)return null;for(var o=[],i=!1,a=0;a<r;a++){var u=e[a].drop_side_effect_free(t,n);i|=u!==e[a],u&&(l(o,u),n=!1)}return i?o.length?o:null:e}e(re,d),e(_t,m),e(yt,m),e($e,function(e,n){if(!this.has_pure_annotation(e)&&e.pure_funcs(this)){if(this.expression instanceof xe&&(!this.expression.name||!this.expression.name.definition().references.length)){var r=this.clone();return r.expression.process_expression(!1,e),r}return this}this.pure&&(e.warn("Dropping __PURE__ call [{file}:{line},{col}]",this.start),this.pure.value=this.pure.value.replace(/[@#]__PURE__/g," "));var o=t(this.args,e,n);return o&&a(this,o)}),e(Ee,m),e(xe,m),e(Xe,function(e,t){var n=this.right.drop_side_effect_free(e);if(!n)return this.left.drop_side_effect_free(e,t);switch(this.operator){case"&&":case"||":if(n===this.right)return this;var r=this.clone();return r.right=n,r;default:var o=this.left.drop_side_effect_free(e,t);return o?a(this,[o,n]):this.right.drop_side_effect_free(e,t)}}),e(tt,d),e(et,function(e){var t=this.consequent.drop_side_effect_free(e),n=this.alternative.drop_side_effect_free(e);if(t===this.consequent&&n===this.alternative)return this;if(!t)return n?r(Xe,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(e);if(!n)return r(Xe,this,{operator:"&&",left:this.condition,right:t});var o=this.clone();return o.consequent=t,o.alternative=n,o}),e(Qe,function(e,t){if(j(this.operator))return this;if("typeof"==this.operator&&this.expression instanceof vt)return null;var n=this.expression.drop_side_effect_free(e,t);return t&&this instanceof Ze&&C(n)?n===this.expression&&1===this.operator.length?this:r(Ze,this,{operator:1===this.operator.length?this.operator:"!",expression:n}):n}),e(vt,function(){return this.undeclared()?this:null}),e(rt,function(e,n){var r=t(this.properties,e,n);return r&&a(this,r)}),e(ot,function(e,t){return this.value.drop_side_effect_free(e,t)}),e(nt,function(e,n){var r=t(this.elements,e,n);return r&&a(this,r)}),e(Ge,function(e,t){return this.expression.may_throw_on_access(e)?this:this.expression.drop_side_effect_free(e,t)}),e(We,function(e,t){if(this.expression.may_throw_on_access(e))return this;var n=this.expression.drop_side_effect_free(e,t);if(!n)return this.property.drop_side_effect_free(e,t);var r=this.property.drop_side_effect_free(e);return r?a(this,[n,r]):n}),e(Ke,function(e){var t=this.expressions[this.expressions.length-1],n=t.drop_side_effect_free(e);if(n===t)return this;var r=this.expressions.slice(0,-1);return n&&l(r,n),a(this,r)})}(function(e,t){e.DEFMETHOD("drop_side_effect_free",t)}),e(ue,function(e,t){if(t.option("side_effects")){var n=e.body,o=n.drop_side_effect_free(t,!0);if(!o)return t.warn("Dropping side-effect-free statement [{file}:{line},{col}]",e.start),r(ce,e);if(o!==n)return r(ue,e,{body:o})}return e}),e(de,function(e,t){if(!t.option("loops"))return e;var n=e.condition.evaluate(t);if(n!==e.condition){if(n)return r(ve,e,{body:e.body});if(t.option("dead_code")&&e instanceof ge){var o=[];return D(t,e.body,o),r(le,e,{body:o}).optimize(t)}if(e instanceof me){var i=!1,a=new O(function(t){return!!(t instanceof _e||i)||(t instanceof De&&a.loopcontrol_target(t)===e?i=!0:void 0)}),u=t.parent();if((u instanceof pe?u:e).walk(a),!i)return e.body}}return e instanceof ge?r(ve,e,e).optimize(t):e}),e(ve,function(e,t){if(!t.option("loops"))return e;if(e.condition){var n=e.condition.evaluate(t);if(t.option("dead_code")&&!n){var o=[];return e.init instanceof oe?o.push(e.init):e.init&&o.push(r(ue,e.init,{body:e.init})),D(t,e.body,o),r(le,e,{body:o}).optimize(t)}n!==e.condition&&(n=u(n,e.condition).transform(t),e.condition=F(n,e.condition))}return N(e,t),e}),e(Fe,function(e,t){if(g(e.alternative)&&(e.alternative=null),!t.option("conditionals"))return e;var n=e.condition.evaluate(t);if(n!==e.condition){if(n){if(t.warn("Condition always true [{file}:{line},{col}]",e.condition.start),t.option("dead_code")){o=[];return e.alternative&&D(t,e.alternative,o),o.push(e.body),r(le,e,{body:o}).optimize(t)}}else if(t.warn("Condition always false [{file}:{line},{col}]",e.condition.start),t.option("dead_code")){var o=[];return D(t,e.body,o),e.alternative&&o.push(e.alternative),r(le,e,{body:o}).optimize(t)}n=u(n,e.condition).transform(t),e.condition=F(n,e.condition)}var i=e.condition.negate(t),a=e.condition.print_to_string().length,s=i.print_to_string().length,l=s<a;if(e.alternative&&l){l=!1,e.condition=i;var c=e.body;e.body=e.alternative||r(ce,e),e.alternative=c}if(g(e.body)&&g(e.alternative))return r(ue,e.condition,{body:e.condition.clone()}).optimize(t);if(e.body instanceof ue&&e.alternative instanceof ue)return r(ue,e,{body:r(et,e,{condition:e.condition,consequent:e.body.body,alternative:e.alternative.body})}).optimize(t);if(g(e.alternative)&&e.body instanceof ue)return a===s&&!l&&e.condition instanceof Xe&&"||"==e.condition.operator&&(l=!0),l?r(ue,e,{body:r(Xe,e,{operator:"||",left:i,right:e.body.body})}).optimize(t):r(ue,e,{body:r(Xe,e,{operator:"&&",left:e.condition,right:e.body.body})}).optimize(t);if(e.body instanceof ce&&e.alternative instanceof ue)return r(ue,e,{body:r(Xe,e,{operator:"||",left:e.condition,right:e.alternative.body})}).optimize(t);if(e.body instanceof Oe&&e.alternative instanceof Oe&&e.body.TYPE==e.alternative.TYPE)return r(e.body.CTOR,e,{value:r(et,e,{condition:e.condition,consequent:e.body.value||r(Ot,e.body),alternative:e.alternative.value||r(Ot,e.alternative)}).transform(t)}).optimize(t);if(e.body instanceof Fe&&!e.body.alternative&&!e.alternative&&(e=r(Fe,e,{condition:r(Xe,e.condition,{operator:"&&",left:e.condition,right:e.body.condition}),body:e.body.body,alternative:null})),P(e.body)&&e.alternative){var f=e.alternative;return e.alternative=null,r(le,e,{body:[e,f]}).optimize(t)}if(P(e.alternative)){var p=e.body;return e.body=e.alternative,e.condition=l?i:e.condition.negate(t),e.alternative=null,r(le,e,{body:[e,p]}).optimize(t)}return e}),e(Le,function(e,t){function n(e,n){n&&!P(n)?n.body=n.body.concat(e.body):D(t,e,c)}if(!t.option("switches"))return e;var o,i=e.expression.evaluate(t);if(i!==e.expression){var a=u(i,e.expression).transform(t);e.expression=F(a,e.expression)}if(!t.option("dead_code"))return e;for(var s,l,c=[],f=[],p=0,h=e.body.length;p<h&&!l;p++){if((o=e.body[p])instanceof Pe)s?n(o,f[f.length-1]):s=o;else if(i!==e.expression){var d=o.expression.evaluate(t);if(d===i){if(l=o,s){var m=f.indexOf(s);f.splice(m,1),n(s,f[m-1]),s=null}}else if(d!==o.expression){n(o,f[f.length-1]);continue}}if(P(o)){var g=f[f.length-1];P(g)&&g.body.length==o.body.length&&r(le,g,g).equivalent_to(r(le,o,o))&&(g.body=[])}f.push(o)}for(;p<h;)n(e.body[p++],f[f.length-1]);for(f.length>0&&(f[0].body=c.concat(f[0].body)),e.body=f;o=f[f.length-1];){var v=o.body[o.body.length-1];if(v instanceof Te&&t.loopcontrol_target(v)===e&&o.body.pop(),o.body.length||o instanceof Ue&&(s||o.expression.has_side_effects(t)))break;f.pop()===s&&(s=null)}if(0==f.length)return r(le,e,{body:c.concat(r(ue,e.expression,{body:e.expression}))}).optimize(t);if(1==f.length&&(f[0]===l||f[0]===s)){var b=!1,y=new O(function(t){if(b||t instanceof Ae||t instanceof ue)return!0;t instanceof Te&&y.loopcontrol_target(t)===e&&(b=!0)});if(e.walk(y),!b)return(f=f[0].body.slice()).unshift(r(ue,e.expression,{body:e.expression})),r(le,e,{body:f}).optimize(t)}return e}),e(Ne,function(e,t){if(e.body=B(e.body,t),e.bcatch&&e.bfinally&&w(e.bfinally.body,g)&&(e.bfinally=null),w(e.body,g)){var n=[];return e.bcatch&&D(t,e.bcatch,n),e.bfinally&&(n=n.concat(e.bfinally.body)),r(le,e,{body:n}).optimize(t)}return e}),Ie.DEFMETHOD("remove_initializers",function(){this.definitions.forEach(function(e){e.value=null})}),Ie.DEFMETHOD("to_assignments",function(e){var t=e.option("reduce_vars"),n=this.definitions.reduce(function(e,n){if(n.value){var o=r(vt,n.name,n.name);e.push(r(tt,n,{operator:"=",left:o,right:n.value})),t&&(o.definition().fixed=!1)}return e},[]);return 0==n.length?null:a(this,n)}),e(Ie,function(e,t){return 0==e.definitions.length?r(ce,e):e}),e($e,function(e,t){var n=e.expression;if(t.option("reduce_vars")&&n instanceof vt){var o=n.definition(),i=n.fixed_value();i instanceof Ce&&(o.fixed=i=r(xe,i,i).clone(!0)),i instanceof xe&&(n=i,!t.option("unused")||1!=o.references.length||o.scope.uses_arguments&&o.orig[0]instanceof pt||o.scope.uses_eval||t.find_parent(_e)!==o.scope||(e.expression=n))}if(t.option("unused")&&n instanceof xe&&!n.uses_arguments&&!n.uses_eval){for(var s=0,l=0,c=0,f=e.args.length;c<f;c++){var p=c>=n.argnames.length;if(p||n.argnames[c].__unused){if(k=e.args[c].drop_side_effect_free(t))e.args[s++]=k;else if(!p){e.args[s++]=r(At,e.args[c],{value:0});continue}}else e.args[s++]=e.args[c];l=s}e.args.length=l}if(t.option("unsafe"))if(n instanceof vt&&n.undeclared())switch(n.name){case"Array":if(1!=e.args.length)return r(nt,e,{elements:e.args}).optimize(t);break;case"Object":if(0==e.args.length)return r(rt,e,{properties:[]});break;case"String":if(0==e.args.length)return r(wt,e,{value:""});if(e.args.length<=1)return r(Xe,e,{left:e.args[0],operator:"+",right:r(wt,e,{value:""})}).optimize(t);break;case"Number":if(0==e.args.length)return r(At,e,{value:0});if(1==e.args.length)return r(Ze,e,{expression:e.args[0],operator:"+"}).optimize(t);case"Boolean":if(0==e.args.length)return r(Tt,e);if(1==e.args.length)return r(Ze,e,{expression:r(Ze,e,{expression:e.args[0],operator:"!"}),operator:"!"}).optimize(t);break;case"Function":if(0==e.args.length)return r(xe,e,{argnames:[],body:[]});if(w(e.args,function(e){return e instanceof wt}))try{var h=V(y="(function("+e.args.slice(0,-1).map(function(e){return e.value}).join(",")+"){"+e.args[e.args.length-1].value+"})()"),d={ie8:t.option("ie8")};h.figure_out_scope(d);var m=new G(t.options);(h=h.transform(m)).figure_out_scope(d),h.mangle_names();var v;try{h.walk(new O(function(e){if(e instanceof Ae)throw v=e,h}))}catch(e){if(e!==h)throw e}if(!v)return e;var b=v.argnames.map(function(t,n){return r(wt,e.args[n],{value:t.print_to_string()})}),y=Y();return le.prototype._codegen.call(v,v,y),y=y.toString().replace(/^\{|\}$/g,""),b.push(r(wt,e.args[e.args.length-1],{value:y})),e.args=b,e}catch(n){if(!(n instanceof q))throw console.log(n),n;t.warn("Error parsing code passed to new Function [{file}:{line},{col}]",e.args[e.args.length-1].start),t.warn(n.toString())}}else{if(n instanceof Ge&&"toString"==n.property&&0==e.args.length)return r(Xe,e,{left:r(wt,e,{value:""}),operator:"+",right:n.expression}).optimize(t);if(n instanceof Ge&&n.expression instanceof nt&&"join"==n.property){var _;if(!(e.args.length>0&&(_=e.args[0].evaluate(t))===e.args[0])){var A=[],E=[];if(n.expression.elements.forEach(function(n){var o=n.evaluate(t);o!==n?E.push(o):(E.length>0&&(A.push(r(wt,e,{value:E.join(_)})),E.length=0),A.push(n))}),E.length>0&&A.push(r(wt,e,{value:E.join(_)})),0==A.length)return r(wt,e,{value:""});if(1==A.length)return A[0].is_string(t)?A[0]:r(Xe,A[0],{operator:"+",left:r(wt,e,{value:""}),right:A[0]});if(""==_){var x;return x=A[0].is_string(t)||A[1].is_string(t)?A.shift():r(wt,e,{value:""}),A.reduce(function(e,t){return r(Xe,t,{operator:"+",left:e,right:t})},x).optimize(t)}var k=e.clone();return k.expression=k.expression.clone(),k.expression.expression=k.expression.expression.clone(),k.expression.expression.elements=A,M(t,e,k)}}else if(n instanceof Ge&&n.expression.is_string(t)&&"charAt"==n.property){var B=e.args[0],S=B?B.evaluate(t):0;if(S!==B)return r(We,n,{expression:n.expression,property:u(0|S,B||n)}).optimize(t)}}if(n instanceof xe){if(n.body[0]instanceof Be){var D=n.body[0].value;if(!D||D.is_constant_expression()){b=e.args.concat(D||r(Ot,e));return a(e,b).transform(t)}}if(t.option("side_effects")&&w(n.body,g)){b=e.args.concat(r(Ot,e));return a(e,b).transform(t)}}if(t.option("drop_console")&&n instanceof Ye){for(var T=n.expression;T.expression;)T=T.expression;if(T instanceof vt&&"console"==T.name&&T.undeclared())return r(Ot,e).optimize(t)}return t.option("negate_iife")&&t.parent()instanceof ue&&C(e)?e.negate(t,!0):e}),e(He,function(e,t){if(t.option("unsafe")){var n=e.expression;if(n instanceof vt&&n.undeclared())switch(n.name){case"Object":case"RegExp":case"Function":case"Error":case"Array":return r($e,e,e).transform(t)}}return e}),e(Ke,function(e,n){if(!n.option("side_effects"))return e;var o=[];!function(){var t=x(n),r=e.expressions.length-1;e.expressions.forEach(function(e,i){i<r&&(e=e.drop_side_effect_free(n,t)),e&&(l(o,e),t=!1)})}();var i=o.length-1;return function(){for(;i>0&&T(o[i],n);)i--;i<o.length-1&&(o[i]=r(Ze,e,{operator:"void",expression:o[i]}),o.length=i+1)}(),i>0&&n.option("cascade")&&function(){for(var e=0,a=1;a<=i;a++){var u=o[e],s=o[a];if((u=u instanceof tt&&!u.left.has_side_effects(n)?u.left:u instanceof Qe&&("++"==u.operator||"--"==u.operator)?u.expression:null)&&!t(u))for(var l,c=null;;){if(s.equivalent_to(u)){var f=o[e];f instanceof Je&&(f=r(Ze,f,{operator:f.operator,expression:u})),c?(c[l]=f,o[e]=o[a]):o[e]=f;break}if(s instanceof Xe&&!(s instanceof tt))if(s.left.is_constant()){if("||"==s.operator||"&&"==s.operator){o[++e]=o[a];break}l="right"}else l="left";else{if(!(s instanceof $e||s instanceof Ye||s instanceof Qe&&!j(s.operator))){o[++e]=o[a];break}l="expression"}c=s,s=s[l]}else o[++e]=s}i=e,o.length=i+1}(),0==i?((e=s(n.parent(),e,o[0]))instanceof Ke||(e=e.optimize(n)),e):(e.expressions=o,e)}),Qe.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")&&this.expression instanceof Ke){var t=this.expression.expressions.slice(),n=this.clone();return n.expression=t.pop(),t.push(n),a(this,t).optimize(e)}return this}),e(Je,function(e,t){return e.lift_sequences(t)}),e(Ze,function(e,t){var n=e.expression;if("delete"==e.operator&&!(n instanceof vt||n instanceof Ye||n instanceof kt||n instanceof St||n instanceof Ot))return n instanceof Ke?((n=n.expressions.slice()).push(r(Rt,e)),a(e,n).optimize(t)):a(e,[n,r(Rt,e)]).optimize(t);var o=e.lift_sequences(t);if(o!==e)return o;if(t.option("side_effects")&&"void"==e.operator)return n=n.drop_side_effect_free(t),n?(e.expression=n,e):r(Ot,e).optimize(t);if(t.option("booleans")&&t.in_boolean_context())switch(e.operator){case"!":if(n instanceof Ze&&"!"==n.operator)return n.expression;n instanceof Xe&&(e=M(t,e,n.negate(t,x(t))));break;case"typeof":return t.warn("Boolean expression always true [{file}:{line},{col}]",e.start),(n instanceof vt?r(Rt,e):a(e,[n,r(Rt,e)])).optimize(t)}if("-"==e.operator&&n instanceof St&&(n=n.transform(t)),n instanceof Xe&&("+"==e.operator||"-"==e.operator)&&("*"==n.operator||"/"==n.operator||"%"==n.operator))return r(Xe,e,{operator:n.operator,left:r(Ze,n.left,{operator:e.operator,expression:n.left}),right:n.right});if("-"!=e.operator||!(n instanceof At||n instanceof St)){var i=e.evaluate(t);if(i!==e)return i=u(i,e).optimize(t),M(t,i,e)}return e}),Xe.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")){if(this.left instanceof Ke){var t=this.left.expressions.slice();return(i=this.clone()).left=t.pop(),t.push(i),a(this,t).optimize(e)}if(this.right instanceof Ke&&!this.left.has_side_effects(e)){for(var n="="==this.operator&&this.left instanceof vt,r=(t=this.right.expressions).length-1,o=0;o<r&&(n||!t[o].has_side_effects(e));o++);if(o==r)return t=t.slice(),(i=this.clone()).right=t.pop(),t.push(i),a(this,t).optimize(e);if(o>0){var i=this.clone();return i.right=a(this.right,t.slice(o)),(t=t.slice(0,o)).push(i),a(this,t).optimize(e)}}}return this});var H=_("== === != !== * & | ^");e(Xe,function(e,t){function n(){return e.left.is_constant()||e.right.is_constant()||!e.left.has_side_effects(t)&&!e.right.has_side_effects(t)}function o(t){if(n()){t&&(e.operator=t);var r=e.left;e.left=e.right,e.right=r}}if(H(e.operator)&&e.right.is_constant()&&!e.left.is_constant()&&(e.left instanceof Xe&&Qt[e.left.operator]>=Qt[e.operator]||o()),e=e.lift_sequences(t),t.option("comparisons"))switch(e.operator){case"===":case"!==":(e.left.is_string(t)&&e.right.is_string(t)||e.left.is_number(t)&&e.right.is_number(t)||e.left.is_boolean()&&e.right.is_boolean())&&(e.operator=e.operator.substr(0,2));case"==":case"!=":if(e.left instanceof wt&&"undefined"==e.left.value&&e.right instanceof Ze&&"typeof"==e.right.operator){var i=e.right.expression;(i instanceof vt?i.undeclared():i instanceof Ye&&t.option("ie8"))||(e.right=i,e.left=r(Ot,e.left).optimize(t),2==e.operator.length&&(e.operator+="="))}}if(t.option("booleans")&&"+"==e.operator&&t.in_boolean_context()){var l=e.left.evaluate(t),c=e.right.evaluate(t);if(l&&"string"==typeof l)return t.warn("+ in boolean context always true [{file}:{line},{col}]",e.start),a(e,[e.right,r(Rt,e)]).optimize(t);if(c&&"string"==typeof c)return t.warn("+ in boolean context always true [{file}:{line},{col}]",e.start),a(e,[e.left,r(Rt,e)]).optimize(t)}if(t.option("comparisons")&&e.is_boolean()){if(!(t.parent()instanceof Xe)||t.parent()instanceof tt){var f=r(Ze,e,{operator:"!",expression:e.negate(t,x(t))});e=M(t,e,f)}if(t.option("unsafe_comps"))switch(e.operator){case"<":o(">");break;case"<=":o(">=")}}if("+"==e.operator){if(e.right instanceof wt&&""==e.right.getValue()&&e.left.is_string(t))return e.left;if(e.left instanceof wt&&""==e.left.getValue()&&e.right.is_string(t))return e.right;if(e.left instanceof Xe&&"+"==e.left.operator&&e.left.left instanceof wt&&""==e.left.left.getValue()&&e.right.is_string(t))return e.left=e.left.right,e.transform(t)}if(t.option("evaluate")){switch(e.operator){case"&&":if(!(l=e.left.evaluate(t)))return t.warn("Condition left of && always false [{file}:{line},{col}]",e.start),s(t.parent(),e,e.left).optimize(t);if(l!==e.left)return t.warn("Condition left of && always true [{file}:{line},{col}]",e.start),s(t.parent(),e,e.right).optimize(t);if(t.option("booleans")&&t.in_boolean_context()){if(!(c=e.right.evaluate(t)))return t.warn("Boolean && always false [{file}:{line},{col}]",e.start),a(e,[e.left,r(Tt,e)]).optimize(t);if(c!==e.right)return t.warn("Dropping side-effect-free && in boolean context [{file}:{line},{col}]",e.start),e.left.optimize(t)}break;case"||":if(!(l=e.left.evaluate(t)))return t.warn("Condition left of || always false [{file}:{line},{col}]",e.start),s(t.parent(),e,e.right).optimize(t);if(l!==e.left)return t.warn("Condition left of || always true [{file}:{line},{col}]",e.start),s(t.parent(),e,e.left).optimize(t);if(t.option("booleans")&&t.in_boolean_context()){if(!(c=e.right.evaluate(t)))return t.warn("Dropping side-effect-free || in boolean context [{file}:{line},{col}]",e.start),e.left.optimize(t);if(c!==e.right)return t.warn("Boolean || always true [{file}:{line},{col}]",e.start),a(e,[e.left,r(Rt,e)]).optimize(t)}}var p=!0;switch(e.operator){case"+":if(e.left instanceof _t&&e.right instanceof Xe&&"+"==e.right.operator&&e.right.left instanceof _t&&e.right.is_string(t)&&(e=r(Xe,e,{operator:"+",left:r(wt,e.left,{value:""+e.left.getValue()+e.right.left.getValue(),start:e.left.start,end:e.right.left.end}),right:e.right.right})),e.right instanceof _t&&e.left instanceof Xe&&"+"==e.left.operator&&e.left.right instanceof _t&&e.left.is_string(t)&&(e=r(Xe,e,{operator:"+",left:e.left.left,right:r(wt,e.right,{value:""+e.left.right.getValue()+e.right.getValue(),start:e.left.right.start,end:e.right.end})})),e.left instanceof Xe&&"+"==e.left.operator&&e.left.is_string(t)&&e.left.right instanceof _t&&e.right instanceof Xe&&"+"==e.right.operator&&e.right.left instanceof _t&&e.right.is_string(t)&&(e=r(Xe,e,{operator:"+",left:r(Xe,e.left,{operator:"+",left:e.left.left,right:r(wt,e.left.right,{value:""+e.left.right.getValue()+e.right.left.getValue(),start:e.left.right.start,end:e.right.left.end})}),right:e.right.right})),e.right instanceof Ze&&"-"==e.right.operator&&e.left.is_number(t)){e=r(Xe,e,{operator:"-",left:e.left,right:e.right.expression});break}if(e.left instanceof Ze&&"-"==e.left.operator&&n()&&e.right.is_number(t)){e=r(Xe,e,{operator:"-",left:e.right,right:e.left.expression});break}case"*":p=t.option("unsafe_math");case"&":case"|":case"^":if(e.left.is_number(t)&&e.right.is_number(t)&&n()&&!(e.left instanceof Xe&&e.left.operator!=e.operator&&Qt[e.left.operator]>=Qt[e.operator])){var h=r(Xe,e,{operator:e.operator,left:e.right,right:e.left});e=e.right instanceof _t&&!(e.left instanceof _t)?M(t,h,e):M(t,e,h)}p&&e.is_number(t)&&(e.right instanceof Xe&&e.right.operator==e.operator&&(e=r(Xe,e,{operator:e.operator,left:r(Xe,e.left,{operator:e.operator,left:e.left,right:e.right.left,start:e.left.start,end:e.right.left.end}),right:e.right.right})),e.right instanceof _t&&e.left instanceof Xe&&e.left.operator==e.operator&&(e.left.left instanceof _t?e=r(Xe,e,{operator:e.operator,left:r(Xe,e.left,{operator:e.operator,left:e.left.left,right:e.right,start:e.left.left.start,end:e.right.end}),right:e.left.right}):e.left.right instanceof _t&&(e=r(Xe,e,{operator:e.operator,left:r(Xe,e.left,{operator:e.operator,left:e.left.right,right:e.right,start:e.left.right.start,end:e.right.end}),right:e.left.left}))),e.left instanceof Xe&&e.left.operator==e.operator&&e.left.right instanceof _t&&e.right instanceof Xe&&e.right.operator==e.operator&&e.right.left instanceof _t&&(e=r(Xe,e,{operator:e.operator,left:r(Xe,e.left,{operator:e.operator,left:r(Xe,e.left.left,{operator:e.operator,left:e.left.right,right:e.right.left,start:e.left.right.start,end:e.right.left.end}),right:e.left.left}),right:e.right.right})))}}if(e.right instanceof Xe&&e.right.operator==e.operator&&("&&"==e.operator||"||"==e.operator||"+"==e.operator&&(e.right.left.is_string(t)||e.left.is_string(t)&&e.right.right.is_string(t))))return e.left=r(Xe,e.left,{operator:e.operator,left:e.left,right:e.right.left}),e.right=e.right.right,e.transform(t);var d=e.evaluate(t);return d!==e?(d=u(d,e).optimize(t),M(t,d,e)):e}),e(vt,function(e,t){var n=e.resolve_defines(t);if(n)return n.optimize(t);if(!t.option("ie8")&&e.undeclared()&&(!e.scope.uses_with||!t.find_parent(ye)))switch(e.name){case"undefined":return r(Ot,e).optimize(t);case"NaN":return r(kt,e).optimize(t);case"Infinity":return r(St,e).optimize(t)}if(t.option("evaluate")&&t.option("reduce_vars")&&R(e,t.parent())!==e){var o=e.definition(),i=e.fixed_value();if(i){if(void 0===o.should_replace){var a=i.evaluate(t);if(a===i||!t.option("unsafe_regexp")&&a instanceof RegExp)o.should_replace=!1;else{var s,l=(a=u(a,i)).optimize(t).print_to_string().length;!function(e){var t;return e.walk(new O(function(e){if(e instanceof vt&&(t=!0),t)return!0})),t}(i)?(l=Math.min(l,i.print_to_string().length),s=function(){var e=F(a.optimize(t),i);return e===a||e===i?e.clone(!0):e}):s=function(){var e=a.optimize(t);return e===a?e.clone(!0):e};var c=o.name.length,f=0;!t.option("unused")||o.global&&!t.toplevel(o)||(f=(c+2+l)/o.references.length),o.should_replace=l<=c+f&&s}}if(o.should_replace)return o.should_replace()}}return e}),e(Ot,function(e,t){if(t.option("unsafe")){var o=n(t,"undefined");if(o){var i=r(vt,e,{name:"undefined",scope:o.scope,thedef:o});return i.is_undefined=!0,i}}var a=R(t.self(),t.parent());return a&&z(a,e)?e:r(Ze,e,{operator:"void",expression:r(At,e,{value:0})})}),e(St,function(e,t){var o=R(t.self(),t.parent());return o&&z(o,e)?e:!t.option("keep_infinity")||o&&!z(o,e)||n(t,"Infinity")?r(Xe,e,{operator:"/",left:r(At,e,{value:1}),right:r(At,e,{value:0})}):e}),e(kt,function(e,t){var o=R(t.self(),t.parent());return o&&!z(o,e)||n(t,"NaN")?r(Xe,e,{operator:"/",left:r(At,e,{value:0}),right:r(At,e,{value:0})}):e});var K=["+","-","/","*","%",">>","<<",">>>","|","^","&"],W=["*","|","^","&"];e(tt,function(e,t){return"="==(e=e.lift_sequences(t)).operator&&e.left instanceof vt&&e.right instanceof Xe&&(e.right.left instanceof vt&&e.right.left.name==e.left.name&&o(e.right.operator,K)?(e.operator=e.right.operator+"=",e.right=e.right.right):e.right.right instanceof vt&&e.right.right.name==e.left.name&&o(e.right.operator,W)&&!e.right.left.has_side_effects(t)&&(e.operator=e.right.operator+"=",e.right=e.right.left)),e}),e(et,function(e,t){function n(e){return e.is_boolean()?e:r(Ze,e,{operator:"!",expression:e.negate(t)})}function o(e){return e instanceof Rt||e instanceof Ze&&"!"==e.operator&&e.expression instanceof _t&&!e.expression.value}function i(e){return e instanceof Tt||e instanceof Ze&&"!"==e.operator&&e.expression instanceof _t&&!!e.expression.value}if(!t.option("conditionals"))return e;if(e.condition instanceof Ke){var u=e.condition.expressions.slice();return e.condition=u.pop(),u.push(e),a(e,u)}var l=e.condition.evaluate(t);if(l!==e.condition)return l?(t.warn("Condition always true [{file}:{line},{col}]",e.start),s(t.parent(),e,e.consequent)):(t.warn("Condition always false [{file}:{line},{col}]",e.start),s(t.parent(),e,e.alternative));var c=l.negate(t,x(t));M(t,l,c)===c&&(e=r(et,e,{condition:c,consequent:e.alternative,alternative:e.consequent}));var f=e.condition,p=e.consequent,h=e.alternative;return f instanceof vt&&p instanceof vt&&f.definition()===p.definition()?r(Xe,e,{operator:"||",left:f,right:h}):p instanceof tt&&h instanceof tt&&p.operator==h.operator&&p.left.equivalent_to(h.left)&&(!e.condition.has_side_effects(t)||"="==p.operator&&!p.left.has_side_effects(t))?r(tt,e,{operator:p.operator,left:p.left,right:r(et,e,{condition:e.condition,consequent:p.right,alternative:h.right})}):p instanceof $e&&h.TYPE===p.TYPE&&1==p.args.length&&1==h.args.length&&p.expression.equivalent_to(h.expression)&&!p.expression.has_side_effects(t)?(p.args[0]=r(et,e,{condition:e.condition,consequent:p.args[0],alternative:h.args[0]}),p):p instanceof et&&p.alternative.equivalent_to(h)?r(et,e,{condition:r(Xe,e,{left:e.condition,operator:"&&",right:p.condition}),consequent:p.consequent,alternative:h}):p.equivalent_to(h)?a(e,[e.condition,p]).optimize(t):o(e.consequent)?i(e.alternative)?n(e.condition):r(Xe,e,{operator:"||",left:n(e.condition),right:e.alternative}):i(e.consequent)?o(e.alternative)?n(e.condition.negate(t)):r(Xe,e,{operator:"&&",left:n(e.condition.negate(t)),right:e.alternative}):o(e.alternative)?r(Xe,e,{operator:"||",left:n(e.condition.negate(t)),right:e.consequent}):i(e.alternative)?r(Xe,e,{operator:"&&",left:n(e.condition),right:e.consequent}):e}),e(Dt,function(e,t){if(t.option("booleans")){var n=t.parent();return n instanceof Xe&&("=="==n.operator||"!="==n.operator)?(t.warn("Non-strict equality against boolean: {operator} {value} [{file}:{line},{col}]",{operator:n.operator,value:e.value,file:n.start.file,line:n.start.line,col:n.start.col}),r(At,e,{value:+e.value})):r(Ze,e,{operator:"!",expression:r(At,e,{value:1-e.value})})}return e}),e(We,function(e,t){var n=e.property;if(n instanceof wt&&t.option("properties")){if(n=n.getValue(),Mt(n)?!t.option("ie8"):U(n))return r(Ge,e,{expression:e.expression,property:n}).optimize(t);var o=parseFloat(n);isNaN(o)||o.toString()!=n||(e.property=r(At,e.property,{value:o}))}var i=e.evaluate(t);return i!==e?(i=u(i,e).optimize(t),M(t,i,e)):e}),e(Ge,function(e,t){var n=e.resolve_defines(t);if(n)return n.optimize(t);var o=e.property;if(Mt(o)&&t.option("ie8"))return r(We,e,{expression:e.expression,property:r(wt,e,{value:o})}).optimize(t);if(t.option("unsafe_proto")&&e.expression instanceof Ge&&"prototype"==e.expression.property){var i=e.expression.expression;if(i instanceof vt&&i.undeclared())switch(i.name){case"Array":e.expression=r(nt,e.expression,{elements:[]});break;case"Object":e.expression=r(rt,e.expression,{properties:[]});break;case"String":e.expression=r(wt,e.expression,{value:""})}}var a=e.evaluate(t);return a!==e?(a=u(a,e).optimize(t),M(t,a,e)):e}),e(nt,I),e(rt,I),e(Et,I),e(Be,function(e,t){return e.value&&T(e.value,t)&&(e.value=null),e}),e(Ve,function(e,t){var n=t.option("global_defs");return n&&E(n,e.name.name)&&t.warn("global_defs "+e.name.name+" redefined [{file}:{line},{col}]",e.start),e})}(),function(){function e(e){if("Literal"==e.type)return null!=e.raw?e.raw:e.value+""}function n(t){var n=t.loc,r=n&&n.start,o=t.range;return new ne({file:n&&n.source,line:r&&r.line,col:r&&r.column,pos:o?o[0]:t.start,endline:r&&r.line,endcol:r&&r.column,endpos:o?o[0]:t.start,raw:e(t)})}function r(t){var n=t.loc,r=n&&n.end,o=t.range;return new ne({file:n&&n.source,line:r&&r.line,col:r&&r.column,pos:o?o[1]:t.end,endline:r&&r.line,endcol:r&&r.column,endpos:o?o[1]:t.end,raw:e(t)})}function o(e,o,a){var f="function From_Moz_"+e+"(M){\n";f+="return new U2."+o.name+"({\nstart: my_start_token(M),\nend: my_end_token(M)";var h="function To_Moz_"+e+"(M){\n";h+="return {\ntype: "+JSON.stringify(e),a&&a.split(/\s*,\s*/).forEach(function(e){var t=/([a-z0-9$_]+)(=|@|>|%)([a-z0-9$_]+)/i.exec(e);if(!t)throw new Error("Can't understand property map: "+e);var n=t[1],r=t[2],o=t[3];switch(f+=",\n"+o+": ",h+=",\n"+n+": ",r){case"@":f+="M."+n+".map(from_moz)",h+="M."+o+".map(to_moz)";break;case">":f+="from_moz(M."+n+")",h+="to_moz(M."+o+")";break;case"=":f+="M."+n,h+="M."+o;break;case"%":f+="from_moz(M."+n+").body",h+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+e)}}),f+="\n})\n}",h+="\n}\n}",f=new Function("U2","my_start_token","my_end_token","from_moz","return("+f+")")(t,n,r,i),h=new Function("to_moz","to_moz_block","to_moz_scope","return("+h+")")(s,l,c),p[e]=f,u(o,h)}function i(e){h.push(e);var t=null!=e?p[e.type](e):null;return h.pop(),t}function a(e,t,n){var r=e.start,o=e.end;return null!=r.pos&&null!=o.endpos&&(t.range=[r.pos,o.endpos]),r.line&&(t.loc={start:{line:r.line,column:r.col},end:o.endline?{line:o.endline,column:o.endcol}:null},r.file&&(t.loc.source=r.file)),t}function u(e,t){e.DEFMETHOD("to_mozilla_ast",function(){return a(this,t(this))})}function s(e){return null!=e?e.to_mozilla_ast():null}function l(e){return{type:"BlockStatement",body:e.body.map(s)}}function c(e,t){var n=t.body.map(s);return t.body[0]instanceof ue&&t.body[0].body instanceof wt&&n.unshift(s(new ce(t.body[0]))),{type:e,body:n}}var f=function(e){for(var t=!0,n=0;n<e.length;n++)t&&e[n]instanceof oe&&e[n].body instanceof wt?e[n]=new ae({start:e[n].start,end:e[n].end,value:e[n].body.value}):!t||e[n]instanceof oe&&e[n].body instanceof wt||(t=!1);return e},p={Program:function(e){return new we({start:n(e),end:r(e),body:f(e.body.map(i))})},FunctionDeclaration:function(e){return new Ce({start:n(e),end:r(e),name:i(e.id),argnames:e.params.map(i),body:f(i(e.body).body)})},FunctionExpression:function(e){return new xe({start:n(e),end:r(e),name:i(e.id),argnames:e.params.map(i),body:f(i(e.body).body)})},ExpressionStatement:function(e){return new ue({start:n(e),end:r(e),body:i(e.expression)})},TryStatement:function(e){var t=e.handlers||[e.handler];if(t.length>1||e.guardedHandlers&&e.guardedHandlers.length)throw new Error("Multiple catch clauses are not supported.");return new Ne({start:n(e),end:r(e),body:i(e.block).body,bcatch:i(t[0]),bfinally:e.finalizer?new ze(i(e.finalizer)):null})},Property:function(e){var t=e.key,o={start:n(t),end:r(e.value),key:"Identifier"==t.type?t.name:t.value,value:i(e.value)};return"init"==e.kind?new it(o):(o.key=new lt({name:o.key}),o.value=new Ee(o.value),"get"==e.kind?new ut(o):"set"==e.kind?new at(o):void 0)},ArrayExpression:function(e){return new nt({start:n(e),end:r(e),elements:e.elements.map(function(e){return null===e?new Bt:i(e)})})},ObjectExpression:function(e){return new rt({start:n(e),end:r(e),properties:e.properties.map(function(e){return e.type="Property",i(e)})})},SequenceExpression:function(e){return new Ke({start:n(e),end:r(e),expressions:e.expressions.map(i)})},MemberExpression:function(e){return new(e.computed?We:Ge)({start:n(e),end:r(e),property:e.computed?i(e.property):e.property.name,expression:i(e.object)})},SwitchCase:function(e){return new(e.test?Ue:Pe)({start:n(e),end:r(e),expression:i(e.test),body:e.consequent.map(i)})},VariableDeclaration:function(e){return new je({start:n(e),end:r(e),definitions:e.declarations.map(i)})},Literal:function(e){var t=e.value,o={start:n(e),end:r(e)};if(null===t)return new Ct(o);switch(typeof t){case"string":return o.value=t,new wt(o);case"number":return o.value=t,new At(o);case"boolean":return new(t?Rt:Tt)(o);default:var i=e.regex;return i&&i.pattern?o.value=new RegExp(i.pattern,i.flags).toString():o.value=e.regex&&e.raw?e.raw:t,new Et(o)}},Identifier:function(e){var t=h[h.length-2];return new("LabeledStatement"==t.type?gt:"VariableDeclarator"==t.type&&t.id===e?ft:"FunctionExpression"==t.type?t.id===e?dt:pt:"FunctionDeclaration"==t.type?t.id===e?ht:pt:"CatchClause"==t.type?mt:"BreakStatement"==t.type||"ContinueStatement"==t.type?bt:vt)({start:n(e),end:r(e),name:e.name})}};p.UpdateExpression=p.UnaryExpression=function(e){return new(("prefix"in e?e.prefix:"UnaryExpression"==e.type)?Ze:Je)({start:n(e),end:r(e),operator:e.operator,expression:i(e.argument)})},o("EmptyStatement",ce),o("BlockStatement",le,"body@body"),o("IfStatement",Fe,"test>condition, consequent>body, alternate>alternative"),o("LabeledStatement",pe,"label>label, body>body"),o("BreakStatement",Te,"label>label"),o("ContinueStatement",Re,"label>label"),o("WithStatement",ye,"object>expression, body>body"),o("SwitchStatement",Le,"discriminant>expression, cases@body"),o("ReturnStatement",Be,"argument>value"),o("ThrowStatement",Se,"argument>value"),o("WhileStatement",ge,"test>condition, body>body"),o("DoWhileStatement",me,"test>condition, body>body"),o("ForStatement",ve,"init>init, test>condition, update>step, body>body"),o("ForInStatement",be,"left>init, right>object, body>body"),o("DebuggerStatement",ie),o("VariableDeclarator",Ve,"id>name, init>value"),o("CatchClause",qe,"param>argname, body%body"),o("ThisExpression",yt),o("BinaryExpression",Xe,"operator=operator, left>left, right>right"),o("LogicalExpression",Xe,"operator=operator, left>left, right>right"),o("AssignmentExpression",tt,"operator=operator, left>left, right>right"),o("ConditionalExpression",et,"test>condition, consequent>consequent, alternate>alternative"),o("NewExpression",He,"callee>expression, arguments@args"),o("CallExpression",$e,"callee>expression, arguments@args"),u(we,function(e){return c("Program",e)}),u(Ce,function(e){return{type:"FunctionDeclaration",id:s(e.name),params:e.argnames.map(s),body:c("BlockStatement",e)}}),u(xe,function(e){return{type:"FunctionExpression",id:s(e.name),params:e.argnames.map(s),body:c("BlockStatement",e)}}),u(ae,function(e){return{type:"ExpressionStatement",expression:{type:"Literal",value:e.value}}}),u(ue,function(e){return{type:"ExpressionStatement",expression:s(e.body)}}),u(Me,function(e){return{type:"SwitchCase",test:s(e.expression),consequent:e.body.map(s)}}),u(Ne,function(e){return{type:"TryStatement",block:l(e),handler:s(e.bcatch),guardedHandlers:[],finalizer:s(e.bfinally)}}),u(qe,function(e){return{type:"CatchClause",param:s(e.argname),guard:null,body:l(e)}}),u(Ie,function(e){return{type:"VariableDeclaration",kind:"var",declarations:e.definitions.map(s)}}),u(Ke,function(e){return{type:"SequenceExpression",expressions:e.expressions.map(s)}}),u(Ye,function(e){var t=e instanceof We;return{type:"MemberExpression",object:s(e.expression),computed:t,property:t?s(e.property):{type:"Identifier",name:e.property}}}),u(Qe,function(e){return{type:"++"==e.operator||"--"==e.operator?"UpdateExpression":"UnaryExpression",operator:e.operator,prefix:e instanceof Ze,argument:s(e.expression)}}),u(Xe,function(e){return{type:"&&"==e.operator||"||"==e.operator?"LogicalExpression":"BinaryExpression",left:s(e.left),operator:e.operator,right:s(e.right)}}),u(nt,function(e){return{type:"ArrayExpression",elements:e.elements.map(s)}}),u(rt,function(e){return{type:"ObjectExpression",properties:e.properties.map(s)}}),u(ot,function(e){var t,n={type:"Literal",value:e.key instanceof lt?e.key.name:e.key};return e instanceof it?t="init":e instanceof ut?t="get":e instanceof at&&(t="set"),{type:"Property",kind:t,key:n,value:s(e.value)}}),u(st,function(e){var t=e.definition();return{type:"Identifier",name:t?t.mangled_name||t.name:e.name}}),u(Et,function(e){var t=e.value;return{type:"Literal",value:t,raw:t.toString(),regex:{pattern:t.source,flags:t.toString().match(/[gimuy]*$/)[0]}}}),u(_t,function(e){var t=e.value;return"number"==typeof t&&(t<0||0===t&&1/t<0)?{type:"UnaryExpression",operator:"-",prefix:!0,argument:{type:"Literal",value:-t,raw:e.start.raw}}:{type:"Literal",value:t,raw:e.start.raw}}),u(xt,function(e){return{type:"Identifier",name:String(e.value)}}),Dt.DEFMETHOD("to_mozilla_ast",_t.prototype.to_mozilla_ast),Ct.DEFMETHOD("to_mozilla_ast",_t.prototype.to_mozilla_ast),Bt.DEFMETHOD("to_mozilla_ast",function(){return null}),se.DEFMETHOD("to_mozilla_ast",le.prototype.to_mozilla_ast),Ae.DEFMETHOD("to_mozilla_ast",xe.prototype.to_mozilla_ast);var h=null;re.from_mozilla_ast=function(e){var t=h;h=[];var n=i(e);return h=t,n}}();var en="undefined"==typeof atob?function(t){return new e(t,"base64").toString()}:atob,tn="undefined"==typeof btoa?function(t){return new e(t).toString("base64")}:btoa;t.Dictionary=A,t.TreeWalker=O,t.TreeTransformer=$,t.minify=ee,t._push_uniq=g}(void 0===n?n={}:n)}).call(this,e("buffer").Buffer)},{buffer:5}]},{},["html-minifier"]);
\ No newline at end of file
index 08fc3db..37ccd93 100644 (file)
@@ -9,7 +9,7 @@
   <body>
     <div id="outer-wrapper">
       <div id="wrapper">
-        <h1>HTML Minifier <span>(v3.5.0)</span></h1>
+        <h1>HTML Minifier <span>(v3.5.1)</span></h1>
         <textarea rows="8" cols="40" id="input"></textarea>
         <div class="minify-button">
           <button type="button" id="minify-btn">Minify</button>
index 41f3895..a5e49f1 100644 (file)
@@ -1,7 +1,7 @@
 {
   "name": "html-minifier",
   "description": "Highly configurable, well-tested, JavaScript-based HTML minifier.",
-  "version": "3.5.0",
+  "version": "3.5.1",
   "keywords": [
     "cli",
     "compress",