rsnext/packages/next/compiled/terser/bundle.min.js
JJ Kasper ad22e77309
Expose dotenv loading under separate package (#17152)
* Expose dotenv loading under separate package

* Update pre-compiled

* Rename package to @next/env

* Update lint ignores

* Update package.json

Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-09-25 13:14:28 -05:00

1 line
No EOL
491 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

module.exports=function(e,t){"use strict";var n={};function __webpack_require__(t){if(n[t]){return n[t].exports}var i=n[t]={i:t,l:false,exports:{}};e[t].call(i.exports,i,i.exports,__webpack_require__);i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(692)}return startup()}({241:function(e){e.exports=require("next/dist/compiled/source-map")},692:function(e,t,n){(function(e,i){true?i(t,n(241)):undefined})(this,function(e,t){"use strict";t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t["default"]:t;function characters(e){return e.split("")}function member(e,t){return t.includes(e)}class DefaultsError extends Error{constructor(e,t){super();this.name="DefaultsError";this.message=e;this.defs=t}}function defaults(e,t,n){if(e===true){e={}}if(e!=null&&typeof e==="object"){e=Object.assign({},e)}const i=e||{};if(n)for(const e in i)if(HOP(i,e)&&!HOP(t,e)){throw new DefaultsError("`"+e+"` is not a supported option",t)}for(const n in t)if(HOP(t,n)){if(!e||!HOP(e,n)){i[n]=t[n]}else if(n==="ecma"){let t=e[n]|0;if(t>5&&t<2015)t+=2009;i[n]=t}else{i[n]=e&&HOP(e,n)?e[n]:t[n]}}return i}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var i=function(){function MAP(t,n,i){var r=[],a=[],o;function doit(){var s=n(t[o],o);var u=s instanceof Last;if(u)s=s.v;if(s instanceof AtTop){s=s.v;if(s instanceof Splice){a.push.apply(a,i?s.v.slice().reverse():s.v)}else{a.push(s)}}else if(s!==e){if(s instanceof Splice){r.push.apply(r,i?s.v.slice().reverse():s.v)}else{r.push(s)}}return u}if(Array.isArray(t)){if(i){for(o=t.length;--o>=0;)if(doit())break;r.reverse();a.reverse()}else{for(o=0;o<t.length;++o)if(doit())break}}else{for(o in t)if(HOP(t,o))if(doit())break}return a.concat(r)}MAP.at_top=function(e){return new AtTop(e)};MAP.splice=function(e){return new Splice(e)};MAP.last=function(e){return new Last(e)};var e=MAP.skip={};function AtTop(e){this.v=e}function Splice(e){this.v=e}function Last(e){this.v=e}return MAP}();function make_node(e,t,n){if(!n)n={};if(t){if(!n.start)n.start=t.start;if(!n.end)n.end=t.end}return new e(n)}function push_uniq(e,t){if(!e.includes(t))e.push(t)}function string_template(e,t){return e.replace(/{(.+?)}/g,function(e,n){return t&&t[n]})}function remove(e,t){for(var n=e.length;--n>=0;){if(e[n]===t)e.splice(n,1)}}function mergeSort(e,t){if(e.length<2)return e.slice();function merge(e,n){var i=[],r=0,a=0,o=0;while(r<e.length&&a<n.length){t(e[r],n[a])<=0?i[o++]=e[r++]:i[o++]=n[a++]}if(r<e.length)i.push.apply(i,e.slice(r));if(a<n.length)i.push.apply(i,n.slice(a));return i}function _ms(e){if(e.length<=1)return e;var t=Math.floor(e.length/2),n=e.slice(0,t),i=e.slice(t);n=_ms(n);i=_ms(i);return merge(n,i)}return _ms(e)}function makePredicate(e){if(!Array.isArray(e))e=e.split(" ");return new Set(e)}function map_add(e,t,n){if(e.has(t)){e.get(t).push(n)}else{e.set(t,[n])}}function map_from_object(e){var t=new Map;for(var n in e){if(HOP(e,n)&&n.charAt(0)==="$"){t.set(n.substr(1),e[n])}}return t}function map_to_object(e){var t=Object.create(null);e.forEach(function(e,n){t["$"+n]=e});return t}function HOP(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function keep_name(e,t){return e===true||e instanceof RegExp&&e.test(t)}var r={"\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function regexp_source_fix(e){return e.replace(/[\n\r\u2028\u2029]/g,function(t,n){var i=e[n-1]=="\\"&&(e[n-2]!="\\"||/(?:^|[^\\])(?:\\{2})*$/.test(e.slice(0,n-1)));return(i?"":"\\")+r[t]})}const a="gimuy";function sort_regexp_flags(e){const t=new Set(e.split(""));let n="";for(const e of a){if(t.has(e)){n+=e;t.delete(e)}}if(t.size){t.forEach(e=>{n+=e})}return n}function has_annotation(e,t){return e._annotations&t}function set_annotation(e,t){e._annotations|=t}var o="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with";var s="false null true";var u="enum implements import interface package private protected public static super this "+s+" "+o;var c="return new delete throw else case yield await";o=makePredicate(o);u=makePredicate(u);c=makePredicate(c);s=makePredicate(s);var l=makePredicate(characters("+-*&%=<>!?|~^"));var f=/[0-9a-f]/i;var p=/^0x[0-9a-f]+$/i;var _=/^0[0-7]+$/;var h=/^0o[0-7]+$/i;var d=/^0b[01]+$/i;var m=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i;var E=/^(0[xob])?[0-9a-f]+n$/i;var g=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]);var v=makePredicate(characters("  \n\r\t\f\v \u2028\u2029 \ufeff"));var D=makePredicate(characters("\n\r\u2028\u2029"));var b=makePredicate(characters(";]),:"));var y=makePredicate(characters("[{(,;:"));var k=makePredicate(characters("[]{}(),;:"));var S={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\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-\u08B4\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\u0AF9\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-\u0C5A\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\u0D5F-\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-\u13F5\u13F8-\u13FD\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\u19B0-\u19C9\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\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\uAB70-\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function get_full_char(e,t){if(is_surrogate_pair_head(e.charCodeAt(t))){if(is_surrogate_pair_tail(e.charCodeAt(t+1))){return e.charAt(t)+e.charAt(t+1)}}else if(is_surrogate_pair_tail(e.charCodeAt(t))){if(is_surrogate_pair_head(e.charCodeAt(t-1))){return e.charAt(t-1)+e.charAt(t)}}return e.charAt(t)}function get_full_char_code(e,t){if(is_surrogate_pair_head(e.charCodeAt(t))){return 65536+(e.charCodeAt(t)-55296<<10)+e.charCodeAt(t+1)-56320}return e.charCodeAt(t)}function get_full_char_length(e){var t=0;for(var n=0;n<e.length;n++){if(is_surrogate_pair_head(e.charCodeAt(n))&&is_surrogate_pair_tail(e.charCodeAt(n+1))){t++;n++}}return e.length-t}function from_char_code(e){if(e>65535){e-=65536;return String.fromCharCode((e>>10)+55296)+String.fromCharCode(e%1024+56320)}return String.fromCharCode(e)}function is_surrogate_pair_head(e){return e>=55296&&e<=56319}function is_surrogate_pair_tail(e){return e>=56320&&e<=57343}function is_digit(e){return e>=48&&e<=57}function is_identifier_start(e){return S.ID_Start.test(e)}function is_identifier_char(e){return S.ID_Continue.test(e)}function is_basic_identifier_string(e){return/^[a-z_$][a-z0-9_$]*$/i.test(e)}function is_identifier_string(e,t){if(/^[a-z_$][a-z0-9_$]*$/i.test(e)){return true}if(!t&&/[\ud800-\udfff]/.test(e)){return false}var n=S.ID_Start.exec(e);if(!n||n.index!==0){return false}e=e.slice(n[0].length);if(!e){return true}n=S.ID_Continue.exec(e);return!!n&&n[0].length===e.length}function parse_js_number(e,t=true){if(!t&&e.includes("e")){return NaN}if(p.test(e)){return parseInt(e.substr(2),16)}else if(_.test(e)){return parseInt(e.substr(1),8)}else if(h.test(e)){return parseInt(e.substr(2),8)}else if(d.test(e)){return parseInt(e.substr(2),2)}else if(m.test(e)){return parseFloat(e)}else{var n=parseFloat(e);if(n==e)return n}}class JS_Parse_Error extends Error{constructor(e,t,n,i,r){super();this.name="SyntaxError";this.message=e;this.filename=t;this.line=n;this.col=i;this.pos=r}}function js_error(e,t,n,i,r){throw new JS_Parse_Error(e,t,n,i,r)}function is_token(e,t,n){return e.type==t&&(n==null||e.value==n)}var A={};function tokenizer(e,t,n,i){var r={text:e,filename:t,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function peek(){return get_full_char(r.text,r.pos)}function next(e,t){var n=get_full_char(r.text,r.pos++);if(e&&!n)throw A;if(D.has(n)){r.newline_before=r.newline_before||!t;++r.line;r.col=0;if(n=="\r"&&peek()=="\n"){++r.pos;n="\n"}}else{if(n.length>1){++r.pos;++r.col}++r.col}return n}function forward(e){while(e--)next()}function looking_at(e){return r.text.substr(r.pos,e.length)==e}function find_eol(){var e=r.text;for(var t=r.pos,n=r.text.length;t<n;++t){var i=e[t];if(D.has(i))return t}return-1}function find(e,t){var n=r.text.indexOf(e,r.pos);if(t&&n==-1)throw A;return n}function start_token(){r.tokline=r.line;r.tokcol=r.col;r.tokpos=r.pos}var a=false;var h=null;function token(n,i,o){r.regex_allowed=n=="operator"&&!C.has(i)||n=="keyword"&&c.has(i)||n=="punc"&&y.has(i)||n=="arrow";if(n=="punc"&&i=="."){a=true}else if(!o){a=false}var s={type:n,value:i,line:r.tokline,col:r.tokcol,pos:r.tokpos,endline:r.line,endcol:r.col,endpos:r.pos,nlb:r.newline_before,file:t};if(/^(?:num|string|regexp)$/i.test(n)){s.raw=e.substring(s.pos,s.endpos)}if(!o){s.comments_before=r.comments_before;s.comments_after=r.comments_before=[]}r.newline_before=false;s=new w(s);if(!o)h=s;return s}function skip_whitespace(){while(v.has(peek()))next()}function read_while(e){var t="",n,i=0;while((n=peek())&&e(n,i++))t+=next();return t}function parse_error(e){js_error(e,t,r.tokline,r.tokcol,r.tokpos)}function read_num(e){var t=false,n=false,i=false,r=e==".",a=false,o=false;var s=read_while(function(s,u){if(a)return false;var c=s.charCodeAt(0);switch(c){case 95:return o=true;case 98:case 66:return i=true;case 111:case 79:case 120:case 88:return i?false:i=true;case 101:case 69:return i?true:t?false:t=n=true;case 45:return n||u==0&&!e;case 43:return n;case n=false,46:return!r&&!i&&!t?r=true:false}if(s==="n"){a=true;return true}return f.test(s)});if(e)s=e+s;if(_.test(s)&&next_token.has_directive("use strict")){parse_error("Legacy octal literals are not allowed in strict mode")}if(o){if(s.endsWith("_")){parse_error("Numeric separators are not allowed at the end of numeric literals")}else if(s.includes("__")){parse_error("Only one underscore is allowed as numeric separator")}s=s.replace(/_/g,"")}if(s.endsWith("n")){const e=s.slice(0,-1);const t=p.test(e);const n=parse_js_number(e,t);if(!r&&E.test(s)&&!isNaN(n))return token("big_int",e);parse_error("Invalid or unexpected token")}var u=parse_js_number(s);if(!isNaN(u)){return token("num",u)}else{parse_error("Invalid syntax: "+s)}}function is_octal(e){return e>="0"&&e<="7"}function read_escaped_char(e,t,n){var i=next(true,e);switch(i.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,t));case 117:if(peek()=="{"){next(true);if(peek()==="}")parse_error("Expecting hex-character between {}");while(peek()=="0")next(true);var a,o=find("}",true)-r.pos;if(o>6||(a=hex_bytes(o,t))>1114111){parse_error("Unicode reference out of bounds")}next(true);return from_char_code(a)}return String.fromCharCode(hex_bytes(4,t));case 10:return"";case 13:if(peek()=="\n"){next(true,e);return""}}if(is_octal(i)){if(n&&t){const e=i==="0"&&!is_octal(peek());if(!e){parse_error("Octal escape sequences are not allowed in template strings")}}return read_octal_escape_sequence(i,t)}return i}function read_octal_escape_sequence(e,t){var n=peek();if(n>="0"&&n<="7"){e+=next(true);if(e[0]<="3"&&(n=peek())>="0"&&n<="7")e+=next(true)}if(e==="0")return"\0";if(e.length>0&&next_token.has_directive("use strict")&&t)parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(e,8))}function hex_bytes(e,t){var n=0;for(;e>0;--e){if(!t&&isNaN(parseInt(peek(),16))){return parseInt(n,16)||""}var i=next(true);if(isNaN(parseInt(i,16)))parse_error("Invalid hex-character pattern in string");n+=i}return parseInt(n,16)}var d=with_eof_error("Unterminated string constant",function(){var e=next(),t="";for(;;){var n=next(true,true);if(n=="\\")n=read_escaped_char(true,true);else if(n=="\r"||n=="\n")parse_error("Unterminated string constant");else if(n==e)break;t+=n}var i=token("string",t);i.quote=e;return i});var m=with_eof_error("Unterminated template",function(e){if(e){r.template_braces.push(r.brace_counter)}var t="",n="",i,a;next(true,true);while((i=next(true,true))!="`"){if(i=="\r"){if(peek()=="\n")++r.pos;i="\n"}else if(i=="$"&&peek()=="{"){next(true,true);r.brace_counter++;a=token(e?"template_head":"template_substitution",t);a.raw=n;return a}n+=i;if(i=="\\"){var o=r.pos;var s=h&&(h.type==="name"||h.type==="punc"&&(h.value===")"||h.value==="]"));i=read_escaped_char(true,!s,true);n+=r.text.substr(o,r.pos-o)}t+=i}r.template_braces.pop();a=token(e?"template_head":"template_substitution",t);a.raw=n;a.end=true;return a});function skip_line_comment(e){var t=r.regex_allowed;var n=find_eol(),i;if(n==-1){i=r.text.substr(r.pos);r.pos=r.text.length}else{i=r.text.substring(r.pos,n);r.pos=n}r.col=r.tokcol+(r.pos-r.tokpos);r.comments_before.push(token(e,i,true));r.regex_allowed=t;return next_token}var b=with_eof_error("Unterminated multiline comment",function(){var e=r.regex_allowed;var t=find("*/",true);var n=r.text.substring(r.pos,t).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(get_full_char_length(n)+2);r.comments_before.push(token("comment2",n,true));r.newline_before=r.newline_before||n.includes("\n");r.regex_allowed=e;return next_token});var S=with_eof_error("Unterminated identifier name",function(){var e,t,n=false;var i=function(){n=true;next();if(peek()!=="u"){parse_error("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}")}return read_escaped_char(false,true)};if((e=peek())==="\\"){e=i();if(!is_identifier_start(e)){parse_error("First identifier char is an invalid identifier char")}}else if(is_identifier_start(e)){next()}else{return""}while((t=peek())!=null){if((t=peek())==="\\"){t=i();if(!is_identifier_char(t)){parse_error("Invalid escaped identifier char")}}else{if(!is_identifier_char(t)){break}next()}e+=t}if(u.has(e)&&n){parse_error("Escaped characters are not allowed in keywords")}return e});var T=with_eof_error("Unterminated regular expression",function(e){var t=false,n,i=false;while(n=next(true))if(D.has(n)){parse_error("Unexpected line terminator")}else if(t){e+="\\"+n;t=false}else if(n=="["){i=true;e+=n}else if(n=="]"&&i){i=false;e+=n}else if(n=="/"&&!i){break}else if(n=="\\"){t=true}else{e+=n}const r=S();return token("regexp",{source:e,flags:r})});function read_operator(e){function grow(e){if(!peek())return e;var t=e+peek();if(g.has(t)){next();return grow(t)}else{return e}}return token("operator",grow(e||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return b()}return r.regex_allowed?T(""):read_operator("/")}function handle_eq_sign(){next();if(peek()===">"){next();return token("arrow","=>")}else{return read_operator("=")}}function handle_dot(){next();if(is_digit(peek().charCodeAt(0))){return read_num(".")}if(peek()==="."){next();next();return token("expand","...")}return token("punc",".")}function read_word(){var e=S();if(a)return token("name",e);return s.has(e)?token("atom",e):!o.has(e)?token("name",e):g.has(e)?token("operator",e):token("keyword",e)}function with_eof_error(e,t){return function(n){try{return t(n)}catch(t){if(t===A)parse_error(e);else throw t}}}function next_token(e){if(e!=null)return T(e);if(i&&r.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(n){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&r.newline_before){forward(3);skip_line_comment("comment4");continue}}var t=peek();if(!t)return token("eof");var a=t.charCodeAt(0);switch(a){case 34:case 39:return d();case 46:return handle_dot();case 47:{var o=handle_slash();if(o===next_token)continue;return o}case 61:return handle_eq_sign();case 96:return m(true);case 123:r.brace_counter++;break;case 125:r.brace_counter--;if(r.template_braces.length>0&&r.template_braces[r.template_braces.length-1]===r.brace_counter)return m(false);break}if(is_digit(a))return read_num();if(k.has(t))return token("punc",next());if(l.has(t))return read_operator();if(a==92||is_identifier_start(t))return read_word();break}parse_error("Unexpected character '"+t+"'")}next_token.next=next;next_token.peek=peek;next_token.context=function(e){if(e)r=e;return r};next_token.add_directive=function(e){r.directive_stack[r.directive_stack.length-1].push(e);if(r.directives[e]===undefined){r.directives[e]=1}else{r.directives[e]++}};next_token.push_directives_stack=function(){r.directive_stack.push([])};next_token.pop_directives_stack=function(){var e=r.directive_stack[r.directive_stack.length-1];for(var t=0;t<e.length;t++){r.directives[e[t]]--}r.directive_stack.pop()};next_token.has_directive=function(e){return r.directives[e]>0};return next_token}var T=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var C=makePredicate(["--","++"]);var x=makePredicate(["=","+=","-=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]);var O=function(e,t){for(var n=0;n<e.length;++n){var i=e[n];for(var r=0;r<i.length;++r){t[i[r]]=n+1}}return t}([["||"],["??"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{});var F=makePredicate(["atom","num","big_int","string","regexp","name"]);function parse(e,t){const n=new Map;t=defaults(t,{bare_returns:false,ecma:2017,expression:false,filename:null,html5_comments:true,module:false,shebang:true,strict:false,toplevel:null},true);var i={input:typeof e=="string"?tokenizer(e,t.filename,t.html5_comments,t.shebang):e,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:true,in_loop:0,labels:[]};i.token=next();function is(e,t){return is_token(i.token,e,t)}function peek(){return i.peeked||(i.peeked=i.input())}function next(){i.prev=i.token;if(!i.peeked)peek();i.token=i.peeked;i.peeked=null;i.in_directives=i.in_directives&&(i.token.type=="string"||is("punc",";"));return i.token}function prev(){return i.prev}function croak(e,t,n,r){var a=i.input.context();js_error(e,a.filename,t!=null?t:a.tokline,n!=null?n:a.tokcol,r!=null?r:a.tokpos)}function token_error(e,t){croak(t,e.line,e.col)}function unexpected(e){if(e==null)e=i.token;token_error(e,"Unexpected token: "+e.type+" ("+e.value+")")}function expect_token(e,t){if(is(e,t)){return next()}token_error(i.token,"Unexpected token "+i.token.type+" «"+i.token.value+"»"+", expected "+e+" «"+t+"»")}function expect(e){return expect_token("punc",e)}function has_newline_before(e){return e.nlb||!e.comments_before.every(e=>!e.nlb)}function can_insert_semicolon(){return!t.strict&&(is("eof")||is("punc","}")||has_newline_before(i.token))}function is_in_generator(){return i.in_generator===i.in_function}function is_in_async(){return i.in_async===i.in_function}function semicolon(e){if(is("punc",";"))next();else if(!e&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var e=y(true);expect(")");return e}function embed_tokens(e){return function(...t){const n=i.token;const r=e(...t);r.start=n;r.end=prev();return r}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){i.peeked=null;i.token=i.input(i.token.value.substr(1))}}var r=embed_tokens(function(e,n,a){handle_regexp();switch(i.token.type){case"string":if(i.in_directives){var u=peek();if(!i.token.raw.includes("\\")&&(is_token(u,"punc",";")||is_token(u,"punc","}")||has_newline_before(u)||is_token(u,"eof"))){i.input.add_directive(i.token.value)}else{i.in_directives=false}}var f=i.in_directives,p=simple_statement();return f&&p.body instanceof Ot?new I(p.body):p;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return simple_statement();case"name":if(i.token.value=="async"&&is_token(peek(),"keyword","function")){next();next();if(n){croak("functions are not allowed as the body of a loop")}return o(ie,false,true,e)}if(i.token.value=="import"&&!is_token(peek(),"punc","(")&&!is_token(peek(),"punc",".")){next();var _=import_();semicolon();return _}return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch(i.token.value){case"{":return new L({start:i.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":i.in_directives=false;next();return new B;default:unexpected()}case"keyword":switch(i.token.value){case"break":next();return break_cont(_e);case"continue":next();return break_cont(he);case"debugger":next();semicolon();return new N;case"do":next();var h=in_loop(r);expect_token("keyword","while");var d=parenthesised();semicolon(true);return new H({body:h,condition:d});case"while":next();return new X({condition:parenthesised(),body:in_loop(function(){return r(false,true)})});case"for":next();return for_();case"class":next();if(n){croak("classes are not allowed as the body of a loop")}if(a){croak("classes are not allowed as the body of an if")}return class_(nt);case"function":next();if(n){croak("functions are not allowed as the body of a loop")}return o(ie,false,false,e);case"if":next();return if_();case"return":if(i.in_function==0&&!t.bare_returns)croak("'return' outside of function");next();var m=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){m=y(true);semicolon()}return new le({value:m});case"switch":next();return new ge({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(has_newline_before(i.token))croak("Illegal newline after 'throw'");var m=y(true);semicolon();return new fe({value:m});case"try":next();return try_();case"var":next();var _=s();semicolon();return _;case"let":next();var _=c();semicolon();return _;case"const":next();var _=l();semicolon();return _;case"with":if(i.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new $({expression:parenthesised(),body:r()});case"export":if(!is_token(peek(),"punc","(")){next();var _=export_();if(is("punc",";"))semicolon();return _}}}unexpected()});function labeled_statement(){var e=as_symbol(bt);if(e.name==="await"&&is_in_async()){token_error(i.prev,"await cannot be used as label inside async function")}if(i.labels.some(t=>t.name===e.name)){croak("Label "+e.name+" defined twice")}expect(":");i.labels.push(e);var t=r();i.labels.pop();if(!(t instanceof z)){e.references.forEach(function(t){if(t instanceof he){t=t.label.start;croak("Continue label `"+e.name+"` refers to non-IterationStatement.",t.line,t.col,t.pos)}})}return new K({body:t,label:e})}function simple_statement(e){return new P({body:(e=y(true),semicolon(),e)})}function break_cont(e){var t=null,n;if(!can_insert_semicolon()){t=as_symbol(At,true)}if(t!=null){n=i.labels.find(e=>e.name===t.name);if(!n)croak("Undefined label "+t.name);t.thedef=n}else if(i.in_loop==0)croak(e.TYPE+" not inside a loop or switch");semicolon();var r=new e({label:t});if(n)n.references.push(r);return r}function for_(){var e="`for await` invalid in this context";var t=i.token;if(t.type=="name"&&t.value=="await"){if(!is_in_async()){token_error(t,e)}next()}else{t=false}expect("(");var n=null;if(!is("punc",";")){n=is("keyword","var")?(next(),s(true)):is("keyword","let")?(next(),c(true)):is("keyword","const")?(next(),l(true)):y(true,true);var r=is("operator","in");var a=is("name","of");if(t&&!a){token_error(t,e)}if(r||a){if(n instanceof Ae){if(n.definitions.length>1)token_error(n.start,"Only one variable declaration allowed in for..in loop")}else if(!(is_assignable(n)||(n=to_destructuring(n))instanceof re)){token_error(n.start,"Invalid left-hand side in for..in loop")}next();if(r){return for_in(n)}else{return for_of(n,!!t)}}}else if(t){token_error(t,e)}return regular_for(n)}function regular_for(e){expect(";");var t=is("punc",";")?null:y(true);expect(";");var n=is("punc",")")?null:y(true);expect(")");return new q({init:e,condition:t,step:n,body:in_loop(function(){return r(false,true)})})}function for_of(e,t){var n=e instanceof Ae?e.definitions[0].name:null;var i=y(true);expect(")");return new Y({await:t,init:e,name:n,object:i,body:in_loop(function(){return r(false,true)})})}function for_in(e){var t=y(true);expect(")");return new W({init:e,object:t,body:in_loop(function(){return r(false,true)})})}var a=function(e,t,n){if(has_newline_before(i.token)){croak("Unexpected newline before arrow (=>)")}expect_token("arrow","=>");var r=_function_body(is("punc","{"),false,n);var a=r instanceof Array&&r.length?r[r.length-1].end:r instanceof Array?e:r.end;return new ne({start:e,end:a,async:n,argnames:t,body:r})};var o=function(e,t,n,i){var r=e===ie;var a=is("operator","*");if(a){next()}var o=is("name")?as_symbol(r?pt:dt):null;if(r&&!o){if(i){e=te}else{unexpected()}}if(o&&e!==ee&&!(o instanceof ot))unexpected(prev());var s=[];var u=_function_body(true,a||t,n,o,s);return new e({start:s.start,end:u.end,is_generator:a,async:n,name:o,argnames:s,body:u})};function track_used_binding_identifiers(e,t){var n=new Set;var i=false;var r=false;var a=false;var o=!!t;var s={add_parameter:function(t){if(n.has(t.value)){if(i===false){i=t}s.check_strict()}else{n.add(t.value);if(e){switch(t.value){case"arguments":case"eval":case"yield":if(o){token_error(t,"Unexpected "+t.value+" identifier as parameter inside strict mode")}break;default:if(u.has(t.value)){unexpected()}}}}},mark_default_assignment:function(e){if(r===false){r=e}},mark_spread:function(e){if(a===false){a=e}},mark_strict_mode:function(){o=true},is_strict:function(){return r!==false||a!==false||o},check_strict:function(){if(s.is_strict()&&i!==false){token_error(i,"Parameter "+i.value+" was used already")}}};return s}function parameters(e){var n=track_used_binding_identifiers(true,i.input.has_directive("use strict"));expect("(");while(!is("punc",")")){var r=parameter(n);e.push(r);if(!is("punc",")")){expect(",");if(is("punc",")")&&t.ecma<2017)unexpected()}if(r instanceof Q){break}}next()}function parameter(e,t){var n;var r=false;if(e===undefined){e=track_used_binding_identifiers(true,i.input.has_directive("use strict"))}if(is("expand","...")){r=i.token;e.mark_spread(i.token);next()}n=binding_element(e,t);if(is("operator","=")&&r===false){e.mark_default_assignment(i.token);next();n=new qe({start:n.start,left:n,operator:"=",right:y(false),end:i.token})}if(r!==false){if(!is("punc",")")){unexpected()}n=new Q({start:r,expression:n,end:r})}e.check_strict();return n}function binding_element(e,t){var n=[];var r=true;var a=false;var o;var s=i.token;if(e===undefined){e=track_used_binding_identifiers(false,i.input.has_directive("use strict"))}t=t===undefined?ft:t;if(is("punc","[")){next();while(!is("punc","]")){if(r){r=false}else{expect(",")}if(is("expand","...")){a=true;o=i.token;e.mark_spread(i.token);next()}if(is("punc")){switch(i.token.value){case",":n.push(new Vt({start:i.token,end:i.token}));continue;case"]":break;case"[":case"{":n.push(binding_element(e,t));break;default:unexpected()}}else if(is("name")){e.add_parameter(i.token);n.push(as_symbol(t))}else{croak("Invalid function parameter")}if(is("operator","=")&&a===false){e.mark_default_assignment(i.token);next();n[n.length-1]=new qe({start:n[n.length-1].start,left:n[n.length-1],operator:"=",right:y(false),end:i.token})}if(a){if(!is("punc","]")){croak("Rest element must be last element")}n[n.length-1]=new Q({start:o,expression:n[n.length-1],end:o})}}expect("]");e.check_strict();return new re({start:s,names:n,is_array:true,end:prev()})}else if(is("punc","{")){next();while(!is("punc","}")){if(r){r=false}else{expect(",")}if(is("expand","...")){a=true;o=i.token;e.mark_spread(i.token);next()}if(is("name")&&(is_token(peek(),"punc")||is_token(peek(),"operator"))&&[",","}","="].includes(peek().value)){e.add_parameter(i.token);var u=prev();var c=as_symbol(t);if(a){n.push(new Q({start:o,expression:c,end:c.end}))}else{n.push(new je({start:u,key:c.name,value:c,end:c.end}))}}else if(is("punc","}")){continue}else{var l=i.token;var f=as_property_name();if(f===null){unexpected(prev())}else if(prev().type==="name"&&!is("punc",":")){n.push(new je({start:prev(),key:f,value:new t({start:prev(),name:f,end:prev()}),end:prev()}))}else{expect(":");n.push(new je({start:l,quote:l.quote,key:f,value:binding_element(e,t),end:prev()}))}}if(a){if(!is("punc","}")){croak("Rest element must be last element")}}else if(is("operator","=")){e.mark_default_assignment(i.token);next();n[n.length-1].value=new qe({start:n[n.length-1].value.start,left:n[n.length-1].value,operator:"=",right:y(false),end:i.token})}}expect("}");e.check_strict();return new re({start:s,names:n,is_array:false,end:prev()})}else if(is("name")){e.add_parameter(i.token);return as_symbol(t)}else{croak("Invalid function parameter")}}function params_or_seq_(e,n){var r;var a;var o;var s=[];expect("(");while(!is("punc",")")){if(r)unexpected(r);if(is("expand","...")){r=i.token;if(n)a=i.token;next();s.push(new Q({start:prev(),expression:y(),end:i.token}))}else{s.push(y())}if(!is("punc",")")){expect(",");if(is("punc",")")){if(t.ecma<2017)unexpected();o=prev();if(n)a=o}}}expect(")");if(e&&is("arrow","=>")){if(r&&o)unexpected(o)}else if(a){unexpected(a)}return s}function _function_body(e,t,n,r,a){var o=i.in_loop;var s=i.labels;var u=i.in_generator;var c=i.in_async;++i.in_function;if(t)i.in_generator=i.in_function;if(n)i.in_async=i.in_function;if(a)parameters(a);if(e)i.in_directives=true;i.in_loop=0;i.labels=[];if(e){i.input.push_directives_stack();var l=block_();if(r)_verify_symbol(r);if(a)a.forEach(_verify_symbol);i.input.pop_directives_stack()}else{var l=[new le({start:i.token,value:y(false),end:i.token})]}--i.in_function;i.in_loop=o;i.labels=s;i.in_generator=u;i.in_async=c;return l}function _await_expression(){if(!is_in_async()){croak("Unexpected await expression outside async function",i.prev.line,i.prev.col,i.prev.pos)}return new de({start:prev(),end:i.token,expression:E(true)})}function _yield_expression(){if(!is_in_generator()){croak("Unexpected yield expression outside generator function",i.prev.line,i.prev.col,i.prev.pos)}var e=i.token;var t=false;var n=true;if(can_insert_semicolon()||is("punc")&&b.has(i.token.value)){n=false}else if(is("operator","*")){t=true;next()}return new me({start:e,is_star:t,expression:n?y():null,end:prev()})}function if_(){var e=parenthesised(),t=r(false,false,true),n=null;if(is("keyword","else")){next();n=r(false,false,true)}return new Ee({condition:e,body:t,alternative:n})}function block_(){expect("{");var e=[];while(!is("punc","}")){if(is("eof"))unexpected();e.push(r())}next();return e}function switch_body_(){expect("{");var e=[],t=null,n=null,a;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(n)n.end=prev();t=[];n=new be({start:(a=i.token,next(),a),expression:y(true),body:t});e.push(n);expect(":")}else if(is("keyword","default")){if(n)n.end=prev();t=[];n=new De({start:(a=i.token,next(),expect(":"),a),body:t});e.push(n)}else{if(!t)unexpected();t.push(r())}}if(n)n.end=prev();next();return e}function try_(){var e=block_(),t=null,n=null;if(is("keyword","catch")){var r=i.token;next();if(is("punc","{")){var a=null}else{expect("(");var a=parameter(undefined,gt);expect(")")}t=new ke({start:r,argname:a,body:block_(),end:prev()})}if(is("keyword","finally")){var r=i.token;next();n=new Se({start:r,body:block_(),end:prev()})}if(!t&&!n)croak("Missing catch/finally blocks");return new ye({body:e,bcatch:t,bfinally:n})}function vardefs(e,t){var n=[];var r;for(;;){var a=t==="var"?st:t==="const"?ct:t==="let"?lt:null;if(is("punc","{")||is("punc","[")){r=new Oe({start:i.token,name:binding_element(undefined,a),value:is("operator","=")?(expect_token("operator","="),y(false,e)):null,end:prev()})}else{r=new Oe({start:i.token,name:as_symbol(a),value:is("operator","=")?(next(),y(false,e)):!e&&t==="const"?croak("Missing initializer in const declaration"):null,end:prev()});if(r.name.name=="import")croak("Unexpected token: import")}n.push(r);if(!is("punc",","))break;next()}return n}var s=function(e){return new Te({start:prev(),definitions:vardefs(e,"var"),end:prev()})};var c=function(e){return new Ce({start:prev(),definitions:vardefs(e,"let"),end:prev()})};var l=function(e){return new xe({start:prev(),definitions:vardefs(e,"const"),end:prev()})};var f=function(e){var n=i.token;expect_token("operator","new");if(is("punc",".")){next();expect_token("name","target");return m(new at({start:n,end:prev()}),e)}var r=p(false),a;if(is("punc","(")){next();a=expr_list(")",t.ecma>=2017)}else{a=[]}var o=new Ie({start:n,expression:r,args:a,end:prev()});annotate(o);return m(o,e)};function as_atom_node(){var e=i.token,t;switch(e.type){case"name":t=_make_symbol(yt);break;case"num":t=new Ft({start:e,end:e,value:e.value});break;case"big_int":t=new wt({start:e,end:e,value:e.value});break;case"string":t=new Ot({start:e,end:e,value:e.value,quote:e.quote});break;case"regexp":t=new Rt({start:e,end:e,value:e.value});break;case"atom":switch(e.value){case"false":t=new Ut({start:e,end:e});break;case"true":t=new Kt({start:e,end:e});break;case"null":t=new Nt({start:e,end:e});break}break}next();return t}function to_fun_args(e,t){var n=function(e,t){if(t){return new qe({start:e.start,left:e,operator:"=",right:t,end:t.end})}return e};if(e instanceof Ye){return n(new re({start:e.start,end:e.end,is_array:false,names:e.properties.map(e=>to_fun_args(e))}),t)}else if(e instanceof je){e.value=to_fun_args(e.value);return n(e,t)}else if(e instanceof Vt){return e}else if(e instanceof re){e.names=e.names.map(e=>to_fun_args(e));return n(e,t)}else if(e instanceof yt){return n(new ft({name:e.name,start:e.start,end:e.end}),t)}else if(e instanceof Q){e.expression=to_fun_args(e.expression);return n(e,t)}else if(e instanceof We){return n(new re({start:e.start,end:e.end,is_array:true,names:e.elements.map(e=>to_fun_args(e))}),t)}else if(e instanceof Xe){return n(to_fun_args(e.left,e.right),t)}else if(e instanceof qe){e.left=to_fun_args(e.left);return e}else{croak("Invalid function parameter",e.start.line,e.start.col)}}var p=function(e,t){if(is("operator","new")){return f(e)}if(is("operator","import")){return import_meta()}var r=i.token;var s;var u=is("name","async")&&(s=peek()).value!="["&&s.type!="arrow"&&as_atom_node();if(is("punc")){switch(i.token.value){case"(":if(u&&!e)break;var c=params_or_seq_(t,!u);if(t&&is("arrow","=>")){return a(r,c.map(e=>to_fun_args(e)),!!u)}var l=u?new Ne({expression:u,args:c}):c.length==1?c[0]:new Pe({expressions:c});if(l.start){const e=r.comments_before.length;n.set(r,e);l.start.comments_before.unshift(...r.comments_before);r.comments_before=l.start.comments_before;if(e==0&&r.comments_before.length>0){var p=r.comments_before[0];if(!p.nlb){p.nlb=r.nlb;r.nlb=false}}r.comments_after=l.start.comments_after}l.start=r;var h=prev();if(l.end){h.comments_before=l.end.comments_before;l.end.comments_after.push(...h.comments_after);h.comments_after=l.end.comments_after}l.end=h;if(l instanceof Ne)annotate(l);return m(l,e);case"[":return m(_(),e);case"{":return m(d(),e)}if(!u)unexpected()}if(t&&is("name")&&is_token(peek(),"arrow")){var E=new ft({name:i.token.value,start:r,end:r});next();return a(r,[E],!!u)}if(is("keyword","function")){next();var g=o(te,false,!!u);g.start=r;g.end=prev();return m(g,e)}if(u)return m(u,e);if(is("keyword","class")){next();var v=class_(it);v.start=r;v.end=prev();return m(v,e)}if(is("template_head")){return m(template_string(),e)}if(F.has(i.token.type)){return m(as_atom_node(),e)}unexpected()};function template_string(){var e=[],t=i.token;e.push(new se({start:i.token,raw:i.token.raw,value:i.token.value,end:i.token}));while(!i.token.end){next();handle_regexp();e.push(y(true));if(!is_token("template_substitution")){unexpected()}e.push(new se({start:i.token,raw:i.token.raw,value:i.token.value,end:i.token}))}next();return new oe({start:t,segments:e,end:i.token})}function expr_list(e,t,n){var r=true,a=[];while(!is("punc",e)){if(r)r=false;else expect(",");if(t&&is("punc",e))break;if(is("punc",",")&&n){a.push(new Vt({start:i.token,end:i.token}))}else if(is("expand","...")){next();a.push(new Q({start:prev(),expression:y(),end:i.token}))}else{a.push(y(false))}}next();return a}var _=embed_tokens(function(){expect("[");return new We({elements:expr_list("]",!t.strict,true)})});var h=embed_tokens((e,t)=>{return o(ee,e,t)});var d=embed_tokens(function object_or_destructuring_(){var e=i.token,n=true,r=[];expect("{");while(!is("punc","}")){if(n)n=false;else expect(",");if(!t.strict&&is("punc","}"))break;e=i.token;if(e.type=="expand"){next();r.push(new Q({start:e,expression:y(false),end:prev()}));continue}var a=as_property_name();var o;if(!is("punc",":")){var s=concise_method_or_getset(a,e);if(s){r.push(s);continue}o=new yt({start:prev(),name:a,end:prev()})}else if(a===null){unexpected(prev())}else{next();o=y(false)}if(is("operator","=")){next();o=new Xe({start:e,left:o,operator:"=",right:y(false),end:prev()})}r.push(new je({start:e,quote:e.quote,key:a instanceof R?a:""+a,value:o,end:prev()}))}next();return new Ye({properties:r})});function class_(e){var t,n,r,a,o=[];i.input.push_directives_stack();i.input.add_directive("use strict");if(i.token.type=="name"&&i.token.value!="extends"){r=as_symbol(e===nt?mt:Et)}if(e===nt&&!r){unexpected()}if(i.token.value=="extends"){next();a=y(true)}expect("{");while(is("punc",";")){next()}while(!is("punc","}")){t=i.token;n=concise_method_or_getset(as_property_name(),t,true);if(!n){unexpected()}o.push(n);while(is("punc",";")){next()}}i.input.pop_directives_stack();next();return new e({start:t,name:r,extends:a,properties:o,end:prev()})}function concise_method_or_getset(e,t,n){var r=function(e,t){if(typeof e==="string"||typeof e==="number"){return new _t({start:t,name:""+e,end:prev()})}else if(e===null){unexpected()}return e};const a=e=>{if(typeof e==="string"||typeof e==="number"){return new ht({start:c,end:c,name:""+e})}else if(e===null){unexpected()}return e};var o=false;var s=false;var u=false;var c=t;if(n&&e==="static"&&!is("punc","(")){s=true;c=i.token;e=as_property_name()}if(e==="async"&&!is("punc","(")&&!is("punc",",")&&!is("punc","}")&&!is("operator","=")){o=true;c=i.token;e=as_property_name()}if(e===null){u=true;c=i.token;e=as_property_name();if(e===null){unexpected()}}if(is("punc","(")){e=r(e,t);var l=new Je({start:t,static:s,is_generator:u,async:o,key:e,quote:e instanceof _t?c.quote:undefined,value:h(u,o),end:prev()});return l}const f=i.token;if(e=="get"){if(!is("punc")||is("punc","[")){e=r(as_property_name(),t);return new Qe({start:t,static:s,key:e,quote:e instanceof _t?f.quote:undefined,value:h(),end:prev()})}}else if(e=="set"){if(!is("punc")||is("punc","[")){e=r(as_property_name(),t);return new Ze({start:t,static:s,key:e,quote:e instanceof _t?f.quote:undefined,value:h(),end:prev()})}}if(n){const n=a(e);const i=n instanceof ht?c.quote:undefined;if(is("operator","=")){next();return new tt({start:t,static:s,quote:i,key:n,value:y(false),end:prev()})}else if(is("name")||is("punc",";")||is("punc","}")){return new tt({start:t,static:s,quote:i,key:n,end:prev()})}}}function import_(){var e=prev();var t;var n;if(is("name")){t=as_symbol(vt)}if(is("punc",",")){next()}n=map_names(true);if(n||t){expect_token("name","from")}var r=i.token;if(r.type!=="string"){unexpected()}next();return new we({start:e,imported_name:t,imported_names:n,module_name:new Ot({start:r,value:r.value,quote:r.quote,end:r}),end:i.token})}function import_meta(){var e=i.token;expect_token("operator","import");expect_token("punc",".");expect_token("name","meta");return m(new Re({start:e,end:prev()}),false)}function map_name(e){function make_symbol(e){return new e({name:as_property_name(),start:prev(),end:prev()})}var t=e?Dt:St;var n=e?vt:kt;var r=i.token;var a;var o;if(e){a=make_symbol(t)}else{o=make_symbol(n)}if(is("name","as")){next();if(e){o=make_symbol(n)}else{a=make_symbol(t)}}else if(e){o=new n(a)}else{a=new t(o)}return new Fe({start:r,foreign_name:a,name:o,end:prev()})}function map_nameAsterisk(e,t){var n=e?Dt:St;var r=e?vt:kt;var a=i.token;var o;var s=prev();t=t||new r({name:"*",start:a,end:s});o=new n({name:"*",start:a,end:s});return new Fe({start:a,foreign_name:o,name:t,end:s})}function map_names(e){var t;if(is("punc","{")){next();t=[];while(!is("punc","}")){t.push(map_name(e));if(is("punc",",")){next()}}next()}else if(is("operator","*")){var n;next();if(e&&is("name","as")){next();n=as_symbol(e?vt:St)}t=[map_nameAsterisk(e,n)]}return t}function export_(){var e=i.token;var t;var n;if(is("keyword","default")){t=true;next()}else if(n=map_names(false)){if(is("name","from")){next();var a=i.token;if(a.type!=="string"){unexpected()}next();return new Me({start:e,is_default:t,exported_names:n,module_name:new Ot({start:a,value:a.value,quote:a.quote,end:a}),end:prev()})}else{return new Me({start:e,is_default:t,exported_names:n,end:prev()})}}var o;var s;var u;if(is("punc","{")||t&&(is("keyword","class")||is("keyword","function"))&&is_token(peek(),"punc")){s=y(false);semicolon()}else if((o=r(t))instanceof Ae&&t){unexpected(o.start)}else if(o instanceof Ae||o instanceof J||o instanceof nt){u=o}else if(o instanceof P){s=o.body}else{unexpected(o.start)}return new Me({start:e,is_default:t,exported_value:s,exported_definition:u,end:prev()})}function as_property_name(){var e=i.token;switch(e.type){case"punc":if(e.value==="["){next();var t=y(false);expect("]");return t}else unexpected(e);case"operator":if(e.value==="*"){next();return null}if(!["delete","in","instanceof","new","typeof","void"].includes(e.value)){unexpected(e)}case"name":case"string":case"num":case"big_int":case"keyword":case"atom":next();return e.value;default:unexpected(e)}}function as_name(){var e=i.token;if(e.type!="name")unexpected();next();return e.value}function _make_symbol(e){var t=i.token.value;return new(t=="this"?Tt:t=="super"?Ct:e)({name:String(t),start:i.token,end:i.token})}function _verify_symbol(e){var t=e.name;if(is_in_generator()&&t=="yield"){token_error(e.start,"Yield cannot be used as identifier inside generators")}if(i.input.has_directive("use strict")){if(t=="yield"){token_error(e.start,"Unexpected yield identifier inside strict mode")}if(e instanceof ot&&(t=="arguments"||t=="eval")){token_error(e.start,"Unexpected "+t+" in strict mode")}}}function as_symbol(e,t){if(!is("name")){if(!t)croak("Name expected");return null}var n=_make_symbol(e);_verify_symbol(n);next();return n}function annotate(e){var t=e.start;var i=t.comments_before;const r=n.get(t);var a=r!=null?r:i.length;while(--a>=0){var o=i[a];if(/[@#]__/.test(o.value)){if(/[@#]__PURE__/.test(o.value)){set_annotation(e,Gt);break}if(/[@#]__INLINE__/.test(o.value)){set_annotation(e,Ht);break}if(/[@#]__NOINLINE__/.test(o.value)){set_annotation(e,Xt);break}}}}var m=function(e,t){var n=e.start;if(is("punc",".")){next();return m(new Le({start:n,expression:e,property:as_name(),end:prev()}),t)}if(is("punc","[")){next();var i=y(true);expect("]");return m(new Be({start:n,expression:e,property:i,end:prev()}),t)}if(t&&is("punc","(")){next();var r=new Ne({start:n,expression:e,args:call_args(),end:prev()});annotate(r);return m(r,true)}if(is("template_head")){return m(new ae({start:n,prefix:e,template_string:template_string(),end:prev()}),t)}return e};function call_args(){var e=[];while(!is("punc",")")){if(is("expand","...")){next();e.push(new Q({start:prev(),expression:y(false),end:prev()}))}else{e.push(y(false))}if(!is("punc",")")){expect(",");if(is("punc",")")&&t.ecma<2017)unexpected()}}next();return e}var E=function(e,t){var n=i.token;if(n.type=="name"&&n.value=="await"){if(is_in_async()){next();return _await_expression()}else if(i.input.has_directive("use strict")){token_error(i.token,"Unexpected await identifier inside strict mode")}}if(is("operator")&&T.has(n.value)){next();handle_regexp();var r=make_unary(Ke,n,E(e));r.start=n;r.end=prev();return r}var a=p(e,t);while(is("operator")&&C.has(i.token.value)&&!has_newline_before(i.token)){if(a instanceof ne)unexpected();a=make_unary(ze,i.token,a);a.start=n;a.end=i.token;next()}return a};function make_unary(e,t,n){var r=t.value;switch(r){case"++":case"--":if(!is_assignable(n))croak("Invalid use of "+r+" operator",t.line,t.col,t.pos);break;case"delete":if(n instanceof yt&&i.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",n.start.line,n.start.col,n.start.pos);break}return new e({operator:r,expression:n})}var g=function(e,t,n){var r=is("operator")?i.token.value:null;if(r=="in"&&n)r=null;if(r=="**"&&e instanceof Ke&&!is_token(e.start,"punc","(")&&e.operator!=="--"&&e.operator!=="++")unexpected(e.start);var a=r!=null?O[r]:null;if(a!=null&&(a>t||r==="**"&&t===a)){next();var o=g(E(true),a,n);return g(new Ge({start:e.start,left:e,operator:r,right:o,end:o.end}),t,n)}return e};function expr_ops(e){return g(E(true,true),0,e)}var v=function(e){var t=i.token;var n=expr_ops(e);if(is("operator","?")){next();var r=y(false);expect(":");return new He({start:t,condition:n,consequent:r,alternative:y(false,e),end:prev()})}return n};function is_assignable(e){return e instanceof Ve||e instanceof yt}function to_destructuring(e){if(e instanceof Ye){e=new re({start:e.start,names:e.properties.map(to_destructuring),is_array:false,end:e.end})}else if(e instanceof We){var t=[];for(var n=0;n<e.elements.length;n++){if(e.elements[n]instanceof Q){if(n+1!==e.elements.length){token_error(e.elements[n].start,"Spread must the be last element in destructuring array")}e.elements[n].expression=to_destructuring(e.elements[n].expression)}t.push(to_destructuring(e.elements[n]))}e=new re({start:e.start,names:t,is_array:true,end:e.end})}else if(e instanceof $e){e.value=to_destructuring(e.value)}else if(e instanceof Xe){e=new qe({start:e.start,left:e.left,operator:"=",right:e.right,end:e.end})}return e}var D=function(e){handle_regexp();var t=i.token;if(t.type=="name"&&t.value=="yield"){if(is_in_generator()){next();return _yield_expression()}else if(i.input.has_directive("use strict")){token_error(i.token,"Unexpected yield identifier inside strict mode")}}var n=v(e);var r=i.token.value;if(is("operator")&&x.has(r)){if(is_assignable(n)||(n=to_destructuring(n))instanceof re){next();return new Xe({start:t,left:n,operator:r,right:D(e),end:prev()})}croak("Invalid assignment")}return n};var y=function(e,t){var n=i.token;var r=[];while(true){r.push(D(t));if(!e||!is("punc",","))break;next();e=true}return r.length==1?r[0]:new Pe({start:n,expressions:r,end:peek()})};function in_loop(e){++i.in_loop;var t=e();--i.in_loop;return t}if(t.expression){return y(true)}return function(){var e=i.token;var n=[];i.input.push_directives_stack();if(t.module)i.input.add_directive("use strict");while(!is("eof"))n.push(r());i.input.pop_directives_stack();var a=prev();var o=t.toplevel;if(o){o.body=o.body.concat(n);o.end=a}else{o=new Z({start:e,body:n,end:a})}return o}()}function DEFNODE(e,t,n,i=R){if(!t)t=[];else t=t.split(/\s+/);var r=t;if(i&&i.PROPS)t=t.concat(i.PROPS);var a="return function AST_"+e+"(props){ if (props) { ";for(var o=t.length;--o>=0;){a+="this."+t[o]+" = props."+t[o]+";"}const s=i&&Object.create(i.prototype);if(s&&s.initialize||n&&n.initialize)a+="this.initialize();";a+="}";a+="this.flags = 0;";a+="}";var u=new Function(a)();if(s){u.prototype=s;u.BASE=i}if(i)i.SUBCLASSES.push(u);u.prototype.CTOR=u;u.prototype.constructor=u;u.PROPS=t||null;u.SELF_PROPS=r;u.SUBCLASSES=[];if(e){u.prototype.TYPE=u.TYPE=e}if(n)for(o in n)if(HOP(n,o)){if(o[0]==="$"){u[o.substr(1)]=n[o]}else{u.prototype[o]=n[o]}}u.DEFMETHOD=function(e,t){this.prototype[e]=t};return u}var w=DEFNODE("Token","type value line col pos endline endcol endpos nlb comments_before comments_after file raw quote end",{},null);var R=DEFNODE("Node","start end",{_clone:function(e){if(e){var t=this.clone();return t.transform(new TreeTransformer(function(e){if(e!==t){return e.clone(true)}}))}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)},_children_backwards:()=>{}},null);var M=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var N=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},M);var I=DEFNODE("Directive","value 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!)",quote:"[string] the original quote character"}},M);var P=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(e){return e._visit(this,function(){this.body._walk(e)})},_children_backwards(e){e(this.body)}},M);function walk_body(e,t){const n=e.body;for(var i=0,r=n.length;i<r;i++){n[i]._walk(t)}}function clone_block_scope(e){var t=this._clone(e);if(this.block_scope){t.block_scope=this.block_scope.clone()}return t}var V=DEFNODE("Block","body block_scope",{$documentation:"A body of statements (usually braced)",$propdoc:{body:"[AST_Statement*] an array of statements",block_scope:"[AST_Scope] the block scope"},_walk:function(e){return e._visit(this,function(){walk_body(this,e)})},_children_backwards(e){let t=this.body.length;while(t--)e(this.body[t])},clone:clone_block_scope},M);var L=DEFNODE("BlockStatement",null,{$documentation:"A block statement"},V);var B=DEFNODE("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)"},M);var U=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"}},M);var K=DEFNODE("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)})},_children_backwards(e){e(this.body);e(this.label)},clone:function(e){var t=this._clone(e);if(e){var n=t.label;var i=this.label;t.walk(new TreeWalker(function(e){if(e instanceof pe&&e.label&&e.label.thedef===i){e.label.thedef=n;n.references.push(e)}}))}return t}},U);var z=DEFNODE("IterationStatement","block_scope",{$documentation:"Internal class. All loops inherit from it.",$propdoc:{block_scope:"[AST_Scope] the block scope for this iteration statement."},clone:clone_block_scope},U);var G=DEFNODE("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition. Should not be instanceof AST_Statement"}},z);var H=DEFNODE("Do",null,{$documentation:"A `do` statement",_walk:function(e){return e._visit(this,function(){this.body._walk(e);this.condition._walk(e)})},_children_backwards(e){e(this.condition);e(this.body)}},G);var X=DEFNODE("While",null,{$documentation:"A `while` statement",_walk:function(e){return e._visit(this,function(){this.condition._walk(e);this.body._walk(e)})},_children_backwards(e){e(this.body);e(this.condition)}},G);var q=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(e){return e._visit(this,function(){if(this.init)this.init._walk(e);if(this.condition)this.condition._walk(e);if(this.step)this.step._walk(e);this.body._walk(e)})},_children_backwards(e){e(this.body);if(this.step)e(this.step);if(this.condition)e(this.condition);if(this.init)e(this.init)}},z);var W=DEFNODE("ForIn","init object",{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",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)})},_children_backwards(e){e(this.body);if(this.object)e(this.object);if(this.init)e(this.init)}},z);var Y=DEFNODE("ForOf","await",{$documentation:"A `for ... of` statement"},W);var $=DEFNODE("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)})},_children_backwards(e){e(this.body);e(this.expression)}},U);var j=DEFNODE("Scope","variables functions uses_with uses_eval parent_scope enclosed cname",{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{variables:"[Map/S] a map of name -> SymbolDef for all variables/functions defined in this scope",functions:"[Map/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)"},get_defun_scope:function(){var e=this;while(e.is_block_scope()){e=e.parent_scope}return e},clone:function(e,t){var n=this._clone(e);if(e&&this.variables&&t&&!this._block_scope){n.figure_out_scope({},{toplevel:t,parent_scope:this.parent_scope})}else{if(this.variables)n.variables=new Map(this.variables);if(this.functions)n.functions=new Map(this.functions);if(this.enclosed)n.enclosed=this.enclosed.slice();if(this._block_scope)n._block_scope=this._block_scope}return n},pinned:function(){return this.uses_eval||this.uses_with}},V);var Z=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(e){var t=this.body;var n="(function(exports){'$ORIG';})(typeof "+e+"=='undefined'?("+e+"={}):"+e+");";n=parse(n);n=n.transform(new TreeTransformer(function(e){if(e instanceof I&&e.value=="$ORIG"){return i.splice(t)}}));return n},wrap_enclose:function(e){if(typeof e!="string")e="";var t=e.indexOf(":");if(t<0)t=e.length;var n=this.body;return parse(["(function(",e.slice(0,t),'){"$ORIG"})(',e.slice(t+1),")"].join("")).transform(new TreeTransformer(function(e){if(e instanceof I&&e.value=="$ORIG"){return i.splice(n)}}))}},j);var Q=DEFNODE("Expansion","expression",{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(e){return e._visit(this,function(){this.expression.walk(e)})},_children_backwards(e){e(this.expression)}});var J=DEFNODE("Lambda","name argnames uses_arguments is_generator async",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){var e=[];for(var t=0;t<this.argnames.length;t++){if(this.argnames[t]instanceof re){e.push(...this.argnames[t].all_symbols())}else{e.push(this.argnames[t])}}return e},_walk:function(e){return e._visit(this,function(){if(this.name)this.name._walk(e);var t=this.argnames;for(var n=0,i=t.length;n<i;n++){t[n]._walk(e)}walk_body(this,e)})},_children_backwards(e){let t=this.body.length;while(t--)e(this.body[t]);t=this.argnames.length;while(t--)e(this.argnames[t]);if(this.name)e(this.name)}},j);var ee=DEFNODE("Accessor",null,{$documentation:"A setter/getter function. The `name` property is always null."},J);var te=DEFNODE("Function",null,{$documentation:"A function expression"},J);var ne=DEFNODE("Arrow",null,{$documentation:"An ES6 Arrow function ((a) => b)"},J);var ie=DEFNODE("Defun",null,{$documentation:"A function definition"},J);var re=DEFNODE("Destructuring","names is_array",{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(e){return e._visit(this,function(){this.names.forEach(function(t){t._walk(e)})})},_children_backwards(e){let t=this.names.length;while(t--)e(this.names[t])},all_symbols:function(){var e=[];this.walk(new TreeWalker(function(t){if(t instanceof rt){e.push(t)}}));return e}});var ae=DEFNODE("PrefixedTemplateString","template_string prefix",{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_SymbolRef|AST_PropAccess] The prefix, which can be a symbol such as `foo` or a dotted expression such as `String.raw`."},_walk:function(e){return e._visit(this,function(){this.prefix._walk(e);this.template_string._walk(e)})},_children_backwards(e){e(this.template_string);e(this.prefix)}});var oe=DEFNODE("TemplateString","segments",{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(e){return e._visit(this,function(){this.segments.forEach(function(t){t._walk(e)})})},_children_backwards(e){let t=this.segments.length;while(t--)e(this.segments[t])}});var se=DEFNODE("TemplateSegment","value raw",{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw content of the segment"}});var ue=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},M);var ce=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(e){return e._visit(this,this.value&&function(){this.value._walk(e)})},_children_backwards(e){if(this.value)e(this.value)}},ue);var le=DEFNODE("Return",null,{$documentation:"A `return` statement"},ce);var fe=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},ce);var pe=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(e){return e._visit(this,this.label&&function(){this.label._walk(e)})},_children_backwards(e){if(this.label)e(this.label)}},ue);var _e=DEFNODE("Break",null,{$documentation:"A `break` statement"},pe);var he=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},pe);var de=DEFNODE("Await","expression",{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}});var me=DEFNODE("Yield","expression is_star",{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(e){return e._visit(this,this.expression&&function(){this.expression._walk(e)})},_children_backwards(e){if(this.expression)e(this.expression)}});var Ee=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(e){return e._visit(this,function(){this.condition._walk(e);this.body._walk(e);if(this.alternative)this.alternative._walk(e)})},_children_backwards(e){if(this.alternative){e(this.alternative)}e(this.body);e(this.condition)}},U);var ge=DEFNODE("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);walk_body(this,e)})},_children_backwards(e){let t=this.body.length;while(t--)e(this.body[t]);e(this.expression)}},V);var ve=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},V);var De=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},ve);var be=DEFNODE("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);walk_body(this,e)})},_children_backwards(e){let t=this.body.length;while(t--)e(this.body[t]);e(this.expression)}},ve);var ye=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(e){return e._visit(this,function(){walk_body(this,e);if(this.bcatch)this.bcatch._walk(e);if(this.bfinally)this.bfinally._walk(e)})},_children_backwards(e){if(this.bfinally)e(this.bfinally);if(this.bcatch)e(this.bcatch);let t=this.body.length;while(t--)e(this.body[t])}},V);var ke=DEFNODE("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(e){return e._visit(this,function(){if(this.argname)this.argname._walk(e);walk_body(this,e)})},_children_backwards(e){let t=this.body.length;while(t--)e(this.body[t]);if(this.argname)e(this.argname)}},V);var Se=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},V);var Ae=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(e){return e._visit(this,function(){var t=this.definitions;for(var n=0,i=t.length;n<i;n++){t[n]._walk(e)}})},_children_backwards(e){let t=this.definitions.length;while(t--)e(this.definitions[t])}},M);var Te=DEFNODE("Var",null,{$documentation:"A `var` statement"},Ae);var Ce=DEFNODE("Let",null,{$documentation:"A `let` statement"},Ae);var xe=DEFNODE("Const",null,{$documentation:"A `const` statement"},Ae);var Oe=DEFNODE("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_Destructuring|AST_SymbolConst|AST_SymbolLet|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);if(this.value)this.value._walk(e)})},_children_backwards(e){if(this.value)e(this.value);e(this.name)}});var Fe=DEFNODE("NameMapping","foreign_name name",{$documentation:"The part of the export/import statement that declare names from a module.",$propdoc:{foreign_name:"[AST_SymbolExportForeign|AST_SymbolImportForeign] The name being exported/imported (as specified in the module)",name:"[AST_SymbolExport|AST_SymbolImport] The name as it is visible to this module."},_walk:function(e){return e._visit(this,function(){this.foreign_name._walk(e);this.name._walk(e)})},_children_backwards(e){e(this.name);e(this.foreign_name)}});var we=DEFNODE("Import","imported_name imported_names module_name",{$documentation:"An `import` statement",$propdoc:{imported_name:"[AST_SymbolImport] The name of the variable holding the module's default export.",imported_names:"[AST_NameMapping*] The names of non-default imported variables",module_name:"[AST_String] String literal describing where this module came from"},_walk:function(e){return e._visit(this,function(){if(this.imported_name){this.imported_name._walk(e)}if(this.imported_names){this.imported_names.forEach(function(t){t._walk(e)})}this.module_name._walk(e)})},_children_backwards(e){e(this.module_name);if(this.imported_names){let t=this.imported_names.length;while(t--)e(this.imported_names[t])}if(this.imported_name)e(this.imported_name)}});var Re=DEFNODE("ImportMeta",null,{$documentation:"A reference to import.meta"});var Me=DEFNODE("Export","exported_definition exported_value is_default exported_names module_name",{$documentation:"An `export` statement",$propdoc:{exported_definition:"[AST_Defun|AST_Definitions|AST_DefClass?] An exported definition",exported_value:"[AST_Node?] An exported value",exported_names:"[AST_NameMapping*?] List of exported names",module_name:"[AST_String?] Name of the file to load exports from",is_default:"[Boolean] Whether this is the default exported value of this module"},_walk:function(e){return e._visit(this,function(){if(this.exported_definition){this.exported_definition._walk(e)}if(this.exported_value){this.exported_value._walk(e)}if(this.exported_names){this.exported_names.forEach(function(t){t._walk(e)})}if(this.module_name){this.module_name._walk(e)}})},_children_backwards(e){if(this.module_name)e(this.module_name);if(this.exported_names){let t=this.exported_names.length;while(t--)e(this.exported_names[t])}if(this.exported_value)e(this.exported_value);if(this.exported_definition)e(this.exported_definition)}},M);var Ne=DEFNODE("Call","expression args _annotations",{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments",_annotations:"[number] bitfield containing information about the call"},initialize(){if(this._annotations==null)this._annotations=0},_walk(e){return e._visit(this,function(){var t=this.args;for(var n=0,i=t.length;n<i;n++){t[n]._walk(e)}this.expression._walk(e)})},_children_backwards(e){let t=this.args.length;while(t--)e(this.args[t]);e(this.expression)}});var Ie=DEFNODE("New",null,{$documentation:"An object instantiation. Derives from a function call since it has exactly the same properties"},Ne);var Pe=DEFNODE("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)})})},_children_backwards(e){let t=this.expressions.length;while(t--)e(this.expressions[t])}});var Ve=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 Le=DEFNODE("Dot","quote",{$documentation:"A dotted property access expression",$propdoc:{quote:"[string] the original quote character when transformed from AST_Sub"},_walk:function(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}},Ve);var Be=DEFNODE("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)})},_children_backwards(e){e(this.property);e(this.expression)}},Ve);var Ue=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(e){return e._visit(this,function(){this.expression._walk(e)})},_children_backwards(e){e(this.expression)}});var Ke=DEFNODE("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},Ue);var ze=DEFNODE("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},Ue);var Ge=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(e){return e._visit(this,function(){this.left._walk(e);this.right._walk(e)})},_children_backwards(e){e(this.right);e(this.left)}});var He=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(e){return e._visit(this,function(){this.condition._walk(e);this.consequent._walk(e);this.alternative._walk(e)})},_children_backwards(e){e(this.alternative);e(this.consequent);e(this.condition)}});var Xe=DEFNODE("Assign",null,{$documentation:"An assignment expression — `a = b + 5`"},Ge);var qe=DEFNODE("DefaultAssign",null,{$documentation:"A default assignment expression like in `(a = 3) => a`"},Ge);var We=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(e){return e._visit(this,function(){var t=this.elements;for(var n=0,i=t.length;n<i;n++){t[n]._walk(e)}})},_children_backwards(e){let t=this.elements.length;while(t--)e(this.elements[t])}});var Ye=DEFNODE("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(e){return e._visit(this,function(){var t=this.properties;for(var n=0,i=t.length;n<i;n++){t[n]._walk(e)}})},_children_backwards(e){let t=this.properties.length;while(t--)e(this.properties[t])}});var $e=DEFNODE("ObjectProperty","key value",{$documentation:"Base class for literal object properties",$propdoc:{key:"[string|AST_Node] property name. For ObjectKeyVal this is a string. For getters, setters and computed property this is an AST_Node.",value:"[AST_Node] property value. For getters and setters this is an AST_Accessor."},_walk:function(e){return e._visit(this,function(){if(this.key instanceof R)this.key._walk(e);this.value._walk(e)})},_children_backwards(e){e(this.value);if(this.key instanceof R)e(this.key)}});var je=DEFNODE("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"},computed_key(){return this.key instanceof R}},$e);var Ze=DEFNODE("ObjectSetter","quote static",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static setter (classes only)"},$documentation:"An object setter property",computed_key(){return!(this.key instanceof _t)}},$e);var Qe=DEFNODE("ObjectGetter","quote static",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static getter (classes only)"},$documentation:"An object getter property",computed_key(){return!(this.key instanceof _t)}},$e);var Je=DEFNODE("ConciseMethod","quote static is_generator async",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] is this method static (classes only)",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},$documentation:"An ES6 concise method inside an object or class",computed_key(){return!(this.key instanceof _t)}},$e);var et=DEFNODE("Class","name extends properties",{$propdoc:{name:"[AST_SymbolClass|AST_SymbolDefClass?] optional class name.",extends:"[AST_Node]? optional parent class",properties:"[AST_ObjectProperty*] array of properties"},$documentation:"An ES6 class",_walk:function(e){return e._visit(this,function(){if(this.name){this.name._walk(e)}if(this.extends){this.extends._walk(e)}this.properties.forEach(t=>t._walk(e))})},_children_backwards(e){let t=this.properties.length;while(t--)e(this.properties[t]);if(this.extends)e(this.extends);if(this.name)e(this.name)}},j);var tt=DEFNODE("ClassProperty","static quote",{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(e){return e._visit(this,function(){if(this.key instanceof R)this.key._walk(e);if(this.value instanceof R)this.value._walk(e)})},_children_backwards(e){if(this.value instanceof R)e(this.value);if(this.key instanceof R)e(this.key)},computed_key(){return!(this.key instanceof ht)}},$e);var nt=DEFNODE("DefClass",null,{$documentation:"A class definition"},et);var it=DEFNODE("ClassExpression",null,{$documentation:"A class expression."},et);var rt=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 at=DEFNODE("NewTarget",null,{$documentation:"A reference to new.target"});var ot=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},rt);var st=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},ot);var ut=DEFNODE("SymbolBlockDeclaration",null,{$documentation:"Base class for block-scoped declaration symbols"},ot);var ct=DEFNODE("SymbolConst",null,{$documentation:"A constant declaration"},ut);var lt=DEFNODE("SymbolLet",null,{$documentation:"A block-scoped `let` declaration"},ut);var ft=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},st);var pt=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},ot);var _t=DEFNODE("SymbolMethod",null,{$documentation:"Symbol in an object defining a method"},rt);var ht=DEFNODE("SymbolClassProperty",null,{$documentation:"Symbol for a class property"},rt);var dt=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},ot);var mt=DEFNODE("SymbolDefClass",null,{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},ut);var Et=DEFNODE("SymbolClass",null,{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},ot);var gt=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},ut);var vt=DEFNODE("SymbolImport",null,{$documentation:"Symbol referring to an imported name"},ut);var Dt=DEFNODE("SymbolImportForeign",null,{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},rt);var bt=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}},rt);var yt=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},rt);var kt=DEFNODE("SymbolExport",null,{$documentation:"Symbol referring to a name to export"},yt);var St=DEFNODE("SymbolExportForeign",null,{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},rt);var At=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},rt);var Tt=DEFNODE("This",null,{$documentation:"The `this` symbol"},rt);var Ct=DEFNODE("Super",null,{$documentation:"The `super` symbol"},Tt);var xt=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var Ot=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},xt);var Ft=DEFNODE("Number","value literal",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",literal:"[string] numeric value as string (optional)"}},xt);var wt=DEFNODE("BigInt","value",{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},xt);var Rt=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},xt);var Mt=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},xt);var Nt=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},Mt);var It=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},Mt);var Pt=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},Mt);var Vt=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},Mt);var Lt=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},Mt);var Bt=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},Mt);var Ut=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},Bt);var Kt=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},Bt);function walk(e,t,n=[e]){const i=n.push.bind(n);while(n.length){const e=n.pop();const r=t(e,n);if(r){if(r===zt)return true;continue}e._children_backwards(i)}return false}function walk_parent(e,t,n){const i=[e];const r=i.push.bind(i);const a=n?n.slice():[];const o=[];let s;const u={parent:(e=0)=>{if(e===-1){return s}if(n&&e>=a.length){e-=a.length;return n[n.length-(e+1)]}return a[a.length-(1+e)]}};while(i.length){s=i.pop();while(o.length&&i.length==o[o.length-1]){a.pop();o.pop()}const e=t(s,u);if(e){if(e===zt)return true;continue}const n=i.length;s._children_backwards(r);if(i.length>n){a.push(s);o.push(n-1)}}return false}const zt=Symbol("abort walk");class TreeWalker{constructor(e){this.visit=e;this.stack=[];this.directives=Object.create(null)}_visit(e,t){this.push(e);var n=this.visit(e,t?function(){t.call(e)}:noop);if(!n&&t){t.call(e)}this.pop();return n}parent(e){return this.stack[this.stack.length-2-(e||0)]}push(e){if(e instanceof J){this.directives=Object.create(this.directives)}else if(e instanceof I&&!this.directives[e.value]){this.directives[e.value]=e}else if(e instanceof et){this.directives=Object.create(this.directives);if(!this.directives["use strict"]){this.directives["use strict"]=e}}this.stack.push(e)}pop(){var e=this.stack.pop();if(e instanceof J||e instanceof et){this.directives=Object.getPrototypeOf(this.directives)}}self(){return this.stack[this.stack.length-1]}find_parent(e){var t=this.stack;for(var n=t.length;--n>=0;){var i=t[n];if(i instanceof e)return i}}has_directive(e){var t=this.directives[e];if(t)return t;var n=this.stack[this.stack.length-1];if(n instanceof j&&n.body){for(var i=0;i<n.body.length;++i){var r=n.body[i];if(!(r instanceof I))break;if(r.value==e)return r}}}loopcontrol_target(e){var t=this.stack;if(e.label)for(var n=t.length;--n>=0;){var i=t[n];if(i instanceof K&&i.label.name==e.label.name)return i.body}else for(var n=t.length;--n>=0;){var i=t[n];if(i instanceof z||e instanceof _e&&i instanceof ge)return i}}}class TreeTransformer extends TreeWalker{constructor(e,t){super();this.before=e;this.after=t}}const Gt=1;const Ht=2;const Xt=4;var qt=Object.freeze({__proto__:null,AST_Accessor:ee,AST_Array:We,AST_Arrow:ne,AST_Assign:Xe,AST_Atom:Mt,AST_Await:de,AST_BigInt:wt,AST_Binary:Ge,AST_Block:V,AST_BlockStatement:L,AST_Boolean:Bt,AST_Break:_e,AST_Call:Ne,AST_Case:be,AST_Catch:ke,AST_Class:et,AST_ClassExpression:it,AST_ClassProperty:tt,AST_ConciseMethod:Je,AST_Conditional:He,AST_Const:xe,AST_Constant:xt,AST_Continue:he,AST_Debugger:N,AST_Default:De,AST_DefaultAssign:qe,AST_DefClass:nt,AST_Definitions:Ae,AST_Defun:ie,AST_Destructuring:re,AST_Directive:I,AST_Do:H,AST_Dot:Le,AST_DWLoop:G,AST_EmptyStatement:B,AST_Exit:ce,AST_Expansion:Q,AST_Export:Me,AST_False:Ut,AST_Finally:Se,AST_For:q,AST_ForIn:W,AST_ForOf:Y,AST_Function:te,AST_Hole:Vt,AST_If:Ee,AST_Import:we,AST_ImportMeta:Re,AST_Infinity:Lt,AST_IterationStatement:z,AST_Jump:ue,AST_Label:bt,AST_LabeledStatement:K,AST_LabelRef:At,AST_Lambda:J,AST_Let:Ce,AST_LoopControl:pe,AST_NameMapping:Fe,AST_NaN:It,AST_New:Ie,AST_NewTarget:at,AST_Node:R,AST_Null:Nt,AST_Number:Ft,AST_Object:Ye,AST_ObjectGetter:Qe,AST_ObjectKeyVal:je,AST_ObjectProperty:$e,AST_ObjectSetter:Ze,AST_PrefixedTemplateString:ae,AST_PropAccess:Ve,AST_RegExp:Rt,AST_Return:le,AST_Scope:j,AST_Sequence:Pe,AST_SimpleStatement:P,AST_Statement:M,AST_StatementWithBody:U,AST_String:Ot,AST_Sub:Be,AST_Super:Ct,AST_Switch:ge,AST_SwitchBranch:ve,AST_Symbol:rt,AST_SymbolBlockDeclaration:ut,AST_SymbolCatch:gt,AST_SymbolClass:Et,AST_SymbolClassProperty:ht,AST_SymbolConst:ct,AST_SymbolDeclaration:ot,AST_SymbolDefClass:mt,AST_SymbolDefun:pt,AST_SymbolExport:kt,AST_SymbolExportForeign:St,AST_SymbolFunarg:ft,AST_SymbolImport:vt,AST_SymbolImportForeign:Dt,AST_SymbolLambda:dt,AST_SymbolLet:lt,AST_SymbolMethod:_t,AST_SymbolRef:yt,AST_SymbolVar:st,AST_TemplateSegment:se,AST_TemplateString:oe,AST_This:Tt,AST_Throw:fe,AST_Token:w,AST_Toplevel:Z,AST_True:Kt,AST_Try:ye,AST_Unary:Ue,AST_UnaryPostfix:ze,AST_UnaryPrefix:Ke,AST_Undefined:Pt,AST_Var:Te,AST_VarDef:Oe,AST_While:X,AST_With:$,AST_Yield:me,TreeTransformer:TreeTransformer,TreeWalker:TreeWalker,walk:walk,walk_abort:zt,walk_body:walk_body,walk_parent:walk_parent,_INLINE:Ht,_NOINLINE:Xt,_PURE:Gt});function def_transform(e,t){e.DEFMETHOD("transform",function(e,n){let i=undefined;e.push(this);if(e.before)i=e.before(this,t,n);if(i===undefined){i=this;t(i,e);if(e.after){const t=e.after(i,n);if(t!==undefined)i=t}}e.pop();return i})}function do_list(e,t){return i(e,function(e){return e.transform(t,true)})}def_transform(R,noop);def_transform(K,function(e,t){e.label=e.label.transform(t);e.body=e.body.transform(t)});def_transform(P,function(e,t){e.body=e.body.transform(t)});def_transform(V,function(e,t){e.body=do_list(e.body,t)});def_transform(H,function(e,t){e.body=e.body.transform(t);e.condition=e.condition.transform(t)});def_transform(X,function(e,t){e.condition=e.condition.transform(t);e.body=e.body.transform(t)});def_transform(q,function(e,t){if(e.init)e.init=e.init.transform(t);if(e.condition)e.condition=e.condition.transform(t);if(e.step)e.step=e.step.transform(t);e.body=e.body.transform(t)});def_transform(W,function(e,t){e.init=e.init.transform(t);e.object=e.object.transform(t);e.body=e.body.transform(t)});def_transform($,function(e,t){e.expression=e.expression.transform(t);e.body=e.body.transform(t)});def_transform(ce,function(e,t){if(e.value)e.value=e.value.transform(t)});def_transform(pe,function(e,t){if(e.label)e.label=e.label.transform(t)});def_transform(Ee,function(e,t){e.condition=e.condition.transform(t);e.body=e.body.transform(t);if(e.alternative)e.alternative=e.alternative.transform(t)});def_transform(ge,function(e,t){e.expression=e.expression.transform(t);e.body=do_list(e.body,t)});def_transform(be,function(e,t){e.expression=e.expression.transform(t);e.body=do_list(e.body,t)});def_transform(ye,function(e,t){e.body=do_list(e.body,t);if(e.bcatch)e.bcatch=e.bcatch.transform(t);if(e.bfinally)e.bfinally=e.bfinally.transform(t)});def_transform(ke,function(e,t){if(e.argname)e.argname=e.argname.transform(t);e.body=do_list(e.body,t)});def_transform(Ae,function(e,t){e.definitions=do_list(e.definitions,t)});def_transform(Oe,function(e,t){e.name=e.name.transform(t);if(e.value)e.value=e.value.transform(t)});def_transform(re,function(e,t){e.names=do_list(e.names,t)});def_transform(J,function(e,t){if(e.name)e.name=e.name.transform(t);e.argnames=do_list(e.argnames,t);if(e.body instanceof R){e.body=e.body.transform(t)}else{e.body=do_list(e.body,t)}});def_transform(Ne,function(e,t){e.expression=e.expression.transform(t);e.args=do_list(e.args,t)});def_transform(Pe,function(e,t){const n=do_list(e.expressions,t);e.expressions=n.length?n:[new Ft({value:0})]});def_transform(Le,function(e,t){e.expression=e.expression.transform(t)});def_transform(Be,function(e,t){e.expression=e.expression.transform(t);e.property=e.property.transform(t)});def_transform(me,function(e,t){if(e.expression)e.expression=e.expression.transform(t)});def_transform(de,function(e,t){e.expression=e.expression.transform(t)});def_transform(Ue,function(e,t){e.expression=e.expression.transform(t)});def_transform(Ge,function(e,t){e.left=e.left.transform(t);e.right=e.right.transform(t)});def_transform(He,function(e,t){e.condition=e.condition.transform(t);e.consequent=e.consequent.transform(t);e.alternative=e.alternative.transform(t)});def_transform(We,function(e,t){e.elements=do_list(e.elements,t)});def_transform(Ye,function(e,t){e.properties=do_list(e.properties,t)});def_transform($e,function(e,t){if(e.key instanceof R){e.key=e.key.transform(t)}if(e.value)e.value=e.value.transform(t)});def_transform(et,function(e,t){if(e.name)e.name=e.name.transform(t);if(e.extends)e.extends=e.extends.transform(t);e.properties=do_list(e.properties,t)});def_transform(Q,function(e,t){e.expression=e.expression.transform(t)});def_transform(Fe,function(e,t){e.foreign_name=e.foreign_name.transform(t);e.name=e.name.transform(t)});def_transform(we,function(e,t){if(e.imported_name)e.imported_name=e.imported_name.transform(t);if(e.imported_names)do_list(e.imported_names,t);e.module_name=e.module_name.transform(t)});def_transform(Me,function(e,t){if(e.exported_definition)e.exported_definition=e.exported_definition.transform(t);if(e.exported_value)e.exported_value=e.exported_value.transform(t);if(e.exported_names)do_list(e.exported_names,t);if(e.module_name)e.module_name=e.module_name.transform(t)});def_transform(oe,function(e,t){e.segments=do_list(e.segments,t)});def_transform(ae,function(e,t){e.prefix=e.prefix.transform(t);e.template_string=e.template_string.transform(t)});(function(){var e=function(e){var t=true;for(var n=0;n<e.length;n++){if(t&&e[n]instanceof M&&e[n].body instanceof Ot){e[n]=new I({start:e[n].start,end:e[n].end,value:e[n].body.value})}else if(t&&!(e[n]instanceof M&&e[n].body instanceof Ot)){t=false}}return e};var t={Program:function(t){return new Z({start:my_start_token(t),end:my_end_token(t),body:e(t.body.map(from_moz))})},ArrayPattern:function(e){return new re({start:my_start_token(e),end:my_end_token(e),names:e.elements.map(function(e){if(e===null){return new Vt}return from_moz(e)}),is_array:true})},ObjectPattern:function(e){return new re({start:my_start_token(e),end:my_end_token(e),names:e.properties.map(from_moz),is_array:false})},AssignmentPattern:function(e){return new qe({start:my_start_token(e),end:my_end_token(e),left:from_moz(e.left),operator:"=",right:from_moz(e.right)})},SpreadElement:function(e){return new Q({start:my_start_token(e),end:my_end_token(e),expression:from_moz(e.argument)})},RestElement:function(e){return new Q({start:my_start_token(e),end:my_end_token(e),expression:from_moz(e.argument)})},TemplateElement:function(e){return new se({start:my_start_token(e),end:my_end_token(e),value:e.value.cooked,raw:e.value.raw})},TemplateLiteral:function(e){var t=[];for(var n=0;n<e.quasis.length;n++){t.push(from_moz(e.quasis[n]));if(e.expressions[n]){t.push(from_moz(e.expressions[n]))}}return new oe({start:my_start_token(e),end:my_end_token(e),segments:t})},TaggedTemplateExpression:function(e){return new ae({start:my_start_token(e),end:my_end_token(e),template_string:from_moz(e.quasi),prefix:from_moz(e.tag)})},FunctionDeclaration:function(t){return new ie({start:my_start_token(t),end:my_end_token(t),name:from_moz(t.id),argnames:t.params.map(from_moz),is_generator:t.generator,async:t.async,body:e(from_moz(t.body).body)})},FunctionExpression:function(t){return new te({start:my_start_token(t),end:my_end_token(t),name:from_moz(t.id),argnames:t.params.map(from_moz),is_generator:t.generator,async:t.async,body:e(from_moz(t.body).body)})},ArrowFunctionExpression:function(e){const t=e.body.type==="BlockStatement"?from_moz(e.body).body:[make_node(le,{},{value:from_moz(e.body)})];return new ne({start:my_start_token(e),end:my_end_token(e),argnames:e.params.map(from_moz),body:t,async:e.async})},ExpressionStatement:function(e){return new P({start:my_start_token(e),end:my_end_token(e),body:from_moz(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 ye({start:my_start_token(e),end:my_end_token(e),body:from_moz(e.block).body,bcatch:from_moz(t[0]),bfinally:e.finalizer?new Se(from_moz(e.finalizer)):null})},Property:function(e){var t=e.key;var n={start:my_start_token(t||e.value),end:my_end_token(e.value),key:t.type=="Identifier"?t.name:t.value,value:from_moz(e.value)};if(e.computed){n.key=from_moz(e.key)}if(e.method){n.is_generator=e.value.generator;n.async=e.value.async;if(!e.computed){n.key=new _t({name:n.key})}else{n.key=from_moz(e.key)}return new Je(n)}if(e.kind=="init"){if(t.type!="Identifier"&&t.type!="Literal"){n.key=from_moz(t)}return new je(n)}if(typeof n.key==="string"||typeof n.key==="number"){n.key=new _t({name:n.key})}n.value=new ee(n.value);if(e.kind=="get")return new Qe(n);if(e.kind=="set")return new Ze(n);if(e.kind=="method"){n.async=e.value.async;n.is_generator=e.value.generator;n.quote=e.computed?'"':null;return new Je(n)}},MethodDefinition:function(e){var t={start:my_start_token(e),end:my_end_token(e),key:e.computed?from_moz(e.key):new _t({name:e.key.name||e.key.value}),value:from_moz(e.value),static:e.static};if(e.kind=="get"){return new Qe(t)}if(e.kind=="set"){return new Ze(t)}t.is_generator=e.value.generator;t.async=e.value.async;return new Je(t)},FieldDefinition:function(e){let t;if(e.computed){t=from_moz(e.key)}else{if(e.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");t=from_moz(e.key)}return new tt({start:my_start_token(e),end:my_end_token(e),key:t,value:from_moz(e.value),static:e.static})},ArrayExpression:function(e){return new We({start:my_start_token(e),end:my_end_token(e),elements:e.elements.map(function(e){return e===null?new Vt:from_moz(e)})})},ObjectExpression:function(e){return new Ye({start:my_start_token(e),end:my_end_token(e),properties:e.properties.map(function(e){if(e.type==="SpreadElement"){return from_moz(e)}e.type="Property";return from_moz(e)})})},SequenceExpression:function(e){return new Pe({start:my_start_token(e),end:my_end_token(e),expressions:e.expressions.map(from_moz)})},MemberExpression:function(e){return new(e.computed?Be:Le)({start:my_start_token(e),end:my_end_token(e),property:e.computed?from_moz(e.property):e.property.name,expression:from_moz(e.object)})},SwitchCase:function(e){return new(e.test?be:De)({start:my_start_token(e),end:my_end_token(e),expression:from_moz(e.test),body:e.consequent.map(from_moz)})},VariableDeclaration:function(e){return new(e.kind==="const"?xe:e.kind==="let"?Ce:Te)({start:my_start_token(e),end:my_end_token(e),definitions:e.declarations.map(from_moz)})},ImportDeclaration:function(e){var t=null;var n=null;e.specifiers.forEach(function(e){if(e.type==="ImportSpecifier"){if(!n){n=[]}n.push(new Fe({start:my_start_token(e),end:my_end_token(e),foreign_name:from_moz(e.imported),name:from_moz(e.local)}))}else if(e.type==="ImportDefaultSpecifier"){t=from_moz(e.local)}else if(e.type==="ImportNamespaceSpecifier"){if(!n){n=[]}n.push(new Fe({start:my_start_token(e),end:my_end_token(e),foreign_name:new Dt({name:"*"}),name:from_moz(e.local)}))}});return new we({start:my_start_token(e),end:my_end_token(e),imported_name:t,imported_names:n,module_name:from_moz(e.source)})},ExportAllDeclaration:function(e){return new Me({start:my_start_token(e),end:my_end_token(e),exported_names:[new Fe({name:new St({name:"*"}),foreign_name:new St({name:"*"})})],module_name:from_moz(e.source)})},ExportNamedDeclaration:function(e){return new Me({start:my_start_token(e),end:my_end_token(e),exported_definition:from_moz(e.declaration),exported_names:e.specifiers&&e.specifiers.length?e.specifiers.map(function(e){return new Fe({foreign_name:from_moz(e.exported),name:from_moz(e.local)})}):null,module_name:from_moz(e.source)})},ExportDefaultDeclaration:function(e){return new Me({start:my_start_token(e),end:my_end_token(e),exported_value:from_moz(e.declaration),is_default:true})},Literal:function(e){var t=e.value,n={start:my_start_token(e),end:my_end_token(e)};var i=e.regex;if(i&&i.pattern){n.value={source:i.pattern,flags:i.flags};return new Rt(n)}else if(i){const i=e.raw||t;const r=i.match(/^\/(.*)\/(\w*)$/);if(!r)throw new Error("Invalid regex source "+i);const[a,o,s]=r;n.value={source:o,flags:s};return new Rt(n)}if(t===null)return new Nt(n);switch(typeof t){case"string":n.value=t;return new Ot(n);case"number":n.value=t;return new Ft(n);case"boolean":return new(t?Kt:Ut)(n)}},MetaProperty:function(e){if(e.meta.name==="new"&&e.property.name==="target"){return new at({start:my_start_token(e),end:my_end_token(e)})}else if(e.meta.name==="import"&&e.property.name==="meta"){return new Re({start:my_start_token(e),end:my_end_token(e)})}},Identifier:function(e){var t=n[n.length-2];return new(t.type=="LabeledStatement"?bt:t.type=="VariableDeclarator"&&t.id===e?t.kind=="const"?ct:t.kind=="let"?lt:st:/Import.*Specifier/.test(t.type)?t.local===e?vt:Dt:t.type=="ExportSpecifier"?t.local===e?kt:St:t.type=="FunctionExpression"?t.id===e?dt:ft:t.type=="FunctionDeclaration"?t.id===e?pt:ft:t.type=="ArrowFunctionExpression"?t.params.includes(e)?ft:yt:t.type=="ClassExpression"?t.id===e?Et:yt:t.type=="Property"?t.key===e&&t.computed||t.value===e?yt:_t:t.type=="FieldDefinition"?t.key===e&&t.computed||t.value===e?yt:ht:t.type=="ClassDeclaration"?t.id===e?mt:yt:t.type=="MethodDefinition"?t.computed?yt:_t:t.type=="CatchClause"?gt:t.type=="BreakStatement"||t.type=="ContinueStatement"?At:yt)({start:my_start_token(e),end:my_end_token(e),name:e.name})},BigIntLiteral(e){return new wt({start:my_start_token(e),end:my_end_token(e),value:e.value})}};t.UpdateExpression=t.UnaryExpression=function To_Moz_Unary(e){var t="prefix"in e?e.prefix:e.type=="UnaryExpression"?true:false;return new(t?Ke:ze)({start:my_start_token(e),end:my_end_token(e),operator:e.operator,expression:from_moz(e.argument)})};t.ClassDeclaration=t.ClassExpression=function From_Moz_Class(e){return new(e.type==="ClassDeclaration"?nt:it)({start:my_start_token(e),end:my_end_token(e),name:from_moz(e.id),extends:from_moz(e.superClass),properties:e.body.body.map(from_moz)})};map("EmptyStatement",B);map("BlockStatement",L,"body@body");map("IfStatement",Ee,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",K,"label>label, body>body");map("BreakStatement",_e,"label>label");map("ContinueStatement",he,"label>label");map("WithStatement",$,"object>expression, body>body");map("SwitchStatement",ge,"discriminant>expression, cases@body");map("ReturnStatement",le,"argument>value");map("ThrowStatement",fe,"argument>value");map("WhileStatement",X,"test>condition, body>body");map("DoWhileStatement",H,"test>condition, body>body");map("ForStatement",q,"init>init, test>condition, update>step, body>body");map("ForInStatement",W,"left>init, right>object, body>body");map("ForOfStatement",Y,"left>init, right>object, body>body, await=await");map("AwaitExpression",de,"argument>expression");map("YieldExpression",me,"argument>expression, delegate=is_star");map("DebuggerStatement",N);map("VariableDeclarator",Oe,"id>name, init>value");map("CatchClause",ke,"param>argname, body%body");map("ThisExpression",Tt);map("Super",Ct);map("BinaryExpression",Ge,"operator=operator, left>left, right>right");map("LogicalExpression",Ge,"operator=operator, left>left, right>right");map("AssignmentExpression",Xe,"operator=operator, left>left, right>right");map("ConditionalExpression",He,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",Ie,"callee>expression, arguments@args");map("CallExpression",Ne,"callee>expression, arguments@args");def_to_moz(Z,function To_Moz_Program(e){return to_moz_scope("Program",e)});def_to_moz(Q,function To_Moz_Spread(e){return{type:to_moz_in_destructuring()?"RestElement":"SpreadElement",argument:to_moz(e.expression)}});def_to_moz(ae,function To_Moz_TaggedTemplateExpression(e){return{type:"TaggedTemplateExpression",tag:to_moz(e.prefix),quasi:to_moz(e.template_string)}});def_to_moz(oe,function To_Moz_TemplateLiteral(e){var t=[];var n=[];for(var i=0;i<e.segments.length;i++){if(i%2!==0){n.push(to_moz(e.segments[i]))}else{t.push({type:"TemplateElement",value:{raw:e.segments[i].raw,cooked:e.segments[i].value},tail:i===e.segments.length-1})}}return{type:"TemplateLiteral",quasis:t,expressions:n}});def_to_moz(ie,function To_Moz_FunctionDeclaration(e){return{type:"FunctionDeclaration",id:to_moz(e.name),params:e.argnames.map(to_moz),generator:e.is_generator,async:e.async,body:to_moz_scope("BlockStatement",e)}});def_to_moz(te,function To_Moz_FunctionExpression(e,t){var n=t.is_generator!==undefined?t.is_generator:e.is_generator;return{type:"FunctionExpression",id:to_moz(e.name),params:e.argnames.map(to_moz),generator:n,async:e.async,body:to_moz_scope("BlockStatement",e)}});def_to_moz(ne,function To_Moz_ArrowFunctionExpression(e){var t={type:"BlockStatement",body:e.body.map(to_moz)};return{type:"ArrowFunctionExpression",params:e.argnames.map(to_moz),async:e.async,body:t}});def_to_moz(re,function To_Moz_ObjectPattern(e){if(e.is_array){return{type:"ArrayPattern",elements:e.names.map(to_moz)}}return{type:"ObjectPattern",properties:e.names.map(to_moz)}});def_to_moz(I,function To_Moz_Directive(e){return{type:"ExpressionStatement",expression:{type:"Literal",value:e.value,raw:e.print_to_string()},directive:e.value}});def_to_moz(P,function To_Moz_ExpressionStatement(e){return{type:"ExpressionStatement",expression:to_moz(e.body)}});def_to_moz(ve,function To_Moz_SwitchCase(e){return{type:"SwitchCase",test:to_moz(e.expression),consequent:e.body.map(to_moz)}});def_to_moz(ye,function To_Moz_TryStatement(e){return{type:"TryStatement",block:to_moz_block(e),handler:to_moz(e.bcatch),guardedHandlers:[],finalizer:to_moz(e.bfinally)}});def_to_moz(ke,function To_Moz_CatchClause(e){return{type:"CatchClause",param:to_moz(e.argname),guard:null,body:to_moz_block(e)}});def_to_moz(Ae,function To_Moz_VariableDeclaration(e){return{type:"VariableDeclaration",kind:e instanceof xe?"const":e instanceof Ce?"let":"var",declarations:e.definitions.map(to_moz)}});def_to_moz(Me,function To_Moz_ExportDeclaration(e){if(e.exported_names){if(e.exported_names[0].name.name==="*"){return{type:"ExportAllDeclaration",source:to_moz(e.module_name)}}return{type:"ExportNamedDeclaration",specifiers:e.exported_names.map(function(e){return{type:"ExportSpecifier",exported:to_moz(e.foreign_name),local:to_moz(e.name)}}),declaration:to_moz(e.exported_definition),source:to_moz(e.module_name)}}return{type:e.is_default?"ExportDefaultDeclaration":"ExportNamedDeclaration",declaration:to_moz(e.exported_value||e.exported_definition)}});def_to_moz(we,function To_Moz_ImportDeclaration(e){var t=[];if(e.imported_name){t.push({type:"ImportDefaultSpecifier",local:to_moz(e.imported_name)})}if(e.imported_names&&e.imported_names[0].foreign_name.name==="*"){t.push({type:"ImportNamespaceSpecifier",local:to_moz(e.imported_names[0].name)})}else if(e.imported_names){e.imported_names.forEach(function(e){t.push({type:"ImportSpecifier",local:to_moz(e.name),imported:to_moz(e.foreign_name)})})}return{type:"ImportDeclaration",specifiers:t,source:to_moz(e.module_name)}});def_to_moz(Re,function To_Moz_MetaProperty(){return{type:"MetaProperty",meta:{type:"Identifier",name:"import"},property:{type:"Identifier",name:"meta"}}});def_to_moz(Pe,function To_Moz_SequenceExpression(e){return{type:"SequenceExpression",expressions:e.expressions.map(to_moz)}});def_to_moz(Ve,function To_Moz_MemberExpression(e){var t=e instanceof Be;return{type:"MemberExpression",object:to_moz(e.expression),computed:t,property:t?to_moz(e.property):{type:"Identifier",name:e.property}}});def_to_moz(Ue,function To_Moz_Unary(e){return{type:e.operator=="++"||e.operator=="--"?"UpdateExpression":"UnaryExpression",operator:e.operator,prefix:e instanceof Ke,argument:to_moz(e.expression)}});def_to_moz(Ge,function To_Moz_BinaryExpression(e){if(e.operator=="="&&to_moz_in_destructuring()){return{type:"AssignmentPattern",left:to_moz(e.left),right:to_moz(e.right)}}const t=e.operator=="&&"||e.operator=="||"||e.operator==="??"?"LogicalExpression":"BinaryExpression";return{type:t,left:to_moz(e.left),operator:e.operator,right:to_moz(e.right)}});def_to_moz(We,function To_Moz_ArrayExpression(e){return{type:"ArrayExpression",elements:e.elements.map(to_moz)}});def_to_moz(Ye,function To_Moz_ObjectExpression(e){return{type:"ObjectExpression",properties:e.properties.map(to_moz)}});def_to_moz($e,function To_Moz_Property(e,t){var n=e.key instanceof R?to_moz(e.key):{type:"Identifier",value:e.key};if(typeof e.key==="number"){n={type:"Literal",value:Number(e.key)}}if(typeof e.key==="string"){n={type:"Identifier",name:e.key}}var i;var r=typeof e.key==="string"||typeof e.key==="number";var a=r?false:!(e.key instanceof rt)||e.key instanceof yt;if(e instanceof je){i="init";a=!r}else if(e instanceof Qe){i="get"}else if(e instanceof Ze){i="set"}if(e instanceof tt){return{type:"FieldDefinition",computed:a,key:n,value:to_moz(e.value),static:e.static}}if(t instanceof et){return{type:"MethodDefinition",computed:a,kind:i,static:e.static,key:to_moz(e.key),value:to_moz(e.value)}}return{type:"Property",computed:a,kind:i,key:n,value:to_moz(e.value)}});def_to_moz(Je,function To_Moz_MethodDefinition(e,t){if(t instanceof Ye){return{type:"Property",computed:!(e.key instanceof rt)||e.key instanceof yt,kind:"init",method:true,shorthand:false,key:to_moz(e.key),value:to_moz(e.value)}}return{type:"MethodDefinition",computed:!(e.key instanceof rt)||e.key instanceof yt,kind:e.key==="constructor"?"constructor":"method",static:e.static,key:to_moz(e.key),value:to_moz(e.value)}});def_to_moz(et,function To_Moz_Class(e){var t=e instanceof it?"ClassExpression":"ClassDeclaration";return{type:t,superClass:to_moz(e.extends),id:e.name?to_moz(e.name):null,body:{type:"ClassBody",body:e.properties.map(to_moz)}}});def_to_moz(at,function To_Moz_MetaProperty(){return{type:"MetaProperty",meta:{type:"Identifier",name:"new"},property:{type:"Identifier",name:"target"}}});def_to_moz(rt,function To_Moz_Identifier(e,t){if(e instanceof _t&&t.quote){return{type:"Literal",value:e.name}}var n=e.definition();return{type:"Identifier",name:n?n.mangled_name||n.name:e.name}});def_to_moz(Rt,function To_Moz_RegExpLiteral(e){const t=e.value.source;const n=e.value.flags;return{type:"Literal",value:null,raw:e.print_to_string(),regex:{pattern:t,flags:n}}});def_to_moz(xt,function To_Moz_Literal(e){var t=e.value;if(typeof t==="number"&&(t<0||t===0&&1/t<0)){return{type:"UnaryExpression",operator:"-",prefix:true,argument:{type:"Literal",value:-t,raw:e.start.raw}}}return{type:"Literal",value:t,raw:e.start.raw}});def_to_moz(Mt,function To_Moz_Atom(e){return{type:"Identifier",name:String(e.value)}});def_to_moz(wt,e=>({type:"BigIntLiteral",value:e.value}));Bt.DEFMETHOD("to_mozilla_ast",xt.prototype.to_mozilla_ast);Nt.DEFMETHOD("to_mozilla_ast",xt.prototype.to_mozilla_ast);Vt.DEFMETHOD("to_mozilla_ast",function To_Moz_ArrayHole(){return null});V.DEFMETHOD("to_mozilla_ast",L.prototype.to_mozilla_ast);J.DEFMETHOD("to_mozilla_ast",te.prototype.to_mozilla_ast);function raw_token(e){if(e.type=="Literal"){return e.raw!=null?e.raw:e.value+""}}function my_start_token(e){var t=e.loc,n=t&&t.start;var i=e.range;return new w({file:t&&t.source,line:n&&n.line,col:n&&n.column,pos:i?i[0]:e.start,endline:n&&n.line,endcol:n&&n.column,endpos:i?i[0]:e.start,raw:raw_token(e)})}function my_end_token(e){var t=e.loc,n=t&&t.end;var i=e.range;return new w({file:t&&t.source,line:n&&n.line,col:n&&n.column,pos:i?i[1]:e.end,endline:n&&n.line,endcol:n&&n.column,endpos:i?i[1]:e.end,raw:raw_token(e)})}function map(e,n,i){var r="function From_Moz_"+e+"(M){\n";r+="return new U2."+n.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var a="function To_Moz_"+e+"(M){\n";a+="return {\n"+"type: "+JSON.stringify(e);if(i)i.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],i=t[2],o=t[3];r+=",\n"+o+": ";a+=",\n"+n+": ";switch(i){case"@":r+="M."+n+".map(from_moz)";a+="M."+o+".map(to_moz)";break;case">":r+="from_moz(M."+n+")";a+="to_moz(M."+o+")";break;case"=":r+="M."+n;a+="M."+o;break;case"%":r+="from_moz(M."+n+").body";a+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+e)}});r+="\n})\n}";a+="\n}\n}";r=new Function("U2","my_start_token","my_end_token","from_moz","return("+r+")")(qt,my_start_token,my_end_token,from_moz);a=new Function("to_moz","to_moz_block","to_moz_scope","return("+a+")")(to_moz,to_moz_block,to_moz_scope);t[e]=r;def_to_moz(n,a)}var n=null;function from_moz(e){n.push(e);var i=e!=null?t[e.type](e):null;n.pop();return i}R.from_mozilla_ast=function(e){var t=n;n=[];var i=from_moz(e);n=t;return i};function set_moz_loc(e,t){var n=e.start;var i=e.end;if(!(n&&i)){return t}if(n.pos!=null&&i.endpos!=null){t.range=[n.pos,i.endpos]}if(n.line){t.loc={start:{line:n.line,column:n.col},end:i.endline?{line:i.endline,column:i.endcol}:null};if(n.file){t.loc.source=n.file}}return t}function def_to_moz(e,t){e.DEFMETHOD("to_mozilla_ast",function(e){return set_moz_loc(this,t(this,e))})}var i=null;function to_moz(e){if(i===null){i=[]}i.push(e);var t=e!=null?e.to_mozilla_ast(i[i.length-2]):null;i.pop();if(i.length===0){i=null}return t}function to_moz_in_destructuring(){var e=i.length;while(e--){if(i[e]instanceof re){return true}}return false}function to_moz_block(e){return{type:"BlockStatement",body:e.body.map(to_moz)}}function to_moz_scope(e,t){var n=t.body.map(to_moz);if(t.body[0]instanceof P&&t.body[0].body instanceof Ot){n.unshift(to_moz(new B(t.body[0])))}return{type:e,body:n}}})();function first_in_statement(e){let t=e.parent(-1);for(let n=0,i;i=e.parent(n);n++){if(i instanceof M&&i.body===t)return true;if(i instanceof Pe&&i.expressions[0]===t||i.TYPE==="Call"&&i.expression===t||i instanceof ae&&i.prefix===t||i instanceof Le&&i.expression===t||i instanceof Be&&i.expression===t||i instanceof He&&i.condition===t||i instanceof Ge&&i.left===t||i instanceof ze&&i.expression===t){t=i}else{return false}}}function left_is_object(e){if(e instanceof Ye)return true;if(e instanceof Pe)return left_is_object(e.expressions[0]);if(e.TYPE==="Call")return left_is_object(e.expression);if(e instanceof ae)return left_is_object(e.prefix);if(e instanceof Le||e instanceof Be)return left_is_object(e.expression);if(e instanceof He)return left_is_object(e.condition);if(e instanceof Ge)return left_is_object(e.left);if(e instanceof ze)return left_is_object(e.expression);return false}const Wt=/^$|[;{][\s\n]*$/;const Yt=10;const $t=32;const jt=/[@#]__(PURE|INLINE|NOINLINE)__/g;function is_some_comments(e){return(e.type==="comment2"||e.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(e.value)}function OutputStream(e){var t=!e;e=defaults(e,{ascii_only:false,beautify:false,braces:false,comments:"some",ecma:5,ie8:false,indent_level:4,indent_start:0,inline_script:true,keep_numbers:false,keep_quoted_props:false,max_line_len:false,preamble:null,preserve_annotations:false,quote_keys:false,quote_style:0,safari10:false,semicolons:true,shebang:true,shorthand:undefined,source_map:null,webkit:false,width:80,wrap_iife:false,wrap_func_args:true},true);if(e.shorthand===undefined)e.shorthand=e.ecma>5;var n=return_false;if(e.comments){let t=e.comments;if(typeof e.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(e.comments)){var i=e.comments.lastIndexOf("/");t=new RegExp(e.comments.substr(1,i-1),e.comments.substr(i+1))}if(t instanceof RegExp){n=function(e){return e.type!="comment5"&&t.test(e.value)}}else if(typeof t==="function"){n=function(e){return e.type!="comment5"&&t(this,e)}}else if(t==="some"){n=is_some_comments}else{n=return_true}}var r=0;var a=0;var o=1;var s=0;var u="";let c=new Set;var l=e.ascii_only?function(t,n){if(e.ecma>=2015){t=t.replace(/[\ud800-\udbff][\udc00-\udfff]/g,function(e){var t=get_full_char_code(e,0).toString(16);return"\\u{"+t+"}"})}return t.replace(/[\u0000-\u001f\u007f-\uffff]/g,function(e){var t=e.charCodeAt(0).toString(16);if(t.length<=2&&!n){while(t.length<2)t="0"+t;return"\\x"+t}else{while(t.length<4)t="0"+t;return"\\u"+t}})}:function(e){return e.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,function(e,t){if(t){return"\\u"+t.charCodeAt(0).toString(16)}return e})};function make_string(t,n){var i=0,r=0;t=t.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,function(n,a){switch(n){case'"':++i;return'"';case"'":++r;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 e.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(get_full_char(t,a+1))?"\\x00":"\\0"}return n});function quote_single(){return"'"+t.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+t.replace(/\x22/g,'\\"')+'"'}function quote_template(){return"`"+t.replace(/`/g,"\\`")+"`"}t=l(t);if(n==="`")return quote_template();switch(e.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return n=="'"?quote_single():quote_double();default:return i>r?quote_single():quote_double()}}function encode_string(t,n){var i=make_string(t,n);if(e.inline_script){i=i.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2");i=i.replace(/\x3c!--/g,"\\x3c!--");i=i.replace(/--\x3e/g,"--\\x3e")}return i}function make_name(e){e=e.toString();e=l(e,true);return e}function make_indent(t){return" ".repeat(e.indent_start+r-t*e.indent_level)}var f=false;var p=false;var _=false;var h=0;var d=false;var m=false;var E=-1;var g="";var v,D,b=e.source_map&&[];var y=b?function(){b.forEach(function(t){try{e.source_map.add(t.token.file,t.line,t.col,t.token.line,t.token.col,!t.name&&t.token.type=="name"?t.token.value:t.name)}catch(e){}});b=[]}:noop;var k=e.max_line_len?function(){if(a>e.max_line_len){if(h){var t=u.slice(0,h);var n=u.slice(h);if(b){var i=n.length-a;b.forEach(function(e){e.line++;e.col+=i})}u=t+"\n"+n;o++;s++;a=n.length}}if(h){h=0;y()}}:noop;var S=makePredicate("( [ + * / - , . `");function print(t){t=String(t);var n=get_full_char(t,0);if(d&&n){d=false;if(n!=="\n"){print("\n");C()}}if(m&&n){m=false;if(!/[\s;})]/.test(n)){T()}}E=-1;var i=g.charAt(g.length-1);if(_){_=false;if(i===":"&&n==="}"||(!n||!";}".includes(n))&&i!==";"){if(e.semicolons||S.has(n)){u+=";";a++;s++}else{k();if(a>0){u+="\n";s++;o++;a=0}if(/^\s+$/.test(t)){_=true}}if(!e.beautify)p=false}}if(p){if(is_identifier_char(i)&&(is_identifier_char(n)||n=="\\")||n=="/"&&n==i||(n=="+"||n=="-")&&n==g){u+=" ";a++;s++}p=false}if(v){b.push({token:v,name:D,line:o,col:a});v=false;if(!h)y()}u+=t;f=t[t.length-1]=="(";s+=t.length;var r=t.split(/\r?\n/),c=r.length-1;o+=c;a+=r[0].length;if(c>0){k();a=r[c].length}g=t}var A=function(){print("*")};var T=e.beautify?function(){print(" ")}:function(){p=true};var C=e.beautify?function(t){if(e.beautify){print(make_indent(t?.5:0))}}:noop;var x=e.beautify?function(e,t){if(e===true)e=next_indent();var n=r;r=e;var i=t();r=n;return i}:function(e,t){return t()};var O=e.beautify?function(){if(E<0)return print("\n");if(u[E]!="\n"){u=u.slice(0,E)+"\n"+u.slice(E);s++;o++}E++}:e.max_line_len?function(){k();h=u.length}:noop;var F=e.beautify?function(){print(";")}:function(){_=true};function force_semicolon(){_=false;print(";")}function next_indent(){return r+e.indent_level}function with_block(e){var t;print("{");O();x(next_indent(),function(){t=e()});C();print("}");return t}function with_parens(e){print("(");var t=e();print(")");return t}function with_square(e){print("[");var t=e();print("]");return t}function comma(){print(",");T()}function colon(){print(":");T()}var w=b?function(e,t){v=e;D=t}:noop;function get(){if(h){k()}return u}function has_nlb(){let e=u.length-1;while(e>=0){const t=u.charCodeAt(e);if(t===Yt){return true}if(t!==$t){return false}e--}return true}function filter_comment(t){if(!e.preserve_annotations){t=t.replace(jt," ")}if(/^\s*$/.test(t)){return""}return t.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function prepend_comments(t){var i=this;var r=t.start;if(!r)return;var a=i.printed_comments;const o=t instanceof ce&&t.value;if(r.comments_before&&a.has(r.comments_before)){if(o){r.comments_before=[]}else{return}}var u=r.comments_before;if(!u){u=r.comments_before=[]}a.add(u);if(o){var c=new TreeWalker(function(e){var t=c.parent();if(t instanceof ce||t instanceof Ge&&t.left===e||t.TYPE=="Call"&&t.expression===e||t instanceof He&&t.condition===e||t instanceof Le&&t.expression===e||t instanceof Pe&&t.expressions[0]===e||t instanceof Be&&t.expression===e||t instanceof ze){if(!e.start)return;var n=e.start.comments_before;if(n&&!a.has(n)){a.add(n);u=u.concat(n)}}else{return true}});c.push(t);t.value.walk(c)}if(s==0){if(u.length>0&&e.shebang&&u[0].type==="comment5"&&!a.has(u[0])){print("#!"+u.shift().value+"\n");C()}var l=e.preamble;if(l){print(l.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}u=u.filter(n,t).filter(e=>!a.has(e));if(u.length==0)return;var f=has_nlb();u.forEach(function(e,t){a.add(e);if(!f){if(e.nlb){print("\n");C();f=true}else if(t>0){T()}}if(/comment[134]/.test(e.type)){var n=filter_comment(e.value);if(n){print("//"+n+"\n");C()}f=true}else if(e.type=="comment2"){var n=filter_comment(e.value);if(n){print("/*"+n+"*/")}f=false}});if(!f){if(r.nlb){print("\n");C()}else{T()}}}function append_comments(e,t){var i=this;var r=e.end;if(!r)return;var a=i.printed_comments;var o=r[t?"comments_before":"comments_after"];if(!o||a.has(o))return;if(!(e instanceof M||o.every(e=>!/comment[134]/.test(e.type))))return;a.add(o);var s=u.length;o.filter(n,e).forEach(function(e,n){if(a.has(e))return;a.add(e);m=false;if(d){print("\n");C();d=false}else if(e.nlb&&(n>0||!has_nlb())){print("\n");C()}else if(n>0||!t){T()}if(/comment[134]/.test(e.type)){const t=filter_comment(e.value);if(t){print("//"+t)}d=true}else if(e.type=="comment2"){const t=filter_comment(e.value);if(t){print("/*"+t+"*/")}m=true}});if(u.length>s)E=s}var R=[];return{get:get,toString:get,indent:C,in_directive:false,use_asm:null,active_scope:null,indentation:function(){return r},current_width:function(){return a-r},should_break:function(){return e.width&&this.current_width()>=e.width},has_parens:function(){return f},newline:O,print:print,star:A,space:T,comma:comma,colon:colon,last:function(){return g},semicolon:F,force_semicolon:force_semicolon,to_utf8:l,print_name:function(e){print(make_name(e))},print_string:function(e,t,n){var i=encode_string(e,t);if(n===true&&!i.includes("\\")){if(!Wt.test(u)){force_semicolon()}force_semicolon()}print(i)},print_template_string_chars:function(e){var t=encode_string(e,"`").replace(/\${/g,"\\${");return print(t.substr(1,t.length-2))},encode_string:encode_string,next_indent:next_indent,with_indent:x,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:w,option:function(t){return e[t]},printed_comments:c,prepend_comments:t?noop:prepend_comments,append_comments:t||n===return_false?noop:append_comments,line:function(){return o},col:function(){return a},pos:function(){return s},push_node:function(e){R.push(e)},pop_node:function(){return R.pop()},parent:function(e){return R[R.length-2-(e||0)]}}}(function(){function DEFPRINT(e,t){e.DEFMETHOD("_codegen",t)}R.DEFMETHOD("print",function(e,t){var n=this,i=n._codegen;if(n instanceof j){e.active_scope=n}else if(!e.use_asm&&n instanceof I&&n.value=="use asm"){e.use_asm=e.active_scope}function doit(){e.prepend_comments(n);n.add_source_map(e);i(n,e);e.append_comments(n)}e.push_node(n);if(t||n.needs_parens(e)){e.with_parens(doit)}else{doit()}e.pop_node();if(n===e.use_asm){e.use_asm=null}});R.DEFMETHOD("_print",R.prototype.print);R.DEFMETHOD("print_to_string",function(e){var t=OutputStream(e);this.print(t);return t.get()});function PARENS(e,t){if(Array.isArray(e)){e.forEach(function(e){PARENS(e,t)})}else{e.DEFMETHOD("needs_parens",t)}}PARENS(R,return_false);PARENS(te,function(e){if(!e.has_parens()&&first_in_statement(e)){return true}if(e.option("webkit")){var t=e.parent();if(t instanceof Ve&&t.expression===this){return true}}if(e.option("wrap_iife")){var t=e.parent();if(t instanceof Ne&&t.expression===this){return true}}if(e.option("wrap_func_args")){var t=e.parent();if(t instanceof Ne&&t.args.includes(this)){return true}}return false});PARENS(ne,function(e){var t=e.parent();return t instanceof Ve&&t.expression===this});PARENS(Ye,function(e){return!e.has_parens()&&first_in_statement(e)});PARENS(it,first_in_statement);PARENS(Ue,function(e){var t=e.parent();return t instanceof Ve&&t.expression===this||t instanceof Ne&&t.expression===this||t instanceof Ge&&t.operator==="**"&&this instanceof Ke&&t.left===this&&this.operator!=="++"&&this.operator!=="--"});PARENS(de,function(e){var t=e.parent();return t instanceof Ve&&t.expression===this||t instanceof Ne&&t.expression===this||e.option("safari10")&&t instanceof Ke});PARENS(Pe,function(e){var t=e.parent();return t instanceof Ne||t instanceof Ue||t instanceof Ge||t instanceof Oe||t instanceof Ve||t instanceof We||t instanceof $e||t instanceof He||t instanceof ne||t instanceof qe||t instanceof Q||t instanceof Y&&this===t.object||t instanceof me||t instanceof Me});PARENS(Ge,function(e){var t=e.parent();if(t instanceof Ne&&t.expression===this)return true;if(t instanceof Ue)return true;if(t instanceof Ve&&t.expression===this)return true;if(t instanceof Ge){const e=t.operator;const n=this.operator;if(n==="??"&&(e==="||"||e==="&&")){return true}const i=O[e];const r=O[n];if(i>r||i==r&&(this===t.right||e=="**")){return true}}});PARENS(me,function(e){var t=e.parent();if(t instanceof Ge&&t.operator!=="=")return true;if(t instanceof Ne&&t.expression===this)return true;if(t instanceof He&&t.condition===this)return true;if(t instanceof Ue)return true;if(t instanceof Ve&&t.expression===this)return true});PARENS(Ve,function(e){var t=e.parent();if(t instanceof Ie&&t.expression===this){return walk(this,e=>{if(e instanceof j)return true;if(e instanceof Ne){return zt}})}});PARENS(Ne,function(e){var t=e.parent(),n;if(t instanceof Ie&&t.expression===this||t instanceof Me&&t.is_default&&this.expression instanceof te)return true;return this.expression instanceof te&&t instanceof Ve&&t.expression===this&&(n=e.parent(1))instanceof Xe&&n.left===t});PARENS(Ie,function(e){var t=e.parent();if(this.args.length===0&&(t instanceof Ve||t instanceof Ne&&t.expression===this))return true});PARENS(Ft,function(e){var t=e.parent();if(t instanceof Ve&&t.expression===this){var n=this.getValue();if(n<0||/^0/.test(make_num(n))){return true}}});PARENS(wt,function(e){var t=e.parent();if(t instanceof Ve&&t.expression===this){var n=this.getValue();if(n.startsWith("-")){return true}}});PARENS([Xe,He],function(e){var t=e.parent();if(t instanceof Ue)return true;if(t instanceof Ge&&!(t instanceof Xe))return true;if(t instanceof Ne&&t.expression===this)return true;if(t instanceof He&&t.condition===this)return true;if(t instanceof Ve&&t.expression===this)return true;if(this instanceof Xe&&this.left instanceof re&&this.left.is_array===false)return true});DEFPRINT(I,function(e,t){t.print_string(e.value,e.quote);t.semicolon()});DEFPRINT(Q,function(e,t){t.print("...");e.expression.print(t)});DEFPRINT(re,function(e,t){t.print(e.is_array?"[":"{");var n=e.names.length;e.names.forEach(function(e,i){if(i>0)t.comma();e.print(t);if(i==n-1&&e instanceof Vt)t.comma()});t.print(e.is_array?"]":"}")});DEFPRINT(N,function(e,t){t.print("debugger");t.semicolon()});function display_body(e,t,n,i){var r=e.length-1;n.in_directive=i;e.forEach(function(e,i){if(n.in_directive===true&&!(e instanceof I||e instanceof B||e instanceof P&&e.body instanceof Ot)){n.in_directive=false}if(!(e instanceof B)){n.indent();e.print(n);if(!(i==r&&t)){n.newline();if(t)n.newline()}}if(n.in_directive===true&&e instanceof P&&e.body instanceof Ot){n.in_directive=false}});n.in_directive=false}U.DEFMETHOD("_do_print_body",function(e){force_statement(this.body,e)});DEFPRINT(M,function(e,t){e.body.print(t);t.semicolon()});DEFPRINT(Z,function(e,t){display_body(e.body,true,t,true);t.print("")});DEFPRINT(K,function(e,t){e.label.print(t);t.colon();e.body.print(t)});DEFPRINT(P,function(e,t){e.body.print(t);t.semicolon()});function print_braced_empty(e,t){t.print("{");t.with_indent(t.next_indent(),function(){t.append_comments(e,true)});t.print("}")}function print_braced(e,t,n){if(e.body.length>0){t.with_block(function(){display_body(e.body,false,t,n)})}else print_braced_empty(e,t)}DEFPRINT(L,function(e,t){print_braced(e,t)});DEFPRINT(B,function(e,t){t.semicolon()});DEFPRINT(H,function(e,t){t.print("do");t.space();make_block(e.body,t);t.space();t.print("while");t.space();t.with_parens(function(){e.condition.print(t)});t.semicolon()});DEFPRINT(X,function(e,t){t.print("while");t.space();t.with_parens(function(){e.condition.print(t)});t.space();e._do_print_body(t)});DEFPRINT(q,function(e,t){t.print("for");t.space();t.with_parens(function(){if(e.init){if(e.init instanceof Ae){e.init.print(t)}else{parenthesize_for_noin(e.init,t,true)}t.print(";");t.space()}else{t.print(";")}if(e.condition){e.condition.print(t);t.print(";");t.space()}else{t.print(";")}if(e.step){e.step.print(t)}});t.space();e._do_print_body(t)});DEFPRINT(W,function(e,t){t.print("for");if(e.await){t.space();t.print("await")}t.space();t.with_parens(function(){e.init.print(t);t.space();t.print(e instanceof Y?"of":"in");t.space();e.object.print(t)});t.space();e._do_print_body(t)});DEFPRINT($,function(e,t){t.print("with");t.space();t.with_parens(function(){e.expression.print(t)});t.space();e._do_print_body(t)});J.DEFMETHOD("_do_print",function(e,t){var n=this;if(!t){if(n.async){e.print("async");e.space()}e.print("function");if(n.is_generator){e.star()}if(n.name){e.space()}}if(n.name instanceof rt){n.name.print(e)}else if(t&&n.name instanceof R){e.with_square(function(){n.name.print(e)})}e.with_parens(function(){n.argnames.forEach(function(t,n){if(n)e.comma();t.print(e)})});e.space();print_braced(n,e,true)});DEFPRINT(J,function(e,t){e._do_print(t)});DEFPRINT(ae,function(e,t){var n=e.prefix;var i=n instanceof J||n instanceof Ge||n instanceof He||n instanceof Pe||n instanceof Ue||n instanceof Le&&n.expression instanceof Ye;if(i)t.print("(");e.prefix.print(t);if(i)t.print(")");e.template_string.print(t)});DEFPRINT(oe,function(e,t){var n=t.parent()instanceof ae;t.print("`");for(var i=0;i<e.segments.length;i++){if(!(e.segments[i]instanceof se)){t.print("${");e.segments[i].print(t);t.print("}")}else if(n){t.print(e.segments[i].raw)}else{t.print_template_string_chars(e.segments[i].value)}}t.print("`")});ne.DEFMETHOD("_do_print",function(e){var t=this;var n=e.parent();var i=n instanceof Ge&&!(n instanceof Xe)||n instanceof Ue||n instanceof Ne&&t===n.expression;if(i){e.print("(")}if(t.async){e.print("async");e.space()}if(t.argnames.length===1&&t.argnames[0]instanceof rt){t.argnames[0].print(e)}else{e.with_parens(function(){t.argnames.forEach(function(t,n){if(n)e.comma();t.print(e)})})}e.space();e.print("=>");e.space();const r=t.body[0];if(t.body.length===1&&r instanceof le){const t=r.value;if(!t){e.print("{}")}else if(left_is_object(t)){e.print("(");t.print(e);e.print(")")}else{t.print(e)}}else{print_braced(t,e)}if(i){e.print(")")}});ce.DEFMETHOD("_do_print",function(e,t){e.print(t);if(this.value){e.space();const t=this.value.start.comments_before;if(t&&t.length&&!e.printed_comments.has(t)){e.print("(");this.value.print(e);e.print(")")}else{this.value.print(e)}}e.semicolon()});DEFPRINT(le,function(e,t){e._do_print(t,"return")});DEFPRINT(fe,function(e,t){e._do_print(t,"throw")});DEFPRINT(me,function(e,t){var n=e.is_star?"*":"";t.print("yield"+n);if(e.expression){t.space();e.expression.print(t)}});DEFPRINT(de,function(e,t){t.print("await");t.space();var n=e.expression;var i=!(n instanceof Ne||n instanceof yt||n instanceof Ve||n instanceof Ue||n instanceof xt);if(i)t.print("(");e.expression.print(t);if(i)t.print(")")});pe.DEFMETHOD("_do_print",function(e,t){e.print(t);if(this.label){e.space();this.label.print(e)}e.semicolon()});DEFPRINT(_e,function(e,t){e._do_print(t,"break")});DEFPRINT(he,function(e,t){e._do_print(t,"continue")});function make_then(e,t){var n=e.body;if(t.option("braces")||t.option("ie8")&&n instanceof H)return make_block(n,t);if(!n)return t.force_semicolon();while(true){if(n instanceof Ee){if(!n.alternative){make_block(e.body,t);return}n=n.alternative}else if(n instanceof U){n=n.body}else break}force_statement(e.body,t)}DEFPRINT(Ee,function(e,t){t.print("if");t.space();t.with_parens(function(){e.condition.print(t)});t.space();if(e.alternative){make_then(e,t);t.space();t.print("else");t.space();if(e.alternative instanceof Ee)e.alternative.print(t);else force_statement(e.alternative,t)}else{e._do_print_body(t)}});DEFPRINT(ge,function(e,t){t.print("switch");t.space();t.with_parens(function(){e.expression.print(t)});t.space();var n=e.body.length-1;if(n<0)print_braced_empty(e,t);else t.with_block(function(){e.body.forEach(function(e,i){t.indent(true);e.print(t);if(i<n&&e.body.length>0)t.newline()})})});ve.DEFMETHOD("_do_print_body",function(e){e.newline();this.body.forEach(function(t){e.indent();t.print(e);e.newline()})});DEFPRINT(De,function(e,t){t.print("default:");e._do_print_body(t)});DEFPRINT(be,function(e,t){t.print("case");t.space();e.expression.print(t);t.print(":");e._do_print_body(t)});DEFPRINT(ye,function(e,t){t.print("try");t.space();print_braced(e,t);if(e.bcatch){t.space();e.bcatch.print(t)}if(e.bfinally){t.space();e.bfinally.print(t)}});DEFPRINT(ke,function(e,t){t.print("catch");if(e.argname){t.space();t.with_parens(function(){e.argname.print(t)})}t.space();print_braced(e,t)});DEFPRINT(Se,function(e,t){t.print("finally");t.space();print_braced(e,t)});Ae.DEFMETHOD("_do_print",function(e,t){e.print(t);e.space();this.definitions.forEach(function(t,n){if(n)e.comma();t.print(e)});var n=e.parent();var i=n instanceof q||n instanceof W;var r=!i||n&&n.init!==this;if(r)e.semicolon()});DEFPRINT(Ce,function(e,t){e._do_print(t,"let")});DEFPRINT(Te,function(e,t){e._do_print(t,"var")});DEFPRINT(xe,function(e,t){e._do_print(t,"const")});DEFPRINT(we,function(e,t){t.print("import");t.space();if(e.imported_name){e.imported_name.print(t)}if(e.imported_name&&e.imported_names){t.print(",");t.space()}if(e.imported_names){if(e.imported_names.length===1&&e.imported_names[0].foreign_name.name==="*"){e.imported_names[0].print(t)}else{t.print("{");e.imported_names.forEach(function(n,i){t.space();n.print(t);if(i<e.imported_names.length-1){t.print(",")}});t.space();t.print("}")}}if(e.imported_name||e.imported_names){t.space();t.print("from");t.space()}e.module_name.print(t);t.semicolon()});DEFPRINT(Re,function(e,t){t.print("import.meta")});DEFPRINT(Fe,function(e,t){var n=t.parent()instanceof we;var i=e.name.definition();var r=(i&&i.mangled_name||e.name.name)!==e.foreign_name.name;if(r){if(n){t.print(e.foreign_name.name)}else{e.name.print(t)}t.space();t.print("as");t.space();if(n){e.name.print(t)}else{t.print(e.foreign_name.name)}}else{e.name.print(t)}});DEFPRINT(Me,function(e,t){t.print("export");t.space();if(e.is_default){t.print("default");t.space()}if(e.exported_names){if(e.exported_names.length===1&&e.exported_names[0].name.name==="*"){e.exported_names[0].print(t)}else{t.print("{");e.exported_names.forEach(function(n,i){t.space();n.print(t);if(i<e.exported_names.length-1){t.print(",")}});t.space();t.print("}")}}else if(e.exported_value){e.exported_value.print(t)}else if(e.exported_definition){e.exported_definition.print(t);if(e.exported_definition instanceof Ae)return}if(e.module_name){t.space();t.print("from");t.space();e.module_name.print(t)}if(e.exported_value&&!(e.exported_value instanceof ie||e.exported_value instanceof te||e.exported_value instanceof et)||e.module_name||e.exported_names){t.semicolon()}});function parenthesize_for_noin(e,t,n){var i=false;if(n){i=walk(e,e=>{if(e instanceof j)return true;if(e instanceof Ge&&e.operator=="in"){return zt}})}e.print(t,i)}DEFPRINT(Oe,function(e,t){e.name.print(t);if(e.value){t.space();t.print("=");t.space();var n=t.parent(1);var i=n instanceof q||n instanceof W;parenthesize_for_noin(e.value,t,i)}});DEFPRINT(Ne,function(e,t){e.expression.print(t);if(e instanceof Ie&&e.args.length===0)return;if(e.expression instanceof Ne||e.expression instanceof J){t.add_mapping(e.start)}t.with_parens(function(){e.args.forEach(function(e,n){if(n)t.comma();e.print(t)})})});DEFPRINT(Ie,function(e,t){t.print("new");t.space();Ne.prototype._codegen(e,t)});Pe.DEFMETHOD("_do_print",function(e){this.expressions.forEach(function(t,n){if(n>0){e.comma();if(e.should_break()){e.newline();e.indent()}}t.print(e)})});DEFPRINT(Pe,function(e,t){e._do_print(t)});DEFPRINT(Le,function(e,t){var n=e.expression;n.print(t);var i=e.property;var r=u.has(i)?t.option("ie8"):!is_identifier_string(i,t.option("ecma")>=2015);if(r){t.print("[");t.add_mapping(e.end);t.print_string(i);t.print("]")}else{if(n instanceof Ft&&n.getValue()>=0){if(!/[xa-f.)]/i.test(t.last())){t.print(".")}}t.print(".");t.add_mapping(e.end);t.print_name(i)}});DEFPRINT(Be,function(e,t){e.expression.print(t);t.print("[");e.property.print(t);t.print("]")});DEFPRINT(Ke,function(e,t){var n=e.operator;t.print(n);if(/^[a-z]/i.test(n)||/[+-]$/.test(n)&&e.expression instanceof Ke&&/^[+-]/.test(e.expression.operator)){t.space()}e.expression.print(t)});DEFPRINT(ze,function(e,t){e.expression.print(t);t.print(e.operator)});DEFPRINT(Ge,function(e,t){var n=e.operator;e.left.print(t);if(n[0]==">"&&e.left instanceof ze&&e.left.operator=="--"){t.print(" ")}else{t.space()}t.print(n);if((n=="<"||n=="<<")&&e.right instanceof Ke&&e.right.operator=="!"&&e.right.expression instanceof Ke&&e.right.expression.operator=="--"){t.print(" ")}else{t.space()}e.right.print(t)});DEFPRINT(He,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)});DEFPRINT(We,function(e,t){t.with_square(function(){var n=e.elements,i=n.length;if(i>0)t.space();n.forEach(function(e,n){if(n)t.comma();e.print(t);if(n===i-1&&e instanceof Vt)t.comma()});if(i>0)t.space()})});DEFPRINT(Ye,function(e,t){if(e.properties.length>0)t.with_block(function(){e.properties.forEach(function(e,n){if(n){t.print(",");t.newline()}t.indent();e.print(t)});t.newline()});else print_braced_empty(e,t)});DEFPRINT(et,function(e,t){t.print("class");t.space();if(e.name){e.name.print(t);t.space()}if(e.extends){var n=!(e.extends instanceof yt)&&!(e.extends instanceof Ve)&&!(e.extends instanceof it)&&!(e.extends instanceof te);t.print("extends");if(n){t.print("(")}else{t.space()}e.extends.print(t);if(n){t.print(")")}else{t.space()}}if(e.properties.length>0)t.with_block(function(){e.properties.forEach(function(e,n){if(n){t.newline()}t.indent();e.print(t)});t.newline()});else t.print("{}")});DEFPRINT(at,function(e,t){t.print("new.target")});function print_property_name(e,t,n){if(n.option("quote_keys")){return n.print_string(e)}if(""+ +e==e&&e>=0){if(n.option("keep_numbers")){return n.print(e)}return n.print(make_num(e))}var i=u.has(e)?n.option("ie8"):n.option("ecma")<2015?!is_basic_identifier_string(e):!is_identifier_string(e,true);if(i||t&&n.option("keep_quoted_props")){return n.print_string(e,t)}return n.print_name(e)}DEFPRINT(je,function(e,t){function get_name(e){var t=e.definition();return t?t.mangled_name||t.name:e.name}var n=t.option("shorthand");if(n&&e.value instanceof rt&&is_identifier_string(e.key,t.option("ecma")>=2015)&&get_name(e.value)===e.key&&!u.has(e.key)){print_property_name(e.key,e.quote,t)}else if(n&&e.value instanceof qe&&e.value.left instanceof rt&&is_identifier_string(e.key,t.option("ecma")>=2015)&&get_name(e.value.left)===e.key){print_property_name(e.key,e.quote,t);t.space();t.print("=");t.space();e.value.right.print(t)}else{if(!(e.key instanceof R)){print_property_name(e.key,e.quote,t)}else{t.with_square(function(){e.key.print(t)})}t.colon();e.value.print(t)}});DEFPRINT(tt,(e,t)=>{if(e.static){t.print("static");t.space()}if(e.key instanceof ht){print_property_name(e.key.name,e.quote,t)}else{t.print("[");e.key.print(t);t.print("]")}if(e.value){t.print("=");e.value.print(t)}t.semicolon()});$e.DEFMETHOD("_print_getter_setter",function(e,t){var n=this;if(n.static){t.print("static");t.space()}if(e){t.print(e);t.space()}if(n.key instanceof _t){print_property_name(n.key.name,n.quote,t)}else{t.with_square(function(){n.key.print(t)})}n.value._do_print(t,true)});DEFPRINT(Ze,function(e,t){e._print_getter_setter("set",t)});DEFPRINT(Qe,function(e,t){e._print_getter_setter("get",t)});DEFPRINT(Je,function(e,t){var n;if(e.is_generator&&e.async){n="async*"}else if(e.is_generator){n="*"}else if(e.async){n="async"}e._print_getter_setter(n,t)});rt.DEFMETHOD("_do_print",function(e){var t=this.definition();e.print_name(t?t.mangled_name||t.name:this.name)});DEFPRINT(rt,function(e,t){e._do_print(t)});DEFPRINT(Vt,noop);DEFPRINT(Tt,function(e,t){t.print("this")});DEFPRINT(Ct,function(e,t){t.print("super")});DEFPRINT(xt,function(e,t){t.print(e.getValue())});DEFPRINT(Ot,function(e,t){t.print_string(e.getValue(),e.quote,t.in_directive)});DEFPRINT(Ft,function(e,t){if((t.option("keep_numbers")||t.use_asm)&&e.start&&e.start.raw!=null){t.print(e.start.raw)}else{t.print(make_num(e.getValue()))}});DEFPRINT(wt,function(e,t){t.print(e.getValue()+"n")});const e=/(<\s*\/\s*script)/i;const t=(e,t)=>t.replace("/","\\/");DEFPRINT(Rt,function(n,i){let{source:r,flags:a}=n.getValue();r=regexp_source_fix(r);a=a?sort_regexp_flags(a):"";r=r.replace(e,t);i.print(i.to_utf8(`/${r}/${a}`));const o=i.parent();if(o instanceof Ge&&/^\w/.test(o.operator)&&o.left===n){i.print(" ")}});function force_statement(e,t){if(t.option("braces")){make_block(e,t)}else{if(!e||e instanceof B)t.force_semicolon();else e.print(t)}}function best_of(e){var t=e[0],n=t.length;for(var i=1;i<e.length;++i){if(e[i].length<n){t=e[i];n=t.length}}return t}function make_num(e){var t=e.toString(10).replace(/^0\./,".").replace("e+","e");var n=[t];if(Math.floor(e)===e){if(e<0){n.push("-0x"+(-e).toString(16).toLowerCase())}else{n.push("0x"+e.toString(16).toLowerCase())}}var i,r,a;if(i=/^\.0+/.exec(t)){r=i[0].length;a=t.slice(r);n.push(a+"e-"+(a.length+r-1))}else if(i=/0+$/.exec(t)){r=i[0].length;n.push(t.slice(0,-r)+"e"+r)}else if(i=/^(\d)\.(\d+)e(-?\d+)$/.exec(t)){n.push(i[1]+i[2]+"e"+(i[3]-i[2].length))}return best_of(n)}function make_block(e,t){if(!e||e instanceof B)t.print("{}");else if(e instanceof L)e.print(t);else t.with_block(function(){t.indent();e.print(t);t.newline()})}function DEFMAP(e,t){e.forEach(function(e){e.DEFMETHOD("add_source_map",t)})}DEFMAP([R,K,Z],noop);DEFMAP([We,L,ke,et,xt,N,Ae,I,Se,ue,J,Ie,Ye,U,rt,ge,ve,oe,se,ye],function(e){e.add_mapping(this.start)});DEFMAP([Qe,Ze],function(e){e.add_mapping(this.start,this.key.name)});DEFMAP([$e],function(e){e.add_mapping(this.start,this.key)})})();const Zt=(e,t)=>{return e===null&&t===null||e.TYPE===t.TYPE&&e.shallow_cmp(t)};const Qt=(e,t)=>{if(!Zt(e,t))return false;const n=[e];const i=[t];const r=n.push.bind(n);const a=i.push.bind(i);while(n.length&&i.length){const e=n.pop();const t=i.pop();if(!Zt(e,t))return false;e._children_backwards(r);t._children_backwards(a);if(n.length!==i.length){return false}}return n.length==0&&i.length==0};const Jt=e=>{const t=Object.keys(e).map(t=>{if(e[t]==="eq"){return`this.${t} === other.${t}`}else if(e[t]==="exist"){return`(this.${t} == null ? other.${t} == null : this.${t} === other.${t})`}else{throw new Error(`mkshallow: Unexpected instruction: ${e[t]}`)}}).join(" && ");return new Function("other","return "+t)};const en=()=>true;R.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)};N.prototype.shallow_cmp=en;I.prototype.shallow_cmp=Jt({value:"eq"});P.prototype.shallow_cmp=en;V.prototype.shallow_cmp=en;B.prototype.shallow_cmp=en;K.prototype.shallow_cmp=Jt({"label.name":"eq"});H.prototype.shallow_cmp=en;X.prototype.shallow_cmp=en;q.prototype.shallow_cmp=Jt({init:"exist",condition:"exist",step:"exist"});W.prototype.shallow_cmp=en;Y.prototype.shallow_cmp=en;$.prototype.shallow_cmp=en;Z.prototype.shallow_cmp=en;Q.prototype.shallow_cmp=en;J.prototype.shallow_cmp=Jt({is_generator:"eq",async:"eq"});re.prototype.shallow_cmp=Jt({is_array:"eq"});ae.prototype.shallow_cmp=en;oe.prototype.shallow_cmp=en;se.prototype.shallow_cmp=Jt({value:"eq"});ue.prototype.shallow_cmp=en;pe.prototype.shallow_cmp=en;de.prototype.shallow_cmp=en;me.prototype.shallow_cmp=Jt({is_star:"eq"});Ee.prototype.shallow_cmp=Jt({alternative:"exist"});ge.prototype.shallow_cmp=en;ve.prototype.shallow_cmp=en;ye.prototype.shallow_cmp=Jt({bcatch:"exist",bfinally:"exist"});ke.prototype.shallow_cmp=Jt({argname:"exist"});Se.prototype.shallow_cmp=en;Ae.prototype.shallow_cmp=en;Oe.prototype.shallow_cmp=Jt({value:"exist"});Fe.prototype.shallow_cmp=en;we.prototype.shallow_cmp=Jt({imported_name:"exist",imported_names:"exist"});Re.prototype.shallow_cmp=en;Me.prototype.shallow_cmp=Jt({exported_definition:"exist",exported_value:"exist",exported_names:"exist",module_name:"eq",is_default:"eq"});Ne.prototype.shallow_cmp=en;Pe.prototype.shallow_cmp=en;Ve.prototype.shallow_cmp=en;Le.prototype.shallow_cmp=Jt({property:"eq"});Ue.prototype.shallow_cmp=Jt({operator:"eq"});Ge.prototype.shallow_cmp=Jt({operator:"eq"});He.prototype.shallow_cmp=en;We.prototype.shallow_cmp=en;Ye.prototype.shallow_cmp=en;$e.prototype.shallow_cmp=en;je.prototype.shallow_cmp=Jt({key:"eq"});Ze.prototype.shallow_cmp=Jt({static:"eq"});Qe.prototype.shallow_cmp=Jt({static:"eq"});Je.prototype.shallow_cmp=Jt({static:"eq",is_generator:"eq",async:"eq"});et.prototype.shallow_cmp=Jt({name:"exist",extends:"exist"});tt.prototype.shallow_cmp=Jt({static:"eq"});rt.prototype.shallow_cmp=Jt({name:"eq"});at.prototype.shallow_cmp=en;Tt.prototype.shallow_cmp=en;Ct.prototype.shallow_cmp=en;Ot.prototype.shallow_cmp=Jt({value:"eq"});Ft.prototype.shallow_cmp=Jt({value:"eq"});wt.prototype.shallow_cmp=Jt({value:"eq"});Rt.prototype.shallow_cmp=function(e){return this.value.flags===e.value.flags&&this.value.source===e.value.source};Mt.prototype.shallow_cmp=en;const tn=1<<0;const nn=1<<1;let rn=null;let an=null;class SymbolDef{constructor(e,t,n){this.name=t.name;this.orig=[t];this.init=n;this.eliminated=0;this.assignments=0;this.scope=e;this.replaced=0;this.global=false;this.export=0;this.mangled_name=null;this.undeclared=false;this.id=SymbolDef.next_id++;this.chained=false;this.direct_access=false;this.escaped=0;this.recursive_refs=0;this.references=[];this.should_replace=undefined;this.single_use=false;this.fixed=false;Object.seal(this)}fixed_value(){if(!this.fixed||this.fixed instanceof R)return this.fixed;return this.fixed()}unmangleable(e){if(!e)e={};if(rn&&rn.has(this.id)&&keep_name(e.keep_fnames,this.orig[0].name))return true;return this.global&&!e.toplevel||this.export&tn||this.undeclared||!e.eval&&this.scope.pinned()||(this.orig[0]instanceof dt||this.orig[0]instanceof pt)&&keep_name(e.keep_fnames,this.orig[0].name)||this.orig[0]instanceof _t||(this.orig[0]instanceof Et||this.orig[0]instanceof mt)&&keep_name(e.keep_classnames,this.orig[0].name)}mangle(e){const 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;var i=this.orig[0];if(e.ie8&&i instanceof dt)n=n.parent_scope;const r=redefined_catch_def(this);this.mangled_name=r?r.mangled_name||r.name:n.next_mangled(e,this);if(this.global&&t){t.set(this.name,this.mangled_name)}}}}SymbolDef.next_id=1;function redefined_catch_def(e){if(e.orig[0]instanceof gt&&e.scope.is_block_scope()){return e.scope.get_defun_scope().variables.get(e.name)}}j.DEFMETHOD("figure_out_scope",function(e,{parent_scope:t=null,toplevel:n=this}={}){e=defaults(e,{cache:null,ie8:false,safari10:false});if(!(n instanceof Z)){throw new Error("Invalid toplevel scope")}var i=this.parent_scope=t;var r=new Map;var a=null;var o=null;var s=[];var u=new TreeWalker((t,n)=>{if(t.is_block_scope()){const r=i;t.block_scope=i=new j(t);i._block_scope=true;const a=t instanceof ke?r.parent_scope:r;i.init_scope_vars(a);i.uses_with=r.uses_with;i.uses_eval=r.uses_eval;if(e.safari10){if(t instanceof q||t instanceof W){s.push(i)}}if(t instanceof ge){const e=i;i=r;t.expression.walk(u);i=e;for(let e=0;e<t.body.length;e++){t.body[e].walk(u)}}else{n()}i=r;return true}if(t instanceof re){const e=o;o=t;n();o=e;return true}if(t instanceof j){t.init_scope_vars(i);var c=i;var l=a;var f=r;a=i=t;r=new Map;n();i=c;a=l;r=f;return true}if(t instanceof K){var p=t.label;if(r.has(p.name)){throw new Error(string_template("Label {name} defined twice",p))}r.set(p.name,p);n();r.delete(p.name);return true}if(t instanceof $){for(var _=i;_;_=_.parent_scope)_.uses_with=true;return}if(t instanceof rt){t.scope=i}if(t instanceof bt){t.thedef=t;t.references=[]}if(t instanceof dt){a.def_function(t,t.name=="arguments"?undefined:a)}else if(t instanceof pt){mark_export((t.scope=a.parent_scope.get_defun_scope()).def_function(t,a),1)}else if(t instanceof Et){mark_export(a.def_variable(t,a),1)}else if(t instanceof vt){i.def_variable(t)}else if(t instanceof mt){mark_export((t.scope=a.parent_scope).def_function(t,a),1)}else if(t instanceof st||t instanceof lt||t instanceof ct||t instanceof gt){var h;if(t instanceof ut){h=i.def_variable(t,null)}else{h=a.def_variable(t,t.TYPE=="SymbolVar"?null:undefined)}if(!h.orig.every(e=>{if(e===t)return true;if(t instanceof ut){return e instanceof dt}return!(e instanceof lt||e instanceof ct)})){js_error(`"${t.name}" is redeclared`,t.start.file,t.start.line,t.start.col,t.start.pos)}if(!(t instanceof ft))mark_export(h,2);if(a!==i){t.mark_enclosed();var h=i.find_variable(t);if(t.thedef!==h){t.thedef=h;t.reference()}}}else if(t instanceof At){var d=r.get(t.name);if(!d)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:t.name,line:t.start.line,col:t.start.col}));t.thedef=d}if(!(i instanceof Z)&&(t instanceof Me||t instanceof we)){js_error(`"${t.TYPE}" statement may only appear at the top level`,t.start.file,t.start.line,t.start.col,t.start.pos)}});this.walk(u);function mark_export(e,t){if(o){var n=0;do{t++}while(u.parent(n++)!==o)}var i=u.parent(t);if(e.export=i instanceof Me?tn:0){var r=i.exported_definition;if((r instanceof ie||r instanceof nt)&&i.is_default){e.export=nn}}}const c=this instanceof Z;if(c){this.globals=new Map}var u=new TreeWalker(e=>{if(e instanceof pe&&e.label){e.label.thedef.references.push(e);return true}if(e instanceof yt){var t=e.name;if(t=="eval"&&u.parent()instanceof Ne){for(var i=e.scope;i&&!i.uses_eval;i=i.parent_scope){i.uses_eval=true}}var r;if(u.parent()instanceof Fe&&u.parent(1).module_name||!(r=e.scope.find_variable(t))){r=n.def_global(e);if(e instanceof kt)r.export=tn}else if(r.scope instanceof J&&t=="arguments"){r.scope.uses_arguments=true}e.thedef=r;e.reference();if(e.scope.is_block_scope()&&!(r.orig[0]instanceof ut)){e.scope=e.scope.get_defun_scope()}return true}var a;if(e instanceof gt&&(a=redefined_catch_def(e.definition()))){var i=e.scope;while(i){push_uniq(i.enclosed,a);if(i===a.scope)break;i=i.parent_scope}}});this.walk(u);if(e.ie8||e.safari10){walk(this,e=>{if(e instanceof gt){var t=e.name;var i=e.thedef.references;var r=e.scope.get_defun_scope();var a=r.find_variable(t)||n.globals.get(t)||r.def_variable(e);i.forEach(function(e){e.thedef=a;e.reference()});e.thedef=a;e.reference();return true}})}if(e.safari10){for(const e of s){e.parent_scope.variables.forEach(function(t){push_uniq(e.enclosed,t)})}}});Z.DEFMETHOD("def_global",function(e){var t=this.globals,n=e.name;if(t.has(n)){return t.get(n)}else{var i=new SymbolDef(this,e);i.undeclared=true;i.global=true;t.set(n,i);return i}});j.DEFMETHOD("init_scope_vars",function(e){this.variables=new Map;this.functions=new Map;this.uses_with=false;this.uses_eval=false;this.parent_scope=e;this.enclosed=[];this.cname=-1});j.DEFMETHOD("conflicting_def",function(e){return this.enclosed.find(t=>t.name===e)||this.variables.has(e)||this.parent_scope&&this.parent_scope.conflicting_def(e)});j.DEFMETHOD("add_child_scope",function(e){if(e.parent_scope===this)return;e.parent_scope=this;const t=(()=>{const e=[];let t=this;do{e.push(t)}while(t=t.parent_scope);e.reverse();return e})();const n=new Set(e.enclosed);const i=[];for(const e of t){i.forEach(t=>push_uniq(e.enclosed,t));for(const t of e.variables.values()){if(n.has(t)){push_uniq(i,t);push_uniq(e.enclosed,t)}}}});j.DEFMETHOD("create_symbol",function(e,{source:t,tentative_name:n,scope:i,init:r=null}={}){let a;if(n){n=a=n.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/gi,"_");let e=0;while(this.conflicting_def(a)){a=n+"$"+e++}}if(!a){throw new Error("No symbol name could be generated in create_symbol()")}const o=make_node(e,t,{name:a,scope:i});this.def_variable(o,r||null);o.mark_enclosed();return o});R.DEFMETHOD("is_block_scope",return_false);et.DEFMETHOD("is_block_scope",return_false);J.DEFMETHOD("is_block_scope",return_false);Z.DEFMETHOD("is_block_scope",return_false);ve.DEFMETHOD("is_block_scope",return_false);V.DEFMETHOD("is_block_scope",return_true);j.DEFMETHOD("is_block_scope",function(){return this._block_scope||false});z.DEFMETHOD("is_block_scope",return_true);J.DEFMETHOD("init_scope_vars",function(){j.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new ft({name:"arguments",start:this.start,end:this.end}))});ne.DEFMETHOD("init_scope_vars",function(){j.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false});rt.DEFMETHOD("mark_enclosed",function(){var e=this.definition();var t=this.scope;while(t){push_uniq(t.enclosed,e);if(t===e.scope)break;t=t.parent_scope}});rt.DEFMETHOD("reference",function(){this.definition().references.push(this);this.mark_enclosed()});j.DEFMETHOD("find_variable",function(e){if(e instanceof rt)e=e.name;return this.variables.get(e)||this.parent_scope&&this.parent_scope.find_variable(e)});j.DEFMETHOD("def_function",function(e,t){var n=this.def_variable(e,t);if(!n.init||n.init instanceof ie)n.init=t;this.functions.set(e.name,n);return n});j.DEFMETHOD("def_variable",function(e,t){var n=this.variables.get(e.name);if(n){n.orig.push(e);if(n.init&&(n.scope!==e.scope||n.init instanceof te)){n.init=t}}else{n=new SymbolDef(this,e,t);this.variables.set(e.name,n);n.global=!this.parent_scope}return e.thedef=n});function next_mangled(e,t){var n=e.enclosed;e:while(true){var i=on(++e.cname);if(u.has(i))continue;if(t.reserved.has(i))continue;if(an&&an.has(i))continue e;for(let e=n.length;--e>=0;){const r=n[e];const a=r.mangled_name||r.unmangleable(t)&&r.name;if(i==a)continue e}return i}}j.DEFMETHOD("next_mangled",function(e){return next_mangled(this,e)});Z.DEFMETHOD("next_mangled",function(e){let t;const n=this.mangled_names;do{t=next_mangled(this,e)}while(n.has(t));return t});te.DEFMETHOD("next_mangled",function(e,t){var n=t.orig[0]instanceof ft&&this.name&&this.name.definition();var i=n?n.mangled_name||n.name:null;while(true){var r=next_mangled(this,e);if(!i||i!=r)return r}});rt.DEFMETHOD("unmangleable",function(e){var t=this.definition();return!t||t.unmangleable(e)});bt.DEFMETHOD("unmangleable",return_false);rt.DEFMETHOD("unreferenced",function(){return!this.definition().references.length&&!this.scope.pinned()});rt.DEFMETHOD("definition",function(){return this.thedef});rt.DEFMETHOD("global",function(){return this.thedef.global});Z.DEFMETHOD("_default_mangler_options",function(e){e=defaults(e,{eval:false,ie8:false,keep_classnames:false,keep_fnames:false,module:false,reserved:[],toplevel:false});if(e.module)e.toplevel=true;if(!Array.isArray(e.reserved)&&!(e.reserved instanceof Set)){e.reserved=[]}e.reserved=new Set(e.reserved);e.reserved.add("arguments");return e});Z.DEFMETHOD("mangle_names",function(e){e=this._default_mangler_options(e);var t=-1;var n=[];if(e.keep_fnames){rn=new Set}const i=this.mangled_names=new Set;if(e.cache){this.globals.forEach(collect);if(e.cache.props){e.cache.props.forEach(function(e){i.add(e)})}}var r=new TreeWalker(function(i,r){if(i instanceof K){var a=t;r();t=a;return true}if(i instanceof j){i.variables.forEach(collect);return}if(i.is_block_scope()){i.block_scope.variables.forEach(collect);return}if(rn&&i instanceof Oe&&i.value instanceof J&&!i.value.name&&keep_name(e.keep_fnames,i.name.name)){rn.add(i.name.definition().id);return}if(i instanceof bt){let e;do{e=on(++t)}while(u.has(e));i.mangled_name=e;return true}if(!(e.ie8||e.safari10)&&i instanceof gt){n.push(i.definition());return}});this.walk(r);if(e.keep_fnames||e.keep_classnames){an=new Set;n.forEach(t=>{if(t.name.length<6&&t.unmangleable(e)){an.add(t.name)}})}n.forEach(t=>{t.mangle(e)});rn=null;an=null;function collect(t){const i=!e.reserved.has(t.name)&&!(t.export&tn);if(i){n.push(t)}}});Z.DEFMETHOD("find_colliding_names",function(e){const t=e.cache&&e.cache.props;const n=new Set;e.reserved.forEach(to_avoid);this.globals.forEach(add_def);this.walk(new TreeWalker(function(e){if(e instanceof j)e.variables.forEach(add_def);if(e instanceof gt)add_def(e.definition())}));return n;function to_avoid(e){n.add(e)}function add_def(n){var i=n.name;if(n.global&&t&&t.has(i))i=t.get(i);else if(!n.unmangleable(e))return;to_avoid(i)}});Z.DEFMETHOD("expand_names",function(e){on.reset();on.sort();e=this._default_mangler_options(e);var t=this.find_colliding_names(e);var n=0;this.globals.forEach(rename);this.walk(new TreeWalker(function(e){if(e instanceof j)e.variables.forEach(rename);if(e instanceof gt)rename(e.definition())}));function next_name(){var e;do{e=on(n++)}while(t.has(e)||u.has(e));return e}function rename(t){if(t.global&&e.cache)return;if(t.unmangleable(e))return;if(e.reserved.has(t.name))return;const n=redefined_catch_def(t);const i=t.name=n?n.name:next_name();t.orig.forEach(function(e){e.name=i});t.references.forEach(function(e){e.name=i})}});R.DEFMETHOD("tail_node",return_this);Pe.DEFMETHOD("tail_node",function(){return this.expressions[this.expressions.length-1]});Z.DEFMETHOD("compute_char_frequency",function(e){e=this._default_mangler_options(e);try{R.prototype.print=function(t,n){this._print(t,n);if(this instanceof rt&&!this.unmangleable(e)){on.consider(this.name,-1)}else if(e.properties){if(this instanceof Le){on.consider(this.property,-1)}else if(this instanceof Be){skip_string(this.property)}}};on.consider(this.print_to_string(),1)}finally{R.prototype.print=R.prototype._print}on.sort();function skip_string(e){if(e instanceof Ot){on.consider(e.value,-1)}else if(e instanceof He){skip_string(e.consequent);skip_string(e.alternative)}else if(e instanceof Pe){skip_string(e.tail_node())}}});const on=(()=>{const e="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split("");const t="0123456789".split("");let n;let i;function reset(){i=new Map;e.forEach(function(e){i.set(e,0)});t.forEach(function(e){i.set(e,0)})}base54.consider=function(e,t){for(var n=e.length;--n>=0;){i.set(e[n],i.get(e[n])+t)}};function compare(e,t){return i.get(t)-i.get(e)}base54.sort=function(){n=mergeSort(e,compare).concat(mergeSort(t,compare))};base54.reset=reset;reset();function base54(e){var t="",i=54;e++;do{e--;t+=n[e%i];e=Math.floor(e/i);i=64}while(e>0);return t}return base54})();let sn=undefined;R.prototype.size=function(e,t){sn=undefined;let n=0;walk_parent(this,(e,t)=>{n+=e._size(t)},t||e&&e.stack);sn=undefined;return n};R.prototype._size=(()=>0);N.prototype._size=(()=>8);I.prototype._size=function(){return 2+this.value.length};const un=e=>e.length&&e.length-1;V.prototype._size=function(){return 2+un(this.body)};Z.prototype._size=function(){return un(this.body)};B.prototype._size=(()=>1);K.prototype._size=(()=>2);H.prototype._size=(()=>9);X.prototype._size=(()=>7);q.prototype._size=(()=>8);W.prototype._size=(()=>8);$.prototype._size=(()=>6);Q.prototype._size=(()=>3);const cn=e=>(e.is_generator?1:0)+(e.async?6:0);ee.prototype._size=function(){return cn(this)+4+un(this.argnames)+un(this.body)};te.prototype._size=function(e){const t=!!first_in_statement(e);return t*2+cn(this)+12+un(this.argnames)+un(this.body)};ie.prototype._size=function(){return cn(this)+13+un(this.argnames)+un(this.body)};ne.prototype._size=function(){let e=2+un(this.argnames);if(!(this.argnames.length===1&&this.argnames[0]instanceof rt)){e+=2}return cn(this)+e+(Array.isArray(this.body)?un(this.body):this.body._size())};re.prototype._size=(()=>2);oe.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3};se.prototype._size=function(){return this.value.length};le.prototype._size=function(){return this.value?7:6};fe.prototype._size=(()=>6);_e.prototype._size=function(){return this.label?6:5};he.prototype._size=function(){return this.label?9:8};Ee.prototype._size=(()=>4);ge.prototype._size=function(){return 8+un(this.body)};be.prototype._size=function(){return 5+un(this.body)};De.prototype._size=function(){return 8+un(this.body)};ye.prototype._size=function(){return 3+un(this.body)};ke.prototype._size=function(){let e=7+un(this.body);if(this.argname){e+=2}return e};Se.prototype._size=function(){return 7+un(this.body)};const ln=(e,t)=>e+un(t.definitions);Te.prototype._size=function(){return ln(4,this)};Ce.prototype._size=function(){return ln(4,this)};xe.prototype._size=function(){return ln(6,this)};Oe.prototype._size=function(){return this.value?1:0};Fe.prototype._size=function(){return this.name?4:0};we.prototype._size=function(){let e=6;if(this.imported_name)e+=1;if(this.imported_name||this.imported_names)e+=5;if(this.imported_names){e+=2+un(this.imported_names)}return e};Re.prototype._size=(()=>11);Me.prototype._size=function(){let e=7+(this.is_default?8:0);if(this.exported_value){e+=this.exported_value._size()}if(this.exported_names){e+=2+un(this.exported_names)}if(this.module_name){e+=5}return e};Ne.prototype._size=function(){return 2+un(this.args)};Ie.prototype._size=function(){return 6+un(this.args)};Pe.prototype._size=function(){return un(this.expressions)};Le.prototype._size=function(){return this.property.length+1};Be.prototype._size=(()=>2);Ue.prototype._size=function(){if(this.operator==="typeof")return 7;if(this.operator==="void")return 5;return this.operator.length};Ge.prototype._size=function(e){if(this.operator==="in")return 4;let t=this.operator.length;if((this.operator==="+"||this.operator==="-")&&this.right instanceof Ue&&this.right.operator===this.operator){t+=1}if(this.needs_parens(e)){t+=2}return t};He.prototype._size=(()=>3);We.prototype._size=function(){return 2+un(this.elements)};Ye.prototype._size=function(e){let t=2;if(first_in_statement(e)){t+=2}return t+un(this.properties)};const fn=e=>typeof e==="string"?e.length:0;je.prototype._size=function(){return fn(this.key)+1};const pn=e=>e?7:0;Qe.prototype._size=function(){return 5+pn(this.static)+fn(this.key)};Ze.prototype._size=function(){return 5+pn(this.static)+fn(this.key)};Je.prototype._size=function(){return pn(this.static)+fn(this.key)+cn(this)};et.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)};tt.prototype._size=function(){return pn(this.static)+(typeof this.key==="string"?this.key.length+2:0)+(this.value?1:0)};rt.prototype._size=function(){return!sn||this.definition().unmangleable(sn)?this.name.length:2};ht.prototype._size=function(){return this.name.length};yt.prototype._size=ot.prototype._size=function(){const{name:e,thedef:t}=this;if(t&&t.global)return e.length;if(e==="arguments")return 9;return 2};at.prototype._size=(()=>10);Dt.prototype._size=function(){return this.name.length};St.prototype._size=function(){return this.name.length};Tt.prototype._size=(()=>4);Ct.prototype._size=(()=>5);Ot.prototype._size=function(){return this.value.length+2};Ft.prototype._size=function(){const{value:e}=this;if(e===0)return 1;if(e>0&&Math.floor(e)===e){return Math.floor(Math.log10(e)+1)}return e.toString().length};wt.prototype._size=function(){return this.value.length};Rt.prototype._size=function(){return this.value.toString().length};Nt.prototype._size=(()=>4);It.prototype._size=(()=>3);Pt.prototype._size=(()=>6);Vt.prototype._size=(()=>0);Lt.prototype._size=(()=>8);Kt.prototype._size=(()=>4);Ut.prototype._size=(()=>5);de.prototype._size=(()=>6);me.prototype._size=(()=>6);const _n=1;const hn=2;const dn=4;const mn=8;const En=16;const gn=32;const vn=256;const Dn=512;const bn=1024;const yn=vn|Dn|bn;const kn=(e,t)=>e.flags&t;const Sn=(e,t)=>{e.flags|=t};const An=(e,t)=>{e.flags&=~t};class Compressor extends TreeWalker{constructor(e,t){super();if(e.defaults!==undefined&&!e.defaults)t=true;this.options=defaults(e,{arguments:false,arrows:!t,booleans:!t,booleans_as_integers:false,collapse_vars:!t,comparisons:!t,computed_props:!t,conditionals:!t,dead_code:!t,defaults:true,directives:!t,drop_console:false,drop_debugger:!t,ecma:5,evaluate:!t,expression:false,global_defs:false,hoist_funs:false,hoist_props:!t,hoist_vars:false,ie8:false,if_return:!t,inline:!t,join_vars:!t,keep_classnames:false,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!t,module:false,negate_iife:!t,passes:1,properties:!t,pure_getters:!t&&"strict",pure_funcs:null,reduce_funcs:null,reduce_vars:!t,sequences:!t,side_effects:!t,switches:!t,top_retain:null,toplevel:!!(e&&e["top_retain"]),typeofs:!t,unsafe:false,unsafe_arrows:false,unsafe_comps:false,unsafe_Function:false,unsafe_math:false,unsafe_symbols:false,unsafe_methods:false,unsafe_proto:false,unsafe_regexp:false,unsafe_undefined:false,unused:!t,warnings:false},true);var n=this.options["global_defs"];if(typeof n=="object")for(var i in n){if(i[0]==="@"&&HOP(n,i)){n[i.slice(1)]=parse(n[i],{expression:true})}}if(this.options["inline"]===true)this.options["inline"]=3;var r=this.options["pure_funcs"];if(typeof r=="function"){this.pure_funcs=r}else{this.pure_funcs=r?function(e){return!r.includes(e.expression.print_to_string())}:return_true}var a=this.options["top_retain"];if(a instanceof RegExp){this.top_retain=function(e){return a.test(e.name)}}else if(typeof a=="function"){this.top_retain=a}else if(a){if(typeof a=="string"){a=a.split(/,/)}this.top_retain=function(e){return a.includes(e.name)}}if(this.options["module"]){this.directives["use strict"]=true;this.options["toplevel"]=true}var o=this.options["toplevel"];this.toplevel=typeof o=="string"?{funcs:/funcs/.test(o),vars:/vars/.test(o)}:{funcs:o,vars:o};var s=this.options["sequences"];this.sequences_limit=s==1?800:s|0;this.evaluated_regexps=new Map;this._toplevel=undefined}option(e){return this.options[e]}exposed(e){if(e.export)return true;if(e.global)for(var t=0,n=e.orig.length;t<n;t++)if(!this.toplevel[e.orig[t]instanceof pt?"funcs":"vars"])return true;return false}in_boolean_context(){if(!this.option("booleans"))return false;var e=this.self();for(var t=0,n;n=this.parent(t);t++){if(n instanceof P||n instanceof He&&n.condition===e||n instanceof G&&n.condition===e||n instanceof q&&n.condition===e||n instanceof Ee&&n.condition===e||n instanceof Ke&&n.operator=="!"&&n.expression===e){return true}if(n instanceof Ge&&(n.operator=="&&"||n.operator=="||"||n.operator=="??")||n instanceof He||n.tail_node()===e){e=n}else{return false}}}get_toplevel(){return this._toplevel}compress(e){e=e.resolve_defines(this);this._toplevel=e;if(this.option("expression")){this._toplevel.process_expression(true)}var t=+this.options.passes||1;var n=1/0;var i=false;var r={ie8:this.option("ie8")};for(var a=0;a<t;a++){this._toplevel.figure_out_scope(r);if(a===0&&this.option("drop_console")){this._toplevel=this._toplevel.drop_console()}if(a>0||this.option("reduce_vars")){this._toplevel.reset_opt_flags(this)}this._toplevel=this._toplevel.transform(this);if(t>1){let e=0;walk(this._toplevel,()=>{e++});if(e<n){n=e;i=false}else if(i){break}else{i=true}}}if(this.option("expression")){this._toplevel.process_expression(false)}e=this._toplevel;this._toplevel=undefined;return e}before(e,t){if(kn(e,vn))return e;var n=false;if(e instanceof j){e=e.hoist_properties(this);e=e.hoist_declarations(this);n=true}t(e,this);t(e,this);var i=e.optimize(this);if(n&&i instanceof j){i.drop_unused(this);t(i,this)}if(i===e)Sn(i,vn);return i}}function def_optimize(e,t){e.DEFMETHOD("optimize",function(e){var n=this;if(kn(n,Dn))return n;if(e.has_directive("use asm"))return n;var i=t(n,e);Sn(i,Dn);return i})}def_optimize(R,function(e){return e});Z.DEFMETHOD("drop_console",function(){return this.transform(new TreeTransformer(function(e){if(e.TYPE=="Call"){var t=e.expression;if(t instanceof Ve){var n=t.expression;while(n.expression){n=n.expression}if(is_undeclared_ref(n)&&n.name=="console"){return make_node(Pt,e)}}}}))});R.DEFMETHOD("equivalent_to",function(e){return Qt(this,e)});j.DEFMETHOD("process_expression",function(e,t){var n=this;var i=new TreeTransformer(function(r){if(e&&r instanceof P){return make_node(le,r,{value:r.body})}if(!e&&r instanceof le){if(t){var a=r.value&&r.value.drop_side_effect_free(t,true);return a?make_node(P,r,{body:a}):make_node(B,r)}return make_node(P,r,{body:r.value||make_node(Ke,r,{operator:"void",expression:make_node(Ft,r,{value:0})})})}if(r instanceof et||r instanceof J&&r!==n){return r}if(r instanceof V){var o=r.body.length-1;if(o>=0){r.body[o]=r.body[o].transform(i)}}else if(r instanceof Ee){r.body=r.body.transform(i);if(r.alternative){r.alternative=r.alternative.transform(i)}}else if(r instanceof $){r.body=r.body.transform(i)}return r});n.transform(i)});function read_property(e,t){t=get_value(t);if(t instanceof R)return;var n;if(e instanceof We){var i=e.elements;if(t=="length")return make_node_from_constant(i.length,e);if(typeof t=="number"&&t in i)n=i[t]}else if(e instanceof Ye){t=""+t;var r=e.properties;for(var a=r.length;--a>=0;){var o=r[a];if(!(o instanceof je))return;if(!n&&r[a].key===t)n=r[a].value}}return n instanceof yt&&n.fixed_value()||n}function is_modified(e,t,n,i,r,a){var o=t.parent(r);var s=is_lhs(n,o);if(s)return s;if(!a&&o instanceof Ne&&o.expression===n&&!(i instanceof ne)&&!(i instanceof et)&&!o.is_expr_pure(e)&&(!(i instanceof te)||!(o instanceof Ie)&&i.contains_this())){return true}if(o instanceof We){return is_modified(e,t,o,o,r+1)}if(o instanceof je&&n===o.value){var u=t.parent(r+1);return is_modified(e,t,u,u,r+2)}if(o instanceof Ve&&o.expression===n){var c=read_property(i,o.property);return!a&&is_modified(e,t,o,c,r+1)}}(function(e){e(R,noop);function reset_def(e,t){t.assignments=0;t.chained=false;t.direct_access=false;t.escaped=0;t.recursive_refs=0;t.references=[];t.single_use=undefined;if(t.scope.pinned()){t.fixed=false}else if(t.orig[0]instanceof ct||!e.exposed(t)){t.fixed=t.init}else{t.fixed=false}}function reset_variables(e,t,n){n.variables.forEach(function(n){reset_def(t,n);if(n.fixed===null){e.defs_to_safe_ids.set(n.id,e.safe_ids);mark(e,n,true)}else if(n.fixed){e.loop_ids.set(n.id,e.in_loop);mark(e,n,true)}})}function reset_block_variables(e,t){if(t.block_scope)t.block_scope.variables.forEach(t=>{reset_def(e,t)})}function push(e){e.safe_ids=Object.create(e.safe_ids)}function pop(e){e.safe_ids=Object.getPrototypeOf(e.safe_ids)}function mark(e,t,n){e.safe_ids[t.id]=n}function safe_to_read(e,t){if(t.single_use=="m")return false;if(e.safe_ids[t.id]){if(t.fixed==null){var n=t.orig[0];if(n instanceof ft||n.name=="arguments")return false;t.fixed=make_node(Pt,n)}return true}return t.fixed instanceof ie}function safe_to_assign(e,t,n,i){if(t.fixed===undefined)return true;let r;if(t.fixed===null&&(r=e.defs_to_safe_ids.get(t.id))){r[t.id]=false;e.defs_to_safe_ids.delete(t.id);return true}if(!HOP(e.safe_ids,t.id))return false;if(!safe_to_read(e,t))return false;if(t.fixed===false)return false;if(t.fixed!=null&&(!i||t.references.length>t.assignments))return false;if(t.fixed instanceof ie){return i instanceof R&&t.fixed.parent_scope===n}return t.orig.every(e=>{return!(e instanceof ct||e instanceof pt||e instanceof dt)})}function ref_once(e,t,n){return t.option("unused")&&!n.scope.pinned()&&n.references.length-n.recursive_refs==1&&e.loop_ids.get(n.id)===e.in_loop}function is_immutable(e){if(!e)return false;return e.is_constant()||e instanceof J||e instanceof Tt}function mark_escaped(e,t,n,i,r,a,o){var s=e.parent(a);if(r){if(r.is_constant())return;if(r instanceof it)return}if(s instanceof Xe&&s.operator=="="&&i===s.right||s instanceof Ne&&(i!==s.expression||s instanceof Ie)||s instanceof ce&&i===s.value&&i.scope!==t.scope||s instanceof Oe&&i===s.value||s instanceof me&&i===s.value&&i.scope!==t.scope){if(o>1&&!(r&&r.is_constant_expression(n)))o=1;if(!t.escaped||t.escaped>o)t.escaped=o;return}else if(s instanceof We||s instanceof de||s instanceof Ge&&xn.has(s.operator)||s instanceof He&&i!==s.condition||s instanceof Q||s instanceof Pe&&i===s.tail_node()){mark_escaped(e,t,n,s,s,a+1,o)}else if(s instanceof je&&i===s.value){var u=e.parent(a+1);mark_escaped(e,t,n,u,u,a+2,o)}else if(s instanceof Ve&&i===s.expression){r=read_property(r,s.property);mark_escaped(e,t,n,s,r,a+1,o+1);if(r)return}if(a>0)return;if(s instanceof Pe&&i!==s.tail_node())return;if(s instanceof P)return;t.direct_access=true}const t=e=>walk(e,e=>{if(!(e instanceof rt))return;var t=e.definition();if(!t)return;if(e instanceof yt)t.references.push(e);t.fixed=false});e(ee,function(e,t,n){push(e);reset_variables(e,n,this);t();pop(e);return true});e(Xe,function(e,n,i){var r=this;if(r.left instanceof re){t(r.left);return}var a=r.left;if(!(a instanceof yt))return;var o=a.definition();var s=safe_to_assign(e,o,a.scope,r.right);o.assignments++;if(!s)return;var u=o.fixed;if(!u&&r.operator!="=")return;var c=r.operator=="=";var l=c?r.right:r;if(is_modified(i,e,r,l,0))return;o.references.push(a);if(!c)o.chained=true;o.fixed=c?function(){return r.right}:function(){return make_node(Ge,r,{operator:r.operator.slice(0,-1),left:u instanceof R?u:u(),right:r.right})};mark(e,o,false);r.right.walk(e);mark(e,o,true);mark_escaped(e,o,a.scope,r,l,0,1);return true});e(Ge,function(e){if(!xn.has(this.operator))return;this.left.walk(e);push(e);this.right.walk(e);pop(e);return true});e(V,function(e,t,n){reset_block_variables(n,this)});e(be,function(e){push(e);this.expression.walk(e);pop(e);push(e);walk_body(this,e);pop(e);return true});e(et,function(e,t){An(this,En);push(e);t();pop(e);return true});e(He,function(e){this.condition.walk(e);push(e);this.consequent.walk(e);pop(e);push(e);this.alternative.walk(e);pop(e);return true});e(De,function(e,t){push(e);t();pop(e);return true});function mark_lambda(e,t,n){An(this,En);push(e);reset_variables(e,n,this);if(this.uses_arguments){t();pop(e);return}var i;if(!this.name&&(i=e.parent())instanceof Ne&&i.expression===this&&!i.args.some(e=>e instanceof Q)&&this.argnames.every(e=>e instanceof rt)){this.argnames.forEach((t,n)=>{if(!t.definition)return;var r=t.definition();if(r.orig.length>1)return;if(r.fixed===undefined&&(!this.uses_arguments||e.has_directive("use strict"))){r.fixed=function(){return i.args[n]||make_node(Pt,i)};e.loop_ids.set(r.id,e.in_loop);mark(e,r,true)}else{r.fixed=false}})}t();pop(e);return true}e(J,mark_lambda);e(H,function(e,t,n){reset_block_variables(n,this);const i=e.in_loop;e.in_loop=this;push(e);this.body.walk(e);if(has_break_or_continue(this)){pop(e);push(e)}this.condition.walk(e);pop(e);e.in_loop=i;return true});e(q,function(e,t,n){reset_block_variables(n,this);if(this.init)this.init.walk(e);const i=e.in_loop;e.in_loop=this;push(e);if(this.condition)this.condition.walk(e);this.body.walk(e);if(this.step){if(has_break_or_continue(this)){pop(e);push(e)}this.step.walk(e)}pop(e);e.in_loop=i;return true});e(W,function(e,n,i){reset_block_variables(i,this);t(this.init);this.object.walk(e);const r=e.in_loop;e.in_loop=this;push(e);this.body.walk(e);pop(e);e.in_loop=r;return true});e(Ee,function(e){this.condition.walk(e);push(e);this.body.walk(e);pop(e);if(this.alternative){push(e);this.alternative.walk(e);pop(e)}return true});e(K,function(e){push(e);this.body.walk(e);pop(e);return true});e(gt,function(){this.definition().fixed=false});e(yt,function(e,t,n){var i=this.definition();i.references.push(this);if(i.references.length==1&&!i.fixed&&i.orig[0]instanceof pt){e.loop_ids.set(i.id,e.in_loop)}var r;if(i.fixed===undefined||!safe_to_read(e,i)){i.fixed=false}else if(i.fixed){r=this.fixed_value();if(r instanceof J&&recursive_ref(e,i)){i.recursive_refs++}else if(r&&!n.exposed(i)&&ref_once(e,n,i)){i.single_use=r instanceof J&&!r.pinned()||r instanceof et||i.scope===this.scope&&r.is_constant_expression()}else{i.single_use=false}if(is_modified(n,e,this,r,0,is_immutable(r))){if(i.single_use){i.single_use="m"}else{i.fixed=false}}}mark_escaped(e,i,this.scope,this,r,0,1)});e(Z,function(e,t,n){this.globals.forEach(function(e){reset_def(n,e)});reset_variables(e,n,this)});e(ye,function(e,t,n){reset_block_variables(n,this);push(e);walk_body(this,e);pop(e);if(this.bcatch){push(e);this.bcatch.walk(e);pop(e)}if(this.bfinally)this.bfinally.walk(e);return true});e(Ue,function(e){var t=this;if(t.operator!=="++"&&t.operator!=="--")return;var n=t.expression;if(!(n instanceof yt))return;var i=n.definition();var r=safe_to_assign(e,i,n.scope,true);i.assignments++;if(!r)return;var a=i.fixed;if(!a)return;i.references.push(n);i.chained=true;i.fixed=function(){return make_node(Ge,t,{operator:t.operator.slice(0,-1),left:make_node(Ke,t,{operator:"+",expression:a instanceof R?a:a()}),right:make_node(Ft,t,{value:1})})};mark(e,i,true);return true});e(Oe,function(e,n){var i=this;if(i.name instanceof re){t(i.name);return}var r=i.name.definition();if(i.value){if(safe_to_assign(e,r,i.name.scope,i.value)){r.fixed=function(){return i.value};e.loop_ids.set(r.id,e.in_loop);mark(e,r,false);n();mark(e,r,true);return true}else{r.fixed=false}}});e(X,function(e,t,n){reset_block_variables(n,this);const i=e.in_loop;e.in_loop=this;push(e);t();pop(e);e.in_loop=i;return true})})(function(e,t){e.DEFMETHOD("reduce_vars",t)});Z.DEFMETHOD("reset_opt_flags",function(e){const t=this;const n=e.option("reduce_vars");const i=new TreeWalker(function(r,a){An(r,yn);if(n){if(e.top_retain&&r instanceof ie&&i.parent()===t){Sn(r,bn)}return r.reduce_vars(i,a,e)}});i.safe_ids=Object.create(null);i.in_loop=null;i.loop_ids=new Map;i.defs_to_safe_ids=new Map;t.walk(i)});rt.DEFMETHOD("fixed_value",function(){var e=this.thedef.fixed;if(!e||e instanceof R)return e;return e()});yt.DEFMETHOD("is_immutable",function(){var e=this.definition().orig;return e.length==1&&e[0]instanceof dt});function is_func_expr(e){return e instanceof ne||e instanceof te}function is_lhs_read_only(e){if(e instanceof Tt)return true;if(e instanceof yt)return e.definition().orig[0]instanceof dt;if(e instanceof Ve){e=e.expression;if(e instanceof yt){if(e.is_immutable())return false;e=e.fixed_value()}if(!e)return true;if(e instanceof Rt)return false;if(e instanceof xt)return true;return is_lhs_read_only(e)}return false}function is_ref_of(e,t){if(!(e instanceof yt))return false;var n=e.definition().orig;for(var i=n.length;--i>=0;){if(n[i]instanceof t)return true}}function find_scope(e){for(let t=0;;t++){const n=e.parent(t);if(n instanceof Z)return n;if(n instanceof J)return n;if(n.block_scope)return n.block_scope}}function find_variable(e,t){var n,i=0;while(n=e.parent(i++)){if(n instanceof j)break;if(n instanceof ke&&n.argname){n=n.argname.definition().scope;break}}return n.find_variable(t)}function make_sequence(e,t){if(t.length==1)return t[0];if(t.length==0)throw new Error("trying to create a sequence with length zero!");return make_node(Pe,e,{expressions:t.reduce(merge_sequence,[])})}function make_node_from_constant(e,t){switch(typeof e){case"string":return make_node(Ot,t,{value:e});case"number":if(isNaN(e))return make_node(It,t);if(isFinite(e)){return 1/e<0?make_node(Ke,t,{operator:"-",expression:make_node(Ft,t,{value:-e})}):make_node(Ft,t,{value:e})}return e<0?make_node(Ke,t,{operator:"-",expression:make_node(Lt,t)}):make_node(Lt,t);case"boolean":return make_node(e?Kt:Ut,t);case"undefined":return make_node(Pt,t);default:if(e===null){return make_node(Nt,t,{value:null})}if(e instanceof RegExp){return make_node(Rt,t,{value:{source:regexp_source_fix(e.source),flags:e.flags}})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof e}))}}function maintain_this_binding(e,t,n){if(e instanceof Ke&&e.operator=="delete"||e instanceof Ne&&e.expression===t&&(n instanceof Ve||n instanceof yt&&n.name=="eval")){return make_sequence(t,[make_node(Ft,t,{value:0}),n])}return n}function merge_sequence(e,t){if(t instanceof Pe){e.push(...t.expressions)}else{e.push(t)}return e}function as_statement_array(e){if(e===null)return[];if(e instanceof L)return e.body;if(e instanceof B)return[];if(e instanceof M)return[e];throw new Error("Can't convert thing to statement array")}function is_empty(e){if(e===null)return true;if(e instanceof B)return true;if(e instanceof L)return e.body.length==0;return false}function can_be_evicted_from_block(e){return!(e instanceof nt||e instanceof ie||e instanceof Ce||e instanceof xe||e instanceof Me||e instanceof we)}function loop_body(e){if(e instanceof z){return e.body instanceof L?e.body:e}return e}function is_iife_call(e){if(e.TYPE!="Call")return false;return e.expression instanceof te||is_iife_call(e.expression)}function is_undeclared_ref(e){return e instanceof yt&&e.definition().undeclared}var Tn=makePredicate("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");yt.DEFMETHOD("is_declared",function(e){return!this.definition().undeclared||e.option("unsafe")&&Tn.has(this.name)});var Cn=makePredicate("Infinity NaN undefined");function is_identifier_atom(e){return e instanceof Lt||e instanceof It||e instanceof Pt}function tighten_body(e,t){var n,r;var a=t.find_parent(j).get_defun_scope();find_loop_scope_try();var o,s=10;do{o=false;eliminate_spurious_blocks(e);if(t.option("dead_code")){eliminate_dead_code(e,t)}if(t.option("if_return")){handle_if_return(e,t)}if(t.sequences_limit>0){sequencesize(e,t);sequencesize_2(e,t)}if(t.option("join_vars")){join_consecutive_vars(e)}if(t.option("collapse_vars")){collapse(e,t)}}while(o&&s-- >0);function find_loop_scope_try(){var e=t.self(),i=0;do{if(e instanceof ke||e instanceof Se){i++}else if(e instanceof z){n=true}else if(e instanceof j){a=e;break}else if(e instanceof ye){r=true}}while(e=t.parent(i++))}function collapse(e,t){if(a.pinned())return e;var s;var u=[];var c=e.length;var l=new TreeTransformer(function(e){if(T)return e;if(!A){if(e!==p[_])return e;_++;if(_<p.length)return handle_custom_scan_order(e);A=true;m=find_stop(e,0);if(m===e)T=true;return e}var n=l.parent();if(e instanceof Xe&&e.operator!="="&&g.equivalent_to(e.left)||e instanceof de||e instanceof Ne&&g instanceof Ve&&g.equivalent_to(e.expression)||e instanceof N||e instanceof re||e instanceof Q&&e.expression instanceof rt&&e.expression.definition().references.length>1||e instanceof z&&!(e instanceof q)||e instanceof pe||e instanceof ye||e instanceof $||e instanceof me||e instanceof Me||e instanceof et||n instanceof q&&e!==n.init||!y&&(e instanceof yt&&!e.is_declared(t)&&!Nn.has(e))||e instanceof yt&&n instanceof Ne&&has_annotation(n,Xt)){T=true;return e}if(!E&&(!D||!y)&&(n instanceof Ge&&xn.has(n.operator)&&n.left!==e||n instanceof He&&n.condition!==e||n instanceof Ee&&n.condition!==e)){E=n}if(x&&!(e instanceof ot)&&g.equivalent_to(e)){if(E){T=true;return e}if(is_lhs(e,n)){if(d)C++;return e}else{C++;if(d&&h instanceof Oe)return e}o=T=true;if(h instanceof ze){return make_node(Ke,h,h)}if(h instanceof Oe){var i=h.name.definition();var a=h.value;if(i.references.length-i.replaced==1&&!t.exposed(i)){i.replaced++;if(S&&is_identifier_atom(a)){return a.transform(t)}else{return maintain_this_binding(n,e,a)}}return make_node(Xe,h,{operator:"=",left:make_node(yt,h.name,h.name),right:a})}An(h,gn);return h}var s;if(e instanceof Ne||e instanceof ce&&(b||g instanceof Ve||may_modify(g))||e instanceof Ve&&(b||e.expression.may_throw_on_access(t))||e instanceof yt&&(v.get(e.name)||b&&may_modify(e))||e instanceof Oe&&e.value&&(v.has(e.name.name)||b&&may_modify(e.name))||(s=is_lhs(e.left,e))&&(s instanceof Ve||v.has(s.name))||k&&(r?e.has_side_effects(t):side_effects_external(e))){m=e;if(e instanceof j)T=true}return handle_custom_scan_order(e)},function(e){if(T)return;if(m===e)T=true;if(E===e)E=null});var f=new TreeTransformer(function(e){if(T)return e;if(!A){if(e!==p[_])return e;_++;if(_<p.length)return;A=true;return e}if(e instanceof yt&&e.name==w.name){if(!--C)T=true;if(is_lhs(e,f.parent()))return e;w.replaced++;d.replaced--;return h.value}if(e instanceof De||e instanceof j)return e});while(--c>=0){if(c==0&&t.option("unused"))extract_args();var p=[];extract_candidates(e[c]);while(u.length>0){p=u.pop();var _=0;var h=p[p.length-1];var d=null;var m=null;var E=null;var g=get_lhs(h);if(!g||is_lhs_read_only(g)||g.has_side_effects(t))continue;var v=get_lvalues(h);var D=is_lhs_local(g);if(g instanceof yt)v.set(g.name,false);var b=value_has_side_effects(h);var y=replace_all_symbols();var k=h.may_throw(t);var S=h.name instanceof ft;var A=S;var T=false,C=0,x=!s||!A;if(!x){for(var O=t.self().argnames.lastIndexOf(h.name)+1;!T&&O<s.length;O++){s[O].transform(l)}x=true}for(var F=c;!T&&F<e.length;F++){e[F].transform(l)}if(d){var w=h.name.definition();if(T&&w.references.length-w.replaced>C)C=false;else{T=false;_=0;A=S;for(var F=c;!T&&F<e.length;F++){e[F].transform(f)}d.single_use=false}}if(C&&!remove_candidate(h))e.splice(c,1)}}function handle_custom_scan_order(e){if(e instanceof j)return e;if(e instanceof ge){e.expression=e.expression.transform(l);for(var t=0,n=e.body.length;!T&&t<n;t++){var i=e.body[t];if(i instanceof be){if(!A){if(i!==p[_])continue;_++}i.expression=i.expression.transform(l);if(!y)break}}T=true;return e}}function redefined_within_scope(e,t){if(e.global)return false;let n=e.scope;while(n&&n!==t){if(n.variables.has(e.name))return true;n=n.parent_scope}return false}function has_overlapping_symbol(e,t,n){var i=false,r=!(e instanceof ne);t.walk(new TreeWalker(function(t,o){if(i)return true;if(t instanceof yt&&(e.variables.has(t.name)||redefined_within_scope(t.definition(),e))){var s=t.definition().scope;if(s!==a)while(s=s.parent_scope){if(s===a)return true}return i=true}if((n||r)&&t instanceof Tt){return i=true}if(t instanceof j&&!(t instanceof ne)){var u=r;r=false;o();r=u;return true}}));return i}function extract_args(){var e,n=t.self();if(is_func_expr(n)&&!n.name&&!n.uses_arguments&&!n.pinned()&&(e=t.parent())instanceof Ne&&e.expression===n&&e.args.every(e=>!(e instanceof Q))){var i=t.has_directive("use strict");if(i&&!member(i,n.body))i=false;var r=n.argnames.length;s=e.args.slice(r);var a=new Set;for(var o=r;--o>=0;){var c=n.argnames[o];var l=e.args[o];const r=c.definition&&c.definition();const p=r&&r.orig.length>1;if(p)continue;s.unshift(make_node(Oe,c,{name:c,value:l}));if(a.has(c.name))continue;a.add(c.name);if(c instanceof Q){var f=e.args.slice(o);if(f.every(e=>!has_overlapping_symbol(n,e,i))){u.unshift([make_node(Oe,c,{name:c.expression,value:make_node(We,e,{elements:f})})])}}else{if(!l){l=make_node(Pt,c).transform(t)}else if(l instanceof J&&l.pinned()||has_overlapping_symbol(n,l,i)){l=null}if(l)u.unshift([make_node(Oe,c,{name:c,value:l})])}}}}function extract_candidates(e){p.push(e);if(e instanceof Xe){if(!e.left.has_side_effects(t)){u.push(p.slice())}extract_candidates(e.right)}else if(e instanceof Ge){extract_candidates(e.left);extract_candidates(e.right)}else if(e instanceof Ne&&!has_annotation(e,Xt)){extract_candidates(e.expression);e.args.forEach(extract_candidates)}else if(e instanceof be){extract_candidates(e.expression)}else if(e instanceof He){extract_candidates(e.condition);extract_candidates(e.consequent);extract_candidates(e.alternative)}else if(e instanceof Ae){var n=e.definitions.length;var i=n-200;if(i<0)i=0;for(;i<n;i++){extract_candidates(e.definitions[i])}}else if(e instanceof G){extract_candidates(e.condition);if(!(e.body instanceof V)){extract_candidates(e.body)}}else if(e instanceof ce){if(e.value)extract_candidates(e.value)}else if(e instanceof q){if(e.init)extract_candidates(e.init);if(e.condition)extract_candidates(e.condition);if(e.step)extract_candidates(e.step);if(!(e.body instanceof V)){extract_candidates(e.body)}}else if(e instanceof W){extract_candidates(e.object);if(!(e.body instanceof V)){extract_candidates(e.body)}}else if(e instanceof Ee){extract_candidates(e.condition);if(!(e.body instanceof V)){extract_candidates(e.body)}if(e.alternative&&!(e.alternative instanceof V)){extract_candidates(e.alternative)}}else if(e instanceof Pe){e.expressions.forEach(extract_candidates)}else if(e instanceof P){extract_candidates(e.body)}else if(e instanceof ge){extract_candidates(e.expression);e.body.forEach(extract_candidates)}else if(e instanceof Ue){if(e.operator=="++"||e.operator=="--"){u.push(p.slice())}}else if(e instanceof Oe){if(e.value){u.push(p.slice());extract_candidates(e.value)}}p.pop()}function find_stop(e,t,n){var i=l.parent(t);if(i instanceof Xe){if(n&&!(i.left instanceof Ve||v.has(i.left.name))){return find_stop(i,t+1,n)}return e}if(i instanceof Ge){if(n&&(!xn.has(i.operator)||i.left===e)){return find_stop(i,t+1,n)}return e}if(i instanceof Ne)return e;if(i instanceof be)return e;if(i instanceof He){if(n&&i.condition===e){return find_stop(i,t+1,n)}return e}if(i instanceof Ae){return find_stop(i,t+1,true)}if(i instanceof ce){return n?find_stop(i,t+1,n):e}if(i instanceof Ee){if(n&&i.condition===e){return find_stop(i,t+1,n)}return e}if(i instanceof z)return e;if(i instanceof Pe){return find_stop(i,t+1,i.tail_node()!==e)}if(i instanceof P){return find_stop(i,t+1,true)}if(i instanceof ge)return e;if(i instanceof Oe)return e;return null}function mangleable_var(e){var t=e.value;if(!(t instanceof yt))return;if(t.name=="arguments")return;var n=t.definition();if(n.undeclared)return;return d=n}function get_lhs(e){if(e instanceof Oe&&e.name instanceof ot){var n=e.name.definition();if(!member(e.name,n.orig))return;var i=n.references.length-n.replaced;if(!i)return;var r=n.orig.length-n.eliminated;if(r>1&&!(e.name instanceof ft)||(i>1?mangleable_var(e):!t.exposed(n))){return make_node(yt,e.name,e.name)}}else{const t=e[e instanceof Xe?"left":"expression"];return!is_ref_of(t,ct)&&!is_ref_of(t,lt)&&t}}function get_rvalue(e){return e[e instanceof Xe?"right":"value"]}function get_lvalues(e){var n=new Map;if(e instanceof Ue)return n;var i=new TreeWalker(function(e){var r=e;while(r instanceof Ve)r=r.expression;if(r instanceof yt||r instanceof Tt){n.set(r.name,n.get(r.name)||is_modified(t,i,e,e,0))}});get_rvalue(e).walk(i);return n}function remove_candidate(n){if(n.name instanceof ft){var r=t.parent(),a=t.self().argnames;var o=a.indexOf(n.name);if(o<0){r.args.length=Math.min(r.args.length,a.length-1)}else{var s=r.args;if(s[o])s[o]=make_node(Ft,s[o],{value:0})}return true}var u=false;return e[c].transform(new TreeTransformer(function(e,t,r){if(u)return e;if(e===n||e.body===n){u=true;if(e instanceof Oe){e.value=e.name instanceof ct?make_node(Pt,e.value):null;return e}return r?i.skip:null}},function(e){if(e instanceof Pe)switch(e.expressions.length){case 0:return null;case 1:return e.expressions[0]}}))}function is_lhs_local(e){while(e instanceof Ve)e=e.expression;return e instanceof yt&&e.definition().scope===a&&!(n&&(v.has(e.name)||h instanceof Ue||h instanceof Xe&&h.operator!="="))}function value_has_side_effects(e){if(e instanceof Ue)return On.has(e.operator);return get_rvalue(e).has_side_effects(t)}function replace_all_symbols(){if(b)return false;if(d)return true;if(g instanceof yt){var e=g.definition();if(e.references.length-e.replaced==(h instanceof Oe?1:2)){return true}}return false}function may_modify(e){if(!e.definition)return true;var t=e.definition();if(t.orig.length==1&&t.orig[0]instanceof pt)return false;if(t.scope.get_defun_scope()!==a)return true;return!t.references.every(e=>{var t=e.scope.get_defun_scope();if(t.TYPE=="Scope")t=t.parent_scope;return t===a})}function side_effects_external(e,t){if(e instanceof Xe)return side_effects_external(e.left,true);if(e instanceof Ue)return side_effects_external(e.expression,true);if(e instanceof Oe)return e.value&&side_effects_external(e.value);if(t){if(e instanceof Le)return side_effects_external(e.expression,true);if(e instanceof Be)return side_effects_external(e.expression,true);if(e instanceof yt)return e.definition().scope!==a}return false}}function eliminate_spurious_blocks(e){var t=[];for(var n=0;n<e.length;){var i=e[n];if(i instanceof L&&i.body.every(can_be_evicted_from_block)){o=true;eliminate_spurious_blocks(i.body);e.splice(n,1,...i.body);n+=i.body.length}else if(i instanceof B){o=true;e.splice(n,1)}else if(i instanceof I){if(t.indexOf(i.value)<0){n++;t.push(i.value)}else{o=true;e.splice(n,1)}}else n++}}function handle_if_return(e,t){var n=t.self();var i=has_multiple_if_returns(e);var r=n instanceof J;for(var a=e.length;--a>=0;){var s=e[a];var u=next_index(a);var c=e[u];if(r&&!c&&s instanceof le){if(!s.value){o=true;e.splice(a,1);continue}if(s.value instanceof Ke&&s.value.operator=="void"){o=true;e[a]=make_node(P,s,{body:s.value.expression});continue}}if(s instanceof Ee){var l=aborts(s.body);if(can_merge_flow(l)){if(l.label){remove(l.label.thedef.references,l)}o=true;s=s.clone();s.condition=s.condition.negate(t);var f=as_statement_array_with_return(s.body,l);s.body=make_node(L,s,{body:as_statement_array(s.alternative).concat(extract_functions())});s.alternative=make_node(L,s,{body:f});e[a]=s.transform(t);continue}var l=aborts(s.alternative);if(can_merge_flow(l)){if(l.label){remove(l.label.thedef.references,l)}o=true;s=s.clone();s.body=make_node(L,s.body,{body:as_statement_array(s.body).concat(extract_functions())});var f=as_statement_array_with_return(s.alternative,l);s.alternative=make_node(L,s.alternative,{body:f});e[a]=s.transform(t);continue}}if(s instanceof Ee&&s.body instanceof le){var p=s.body.value;if(!p&&!s.alternative&&(r&&!c||c instanceof le&&!c.value)){o=true;e[a]=make_node(P,s.condition,{body:s.condition});continue}if(p&&!s.alternative&&c instanceof le&&c.value){o=true;s=s.clone();s.alternative=c;e[a]=s.transform(t);e.splice(u,1);continue}if(p&&!s.alternative&&(!c&&r&&i||c instanceof le)){o=true;s=s.clone();s.alternative=c||make_node(le,s,{value:null});e[a]=s.transform(t);if(c)e.splice(u,1);continue}var _=e[prev_index(a)];if(t.option("sequences")&&r&&!s.alternative&&_ instanceof Ee&&_.body instanceof le&&next_index(u)==e.length&&c instanceof P){o=true;s=s.clone();s.alternative=make_node(L,c,{body:[c,make_node(le,c,{value:null})]});e[a]=s.transform(t);e.splice(u,1);continue}}}function has_multiple_if_returns(e){var t=0;for(var n=e.length;--n>=0;){var i=e[n];if(i instanceof Ee&&i.body instanceof le){if(++t>1)return true}}return false}function is_return_void(e){return!e||e instanceof Ke&&e.operator=="void"}function can_merge_flow(i){if(!i)return false;for(var o=a+1,s=e.length;o<s;o++){var u=e[o];if(u instanceof xe||u instanceof Ce)return false}var c=i instanceof pe?t.loopcontrol_target(i):null;return i instanceof le&&r&&is_return_void(i.value)||i instanceof he&&n===loop_body(c)||i instanceof _e&&c instanceof L&&n===c}function extract_functions(){var t=e.slice(a+1);e.length=a+1;return t.filter(function(t){if(t instanceof ie){e.push(t);return false}return true})}function as_statement_array_with_return(e,t){var n=as_statement_array(e).slice(0,-1);if(t.value){n.push(make_node(P,t.value,{body:t.value.expression}))}return n}function next_index(t){for(var n=t+1,i=e.length;n<i;n++){var r=e[n];if(!(r instanceof Te&&declarations_only(r))){break}}return n}function prev_index(t){for(var n=t;--n>=0;){var i=e[n];if(!(i instanceof Te&&declarations_only(i))){break}}return n}}function eliminate_dead_code(e,t){var n;var i=t.self();for(var r=0,a=0,s=e.length;r<s;r++){var u=e[r];if(u instanceof pe){var c=t.loopcontrol_target(u);if(u instanceof _e&&!(c instanceof z)&&loop_body(c)===i||u instanceof he&&loop_body(c)===i){if(u.label){remove(u.label.thedef.references,u)}}else{e[a++]=u}}else{e[a++]=u}if(aborts(u)){n=e.slice(r+1);break}}e.length=a;o=a!=s;if(n)n.forEach(function(n){trim_unreachable_code(t,n,e)})}function declarations_only(e){return e.definitions.every(e=>!e.value)}function sequencesize(e,t){if(e.length<2)return;var n=[],i=0;function push_seq(){if(!n.length)return;var t=make_sequence(n[0],n);e[i++]=make_node(P,t,{body:t});n=[]}for(var r=0,a=e.length;r<a;r++){var s=e[r];if(s instanceof P){if(n.length>=t.sequences_limit)push_seq();var u=s.body;if(n.length>0)u=u.drop_side_effect_free(t);if(u)merge_sequence(n,u)}else if(s instanceof Ae&&declarations_only(s)||s instanceof ie){e[i++]=s}else{push_seq();e[i++]=s}}push_seq();e.length=i;if(i!=a)o=true}function to_simple_statement(e,t){if(!(e instanceof L))return e;var n=null;for(var i=0,r=e.body.length;i<r;i++){var a=e.body[i];if(a instanceof Te&&declarations_only(a)){t.push(a)}else if(n){return false}else{n=a}}return n}function sequencesize_2(e,t){function cons_seq(e){n--;o=true;var r=i.body;return make_sequence(r,[r,e]).transform(t)}var n=0,i;for(var r=0;r<e.length;r++){var a=e[r];if(i){if(a instanceof ce){a.value=cons_seq(a.value||make_node(Pt,a).transform(t))}else if(a instanceof q){if(!(a.init instanceof Ae)){const e=walk(i.body,e=>{if(e instanceof j)return true;if(e instanceof Ge&&e.operator==="in"){return zt}});if(!e){if(a.init)a.init=cons_seq(a.init);else{a.init=i.body;n--;o=true}}}}else if(a instanceof W){if(!(a.init instanceof xe)&&!(a.init instanceof Ce)){a.object=cons_seq(a.object)}}else if(a instanceof Ee){a.condition=cons_seq(a.condition)}else if(a instanceof ge){a.expression=cons_seq(a.expression)}else if(a instanceof $){a.expression=cons_seq(a.expression)}}if(t.option("conditionals")&&a instanceof Ee){var s=[];var u=to_simple_statement(a.body,s);var c=to_simple_statement(a.alternative,s);if(u!==false&&c!==false&&s.length>0){var l=s.length;s.push(make_node(Ee,a,{condition:a.condition,body:u||make_node(B,a.body),alternative:c}));s.unshift(n,1);[].splice.apply(e,s);r+=l;n+=l+1;i=null;o=true;continue}}e[n++]=a;i=a instanceof P?a:null}e.length=n}function join_object_assignments(e,n){if(!(e instanceof Ae))return;var i=e.definitions[e.definitions.length-1];if(!(i.value instanceof Ye))return;var r;if(n instanceof Xe){r=[n]}else if(n instanceof Pe){r=n.expressions.slice()}if(!r)return;var o=false;do{var s=r[0];if(!(s instanceof Xe))break;if(s.operator!="=")break;if(!(s.left instanceof Ve))break;var u=s.left.expression;if(!(u instanceof yt))break;if(i.name.name!=u.name)break;if(!s.right.is_constant_expression(a))break;var c=s.left.property;if(c instanceof R){c=c.evaluate(t)}if(c instanceof R)break;c=""+c;var l=t.option("ecma")<2015&&t.has_directive("use strict")?function(e){return e.key!=c&&(e.key&&e.key.name!=c)}:function(e){return e.key&&e.key.name!=c};if(!i.value.properties.every(l))break;var f=i.value.properties.filter(function(e){return e.key===c})[0];if(!f){i.value.properties.push(make_node(je,s,{key:c,value:s.right}))}else{f.value=new Pe({start:f.start,expressions:[f.value.clone(),s.right.clone()],end:f.end})}r.shift();o=true}while(r.length);return o&&r}function join_consecutive_vars(e){var t;for(var n=0,i=-1,r=e.length;n<r;n++){var a=e[n];var s=e[i];if(a instanceof Ae){if(s&&s.TYPE==a.TYPE){s.definitions=s.definitions.concat(a.definitions);o=true}else if(t&&t.TYPE==a.TYPE&&declarations_only(a)){t.definitions=t.definitions.concat(a.definitions);o=true}else{e[++i]=a;t=a}}else if(a instanceof ce){a.value=extract_object_assignments(a.value)}else if(a instanceof q){var u=join_object_assignments(s,a.init);if(u){o=true;a.init=u.length?make_sequence(a.init,u):null;e[++i]=a}else if(s instanceof Te&&(!a.init||a.init.TYPE==s.TYPE)){if(a.init){s.definitions=s.definitions.concat(a.init.definitions)}a.init=s;e[i]=a;o=true}else if(t&&a.init&&t.TYPE==a.init.TYPE&&declarations_only(a.init)){t.definitions=t.definitions.concat(a.init.definitions);a.init=null;e[++i]=a;o=true}else{e[++i]=a}}else if(a instanceof W){a.object=extract_object_assignments(a.object)}else if(a instanceof Ee){a.condition=extract_object_assignments(a.condition)}else if(a instanceof P){var u=join_object_assignments(s,a.body);if(u){o=true;if(!u.length)continue;a.body=make_sequence(a.body,u)}e[++i]=a}else if(a instanceof ge){a.expression=extract_object_assignments(a.expression)}else if(a instanceof $){a.expression=extract_object_assignments(a.expression)}else{e[++i]=a}}e.length=i+1;function extract_object_assignments(t){e[++i]=a;var n=join_object_assignments(s,t);if(n){o=true;if(n.length){return make_sequence(t,n)}else if(t instanceof Pe){return t.tail_node().left}else{return t.left}}return t}}}function trim_unreachable_code(e,t,n){walk(t,i=>{if(i instanceof Te){i.remove_initializers();n.push(i);return true}if(i instanceof ie&&(i===t||!e.has_directive("use strict"))){n.push(i===t?i:make_node(Te,i,{definitions:[make_node(Oe,i,{name:make_node(st,i.name,i.name),value:null})]}));return true}if(i instanceof Me||i instanceof we){n.push(i);return true}if(i instanceof j){return true}})}function get_value(e){if(e instanceof xt){return e.getValue()}if(e instanceof Ke&&e.operator=="void"&&e.expression instanceof xt){return}return e}function is_undefined(e,t){return kn(e,mn)||e instanceof Pt||e instanceof Ke&&e.operator=="void"&&!e.expression.has_side_effects(t)}(function(e){R.DEFMETHOD("may_throw_on_access",function(e){return!e.option("pure_getters")||this._dot_throw(e)});function is_strict(e){return/strict/.test(e.option("pure_getters"))}e(R,is_strict);e(Nt,return_true);e(Pt,return_true);e(xt,return_false);e(We,return_false);e(Ye,function(e){if(!is_strict(e))return false;for(var t=this.properties.length;--t>=0;)if(this.properties[t]._dot_throw(e))return true;return false});e(et,return_false);e($e,return_false);e(Qe,return_true);e(Q,function(e){return this.expression._dot_throw(e)});e(te,return_false);e(ne,return_false);e(ze,return_false);e(Ke,function(){return this.operator=="void"});e(Ge,function(e){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(e)||this.right._dot_throw(e))});e(Xe,function(e){return this.operator=="="&&this.right._dot_throw(e)});e(He,function(e){return this.consequent._dot_throw(e)||this.alternative._dot_throw(e)});e(Le,function(e){if(!is_strict(e))return false;if(this.expression instanceof te&&this.property=="prototype")return false;return true});e(Pe,function(e){return this.tail_node()._dot_throw(e)});e(yt,function(e){if(this.name==="arguments")return false;if(kn(this,mn))return true;if(!is_strict(e))return false;if(is_undeclared_ref(this)&&this.is_declared(e))return false;if(this.is_immutable())return false;var t=this.fixed_value();return!t||t._dot_throw(e)})})(function(e,t){e.DEFMETHOD("_dot_throw",t)});(function(e){const t=makePredicate("! delete");const n=makePredicate("in instanceof == != === !== < <= >= >");e(R,return_false);e(Ke,function(){return t.has(this.operator)});e(Ge,function(){return n.has(this.operator)||xn.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()});e(He,function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()});e(Xe,function(){return this.operator=="="&&this.right.is_boolean()});e(Pe,function(){return this.tail_node().is_boolean()});e(Kt,return_true);e(Ut,return_true)})(function(e,t){e.DEFMETHOD("is_boolean",t)});(function(e){e(R,return_false);e(Ft,return_true);var t=makePredicate("+ - ~ ++ --");e(Ue,function(){return t.has(this.operator)});var n=makePredicate("- * / % & | ^ << >> >>>");e(Ge,function(e){return n.has(this.operator)||this.operator=="+"&&this.left.is_number(e)&&this.right.is_number(e)});e(Xe,function(e){return n.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(e)});e(Pe,function(e){return this.tail_node().is_number(e)});e(He,function(e){return this.consequent.is_number(e)&&this.alternative.is_number(e)})})(function(e,t){e.DEFMETHOD("is_number",t)});(function(e){e(R,return_false);e(Ot,return_true);e(oe,return_true);e(Ke,function(){return this.operator=="typeof"});e(Ge,function(e){return this.operator=="+"&&(this.left.is_string(e)||this.right.is_string(e))});e(Xe,function(e){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(e)});e(Pe,function(e){return this.tail_node().is_string(e)});e(He,function(e){return this.consequent.is_string(e)&&this.alternative.is_string(e)})})(function(e,t){e.DEFMETHOD("is_string",t)});var xn=makePredicate("&& || ??");var On=makePredicate("delete ++ --");function is_lhs(e,t){if(t instanceof Ue&&On.has(t.operator))return t.expression;if(t instanceof Xe&&t.left===e)return e}(function(e){function to_node(e,t){if(e instanceof R)return make_node(e.CTOR,t,e);if(Array.isArray(e))return make_node(We,t,{elements:e.map(function(e){return to_node(e,t)})});if(e&&typeof e=="object"){var n=[];for(var i in e)if(HOP(e,i)){n.push(make_node(je,t,{key:i,value:to_node(e[i],t)}))}return make_node(Ye,t,{properties:n})}return make_node_from_constant(e,t)}Z.DEFMETHOD("resolve_defines",function(e){if(!e.option("global_defs"))return this;this.figure_out_scope({ie8:e.option("ie8")});return this.transform(new TreeTransformer(function(t){var n=t._find_defs(e,"");if(!n)return;var i=0,r=t,a;while(a=this.parent(i++)){if(!(a instanceof Ve))break;if(a.expression!==r)break;r=a}if(is_lhs(r,a)){return}return n}))});e(R,noop);e(Le,function(e,t){return this.expression._find_defs(e,"."+this.property+t)});e(ot,function(){if(!this.global())return});e(yt,function(e,t){if(!this.global())return;var n=e.option("global_defs");var i=this.name+t;if(HOP(n,i))return to_node(n[i],this)})})(function(e,t){e.DEFMETHOD("_find_defs",t)});function best_of_expression(e,t){return e.size()>t.size()?t:e}function best_of_statement(e,t){return best_of_expression(make_node(P,e,{body:e}),make_node(P,t,{body:t})).body}function best_of(e,t,n){return(first_in_statement(e)?best_of_statement:best_of_expression)(t,n)}function convert_to_predicate(e){const t=new Map;for(var n of Object.keys(e)){t.set(n,makePredicate(e[n]))}return t}var Fn=["constructor","toString","valueOf"];var wn=convert_to_predicate({Array:["indexOf","join","lastIndexOf","slice"].concat(Fn),Boolean:Fn,Function:Fn,Number:["toExponential","toFixed","toPrecision"].concat(Fn),Object:Fn,RegExp:["test"].concat(Fn),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","trim"].concat(Fn)});var Rn=convert_to_predicate({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","keys"],String:["fromCharCode"]});(function(e){R.DEFMETHOD("evaluate",function(e){if(!e.option("evaluate"))return this;var t=this._eval(e,1);if(!t||t instanceof RegExp)return t;if(typeof t=="function"||typeof t=="object")return this;return t});var t=makePredicate("! ~ - + void");R.DEFMETHOD("is_constant",function(){if(this instanceof xt){return!(this instanceof Rt)}else{return this instanceof Ke&&this.expression instanceof xt&&t.has(this.operator)}});e(M,function(){throw new Error(string_template("Cannot evaluate a statement [{file}:{line},{col}]",this.start))});e(J,return_this);e(et,return_this);e(R,return_this);e(xt,function(){return this.getValue()});e(wt,return_this);e(Rt,function(e){let t=e.evaluated_regexps.get(this);if(t===undefined){try{t=(0,eval)(this.print_to_string())}catch(e){t=null}e.evaluated_regexps.set(this,t)}return t||this});e(oe,function(){if(this.segments.length!==1)return this;return this.segments[0].value});e(te,function(e){if(e.option("unsafe")){var t=function(){};t.node=this;t.toString=function(){return this.node.print_to_string()};return t}return this});e(We,function(e,t){if(e.option("unsafe")){var n=[];for(var i=0,r=this.elements.length;i<r;i++){var a=this.elements[i];var o=a._eval(e,t);if(a===o)return this;n.push(o)}return n}return this});e(Ye,function(e,t){if(e.option("unsafe")){var n={};for(var i=0,r=this.properties.length;i<r;i++){var a=this.properties[i];if(a instanceof Q)return this;var o=a.key;if(o instanceof rt){o=o.name}else if(o instanceof R){o=o._eval(e,t);if(o===a.key)return this}if(typeof Object.prototype[o]==="function"){return this}if(a.value instanceof te)continue;n[o]=a.value._eval(e,t);if(n[o]===a.value)return this}return n}return this});var n=makePredicate("! typeof void");e(Ke,function(e,t){var i=this.expression;if(e.option("typeofs")&&this.operator=="typeof"&&(i instanceof J||i instanceof yt&&i.fixed_value()instanceof J)){return typeof function(){}}if(!n.has(this.operator))t++;i=i._eval(e,t);if(i===this.expression)return this;switch(this.operator){case"!":return!i;case"typeof":if(i instanceof RegExp)return this;return typeof i;case"void":return void i;case"~":return~i;case"-":return-i;case"+":return+i}return this});var i=makePredicate("&& || ?? === !==");const r=makePredicate("== != === !==");const a=e=>typeof e==="object"||typeof e==="function"||typeof e==="symbol";e(Ge,function(e,t){if(!i.has(this.operator))t++;var n=this.left._eval(e,t);if(n===this.left)return this;var o=this.right._eval(e,t);if(o===this.right)return this;var s;if(n!=null&&o!=null&&r.has(this.operator)&&a(n)&&a(o)&&typeof n===typeof o){return this}switch(this.operator){case"&&":s=n&&o;break;case"||":s=n||o;break;case"??":s=n!=null?n:o;break;case"|":s=n|o;break;case"&":s=n&o;break;case"^":s=n^o;break;case"+":s=n+o;break;case"*":s=n*o;break;case"**":s=Math.pow(n,o);break;case"/":s=n/o;break;case"%":s=n%o;break;case"-":s=n-o;break;case"<<":s=n<<o;break;case">>":s=n>>o;break;case">>>":s=n>>>o;break;case"==":s=n==o;break;case"===":s=n===o;break;case"!=":s=n!=o;break;case"!==":s=n!==o;break;case"<":s=n<o;break;case"<=":s=n<=o;break;case">":s=n>o;break;case">=":s=n>=o;break;default:return this}if(isNaN(s)&&e.find_parent($)){return this}return s});e(He,function(e,t){var n=this.condition._eval(e,t);if(n===this.condition)return this;var i=n?this.consequent:this.alternative;var r=i._eval(e,t);return r===i?this:r});const o=new Set;e(yt,function(e,t){if(o.has(this))return this;var n=this.fixed_value();if(!n)return this;var i;if(HOP(n,"_eval")){i=n._eval()}else{o.add(this);i=n._eval(e,t);o.delete(this);if(i===n)return this}if(i&&typeof i=="object"){var r=this.definition().escaped;if(r&&t>r)return this}return i});var s={Array:Array,Math:Math,Number:Number,Object:Object,String:String};var u=convert_to_predicate({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]});e(Ve,function(e,t){if(e.option("unsafe")){var n=this.property;if(n instanceof R){n=n._eval(e,t);if(n===this.property)return this}var i=this.expression;var r;if(is_undeclared_ref(i)){var a;var o=i.name==="hasOwnProperty"&&n==="call"&&(a=e.parent()&&e.parent().args)&&(a&&a[0]&&a[0].evaluate(e));o=o instanceof Le?o.expression:o;if(o==null||o.thedef&&o.thedef.undeclared){return this.clone()}var c=u.get(i.name);if(!c||!c.has(n))return this;r=s[i.name]}else{r=i._eval(e,t+1);if(!r||r===i||!HOP(r,n))return this;if(typeof r=="function")switch(n){case"name":return r.node.name?r.node.name.name:"";case"length":return r.node.argnames.length;default:return this}}return r[n]}return this});e(Ne,function(e,t){var n=this.expression;if(e.option("unsafe")&&n instanceof Ve){var i=n.property;if(i instanceof R){i=i._eval(e,t);if(i===n.property)return this}var r;var a=n.expression;if(is_undeclared_ref(a)){var o=a.name==="hasOwnProperty"&&i==="call"&&(this.args[0]&&this.args[0].evaluate(e));o=o instanceof Le?o.expression:o;if(o==null||o.thedef&&o.thedef.undeclared){return this.clone()}var u=Rn.get(a.name);if(!u||!u.has(i))return this;r=s[a.name]}else{r=a._eval(e,t+1);if(r===a||!r)return this;var c=wn.get(r.constructor.name);if(!c||!c.has(i))return this}var l=[];for(var f=0,p=this.args.length;f<p;f++){var _=this.args[f];var h=_._eval(e,t);if(_===h)return this;l.push(h)}try{return r[i].apply(r,l)}catch(e){}}return this});e(Ie,return_this)})(function(e,t){e.DEFMETHOD("_eval",t)});(function(e){function basic_negation(e){return make_node(Ke,e,{operator:"!",expression:e})}function best(e,t,n){var i=basic_negation(e);if(n){var r=make_node(P,t,{body:t});return best_of_expression(i,r)===r?t:i}return best_of_expression(i,t)}e(R,function(){return basic_negation(this)});e(M,function(){throw new Error("Cannot negate a statement")});e(te,function(){return basic_negation(this)});e(ne,function(){return basic_negation(this)});e(Ke,function(){if(this.operator=="!")return this.expression;return basic_negation(this)});e(Pe,function(e){var t=this.expressions.slice();t.push(t.pop().negate(e));return make_sequence(this,t)});e(He,function(e,t){var n=this.clone();n.consequent=n.consequent.negate(e);n.alternative=n.alternative.negate(e);return best(this,n,t)});e(Ge,function(e,t){var n=this.clone(),i=this.operator;if(e.option("unsafe_comps")){switch(i){case"<=":n.operator=">";return n;case"<":n.operator=">=";return n;case">=":n.operator="<";return n;case">":n.operator="<=";return n}}switch(i){case"==":n.operator="!=";return n;case"!=":n.operator="==";return n;case"===":n.operator="!==";return n;case"!==":n.operator="===";return n;case"&&":n.operator="||";n.left=n.left.negate(e,t);n.right=n.right.negate(e);return best(this,n,t);case"||":n.operator="&&";n.left=n.left.negate(e,t);n.right=n.right.negate(e);return best(this,n,t);case"??":n.right=n.right.negate(e);return best(this,n,t)}return basic_negation(this)})})(function(e,t){e.DEFMETHOD("negate",function(e,n){return t.call(this,e,n)})});var Mn=makePredicate("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");Ne.DEFMETHOD("is_expr_pure",function(e){if(e.option("unsafe")){var t=this.expression;var n=this.args&&this.args[0]&&this.args[0].evaluate(e);if(t.expression&&t.expression.name==="hasOwnProperty"&&(n==null||n.thedef&&n.thedef.undeclared)){return false}if(is_undeclared_ref(t)&&Mn.has(t.name))return true;let i;if(t instanceof Le&&is_undeclared_ref(t.expression)&&(i=Rn.get(t.expression.name))&&i.has(t.property)){return true}}return!!has_annotation(this,Gt)||!e.pure_funcs(this)});R.DEFMETHOD("is_call_pure",return_false);Le.DEFMETHOD("is_call_pure",function(e){if(!e.option("unsafe"))return;const t=this.expression;let n;if(t instanceof We){n=wn.get("Array")}else if(t.is_boolean()){n=wn.get("Boolean")}else if(t.is_number(e)){n=wn.get("Number")}else if(t instanceof Rt){n=wn.get("RegExp")}else if(t.is_string(e)){n=wn.get("String")}else if(!this.may_throw_on_access(e)){n=wn.get("Object")}return n&&n.has(this.property)});const Nn=new Set(["Number","String","Array","Object","Function","Promise"]);(function(e){e(R,return_true);e(B,return_false);e(xt,return_false);e(Tt,return_false);function any(e,t){for(var n=e.length;--n>=0;)if(e[n].has_side_effects(t))return true;return false}e(V,function(e){return any(this.body,e)});e(Ne,function(e){if(!this.is_expr_pure(e)&&(!this.expression.is_call_pure(e)||this.expression.has_side_effects(e))){return true}return any(this.args,e)});e(ge,function(e){return this.expression.has_side_effects(e)||any(this.body,e)});e(be,function(e){return this.expression.has_side_effects(e)||any(this.body,e)});e(ye,function(e){return any(this.body,e)||this.bcatch&&this.bcatch.has_side_effects(e)||this.bfinally&&this.bfinally.has_side_effects(e)});e(Ee,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(K,function(e){return this.body.has_side_effects(e)});e(P,function(e){return this.body.has_side_effects(e)});e(J,return_false);e(et,function(e){if(this.extends&&this.extends.has_side_effects(e)){return true}return any(this.properties,e)});e(Ge,function(e){return this.left.has_side_effects(e)||this.right.has_side_effects(e)});e(Xe,return_true);e(He,function(e){return this.condition.has_side_effects(e)||this.consequent.has_side_effects(e)||this.alternative.has_side_effects(e)});e(Ue,function(e){return On.has(this.operator)||this.expression.has_side_effects(e)});e(yt,function(e){return!this.is_declared(e)&&!Nn.has(this.name)});e(ht,return_false);e(ot,return_false);e(Ye,function(e){return any(this.properties,e)});e($e,function(e){return this.computed_key()&&this.key.has_side_effects(e)||this.value.has_side_effects(e)});e(tt,function(e){return this.computed_key()&&this.key.has_side_effects(e)||this.static&&this.value&&this.value.has_side_effects(e)});e(Je,function(e){return this.computed_key()&&this.key.has_side_effects(e)});e(Qe,function(e){return this.computed_key()&&this.key.has_side_effects(e)});e(Ze,function(e){return this.computed_key()&&this.key.has_side_effects(e)});e(We,function(e){return any(this.elements,e)});e(Le,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)});e(Be,function(e){return this.expression.may_throw_on_access(e)||this.expression.has_side_effects(e)||this.property.has_side_effects(e)});e(Pe,function(e){return any(this.expressions,e)});e(Ae,function(e){return any(this.definitions,e)});e(Oe,function(){return this.value});e(se,return_false);e(oe,function(e){return any(this.segments,e)})})(function(e,t){e.DEFMETHOD("has_side_effects",t)});(function(e){e(R,return_true);e(xt,return_false);e(B,return_false);e(J,return_false);e(ot,return_false);e(Tt,return_false);function any(e,t){for(var n=e.length;--n>=0;)if(e[n].may_throw(t))return true;return false}e(et,function(e){if(this.extends&&this.extends.may_throw(e))return true;return any(this.properties,e)});e(We,function(e){return any(this.elements,e)});e(Xe,function(e){if(this.right.may_throw(e))return true;if(!e.has_directive("use strict")&&this.operator=="="&&this.left instanceof yt){return false}return this.left.may_throw(e)});e(Ge,function(e){return this.left.may_throw(e)||this.right.may_throw(e)});e(V,function(e){return any(this.body,e)});e(Ne,function(e){if(any(this.args,e))return true;if(this.is_expr_pure(e))return false;if(this.expression.may_throw(e))return true;return!(this.expression instanceof J)||any(this.expression.body,e)});e(be,function(e){return this.expression.may_throw(e)||any(this.body,e)});e(He,function(e){return this.condition.may_throw(e)||this.consequent.may_throw(e)||this.alternative.may_throw(e)});e(Ae,function(e){return any(this.definitions,e)});e(Le,function(e){return this.expression.may_throw_on_access(e)||this.expression.may_throw(e)});e(Ee,function(e){return this.condition.may_throw(e)||this.body&&this.body.may_throw(e)||this.alternative&&this.alternative.may_throw(e)});e(K,function(e){return this.body.may_throw(e)});e(Ye,function(e){return any(this.properties,e)});e($e,function(e){return this.value.may_throw(e)});e(tt,function(e){return this.computed_key()&&this.key.may_throw(e)||this.static&&this.value&&this.value.may_throw(e)});e(Je,function(e){return this.computed_key()&&this.key.may_throw(e)});e(Qe,function(e){return this.computed_key()&&this.key.may_throw(e)});e(Ze,function(e){return this.computed_key()&&this.key.may_throw(e)});e(le,function(e){return this.value&&this.value.may_throw(e)});e(Pe,function(e){return any(this.expressions,e)});e(P,function(e){return this.body.may_throw(e)});e(Be,function(e){return this.expression.may_throw_on_access(e)||this.expression.may_throw(e)||this.property.may_throw(e)});e(ge,function(e){return this.expression.may_throw(e)||any(this.body,e)});e(yt,function(e){return!this.is_declared(e)&&!Nn.has(this.name)});e(ht,return_false);e(ye,function(e){return this.bcatch?this.bcatch.may_throw(e):any(this.body,e)||this.bfinally&&this.bfinally.may_throw(e)});e(Ue,function(e){if(this.operator=="typeof"&&this.expression instanceof yt)return false;return this.expression.may_throw(e)});e(Oe,function(e){if(!this.value)return false;return this.value.may_throw(e)})})(function(e,t){e.DEFMETHOD("may_throw",t)});(function(e){function all_refs_local(e){let t=true;walk(this,n=>{if(n instanceof yt){if(kn(this,En)){t=false;return zt}var i=n.definition();if(member(i,this.enclosed)&&!this.variables.has(i.name)){if(e){var r=e.find_variable(n);if(i.undeclared?!r:r===i){t="f";return true}}t=false;return zt}return true}if(n instanceof Tt&&this instanceof ne){t=false;return zt}});return t}e(R,return_false);e(xt,return_true);e(et,function(e){if(this.extends&&!this.extends.is_constant_expression(e)){return false}for(const t of this.properties){if(t.computed_key()&&!t.key.is_constant_expression(e)){return false}if(t.static&&t.value&&!t.value.is_constant_expression(e)){return false}}return all_refs_local.call(this,e)});e(J,all_refs_local);e(Ue,function(){return this.expression.is_constant_expression()});e(Ge,function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()});e(We,function(){return this.elements.every(e=>e.is_constant_expression())});e(Ye,function(){return this.properties.every(e=>e.is_constant_expression())});e($e,function(){return!(this.key instanceof R)&&this.value.is_constant_expression()})})(function(e,t){e.DEFMETHOD("is_constant_expression",t)});function aborts(e){return e&&e.aborts()}(function(e){e(M,return_null);e(ue,return_this);function block_aborts(){for(var e=0;e<this.body.length;e++){if(aborts(this.body[e])){return this.body[e]}}return null}e(we,function(){return null});e(L,block_aborts);e(ve,block_aborts);e(Ee,function(){return this.alternative&&aborts(this.body)&&aborts(this.alternative)&&this})})(function(e,t){e.DEFMETHOD("aborts",t)});var In=new Set(["use asm","use strict"]);def_optimize(I,function(e,t){if(t.option("directives")&&(!In.has(e.value)||t.has_directive(e.value)!==e)){return make_node(B,e)}return e});def_optimize(N,function(e,t){if(t.option("drop_debugger"))return make_node(B,e);return e});def_optimize(K,function(e,t){if(e.body instanceof _e&&t.loopcontrol_target(e.body)===e.body){return make_node(B,e)}return e.label.references.length==0?e.body:e});def_optimize(V,function(e,t){tighten_body(e.body,t);return e});function can_be_extracted_from_if_block(e){return!(e instanceof xe||e instanceof Ce||e instanceof et)}def_optimize(L,function(e,t){tighten_body(e.body,t);switch(e.body.length){case 1:if(!t.has_directive("use strict")&&t.parent()instanceof Ee&&can_be_extracted_from_if_block(e.body[0])||can_be_evicted_from_block(e.body[0])){return e.body[0]}break;case 0:return make_node(B,e)}return e});function opt_AST_Lambda(e,t){tighten_body(e.body,t);if(t.option("side_effects")&&e.body.length==1&&e.body[0]===t.has_directive("use strict")){e.body.length=0}return e}def_optimize(J,opt_AST_Lambda);const Pn=/keep_assign/;j.DEFMETHOD("drop_unused",function(e){if(!e.option("unused"))return;if(e.has_directive("use asm"))return;var t=this;if(t.pinned())return;var n=!(t instanceof Z)||e.toplevel.funcs;var r=!(t instanceof Z)||e.toplevel.vars;const a=Pn.test(e.option("unused"))?return_false:function(e){if(e instanceof Xe&&(kn(e,gn)||e.operator=="=")){return e.left}if(e instanceof Ue&&kn(e,gn)){return e.expression}};var o=new Map;var s=new Map;if(t instanceof Z&&e.top_retain){t.variables.forEach(function(t){if(e.top_retain(t)&&!o.has(t.id)){o.set(t.id,t)}})}var u=new Map;var c=new Map;var l=this;var f=new TreeWalker(function(i,a){if(i instanceof J&&i.uses_arguments&&!f.has_directive("use strict")){i.argnames.forEach(function(e){if(!(e instanceof ot))return;var t=e.definition();if(!o.has(t.id)){o.set(t.id,t)}})}if(i===t)return;if(i instanceof ie||i instanceof nt){var p=i.name.definition();const r=f.parent()instanceof Me;if(r||!n&&l===t){if(p.global&&!o.has(p.id)){o.set(p.id,p)}}if(i instanceof nt){if(i.extends&&(i.extends.has_side_effects(e)||i.extends.may_throw(e))){i.extends.walk(f)}for(const t of i.properties){if(t.has_side_effects(e)||t.may_throw(e)){t.walk(f)}}}map_add(c,p.id,i);return true}if(i instanceof ft&&l===t){map_add(u,i.definition().id,i)}if(i instanceof Ae&&l===t){const t=f.parent()instanceof Me;i.definitions.forEach(function(n){if(n.name instanceof st){map_add(u,n.name.definition().id,n)}if(t||!r){walk(n.name,e=>{if(e instanceof ot){const n=e.definition();if((t||n.global)&&!o.has(n.id)){o.set(n.id,n)}}})}if(n.value){if(n.name instanceof re){n.walk(f)}else{var i=n.name.definition();map_add(c,i.id,n.value);if(!i.chained&&n.name.fixed_value()===n.value){s.set(i.id,n)}}if(n.value.has_side_effects(e)){n.value.walk(f)}}});return true}return scan_ref_scoped(i,a)});t.walk(f);f=new TreeWalker(scan_ref_scoped);o.forEach(function(e){var t=c.get(e.id);if(t)t.forEach(function(e){e.walk(f)})});var p=new TreeTransformer(function before(c,f,_){var h=p.parent();if(r){const e=a(c);if(e instanceof yt){var d=e.definition();var m=o.has(d.id);if(c instanceof Xe){if(!m||s.has(d.id)&&s.get(d.id)!==c){return maintain_this_binding(h,c,c.right.transform(p))}}else if(!m)return _?i.skip:make_node(Ft,c,{value:0})}}if(l!==t)return;var d;if(c.name&&(c instanceof it&&!keep_name(e.option("keep_classnames"),(d=c.name.definition()).name)||c instanceof te&&!keep_name(e.option("keep_fnames"),(d=c.name.definition()).name))){if(!o.has(d.id)||d.orig.length>1)c.name=null}if(c instanceof J&&!(c instanceof ee)){var E=!e.option("keep_fargs");for(var g=c.argnames,v=g.length;--v>=0;){var D=g[v];if(D instanceof Q){D=D.expression}if(D instanceof qe){D=D.left}if(!(D instanceof re)&&!o.has(D.definition().id)){Sn(D,_n);if(E){g.pop()}}else{E=false}}}if((c instanceof ie||c instanceof nt)&&c!==t){const t=c.name.definition();let r=t.global&&!n||o.has(t.id);if(!r){t.eliminated++;if(c instanceof nt){const t=c.drop_side_effect_free(e);if(t){return make_node(P,c,{body:t})}}return _?i.skip:make_node(B,c)}}if(c instanceof Ae&&!(h instanceof W&&h.init===c)){var b=!(h instanceof Z)&&!(c instanceof Te);var y=[],k=[],S=[];var A=[];c.definitions.forEach(function(t){if(t.value)t.value=t.value.transform(p);var n=t.name instanceof re;var i=n?new SymbolDef(null,{name:"<destructure>"}):t.name.definition();if(b&&i.global)return S.push(t);if(!(r||b)||n&&(t.name.names.length||t.name.is_array||e.option("pure_getters")!=true)||o.has(i.id)){if(t.value&&s.has(i.id)&&s.get(i.id)!==t){t.value=t.value.drop_side_effect_free(e)}if(t.name instanceof st){var a=u.get(i.id);if(a.length>1&&(!t.value||i.orig.indexOf(t.name)>i.eliminated)){if(t.value){var l=make_node(yt,t.name,t.name);i.references.push(l);var f=make_node(Xe,t,{operator:"=",left:l,right:t.value});if(s.get(i.id)===t){s.set(i.id,f)}A.push(f.transform(p))}remove(a,t);i.eliminated++;return}}if(t.value){if(A.length>0){if(S.length>0){A.push(t.value);t.value=make_sequence(t.value,A)}else{y.push(make_node(P,c,{body:make_sequence(c,A)}))}A=[]}S.push(t)}else{k.push(t)}}else if(i.orig[0]instanceof gt){var _=t.value&&t.value.drop_side_effect_free(e);if(_)A.push(_);t.value=null;k.push(t)}else{var _=t.value&&t.value.drop_side_effect_free(e);if(_){A.push(_)}i.eliminated++}});if(k.length>0||S.length>0){c.definitions=k.concat(S);y.push(c)}if(A.length>0){y.push(make_node(P,c,{body:make_sequence(c,A)}))}switch(y.length){case 0:return _?i.skip:make_node(B,c);case 1:return y[0];default:return _?i.splice(y):make_node(L,c,{body:y})}}if(c instanceof q){f(c,this);var T;if(c.init instanceof L){T=c.init;c.init=T.body.pop();T.body.push(c)}if(c.init instanceof P){c.init=c.init.body}else if(is_empty(c.init)){c.init=null}return!T?c:_?i.splice(T.body):T}if(c instanceof K&&c.body instanceof q){f(c,this);if(c.body instanceof L){var T=c.body;c.body=T.body.pop();T.body.push(c);return _?i.splice(T.body):T}return c}if(c instanceof L){f(c,this);if(_&&c.body.every(can_be_evicted_from_block)){return i.splice(c.body)}return c}if(c instanceof j){const e=l;l=c;f(c,this);l=e;return c}});t.transform(p);function scan_ref_scoped(e,n){var i;const r=a(e);if(r instanceof yt&&!is_ref_of(e.left,ut)&&t.variables.get(r.name)===(i=r.definition())){if(e instanceof Xe){e.right.walk(f);if(!i.chained&&e.left.fixed_value()===e.right){s.set(i.id,e)}}return true}if(e instanceof yt){i=e.definition();if(!o.has(i.id)){o.set(i.id,i);if(i.orig[0]instanceof gt){const e=i.scope.is_block_scope()&&i.scope.get_defun_scope().variables.get(i.name);if(e)o.set(e.id,e)}}return true}if(e instanceof j){var u=l;l=e;n();l=u;return true}}});j.DEFMETHOD("hoist_declarations",function(e){var t=this;if(e.has_directive("use asm"))return t;if(!Array.isArray(t.body))return t;var n=e.option("hoist_funs");var i=e.option("hoist_vars");if(n||i){var r=[];var a=[];var o=new Map,s=0,u=0;walk(t,e=>{if(e instanceof j&&e!==t)return true;if(e instanceof Te){++u;return true}});i=i&&u>1;var c=new TreeTransformer(function before(u){if(u!==t){if(u instanceof I){r.push(u);return make_node(B,u)}if(n&&u instanceof ie&&!(c.parent()instanceof Me)&&c.parent()===t){a.push(u);return make_node(B,u)}if(i&&u instanceof Te){u.definitions.forEach(function(e){if(e.name instanceof re)return;o.set(e.name.name,e);++s});var l=u.to_assignments(e);var f=c.parent();if(f instanceof W&&f.init===u){if(l==null){var p=u.definitions[0].name;return make_node(yt,p,p)}return l}if(f instanceof q&&f.init===u){return l}if(!l)return make_node(B,u);return make_node(P,u,{body:l})}if(u instanceof j)return u}});t=t.transform(c);if(s>0){var l=[];const e=t instanceof J;const n=e?t.args_as_names():null;o.forEach((t,i)=>{if(e&&n.some(e=>e.name===t.name.name)){o.delete(i)}else{t=t.clone();t.value=null;l.push(t);o.set(i,t)}});if(l.length>0){for(var f=0;f<t.body.length;){if(t.body[f]instanceof P){var p=t.body[f].body,_,h;if(p instanceof Xe&&p.operator=="="&&(_=p.left)instanceof rt&&o.has(_.name)){var d=o.get(_.name);if(d.value)break;d.value=p.right;remove(l,d);l.push(d);t.body.splice(f,1);continue}if(p instanceof Pe&&(h=p.expressions[0])instanceof Xe&&h.operator=="="&&(_=h.left)instanceof rt&&o.has(_.name)){var d=o.get(_.name);if(d.value)break;d.value=h.right;remove(l,d);l.push(d);t.body[f].body=make_sequence(p,p.expressions.slice(1));continue}}if(t.body[f]instanceof B){t.body.splice(f,1);continue}if(t.body[f]instanceof L){var m=[f,1].concat(t.body[f].body);t.body.splice.apply(t.body,m);continue}break}l=make_node(Te,t,{definitions:l});a.push(l)}}t.body=r.concat(a,t.body)}return t});j.DEFMETHOD("hoist_properties",function(e){var t=this;if(!e.option("hoist_props")||e.has_directive("use asm"))return t;var n=t instanceof Z&&e.top_retain||return_false;var r=new Map;var a=new TreeTransformer(function(o,s){if(o instanceof Ae&&a.parent()instanceof Me)return o;if(o instanceof Oe){const u=o.name;let c;let l;if(u.scope===t&&(c=u.definition()).escaped!=1&&!c.assignments&&!c.direct_access&&!c.single_use&&!e.exposed(c)&&!n(c)&&(l=u.fixed_value())===o.value&&l instanceof Ye&&!l.properties.some(e=>e.computed_key())){s(o,this);const e=new Map;const n=[];l.properties.forEach(({key:i,value:r})=>{const s=t.create_symbol(u.CTOR,{source:u,scope:find_scope(a),tentative_name:u.name+"_"+i});e.set(String(i),s.definition());n.push(make_node(Oe,o,{name:s,value:r}))});r.set(c.id,e);return i.splice(n)}}else if(o instanceof Ve&&o.expression instanceof yt){const e=r.get(o.expression.definition().id);if(e){const t=e.get(String(get_value(o.property)));const n=make_node(yt,o,{name:t.name,scope:o.expression.scope,thedef:t});n.reference({});return n}}});return t.transform(a)});(function(e){function trim(e,t,n){var i=e.length;if(!i)return null;var r=[],a=false;for(var o=0;o<i;o++){var s=e[o].drop_side_effect_free(t,n);a|=s!==e[o];if(s){r.push(s);n=false}}return a?r.length?r:null:e}e(R,return_this);e(xt,return_null);e(Tt,return_null);e(Ne,function(e,t){if(!this.is_expr_pure(e)){if(this.expression.is_call_pure(e)){var n=this.args.slice();n.unshift(this.expression.expression);n=trim(n,e,t);return n&&make_sequence(this,n)}if(is_func_expr(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var i=this.clone();i.expression.process_expression(false,e);return i}return this}var r=trim(this.args,e,t);return r&&make_sequence(this,r)});e(ee,return_null);e(te,return_null);e(ne,return_null);e(et,function(e){const t=[];const n=this.extends&&this.extends.drop_side_effect_free(e);if(n)t.push(n);for(const n of this.properties){const i=n.drop_side_effect_free(e);if(i)t.push(i)}if(!t.length)return null;return make_sequence(this,t)});e(Ge,function(e,t){var n=this.right.drop_side_effect_free(e);if(!n)return this.left.drop_side_effect_free(e,t);if(xn.has(this.operator)){if(n===this.right)return this;var i=this.clone();i.right=n;return i}else{var r=this.left.drop_side_effect_free(e,t);if(!r)return this.right.drop_side_effect_free(e,t);return make_sequence(this,[r,n])}});e(Xe,function(e){var t=this.left;if(t.has_side_effects(e)||e.has_directive("use strict")&&t instanceof Ve&&t.expression.is_constant()){return this}Sn(this,gn);while(t instanceof Ve){t=t.expression}if(t.is_constant_expression(e.find_parent(j))){return this.right.drop_side_effect_free(e)}return this});e(He,function(e){var t=this.consequent.drop_side_effect_free(e);var n=this.alternative.drop_side_effect_free(e);if(t===this.consequent&&n===this.alternative)return this;if(!t)return n?make_node(Ge,this,{operator:"||",left:this.condition,right:n}):this.condition.drop_side_effect_free(e);if(!n)return make_node(Ge,this,{operator:"&&",left:this.condition,right:t});var i=this.clone();i.consequent=t;i.alternative=n;return i});e(Ue,function(e,t){if(On.has(this.operator)){if(!this.expression.has_side_effects(e)){Sn(this,gn)}else{An(this,gn)}return this}if(this.operator=="typeof"&&this.expression instanceof yt)return null;var n=this.expression.drop_side_effect_free(e,t);if(t&&n&&is_iife_call(n)){if(n===this.expression&&this.operator=="!")return this;return n.negate(e,t)}return n});e(yt,function(e){const t=this.is_declared(e)||Nn.has(this.name);return t?null:this});e(Ye,function(e,t){var n=trim(this.properties,e,t);return n&&make_sequence(this,n)});e($e,function(e,t){const n=this instanceof je&&this.key instanceof R;const i=n&&this.key.drop_side_effect_free(e,t);const r=this.value.drop_side_effect_free(e,t);if(i&&r){return make_sequence(this,[i,r])}return i||r});e(tt,function(e){const t=this.computed_key()&&this.key.drop_side_effect_free(e);const n=this.static&&this.value&&this.value.drop_side_effect_free(e);if(t&&n)return make_sequence(this,[t,n]);return t||n||null});e(Je,function(){return this.computed_key()?this.key:null});e(Qe,function(){return this.computed_key()?this.key:null});e(Ze,function(){return this.computed_key()?this.key:null});e(We,function(e,t){var n=trim(this.elements,e,t);return n&&make_sequence(this,n)});e(Le,function(e,t){if(this.expression.may_throw_on_access(e))return this;return this.expression.drop_side_effect_free(e,t)});e(Be,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 i=this.property.drop_side_effect_free(e);if(!i)return n;return make_sequence(this,[n,i])});e(Pe,function(e){var t=this.tail_node();var n=t.drop_side_effect_free(e);if(n===t)return this;var i=this.expressions.slice(0,-1);if(n)i.push(n);if(!i.length){return make_node(Ft,this,{value:0})}return make_sequence(this,i)});e(Q,function(e,t){return this.expression.drop_side_effect_free(e,t)});e(se,return_null);e(oe,function(e){var t=trim(this.segments,e,first_in_statement);return t&&make_sequence(this,t)})})(function(e,t){e.DEFMETHOD("drop_side_effect_free",t)});def_optimize(P,function(e,t){if(t.option("side_effects")){var n=e.body;var i=n.drop_side_effect_free(t,true);if(!i){return make_node(B,e)}if(i!==n){return make_node(P,e,{body:i})}}return e});def_optimize(X,function(e,t){return t.option("loops")?make_node(q,e,e).optimize(t):e});function has_break_or_continue(e,t){var n=false;var i=new TreeWalker(function(t){if(n||t instanceof j)return true;if(t instanceof pe&&i.loopcontrol_target(t)===e){return n=true}});if(t instanceof K)i.push(t);i.push(e);e.body.walk(i);return n}def_optimize(H,function(e,t){if(!t.option("loops"))return e;var n=e.condition.tail_node().evaluate(t);if(!(n instanceof R)){if(n)return make_node(q,e,{body:make_node(L,e.body,{body:[e.body,make_node(P,e.condition,{body:e.condition})]})}).optimize(t);if(!has_break_or_continue(e,t.parent())){return make_node(L,e.body,{body:[e.body,make_node(P,e.condition,{body:e.condition})]}).optimize(t)}}return e});function if_break_in_loop(e,t){var n=e.body instanceof L?e.body.body[0]:e.body;if(t.option("dead_code")&&is_break(n)){var i=[];if(e.init instanceof M){i.push(e.init)}else if(e.init){i.push(make_node(P,e.init,{body:e.init}))}if(e.condition){i.push(make_node(P,e.condition,{body:e.condition}))}trim_unreachable_code(t,e.body,i);return make_node(L,e,{body:i})}if(n instanceof Ee){if(is_break(n.body)){if(e.condition){e.condition=make_node(Ge,e.condition,{left:e.condition,operator:"&&",right:n.condition.negate(t)})}else{e.condition=n.condition.negate(t)}drop_it(n.alternative)}else if(is_break(n.alternative)){if(e.condition){e.condition=make_node(Ge,e.condition,{left:e.condition,operator:"&&",right:n.condition})}else{e.condition=n.condition}drop_it(n.body)}}return e;function is_break(e){return e instanceof _e&&t.loopcontrol_target(e)===t.self()}function drop_it(n){n=as_statement_array(n);if(e.body instanceof L){e.body=e.body.clone();e.body.body=n.concat(e.body.body.slice(1));e.body=e.body.transform(t)}else{e.body=make_node(L,e.body,{body:n}).transform(t)}e=if_break_in_loop(e,t)}}def_optimize(q,function(e,t){if(!t.option("loops"))return e;if(t.option("side_effects")&&e.init){e.init=e.init.drop_side_effect_free(t)}if(e.condition){var n=e.condition.evaluate(t);if(!(n instanceof R)){if(n)e.condition=null;else if(!t.option("dead_code")){var i=e.condition;e.condition=make_node_from_constant(n,e.condition);e.condition=best_of_expression(e.condition.transform(t),i)}}if(t.option("dead_code")){if(n instanceof R)n=e.condition.tail_node().evaluate(t);if(!n){var r=[];trim_unreachable_code(t,e.body,r);if(e.init instanceof M){r.push(e.init)}else if(e.init){r.push(make_node(P,e.init,{body:e.init}))}r.push(make_node(P,e.condition,{body:e.condition}));return make_node(L,e,{body:r}).optimize(t)}}}return if_break_in_loop(e,t)});def_optimize(Ee,function(e,t){if(is_empty(e.alternative))e.alternative=null;if(!t.option("conditionals"))return e;var n=e.condition.evaluate(t);if(!t.option("dead_code")&&!(n instanceof R)){var i=e.condition;e.condition=make_node_from_constant(n,i);e.condition=best_of_expression(e.condition.transform(t),i)}if(t.option("dead_code")){if(n instanceof R)n=e.condition.tail_node().evaluate(t);if(!n){var r=[];trim_unreachable_code(t,e.body,r);r.push(make_node(P,e.condition,{body:e.condition}));if(e.alternative)r.push(e.alternative);return make_node(L,e,{body:r}).optimize(t)}else if(!(n instanceof R)){var r=[];r.push(make_node(P,e.condition,{body:e.condition}));r.push(e.body);if(e.alternative){trim_unreachable_code(t,e.alternative,r)}return make_node(L,e,{body:r}).optimize(t)}}var a=e.condition.negate(t);var o=e.condition.size();var s=a.size();var u=s<o;if(e.alternative&&u){u=false;e.condition=a;var c=e.body;e.body=e.alternative||make_node(B,e);e.alternative=c}if(is_empty(e.body)&&is_empty(e.alternative)){return make_node(P,e.condition,{body:e.condition.clone()}).optimize(t)}if(e.body instanceof P&&e.alternative instanceof P){return make_node(P,e,{body:make_node(He,e,{condition:e.condition,consequent:e.body.body,alternative:e.alternative.body})}).optimize(t)}if(is_empty(e.alternative)&&e.body instanceof P){if(o===s&&!u&&e.condition instanceof Ge&&e.condition.operator=="||"){u=true}if(u)return make_node(P,e,{body:make_node(Ge,e,{operator:"||",left:a,right:e.body.body})}).optimize(t);return make_node(P,e,{body:make_node(Ge,e,{operator:"&&",left:e.condition,right:e.body.body})}).optimize(t)}if(e.body instanceof B&&e.alternative instanceof P){return make_node(P,e,{body:make_node(Ge,e,{operator:"||",left:e.condition,right:e.alternative.body})}).optimize(t)}if(e.body instanceof ce&&e.alternative instanceof ce&&e.body.TYPE==e.alternative.TYPE){return make_node(e.body.CTOR,e,{value:make_node(He,e,{condition:e.condition,consequent:e.body.value||make_node(Pt,e.body),alternative:e.alternative.value||make_node(Pt,e.alternative)}).transform(t)}).optimize(t)}if(e.body instanceof Ee&&!e.body.alternative&&!e.alternative){e=make_node(Ee,e,{condition:make_node(Ge,e.condition,{operator:"&&",left:e.condition,right:e.body.condition}),body:e.body.body,alternative:null})}if(aborts(e.body)){if(e.alternative){var l=e.alternative;e.alternative=null;return make_node(L,e,{body:[e,l]}).optimize(t)}}if(aborts(e.alternative)){var r=e.body;e.body=e.alternative;e.condition=u?a:e.condition.negate(t);e.alternative=null;return make_node(L,e,{body:[e,r]}).optimize(t)}return e});def_optimize(ge,function(e,t){if(!t.option("switches"))return e;var n;var i=e.expression.evaluate(t);if(!(i instanceof R)){var r=e.expression;e.expression=make_node_from_constant(i,r);e.expression=best_of_expression(e.expression.transform(t),r)}if(!t.option("dead_code"))return e;if(i instanceof R){i=e.expression.tail_node().evaluate(t)}var a=[];var o=[];var s;var u;for(var c=0,l=e.body.length;c<l&&!u;c++){n=e.body[c];if(n instanceof De){if(!s){s=n}else{eliminate_branch(n,o[o.length-1])}}else if(!(i instanceof R)){var f=n.expression.evaluate(t);if(!(f instanceof R)&&f!==i){eliminate_branch(n,o[o.length-1]);continue}if(f instanceof R)f=n.expression.tail_node().evaluate(t);if(f===i){u=n;if(s){var p=o.indexOf(s);o.splice(p,1);eliminate_branch(s,o[p-1]);s=null}}}if(aborts(n)){var _=o[o.length-1];if(aborts(_)&&_.body.length==n.body.length&&make_node(L,_,_).equivalent_to(make_node(L,n,n))){_.body=[]}}o.push(n)}while(c<l)eliminate_branch(e.body[c++],o[o.length-1]);if(o.length>0){o[0].body=a.concat(o[0].body)}e.body=o;while(n=o[o.length-1]){var h=n.body[n.body.length-1];if(h instanceof _e&&t.loopcontrol_target(h)===e)n.body.pop();if(n.body.length||n instanceof be&&(s||n.expression.has_side_effects(t)))break;if(o.pop()===s)s=null}if(o.length==0){return make_node(L,e,{body:a.concat(make_node(P,e.expression,{body:e.expression}))}).optimize(t)}if(o.length==1&&(o[0]===u||o[0]===s)){var d=false;var m=new TreeWalker(function(t){if(d||t instanceof J||t instanceof P)return true;if(t instanceof _e&&m.loopcontrol_target(t)===e)d=true});e.walk(m);if(!d){var E=o[0].body.slice();var f=o[0].expression;if(f)E.unshift(make_node(P,f,{body:f}));E.unshift(make_node(P,e.expression,{body:e.expression}));return make_node(L,e,{body:E}).optimize(t)}}return e;function eliminate_branch(e,n){if(n&&!aborts(n)){n.body=n.body.concat(e.body)}else{trim_unreachable_code(t,e,a)}}});def_optimize(ye,function(e,t){tighten_body(e.body,t);if(e.bcatch&&e.bfinally&&e.bfinally.body.every(is_empty))e.bfinally=null;if(t.option("dead_code")&&e.body.every(is_empty)){var n=[];if(e.bcatch){trim_unreachable_code(t,e.bcatch,n)}if(e.bfinally)n.push(...e.bfinally.body);return make_node(L,e,{body:n}).optimize(t)}return e});Ae.DEFMETHOD("remove_initializers",function(){var e=[];this.definitions.forEach(function(t){if(t.name instanceof ot){t.value=null;e.push(t)}else{walk(t.name,n=>{if(n instanceof ot){e.push(make_node(Oe,t,{name:n,value:null}))}})}});this.definitions=e});Ae.DEFMETHOD("to_assignments",function(e){var t=e.option("reduce_vars");var n=this.definitions.reduce(function(e,n){if(n.value&&!(n.name instanceof re)){var i=make_node(yt,n.name,n.name);e.push(make_node(Xe,n,{operator:"=",left:i,right:n.value}));if(t)i.definition().fixed=false}else if(n.value){var r=make_node(Oe,n,{name:n.name,value:n.value});var a=make_node(Te,n,{definitions:[r]});e.push(a)}n=n.name.definition();n.eliminated++;n.replaced--;return e},[]);if(n.length==0)return null;return make_sequence(this,n)});def_optimize(Ae,function(e){if(e.definitions.length==0)return make_node(B,e);return e});def_optimize(we,function(e){return e});function retain_top_func(e,t){return t.top_retain&&e instanceof ie&&kn(e,bn)&&e.name&&t.top_retain(e.name)}def_optimize(Ne,function(e,t){var n=e.expression;var i=n;inline_array_like_spread(e,t,e.args);var r=e.args.every(e=>!(e instanceof Q));if(t.option("reduce_vars")&&i instanceof yt&&!has_annotation(e,Xt)){const e=i.fixed_value();if(!retain_top_func(e,t)){i=e}}var a=i instanceof J;if(a&&i.pinned())return e;if(t.option("unused")&&r&&a&&!i.uses_arguments){var o=0,s=0;for(var u=0,c=e.args.length;u<c;u++){if(i.argnames[u]instanceof Q){if(kn(i.argnames[u].expression,_n))while(u<c){var l=e.args[u++].drop_side_effect_free(t);if(l){e.args[o++]=l}}else while(u<c){e.args[o++]=e.args[u++]}s=o;break}var f=u>=i.argnames.length;if(f||kn(i.argnames[u],_n)){var l=e.args[u].drop_side_effect_free(t);if(l){e.args[o++]=l}else if(!f){e.args[o++]=make_node(Ft,e.args[u],{value:0});continue}}else{e.args[o++]=e.args[u]}s=o}e.args.length=s}if(t.option("unsafe")){if(is_undeclared_ref(n))switch(n.name){case"Array":if(e.args.length!=1){return make_node(We,e,{elements:e.args}).optimize(t)}else if(e.args[0]instanceof Ft&&e.args[0].value<=11){const t=[];for(let n=0;n<e.args[0].value;n++)t.push(new Vt);return new We({elements:t})}break;case"Object":if(e.args.length==0){return make_node(Ye,e,{properties:[]})}break;case"String":if(e.args.length==0)return make_node(Ot,e,{value:""});if(e.args.length<=1)return make_node(Ge,e,{left:e.args[0],operator:"+",right:make_node(Ot,e,{value:""})}).optimize(t);break;case"Number":if(e.args.length==0)return make_node(Ft,e,{value:0});if(e.args.length==1&&t.option("unsafe_math")){return make_node(Ke,e,{expression:e.args[0],operator:"+"}).optimize(t)}break;case"Symbol":if(e.args.length==1&&e.args[0]instanceof Ot&&t.option("unsafe_symbols"))e.args.length=0;break;case"Boolean":if(e.args.length==0)return make_node(Ut,e);if(e.args.length==1)return make_node(Ke,e,{expression:make_node(Ke,e,{expression:e.args[0],operator:"!"}),operator:"!"}).optimize(t);break;case"RegExp":var p=[];if(e.args.length>=1&&e.args.length<=2&&e.args.every(e=>{var n=e.evaluate(t);p.push(n);return e!==n})){let[n,i]=p;n=regexp_source_fix(new RegExp(n).source);const r=make_node(Rt,e,{value:{source:n,flags:i}});if(r._eval(t)!==r){return r}}break}else if(n instanceof Le)switch(n.property){case"toString":if(e.args.length==0&&!n.expression.may_throw_on_access(t)){return make_node(Ge,e,{left:make_node(Ot,e,{value:""}),operator:"+",right:n.expression}).optimize(t)}break;case"join":if(n.expression instanceof We)e:{var _;if(e.args.length>0){_=e.args[0].evaluate(t);if(_===e.args[0])break e}var h=[];var d=[];for(var u=0,c=n.expression.elements.length;u<c;u++){var m=n.expression.elements[u];if(m instanceof Q)break e;var E=m.evaluate(t);if(E!==m){d.push(E)}else{if(d.length>0){h.push(make_node(Ot,e,{value:d.join(_)}));d.length=0}h.push(m)}}if(d.length>0){h.push(make_node(Ot,e,{value:d.join(_)}))}if(h.length==0)return make_node(Ot,e,{value:""});if(h.length==1){if(h[0].is_string(t)){return h[0]}return make_node(Ge,h[0],{operator:"+",left:make_node(Ot,e,{value:""}),right:h[0]})}if(_==""){var g;if(h[0].is_string(t)||h[1].is_string(t)){g=h.shift()}else{g=make_node(Ot,e,{value:""})}return h.reduce(function(e,t){return make_node(Ge,t,{operator:"+",left:e,right:t})},g).optimize(t)}var l=e.clone();l.expression=l.expression.clone();l.expression.expression=l.expression.expression.clone();l.expression.expression.elements=h;return best_of(t,e,l)}break;case"charAt":if(n.expression.is_string(t)){var v=e.args[0];var D=v?v.evaluate(t):0;if(D!==v){return make_node(Be,n,{expression:n.expression,property:make_node_from_constant(D|0,v||n)}).optimize(t)}}break;case"apply":if(e.args.length==2&&e.args[1]instanceof We){var b=e.args[1].elements.slice();b.unshift(e.args[0]);return make_node(Ne,e,{expression:make_node(Le,n,{expression:n.expression,property:"call"}),args:b}).optimize(t)}break;case"call":var y=n.expression;if(y instanceof yt){y=y.fixed_value()}if(y instanceof J&&!y.contains_this()){return(e.args.length?make_sequence(this,[e.args[0],make_node(Ne,e,{expression:n.expression,args:e.args.slice(1)})]):make_node(Ne,e,{expression:n.expression,args:[]})).optimize(t)}break}}if(t.option("unsafe_Function")&&is_undeclared_ref(n)&&n.name=="Function"){if(e.args.length==0)return make_node(te,e,{argnames:[],body:[]}).optimize(t);if(e.args.every(e=>e instanceof Ot)){try{var k="n(function("+e.args.slice(0,-1).map(function(e){return e.value}).join(",")+"){"+e.args[e.args.length-1].value+"})";var S=parse(k);var A={ie8:t.option("ie8")};S.figure_out_scope(A);var T=new Compressor(t.options);S=S.transform(T);S.figure_out_scope(A);on.reset();S.compute_char_frequency(A);S.mangle_names(A);var C;walk(S,e=>{if(is_func_expr(e)){C=e;return zt}});var k=OutputStream();L.prototype._codegen.call(C,C,k);e.args=[make_node(Ot,e,{value:C.argnames.map(function(e){return e.print_to_string()}).join(",")}),make_node(Ot,e.args[e.args.length-1],{value:k.get().replace(/^{|}$/g,"")})];return e}catch(e){if(!(e instanceof JS_Parse_Error)){throw e}}}}var x=a&&i.body[0];var O=a&&!i.is_generator&&!i.async;var F=O&&t.option("inline")&&!e.is_expr_pure(t);if(F&&x instanceof le){let n=x.value;if(!n||n.is_constant_expression()){if(n){n=n.clone(true)}else{n=make_node(Pt,e)}const i=e.args.concat(n);return make_sequence(e,i).optimize(t)}if(i.argnames.length===1&&i.argnames[0]instanceof ft&&e.args.length<2&&n instanceof yt&&n.name===i.argnames[0].name){const n=(e.args[0]||make_node(Pt)).optimize(t);let i;if(n instanceof Ve&&(i=t.parent())instanceof Ne&&i.expression===e){return make_sequence(e,[make_node(Ft,e,{value:0}),n])}return n}}if(F){var w,R,M=-1;let a;let o;let s;if(r&&!i.uses_arguments&&!(t.parent()instanceof et)&&!(i.name&&i instanceof te)&&(o=can_flatten_body(x))&&(n===i||has_annotation(e,Ht)||t.option("unused")&&(a=n.definition()).references.length==1&&!recursive_ref(t,a)&&i.is_constant_expression(n.scope))&&!has_annotation(e,Gt|Xt)&&!i.contains_this()&&can_inject_symbols()&&(s=find_scope(t))&&!scope_encloses_variables_in_this_scope(s,i)&&!function in_default_assign(){let e=0;let n;while(n=t.parent(e++)){if(n instanceof qe)return true;if(n instanceof V)break}return false}()&&!(w instanceof et)){Sn(i,vn);s.add_child_scope(i);return make_sequence(e,flatten_fn(o)).optimize(t)}}if(F&&has_annotation(e,Ht)){Sn(i,vn);i=make_node(i.CTOR===ie?te:i.CTOR,i,i);i.figure_out_scope({},{parent_scope:find_scope(t),toplevel:t.get_toplevel()});return make_node(Ne,e,{expression:i,args:e.args}).optimize(t)}const N=O&&t.option("side_effects")&&i.body.every(is_empty);if(N){var b=e.args.concat(make_node(Pt,e));return make_sequence(e,b).optimize(t)}if(t.option("negate_iife")&&t.parent()instanceof P&&is_iife_call(e)){return e.negate(t,true)}var I=e.evaluate(t);if(I!==e){I=make_node_from_constant(I,e).optimize(t);return best_of(t,I,e)}return e;function return_value(t){if(!t)return make_node(Pt,e);if(t instanceof le){if(!t.value)return make_node(Pt,e);return t.value.clone(true)}if(t instanceof P){return make_node(Ke,t,{operator:"void",expression:t.body.clone(true)})}}function can_flatten_body(e){var n=i.body;var r=n.length;if(t.option("inline")<3){return r==1&&return_value(e)}e=null;for(var a=0;a<r;a++){var o=n[a];if(o instanceof Te){if(e&&!o.definitions.every(e=>!e.value)){return false}}else if(e){return false}else if(!(o instanceof B)){e=o}}return return_value(e)}function can_inject_args(e,t){for(var n=0,r=i.argnames.length;n<r;n++){var a=i.argnames[n];if(a instanceof qe){if(kn(a.left,_n))continue;return false}if(a instanceof re)return false;if(a instanceof Q){if(kn(a.expression,_n))continue;return false}if(kn(a,_n))continue;if(!t||e.has(a.name)||Cn.has(a.name)||w.conflicting_def(a.name)){return false}if(R)R.push(a.definition())}return true}function can_inject_vars(e,t){var n=i.body.length;for(var r=0;r<n;r++){var a=i.body[r];if(!(a instanceof Te))continue;if(!t)return false;for(var o=a.definitions.length;--o>=0;){var s=a.definitions[o].name;if(s instanceof re||e.has(s.name)||Cn.has(s.name)||w.conflicting_def(s.name)){return false}if(R)R.push(s.definition())}}return true}function can_inject_symbols(){var e=new Set;do{w=t.parent(++M);if(w.is_block_scope()&&w.block_scope){w.block_scope.variables.forEach(function(t){e.add(t.name)})}if(w instanceof ke){if(w.argname){e.add(w.argname.name)}}else if(w instanceof z){R=[]}else if(w instanceof yt){if(w.fixed_value()instanceof j)return false}}while(!(w instanceof j));var n=!(w instanceof Z)||t.toplevel.vars;var r=t.option("inline");if(!can_inject_vars(e,r>=3&&n))return false;if(!can_inject_args(e,r>=2&&n))return false;return!R||R.length==0||!is_reachable(i,R)}function append_var(t,n,i,r){var a=i.definition();const o=w.variables.has(i.name);if(!o){w.variables.set(i.name,a);w.enclosed.push(a);t.push(make_node(Oe,i,{name:i,value:null}))}var s=make_node(yt,i,i);a.references.push(s);if(r)n.push(make_node(Xe,e,{operator:"=",left:s,right:r.clone()}))}function flatten_args(t,n){var r=i.argnames.length;for(var a=e.args.length;--a>=r;){n.push(e.args[a])}for(a=r;--a>=0;){var o=i.argnames[a];var s=e.args[a];if(kn(o,_n)||!o.name||w.conflicting_def(o.name)){if(s)n.push(s)}else{var u=make_node(st,o,o);o.definition().orig.push(u);if(!s&&R)s=make_node(Pt,e);append_var(t,n,u,s)}}t.reverse();n.reverse()}function flatten_vars(e,t){var n=t.length;for(var r=0,a=i.body.length;r<a;r++){var o=i.body[r];if(!(o instanceof Te))continue;for(var s=0,u=o.definitions.length;s<u;s++){var c=o.definitions[s];var l=c.name;append_var(e,t,l,c.value);if(R&&i.argnames.every(e=>e.name!=l.name)){var f=i.variables.get(l.name);var p=make_node(yt,l,l);f.references.push(p);t.splice(n++,0,make_node(Xe,c,{operator:"=",left:p,right:make_node(Pt,l)}))}}}}function flatten_fn(e){var n=[];var r=[];flatten_args(n,r);flatten_vars(n,r);r.push(e);if(n.length){const e=w.body.indexOf(t.parent(M-1))+1;w.body.splice(e,0,make_node(Te,i,{definitions:n}))}return r.map(e=>e.clone(true))}});def_optimize(Ie,function(e,t){if(t.option("unsafe")&&is_undeclared_ref(e.expression)&&["Object","RegExp","Function","Error","Array"].includes(e.expression.name))return make_node(Ne,e,e).transform(t);return e});def_optimize(Pe,function(e,t){if(!t.option("side_effects"))return e;var n=[];filter_for_side_effects();var i=n.length-1;trim_right_for_undefined();if(i==0){e=maintain_this_binding(t.parent(),t.self(),n[0]);if(!(e instanceof Pe))e=e.optimize(t);return e}e.expressions=n;return e;function filter_for_side_effects(){var i=first_in_statement(t);var r=e.expressions.length-1;e.expressions.forEach(function(e,a){if(a<r)e=e.drop_side_effect_free(t,i);if(e){merge_sequence(n,e);i=false}})}function trim_right_for_undefined(){while(i>0&&is_undefined(n[i],t))i--;if(i<n.length-1){n[i]=make_node(Ke,e,{operator:"void",expression:n[i]});n.length=i+1}}});Ue.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")){if(this.expression instanceof Pe){var t=this.expression.expressions.slice();var n=this.clone();n.expression=t.pop();t.push(n);return make_sequence(this,t).optimize(e)}}return this});def_optimize(ze,function(e,t){return e.lift_sequences(t)});def_optimize(Ke,function(e,t){var n=e.expression;if(e.operator=="delete"&&!(n instanceof yt||n instanceof Ve||is_identifier_atom(n))){if(n instanceof Pe){const i=n.expressions.slice();i.push(make_node(Kt,e));return make_sequence(e,i).optimize(t)}return make_sequence(e,[n,make_node(Kt,e)]).optimize(t)}var i=e.lift_sequences(t);if(i!==e){return i}if(t.option("side_effects")&&e.operator=="void"){n=n.drop_side_effect_free(t);if(n){e.expression=n;return e}else{return make_node(Pt,e).optimize(t)}}if(t.in_boolean_context()){switch(e.operator){case"!":if(n instanceof Ke&&n.operator=="!"){return n.expression}if(n instanceof Ge){e=best_of(t,e,n.negate(t,first_in_statement(t)))}break;case"typeof":return(n instanceof yt?make_node(Kt,e):make_sequence(e,[n,make_node(Kt,e)])).optimize(t)}}if(e.operator=="-"&&n instanceof Lt){n=n.transform(t)}if(n instanceof Ge&&(e.operator=="+"||e.operator=="-")&&(n.operator=="*"||n.operator=="/"||n.operator=="%")){return make_node(Ge,e,{operator:n.operator,left:make_node(Ke,n.left,{operator:e.operator,expression:n.left}),right:n.right})}if(e.operator!="-"||!(n instanceof Ft||n instanceof Lt||n instanceof wt)){var r=e.evaluate(t);if(r!==e){r=make_node_from_constant(r,e).optimize(t);return best_of(t,r,e)}}return e});Ge.DEFMETHOD("lift_sequences",function(e){if(e.option("sequences")){if(this.left instanceof Pe){var t=this.left.expressions.slice();var n=this.clone();n.left=t.pop();t.push(n);return make_sequence(this,t).optimize(e)}if(this.right instanceof Pe&&!this.left.has_side_effects(e)){var i=this.operator=="="&&this.left instanceof yt;var t=this.right.expressions;var r=t.length-1;for(var a=0;a<r;a++){if(!i&&t[a].has_side_effects(e))break}if(a==r){t=t.slice();var n=this.clone();n.right=t.pop();t.push(n);return make_sequence(this,t).optimize(e)}else if(a>0){var n=this.clone();n.right=make_sequence(this.right,t.slice(a));t=t.slice(0,a);t.push(n);return make_sequence(this,t).optimize(e)}}}return this});var Vn=makePredicate("== === != !== * & | ^");function is_object(e){return e instanceof We||e instanceof J||e instanceof Ye||e instanceof et}def_optimize(Ge,function(e,t){function reversible(){return e.left.is_constant()||e.right.is_constant()||!e.left.has_side_effects(t)&&!e.right.has_side_effects(t)}function reverse(t){if(reversible()){if(t)e.operator=t;var n=e.left;e.left=e.right;e.right=n}}if(Vn.has(e.operator)){if(e.right.is_constant()&&!e.left.is_constant()){if(!(e.left instanceof Ge&&O[e.left.operator]>=O[e.operator])){reverse()}}}e=e.lift_sequences(t);if(t.option("comparisons"))switch(e.operator){case"===":case"!==":var n=true;if(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.left.equivalent_to(e.right)){e.operator=e.operator.substr(0,2)}case"==":case"!=":if(!n&&is_undefined(e.left,t)){e.left=make_node(Nt,e.left)}else if(t.option("typeofs")&&e.left instanceof Ot&&e.left.value=="undefined"&&e.right instanceof Ke&&e.right.operator=="typeof"){var i=e.right.expression;if(i instanceof yt?i.is_declared(t):!(i instanceof Ve&&t.option("ie8"))){e.right=i;e.left=make_node(Pt,e.left).optimize(t);if(e.operator.length==2)e.operator+="="}}else if(e.left instanceof yt&&e.right instanceof yt&&e.left.definition()===e.right.definition()&&is_object(e.left.fixed_value())){return make_node(e.operator[0]=="="?Kt:Ut,e)}break;case"&&":case"||":var r=e.left;if(r.operator==e.operator){r=r.right}if(r instanceof Ge&&r.operator==(e.operator=="&&"?"!==":"===")&&e.right instanceof Ge&&r.operator==e.right.operator&&(is_undefined(r.left,t)&&e.right.left instanceof Nt||r.left instanceof Nt&&is_undefined(e.right.left,t))&&!r.right.has_side_effects(t)&&r.right.equivalent_to(e.right.right)){var a=make_node(Ge,e,{operator:r.operator.slice(0,-1),left:make_node(Nt,e),right:r.right});if(r!==e.left){a=make_node(Ge,e,{operator:e.operator,left:e.left.left,right:a})}return a}break}if(e.operator=="+"&&t.in_boolean_context()){var o=e.left.evaluate(t);var s=e.right.evaluate(t);if(o&&typeof o=="string"){return make_sequence(e,[e.right,make_node(Kt,e)]).optimize(t)}if(s&&typeof s=="string"){return make_sequence(e,[e.left,make_node(Kt,e)]).optimize(t)}}if(t.option("comparisons")&&e.is_boolean()){if(!(t.parent()instanceof Ge)||t.parent()instanceof Xe){var u=make_node(Ke,e,{operator:"!",expression:e.negate(t,first_in_statement(t))});e=best_of(t,e,u)}if(t.option("unsafe_comps")){switch(e.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(e.operator=="+"){if(e.right instanceof Ot&&e.right.getValue()==""&&e.left.is_string(t)){return e.left}if(e.left instanceof Ot&&e.left.getValue()==""&&e.right.is_string(t)){return e.right}if(e.left instanceof Ge&&e.left.operator=="+"&&e.left.left instanceof Ot&&e.left.left.getValue()==""&&e.right.is_string(t)){e.left=e.left.right;return e.transform(t)}}if(t.option("evaluate")){switch(e.operator){case"&&":var o=kn(e.left,hn)?true:kn(e.left,dn)?false:e.left.evaluate(t);if(!o){return maintain_this_binding(t.parent(),t.self(),e.left).optimize(t)}else if(!(o instanceof R)){return make_sequence(e,[e.left,e.right]).optimize(t)}var s=e.right.evaluate(t);if(!s){if(t.in_boolean_context()){return make_sequence(e,[e.left,make_node(Ut,e)]).optimize(t)}else{Sn(e,dn)}}else if(!(s instanceof R)){var c=t.parent();if(c.operator=="&&"&&c.left===t.self()||t.in_boolean_context()){return e.left.optimize(t)}}if(e.left.operator=="||"){var l=e.left.right.evaluate(t);if(!l)return make_node(He,e,{condition:e.left.left,consequent:e.right,alternative:e.left.right}).optimize(t)}break;case"||":var o=kn(e.left,hn)?true:kn(e.left,dn)?false:e.left.evaluate(t);if(!o){return make_sequence(e,[e.left,e.right]).optimize(t)}else if(!(o instanceof R)){return maintain_this_binding(t.parent(),t.self(),e.left).optimize(t)}var s=e.right.evaluate(t);if(!s){var c=t.parent();if(c.operator=="||"&&c.left===t.self()||t.in_boolean_context()){return e.left.optimize(t)}}else if(!(s instanceof R)){if(t.in_boolean_context()){return make_sequence(e,[e.left,make_node(Kt,e)]).optimize(t)}else{Sn(e,hn)}}if(e.left.operator=="&&"){var l=e.left.right.evaluate(t);if(l&&!(l instanceof R))return make_node(He,e,{condition:e.left.left,consequent:e.left.right,alternative:e.right}).optimize(t)}break;case"??":if(is_nullish(e.left)){return e.right}var o=e.left.evaluate(t);if(!(o instanceof R)){return o==null?e.right:e.left}if(t.in_boolean_context()){const n=e.right.evaluate(t);if(!(n instanceof R)&&!n){return e.left}}}var f=true;switch(e.operator){case"+":if(e.left instanceof xt&&e.right instanceof Ge&&e.right.operator=="+"&&e.right.is_string(t)){var p=make_node(Ge,e,{operator:"+",left:e.left,right:e.right.left});var _=p.optimize(t);if(p!==_){e=make_node(Ge,e,{operator:"+",left:_,right:e.right.right})}}if(e.right instanceof xt&&e.left instanceof Ge&&e.left.operator=="+"&&e.left.is_string(t)){var p=make_node(Ge,e,{operator:"+",left:e.left.right,right:e.right});var h=p.optimize(t);if(p!==h){e=make_node(Ge,e,{operator:"+",left:e.left.left,right:h})}}if(e.left instanceof Ge&&e.left.operator=="+"&&e.left.is_string(t)&&e.right instanceof Ge&&e.right.operator=="+"&&e.right.is_string(t)){var p=make_node(Ge,e,{operator:"+",left:e.left.right,right:e.right.left});var d=p.optimize(t);if(p!==d){e=make_node(Ge,e,{operator:"+",left:make_node(Ge,e.left,{operator:"+",left:e.left.left,right:d}),right:e.right.right})}}if(e.right instanceof Ke&&e.right.operator=="-"&&e.left.is_number(t)){e=make_node(Ge,e,{operator:"-",left:e.left,right:e.right.expression});break}if(e.left instanceof Ke&&e.left.operator=="-"&&reversible()&&e.right.is_number(t)){e=make_node(Ge,e,{operator:"-",left:e.right,right:e.left.expression});break}if(e.left instanceof oe){var _=e.left;var h=e.right.evaluate(t);if(h!=e.right){_.segments[_.segments.length-1].value+=h.toString();return _}}if(e.right instanceof oe){var h=e.right;var _=e.left.evaluate(t);if(_!=e.left){h.segments[0].value=_.toString()+h.segments[0].value;return h}}if(e.left instanceof oe&&e.right instanceof oe){var _=e.left;var m=_.segments;var h=e.right;m[m.length-1].value+=h.segments[0].value;for(var E=1;E<h.segments.length;E++){m.push(h.segments[E])}return _}case"*":f=t.option("unsafe_math");case"&":case"|":case"^":if(e.left.is_number(t)&&e.right.is_number(t)&&reversible()&&!(e.left instanceof Ge&&e.left.operator!=e.operator&&O[e.left.operator]>=O[e.operator])){var g=make_node(Ge,e,{operator:e.operator,left:e.right,right:e.left});if(e.right instanceof xt&&!(e.left instanceof xt)){e=best_of(t,g,e)}else{e=best_of(t,e,g)}}if(f&&e.is_number(t)){if(e.right instanceof Ge&&e.right.operator==e.operator){e=make_node(Ge,e,{operator:e.operator,left:make_node(Ge,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})}if(e.right instanceof xt&&e.left instanceof Ge&&e.left.operator==e.operator){if(e.left.left instanceof xt){e=make_node(Ge,e,{operator:e.operator,left:make_node(Ge,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})}else if(e.left.right instanceof xt){e=make_node(Ge,e,{operator:e.operator,left:make_node(Ge,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})}}if(e.left instanceof Ge&&e.left.operator==e.operator&&e.left.right instanceof xt&&e.right instanceof Ge&&e.right.operator==e.operator&&e.right.left instanceof xt){e=make_node(Ge,e,{operator:e.operator,left:make_node(Ge,e.left,{operator:e.operator,left:make_node(Ge,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 Ge&&e.right.operator==e.operator&&(xn.has(e.operator)||e.operator=="+"&&(e.right.left.is_string(t)||e.left.is_string(t)&&e.right.right.is_string(t)))){e.left=make_node(Ge,e.left,{operator:e.operator,left:e.left,right:e.right.left});e.right=e.right.right;return e.transform(t)}var v=e.evaluate(t);if(v!==e){v=make_node_from_constant(v,e).optimize(t);return best_of(t,v,e)}return e});def_optimize(kt,function(e){return e});function recursive_ref(e,t){var n;for(var i=0;n=e.parent(i);i++){if(n instanceof J||n instanceof et){var r=n.name;if(r&&r.definition()===t)break}}return n}function within_array_or_object_literal(e){var t,n=0;while(t=e.parent(n++)){if(t instanceof M)return false;if(t instanceof We||t instanceof je||t instanceof Ye){return true}}return false}def_optimize(yt,function(e,t){if(!t.option("ie8")&&is_undeclared_ref(e)&&!t.find_parent($)){switch(e.name){case"undefined":return make_node(Pt,e).optimize(t);case"NaN":return make_node(It,e).optimize(t);case"Infinity":return make_node(Lt,e).optimize(t)}}const n=t.parent();if(t.option("reduce_vars")&&is_lhs(e,n)!==e){const a=e.definition();const o=find_scope(t);if(t.top_retain&&a.global&&t.top_retain(a)){a.fixed=false;a.single_use=false;return e}let s=e.fixed_value();let u=a.single_use&&!(n instanceof Ne&&n.is_expr_pure(t)||has_annotation(n,Xt));if(u&&(s instanceof J||s instanceof et)){if(retain_top_func(s,t)){u=false}else if(a.scope!==e.scope&&(a.escaped==1||kn(s,En)||within_array_or_object_literal(t))){u=false}else if(recursive_ref(t,a)){u=false}else if(a.scope!==e.scope||a.orig[0]instanceof ft){u=s.is_constant_expression(e.scope);if(u=="f"){var i=e.scope;do{if(i instanceof ie||is_func_expr(i)){Sn(i,En)}}while(i=i.parent_scope)}}}if(u&&s instanceof J){u=a.scope===e.scope&&!scope_encloses_variables_in_this_scope(o,s)||n instanceof Ne&&n.expression===e&&!scope_encloses_variables_in_this_scope(o,s)}if(u&&s instanceof et){const e=!s.extends||!s.extends.may_throw(t)&&!s.extends.has_side_effects(t);u=e&&!s.properties.some(e=>e.may_throw(t)||e.has_side_effects(t))}if(u&&s){if(s instanceof nt){Sn(s,vn);s=make_node(it,s,s)}if(s instanceof ie){Sn(s,vn);s=make_node(te,s,s)}if(a.recursive_refs>0&&s.name instanceof pt){const e=s.name.definition();let t=s.variables.get(s.name.name);let n=t&&t.orig[0];if(!(n instanceof dt)){n=make_node(dt,s.name,s.name);n.scope=s;s.name=n;t=s.def_function(n)}walk(s,n=>{if(n instanceof yt&&n.definition()===e){n.thedef=t;t.references.push(n)}})}if((s instanceof J||s instanceof et)&&s.parent_scope!==o){s=s.clone(true,t.get_toplevel());o.add_child_scope(s)}return s.optimize(t)}if(s){let e;if(s instanceof Tt){if(!(a.orig[0]instanceof ft)&&a.references.every(e=>a.scope===e.scope)){e=s}}else{var r=s.evaluate(t);if(r!==s&&(t.option("unsafe_regexp")||!(r instanceof RegExp))){e=make_node_from_constant(r,s)}}if(e){const n=a.name.length;const i=e.size();let r=0;if(t.option("unused")&&!t.exposed(a)){r=(n+2+i)/(a.references.length-a.assignments)}if(i<=n+r){return e}}}}return e});function scope_encloses_variables_in_this_scope(e,t){for(const n of t.enclosed){if(t.variables.has(n.name)){continue}const i=e.find_variable(n.name);if(i){if(i===n)continue;return true}}return false}function is_atomic(e,t){return e instanceof yt||e.TYPE===t.TYPE}def_optimize(Pt,function(e,t){if(t.option("unsafe_undefined")){var n=find_variable(t,"undefined");if(n){var i=make_node(yt,e,{name:"undefined",scope:n.scope,thedef:n});Sn(i,mn);return i}}var r=is_lhs(t.self(),t.parent());if(r&&is_atomic(r,e))return e;return make_node(Ke,e,{operator:"void",expression:make_node(Ft,e,{value:0})})});def_optimize(Lt,function(e,t){var n=is_lhs(t.self(),t.parent());if(n&&is_atomic(n,e))return e;if(t.option("keep_infinity")&&!(n&&!is_atomic(n,e))&&!find_variable(t,"Infinity")){return e}return make_node(Ge,e,{operator:"/",left:make_node(Ft,e,{value:1}),right:make_node(Ft,e,{value:0})})});def_optimize(It,function(e,t){var n=is_lhs(t.self(),t.parent());if(n&&!is_atomic(n,e)||find_variable(t,"NaN")){return make_node(Ge,e,{operator:"/",left:make_node(Ft,e,{value:0}),right:make_node(Ft,e,{value:0})})}return e});function is_reachable(e,t){const n=e=>{if(e instanceof yt&&member(e.definition(),t)){return zt}};return walk_parent(e,(t,i)=>{if(t instanceof j&&t!==e){var r=i.parent();if(r instanceof Ne&&r.expression===t)return;if(walk(t,n))return zt;return true}})}const Ln=makePredicate("+ - / * % >> << >>> | ^ &");const Bn=makePredicate("* | ^ &");def_optimize(Xe,function(e,t){var n;if(t.option("dead_code")&&e.left instanceof yt&&(n=e.left.definition()).scope===t.find_parent(J)){var i=0,r,a=e;do{r=a;a=t.parent(i++);if(a instanceof ce){if(in_try(i,a))break;if(is_reachable(n.scope,[n]))break;if(e.operator=="=")return e.right;n.fixed=false;return make_node(Ge,e,{operator:e.operator.slice(0,-1),left:e.left,right:e.right}).optimize(t)}}while(a instanceof Ge&&a.right===r||a instanceof Pe&&a.tail_node()===r)}e=e.lift_sequences(t);if(e.operator=="="&&e.left instanceof yt&&e.right instanceof Ge){if(e.right.left instanceof yt&&e.right.left.name==e.left.name&&Ln.has(e.right.operator)){e.operator=e.right.operator+"=";e.right=e.right.right}else if(e.right.right instanceof yt&&e.right.right.name==e.left.name&&Bn.has(e.right.operator)&&!e.right.left.has_side_effects(t)){e.operator=e.right.operator+"=";e.right=e.right.left}}return e;function in_try(n,i){var r=e.right;e.right=make_node(Nt,r);var a=i.may_throw(t);e.right=r;var o=e.left.definition().scope;var s;while((s=t.parent(n++))!==o){if(s instanceof ye){if(s.bfinally)return true;if(a&&s.bcatch)return true}}}});def_optimize(qe,function(e,t){if(!t.option("evaluate")){return e}var n=e.right.evaluate(t);if(n===undefined){e=e.left}else if(n!==e.right){n=make_node_from_constant(n,e.right);e.right=best_of_expression(n,e.right)}return e});function is_nullish(e){let t;return e instanceof Nt||is_undefined(e)||e instanceof yt&&(t=e.definition().fixed)instanceof R&&is_nullish(t)}function is_nullish_check(e,t,n){if(t.may_throw(n))return false;let i;if(e instanceof Ge&&e.operator==="=="&&((i=is_nullish(e.left)&&e.left)||(i=is_nullish(e.right)&&e.right))&&(i===e.left?e.right:e.left).equivalent_to(t)){return true}if(e instanceof Ge&&e.operator==="||"){let n;let i;const r=e=>{if(!(e instanceof Ge&&(e.operator==="==="||e.operator==="=="))){return false}let r=0;let a;if(e.left instanceof Nt){r++;n=e;a=e.right}if(e.right instanceof Nt){r++;n=e;a=e.left}if(is_undefined(e.left)){r++;i=e;a=e.right}if(is_undefined(e.right)){r++;i=e;a=e.left}if(r!==1){return false}if(!a.equivalent_to(t)){return false}return true};if(!r(e.left))return false;if(!r(e.right))return false;if(n&&i&&n!==i){return true}}return false}def_optimize(He,function(e,t){if(!t.option("conditionals"))return e;if(e.condition instanceof Pe){var n=e.condition.expressions.slice();e.condition=n.pop();n.push(e);return make_sequence(e,n)}var i=e.condition.evaluate(t);if(i!==e.condition){if(i){return maintain_this_binding(t.parent(),t.self(),e.consequent)}else{return maintain_this_binding(t.parent(),t.self(),e.alternative)}}var r=i.negate(t,first_in_statement(t));if(best_of(t,i,r)===r){e=make_node(He,e,{condition:r,consequent:e.alternative,alternative:e.consequent})}var a=e.condition;var o=e.consequent;var s=e.alternative;if(a instanceof yt&&o instanceof yt&&a.definition()===o.definition()){return make_node(Ge,e,{operator:"||",left:a,right:s})}if(o instanceof Xe&&s instanceof Xe&&o.operator==s.operator&&o.left.equivalent_to(s.left)&&(!e.condition.has_side_effects(t)||o.operator=="="&&!o.left.has_side_effects(t))){return make_node(Xe,e,{operator:o.operator,left:o.left,right:make_node(He,e,{condition:e.condition,consequent:o.right,alternative:s.right})})}var u;if(o instanceof Ne&&s.TYPE===o.TYPE&&o.args.length>0&&o.args.length==s.args.length&&o.expression.equivalent_to(s.expression)&&!e.condition.has_side_effects(t)&&!o.expression.has_side_effects(t)&&typeof(u=single_arg_diff())=="number"){var c=o.clone();c.args[u]=make_node(He,e,{condition:e.condition,consequent:o.args[u],alternative:s.args[u]});return c}if(s instanceof He&&o.equivalent_to(s.consequent)){return make_node(He,e,{condition:make_node(Ge,e,{operator:"||",left:a,right:s.condition}),consequent:o,alternative:s.alternative}).optimize(t)}if(t.option("ecma")>=2020&&is_nullish_check(a,s,t)){return make_node(Ge,e,{operator:"??",left:s,right:o}).optimize(t)}if(s instanceof Pe&&o.equivalent_to(s.expressions[s.expressions.length-1])){return make_sequence(e,[make_node(Ge,e,{operator:"||",left:a,right:make_sequence(e,s.expressions.slice(0,-1))}),o]).optimize(t)}if(s instanceof Ge&&s.operator=="&&"&&o.equivalent_to(s.right)){return make_node(Ge,e,{operator:"&&",left:make_node(Ge,e,{operator:"||",left:a,right:s.left}),right:o}).optimize(t)}if(o instanceof He&&o.alternative.equivalent_to(s)){return make_node(He,e,{condition:make_node(Ge,e,{left:e.condition,operator:"&&",right:o.condition}),consequent:o.consequent,alternative:s})}if(o.equivalent_to(s)){return make_sequence(e,[e.condition,o]).optimize(t)}if(o instanceof Ge&&o.operator=="||"&&o.right.equivalent_to(s)){return make_node(Ge,e,{operator:"||",left:make_node(Ge,e,{operator:"&&",left:e.condition,right:o.left}),right:s}).optimize(t)}var l=t.in_boolean_context();if(is_true(e.consequent)){if(is_false(e.alternative)){return booleanize(e.condition)}return make_node(Ge,e,{operator:"||",left:booleanize(e.condition),right:e.alternative})}if(is_false(e.consequent)){if(is_true(e.alternative)){return booleanize(e.condition.negate(t))}return make_node(Ge,e,{operator:"&&",left:booleanize(e.condition.negate(t)),right:e.alternative})}if(is_true(e.alternative)){return make_node(Ge,e,{operator:"||",left:booleanize(e.condition.negate(t)),right:e.consequent})}if(is_false(e.alternative)){return make_node(Ge,e,{operator:"&&",left:booleanize(e.condition),right:e.consequent})}return e;function booleanize(e){if(e.is_boolean())return e;return make_node(Ke,e,{operator:"!",expression:e.negate(t)})}function is_true(e){return e instanceof Kt||l&&e instanceof xt&&e.getValue()||e instanceof Ke&&e.operator=="!"&&e.expression instanceof xt&&!e.expression.getValue()}function is_false(e){return e instanceof Ut||l&&e instanceof xt&&!e.getValue()||e instanceof Ke&&e.operator=="!"&&e.expression instanceof xt&&e.expression.getValue()}function single_arg_diff(){var e=o.args;var t=s.args;for(var n=0,i=e.length;n<i;n++){if(e[n]instanceof Q)return;if(!e[n].equivalent_to(t[n])){if(t[n]instanceof Q)return;for(var r=n+1;r<i;r++){if(e[r]instanceof Q)return;if(!e[r].equivalent_to(t[r]))return}return n}}}});def_optimize(Bt,function(e,t){if(t.in_boolean_context())return make_node(Ft,e,{value:+e.value});var n=t.parent();if(t.option("booleans_as_integers")){if(n instanceof Ge&&(n.operator=="==="||n.operator=="!==")){n.operator=n.operator.replace(/=$/,"")}return make_node(Ft,e,{value:+e.value})}if(t.option("booleans")){if(n instanceof Ge&&(n.operator=="=="||n.operator=="!=")){return make_node(Ft,e,{value:+e.value})}return make_node(Ke,e,{operator:"!",expression:make_node(Ft,e,{value:1-e.value})})}return e});function safe_to_flatten(e,t){if(e instanceof yt){e=e.fixed_value()}if(!e)return false;if(!(e instanceof J||e instanceof et))return true;if(!(e instanceof J&&e.contains_this()))return true;return t.parent()instanceof Ie}def_optimize(Be,function(e,t){var n=e.expression;var i=e.property;if(t.option("properties")){var r=i.evaluate(t);if(r!==i){if(typeof r=="string"){if(r=="undefined"){r=undefined}else{var a=parseFloat(r);if(a.toString()==r){r=a}}}i=e.property=best_of_expression(i,make_node_from_constant(r,i).transform(t));var o=""+r;if(is_basic_identifier_string(o)&&o.length<=i.size()+1){return make_node(Le,e,{expression:n,property:o,quote:i.quote}).optimize(t)}}}var s;e:if(t.option("arguments")&&n instanceof yt&&n.name=="arguments"&&n.definition().orig.length==1&&(s=n.scope)instanceof J&&s.uses_arguments&&!(s instanceof ne)&&i instanceof Ft){var u=i.getValue();var c=new Set;var l=s.argnames;for(var f=0;f<l.length;f++){if(!(l[f]instanceof ft)){break e}var p=l[f].name;if(c.has(p)){break e}c.add(p)}var _=s.argnames[u];if(_&&t.has_directive("use strict")){var h=_.definition();if(!t.option("reduce_vars")||h.assignments||h.orig.length>1){_=null}}else if(!_&&!t.option("keep_fargs")&&u<s.argnames.length+5){while(u>=s.argnames.length){_=s.create_symbol(ft,{source:s,scope:s,tentative_name:"argument_"+s.argnames.length});s.argnames.push(_)}}if(_){var d=make_node(yt,e,_);d.reference({});An(_,_n);return d}}if(is_lhs(e,t.parent()))return e;if(r!==i){var m=e.flatten_object(o,t);if(m){n=e.expression=m.expression;i=e.property=m.property}}if(t.option("properties")&&t.option("side_effects")&&i instanceof Ft&&n instanceof We){var u=i.getValue();var E=n.elements;var g=E[u];e:if(safe_to_flatten(g,t)){var v=true;var D=[];for(var b=E.length;--b>u;){var a=E[b].drop_side_effect_free(t);if(a){D.unshift(a);if(v&&a.has_side_effects(t))v=false}}if(g instanceof Q)break e;g=g instanceof Vt?make_node(Pt,g):g;if(!v)D.unshift(g);while(--b>=0){var a=E[b];if(a instanceof Q)break e;a=a.drop_side_effect_free(t);if(a)D.unshift(a);else u--}if(v){D.push(g);return make_sequence(e,D).optimize(t)}else return make_node(Be,e,{expression:make_node(We,n,{elements:D}),property:make_node(Ft,i,{value:u})})}}var y=e.evaluate(t);if(y!==e){y=make_node_from_constant(y,e).optimize(t);return best_of(t,y,e)}return e});J.DEFMETHOD("contains_this",function(){return walk(this,e=>{if(e instanceof Tt)return zt;if(e!==this&&e instanceof j&&!(e instanceof ne)){return true}})});Ve.DEFMETHOD("flatten_object",function(e,t){if(!t.option("properties"))return;var n=t.option("unsafe_arrows")&&t.option("ecma")>=2015;var i=this.expression;if(i instanceof Ye){var r=i.properties;for(var a=r.length;--a>=0;){var o=r[a];if(""+(o instanceof Je?o.key.name:o.key)==e){if(!r.every(e=>{return e instanceof je||n&&e instanceof Je&&!e.is_generator}))break;if(!safe_to_flatten(o.value,t))break;return make_node(Be,this,{expression:make_node(We,i,{elements:r.map(function(e){var t=e.value;if(t instanceof ee)t=make_node(te,t,t);var n=e.key;if(n instanceof R&&!(n instanceof _t)){return make_sequence(e,[n,t])}return t})}),property:make_node(Ft,this,{value:a})})}}}});def_optimize(Le,function(e,t){const n=t.parent();if(is_lhs(e,n))return e;if(t.option("unsafe_proto")&&e.expression instanceof Le&&e.expression.property=="prototype"){var i=e.expression.expression;if(is_undeclared_ref(i))switch(i.name){case"Array":e.expression=make_node(We,e.expression,{elements:[]});break;case"Function":e.expression=make_node(te,e.expression,{argnames:[],body:[]});break;case"Number":e.expression=make_node(Ft,e.expression,{value:0});break;case"Object":e.expression=make_node(Ye,e.expression,{properties:[]});break;case"RegExp":e.expression=make_node(Rt,e.expression,{value:{source:"t",flags:""}});break;case"String":e.expression=make_node(Ot,e.expression,{value:""});break}}if(!(n instanceof Ne)||!has_annotation(n,Xt)){const n=e.flatten_object(e.property,t);if(n)return n.optimize(t)}let r=e.evaluate(t);if(r!==e){r=make_node_from_constant(r,e).optimize(t);return best_of(t,r,e)}return e});function literals_in_boolean_context(e,t){if(t.in_boolean_context()){return best_of(t,e,make_sequence(e,[e,make_node(Kt,e)]).optimize(t))}return e}function inline_array_like_spread(e,t,n){for(var i=0;i<n.length;i++){var r=n[i];if(r instanceof Q){var a=r.expression;if(a instanceof We){n.splice(i,1,...a.elements);i--}}}return e}def_optimize(We,function(e,t){var n=literals_in_boolean_context(e,t);if(n!==e){return n}return inline_array_like_spread(e,t,e.elements)});def_optimize(Ye,function(e,t){var n=literals_in_boolean_context(e,t);if(n!==e){return n}var i=e.properties;for(var r=0;r<i.length;r++){var a=i[r];if(a instanceof Q){var o=a.expression;if(o instanceof Ye){i.splice.apply(i,[r,1].concat(a.expression.properties));r--}else if(o instanceof xt&&!(o instanceof Ot)){i.splice(r,1)}}}return e});def_optimize(Rt,literals_in_boolean_context);def_optimize(le,function(e,t){if(e.value&&is_undefined(e.value,t)){e.value=null}return e});def_optimize(ne,opt_AST_Lambda);def_optimize(te,function(e,t){e=opt_AST_Lambda(e,t);if(t.option("unsafe_arrows")&&t.option("ecma")>=2015&&!e.name&&!e.is_generator&&!e.uses_arguments&&!e.pinned()){const n=walk(e,e=>{if(e instanceof Tt)return zt});if(!n)return make_node(ne,e,e).optimize(t)}return e});def_optimize(et,function(e){return e});def_optimize(me,function(e,t){if(e.expression&&!e.is_star&&is_undefined(e.expression,t)){e.expression=null}return e});def_optimize(oe,function(e,t){if(!t.option("evaluate")||t.parent()instanceof ae)return e;var n=[];for(var i=0;i<e.segments.length;i++){var r=e.segments[i];if(r instanceof R){var a=r.evaluate(t);if(a!==r&&(a+"").length<=r.size()+"${}".length){n[n.length-1].value=n[n.length-1].value+a+e.segments[++i].value;continue}if(r instanceof oe){var o=r.segments;n[n.length-1].value+=o[0].value;for(var s=1;s<o.length;s++){r=o[s];n.push(r)}continue}}n.push(r)}e.segments=n;if(n.length==1){return make_node(Ot,e,n[0])}if(n.length===3&&n[1]instanceof R){if(n[2].value===""){return make_node(Ge,e,{operator:"+",left:make_node(Ot,e,{value:n[0].value}),right:n[1]})}if(n[0].value===""){return make_node(Ge,e,{operator:"+",left:n[1],right:make_node(Ot,e,{value:n[2].value})})}}return e});def_optimize(ae,function(e){return e});function lift_key(e,t){if(!t.option("computed_props"))return e;if(!(e.key instanceof xt))return e;if(e.key instanceof Ot||e.key instanceof Ft){if(e.key.value==="__proto__")return e;if(e.key.value=="constructor"&&t.parent()instanceof et)return e;if(e instanceof je){e.key=e.key.value}else if(e instanceof tt){e.key=make_node(ht,e.key,{name:e.key.value})}else{e.key=make_node(_t,e.key,{name:e.key.value})}}return e}def_optimize($e,lift_key);def_optimize(Je,function(e,t){lift_key(e,t);if(t.option("arrows")&&t.parent()instanceof Ye&&!e.is_generator&&!e.value.uses_arguments&&!e.value.pinned()&&e.value.body.length==1&&e.value.body[0]instanceof le&&e.value.body[0].value&&!e.value.contains_this()){var n=make_node(ne,e.value,e.value);n.async=e.async;n.is_generator=e.is_generator;return make_node(je,e,{key:e.key instanceof _t?e.key.name:e.key,value:n,quote:e.quote})}return e});def_optimize(je,function(e,t){lift_key(e,t);var n=t.option("unsafe_methods");if(n&&t.option("ecma")>=2015&&(!(n instanceof RegExp)||n.test(e.key+""))){var i=e.key;var r=e.value;var a=r instanceof ne&&Array.isArray(r.body)&&!r.contains_this();if((a||r instanceof te)&&!r.name){return make_node(Je,e,{async:r.async,is_generator:r.is_generator,key:i instanceof R?i:make_node(_t,e,{name:i}),value:make_node(ee,r,r),quote:e.quote})}}return e});def_optimize(re,function(e,t){if(t.option("pure_getters")==true&&t.option("unused")&&!e.is_array&&Array.isArray(e.names)&&!is_destructuring_export_decl(t)){var n=[];for(var i=0;i<e.names.length;i++){var r=e.names[i];if(!(r instanceof je&&typeof r.key=="string"&&r.value instanceof ot&&!should_retain(t,r.value.definition()))){n.push(r)}}if(n.length!=e.names.length){e.names=n}}return e;function is_destructuring_export_decl(e){var t=[/^VarDef$/,/^(Const|Let|Var)$/,/^Export$/];for(var n=0,i=0,r=t.length;n<r;i++){var a=e.parent(i);if(!a)return false;if(n===0&&a.TYPE=="Destructuring")continue;if(!t[n].test(a.TYPE)){return false}n++}return true}function should_retain(e,t){if(t.references.length)return true;if(!t.global)return false;if(e.toplevel.vars){if(e.top_retain){return e.top_retain(t)}return false}return true}});function SourceMap(e){e=defaults(e,{file:null,root:null,orig:null,orig_line_diff:0,dest_line_diff:0});var n=new t.SourceMapGenerator({file:e.file,sourceRoot:e.root});var i=e.orig&&new t.SourceMapConsumer(e.orig);if(i){i.sources.forEach(function(e){var t=i.sourceContentFor(e,true);if(t){n.setSourceContent(e,t)}})}function add(t,r,a,o,s,u){if(i){var c=i.originalPositionFor({line:o,column:s});if(c.source===null){return}t=c.source;o=c.line;s=c.column;u=c.name||u}n.addMapping({generated:{line:r+e.dest_line_diff,column:a},original:{line:o+e.orig_line_diff,column:s},source:t,name:u})}return{add:add,get:function(){return n},toString:function(){return JSON.stringify(n.toJSON())}}}var Un=["$&","$'","$*","$+","$1","$2","$3","$4","$5","$6","$7","$8","$9","$_","$`","$input","@@iterator","ABORT_ERR","ACTIVE","ACTIVE_ATTRIBUTES","ACTIVE_TEXTURE","ACTIVE_UNIFORMS","ADDITION","ALIASED_LINE_WIDTH_RANGE","ALIASED_POINT_SIZE_RANGE","ALLOW_KEYBOARD_INPUT","ALLPASS","ALPHA","ALPHA_BITS","ALT_MASK","ALWAYS","ANY_TYPE","ANY_UNORDERED_NODE_TYPE","ARRAY_BUFFER","ARRAY_BUFFER_BINDING","ATTACHED_SHADERS","ATTRIBUTE_NODE","AT_TARGET","AddSearchProvider","AnalyserNode","AnimationEvent","AnonXMLHttpRequest","ApplicationCache","ApplicationCacheErrorEvent","Array","ArrayBuffer","Attr","Audio","AudioBuffer","AudioBufferSourceNode","AudioContext","AudioDestinationNode","AudioListener","AudioNode","AudioParam","AudioProcessingEvent","AudioStreamTrack","AutocompleteErrorEvent","BACK","BAD_BOUNDARYPOINTS_ERR","BANDPASS","BLEND","BLEND_COLOR","BLEND_DST_ALPHA","BLEND_DST_RGB","BLEND_EQUATION","BLEND_EQUATION_ALPHA","BLEND_EQUATION_RGB","BLEND_SRC_ALPHA","BLEND_SRC_RGB","BLUE_BITS","BLUR","BOOL","BOOLEAN_TYPE","BOOL_VEC2","BOOL_VEC3","BOOL_VEC4","BOTH","BROWSER_DEFAULT_WEBGL","BUBBLING_PHASE","BUFFER_SIZE","BUFFER_USAGE","BYTE","BYTES_PER_ELEMENT","BarProp","BaseHref","BatteryManager","BeforeLoadEvent","BeforeUnloadEvent","BiquadFilterNode","Blob","BlobEvent","Boolean","CAPTURING_PHASE","CCW","CDATASection","CDATA_SECTION_NODE","CHANGE","CHARSET_RULE","CHECKING","CLAMP_TO_EDGE","CLICK","CLOSED","CLOSING","COLOR_ATTACHMENT0","COLOR_BUFFER_BIT","COLOR_CLEAR_VALUE","COLOR_WRITEMASK","COMMENT_NODE","COMPILE_STATUS","COMPRESSED_RGBA_S3TC_DXT1_EXT","COMPRESSED_RGBA_S3TC_DXT3_EXT","COMPRESSED_RGBA_S3TC_DXT5_EXT","COMPRESSED_RGB_S3TC_DXT1_EXT","COMPRESSED_TEXTURE_FORMATS","CONNECTING","CONSTANT_ALPHA","CONSTANT_COLOR","CONSTRAINT_ERR","CONTEXT_LOST_WEBGL","CONTROL_MASK","COUNTER_STYLE_RULE","CSS","CSS2Properties","CSSCharsetRule","CSSConditionRule","CSSCounterStyleRule","CSSFontFaceRule","CSSFontFeatureValuesRule","CSSGroupingRule","CSSImportRule","CSSKeyframeRule","CSSKeyframesRule","CSSMediaRule","CSSMozDocumentRule","CSSNameSpaceRule","CSSPageRule","CSSPrimitiveValue","CSSRule","CSSRuleList","CSSStyleDeclaration","CSSStyleRule","CSSStyleSheet","CSSSupportsRule","CSSUnknownRule","CSSValue","CSSValueList","CSSVariablesDeclaration","CSSVariablesRule","CSSViewportRule","CSS_ATTR","CSS_CM","CSS_COUNTER","CSS_CUSTOM","CSS_DEG","CSS_DIMENSION","CSS_EMS","CSS_EXS","CSS_FILTER_BLUR","CSS_FILTER_BRIGHTNESS","CSS_FILTER_CONTRAST","CSS_FILTER_CUSTOM","CSS_FILTER_DROP_SHADOW","CSS_FILTER_GRAYSCALE","CSS_FILTER_HUE_ROTATE","CSS_FILTER_INVERT","CSS_FILTER_OPACITY","CSS_FILTER_REFERENCE","CSS_FILTER_SATURATE","CSS_FILTER_SEPIA","CSS_GRAD","CSS_HZ","CSS_IDENT","CSS_IN","CSS_INHERIT","CSS_KHZ","CSS_MATRIX","CSS_MATRIX3D","CSS_MM","CSS_MS","CSS_NUMBER","CSS_PC","CSS_PERCENTAGE","CSS_PERSPECTIVE","CSS_PRIMITIVE_VALUE","CSS_PT","CSS_PX","CSS_RAD","CSS_RECT","CSS_RGBCOLOR","CSS_ROTATE","CSS_ROTATE3D","CSS_ROTATEX","CSS_ROTATEY","CSS_ROTATEZ","CSS_S","CSS_SCALE","CSS_SCALE3D","CSS_SCALEX","CSS_SCALEY","CSS_SCALEZ","CSS_SKEW","CSS_SKEWX","CSS_SKEWY","CSS_STRING","CSS_TRANSLATE","CSS_TRANSLATE3D","CSS_TRANSLATEX","CSS_TRANSLATEY","CSS_TRANSLATEZ","CSS_UNKNOWN","CSS_URI","CSS_VALUE_LIST","CSS_VH","CSS_VMAX","CSS_VMIN","CSS_VW","CULL_FACE","CULL_FACE_MODE","CURRENT_PROGRAM","CURRENT_VERTEX_ATTRIB","CUSTOM","CW","CanvasGradient","CanvasPattern","CanvasRenderingContext2D","CaretPosition","ChannelMergerNode","ChannelSplitterNode","CharacterData","ClientRect","ClientRectList","Clipboard","ClipboardEvent","CloseEvent","Collator","CommandEvent","Comment","CompositionEvent","Console","Controllers","ConvolverNode","Counter","Crypto","CryptoKey","CustomEvent","DATABASE_ERR","DATA_CLONE_ERR","DATA_ERR","DBLCLICK","DECR","DECR_WRAP","DELETE_STATUS","DEPTH_ATTACHMENT","DEPTH_BITS","DEPTH_BUFFER_BIT","DEPTH_CLEAR_VALUE","DEPTH_COMPONENT","DEPTH_COMPONENT16","DEPTH_FUNC","DEPTH_RANGE","DEPTH_STENCIL","DEPTH_STENCIL_ATTACHMENT","DEPTH_TEST","DEPTH_WRITEMASK","DIRECTION_DOWN","DIRECTION_LEFT","DIRECTION_RIGHT","DIRECTION_UP","DISABLED","DISPATCH_REQUEST_ERR","DITHER","DOCUMENT_FRAGMENT_NODE","DOCUMENT_NODE","DOCUMENT_POSITION_CONTAINED_BY","DOCUMENT_POSITION_CONTAINS","DOCUMENT_POSITION_DISCONNECTED","DOCUMENT_POSITION_FOLLOWING","DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC","DOCUMENT_POSITION_PRECEDING","DOCUMENT_TYPE_NODE","DOMCursor","DOMError","DOMException","DOMImplementation","DOMImplementationLS","DOMMatrix","DOMMatrixReadOnly","DOMParser","DOMPoint","DOMPointReadOnly","DOMQuad","DOMRect","DOMRectList","DOMRectReadOnly","DOMRequest","DOMSTRING_SIZE_ERR","DOMSettableTokenList","DOMStringList","DOMStringMap","DOMTokenList","DOMTransactionEvent","DOM_DELTA_LINE","DOM_DELTA_PAGE","DOM_DELTA_PIXEL","DOM_INPUT_METHOD_DROP","DOM_INPUT_METHOD_HANDWRITING","DOM_INPUT_METHOD_IME","DOM_INPUT_METHOD_KEYBOARD","DOM_INPUT_METHOD_MULTIMODAL","DOM_INPUT_METHOD_OPTION","DOM_INPUT_METHOD_PASTE","DOM_INPUT_METHOD_SCRIPT","DOM_INPUT_METHOD_UNKNOWN","DOM_INPUT_METHOD_VOICE","DOM_KEY_LOCATION_JOYSTICK","DOM_KEY_LOCATION_LEFT","DOM_KEY_LOCATION_MOBILE","DOM_KEY_LOCATION_NUMPAD","DOM_KEY_LOCATION_RIGHT","DOM_KEY_LOCATION_STANDARD","DOM_VK_0","DOM_VK_1","DOM_VK_2","DOM_VK_3","DOM_VK_4","DOM_VK_5","DOM_VK_6","DOM_VK_7","DOM_VK_8","DOM_VK_9","DOM_VK_A","DOM_VK_ACCEPT","DOM_VK_ADD","DOM_VK_ALT","DOM_VK_ALTGR","DOM_VK_AMPERSAND","DOM_VK_ASTERISK","DOM_VK_AT","DOM_VK_ATTN","DOM_VK_B","DOM_VK_BACKSPACE","DOM_VK_BACK_QUOTE","DOM_VK_BACK_SLASH","DOM_VK_BACK_SPACE","DOM_VK_C","DOM_VK_CANCEL","DOM_VK_CAPS_LOCK","DOM_VK_CIRCUMFLEX","DOM_VK_CLEAR","DOM_VK_CLOSE_BRACKET","DOM_VK_CLOSE_CURLY_BRACKET","DOM_VK_CLOSE_PAREN","DOM_VK_COLON","DOM_VK_COMMA","DOM_VK_CONTEXT_MENU","DOM_VK_CONTROL","DOM_VK_CONVERT","DOM_VK_CRSEL","DOM_VK_CTRL","DOM_VK_D","DOM_VK_DECIMAL","DOM_VK_DELETE","DOM_VK_DIVIDE","DOM_VK_DOLLAR","DOM_VK_DOUBLE_QUOTE","DOM_VK_DOWN","DOM_VK_E","DOM_VK_EISU","DOM_VK_END","DOM_VK_ENTER","DOM_VK_EQUALS","DOM_VK_EREOF","DOM_VK_ESCAPE","DOM_VK_EXCLAMATION","DOM_VK_EXECUTE","DOM_VK_EXSEL","DOM_VK_F","DOM_VK_F1","DOM_VK_F10","DOM_VK_F11","DOM_VK_F12","DOM_VK_F13","DOM_VK_F14","DOM_VK_F15","DOM_VK_F16","DOM_VK_F17","DOM_VK_F18","DOM_VK_F19","DOM_VK_F2","DOM_VK_F20","DOM_VK_F21","DOM_VK_F22","DOM_VK_F23","DOM_VK_F24","DOM_VK_F25","DOM_VK_F26","DOM_VK_F27","DOM_VK_F28","DOM_VK_F29","DOM_VK_F3","DOM_VK_F30","DOM_VK_F31","DOM_VK_F32","DOM_VK_F33","DOM_VK_F34","DOM_VK_F35","DOM_VK_F36","DOM_VK_F4","DOM_VK_F5","DOM_VK_F6","DOM_VK_F7","DOM_VK_F8","DOM_VK_F9","DOM_VK_FINAL","DOM_VK_FRONT","DOM_VK_G","DOM_VK_GREATER_THAN","DOM_VK_H","DOM_VK_HANGUL","DOM_VK_HANJA","DOM_VK_HASH","DOM_VK_HELP","DOM_VK_HK_TOGGLE","DOM_VK_HOME","DOM_VK_HYPHEN_MINUS","DOM_VK_I","DOM_VK_INSERT","DOM_VK_J","DOM_VK_JUNJA","DOM_VK_K","DOM_VK_KANA","DOM_VK_KANJI","DOM_VK_L","DOM_VK_LEFT","DOM_VK_LEFT_TAB","DOM_VK_LESS_THAN","DOM_VK_M","DOM_VK_META","DOM_VK_MODECHANGE","DOM_VK_MULTIPLY","DOM_VK_N","DOM_VK_NONCONVERT","DOM_VK_NUMPAD0","DOM_VK_NUMPAD1","DOM_VK_NUMPAD2","DOM_VK_NUMPAD3","DOM_VK_NUMPAD4","DOM_VK_NUMPAD5","DOM_VK_NUMPAD6","DOM_VK_NUMPAD7","DOM_VK_NUMPAD8","DOM_VK_NUMPAD9","DOM_VK_NUM_LOCK","DOM_VK_O","DOM_VK_OEM_1","DOM_VK_OEM_102","DOM_VK_OEM_2","DOM_VK_OEM_3","DOM_VK_OEM_4","DOM_VK_OEM_5","DOM_VK_OEM_6","DOM_VK_OEM_7","DOM_VK_OEM_8","DOM_VK_OEM_COMMA","DOM_VK_OEM_MINUS","DOM_VK_OEM_PERIOD","DOM_VK_OEM_PLUS","DOM_VK_OPEN_BRACKET","DOM_VK_OPEN_CURLY_BRACKET","DOM_VK_OPEN_PAREN","DOM_VK_P","DOM_VK_PA1","DOM_VK_PAGEDOWN","DOM_VK_PAGEUP","DOM_VK_PAGE_DOWN","DOM_VK_PAGE_UP","DOM_VK_PAUSE","DOM_VK_PERCENT","DOM_VK_PERIOD","DOM_VK_PIPE","DOM_VK_PLAY","DOM_VK_PLUS","DOM_VK_PRINT","DOM_VK_PRINTSCREEN","DOM_VK_PROCESSKEY","DOM_VK_PROPERITES","DOM_VK_Q","DOM_VK_QUESTION_MARK","DOM_VK_QUOTE","DOM_VK_R","DOM_VK_REDO","DOM_VK_RETURN","DOM_VK_RIGHT","DOM_VK_S","DOM_VK_SCROLL_LOCK","DOM_VK_SELECT","DOM_VK_SEMICOLON","DOM_VK_SEPARATOR","DOM_VK_SHIFT","DOM_VK_SLASH","DOM_VK_SLEEP","DOM_VK_SPACE","DOM_VK_SUBTRACT","DOM_VK_T","DOM_VK_TAB","DOM_VK_TILDE","DOM_VK_U","DOM_VK_UNDERSCORE","DOM_VK_UNDO","DOM_VK_UNICODE","DOM_VK_UP","DOM_VK_V","DOM_VK_VOLUME_DOWN","DOM_VK_VOLUME_MUTE","DOM_VK_VOLUME_UP","DOM_VK_W","DOM_VK_WIN","DOM_VK_WINDOW","DOM_VK_WIN_ICO_00","DOM_VK_WIN_ICO_CLEAR","DOM_VK_WIN_ICO_HELP","DOM_VK_WIN_OEM_ATTN","DOM_VK_WIN_OEM_AUTO","DOM_VK_WIN_OEM_BACKTAB","DOM_VK_WIN_OEM_CLEAR","DOM_VK_WIN_OEM_COPY","DOM_VK_WIN_OEM_CUSEL","DOM_VK_WIN_OEM_ENLW","DOM_VK_WIN_OEM_FINISH","DOM_VK_WIN_OEM_FJ_JISHO","DOM_VK_WIN_OEM_FJ_LOYA","DOM_VK_WIN_OEM_FJ_MASSHOU","DOM_VK_WIN_OEM_FJ_ROYA","DOM_VK_WIN_OEM_FJ_TOUROKU","DOM_VK_WIN_OEM_JUMP","DOM_VK_WIN_OEM_PA1","DOM_VK_WIN_OEM_PA2","DOM_VK_WIN_OEM_PA3","DOM_VK_WIN_OEM_RESET","DOM_VK_WIN_OEM_WSCTRL","DOM_VK_X","DOM_VK_XF86XK_ADD_FAVORITE","DOM_VK_XF86XK_APPLICATION_LEFT","DOM_VK_XF86XK_APPLICATION_RIGHT","DOM_VK_XF86XK_AUDIO_CYCLE_TRACK","DOM_VK_XF86XK_AUDIO_FORWARD","DOM_VK_XF86XK_AUDIO_LOWER_VOLUME","DOM_VK_XF86XK_AUDIO_MEDIA","DOM_VK_XF86XK_AUDIO_MUTE","DOM_VK_XF86XK_AUDIO_NEXT","DOM_VK_XF86XK_AUDIO_PAUSE","DOM_VK_XF86XK_AUDIO_PLAY","DOM_VK_XF86XK_AUDIO_PREV","DOM_VK_XF86XK_AUDIO_RAISE_VOLUME","DOM_VK_XF86XK_AUDIO_RANDOM_PLAY","DOM_VK_XF86XK_AUDIO_RECORD","DOM_VK_XF86XK_AUDIO_REPEAT","DOM_VK_XF86XK_AUDIO_REWIND","DOM_VK_XF86XK_AUDIO_STOP","DOM_VK_XF86XK_AWAY","DOM_VK_XF86XK_BACK","DOM_VK_XF86XK_BACK_FORWARD","DOM_VK_XF86XK_BATTERY","DOM_VK_XF86XK_BLUE","DOM_VK_XF86XK_BLUETOOTH","DOM_VK_XF86XK_BOOK","DOM_VK_XF86XK_BRIGHTNESS_ADJUST","DOM_VK_XF86XK_CALCULATOR","DOM_VK_XF86XK_CALENDAR","DOM_VK_XF86XK_CD","DOM_VK_XF86XK_CLOSE","DOM_VK_XF86XK_COMMUNITY","DOM_VK_XF86XK_CONTRAST_ADJUST","DOM_VK_XF86XK_COPY","DOM_VK_XF86XK_CUT","DOM_VK_XF86XK_CYCLE_ANGLE","DOM_VK_XF86XK_DISPLAY","DOM_VK_XF86XK_DOCUMENTS","DOM_VK_XF86XK_DOS","DOM_VK_XF86XK_EJECT","DOM_VK_XF86XK_EXCEL","DOM_VK_XF86XK_EXPLORER","DOM_VK_XF86XK_FAVORITES","DOM_VK_XF86XK_FINANCE","DOM_VK_XF86XK_FORWARD","DOM_VK_XF86XK_FRAME_BACK","DOM_VK_XF86XK_FRAME_FORWARD","DOM_VK_XF86XK_GAME","DOM_VK_XF86XK_GO","DOM_VK_XF86XK_GREEN","DOM_VK_XF86XK_HIBERNATE","DOM_VK_XF86XK_HISTORY","DOM_VK_XF86XK_HOME_PAGE","DOM_VK_XF86XK_HOT_LINKS","DOM_VK_XF86XK_I_TOUCH","DOM_VK_XF86XK_KBD_BRIGHTNESS_DOWN","DOM_VK_XF86XK_KBD_BRIGHTNESS_UP","DOM_VK_XF86XK_KBD_LIGHT_ON_OFF","DOM_VK_XF86XK_LAUNCH0","DOM_VK_XF86XK_LAUNCH1","DOM_VK_XF86XK_LAUNCH2","DOM_VK_XF86XK_LAUNCH3","DOM_VK_XF86XK_LAUNCH4","DOM_VK_XF86XK_LAUNCH5","DOM_VK_XF86XK_LAUNCH6","DOM_VK_XF86XK_LAUNCH7","DOM_VK_XF86XK_LAUNCH8","DOM_VK_XF86XK_LAUNCH9","DOM_VK_XF86XK_LAUNCH_A","DOM_VK_XF86XK_LAUNCH_B","DOM_VK_XF86XK_LAUNCH_C","DOM_VK_XF86XK_LAUNCH_D","DOM_VK_XF86XK_LAUNCH_E","DOM_VK_XF86XK_LAUNCH_F","DOM_VK_XF86XK_LIGHT_BULB","DOM_VK_XF86XK_LOG_OFF","DOM_VK_XF86XK_MAIL","DOM_VK_XF86XK_MAIL_FORWARD","DOM_VK_XF86XK_MARKET","DOM_VK_XF86XK_MEETING","DOM_VK_XF86XK_MEMO","DOM_VK_XF86XK_MENU_KB","DOM_VK_XF86XK_MENU_PB","DOM_VK_XF86XK_MESSENGER","DOM_VK_XF86XK_MON_BRIGHTNESS_DOWN","DOM_VK_XF86XK_MON_BRIGHTNESS_UP","DOM_VK_XF86XK_MUSIC","DOM_VK_XF86XK_MY_COMPUTER","DOM_VK_XF86XK_MY_SITES","DOM_VK_XF86XK_NEW","DOM_VK_XF86XK_NEWS","DOM_VK_XF86XK_OFFICE_HOME","DOM_VK_XF86XK_OPEN","DOM_VK_XF86XK_OPEN_URL","DOM_VK_XF86XK_OPTION","DOM_VK_XF86XK_PASTE","DOM_VK_XF86XK_PHONE","DOM_VK_XF86XK_PICTURES","DOM_VK_XF86XK_POWER_DOWN","DOM_VK_XF86XK_POWER_OFF","DOM_VK_XF86XK_RED","DOM_VK_XF86XK_REFRESH","DOM_VK_XF86XK_RELOAD","DOM_VK_XF86XK_REPLY","DOM_VK_XF86XK_ROCKER_DOWN","DOM_VK_XF86XK_ROCKER_ENTER","DOM_VK_XF86XK_ROCKER_UP","DOM_VK_XF86XK_ROTATE_WINDOWS","DOM_VK_XF86XK_ROTATION_KB","DOM_VK_XF86XK_ROTATION_PB","DOM_VK_XF86XK_SAVE","DOM_VK_XF86XK_SCREEN_SAVER","DOM_VK_XF86XK_SCROLL_CLICK","DOM_VK_XF86XK_SCROLL_DOWN","DOM_VK_XF86XK_SCROLL_UP","DOM_VK_XF86XK_SEARCH","DOM_VK_XF86XK_SEND","DOM_VK_XF86XK_SHOP","DOM_VK_XF86XK_SPELL","DOM_VK_XF86XK_SPLIT_SCREEN","DOM_VK_XF86XK_STANDBY","DOM_VK_XF86XK_START","DOM_VK_XF86XK_STOP","DOM_VK_XF86XK_SUBTITLE","DOM_VK_XF86XK_SUPPORT","DOM_VK_XF86XK_SUSPEND","DOM_VK_XF86XK_TASK_PANE","DOM_VK_XF86XK_TERMINAL","DOM_VK_XF86XK_TIME","DOM_VK_XF86XK_TOOLS","DOM_VK_XF86XK_TOP_MENU","DOM_VK_XF86XK_TO_DO_LIST","DOM_VK_XF86XK_TRAVEL","DOM_VK_XF86XK_USER1KB","DOM_VK_XF86XK_USER2KB","DOM_VK_XF86XK_USER_PB","DOM_VK_XF86XK_UWB","DOM_VK_XF86XK_VENDOR_HOME","DOM_VK_XF86XK_VIDEO","DOM_VK_XF86XK_VIEW","DOM_VK_XF86XK_WAKE_UP","DOM_VK_XF86XK_WEB_CAM","DOM_VK_XF86XK_WHEEL_BUTTON","DOM_VK_XF86XK_WLAN","DOM_VK_XF86XK_WORD","DOM_VK_XF86XK_WWW","DOM_VK_XF86XK_XFER","DOM_VK_XF86XK_YELLOW","DOM_VK_XF86XK_ZOOM_IN","DOM_VK_XF86XK_ZOOM_OUT","DOM_VK_Y","DOM_VK_Z","DOM_VK_ZOOM","DONE","DONT_CARE","DOWNLOADING","DRAGDROP","DST_ALPHA","DST_COLOR","DYNAMIC_DRAW","DataChannel","DataTransfer","DataTransferItem","DataTransferItemList","DataView","Date","DateTimeFormat","DelayNode","DesktopNotification","DesktopNotificationCenter","DeviceLightEvent","DeviceMotionEvent","DeviceOrientationEvent","DeviceProximityEvent","DeviceStorage","DeviceStorageChangeEvent","Document","DocumentFragment","DocumentType","DragEvent","DynamicsCompressorNode","E","ELEMENT_ARRAY_BUFFER","ELEMENT_ARRAY_BUFFER_BINDING","ELEMENT_NODE","EMPTY","ENCODING_ERR","ENDED","END_TO_END","END_TO_START","ENTITY_NODE","ENTITY_REFERENCE_NODE","EPSILON","EQUAL","EQUALPOWER","ERROR","EXPONENTIAL_DISTANCE","Element","ElementQuery","Entity","EntityReference","Error","ErrorEvent","EvalError","Event","EventException","EventSource","EventTarget","External","FASTEST","FIDOSDK","FILTER_ACCEPT","FILTER_INTERRUPT","FILTER_REJECT","FILTER_SKIP","FINISHED_STATE","FIRST_ORDERED_NODE_TYPE","FLOAT","FLOAT_MAT2","FLOAT_MAT3","FLOAT_MAT4","FLOAT_VEC2","FLOAT_VEC3","FLOAT_VEC4","FOCUS","FONT_FACE_RULE","FONT_FEATURE_VALUES_RULE","FRAGMENT_SHADER","FRAGMENT_SHADER_DERIVATIVE_HINT_OES","FRAMEBUFFER","FRAMEBUFFER_ATTACHMENT_OBJECT_NAME","FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE","FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE","FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL","FRAMEBUFFER_BINDING","FRAMEBUFFER_COMPLETE","FRAMEBUFFER_INCOMPLETE_ATTACHMENT","FRAMEBUFFER_INCOMPLETE_DIMENSIONS","FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT","FRAMEBUFFER_UNSUPPORTED","FRONT","FRONT_AND_BACK","FRONT_FACE","FUNC_ADD","FUNC_REVERSE_SUBTRACT","FUNC_SUBTRACT","Feed","FeedEntry","File","FileError","FileList","FileReader","FindInPage","Float32Array","Float64Array","FocusEvent","FontFace","FormData","Function","GENERATE_MIPMAP_HINT","GEQUAL","GREATER","GREEN_BITS","GainNode","Gamepad","GamepadButton","GamepadEvent","GestureEvent","HAVE_CURRENT_DATA","HAVE_ENOUGH_DATA","HAVE_FUTURE_DATA","HAVE_METADATA","HAVE_NOTHING","HEADERS_RECEIVED","HIDDEN","HIERARCHY_REQUEST_ERR","HIGHPASS","HIGHSHELF","HIGH_FLOAT","HIGH_INT","HORIZONTAL","HORIZONTAL_AXIS","HRTF","HTMLAllCollection","HTMLAnchorElement","HTMLAppletElement","HTMLAreaElement","HTMLAudioElement","HTMLBRElement","HTMLBaseElement","HTMLBaseFontElement","HTMLBlockquoteElement","HTMLBodyElement","HTMLButtonElement","HTMLCanvasElement","HTMLCollection","HTMLCommandElement","HTMLContentElement","HTMLDListElement","HTMLDataElement","HTMLDataListElement","HTMLDetailsElement","HTMLDialogElement","HTMLDirectoryElement","HTMLDivElement","HTMLDocument","HTMLElement","HTMLEmbedElement","HTMLFieldSetElement","HTMLFontElement","HTMLFormControlsCollection","HTMLFormElement","HTMLFrameElement","HTMLFrameSetElement","HTMLHRElement","HTMLHeadElement","HTMLHeadingElement","HTMLHtmlElement","HTMLIFrameElement","HTMLImageElement","HTMLInputElement","HTMLIsIndexElement","HTMLKeygenElement","HTMLLIElement","HTMLLabelElement","HTMLLegendElement","HTMLLinkElement","HTMLMapElement","HTMLMarqueeElement","HTMLMediaElement","HTMLMenuElement","HTMLMenuItemElement","HTMLMetaElement","HTMLMeterElement","HTMLModElement","HTMLOListElement","HTMLObjectElement","HTMLOptGroupElement","HTMLOptionElement","HTMLOptionsCollection","HTMLOutputElement","HTMLParagraphElement","HTMLParamElement","HTMLPictureElement","HTMLPreElement","HTMLProgressElement","HTMLPropertiesCollection","HTMLQuoteElement","HTMLScriptElement","HTMLSelectElement","HTMLShadowElement","HTMLSourceElement","HTMLSpanElement","HTMLStyleElement","HTMLTableCaptionElement","HTMLTableCellElement","HTMLTableColElement","HTMLTableElement","HTMLTableRowElement","HTMLTableSectionElement","HTMLTemplateElement","HTMLTextAreaElement","HTMLTimeElement","HTMLTitleElement","HTMLTrackElement","HTMLUListElement","HTMLUnknownElement","HTMLVideoElement","HashChangeEvent","Headers","History","ICE_CHECKING","ICE_CLOSED","ICE_COMPLETED","ICE_CONNECTED","ICE_FAILED","ICE_GATHERING","ICE_WAITING","IDBCursor","IDBCursorWithValue","IDBDatabase","IDBDatabaseException","IDBFactory","IDBFileHandle","IDBFileRequest","IDBIndex","IDBKeyRange","IDBMutableFile","IDBObjectStore","IDBOpenDBRequest","IDBRequest","IDBTransaction","IDBVersionChangeEvent","IDLE","IMPLEMENTATION_COLOR_READ_FORMAT","IMPLEMENTATION_COLOR_READ_TYPE","IMPORT_RULE","INCR","INCR_WRAP","INDEX_SIZE_ERR","INT","INT_VEC2","INT_VEC3","INT_VEC4","INUSE_ATTRIBUTE_ERR","INVALID_ACCESS_ERR","INVALID_CHARACTER_ERR","INVALID_ENUM","INVALID_EXPRESSION_ERR","INVALID_FRAMEBUFFER_OPERATION","INVALID_MODIFICATION_ERR","INVALID_NODE_TYPE_ERR","INVALID_OPERATION","INVALID_STATE_ERR","INVALID_VALUE","INVERSE_DISTANCE","INVERT","IceCandidate","Image","ImageBitmap","ImageData","Infinity","InputEvent","InputMethodContext","InstallTrigger","Int16Array","Int32Array","Int8Array","Intent","InternalError","Intl","IsSearchProviderInstalled","Iterator","JSON","KEEP","KEYDOWN","KEYFRAMES_RULE","KEYFRAME_RULE","KEYPRESS","KEYUP","KeyEvent","KeyboardEvent","LENGTHADJUST_SPACING","LENGTHADJUST_SPACINGANDGLYPHS","LENGTHADJUST_UNKNOWN","LEQUAL","LESS","LINEAR","LINEAR_DISTANCE","LINEAR_MIPMAP_LINEAR","LINEAR_MIPMAP_NEAREST","LINES","LINE_LOOP","LINE_STRIP","LINE_WIDTH","LINK_STATUS","LIVE","LN10","LN2","LOADED","LOADING","LOG10E","LOG2E","LOWPASS","LOWSHELF","LOW_FLOAT","LOW_INT","LSException","LSParserFilter","LUMINANCE","LUMINANCE_ALPHA","LocalMediaStream","Location","MAX_COMBINED_TEXTURE_IMAGE_UNITS","MAX_CUBE_MAP_TEXTURE_SIZE","MAX_FRAGMENT_UNIFORM_VECTORS","MAX_RENDERBUFFER_SIZE","MAX_SAFE_INTEGER","MAX_TEXTURE_IMAGE_UNITS","MAX_TEXTURE_MAX_ANISOTROPY_EXT","MAX_TEXTURE_SIZE","MAX_VALUE","MAX_VARYING_VECTORS","MAX_VERTEX_ATTRIBS","MAX_VERTEX_TEXTURE_IMAGE_UNITS","MAX_VERTEX_UNIFORM_VECTORS","MAX_VIEWPORT_DIMS","MEDIA_ERR_ABORTED","MEDIA_ERR_DECODE","MEDIA_ERR_ENCRYPTED","MEDIA_ERR_NETWORK","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_KEYERR_CLIENT","MEDIA_KEYERR_DOMAIN","MEDIA_KEYERR_HARDWARECHANGE","MEDIA_KEYERR_OUTPUT","MEDIA_KEYERR_SERVICE","MEDIA_KEYERR_UNKNOWN","MEDIA_RULE","MEDIUM_FLOAT","MEDIUM_INT","META_MASK","MIN_SAFE_INTEGER","MIN_VALUE","MIRRORED_REPEAT","MODE_ASYNCHRONOUS","MODE_SYNCHRONOUS","MODIFICATION","MOUSEDOWN","MOUSEDRAG","MOUSEMOVE","MOUSEOUT","MOUSEOVER","MOUSEUP","MOZ_KEYFRAMES_RULE","MOZ_KEYFRAME_RULE","MOZ_SOURCE_CURSOR","MOZ_SOURCE_ERASER","MOZ_SOURCE_KEYBOARD","MOZ_SOURCE_MOUSE","MOZ_SOURCE_PEN","MOZ_SOURCE_TOUCH","MOZ_SOURCE_UNKNOWN","MSGESTURE_FLAG_BEGIN","MSGESTURE_FLAG_CANCEL","MSGESTURE_FLAG_END","MSGESTURE_FLAG_INERTIA","MSGESTURE_FLAG_NONE","MSPOINTER_TYPE_MOUSE","MSPOINTER_TYPE_PEN","MSPOINTER_TYPE_TOUCH","MS_ASYNC_CALLBACK_STATUS_ASSIGN_DELEGATE","MS_ASYNC_CALLBACK_STATUS_CANCEL","MS_ASYNC_CALLBACK_STATUS_CHOOSEANY","MS_ASYNC_CALLBACK_STATUS_ERROR","MS_ASYNC_CALLBACK_STATUS_JOIN","MS_ASYNC_OP_STATUS_CANCELED","MS_ASYNC_OP_STATUS_ERROR","MS_ASYNC_OP_STATUS_SUCCESS","MS_MANIPULATION_STATE_ACTIVE","MS_MANIPULATION_STATE_CANCELLED","MS_MANIPULATION_STATE_COMMITTED","MS_MANIPULATION_STATE_DRAGGING","MS_MANIPULATION_STATE_INERTIA","MS_MANIPULATION_STATE_PRESELECT","MS_MANIPULATION_STATE_SELECTING","MS_MANIPULATION_STATE_STOPPED","MS_MEDIA_ERR_ENCRYPTED","MS_MEDIA_KEYERR_CLIENT","MS_MEDIA_KEYERR_DOMAIN","MS_MEDIA_KEYERR_HARDWARECHANGE","MS_MEDIA_KEYERR_OUTPUT","MS_MEDIA_KEYERR_SERVICE","MS_MEDIA_KEYERR_UNKNOWN","Map","Math","MediaController","MediaDevices","MediaElementAudioSourceNode","MediaEncryptedEvent","MediaError","MediaKeyError","MediaKeyEvent","MediaKeyMessageEvent","MediaKeyNeededEvent","MediaKeySession","MediaKeyStatusMap","MediaKeySystemAccess","MediaKeys","MediaList","MediaQueryList","MediaQueryListEvent","MediaRecorder","MediaSource","MediaStream","MediaStreamAudioDestinationNode","MediaStreamAudioSourceNode","MediaStreamEvent","MediaStreamTrack","MediaStreamTrackEvent","MessageChannel","MessageEvent","MessagePort","Methods","MimeType","MimeTypeArray","MouseEvent","MouseScrollEvent","MozAnimation","MozAnimationDelay","MozAnimationDirection","MozAnimationDuration","MozAnimationFillMode","MozAnimationIterationCount","MozAnimationName","MozAnimationPlayState","MozAnimationTimingFunction","MozAppearance","MozBackfaceVisibility","MozBinding","MozBorderBottomColors","MozBorderEnd","MozBorderEndColor","MozBorderEndStyle","MozBorderEndWidth","MozBorderImage","MozBorderLeftColors","MozBorderRightColors","MozBorderStart","MozBorderStartColor","MozBorderStartStyle","MozBorderStartWidth","MozBorderTopColors","MozBoxAlign","MozBoxDirection","MozBoxFlex","MozBoxOrdinalGroup","MozBoxOrient","MozBoxPack","MozBoxSizing","MozCSSKeyframeRule","MozCSSKeyframesRule","MozColumnCount","MozColumnFill","MozColumnGap","MozColumnRule","MozColumnRuleColor","MozColumnRuleStyle","MozColumnRuleWidth","MozColumnWidth","MozColumns","MozContactChangeEvent","MozFloatEdge","MozFontFeatureSettings","MozFontLanguageOverride","MozForceBrokenImageIcon","MozHyphens","MozImageRegion","MozMarginEnd","MozMarginStart","MozMmsEvent","MozMmsMessage","MozMobileMessageThread","MozOSXFontSmoothing","MozOrient","MozOutlineRadius","MozOutlineRadiusBottomleft","MozOutlineRadiusBottomright","MozOutlineRadiusTopleft","MozOutlineRadiusTopright","MozPaddingEnd","MozPaddingStart","MozPerspective","MozPerspectiveOrigin","MozPowerManager","MozSettingsEvent","MozSmsEvent","MozSmsMessage","MozStackSizing","MozTabSize","MozTextAlignLast","MozTextDecorationColor","MozTextDecorationLine","MozTextDecorationStyle","MozTextSizeAdjust","MozTransform","MozTransformOrigin","MozTransformStyle","MozTransition","MozTransitionDelay","MozTransitionDuration","MozTransitionProperty","MozTransitionTimingFunction","MozUserFocus","MozUserInput","MozUserModify","MozUserSelect","MozWindowDragging","MozWindowShadow","MutationEvent","MutationObserver","MutationRecord","NAMESPACE_ERR","NAMESPACE_RULE","NEAREST","NEAREST_MIPMAP_LINEAR","NEAREST_MIPMAP_NEAREST","NEGATIVE_INFINITY","NETWORK_EMPTY","NETWORK_ERR","NETWORK_IDLE","NETWORK_LOADED","NETWORK_LOADING","NETWORK_NO_SOURCE","NEVER","NEW","NEXT","NEXT_NO_DUPLICATE","NICEST","NODE_AFTER","NODE_BEFORE","NODE_BEFORE_AND_AFTER","NODE_INSIDE","NONE","NON_TRANSIENT_ERR","NOTATION_NODE","NOTCH","NOTEQUAL","NOT_ALLOWED_ERR","NOT_FOUND_ERR","NOT_READABLE_ERR","NOT_SUPPORTED_ERR","NO_DATA_ALLOWED_ERR","NO_ERR","NO_ERROR","NO_MODIFICATION_ALLOWED_ERR","NUMBER_TYPE","NUM_COMPRESSED_TEXTURE_FORMATS","NaN","NamedNodeMap","Navigator","NearbyLinks","NetworkInformation","Node","NodeFilter","NodeIterator","NodeList","Notation","Notification","NotifyPaintEvent","Number","NumberFormat","OBSOLETE","ONE","ONE_MINUS_CONSTANT_ALPHA","ONE_MINUS_CONSTANT_COLOR","ONE_MINUS_DST_ALPHA","ONE_MINUS_DST_COLOR","ONE_MINUS_SRC_ALPHA","ONE_MINUS_SRC_COLOR","OPEN","OPENED","OPENING","ORDERED_NODE_ITERATOR_TYPE","ORDERED_NODE_SNAPSHOT_TYPE","OUT_OF_MEMORY","Object","OfflineAudioCompletionEvent","OfflineAudioContext","OfflineResourceList","Option","OscillatorNode","OverflowEvent","PACK_ALIGNMENT","PAGE_RULE","PARSE_ERR","PATHSEG_ARC_ABS","PATHSEG_ARC_REL","PATHSEG_CLOSEPATH","PATHSEG_CURVETO_CUBIC_ABS","PATHSEG_CURVETO_CUBIC_REL","PATHSEG_CURVETO_CUBIC_SMOOTH_ABS","PATHSEG_CURVETO_CUBIC_SMOOTH_REL","PATHSEG_CURVETO_QUADRATIC_ABS","PATHSEG_CURVETO_QUADRATIC_REL","PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS","PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL","PATHSEG_LINETO_ABS","PATHSEG_LINETO_HORIZONTAL_ABS","PATHSEG_LINETO_HORIZONTAL_REL","PATHSEG_LINETO_REL","PATHSEG_LINETO_VERTICAL_ABS","PATHSEG_LINETO_VERTICAL_REL","PATHSEG_MOVETO_ABS","PATHSEG_MOVETO_REL","PATHSEG_UNKNOWN","PATH_EXISTS_ERR","PEAKING","PERMISSION_DENIED","PERSISTENT","PI","PLAYING_STATE","POINTS","POLYGON_OFFSET_FACTOR","POLYGON_OFFSET_FILL","POLYGON_OFFSET_UNITS","POSITION_UNAVAILABLE","POSITIVE_INFINITY","PREV","PREV_NO_DUPLICATE","PROCESSING_INSTRUCTION_NODE","PageChangeEvent","PageTransitionEvent","PaintRequest","PaintRequestList","PannerNode","Path2D","Performance","PerformanceEntry","PerformanceMark","PerformanceMeasure","PerformanceNavigation","PerformanceResourceTiming","PerformanceTiming","PeriodicWave","Plugin","PluginArray","PopStateEvent","PopupBlockedEvent","ProcessingInstruction","ProgressEvent","Promise","PropertyNodeList","Proxy","PushManager","PushSubscription","Q","QUOTA_ERR","QUOTA_EXCEEDED_ERR","QueryInterface","READ_ONLY","READ_ONLY_ERR","READ_WRITE","RED_BITS","REMOVAL","RENDERBUFFER","RENDERBUFFER_ALPHA_SIZE","RENDERBUFFER_BINDING","RENDERBUFFER_BLUE_SIZE","RENDERBUFFER_DEPTH_SIZE","RENDERBUFFER_GREEN_SIZE","RENDERBUFFER_HEIGHT","RENDERBUFFER_INTERNAL_FORMAT","RENDERBUFFER_RED_SIZE","RENDERBUFFER_STENCIL_SIZE","RENDERBUFFER_WIDTH","RENDERER","RENDERING_INTENT_ABSOLUTE_COLORIMETRIC","RENDERING_INTENT_AUTO","RENDERING_INTENT_PERCEPTUAL","RENDERING_INTENT_RELATIVE_COLORIMETRIC","RENDERING_INTENT_SATURATION","RENDERING_INTENT_UNKNOWN","REPEAT","REPLACE","RGB","RGB565","RGB5_A1","RGBA","RGBA4","RGBColor","ROTATION_CLOCKWISE","ROTATION_COUNTERCLOCKWISE","RTCDataChannelEvent","RTCIceCandidate","RTCPeerConnectionIceEvent","RTCRtpReceiver","RTCRtpSender","RTCSessionDescription","RTCStatsReport","RadioNodeList","Range","RangeError","RangeException","RecordErrorEvent","Rect","ReferenceError","RegExp","Request","Response","SAMPLER_2D","SAMPLER_CUBE","SAMPLES","SAMPLE_ALPHA_TO_COVERAGE","SAMPLE_BUFFERS","SAMPLE_COVERAGE","SAMPLE_COVERAGE_INVERT","SAMPLE_COVERAGE_VALUE","SAWTOOTH","SCHEDULED_STATE","SCISSOR_BOX","SCISSOR_TEST","SCROLL_PAGE_DOWN","SCROLL_PAGE_UP","SDP_ANSWER","SDP_OFFER","SDP_PRANSWER","SECURITY_ERR","SELECT","SERIALIZE_ERR","SEVERITY_ERROR","SEVERITY_FATAL_ERROR","SEVERITY_WARNING","SHADER_COMPILER","SHADER_TYPE","SHADING_LANGUAGE_VERSION","SHIFT_MASK","SHORT","SHOWING","SHOW_ALL","SHOW_ATTRIBUTE","SHOW_CDATA_SECTION","SHOW_COMMENT","SHOW_DOCUMENT","SHOW_DOCUMENT_FRAGMENT","SHOW_DOCUMENT_TYPE","SHOW_ELEMENT","SHOW_ENTITY","SHOW_ENTITY_REFERENCE","SHOW_NOTATION","SHOW_PROCESSING_INSTRUCTION","SHOW_TEXT","SINE","SOUNDFIELD","SQLException","SQRT1_2","SQRT2","SQUARE","SRC_ALPHA","SRC_ALPHA_SATURATE","SRC_COLOR","START_TO_END","START_TO_START","STATIC_DRAW","STENCIL_ATTACHMENT","STENCIL_BACK_FAIL","STENCIL_BACK_FUNC","STENCIL_BACK_PASS_DEPTH_FAIL","STENCIL_BACK_PASS_DEPTH_PASS","STENCIL_BACK_REF","STENCIL_BACK_VALUE_MASK","STENCIL_BACK_WRITEMASK","STENCIL_BITS","STENCIL_BUFFER_BIT","STENCIL_CLEAR_VALUE","STENCIL_FAIL","STENCIL_FUNC","STENCIL_INDEX","STENCIL_INDEX8","STENCIL_PASS_DEPTH_FAIL","STENCIL_PASS_DEPTH_PASS","STENCIL_REF","STENCIL_TEST","STENCIL_VALUE_MASK","STENCIL_WRITEMASK","STREAM_DRAW","STRING_TYPE","STYLE_RULE","SUBPIXEL_BITS","SUPPORTS_RULE","SVGAElement","SVGAltGlyphDefElement","SVGAltGlyphElement","SVGAltGlyphItemElement","SVGAngle","SVGAnimateColorElement","SVGAnimateElement","SVGAnimateMotionElement","SVGAnimateTransformElement","SVGAnimatedAngle","SVGAnimatedBoolean","SVGAnimatedEnumeration","SVGAnimatedInteger","SVGAnimatedLength","SVGAnimatedLengthList","SVGAnimatedNumber","SVGAnimatedNumberList","SVGAnimatedPreserveAspectRatio","SVGAnimatedRect","SVGAnimatedString","SVGAnimatedTransformList","SVGAnimationElement","SVGCircleElement","SVGClipPathElement","SVGColor","SVGComponentTransferFunctionElement","SVGCursorElement","SVGDefsElement","SVGDescElement","SVGDiscardElement","SVGDocument","SVGElement","SVGElementInstance","SVGElementInstanceList","SVGEllipseElement","SVGException","SVGFEBlendElement","SVGFEColorMatrixElement","SVGFEComponentTransferElement","SVGFECompositeElement","SVGFEConvolveMatrixElement","SVGFEDiffuseLightingElement","SVGFEDisplacementMapElement","SVGFEDistantLightElement","SVGFEDropShadowElement","SVGFEFloodElement","SVGFEFuncAElement","SVGFEFuncBElement","SVGFEFuncGElement","SVGFEFuncRElement","SVGFEGaussianBlurElement","SVGFEImageElement","SVGFEMergeElement","SVGFEMergeNodeElement","SVGFEMorphologyElement","SVGFEOffsetElement","SVGFEPointLightElement","SVGFESpecularLightingElement","SVGFESpotLightElement","SVGFETileElement","SVGFETurbulenceElement","SVGFilterElement","SVGFontElement","SVGFontFaceElement","SVGFontFaceFormatElement","SVGFontFaceNameElement","SVGFontFaceSrcElement","SVGFontFaceUriElement","SVGForeignObjectElement","SVGGElement","SVGGeometryElement","SVGGlyphElement","SVGGlyphRefElement","SVGGradientElement","SVGGraphicsElement","SVGHKernElement","SVGImageElement","SVGLength","SVGLengthList","SVGLineElement","SVGLinearGradientElement","SVGMPathElement","SVGMarkerElement","SVGMaskElement","SVGMatrix","SVGMetadataElement","SVGMissingGlyphElement","SVGNumber","SVGNumberList","SVGPaint","SVGPathElement","SVGPathSeg","SVGPathSegArcAbs","SVGPathSegArcRel","SVGPathSegClosePath","SVGPathSegCurvetoCubicAbs","SVGPathSegCurvetoCubicRel","SVGPathSegCurvetoCubicSmoothAbs","SVGPathSegCurvetoCubicSmoothRel","SVGPathSegCurvetoQuadraticAbs","SVGPathSegCurvetoQuadraticRel","SVGPathSegCurvetoQuadraticSmoothAbs","SVGPathSegCurvetoQuadraticSmoothRel","SVGPathSegLinetoAbs","SVGPathSegLinetoHorizontalAbs","SVGPathSegLinetoHorizontalRel","SVGPathSegLinetoRel","SVGPathSegLinetoVerticalAbs","SVGPathSegLinetoVerticalRel","SVGPathSegList","SVGPathSegMovetoAbs","SVGPathSegMovetoRel","SVGPatternElement","SVGPoint","SVGPointList","SVGPolygonElement","SVGPolylineElement","SVGPreserveAspectRatio","SVGRadialGradientElement","SVGRect","SVGRectElement","SVGRenderingIntent","SVGSVGElement","SVGScriptElement","SVGSetElement","SVGStopElement","SVGStringList","SVGStyleElement","SVGSwitchElement","SVGSymbolElement","SVGTRefElement","SVGTSpanElement","SVGTextContentElement","SVGTextElement","SVGTextPathElement","SVGTextPositioningElement","SVGTitleElement","SVGTransform","SVGTransformList","SVGUnitTypes","SVGUseElement","SVGVKernElement","SVGViewElement","SVGViewSpec","SVGZoomAndPan","SVGZoomEvent","SVG_ANGLETYPE_DEG","SVG_ANGLETYPE_GRAD","SVG_ANGLETYPE_RAD","SVG_ANGLETYPE_UNKNOWN","SVG_ANGLETYPE_UNSPECIFIED","SVG_CHANNEL_A","SVG_CHANNEL_B","SVG_CHANNEL_G","SVG_CHANNEL_R","SVG_CHANNEL_UNKNOWN","SVG_COLORTYPE_CURRENTCOLOR","SVG_COLORTYPE_RGBCOLOR","SVG_COLORTYPE_RGBCOLOR_ICCCOLOR","SVG_COLORTYPE_UNKNOWN","SVG_EDGEMODE_DUPLICATE","SVG_EDGEMODE_NONE","SVG_EDGEMODE_UNKNOWN","SVG_EDGEMODE_WRAP","SVG_FEBLEND_MODE_COLOR","SVG_FEBLEND_MODE_COLOR_BURN","SVG_FEBLEND_MODE_COLOR_DODGE","SVG_FEBLEND_MODE_DARKEN","SVG_FEBLEND_MODE_DIFFERENCE","SVG_FEBLEND_MODE_EXCLUSION","SVG_FEBLEND_MODE_HARD_LIGHT","SVG_FEBLEND_MODE_HUE","SVG_FEBLEND_MODE_LIGHTEN","SVG_FEBLEND_MODE_LUMINOSITY","SVG_FEBLEND_MODE_MULTIPLY","SVG_FEBLEND_MODE_NORMAL","SVG_FEBLEND_MODE_OVERLAY","SVG_FEBLEND_MODE_SATURATION","SVG_FEBLEND_MODE_SCREEN","SVG_FEBLEND_MODE_SOFT_LIGHT","SVG_FEBLEND_MODE_UNKNOWN","SVG_FECOLORMATRIX_TYPE_HUEROTATE","SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA","SVG_FECOLORMATRIX_TYPE_MATRIX","SVG_FECOLORMATRIX_TYPE_SATURATE","SVG_FECOLORMATRIX_TYPE_UNKNOWN","SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE","SVG_FECOMPONENTTRANSFER_TYPE_GAMMA","SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY","SVG_FECOMPONENTTRANSFER_TYPE_LINEAR","SVG_FECOMPONENTTRANSFER_TYPE_TABLE","SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN","SVG_FECOMPOSITE_OPERATOR_ARITHMETIC","SVG_FECOMPOSITE_OPERATOR_ATOP","SVG_FECOMPOSITE_OPERATOR_IN","SVG_FECOMPOSITE_OPERATOR_OUT","SVG_FECOMPOSITE_OPERATOR_OVER","SVG_FECOMPOSITE_OPERATOR_UNKNOWN","SVG_FECOMPOSITE_OPERATOR_XOR","SVG_INVALID_VALUE_ERR","SVG_LENGTHTYPE_CM","SVG_LENGTHTYPE_EMS","SVG_LENGTHTYPE_EXS","SVG_LENGTHTYPE_IN","SVG_LENGTHTYPE_MM","SVG_LENGTHTYPE_NUMBER","SVG_LENGTHTYPE_PC","SVG_LENGTHTYPE_PERCENTAGE","SVG_LENGTHTYPE_PT","SVG_LENGTHTYPE_PX","SVG_LENGTHTYPE_UNKNOWN","SVG_MARKERUNITS_STROKEWIDTH","SVG_MARKERUNITS_UNKNOWN","SVG_MARKERUNITS_USERSPACEONUSE","SVG_MARKER_ORIENT_ANGLE","SVG_MARKER_ORIENT_AUTO","SVG_MARKER_ORIENT_UNKNOWN","SVG_MASKTYPE_ALPHA","SVG_MASKTYPE_LUMINANCE","SVG_MATRIX_NOT_INVERTABLE","SVG_MEETORSLICE_MEET","SVG_MEETORSLICE_SLICE","SVG_MEETORSLICE_UNKNOWN","SVG_MORPHOLOGY_OPERATOR_DILATE","SVG_MORPHOLOGY_OPERATOR_ERODE","SVG_MORPHOLOGY_OPERATOR_UNKNOWN","SVG_PAINTTYPE_CURRENTCOLOR","SVG_PAINTTYPE_NONE","SVG_PAINTTYPE_RGBCOLOR","SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR","SVG_PAINTTYPE_UNKNOWN","SVG_PAINTTYPE_URI","SVG_PAINTTYPE_URI_CURRENTCOLOR","SVG_PAINTTYPE_URI_NONE","SVG_PAINTTYPE_URI_RGBCOLOR","SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR","SVG_PRESERVEASPECTRATIO_NONE","SVG_PRESERVEASPECTRATIO_UNKNOWN","SVG_PRESERVEASPECTRATIO_XMAXYMAX","SVG_PRESERVEASPECTRATIO_XMAXYMID","SVG_PRESERVEASPECTRATIO_XMAXYMIN","SVG_PRESERVEASPECTRATIO_XMIDYMAX","SVG_PRESERVEASPECTRATIO_XMIDYMID","SVG_PRESERVEASPECTRATIO_XMIDYMIN","SVG_PRESERVEASPECTRATIO_XMINYMAX","SVG_PRESERVEASPECTRATIO_XMINYMID","SVG_PRESERVEASPECTRATIO_XMINYMIN","SVG_SPREADMETHOD_PAD","SVG_SPREADMETHOD_REFLECT","SVG_SPREADMETHOD_REPEAT","SVG_SPREADMETHOD_UNKNOWN","SVG_STITCHTYPE_NOSTITCH","SVG_STITCHTYPE_STITCH","SVG_STITCHTYPE_UNKNOWN","SVG_TRANSFORM_MATRIX","SVG_TRANSFORM_ROTATE","SVG_TRANSFORM_SCALE","SVG_TRANSFORM_SKEWX","SVG_TRANSFORM_SKEWY","SVG_TRANSFORM_TRANSLATE","SVG_TRANSFORM_UNKNOWN","SVG_TURBULENCE_TYPE_FRACTALNOISE","SVG_TURBULENCE_TYPE_TURBULENCE","SVG_TURBULENCE_TYPE_UNKNOWN","SVG_UNIT_TYPE_OBJECTBOUNDINGBOX","SVG_UNIT_TYPE_UNKNOWN","SVG_UNIT_TYPE_USERSPACEONUSE","SVG_WRONG_TYPE_ERR","SVG_ZOOMANDPAN_DISABLE","SVG_ZOOMANDPAN_MAGNIFY","SVG_ZOOMANDPAN_UNKNOWN","SYNTAX_ERR","SavedPages","Screen","ScreenOrientation","Script","ScriptProcessorNode","ScrollAreaEvent","SecurityPolicyViolationEvent","Selection","ServiceWorker","ServiceWorkerContainer","ServiceWorkerRegistration","SessionDescription","Set","ShadowRoot","SharedWorker","SimpleGestureEvent","SpeechSynthesisEvent","SpeechSynthesisUtterance","StopIteration","Storage","StorageEvent","String","StyleSheet","StyleSheetList","SubtleCrypto","Symbol","SyntaxError","TEMPORARY","TEXTPATH_METHODTYPE_ALIGN","TEXTPATH_METHODTYPE_STRETCH","TEXTPATH_METHODTYPE_UNKNOWN","TEXTPATH_SPACINGTYPE_AUTO","TEXTPATH_SPACINGTYPE_EXACT","TEXTPATH_SPACINGTYPE_UNKNOWN","TEXTURE","TEXTURE0","TEXTURE1","TEXTURE10","TEXTURE11","TEXTURE12","TEXTURE13","TEXTURE14","TEXTURE15","TEXTURE16","TEXTURE17","TEXTURE18","TEXTURE19","TEXTURE2","TEXTURE20","TEXTURE21","TEXTURE22","TEXTURE23","TEXTURE24","TEXTURE25","TEXTURE26","TEXTURE27","TEXTURE28","TEXTURE29","TEXTURE3","TEXTURE30","TEXTURE31","TEXTURE4","TEXTURE5","TEXTURE6","TEXTURE7","TEXTURE8","TEXTURE9","TEXTURE_2D","TEXTURE_BINDING_2D","TEXTURE_BINDING_CUBE_MAP","TEXTURE_CUBE_MAP","TEXTURE_CUBE_MAP_NEGATIVE_X","TEXTURE_CUBE_MAP_NEGATIVE_Y","TEXTURE_CUBE_MAP_NEGATIVE_Z","TEXTURE_CUBE_MAP_POSITIVE_X","TEXTURE_CUBE_MAP_POSITIVE_Y","TEXTURE_CUBE_MAP_POSITIVE_Z","TEXTURE_MAG_FILTER","TEXTURE_MAX_ANISOTROPY_EXT","TEXTURE_MIN_FILTER","TEXTURE_WRAP_S","TEXTURE_WRAP_T","TEXT_NODE","TIMEOUT","TIMEOUT_ERR","TOO_LARGE_ERR","TRANSACTION_INACTIVE_ERR","TRIANGLE","TRIANGLES","TRIANGLE_FAN","TRIANGLE_STRIP","TYPE_BACK_FORWARD","TYPE_ERR","TYPE_MISMATCH_ERR","TYPE_NAVIGATE","TYPE_RELOAD","TYPE_RESERVED","Text","TextDecoder","TextEncoder","TextEvent","TextMetrics","TextTrack","TextTrackCue","TextTrackCueList","TextTrackList","TimeEvent","TimeRanges","Touch","TouchEvent","TouchList","TrackEvent","TransitionEvent","TreeWalker","TypeError","UIEvent","UNCACHED","UNKNOWN_ERR","UNKNOWN_RULE","UNMASKED_RENDERER_WEBGL","UNMASKED_VENDOR_WEBGL","UNORDERED_NODE_ITERATOR_TYPE","UNORDERED_NODE_SNAPSHOT_TYPE","UNPACK_ALIGNMENT","UNPACK_COLORSPACE_CONVERSION_WEBGL","UNPACK_FLIP_Y_WEBGL","UNPACK_PREMULTIPLY_ALPHA_WEBGL","UNSCHEDULED_STATE","UNSENT","UNSIGNED_BYTE","UNSIGNED_INT","UNSIGNED_SHORT","UNSIGNED_SHORT_4_4_4_4","UNSIGNED_SHORT_5_5_5_1","UNSIGNED_SHORT_5_6_5","UNSPECIFIED_EVENT_TYPE_ERR","UPDATEREADY","URIError","URL","URLSearchParams","URLUnencoded","URL_MISMATCH_ERR","UTC","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","UserMessageHandler","UserMessageHandlersNamespace","UserProximityEvent","VALIDATE_STATUS","VALIDATION_ERR","VARIABLES_RULE","VENDOR","VERSION","VERSION_CHANGE","VERSION_ERR","VERTEX_ATTRIB_ARRAY_BUFFER_BINDING","VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE","VERTEX_ATTRIB_ARRAY_ENABLED","VERTEX_ATTRIB_ARRAY_NORMALIZED","VERTEX_ATTRIB_ARRAY_POINTER","VERTEX_ATTRIB_ARRAY_SIZE","VERTEX_ATTRIB_ARRAY_STRIDE","VERTEX_ATTRIB_ARRAY_TYPE","VERTEX_SHADER","VERTICAL","VERTICAL_AXIS","VER_ERR","VIEWPORT","VIEWPORT_RULE","VTTCue","VTTRegion","ValidityState","VideoStreamTrack","WEBKIT_FILTER_RULE","WEBKIT_KEYFRAMES_RULE","WEBKIT_KEYFRAME_RULE","WEBKIT_REGION_RULE","WRONG_DOCUMENT_ERR","WaveShaperNode","WeakMap","WeakSet","WebGLActiveInfo","WebGLBuffer","WebGLContextEvent","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLRenderingContext","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArray","WebKitAnimationEvent","WebKitBlobBuilder","WebKitCSSFilterRule","WebKitCSSFilterValue","WebKitCSSKeyframeRule","WebKitCSSKeyframesRule","WebKitCSSMatrix","WebKitCSSRegionRule","WebKitCSSTransformValue","WebKitDataCue","WebKitGamepad","WebKitMediaKeyError","WebKitMediaKeyMessageEvent","WebKitMediaKeySession","WebKitMediaKeys","WebKitMediaSource","WebKitMutationObserver","WebKitNamespace","WebKitPlaybackTargetAvailabilityEvent","WebKitPoint","WebKitShadowRoot","WebKitSourceBuffer","WebKitSourceBufferList","WebKitTransitionEvent","WebSocket","WheelEvent","Window","Worker","XMLDocument","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestException","XMLHttpRequestProgressEvent","XMLHttpRequestUpload","XMLSerializer","XMLStylesheetProcessingInstruction","XPathEvaluator","XPathException","XPathExpression","XPathNSResolver","XPathResult","XSLTProcessor","ZERO","_XD0M_","_YD0M_","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","__opera","__proto__","_browserjsran","a","aLink","abbr","abort","abs","absolute","acceleration","accelerationIncludingGravity","accelerator","accept","acceptCharset","acceptNode","accessKey","accessKeyLabel","accuracy","acos","acosh","action","actionURL","active","activeCues","activeElement","activeSourceBuffers","activeSourceCount","activeTexture","add","addBehavior","addCandidate","addColorStop","addCue","addElement","addEventListener","addFilter","addFromString","addFromUri","addIceCandidate","addImport","addListener","addNamed","addPageRule","addPath","addPointer","addRange","addRegion","addRule","addSearchEngine","addSourceBuffer","addStream","addTextTrack","addTrack","addWakeLockListener","addedNodes","additionalName","additiveSymbols","addons","adoptNode","adr","advance","alert","algorithm","align","align-content","align-items","align-self","alignContent","alignItems","alignSelf","alignmentBaseline","alinkColor","all","allSettled","allowFullscreen","allowedDirections","alpha","alt","altGraphKey","altHtml","altKey","altLeft","altitude","altitudeAccuracy","amplitude","ancestorOrigins","anchor","anchorNode","anchorOffset","anchors","angle","animVal","animate","animatedInstanceRoot","animatedNormalizedPathSegList","animatedPathSegList","animatedPoints","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationStartTime","animationTimingFunction","animationsPaused","anniversary","any","app","appCodeName","appMinorVersion","appName","appNotifications","appVersion","append","appendBuffer","appendChild","appendData","appendItem","appendMedium","appendNamed","appendRule","appendStream","appendWindowEnd","appendWindowStart","applets","applicationCache","apply","applyElement","arc","arcTo","archive","areas","arguments","arrayBuffer","asin","asinh","assert","assign","async","atEnd","atan","atan2","atanh","atob","attachEvent","attachShader","attachShadow","attachments","attack","attrChange","attrName","attributeFilter","attributeName","attributeNamespace","attributeOldValue","attributes","audioTracks","autoIncrement","autobuffer","autocapitalize","autocomplete","autocorrect","autofocus","autoplay","availHeight","availLeft","availTop","availWidth","availability","available","aversion","axes","axis","azimuth","b","back","backface-visibility","backfaceVisibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","badInput","balance","baseFrequencyX","baseFrequencyY","baseNode","baseOffset","baseURI","baseVal","baselineShift","battery","bday","beginElement","beginElementAt","beginPath","behavior","behaviorCookie","behaviorPart","behaviorUrns","beta","bezierCurveTo","bgColor","bgProperties","bias","big","binaryType","bind","bindAttribLocation","bindBuffer","bindFramebuffer","bindRenderbuffer","bindTexture","blendColor","blendEquation","blendEquationSeparate","blendFunc","blendFuncSeparate","blink","blob","blockDirection","blue","blur","body","bodyUsed","bold","bookmarks","booleanValue","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderColor","borderColorDark","borderColorLight","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","bottomMargin","bound","boundElements","boundingClientRect","boundingHeight","boundingLeft","boundingTop","boundingWidth","bounds","box-decoration-break","box-shadow","box-sizing","boxDecorationBreak","boxShadow","boxSizing","breakAfter","breakBefore","breakInside","browserLanguage","btoa","bubbles","buffer","bufferData","bufferDepth","bufferSize","bufferSubData","buffered","bufferedAmount","buildID","buildNumber","button","buttonID","buttons","byteLength","byteOffset","c","call","caller","canBeFormatted","canBeMounted","canBeShared","canHaveChildren","canHaveHTML","canPlayType","cancel","cancelAnimationFrame","cancelBubble","cancelScheduledValues","cancelable","candidate","canvas","caption","caption-side","captionSide","capture","captureEvents","captureStackTrace","caretPositionFromPoint","caretRangeFromPoint","cast","catch","category","cbrt","cd","ceil","cellIndex","cellPadding","cellSpacing","cells","ch","chOff","chain","challenge","changedTouches","channel","channelCount","channelCountMode","channelInterpretation","char","charAt","charCode","charCodeAt","charIndex","characterData","characterDataOldValue","characterSet","charging","chargingTime","charset","checkEnclosure","checkFramebufferStatus","checkIntersection","checkValidity","checked","childElementCount","childList","childNodes","children","chrome","ciphertext","cite","classList","className","classid","clear","clearAttributes","clearColor","clearData","clearDepth","clearImmediate","clearInterval","clearMarks","clearMeasures","clearParameters","clearRect","clearResourceTimings","clearShadow","clearStencil","clearTimeout","clearWatch","click","clickCount","clientHeight","clientInformation","clientLeft","clientRect","clientRects","clientTop","clientWidth","clientX","clientY","clip","clip-path","clip-rule","clipBottom","clipLeft","clipPath","clipPathUnits","clipRight","clipRule","clipTop","clipboardData","clone","cloneContents","cloneNode","cloneRange","close","closePath","closed","closest","clz","clz32","cmp","code","codeBase","codePointAt","codeType","colSpan","collapse","collapseToEnd","collapseToStart","collapsed","collect","colno","color","color-interpolation","color-interpolation-filters","colorDepth","colorInterpolation","colorInterpolationFilters","colorMask","colorType","cols","columnCount","columnFill","columnGap","columnNumber","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","command","commitPreferences","commonAncestorContainer","compact","compareBoundaryPoints","compareDocumentPosition","compareEndPoints","compareNode","comparePoint","compatMode","compatible","compile","compileShader","complete","componentFromPoint","compositionEndOffset","compositionStartOffset","compressedTexImage2D","compressedTexSubImage2D","concat","conditionText","coneInnerAngle","coneOuterAngle","coneOuterGain","confirm","confirmComposition","confirmSiteSpecificTrackingException","confirmWebWideTrackingException","connect","connectEnd","connectStart","connected","connection","connectionSpeed","console","consolidate","constrictionActive","constructor","contactID","contains","containsNode","content","contentDocument","contentEditable","contentOverflow","contentScriptType","contentStyleType","contentType","contentWindow","context","contextMenu","contextmenu","continue","continuous","control","controller","controls","convertToSpecifiedUnits","cookie","cookieEnabled","coords","copyFromChannel","copyTexImage2D","copyTexSubImage2D","copyToChannel","copyWithin","correspondingElement","correspondingUseElement","cos","cosh","count","counter-increment","counter-reset","counterIncrement","counterReset","cpuClass","cpuSleepAllowed","create","createAnalyser","createAnswer","createAttribute","createAttributeNS","createBiquadFilter","createBuffer","createBufferSource","createCDATASection","createCSSStyleSheet","createCaption","createChannelMerger","createChannelSplitter","createComment","createContextualFragment","createControlRange","createConvolver","createDTMFSender","createDataChannel","createDelay","createDelayNode","createDocument","createDocumentFragment","createDocumentType","createDynamicsCompressor","createElement","createElementNS","createEntityReference","createEvent","createEventObject","createExpression","createFramebuffer","createFunction","createGain","createGainNode","createHTMLDocument","createImageBitmap","createImageData","createIndex","createJavaScriptNode","createLinearGradient","createMediaElementSource","createMediaKeys","createMediaStreamDestination","createMediaStreamSource","createMutableFile","createNSResolver","createNodeIterator","createNotification","createObjectStore","createObjectURL","createOffer","createOscillator","createPanner","createPattern","createPeriodicWave","createPopup","createProcessingInstruction","createProgram","createRadialGradient","createRange","createRangeCollection","createRenderbuffer","createSVGAngle","createSVGLength","createSVGMatrix","createSVGNumber","createSVGPathSegArcAbs","createSVGPathSegArcRel","createSVGPathSegClosePath","createSVGPathSegCurvetoCubicAbs","createSVGPathSegCurvetoCubicRel","createSVGPathSegCurvetoCubicSmoothAbs","createSVGPathSegCurvetoCubicSmoothRel","createSVGPathSegCurvetoQuadraticAbs","createSVGPathSegCurvetoQuadraticRel","createSVGPathSegCurvetoQuadraticSmoothAbs","createSVGPathSegCurvetoQuadraticSmoothRel","createSVGPathSegLinetoAbs","createSVGPathSegLinetoHorizontalAbs","createSVGPathSegLinetoHorizontalRel","createSVGPathSegLinetoRel","createSVGPathSegLinetoVerticalAbs","createSVGPathSegLinetoVerticalRel","createSVGPathSegMovetoAbs","createSVGPathSegMovetoRel","createSVGPoint","createSVGRect","createSVGTransform","createSVGTransformFromMatrix","createScriptProcessor","createSession","createShader","createShadowRoot","createStereoPanner","createStyleSheet","createTBody","createTFoot","createTHead","createTextNode","createTextRange","createTexture","createTouch","createTouchList","createTreeWalker","createWaveShaper","creationTime","crossOrigin","crypto","csi","cssFloat","cssRules","cssText","cssValueType","ctrlKey","ctrlLeft","cues","cullFace","currentNode","currentPage","currentScale","currentScript","currentSrc","currentState","currentStyle","currentTarget","currentTime","currentTranslate","currentView","cursor","curve","customError","cx","cy","d","data","dataFld","dataFormatAs","dataPageSize","dataSrc","dataTransfer","database","dataset","dateTime","db","debug","debuggerEnabled","declare","decode","decodeAudioData","decodeURI","decodeURIComponent","decodingInfo","decrypt","default","defaultCharset","defaultChecked","defaultMuted","defaultPlaybackRate","defaultPrevented","defaultSelected","defaultStatus","defaultURL","defaultValue","defaultView","defaultstatus","defer","defineMagicFunction","defineMagicVariable","defineProperties","defineProperty","delayTime","delete","deleteBuffer","deleteCaption","deleteCell","deleteContents","deleteData","deleteDatabase","deleteFramebuffer","deleteFromDocument","deleteIndex","deleteMedium","deleteObjectStore","deleteProgram","deleteRenderbuffer","deleteRow","deleteRule","deleteShader","deleteTFoot","deleteTHead","deleteTexture","deliverChangeRecords","delivery","deliveryInfo","deliveryStatus","deliveryTimestamp","delta","deltaMode","deltaX","deltaY","deltaZ","depthFunc","depthMask","depthRange","deriveBits","deriveKey","description","deselectAll","designMode","destination","destinationURL","detach","detachEvent","detachShader","detail","detune","devicePixelRatio","deviceXDPI","deviceYDPI","diffuseConstant","digest","dimensions","dir","dirName","direction","dirxml","disable","disableVertexAttribArray","disabled","dischargingTime","disconnect","dispatchEvent","display","distanceModel","divisor","djsapi","djsproxy","doImport","doNotTrack","doScroll","doctype","document","documentElement","documentMode","documentURI","dolphin","dolphinGameCenter","dolphininfo","dolphinmeta","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","domLoading","domain","domainLookupEnd","domainLookupStart","dominant-baseline","dominantBaseline","done","dopplerFactor","download","dragDrop","draggable","drawArrays","drawArraysInstancedANGLE","drawCustomFocusRing","drawElements","drawElementsInstancedANGLE","drawFocusIfNeeded","drawImage","drawImageFromRect","drawSystemFocusRing","drawingBufferHeight","drawingBufferWidth","dropEffect","droppedVideoFrames","dropzone","dump","duplicate","duration","dvname","dvnum","dx","dy","dynsrc","e","edgeMode","effectAllowed","elapsedTime","elementFromPoint","elements","elevation","ellipse","email","embeds","empty","empty-cells","emptyCells","enable","enableBackground","enableStyleSheetsForSet","enableVertexAttribArray","enabled","enabledPlugin","encode","encodeURI","encodeURIComponent","encoding","encrypt","enctype","end","endContainer","endElement","endElementAt","endOfStream","endOffset","endTime","ended","endsWith","entities","entries","entryType","enumerate","enumerateEditable","error","errorCode","escape","eval","evaluate","event","eventPhase","every","exception","exec","execCommand","execCommandShowHelp","execScript","exitFullscreen","exitPointerLock","exp","expand","expandEntityReferences","expando","expansion","expiryDate","explicitOriginalTarget","expm1","exponent","exponentialRampToValueAtTime","exportKey","extend","extensions","extentNode","extentOffset","external","externalResourcesRequired","extractContents","extractable","f","face","factoryReset","fallback","familyName","farthestViewportElement","fastSeek","fatal","fetch","fetchStart","fftSize","fgColor","fileCreatedDate","fileHandle","fileModifiedDate","fileName","fileSize","fileUpdatedDate","filename","files","fill","fill-opacity","fill-rule","fillOpacity","fillRect","fillRule","fillStyle","fillText","filter","filterResX","filterResY","filterUnits","filters","finally","find","findIndex","findRule","findText","finish","fireEvent","firstChild","firstElementChild","firstPage","fixed","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","flipX","flipY","float","flood-color","flood-opacity","floodColor","floodOpacity","floor","flush","focus","focusNode","focusOffset","font","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontSmoothingEnabled","fontStretch","fontStyle","fontSynthesis","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","fontcolor","fonts","fontsize","for","forEach","forceRedraw","form","formAction","formEnctype","formMethod","formNoValidate","formTarget","format","formatToParts","forms","forward","fr","frame","frameBorder","frameElement","frameSpacing","framebufferRenderbuffer","framebufferTexture2D","frames","freeSpace","freeze","frequency","frequencyBinCount","from","fromCharCode","fromCodePoint","fromElement","frontFace","fround","fullScreen","fullscreenElement","fullscreenEnabled","fx","fy","gain","gamepad","gamma","genderIdentity","generateKey","generateMipmap","generateRequest","geolocation","gestureObject","get","getActiveAttrib","getActiveUniform","getAdjacentText","getAll","getAllResponseHeaders","getAsFile","getAsString","getAttachedShaders","getAttribLocation","getAttribute","getAttributeNS","getAttributeNode","getAttributeNodeNS","getAudioTracks","getBBox","getBattery","getBlob","getBookmark","getBoundingClientRect","getBufferParameter","getByteFrequencyData","getByteTimeDomainData","getCSSCanvasContext","getCTM","getCandidateWindowClientRect","getChannelData","getCharNumAtPosition","getClientRect","getClientRects","getCompositionAlternatives","getComputedStyle","getComputedTextLength","getConfiguration","getContext","getContextAttributes","getCounterValue","getCueAsHTML","getCueById","getCurrentPosition","getCurrentTime","getData","getDatabaseNames","getDate","getDay","getDefaultComputedStyle","getDestinationInsertionPoints","getDistributedNodes","getEditable","getElementById","getElementsByClassName","getElementsByName","getElementsByTagName","getElementsByTagNameNS","getEnclosureList","getEndPositionOfChar","getEntries","getEntriesByName","getEntriesByType","getError","getExtension","getExtentOfChar","getFeature","getFile","getFloat32","getFloat64","getFloatFrequencyData","getFloatTimeDomainData","getFloatValue","getFramebufferAttachmentParameter","getFrequencyResponse","getFullYear","getGamepads","getHours","getImageData","getInt16","getInt32","getInt8","getIntersectionList","getItem","getItems","getKey","getLineDash","getLocalStreams","getMarks","getMatchedCSSRules","getMeasures","getMetadata","getMilliseconds","getMinutes","getModifierState","getMonth","getNamedItem","getNamedItemNS","getNotifier","getNumberOfChars","getOverrideHistoryNavigationMode","getOverrideStyle","getOwnPropertyDescriptor","getOwnPropertyNames","getOwnPropertySymbols","getParameter","getPathSegAtLength","getPointAtLength","getPreference","getPreferenceDefault","getPresentationAttribute","getPreventDefault","getProgramInfoLog","getProgramParameter","getPropertyCSSValue","getPropertyPriority","getPropertyShorthand","getPropertyValue","getPrototypeOf","getRGBColorValue","getRandomValues","getRangeAt","getReceivers","getRectValue","getRegistration","getRemoteStreams","getRenderbufferParameter","getResponseHeader","getRoot","getRotationOfChar","getSVGDocument","getScreenCTM","getSeconds","getSelection","getSenders","getShaderInfoLog","getShaderParameter","getShaderPrecisionFormat","getShaderSource","getSimpleDuration","getSiteIcons","getSources","getSpeculativeParserUrls","getStartPositionOfChar","getStartTime","getStats","getStorageUpdates","getStreamById","getStringValue","getSubStringLength","getSubscription","getSupportedExtensions","getTexParameter","getTime","getTimezoneOffset","getTotalLength","getTrackById","getTracks","getTransformToElement","getUTCDate","getUTCDay","getUTCFullYear","getUTCHours","getUTCMilliseconds","getUTCMinutes","getUTCMonth","getUTCSeconds","getUint16","getUint32","getUint8","getUniform","getUniformLocation","getUserMedia","getValues","getVarDate","getVariableValue","getVertexAttrib","getVertexAttribOffset","getVideoPlaybackQuality","getVideoTracks","getWakeLockState","getYear","givenName","global","globalAlpha","globalCompositeOperation","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","go","gradientTransform","gradientUnits","grammars","green","group","groupCollapsed","groupEnd","hardwareConcurrency","has","hasAttribute","hasAttributeNS","hasAttributes","hasChildNodes","hasComposition","hasExtension","hasFeature","hasFocus","hasLayout","hasOwnProperty","hash","head","headers","heading","height","hidden","hide","hideFocus","high","hint","history","honorificPrefix","honorificSuffix","horizontalOverflow","host","hostname","href","hreflang","hspace","html5TagCheckInerface","htmlFor","htmlText","httpEquiv","hwTimestamp","hypot","iccId","iceConnectionState","iceGatheringState","icon","id","identifier","identity","ignoreBOM","ignoreCase","image-orientation","image-rendering","imageOrientation","imageRendering","images","ime-mode","imeMode","implementation","importKey","importNode","importStylesheet","imports","impp","imul","in1","in2","inBandMetadataTrackDispatchType","inRange","includes","incremental","indeterminate","index","indexNames","indexOf","indexedDB","inertiaDestinationX","inertiaDestinationY","info","init","initAnimationEvent","initBeforeLoadEvent","initClipboardEvent","initCloseEvent","initCommandEvent","initCompositionEvent","initCustomEvent","initData","initDeviceMotionEvent","initDeviceOrientationEvent","initDragEvent","initErrorEvent","initEvent","initFocusEvent","initGestureEvent","initHashChangeEvent","initKeyEvent","initKeyboardEvent","initMSManipulationEvent","initMessageEvent","initMouseEvent","initMouseScrollEvent","initMouseWheelEvent","initMutationEvent","initNSMouseEvent","initOverflowEvent","initPageEvent","initPageTransitionEvent","initPointerEvent","initPopStateEvent","initProgressEvent","initScrollAreaEvent","initSimpleGestureEvent","initStorageEvent","initTextEvent","initTimeEvent","initTouchEvent","initTransitionEvent","initUIEvent","initWebKitAnimationEvent","initWebKitTransitionEvent","initWebKitWheelEvent","initWheelEvent","initialTime","initialize","initiatorType","inner","innerHTML","innerHeight","innerText","innerWidth","input","inputBuffer","inputEncoding","inputMethod","insertAdjacentElement","insertAdjacentHTML","insertAdjacentText","insertBefore","insertCell","insertData","insertItemBefore","insertNode","insertRow","insertRule","instanceRoot","intercept","interimResults","internalSubset","intersectsNode","interval","invalidIteratorState","inverse","invertSelf","is","is2D","isAlternate","isArray","isBingCurrentSearchDefault","isBuffer","isCandidateWindowVisible","isChar","isCollapsed","isComposing","isContentEditable","isContentHandlerRegistered","isContextLost","isDefaultNamespace","isDisabled","isEnabled","isEqual","isEqualNode","isExtensible","isFinite","isFramebuffer","isFrozen","isGenerator","isId","isInjected","isInteger","isMap","isMultiLine","isNaN","isOpen","isPointInFill","isPointInPath","isPointInRange","isPointInStroke","isPrefAlternate","isPrimary","isProgram","isPropertyImplicit","isProtocolHandlerRegistered","isPrototypeOf","isRenderbuffer","isSafeInteger","isSameNode","isSealed","isShader","isSupported","isTextEdit","isTexture","isTrusted","isTypeSupported","isView","isolation","italics","item","itemId","itemProp","itemRef","itemScope","itemType","itemValue","iterateNext","iterator","javaEnabled","jobTitle","join","json","justify-content","justifyContent","k1","k2","k3","k4","kernelMatrix","kernelUnitLengthX","kernelUnitLengthY","kerning","key","keyCode","keyFor","keyIdentifier","keyLightEnabled","keyLocation","keyPath","keySystem","keyText","keyUsage","keys","keytype","kind","knee","label","labels","lang","language","languages","largeArcFlag","lastChild","lastElementChild","lastEventId","lastIndex","lastIndexOf","lastMatch","lastMessageSubject","lastMessageType","lastModified","lastModifiedDate","lastPage","lastParen","lastState","lastStyleSheetSet","latitude","layerX","layerY","layoutFlow","layoutGrid","layoutGridChar","layoutGridLine","layoutGridMode","layoutGridType","lbound","left","leftContext","leftMargin","length","lengthAdjust","lengthComputable","letter-spacing","letterSpacing","level","lighting-color","lightingColor","limitingConeAngle","line","line-height","lineAlign","lineBreak","lineCap","lineDashOffset","lineHeight","lineJoin","lineNumber","lineTo","lineWidth","linearRampToValueAtTime","lineno","link","linkColor","linkProgram","links","list","list-style","list-style-image","list-style-position","list-style-type","listStyle","listStyleImage","listStylePosition","listStyleType","listener","load","loadEventEnd","loadEventStart","loadTimes","loaded","localDescription","localName","localStorage","locale","localeCompare","location","locationbar","lock","lockedFile","log","log10","log1p","log2","logicalXDPI","logicalYDPI","longDesc","longitude","lookupNamespaceURI","lookupPrefix","loop","loopEnd","loopStart","looping","low","lower","lowerBound","lowerOpen","lowsrc","m11","m12","m13","m14","m21","m22","m23","m24","m31","m32","m33","m34","m41","m42","m43","m44","manifest","map","mapping","margin","margin-bottom","margin-left","margin-right","margin-top","marginBottom","marginHeight","marginLeft","marginRight","marginTop","marginWidth","mark","marker","marker-end","marker-mid","marker-offset","marker-start","markerEnd","markerHeight","markerMid","markerOffset","markerStart","markerUnits","markerWidth","marks","mask","mask-type","maskContentUnits","maskType","maskUnits","match","matchMedia","matchMedium","matches","matrix","matrixTransform","max","max-height","max-width","maxAlternatives","maxChannelCount","maxConnectionsPerServer","maxDecibels","maxDistance","maxHeight","maxLength","maxTouchPoints","maxValue","maxWidth","measure","measureText","media","mediaCapabilities","mediaDevices","mediaElement","mediaGroup","mediaKeys","mediaText","meetOrSlice","memory","menubar","mergeAttributes","message","messageClass","messageHandlers","metaKey","method","mimeType","mimeTypes","min","min-height","min-width","minDecibels","minHeight","minValue","minWidth","miterLimit","mix-blend-mode","mixBlendMode","mode","modify","mount","move","moveBy","moveEnd","moveFirst","moveFocusDown","moveFocusLeft","moveFocusRight","moveFocusUp","moveNext","moveRow","moveStart","moveTo","moveToBookmark","moveToElementText","moveToPoint","mozAdd","mozAnimationStartTime","mozAnon","mozApps","mozAudioCaptured","mozAudioChannelType","mozAutoplayEnabled","mozCancelAnimationFrame","mozCancelFullScreen","mozCancelRequestAnimationFrame","mozCaptureStream","mozCaptureStreamUntilEnded","mozClearDataAt","mozContact","mozContacts","mozCreateFileHandle","mozCurrentTransform","mozCurrentTransformInverse","mozCursor","mozDash","mozDashOffset","mozDecodedFrames","mozExitPointerLock","mozFillRule","mozFragmentEnd","mozFrameDelay","mozFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozGetAll","mozGetAllKeys","mozGetAsFile","mozGetDataAt","mozGetMetadata","mozGetUserMedia","mozHasAudio","mozHasItem","mozHidden","mozImageSmoothingEnabled","mozIndexedDB","mozInnerScreenX","mozInnerScreenY","mozInputSource","mozIsTextField","mozItem","mozItemCount","mozItems","mozLength","mozLockOrientation","mozMatchesSelector","mozMovementX","mozMovementY","mozOpaque","mozOrientation","mozPaintCount","mozPaintedFrames","mozParsedFrames","mozPay","mozPointerLockElement","mozPresentedFrames","mozPreservesPitch","mozPressure","mozPrintCallback","mozRTCIceCandidate","mozRTCPeerConnection","mozRTCSessionDescription","mozRemove","mozRequestAnimationFrame","mozRequestFullScreen","mozRequestPointerLock","mozSetDataAt","mozSetImageElement","mozSourceNode","mozSrcObject","mozSystem","mozTCPSocket","mozTextStyle","mozTypesAt","mozUnlockOrientation","mozUserCancelled","mozVisibilityState","msAnimation","msAnimationDelay","msAnimationDirection","msAnimationDuration","msAnimationFillMode","msAnimationIterationCount","msAnimationName","msAnimationPlayState","msAnimationStartTime","msAnimationTimingFunction","msBackfaceVisibility","msBlockProgression","msCSSOMElementFloatMetrics","msCaching","msCachingEnabled","msCancelRequestAnimationFrame","msCapsLockWarningOff","msClearImmediate","msClose","msContentZoomChaining","msContentZoomFactor","msContentZoomLimit","msContentZoomLimitMax","msContentZoomLimitMin","msContentZoomSnap","msContentZoomSnapPoints","msContentZoomSnapType","msContentZooming","msConvertURL","msCrypto","msDoNotTrack","msElementsFromPoint","msElementsFromRect","msExitFullscreen","msExtendedCode","msFillRule","msFirstPaint","msFlex","msFlexAlign","msFlexDirection","msFlexFlow","msFlexItemAlign","msFlexLinePack","msFlexNegative","msFlexOrder","msFlexPack","msFlexPositive","msFlexPreferredSize","msFlexWrap","msFlowFrom","msFlowInto","msFontFeatureSettings","msFullscreenElement","msFullscreenEnabled","msGetInputContext","msGetRegionContent","msGetUntransformedBounds","msGraphicsTrustStatus","msGridColumn","msGridColumnAlign","msGridColumnSpan","msGridColumns","msGridRow","msGridRowAlign","msGridRowSpan","msGridRows","msHidden","msHighContrastAdjust","msHyphenateLimitChars","msHyphenateLimitLines","msHyphenateLimitZone","msHyphens","msImageSmoothingEnabled","msImeAlign","msIndexedDB","msInterpolationMode","msIsStaticHTML","msKeySystem","msKeys","msLaunchUri","msLockOrientation","msManipulationViewsEnabled","msMatchMedia","msMatchesSelector","msMaxTouchPoints","msOrientation","msOverflowStyle","msPerspective","msPerspectiveOrigin","msPlayToDisabled","msPlayToPreferredSourceUri","msPlayToPrimary","msPointerEnabled","msRegionOverflow","msReleasePointerCapture","msRequestAnimationFrame","msRequestFullscreen","msSaveBlob","msSaveOrOpenBlob","msScrollChaining","msScrollLimit","msScrollLimitXMax","msScrollLimitXMin","msScrollLimitYMax","msScrollLimitYMin","msScrollRails","msScrollSnapPointsX","msScrollSnapPointsY","msScrollSnapType","msScrollSnapX","msScrollSnapY","msScrollTranslation","msSetImmediate","msSetMediaKeys","msSetPointerCapture","msTextCombineHorizontal","msTextSizeAdjust","msToBlob","msTouchAction","msTouchSelect","msTraceAsyncCallbackCompleted","msTraceAsyncCallbackStarting","msTraceAsyncOperationCompleted","msTraceAsyncOperationStarting","msTransform","msTransformOrigin","msTransformStyle","msTransition","msTransitionDelay","msTransitionDuration","msTransitionProperty","msTransitionTimingFunction","msUnlockOrientation","msUpdateAsyncCallbackRelation","msUserSelect","msVisibilityState","msWrapFlow","msWrapMargin","msWrapThrough","msWriteProfilerMark","msZoom","msZoomTo","mt","multiEntry","multiSelectionObj","multiline","multiple","multiply","multiplySelf","mutableFile","muted","n","name","nameProp","namedItem","namedRecordset","names","namespaceURI","namespaces","naturalHeight","naturalWidth","navigate","navigation","navigationMode","navigationStart","navigator","near","nearestViewportElement","negative","netscape","networkState","newScale","newTranslate","newURL","newValue","newValueSpecifiedUnits","newVersion","newhome","next","nextElementSibling","nextNode","nextPage","nextSibling","nickname","noHref","noResize","noShade","noValidate","noWrap","nodeName","nodeType","nodeValue","normalize","normalizedPathSegList","notationName","notations","note","noteGrainOn","noteOff","noteOn","now","numOctaves","number","numberOfChannels","numberOfInputs","numberOfItems","numberOfOutputs","numberValue","oMatchesSelector","object","object-fit","object-position","objectFit","objectPosition","objectStore","objectStoreNames","observe","of","offscreenBuffering","offset","offsetHeight","offsetLeft","offsetNode","offsetParent","offsetTop","offsetWidth","offsetX","offsetY","ok","oldURL","oldValue","oldVersion","olderShadowRoot","onLine","onabort","onactivate","onactive","onaddstream","onaddtrack","onafterprint","onafterscriptexecute","onafterupdate","onaudioend","onaudioprocess","onaudiostart","onautocomplete","onautocompleteerror","onbeforeactivate","onbeforecopy","onbeforecut","onbeforedeactivate","onbeforeeditfocus","onbeforepaste","onbeforeprint","onbeforescriptexecute","onbeforeunload","onbeforeupdate","onblocked","onblur","onbounce","onboundary","oncached","oncancel","oncandidatewindowhide","oncandidatewindowshow","oncandidatewindowupdate","oncanplay","oncanplaythrough","once","oncellchange","onchange","onchargingchange","onchargingtimechange","onchecking","onclick","onclose","oncompassneedscalibration","oncomplete","oncontextmenu","oncontrolselect","oncopy","oncuechange","oncut","ondataavailable","ondatachannel","ondatasetchanged","ondatasetcomplete","ondblclick","ondeactivate","ondevicelight","ondevicemotion","ondeviceorientation","ondeviceproximity","ondischargingtimechange","ondisplay","ondownloading","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onencrypted","onend","onended","onenter","onerror","onerrorupdate","onexit","onfilterchange","onfinish","onfocus","onfocusin","onfocusout","onfullscreenchange","onfullscreenerror","ongesturechange","ongestureend","ongesturestart","ongotpointercapture","onhashchange","onhelp","onicecandidate","oniceconnectionstatechange","oninactive","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onlayoutcomplete","onlevelchange","onload","onloadeddata","onloadedmetadata","onloadend","onloadstart","onlosecapture","onlostpointercapture","only","onmark","onmessage","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onmousewheel","onmove","onmoveend","onmovestart","onmozfullscreenchange","onmozfullscreenerror","onmozorientationchange","onmozpointerlockchange","onmozpointerlockerror","onmscontentzoom","onmsfullscreenchange","onmsfullscreenerror","onmsgesturechange","onmsgesturedoubletap","onmsgestureend","onmsgesturehold","onmsgesturestart","onmsgesturetap","onmsgotpointercapture","onmsinertiastart","onmslostpointercapture","onmsmanipulationstatechanged","onmsneedkey","onmsorientationchange","onmspointercancel","onmspointerdown","onmspointerenter","onmspointerhover","onmspointerleave","onmspointermove","onmspointerout","onmspointerover","onmspointerup","onmssitemodejumplistitemremoved","onmsthumbnailclick","onnegotiationneeded","onnomatch","onnoupdate","onobsolete","onoffline","ononline","onopen","onorientationchange","onpagechange","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpluginstreamstart","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointerlockchange","onpointerlockerror","onpointermove","onpointerout","onpointerover","onpointerup","onpopstate","onprogress","onpropertychange","onratechange","onreadystatechange","onremovestream","onremovetrack","onreset","onresize","onresizeend","onresizestart","onresourcetimingbufferfull","onresult","onresume","onrowenter","onrowexit","onrowsdelete","onrowsinserted","onscroll","onsearch","onseeked","onseeking","onselect","onselectionchange","onselectstart","onshow","onsignalingstatechange","onsoundend","onsoundstart","onspeechend","onspeechstart","onstalled","onstart","onstatechange","onstop","onstorage","onstoragecommit","onsubmit","onsuccess","onsuspend","ontextinput","ontimeout","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onunload","onupdateready","onupgradeneeded","onuserproximity","onversionchange","onvoiceschanged","onvolumechange","onwaiting","onwarning","onwebkitanimationend","onwebkitanimationiteration","onwebkitanimationstart","onwebkitcurrentplaybacktargetiswirelesschanged","onwebkitfullscreenchange","onwebkitfullscreenerror","onwebkitkeyadded","onwebkitkeyerror","onwebkitkeymessage","onwebkitneedkey","onwebkitorientationchange","onwebkitplaybacktargetavailabilitychanged","onwebkitpointerlockchange","onwebkitpointerlockerror","onwebkitresourcetimingbufferfull","onwebkittransitionend","onwheel","onzoom","opacity","open","openCursor","openDatabase","openKeyCursor","opener","opera","operationType","operator","opr","optimum","options","order","orderX","orderY","ordered","org","orient","orientAngle","orientType","orientation","origin","originalTarget","orphans","oscpu","outerHTML","outerHeight","outerText","outerWidth","outline","outline-color","outline-offset","outline-style","outline-width","outlineColor","outlineOffset","outlineStyle","outlineWidth","outputBuffer","overflow","overflow-x","overflow-y","overflowX","overflowY","overrideMimeType","oversample","ownerDocument","ownerElement","ownerNode","ownerRule","ownerSVGElement","owningElement","p1","p2","p3","p4","pad","padding","padding-bottom","padding-left","padding-right","padding-top","paddingBottom","paddingLeft","paddingRight","paddingTop","page","page-break-after","page-break-before","page-break-inside","pageBreakAfter","pageBreakBefore","pageBreakInside","pageCount","pageX","pageXOffset","pageY","pageYOffset","pages","paint-order","paintOrder","paintRequests","paintType","palette","panningModel","parent","parentElement","parentNode","parentRule","parentStyleSheet","parentTextEdit","parentWindow","parse","parseFloat","parseFromString","parseInt","participants","passive","password","pasteHTML","path","pathLength","pathSegList","pathSegType","pathSegTypeAsLetter","pathname","pattern","patternContentUnits","patternMismatch","patternTransform","patternUnits","pause","pauseAnimations","pauseOnExit","paused","pending","performance","permission","persisted","personalbar","perspective","perspective-origin","perspectiveOrigin","phoneticFamilyName","phoneticGivenName","photo","ping","pitch","pixelBottom","pixelDepth","pixelHeight","pixelLeft","pixelRight","pixelStorei","pixelTop","pixelUnitToMillimeterX","pixelUnitToMillimeterY","pixelWidth","placeholder","platform","play","playbackRate","playbackState","playbackTime","played","plugins","pluginspage","pname","pointer-events","pointerBeforeReferenceNode","pointerEnabled","pointerEvents","pointerId","pointerLockElement","pointerType","points","pointsAtX","pointsAtY","pointsAtZ","polygonOffset","pop","popupWindowFeatures","popupWindowName","popupWindowURI","port","port1","port2","ports","posBottom","posHeight","posLeft","posRight","posTop","posWidth","position","positionAlign","postError","postMessage","poster","pow","powerOff","preMultiplySelf","precision","preferredStyleSheetSet","preferredStylesheetSet","prefix","preload","prepend","preserveAlpha","preserveAspectRatio","preserveAspectRatioString","pressed","pressure","prevValue","preventDefault","preventExtensions","previousElementSibling","previousNode","previousPage","previousScale","previousSibling","previousTranslate","primaryKey","primitiveType","primitiveUnits","principals","print","privateKey","probablySupportsContext","process","processIceMessage","product","productSub","profile","profileEnd","profiles","prompt","properties","propertyIsEnumerable","propertyName","protocol","protocolLong","prototype","pseudoClass","pseudoElement","publicId","publicKey","published","push","pushNotification","pushState","put","putImageData","quadraticCurveTo","qualifier","queryCommandEnabled","queryCommandIndeterm","queryCommandState","queryCommandSupported","queryCommandText","queryCommandValue","querySelector","querySelectorAll","quote","quotes","r","r1","r2","race","radiogroup","radiusX","radiusY","random","range","rangeCount","rangeMax","rangeMin","rangeOffset","rangeOverflow","rangeParent","rangeUnderflow","rate","ratio","raw","read","readAsArrayBuffer","readAsBinaryString","readAsBlob","readAsDataURL","readAsText","readOnly","readPixels","readReportRequested","readyState","reason","reboot","receiver","receivers","recordNumber","recordset","rect","red","redirectCount","redirectEnd","redirectStart","reduce","reduceRight","reduction","refDistance","refX","refY","referenceNode","referrer","refresh","region","regionAnchorX","regionAnchorY","regionId","regions","register","registerContentHandler","registerElement","registerProtocolHandler","reject","rel","relList","relatedNode","relatedTarget","release","releaseCapture","releaseEvents","releasePointerCapture","releaseShaderCompiler","reliable","reload","remainingSpace","remoteDescription","remove","removeAllRanges","removeAttribute","removeAttributeNS","removeAttributeNode","removeBehavior","removeChild","removeCue","removeEventListener","removeFilter","removeImport","removeItem","removeListener","removeNamedItem","removeNamedItemNS","removeNode","removeParameter","removeProperty","removeRange","removeRegion","removeRule","removeSiteSpecificTrackingException","removeSourceBuffer","removeStream","removeTrack","removeVariable","removeWakeLockListener","removeWebWideTrackingException","removedNodes","renderbufferStorage","renderedBuffer","renderingMode","repeat","replace","replaceAdjacentText","replaceChild","replaceData","replaceId","replaceItem","replaceNode","replaceState","replaceTrack","replaceWholeText","reportValidity","requestAnimationFrame","requestAutocomplete","requestData","requestFullscreen","requestMediaKeySystemAccess","requestPermission","requestPointerLock","requestStart","requestingWindow","required","requiredExtensions","requiredFeatures","reset","resetTransform","resize","resizeBy","resizeTo","resolve","response","responseBody","responseEnd","responseStart","responseText","responseType","responseURL","responseXML","restore","result","resultType","resume","returnValue","rev","reverse","reversed","revocable","revokeObjectURL","rgbColor","right","rightContext","rightMargin","rolloffFactor","root","rootElement","rotate","rotateAxisAngle","rotateAxisAngleSelf","rotateFromVector","rotateFromVectorSelf","rotateSelf","rotation","rotationRate","round","rowIndex","rowSpan","rows","rubyAlign","rubyOverhang","rubyPosition","rules","runtime","runtimeStyle","rx","ry","safari","sampleCoverage","sampleRate","sandbox","save","scale","scale3d","scale3dSelf","scaleNonUniform","scaleNonUniformSelf","scaleSelf","scheme","scissor","scope","scopeName","scoped","screen","screenBrightness","screenEnabled","screenLeft","screenPixelToMillimeterX","screenPixelToMillimeterY","screenTop","screenX","screenY","scripts","scroll","scroll-behavior","scrollAmount","scrollBehavior","scrollBy","scrollByLines","scrollByPages","scrollDelay","scrollHeight","scrollIntoView","scrollIntoViewIfNeeded","scrollLeft","scrollLeftMax","scrollMaxX","scrollMaxY","scrollTo","scrollTop","scrollTopMax","scrollWidth","scrollX","scrollY","scrollbar3dLightColor","scrollbarArrowColor","scrollbarBaseColor","scrollbarDarkShadowColor","scrollbarFaceColor","scrollbarHighlightColor","scrollbarShadowColor","scrollbarTrackColor","scrollbars","scrolling","sdp","sdpMLineIndex","sdpMid","seal","search","searchBox","searchBoxJavaBridge_","searchParams","sectionRowIndex","secureConnectionStart","security","seed","seekable","seeking","select","selectAllChildren","selectNode","selectNodeContents","selectNodes","selectSingleNode","selectSubString","selected","selectedIndex","selectedOptions","selectedStyleSheetSet","selectedStylesheetSet","selection","selectionDirection","selectionEnd","selectionStart","selector","selectorText","self","send","sendAsBinary","sendBeacon","sender","sentTimestamp","separator","serializeToString","serviceWorker","sessionId","sessionStorage","set","setActive","setAlpha","setAttribute","setAttributeNS","setAttributeNode","setAttributeNodeNS","setBaseAndExtent","setBingCurrentSearchDefault","setCapture","setColor","setCompositeOperation","setCurrentTime","setCustomValidity","setData","setDate","setDragImage","setEnd","setEndAfter","setEndBefore","setEndPoint","setFillColor","setFilterRes","setFloat32","setFloat64","setFloatValue","setFullYear","setHours","setImmediate","setInt16","setInt32","setInt8","setInterval","setItem","setLineCap","setLineDash","setLineJoin","setLineWidth","setLocalDescription","setMatrix","setMatrixValue","setMediaKeys","setMilliseconds","setMinutes","setMiterLimit","setMonth","setNamedItem","setNamedItemNS","setNonUserCodeExceptions","setOrientToAngle","setOrientToAuto","setOrientation","setOverrideHistoryNavigationMode","setPaint","setParameter","setPeriodicWave","setPointerCapture","setPosition","setPreference","setProperty","setPrototypeOf","setRGBColor","setRGBColorICCColor","setRadius","setRangeText","setRemoteDescription","setRequestHeader","setResizable","setResourceTimingBufferSize","setRotate","setScale","setSeconds","setSelectionRange","setServerCertificate","setShadow","setSkewX","setSkewY","setStart","setStartAfter","setStartBefore","setStdDeviation","setStringValue","setStrokeColor","setSuggestResult","setTargetAtTime","setTargetValueAtTime","setTime","setTimeout","setTransform","setTranslate","setUTCDate","setUTCFullYear","setUTCHours","setUTCMilliseconds","setUTCMinutes","setUTCMonth","setUTCSeconds","setUint16","setUint32","setUint8","setUri","setValueAtTime","setValueCurveAtTime","setVariable","setVelocity","setVersion","setYear","settingName","settingValue","sex","shaderSource","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","shadowRoot","shape","shape-rendering","shapeRendering","sheet","shift","shiftKey","shiftLeft","show","showHelp","showModal","showModalDialog","showModelessDialog","showNotification","sidebar","sign","signalingState","sin","singleNodeValue","sinh","size","sizeToContent","sizes","skewX","skewXSelf","skewY","skewYSelf","slice","slope","small","smil","smooth","smoothingTimeConstant","snapToLines","snapshotItem","snapshotLength","some","sort","source","sourceBuffer","sourceBuffers","sourceIndex","spacing","span","speakAs","speaking","specified","specularConstant","specularExponent","speechSynthesis","speed","speedOfSound","spellcheck","splice","split","splitText","spreadMethod","sqrt","src","srcElement","srcFilter","srcUrn","srcdoc","srclang","srcset","stack","stackTraceLimit","stacktrace","standalone","standby","start","startContainer","startIce","startOffset","startRendering","startTime","startsWith","state","status","statusMessage","statusText","statusbar","stdDeviationX","stdDeviationY","stencilFunc","stencilFuncSeparate","stencilMask","stencilMaskSeparate","stencilOp","stencilOpSeparate","step","stepDown","stepMismatch","stepUp","sticky","stitchTiles","stop","stop-color","stop-opacity","stopColor","stopImmediatePropagation","stopOpacity","stopPropagation","storageArea","storageName","storageStatus","storeSiteSpecificTrackingException","storeWebWideTrackingException","stpVersion","stream","strike","stringValue","stringify","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeRect","strokeStyle","strokeText","strokeWidth","style","styleFloat","styleMedia","styleSheet","styleSheetSets","styleSheets","sub","subarray","subject","submit","subscribe","substr","substring","substringData","subtle","subtree","suffix","suffixes","summary","sup","supports","surfaceScale","surroundContents","suspend","suspendRedraw","swapCache","swapNode","sweepFlag","symbols","system","systemCode","systemId","systemLanguage","systemXDPI","systemYDPI","tBodies","tFoot","tHead","tabIndex","table","table-layout","tableLayout","tableValues","tag","tagName","tagUrn","tags","taintEnabled","takeRecords","tan","tanh","target","targetElement","targetTouches","targetX","targetY","tel","terminate","test","texImage2D","texParameterf","texParameteri","texSubImage2D","text","text-align","text-anchor","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","textAlign","textAlignLast","textAnchor","textAutospace","textBaseline","textContent","textDecoration","textDecorationBlink","textDecorationColor","textDecorationLine","textDecorationLineThrough","textDecorationNone","textDecorationOverline","textDecorationStyle","textDecorationUnderline","textIndent","textJustify","textJustifyTrim","textKashida","textKashidaSpace","textLength","textOverflow","textRendering","textShadow","textTracks","textTransform","textUnderlinePosition","then","threadId","threshold","tiltX","tiltY","time","timeEnd","timeStamp","timeout","timestamp","timestampOffset","timing","title","toArray","toBlob","toDataURL","toDateString","toElement","toExponential","toFixed","toFloat32Array","toFloat64Array","toGMTString","toISOString","toJSON","toLocaleDateString","toLocaleFormat","toLocaleLowerCase","toLocaleString","toLocaleTimeString","toLocaleUpperCase","toLowerCase","toMethod","toPrecision","toSdp","toSource","toStaticHTML","toString","toStringTag","toTimeString","toUTCString","toUpperCase","toggle","toggleLongPressEnabled","tooLong","toolbar","top","topMargin","total","totalFrameDelay","totalVideoFrames","touchAction","touches","trace","track","transaction","transactions","transform","transform-origin","transform-style","transformOrigin","transformPoint","transformString","transformStyle","transformToDocument","transformToFragment","transition","transition-delay","transition-duration","transition-property","transition-timing-function","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","translate","translateSelf","translationX","translationY","trim","trimLeft","trimRight","trueSpeed","trunc","truncate","type","typeDetail","typeMismatch","typeMustMatch","types","ubound","undefined","unescape","uneval","unicode-bidi","unicodeBidi","uniform1f","uniform1fv","uniform1i","uniform1iv","uniform2f","uniform2fv","uniform2i","uniform2iv","uniform3f","uniform3fv","uniform3i","uniform3iv","uniform4f","uniform4fv","uniform4i","uniform4iv","uniformMatrix2fv","uniformMatrix3fv","uniformMatrix4fv","unique","uniqueID","uniqueNumber","unitType","units","unloadEventEnd","unloadEventStart","unlock","unmount","unobserve","unpause","unpauseAnimations","unreadCount","unregister","unregisterContentHandler","unregisterProtocolHandler","unscopables","unselectable","unshift","unsubscribe","unsuspendRedraw","unsuspendRedrawAll","unwatch","unwrapKey","update","updateCommands","updateIce","updateInterval","updateSettings","updated","updating","upload","upper","upperBound","upperOpen","uri","url","urn","urns","usages","useCurrentView","useMap","useProgram","usedSpace","userAgent","userLanguage","username","v8BreakIterator","vAlign","vLink","valid","validateProgram","validationMessage","validity","value","valueAsDate","valueAsNumber","valueAsString","valueInSpecifiedUnits","valueMissing","valueOf","valueText","valueType","values","vector-effect","vectorEffect","velocityAngular","velocityExpansion","velocityX","velocityY","vendor","vendorSub","verify","version","vertexAttrib1f","vertexAttrib1fv","vertexAttrib2f","vertexAttrib2fv","vertexAttrib3f","vertexAttrib3fv","vertexAttrib4f","vertexAttrib4fv","vertexAttribDivisorANGLE","vertexAttribPointer","vertical","vertical-align","verticalAlign","verticalOverflow","vibrate","videoHeight","videoTracks","videoWidth","view","viewBox","viewBoxString","viewTarget","viewTargetString","viewport","viewportAnchorX","viewportAnchorY","viewportElement","visibility","visibilityState","visible","vlinkColor","voice","volume","vrml","vspace","w","wand","warn","wasClean","watch","watchPosition","webdriver","webkitAddKey","webkitAnimation","webkitAnimationDelay","webkitAnimationDirection","webkitAnimationDuration","webkitAnimationFillMode","webkitAnimationIterationCount","webkitAnimationName","webkitAnimationPlayState","webkitAnimationTimingFunction","webkitAppearance","webkitAudioContext","webkitAudioDecodedByteCount","webkitAudioPannerNode","webkitBackfaceVisibility","webkitBackground","webkitBackgroundAttachment","webkitBackgroundClip","webkitBackgroundColor","webkitBackgroundImage","webkitBackgroundOrigin","webkitBackgroundPosition","webkitBackgroundPositionX","webkitBackgroundPositionY","webkitBackgroundRepeat","webkitBackgroundSize","webkitBackingStorePixelRatio","webkitBorderImage","webkitBorderImageOutset","webkitBorderImageRepeat","webkitBorderImageSlice","webkitBorderImageSource","webkitBorderImageWidth","webkitBoxAlign","webkitBoxDirection","webkitBoxFlex","webkitBoxOrdinalGroup","webkitBoxOrient","webkitBoxPack","webkitBoxSizing","webkitCancelAnimationFrame","webkitCancelFullScreen","webkitCancelKeyRequest","webkitCancelRequestAnimationFrame","webkitClearResourceTimings","webkitClosedCaptionsVisible","webkitConvertPointFromNodeToPage","webkitConvertPointFromPageToNode","webkitCreateShadowRoot","webkitCurrentFullScreenElement","webkitCurrentPlaybackTargetIsWireless","webkitDirectionInvertedFromDevice","webkitDisplayingFullscreen","webkitEnterFullScreen","webkitEnterFullscreen","webkitExitFullScreen","webkitExitFullscreen","webkitExitPointerLock","webkitFullScreenKeyboardInputAllowed","webkitFullscreenElement","webkitFullscreenEnabled","webkitGenerateKeyRequest","webkitGetAsEntry","webkitGetDatabaseNames","webkitGetEntries","webkitGetEntriesByName","webkitGetEntriesByType","webkitGetFlowByName","webkitGetGamepads","webkitGetImageDataHD","webkitGetNamedFlows","webkitGetRegionFlowRanges","webkitGetUserMedia","webkitHasClosedCaptions","webkitHidden","webkitIDBCursor","webkitIDBDatabase","webkitIDBDatabaseError","webkitIDBDatabaseException","webkitIDBFactory","webkitIDBIndex","webkitIDBKeyRange","webkitIDBObjectStore","webkitIDBRequest","webkitIDBTransaction","webkitImageSmoothingEnabled","webkitIndexedDB","webkitInitMessageEvent","webkitIsFullScreen","webkitKeys","webkitLineDashOffset","webkitLockOrientation","webkitMatchesSelector","webkitMediaStream","webkitNotifications","webkitOfflineAudioContext","webkitOrientation","webkitPeerConnection00","webkitPersistentStorage","webkitPointerLockElement","webkitPostMessage","webkitPreservesPitch","webkitPutImageDataHD","webkitRTCPeerConnection","webkitRegionOverset","webkitRequestAnimationFrame","webkitRequestFileSystem","webkitRequestFullScreen","webkitRequestFullscreen","webkitRequestPointerLock","webkitResolveLocalFileSystemURL","webkitSetMediaKeys","webkitSetResourceTimingBufferSize","webkitShadowRoot","webkitShowPlaybackTargetPicker","webkitSlice","webkitSpeechGrammar","webkitSpeechGrammarList","webkitSpeechRecognition","webkitSpeechRecognitionError","webkitSpeechRecognitionEvent","webkitStorageInfo","webkitSupportsFullscreen","webkitTemporaryStorage","webkitTextSizeAdjust","webkitTransform","webkitTransformOrigin","webkitTransition","webkitTransitionDelay","webkitTransitionDuration","webkitTransitionProperty","webkitTransitionTimingFunction","webkitURL","webkitUnlockOrientation","webkitUserSelect","webkitVideoDecodedByteCount","webkitVisibilityState","webkitWirelessVideoPlaybackDisabled","webkitdropzone","webstore","weight","whatToShow","wheelDelta","wheelDeltaX","wheelDeltaY","which","white-space","whiteSpace","wholeText","widows","width","will-change","willChange","willValidate","window","withCredentials","word-break","word-spacing","word-wrap","wordBreak","wordSpacing","wordWrap","wrap","wrapKey","write","writeln","writingMode","x","x1","x2","xChannelSelector","xmlEncoding","xmlStandalone","xmlVersion","xmlbase","xmllang","xmlspace","y","y1","y2","yChannelSelector","yandex","z","z-index","zIndex","zoom","zoomAndPan","zoomRectScreen"];function find_builtins(e){Un.forEach(add);var t=["Symbol","Map","Promise","Proxy","Reflect","Set","WeakMap","WeakSet"];var n={};var i=typeof global==="object"?global:self;t.forEach(function(e){n[e]=i[e]||new Function});["null","true","false","NaN","Infinity","-Infinity","undefined"].forEach(add);[Object,Array,Function,Number,String,Boolean,Error,Math,Date,RegExp,n.Symbol,ArrayBuffer,DataView,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,eval,EvalError,Float32Array,Float64Array,Int8Array,Int16Array,Int32Array,isFinite,isNaN,JSON,n.Map,parseFloat,parseInt,n.Promise,n.Proxy,RangeError,ReferenceError,n.Reflect,n.Set,SyntaxError,TypeError,Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,URIError,n.WeakMap,n.WeakSet].forEach(function(e){Object.getOwnPropertyNames(e).map(add);if(e.prototype){Object.getOwnPropertyNames(e.prototype).map(add)}});function add(t){e.add(t)}}function reserve_quoted_keys(e,t){function add(e){push_uniq(t,e)}e.walk(new TreeWalker(function(e){if(e instanceof je&&e.quote){add(e.key)}else if(e instanceof $e&&e.quote){add(e.key.name)}else if(e instanceof Be){addStrings(e.property,add)}}))}function addStrings(e,t){e.walk(new TreeWalker(function(e){if(e instanceof Pe){addStrings(e.tail_node(),t)}else if(e instanceof Ot){t(e.value)}else if(e instanceof He){addStrings(e.consequent,t);addStrings(e.alternative,t)}return true}))}function mangle_properties(e,t){t=defaults(t,{builtins:false,cache:null,debug:false,keep_quoted:false,only_cache:false,regex:null,reserved:null,undeclared:false},true);var n=t.reserved;if(!Array.isArray(n))n=[n];var i=new Set(n);if(!t.builtins)find_builtins(i);var r=-1;var a;if(t.cache){a=t.cache.props;a.forEach(function(e){i.add(e)})}else{a=new Map}var o=t.regex&&new RegExp(t.regex);var s=t.debug!==false;var u;if(s){u=t.debug===true?"":t.debug}var c=new Set;var l=new Set;var f=t.keep_quoted==="strict";e.walk(new TreeWalker(function(e){if(e instanceof je){if(typeof e.key=="string"&&(!f||!e.quote)){add(e.key)}}else if(e instanceof $e){if(!f||!e.key.end.quote){add(e.key.name)}}else if(e instanceof Le){var n=!!t.undeclared;if(!n){var i=e;while(i.expression){i=i.expression}n=!(i.thedef&&i.thedef.undeclared)}if(n&&(!f||!e.quote)){add(e.property)}}else if(e instanceof Be){if(!f){addStrings(e.property,add)}}else if(e instanceof Ne&&e.expression.print_to_string()=="Object.defineProperty"){addStrings(e.args[1],add)}else if(e instanceof Ge&&e.operator==="in"){addStrings(e.left,add)}}));return e.transform(new TreeTransformer(function(e){if(e instanceof je){if(typeof e.key=="string"&&(!f||!e.quote)){e.key=mangle(e.key)}}else if(e instanceof $e){if(!f||!e.key.end.quote){e.key.name=mangle(e.key.name)}}else if(e instanceof Le){if(!f||!e.quote){e.property=mangle(e.property)}}else if(!t.keep_quoted&&e instanceof Be){e.property=mangleStrings(e.property)}else if(e instanceof Ne&&e.expression.print_to_string()=="Object.defineProperty"){e.args[1]=mangleStrings(e.args[1])}else if(e instanceof Ge&&e.operator==="in"){e.left=mangleStrings(e.left)}}));function can_mangle(e){if(l.has(e))return false;if(i.has(e))return false;if(t.only_cache){return a.has(e)}if(/^-?[0-9]+(\.[0-9]+)?(e[+-][0-9]+)?$/.test(e))return false;return true}function should_mangle(e){if(o&&!o.test(e))return false;if(i.has(e))return false;return a.has(e)||c.has(e)}function add(e){if(can_mangle(e))c.add(e);if(!should_mangle(e)){l.add(e)}}function mangle(e){if(!should_mangle(e)){return e}var t=a.get(e);if(!t){if(s){var n="_$"+e+"$"+u+"_";if(can_mangle(n)){t=n}}if(!t){do{t=on(++r)}while(!can_mangle(t))}a.set(e,t)}return t}function mangleStrings(e){return e.transform(new TreeTransformer(function(e){if(e instanceof Pe){var t=e.expressions.length-1;e.expressions[t]=mangleStrings(e.expressions[t])}else if(e instanceof Ot){e.value=mangle(e.value)}else if(e instanceof He){e.consequent=mangleStrings(e.consequent);e.alternative=mangleStrings(e.alternative)}return e}))}}var Kn=typeof atob=="undefined"?function(e){return Buffer.from(e,"base64").toString()}:atob;var zn=typeof btoa=="undefined"?function(e){return Buffer.from(e).toString("base64")}:btoa;function read_source_map(e){var t=/(?:^|[^.])\/\/# sourceMappingURL=data:application\/json(;[\w=-]*)?;base64,([+/0-9A-Za-z]*=*)\s*$/.exec(e);if(!t){console.warn("inline source map not found");return null}return Kn(t[2])}function set_shorthand(e,t,n){if(t[e]){n.forEach(function(n){if(t[n]){if(typeof t[n]!="object")t[n]={};if(!(e in t[n]))t[n][e]=t[e]}})}}function init_cache(e){if(!e)return;if(!("props"in e)){e.props=new Map}else if(!(e.props instanceof Map)){e.props=map_from_object(e.props)}}function cache_to_json(e){return{props:map_to_object(e.props)}}async function minify(e,t){t=defaults(t,{compress:{},ecma:undefined,enclose:false,ie8:false,keep_classnames:undefined,keep_fnames:false,mangle:{},module:false,nameCache:null,output:null,format:null,parse:{},rename:undefined,safari10:false,sourceMap:false,timings:false,toplevel:false,warnings:false,wrap:false},true);var n=t.timings&&{start:Date.now()};if(t.keep_classnames===undefined){t.keep_classnames=t.keep_fnames}if(t.rename===undefined){t.rename=t.compress&&t.mangle}if(t.output&&t.format){throw new Error("Please only specify either output or format option, preferrably format.")}t.format=t.format||t.output||{};set_shorthand("ecma",t,["parse","compress","format"]);set_shorthand("ie8",t,["compress","mangle","format"]);set_shorthand("keep_classnames",t,["compress","mangle"]);set_shorthand("keep_fnames",t,["compress","mangle"]);set_shorthand("module",t,["parse","compress","mangle"]);set_shorthand("safari10",t,["mangle","format"]);set_shorthand("toplevel",t,["compress","mangle"]);set_shorthand("warnings",t,["compress"]);var i;if(t.mangle){t.mangle=defaults(t.mangle,{cache:t.nameCache&&(t.nameCache.vars||{}),eval:false,ie8:false,keep_classnames:false,keep_fnames:false,module:false,properties:false,reserved:[],safari10:false,toplevel:false},true);if(t.mangle.properties){if(typeof t.mangle.properties!="object"){t.mangle.properties={}}if(t.mangle.properties.keep_quoted){i=t.mangle.properties.reserved;if(!Array.isArray(i))i=[];t.mangle.properties.reserved=i}if(t.nameCache&&!("cache"in t.mangle.properties)){t.mangle.properties.cache=t.nameCache.props||{}}}init_cache(t.mangle.cache);init_cache(t.mangle.properties.cache)}if(t.sourceMap){t.sourceMap=defaults(t.sourceMap,{asObject:false,content:null,filename:null,includeSources:false,root:null,url:null},true)}if(n)n.parse=Date.now();var r;if(e instanceof Z){r=e}else{if(typeof e=="string"){e=[e]}t.parse=t.parse||{};t.parse.toplevel=null;for(var a in e)if(HOP(e,a)){t.parse.filename=a;t.parse.toplevel=parse(e[a],t.parse);if(t.sourceMap&&t.sourceMap.content=="inline"){if(Object.keys(e).length>1)throw new Error("inline source map only works with singular input");t.sourceMap.content=read_source_map(e[a])}}r=t.parse.toplevel}if(i&&t.mangle.properties.keep_quoted!=="strict"){reserve_quoted_keys(r,i)}if(t.wrap){r=r.wrap_commonjs(t.wrap)}if(t.enclose){r=r.wrap_enclose(t.enclose)}if(n)n.rename=Date.now();if(n)n.compress=Date.now();if(t.compress)r=new Compressor(t.compress).compress(r);if(n)n.scope=Date.now();if(t.mangle)r.figure_out_scope(t.mangle);if(n)n.mangle=Date.now();if(t.mangle){on.reset();r.compute_char_frequency(t.mangle);r.mangle_names(t.mangle)}if(n)n.properties=Date.now();if(t.mangle&&t.mangle.properties){r=mangle_properties(r,t.mangle.properties)}if(n)n.format=Date.now();var o={};if(t.format.ast){o.ast=r}if(!HOP(t.format,"code")||t.format.code){if(t.sourceMap){if(typeof t.sourceMap.content=="string"){t.sourceMap.content=JSON.parse(t.sourceMap.content)}t.format.source_map=SourceMap({file:t.sourceMap.filename,orig:t.sourceMap.content,root:t.sourceMap.root});if(t.sourceMap.includeSources){if(e instanceof Z){throw new Error("original source content unavailable")}else for(var a in e)if(HOP(e,a)){t.format.source_map.get().setSourceContent(a,e[a])}}}delete t.format.ast;delete t.format.code;var s=OutputStream(t.format);r.print(s);o.code=s.get();if(t.sourceMap){if(t.sourceMap.asObject){o.map=t.format.source_map.get().toJSON()}else{o.map=t.format.source_map.toString()}if(t.sourceMap.url=="inline"){var u=typeof o.map==="object"?JSON.stringify(o.map):o.map;o.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+zn(u)}else if(t.sourceMap.url){o.code+="\n//# sourceMappingURL="+t.sourceMap.url}}}if(t.nameCache&&t.mangle){if(t.mangle.cache)t.nameCache.vars=cache_to_json(t.mangle.cache);if(t.mangle.properties&&t.mangle.properties.cache){t.nameCache.props=cache_to_json(t.mangle.properties.cache)}}if(n){n.end=Date.now();o.timings={parse:.001*(n.rename-n.parse),rename:.001*(n.compress-n.rename),compress:.001*(n.scope-n.compress),scope:.001*(n.mangle-n.scope),mangle:.001*(n.properties-n.mangle),properties:.001*(n.format-n.properties),format:.001*(n.end-n.format),total:.001*(n.end-n.start)}}return o}async function run_cli({program:e,packageJson:t,fs:i,path:r}){const a=new Set(["cname","parent_scope","scope","uses_eval","uses_with"]);var o={};var s={compress:false,mangle:false};const u=await _default_options();e.version(t.name+" "+t.version);e.parseArgv=e.parse;e.parse=undefined;if(process.argv.includes("ast"))e.helpInformation=describe_ast;else if(process.argv.includes("options"))e.helpInformation=function(){var e=[];for(var t in u){e.push("--"+(t==="sourceMap"?"source-map":t)+" options:");e.push(format_object(u[t]));e.push("")}return e.join("\n")};e.option("-p, --parse <options>","Specify parser options.",parse_js());e.option("-c, --compress [options]","Enable compressor/specify compressor options.",parse_js());e.option("-m, --mangle [options]","Mangle names/specify mangler options.",parse_js());e.option("--mangle-props [options]","Mangle properties/specify mangler options.",parse_js());e.option("-f, --format [options]","Format options.",parse_js());e.option("-b, --beautify [options]","Alias for --format beautify=true.",parse_js());e.option("-o, --output <file>","Output file (default STDOUT).");e.option("--comments [filter]","Preserve copyright comments in the output.");e.option("--config-file <file>","Read minify() options from JSON file.");e.option("-d, --define <expr>[=value]","Global definitions.",parse_js("define"));e.option("--ecma <version>","Specify ECMAScript release: 5, 2015, 2016 or 2017...");e.option("-e, --enclose [arg[,...][:value[,...]]]","Embed output in a big function with configurable arguments and values.");e.option("--ie8","Support non-standard Internet Explorer 8.");e.option("--keep-classnames","Do not mangle/drop class names.");e.option("--keep-fnames","Do not mangle/drop function names. Useful for code relying on Function.prototype.name.");e.option("--module","Input is an ES6 module");e.option("--name-cache <file>","File to hold mangled name mappings.");e.option("--rename","Force symbol expansion.");e.option("--no-rename","Disable symbol expansion.");e.option("--safari10","Support non-standard Safari 10.");e.option("--source-map [options]","Enable source map/specify source map options.",parse_js());e.option("--timings","Display operations run time on STDERR.");e.option("--toplevel","Compress and/or mangle variables in toplevel scope.");e.option("--wrap <name>","Embed everything as a function with “exports” corresponding to “name” globally.");e.arguments("[files...]").parseArgv(process.argv);if(e.configFile){s=JSON.parse(read_file(e.configFile))}if(!e.output&&e.sourceMap&&e.sourceMap.url!="inline"){fatal("ERROR: cannot write source map to STDOUT")}["compress","enclose","ie8","mangle","module","safari10","sourceMap","toplevel","wrap"].forEach(function(t){if(t in e){s[t]=e[t]}});if("ecma"in e){if(e.ecma!=(e.ecma|0))fatal("ERROR: ecma must be an integer");const t=e.ecma|0;if(t>5&&t<2015)s.ecma=t+2009;else s.ecma=t}if(e.beautify||e.format){if(e.beautify&&e.format){fatal("Please only specify one of --beautify or --format")}if(e.beautify){s.format=typeof e.beautify=="object"?e.beautify:{};if(!("beautify"in s.format)){s.format.beautify=true}}if(e.format){s.format=typeof e.format=="object"?e.format:{}}}if(e.comments){if(typeof s.format!="object")s.format={};s.format.comments=typeof e.comments=="string"?e.comments=="false"?false:e.comments:"some"}if(e.define){if(typeof s.compress!="object")s.compress={};if(typeof s.compress.global_defs!="object")s.compress.global_defs={};for(var c in e.define){s.compress.global_defs[c]=e.define[c]}}if(e.keepClassnames){s.keep_classnames=true}if(e.keepFnames){s.keep_fnames=true}if(e.mangleProps){if(e.mangleProps.domprops){delete e.mangleProps.domprops}else{if(typeof e.mangleProps!="object")e.mangleProps={};if(!Array.isArray(e.mangleProps.reserved))e.mangleProps.reserved=[]}if(typeof s.mangle!="object")s.mangle={};s.mangle.properties=e.mangleProps}if(e.nameCache){s.nameCache=JSON.parse(read_file(e.nameCache,"{}"))}if(e.output=="ast"){s.format={ast:true,code:false}}if(e.parse){if(!e.parse.acorn&&!e.parse.spidermonkey){s.parse=e.parse}else if(e.sourceMap&&e.sourceMap.content=="inline"){fatal("ERROR: inline source map only works with built-in parser")}}if(~e.rawArgs.indexOf("--rename")){s.rename=true}else if(!e.rename){s.rename=false}let l=e=>e;if(typeof e.sourceMap=="object"&&"base"in e.sourceMap){l=function(){var t=e.sourceMap.base;delete s.sourceMap.base;return function(e){return r.relative(t,e)}}()}let f;if(s.files&&s.files.length){f=s.files;delete s.files}else if(e.args.length){f=e.args}if(f){simple_glob(f).forEach(function(e){o[l(e)]=read_file(e)})}else{await new Promise(e=>{var t=[];process.stdin.setEncoding("utf8");process.stdin.on("data",function(e){t.push(e)}).on("end",function(){o=[t.join("")];e()});process.stdin.resume()})}await run_cli();function convert_ast(e){return R.from_mozilla_ast(Object.keys(o).reduce(e,null))}async function run_cli(){var t=e.sourceMap&&e.sourceMap.content;if(t&&t!=="inline"){s.sourceMap.content=read_file(t,t)}if(e.timings)s.timings=true;try{if(e.parse){if(e.parse.acorn){o=convert_ast(function(t,i){return n(740).parse(o[i],{ecmaVersion:2018,locations:true,program:t,sourceFile:i,sourceType:s.module||e.parse.module?"module":"script"})})}else if(e.parse.spidermonkey){o=convert_ast(function(e,t){var n=JSON.parse(o[t]);if(!e)return n;e.body=e.body.concat(n.body);return e})}}}catch(e){fatal(e)}let r;try{r=await minify(o,s)}catch(e){if(e.name=="SyntaxError"){print_error("Parse error at "+e.filename+":"+e.line+","+e.col);var u=e.col;var c=o[e.filename].split(/\r?\n/);var l=c[e.line-1];if(!l&&!u){l=c[e.line-2];u=l.length}if(l){var f=70;if(u>f){l=l.slice(u-f);u=f}print_error(l.slice(0,80));print_error(l.slice(0,u).replace(/\S/g," ")+"^")}}if(e.defs){print_error("Supported options:");print_error(format_object(e.defs))}fatal(e);return}if(e.output=="ast"){if(!s.compress&&!s.mangle){r.ast.figure_out_scope({})}console.log(JSON.stringify(r.ast,function(e,t){if(t)switch(e){case"thedef":return symdef(t);case"enclosed":return t.length?t.map(symdef):undefined;case"variables":case"functions":case"globals":return t.size?collect_from_map(t,symdef):undefined}if(a.has(e))return;if(t instanceof w)return;if(t instanceof Map)return;if(t instanceof R){var n={_class:"AST_"+t.TYPE};if(t.block_scope){n.variables=t.block_scope.variables;n.functions=t.block_scope.functions;n.enclosed=t.block_scope.enclosed}t.CTOR.PROPS.forEach(function(e){n[e]=t[e]});return n}return t},2))}else if(e.output=="spidermonkey"){try{const e=await minify(r.code,{compress:false,mangle:false,format:{ast:true,code:false}});console.log(JSON.stringify(e.ast.to_mozilla_ast(),null,2))}catch(e){fatal(e);return}}else if(e.output){i.writeFileSync(e.output,r.code);if(s.sourceMap&&s.sourceMap.url!=="inline"&&r.map){i.writeFileSync(e.output+".map",r.map)}}else{console.log(r.code)}if(e.nameCache){i.writeFileSync(e.nameCache,JSON.stringify(s.nameCache))}if(r.timings)for(var p in r.timings){print_error("- "+p+": "+r.timings[p].toFixed(3)+"s")}}function fatal(e){if(e instanceof Error)e=e.stack.replace(/^\S*?Error:/,"ERROR:");print_error(e);process.exit(1)}function simple_glob(e){if(Array.isArray(e)){return[].concat.apply([],e.map(simple_glob))}if(e&&e.match(/[*?]/)){var t=r.dirname(e);try{var n=i.readdirSync(t)}catch(e){}if(n){var a="^"+r.basename(e).replace(/[.+^$[\]\\(){}]/g,"\\$&").replace(/\*/g,"[^/\\\\]*").replace(/\?/g,"[^/\\\\]")+"$";var o=process.platform==="win32"?"i":"";var s=new RegExp(a,o);var u=n.filter(function(e){return s.test(e)}).map(function(e){return r.join(t,e)});if(u.length)return u}}return[e]}function read_file(e,t){try{return i.readFileSync(e,"utf8")}catch(e){if((e.code=="ENOENT"||e.code=="ENAMETOOLONG")&&t!=null)return t;fatal(e)}}function parse_js(e){return function(t,n){n=n||{};try{walk(parse(t,{expression:true}),t=>{if(t instanceof Xe){var i=t.left.print_to_string();var r=t.right;if(e){n[i]=r}else if(r instanceof We){n[i]=r.elements.map(to_string)}else if(r instanceof Rt){r=r.value;n[i]=new RegExp(r.source,r.flags)}else{n[i]=to_string(r)}return true}if(t instanceof rt||t instanceof Ve){var i=t.print_to_string();n[i]=true;return true}if(!(t instanceof Pe))throw t;function to_string(e){return e instanceof xt?e.getValue():e.print_to_string({quote_keys:true})}})}catch(i){if(e){fatal("Error parsing arguments for '"+e+"': "+t)}else{n[t]=null}}return n}}function symdef(e){var t=1e6+e.id+" "+e.name;if(e.mangled_name)t+=" "+e.mangled_name;return t}function collect_from_map(e,t){var n=[];e.forEach(function(e){n.push(t(e))});return n}function format_object(e){var t=[];var n="";Object.keys(e).map(function(t){if(n.length<t.length)n=Array(t.length+1).join(" ");return[t,JSON.stringify(e[t])]}).forEach(function(e){t.push(" "+e[0]+n.slice(e[0].length-2)+e[1])});return t.join("\n")}function print_error(e){process.stderr.write(e);process.stderr.write("\n")}function describe_ast(){var e=OutputStream({beautify:true});function doitem(t){e.print("AST_"+t.TYPE);const n=t.SELF_PROPS.filter(e=>!/^\$/.test(e));if(n.length>0){e.space();e.with_parens(function(){n.forEach(function(t,n){if(n)e.space();e.print(t)})})}if(t.documentation){e.space();e.print_string(t.documentation)}if(t.SUBCLASSES.length>0){e.space();e.with_block(function(){t.SUBCLASSES.forEach(function(t){e.indent();doitem(t);e.newline()})})}}doitem(R);return e+"\n"}}async function _default_options(){const e={};Object.keys(infer_options({0:0})).forEach(t=>{const n=infer_options({[t]:{0:0}});if(n)e[t]=n});return e}async function infer_options(e){try{await minify("",e)}catch(e){return e.defs}}e._default_options=_default_options;e._run_cli=run_cli;e.minify=minify})},740:function(e,t){(function(e,n){true?n(t):undefined})(this,function(e){"use strict";var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var n="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var i={5:n,"5module":n+" export import",6:n+" const class extends export import super"};var r=/^in(stanceof)?$/;var a="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿯ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-Ᶎꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭧꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA--zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var o="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍--_";var s=new RegExp("["+a+"]");var u=new RegExp("["+a+o+"]");a=o=null;var c=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,477,28,11,0,9,21,155,22,13,52,76,44,33,24,27,35,30,0,12,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,0,33,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,0,161,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,270,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,754,9486,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,15,7472,3104,541];var l=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,525,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,4,9,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,232,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,792487,239];function isInAstralSet(e,t){var n=65536;for(var i=0;i<t.length;i+=2){n+=t[i];if(n>e){return false}n+=t[i+1];if(n>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&s.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,c)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&u.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,c)||isInAstralSet(e,l)}var f=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new f(e,{beforeExpr:true,binop:t})}var p={beforeExpr:true},_={startsExpr:true};var h={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return h[e]=new f(e,t)}var d={num:new f("num",_),regexp:new f("regexp",_),string:new f("string",_),name:new f("name",_),eof:new f("eof"),bracketL:new f("[",{beforeExpr:true,startsExpr:true}),bracketR:new f("]"),braceL:new f("{",{beforeExpr:true,startsExpr:true}),braceR:new f("}"),parenL:new f("(",{beforeExpr:true,startsExpr:true}),parenR:new f(")"),comma:new f(",",p),semi:new f(";",p),colon:new f(":",p),dot:new f("."),question:new f("?",p),arrow:new f("=>",p),template:new f("template"),invalidTemplate:new f("invalidTemplate"),ellipsis:new f("...",p),backQuote:new f("`",_),dollarBraceL:new f("${",{beforeExpr:true,startsExpr:true}),eq:new f("=",{beforeExpr:true,isAssign:true}),assign:new f("_=",{beforeExpr:true,isAssign:true}),incDec:new f("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new f("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new f("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new f("**",{beforeExpr:true}),_break:kw("break"),_case:kw("case",p),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",p),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",p),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",_),_if:kw("if"),_return:kw("return",p),_switch:kw("switch"),_throw:kw("throw",p),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",_),_super:kw("super",_),_class:kw("class",_),_extends:kw("extends",p),_export:kw("export"),_import:kw("import",_),_null:kw("null",_),_true:kw("true",_),_false:kw("false",_),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var m=/\r\n?|\n|\u2028|\u2029/;var E=new RegExp(m.source,"g");function isNewLine(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var g=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var v=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var D=Object.prototype;var b=D.hasOwnProperty;var y=D.toString;function has(e,t){return b.call(e,t)}var k=Array.isArray||function(e){return y.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var S=function Position(e,t){this.line=e;this.column=t};S.prototype.offset=function offset(e){return new S(this.line,this.column+e)};var A=function SourceLocation(e,t,n){this.start=t;this.end=n;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var n=1,i=0;;){E.lastIndex=i;var r=E.exec(e);if(r&&r.index<t){++n;i=r.index+r[0].length}else{return new S(n,t-i)}}}var T={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:false,allowImportExportEverywhere:false,allowAwaitOutsideFunction:false,allowHashBang:false,locations:false,onToken:null,onComment:null,ranges:false,program:null,sourceFile:null,directSourceFile:null,preserveParens:false};function getOptions(e){var t={};for(var n in T){t[n]=e&&has(e,n)?e[n]:T[n]}if(t.ecmaVersion>=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(k(t.onToken)){var i=t.onToken;t.onToken=function(e){return i.push(e)}}if(k(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(n,i,r,a,o,s){var u={type:n?"Block":"Line",value:i,start:r,end:a};if(e.locations){u.loc=new A(this,o,s)}if(e.ranges){u.range=[r,a]}t.push(u)}}var C=1,x=2,O=C|x,F=4,w=8,R=16,M=32,N=64,I=128;function functionFlags(e,t){return x|(e?F:0)|(t?w:0)}var P=0,V=1,L=2,B=3,U=4,K=5;var z=function Parser(e,n,r){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(i[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var a="";if(e.allowReserved!==true){for(var o=e.ecmaVersion;;o--){if(a=t[o]){break}}if(e.sourceType==="module"){a+=" await"}}this.reservedWords=wordsRegexp(a);var s=(a?a+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(s);this.reservedWordsStrictBind=wordsRegexp(s+" "+t.strictBind);this.input=String(n);this.containsEsc=false;if(r){this.pos=r;this.lineStart=this.input.lastIndexOf("\n",r-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(m).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=d.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(C);this.regexpState=null};var G={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};z.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};G.inFunction.get=function(){return(this.currentVarScope().flags&x)>0};G.inGenerator.get=function(){return(this.currentVarScope().flags&w)>0};G.inAsync.get=function(){return(this.currentVarScope().flags&F)>0};G.allowSuper.get=function(){return(this.currentThisScope().flags&N)>0};G.allowDirectSuper.get=function(){return(this.currentThisScope().flags&I)>0};G.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};z.prototype.inNonArrowFunction=function inNonArrowFunction(){return(this.currentThisScope().flags&x)>0};z.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var n=this;for(var i=0;i<e.length;i++){n=e[i](n)}return n};z.parse=function parse(e,t){return new this(t,e).parse()};z.parseExpressionAt=function parseExpressionAt(e,t,n){var i=new this(n,e,t);i.nextToken();return i.parseExpression()};z.tokenizer=function tokenizer(e,t){return new this(t,e)};Object.defineProperties(z.prototype,G);var H=z.prototype;var X=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)")/;H.strictDirective=function(e){for(;;){v.lastIndex=e;e+=v.exec(this.input)[0].length;var t=X.exec(this.input.slice(e));if(!t){return false}if((t[1]||t[2])==="use strict"){return true}e+=t[0].length;v.lastIndex=e;e+=v.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};H.eat=function(e){if(this.type===e){this.next();return true}else{return false}};H.isContextual=function(e){return this.type===d.name&&this.value===e&&!this.containsEsc};H.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};H.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};H.canInsertSemicolon=function(){return this.type===d.eof||this.type===d.braceR||m.test(this.input.slice(this.lastTokEnd,this.start))};H.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};H.semicolon=function(){if(!this.eat(d.semi)&&!this.insertSemicolon()){this.unexpected()}};H.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};H.expect=function(e){this.eat(e)||this.unexpected()};H.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}H.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var n=t?e.parenthesizedAssign:e.parenthesizedBind;if(n>-1){this.raiseRecoverable(n,"Parenthesized pattern")}};H.checkExpressionErrors=function(e,t){if(!e){return false}var n=e.shorthandAssign;var i=e.doubleProto;if(!t){return n>=0||i>=0}if(n>=0){this.raise(n,"Shorthand property assignments are valid only in destructuring patterns")}if(i>=0){this.raiseRecoverable(i,"Redefinition of __proto__ property")}};H.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)){this.raise(this.yieldPos,"Yield expression cannot be a default value")}if(this.awaitPos){this.raise(this.awaitPos,"Await expression cannot be a default value")}};H.isSimpleAssignTarget=function(e){if(e.type==="ParenthesizedExpression"){return this.isSimpleAssignTarget(e.expression)}return e.type==="Identifier"||e.type==="MemberExpression"};var q=z.prototype;q.parseTopLevel=function(e){var t={};if(!e.body){e.body=[]}while(this.type!==d.eof){var n=this.parseStatement(null,true,t);e.body.push(n)}if(this.inModule){for(var i=0,r=Object.keys(this.undefinedExports);i<r.length;i+=1){var a=r[i];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}}this.adaptDirectivePrologue(e.body);this.next();e.sourceType=this.options.sourceType;return this.finishNode(e,"Program")};var W={kind:"loop"},Y={kind:"switch"};q.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let")){return false}v.lastIndex=this.pos;var t=v.exec(this.input);var n=this.pos+t[0].length,i=this.input.charCodeAt(n);if(i===91){return true}if(e){return false}if(i===123){return true}if(isIdentifierStart(i,true)){var a=n+1;while(isIdentifierChar(this.input.charCodeAt(a),true)){++a}var o=this.input.slice(n,a);if(!r.test(o)){return true}}return false};q.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}v.lastIndex=this.pos;var e=v.exec(this.input);var t=this.pos+e[0].length;return!m.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!isIdentifierChar(this.input.charAt(t+8)))};q.parseStatement=function(e,t,n){var i=this.type,r=this.startNode(),a;if(this.isLet(e)){i=d._var;a="let"}switch(i){case d._break:case d._continue:return this.parseBreakContinueStatement(r,i.keyword);case d._debugger:return this.parseDebuggerStatement(r);case d._do:return this.parseDoStatement(r);case d._for:return this.parseForStatement(r);case d._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(r,false,!e);case d._class:if(e){this.unexpected()}return this.parseClass(r,true);case d._if:return this.parseIfStatement(r);case d._return:return this.parseReturnStatement(r);case d._switch:return this.parseSwitchStatement(r);case d._throw:return this.parseThrowStatement(r);case d._try:return this.parseTryStatement(r);case d._const:case d._var:a=a||this.value;if(e&&a!=="var"){this.unexpected()}return this.parseVarStatement(r,a);case d._while:return this.parseWhileStatement(r);case d._with:return this.parseWithStatement(r);case d.braceL:return this.parseBlock(true,r);case d.semi:return this.parseEmptyStatement(r);case d._export:case d._import:if(this.options.ecmaVersion>10&&i===d._import){v.lastIndex=this.pos;var o=v.exec(this.input);var s=this.pos+o[0].length,u=this.input.charCodeAt(s);if(u===40){return this.parseExpressionStatement(r,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return i===d._import?this.parseImport(r):this.parseExport(r,n);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(r,true,!e)}var c=this.value,l=this.parseExpression();if(i===d.name&&l.type==="Identifier"&&this.eat(d.colon)){return this.parseLabeledStatement(r,c,l,e)}else{return this.parseExpressionStatement(r,l)}}};q.parseBreakContinueStatement=function(e,t){var n=t==="break";this.next();if(this.eat(d.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==d.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var i=0;for(;i<this.labels.length;++i){var r=this.labels[i];if(e.label==null||r.name===e.label.name){if(r.kind!=null&&(n||r.kind==="loop")){break}if(e.label&&n){break}}}if(i===this.labels.length){this.raise(e.start,"Unsyntactic "+t)}return this.finishNode(e,n?"BreakStatement":"ContinueStatement")};q.parseDebuggerStatement=function(e){this.next();this.semicolon();return this.finishNode(e,"DebuggerStatement")};q.parseDoStatement=function(e){this.next();this.labels.push(W);e.body=this.parseStatement("do");this.labels.pop();this.expect(d._while);e.test=this.parseParenExpression();if(this.options.ecmaVersion>=6){this.eat(d.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};q.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(W);this.enterScope(0);this.expect(d.parenL);if(this.type===d.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var n=this.isLet();if(this.type===d._var||this.type===d._const||n){var i=this.startNode(),r=n?"let":this.value;this.next();this.parseVar(i,true,r);this.finishNode(i,"VariableDeclaration");if((this.type===d._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===d._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,i)}if(t>-1){this.unexpected(t)}return this.parseFor(e,i)}var a=new DestructuringErrors;var o=this.parseExpression(true,a);if(this.type===d._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===d._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}this.toAssignable(o,false,a);this.checkLVal(o);return this.parseForIn(e,o)}else{this.checkExpressionErrors(a,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,o)};q.parseFunctionStatement=function(e,t,n){this.next();return this.parseFunction(e,j|(n?0:Z),false,t)};q.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(d._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};q.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(d.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};q.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(d.braceL);this.labels.push(Y);this.enterScope(0);var t;for(var n=false;this.type!==d.braceR;){if(this.type===d._case||this.type===d._default){var i=this.type===d._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(i){t.test=this.parseExpression()}else{if(n){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}n=true;t.test=null}this.expect(d.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};q.parseThrowStatement=function(e){this.next();if(m.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var $=[];q.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===d._catch){var t=this.startNode();this.next();if(this.eat(d.parenL)){t.param=this.parseBindingAtom();var n=t.param.type==="Identifier";this.enterScope(n?M:0);this.checkLVal(t.param,n?U:L);this.expect(d.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(d._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};q.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};q.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(W);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};q.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};q.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};q.parseLabeledStatement=function(e,t,n,i){for(var r=0,a=this.labels;r<a.length;r+=1){var o=a[r];if(o.name===t){this.raise(n.start,"Label '"+t+"' is already declared")}}var s=this.type.isLoop?"loop":this.type===d._switch?"switch":null;for(var u=this.labels.length-1;u>=0;u--){var c=this.labels[u];if(c.statementStart===e.start){c.statementStart=this.start;c.kind=s}else{break}}this.labels.push({name:t,kind:s,statementStart:this.start});e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label");this.labels.pop();e.label=n;return this.finishNode(e,"LabeledStatement")};q.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};q.parseBlock=function(e,t){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(d.braceL);if(e){this.enterScope(0)}while(!this.eat(d.braceR)){var n=this.parseStatement(null);t.body.push(n)}if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};q.parseFor=function(e,t){e.init=t;this.expect(d.semi);e.test=this.type===d.semi?null:this.parseExpression();this.expect(d.semi);e.update=this.type===d.parenR?null:this.parseExpression();this.expect(d.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};q.parseForIn=function(e,t){var n=this.type===d._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(t.type==="AssignmentPattern"){this.raise(t.start,"Invalid left-hand side in for-loop")}e.left=t;e.right=n?this.parseExpression():this.parseMaybeAssign();this.expect(d.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,n?"ForInStatement":"ForOfStatement")};q.parseVar=function(e,t,n){e.declarations=[];e.kind=n;for(;;){var i=this.startNode();this.parseVarId(i,n);if(this.eat(d.eq)){i.init=this.parseMaybeAssign(t)}else if(n==="const"&&!(this.type===d._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(i.id.type!=="Identifier"&&!(t&&(this.type===d._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{i.init=null}e.declarations.push(this.finishNode(i,"VariableDeclarator"));if(!this.eat(d.comma)){break}}return e};q.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLVal(e.id,t==="var"?V:L,false)};var j=1,Z=2,Q=4;q.parseFunction=function(e,t,n,i){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i){if(this.type===d.star&&t&Z){this.unexpected()}e.generator=this.eat(d.star)}if(this.options.ecmaVersion>=8){e.async=!!i}if(t&j){e.id=t&Q&&this.type!==d.name?null:this.parseIdent();if(e.id&&!(t&Z)){this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?V:L:B)}}var r=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&j)){e.id=this.type===d.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,n,false);this.yieldPos=r;this.awaitPos=a;this.awaitIdentPos=o;return this.finishNode(e,t&j?"FunctionDeclaration":"FunctionExpression")};q.parseFunctionParams=function(e){this.expect(d.parenL);e.params=this.parseBindingList(d.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};q.parseClass=function(e,t){this.next();var n=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var i=this.startNode();var r=false;i.body=[];this.expect(d.braceL);while(!this.eat(d.braceR)){var a=this.parseClassElement(e.superClass!==null);if(a){i.body.push(a);if(a.type==="MethodDefinition"&&a.kind==="constructor"){if(r){this.raise(a.start,"Duplicate constructor in the same class")}r=true}}}e.body=this.finishNode(i,"ClassBody");this.strict=n;return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};q.parseClassElement=function(e){var t=this;if(this.eat(d.semi)){return null}var n=this.startNode();var i=function(e,i){if(i===void 0)i=false;var r=t.start,a=t.startLoc;if(!t.eatContextual(e)){return false}if(t.type!==d.parenL&&(!i||!t.canInsertSemicolon())){return true}if(n.key){t.unexpected()}n.computed=false;n.key=t.startNodeAt(r,a);n.key.name=e;t.finishNode(n.key,"Identifier");return false};n.kind="method";n.static=i("static");var r=this.eat(d.star);var a=false;if(!r){if(this.options.ecmaVersion>=8&&i("async",true)){a=true;r=this.options.ecmaVersion>=9&&this.eat(d.star)}else if(i("get")){n.kind="get"}else if(i("set")){n.kind="set"}}if(!n.key){this.parsePropertyName(n)}var o=n.key;var s=false;if(!n.computed&&!n.static&&(o.type==="Identifier"&&o.name==="constructor"||o.type==="Literal"&&o.value==="constructor")){if(n.kind!=="method"){this.raise(o.start,"Constructor can't have get/set modifier")}if(r){this.raise(o.start,"Constructor can't be a generator")}if(a){this.raise(o.start,"Constructor can't be an async method")}n.kind="constructor";s=e}else if(n.static&&o.type==="Identifier"&&o.name==="prototype"){this.raise(o.start,"Classes may not have a static property named prototype")}this.parseClassMethod(n,r,a,s);if(n.kind==="get"&&n.value.params.length!==0){this.raiseRecoverable(n.value.start,"getter should have no params")}if(n.kind==="set"&&n.value.params.length!==1){this.raiseRecoverable(n.value.start,"setter should have exactly one param")}if(n.kind==="set"&&n.value.params[0].type==="RestElement"){this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params")}return n};q.parseClassMethod=function(e,t,n,i){e.value=this.parseMethod(t,n,i);return this.finishNode(e,"MethodDefinition")};q.parseClassId=function(e,t){if(this.type===d.name){e.id=this.parseIdent();if(t){this.checkLVal(e.id,L,false)}}else{if(t===true){this.unexpected()}e.id=null}};q.parseClassSuper=function(e){e.superClass=this.eat(d._extends)?this.parseExprSubscripts():null};q.parseExport=function(e,t){this.next();if(this.eat(d.star)){this.expectContextual("from");if(this.type!==d.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(d._default)){this.checkExport(t,"default",this.lastTokStart);var n;if(this.type===d._function||(n=this.isAsyncFunction())){var i=this.startNode();this.next();if(n){this.next()}e.declaration=this.parseFunction(i,j|Q,false,n)}else if(this.type===d._class){var r=this.startNode();e.declaration=this.parseClass(r,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==d.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var a=0,o=e.specifiers;a<o.length;a+=1){var s=o[a];this.checkUnreserved(s.local);this.checkLocalExport(s.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};q.checkExport=function(e,t,n){if(!e){return}if(has(e,t)){this.raiseRecoverable(n,"Duplicate export '"+t+"'")}e[t]=true};q.checkPatternExport=function(e,t){var n=t.type;if(n==="Identifier"){this.checkExport(e,t.name,t.start)}else if(n==="ObjectPattern"){for(var i=0,r=t.properties;i<r.length;i+=1){var a=r[i];this.checkPatternExport(e,a)}}else if(n==="ArrayPattern"){for(var o=0,s=t.elements;o<s.length;o+=1){var u=s[o];if(u){this.checkPatternExport(e,u)}}}else if(n==="Property"){this.checkPatternExport(e,t.value)}else if(n==="AssignmentPattern"){this.checkPatternExport(e,t.left)}else if(n==="RestElement"){this.checkPatternExport(e,t.argument)}else if(n==="ParenthesizedExpression"){this.checkPatternExport(e,t.expression)}};q.checkVariableExport=function(e,t){if(!e){return}for(var n=0,i=t;n<i.length;n+=1){var r=i[n];this.checkPatternExport(e,r.id)}};q.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};q.parseExportSpecifiers=function(e){var t=[],n=true;this.expect(d.braceL);while(!this.eat(d.braceR)){if(!n){this.expect(d.comma);if(this.afterTrailingComma(d.braceR)){break}}else{n=false}var i=this.startNode();i.local=this.parseIdent(true);i.exported=this.eatContextual("as")?this.parseIdent(true):i.local;this.checkExport(e,i.exported.name,i.exported.start);t.push(this.finishNode(i,"ExportSpecifier"))}return t};q.parseImport=function(e){this.next();if(this.type===d.string){e.specifiers=$;e.source=this.parseExprAtom()}else{e.specifiers=this.parseImportSpecifiers();this.expectContextual("from");e.source=this.type===d.string?this.parseExprAtom():this.unexpected()}this.semicolon();return this.finishNode(e,"ImportDeclaration")};q.parseImportSpecifiers=function(){var e=[],t=true;if(this.type===d.name){var n=this.startNode();n.local=this.parseIdent();this.checkLVal(n.local,L);e.push(this.finishNode(n,"ImportDefaultSpecifier"));if(!this.eat(d.comma)){return e}}if(this.type===d.star){var i=this.startNode();this.next();this.expectContextual("as");i.local=this.parseIdent();this.checkLVal(i.local,L);e.push(this.finishNode(i,"ImportNamespaceSpecifier"));return e}this.expect(d.braceL);while(!this.eat(d.braceR)){if(!t){this.expect(d.comma);if(this.afterTrailingComma(d.braceR)){break}}else{t=false}var r=this.startNode();r.imported=this.parseIdent(true);if(this.eatContextual("as")){r.local=this.parseIdent()}else{this.checkUnreserved(r.imported);r.local=r.imported}this.checkLVal(r.local,L);e.push(this.finishNode(r,"ImportSpecifier"))}return e};q.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t){e[t].directive=e[t].expression.raw.slice(1,-1)}};q.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var J=z.prototype;J.toAssignable=function(e,t,n){if(this.options.ecmaVersion>=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(n){this.checkPatternErrors(n,true)}for(var i=0,r=e.properties;i<r.length;i+=1){var a=r[i];this.toAssignable(a,t);if(a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")){this.raise(a.argument.start,"Unexpected token")}}break;case"Property":if(e.kind!=="init"){this.raise(e.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern";if(n){this.checkPatternErrors(n,true)}this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement";this.toAssignable(e.argument,t);if(e.argument.type==="AssignmentPattern"){this.raise(e.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(e.operator!=="="){this.raise(e.left.end,"Only '=' operator can be used for specifying default value.")}e.type="AssignmentPattern";delete e.operator;this.toAssignable(e.left,t);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,n);break;case"MemberExpression":if(!t){break}default:this.raise(e.start,"Assigning to rvalue")}}else if(n){this.checkPatternErrors(n,true)}return e};J.toAssignableList=function(e,t){var n=e.length;for(var i=0;i<n;i++){var r=e[i];if(r){this.toAssignable(r,t)}}if(n){var a=e[n-1];if(this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"){this.unexpected(a.argument.start)}}return e};J.parseSpread=function(e){var t=this.startNode();this.next();t.argument=this.parseMaybeAssign(false,e);return this.finishNode(t,"SpreadElement")};J.parseRestBinding=function(){var e=this.startNode();this.next();if(this.options.ecmaVersion===6&&this.type!==d.name){this.unexpected()}e.argument=this.parseBindingAtom();return this.finishNode(e,"RestElement")};J.parseBindingAtom=function(){if(this.options.ecmaVersion>=6){switch(this.type){case d.bracketL:var e=this.startNode();this.next();e.elements=this.parseBindingList(d.bracketR,true,true);return this.finishNode(e,"ArrayPattern");case d.braceL:return this.parseObj(true)}}return this.parseIdent()};J.parseBindingList=function(e,t,n){var i=[],r=true;while(!this.eat(e)){if(r){r=false}else{this.expect(d.comma)}if(t&&this.type===d.comma){i.push(null)}else if(n&&this.afterTrailingComma(e)){break}else if(this.type===d.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a);i.push(a);if(this.type===d.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(e);break}else{var o=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(o);i.push(o)}}return i};J.parseBindingListItem=function(e){return e};J.parseMaybeDefault=function(e,t,n){n=n||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(d.eq)){return n}var i=this.startNodeAt(e,t);i.left=n;i.right=this.parseMaybeAssign();return this.finishNode(i,"AssignmentPattern")};J.checkLVal=function(e,t,n){if(t===void 0)t=P;switch(e.type){case"Identifier":if(t===L&&e.name==="let"){this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name")}if(this.strict&&this.reservedWordsStrictBind.test(e.name)){this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode")}if(n){if(has(n,e.name)){this.raiseRecoverable(e.start,"Argument name clash")}n[e.name]=true}if(t!==P&&t!==K){this.declareName(e.name,t,e.start)}break;case"MemberExpression":if(t){this.raiseRecoverable(e.start,"Binding member expression")}break;case"ObjectPattern":for(var i=0,r=e.properties;i<r.length;i+=1){var a=r[i];this.checkLVal(a,t,n)}break;case"Property":this.checkLVal(e.value,t,n);break;case"ArrayPattern":for(var o=0,s=e.elements;o<s.length;o+=1){var u=s[o];if(u){this.checkLVal(u,t,n)}}break;case"AssignmentPattern":this.checkLVal(e.left,t,n);break;case"RestElement":this.checkLVal(e.argument,t,n);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,n);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}};var ee=z.prototype;ee.checkPropClash=function(e,t,n){if(this.options.ecmaVersion>=9&&e.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand)){return}var i=e.key;var r;switch(i.type){case"Identifier":r=i.name;break;case"Literal":r=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){if(r==="__proto__"&&a==="init"){if(t.proto){if(n){if(n.doubleProto<0){n.doubleProto=i.start}}else{this.raiseRecoverable(i.start,"Redefinition of __proto__ property")}}t.proto=true}return}r="$"+r;var o=t[r];if(o){var s;if(a==="init"){s=this.strict&&o.init||o.get||o.set}else{s=o.init||o[a]}if(s){this.raiseRecoverable(i.start,"Redefinition of property")}}else{o=t[r]={init:false,get:false,set:false}}o[a]=true};ee.parseExpression=function(e,t){var n=this.start,i=this.startLoc;var r=this.parseMaybeAssign(e,t);if(this.type===d.comma){var a=this.startNodeAt(n,i);a.expressions=[r];while(this.eat(d.comma)){a.expressions.push(this.parseMaybeAssign(e,t))}return this.finishNode(a,"SequenceExpression")}return r};ee.parseMaybeAssign=function(e,t,n){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(e)}else{this.exprAllowed=false}}var i=false,r=-1,a=-1;if(t){r=t.parenthesizedAssign;a=t.trailingComma;t.parenthesizedAssign=t.trailingComma=-1}else{t=new DestructuringErrors;i=true}var o=this.start,s=this.startLoc;if(this.type===d.parenL||this.type===d.name){this.potentialArrowAt=this.start}var u=this.parseMaybeConditional(e,t);if(n){u=n.call(this,u,o,s)}if(this.type.isAssign){var c=this.startNodeAt(o,s);c.operator=this.value;c.left=this.type===d.eq?this.toAssignable(u,false,t):u;if(!i){t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1}if(t.shorthandAssign>=c.left.start){t.shorthandAssign=-1}this.checkLVal(u);this.next();c.right=this.parseMaybeAssign(e);return this.finishNode(c,"AssignmentExpression")}else{if(i){this.checkExpressionErrors(t,true)}}if(r>-1){t.parenthesizedAssign=r}if(a>-1){t.trailingComma=a}return u};ee.parseMaybeConditional=function(e,t){var n=this.start,i=this.startLoc;var r=this.parseExprOps(e,t);if(this.checkExpressionErrors(t)){return r}if(this.eat(d.question)){var a=this.startNodeAt(n,i);a.test=r;a.consequent=this.parseMaybeAssign();this.expect(d.colon);a.alternate=this.parseMaybeAssign(e);return this.finishNode(a,"ConditionalExpression")}return r};ee.parseExprOps=function(e,t){var n=this.start,i=this.startLoc;var r=this.parseMaybeUnary(t,false);if(this.checkExpressionErrors(t)){return r}return r.start===n&&r.type==="ArrowFunctionExpression"?r:this.parseExprOp(r,n,i,-1,e)};ee.parseExprOp=function(e,t,n,i,r){var a=this.type.binop;if(a!=null&&(!r||this.type!==d._in)){if(a>i){var o=this.type===d.logicalOR||this.type===d.logicalAND;var s=this.value;this.next();var u=this.start,c=this.startLoc;var l=this.parseExprOp(this.parseMaybeUnary(null,false),u,c,a,r);var f=this.buildBinary(t,n,e,l,s,o);return this.parseExprOp(f,t,n,i,r)}}return e};ee.buildBinary=function(e,t,n,i,r,a){var o=this.startNodeAt(e,t);o.left=n;o.operator=r;o.right=i;return this.finishNode(o,a?"LogicalExpression":"BinaryExpression")};ee.parseMaybeUnary=function(e,t){var n=this.start,i=this.startLoc,r;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)){r=this.parseAwait();t=true}else if(this.type.prefix){var a=this.startNode(),o=this.type===d.incDec;a.operator=this.value;a.prefix=true;this.next();a.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(e,true);if(o){this.checkLVal(a.argument)}else if(this.strict&&a.operator==="delete"&&a.argument.type==="Identifier"){this.raiseRecoverable(a.start,"Deleting local variable in strict mode")}else{t=true}r=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{r=this.parseExprSubscripts(e);if(this.checkExpressionErrors(e)){return r}while(this.type.postfix&&!this.canInsertSemicolon()){var s=this.startNodeAt(n,i);s.operator=this.value;s.prefix=false;s.argument=r;this.checkLVal(r);this.next();r=this.finishNode(s,"UpdateExpression")}}if(!t&&this.eat(d.starstar)){return this.buildBinary(n,i,r,this.parseMaybeUnary(null,false),"**",false)}else{return r}};ee.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc;var i=this.parseExprAtom(e);if(i.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return i}var r=this.parseSubscripts(i,t,n);if(e&&r.type==="MemberExpression"){if(e.parenthesizedAssign>=r.start){e.parenthesizedAssign=-1}if(e.parenthesizedBind>=r.start){e.parenthesizedBind=-1}}return r};ee.parseSubscripts=function(e,t,n,i){var r=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&this.input.slice(e.start,e.end)==="async";while(true){var a=this.parseSubscript(e,t,n,i,r);if(a===e||a.type==="ArrowFunctionExpression"){return a}e=a}};ee.parseSubscript=function(e,t,n,i,r){var a=this.eat(d.bracketL);if(a||this.eat(d.dot)){var o=this.startNodeAt(t,n);o.object=e;o.property=a?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never");o.computed=!!a;if(a){this.expect(d.bracketR)}e=this.finishNode(o,"MemberExpression")}else if(!i&&this.eat(d.parenL)){var s=new DestructuringErrors,u=this.yieldPos,c=this.awaitPos,l=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var f=this.parseExprList(d.parenR,this.options.ecmaVersion>=8,false,s);if(r&&!this.canInsertSemicolon()&&this.eat(d.arrow)){this.checkPatternErrors(s,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=u;this.awaitPos=c;this.awaitIdentPos=l;return this.parseArrowExpression(this.startNodeAt(t,n),f,true)}this.checkExpressionErrors(s,true);this.yieldPos=u||this.yieldPos;this.awaitPos=c||this.awaitPos;this.awaitIdentPos=l||this.awaitIdentPos;var p=this.startNodeAt(t,n);p.callee=e;p.arguments=f;e=this.finishNode(p,"CallExpression")}else if(this.type===d.backQuote){var _=this.startNodeAt(t,n);_.tag=e;_.quasi=this.parseTemplate({isTagged:true});e=this.finishNode(_,"TaggedTemplateExpression")}return e};ee.parseExprAtom=function(e){if(this.type===d.slash){this.readRegexp()}var t,n=this.potentialArrowAt===this.start;switch(this.type){case d._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}t=this.startNode();this.next();if(this.type===d.parenL&&!this.allowDirectSuper){this.raise(t.start,"super() call outside constructor of a subclass")}if(this.type!==d.dot&&this.type!==d.bracketL&&this.type!==d.parenL){this.unexpected()}return this.finishNode(t,"Super");case d._this:t=this.startNode();this.next();return this.finishNode(t,"ThisExpression");case d.name:var i=this.start,r=this.startLoc,a=this.containsEsc;var o=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!a&&o.name==="async"&&!this.canInsertSemicolon()&&this.eat(d._function)){return this.parseFunction(this.startNodeAt(i,r),0,false,true)}if(n&&!this.canInsertSemicolon()){if(this.eat(d.arrow)){return this.parseArrowExpression(this.startNodeAt(i,r),[o],false)}if(this.options.ecmaVersion>=8&&o.name==="async"&&this.type===d.name&&!a){o=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(d.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(i,r),[o],true)}}return o;case d.regexp:var s=this.value;t=this.parseLiteral(s.value);t.regex={pattern:s.pattern,flags:s.flags};return t;case d.num:case d.string:return this.parseLiteral(this.value);case d._null:case d._true:case d._false:t=this.startNode();t.value=this.type===d._null?null:this.type===d._true;t.raw=this.type.keyword;this.next();return this.finishNode(t,"Literal");case d.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(n);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)){e.parenthesizedAssign=u}if(e.parenthesizedBind<0){e.parenthesizedBind=u}}return c;case d.bracketL:t=this.startNode();this.next();t.elements=this.parseExprList(d.bracketR,true,true,e);return this.finishNode(t,"ArrayExpression");case d.braceL:return this.parseObj(false,e);case d._function:t=this.startNode();this.next();return this.parseFunction(t,0);case d._class:return this.parseClass(this.startNode(),false);case d._new:return this.parseNew();case d.backQuote:return this.parseTemplate();case d._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};ee.parseExprImport=function(){var e=this.startNode();this.next();switch(this.type){case d.parenL:return this.parseDynamicImport(e);default:this.unexpected()}};ee.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(d.parenR)){var t=this.start;if(this.eat(d.comma)&&this.eat(d.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};ee.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1)}this.next();return this.finishNode(t,"Literal")};ee.parseParenExpression=function(){this.expect(d.parenL);var e=this.parseExpression();this.expect(d.parenR);return e};ee.parseParenAndDistinguishExpression=function(e){var t=this.start,n=this.startLoc,i,r=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,o=this.startLoc;var s=[],u=true,c=false;var l=new DestructuringErrors,f=this.yieldPos,p=this.awaitPos,_;this.yieldPos=0;this.awaitPos=0;while(this.type!==d.parenR){u?u=false:this.expect(d.comma);if(r&&this.afterTrailingComma(d.parenR,true)){c=true;break}else if(this.type===d.ellipsis){_=this.start;s.push(this.parseParenItem(this.parseRestBinding()));if(this.type===d.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{s.push(this.parseMaybeAssign(false,l,this.parseParenItem))}}var h=this.start,m=this.startLoc;this.expect(d.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(d.arrow)){this.checkPatternErrors(l,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=f;this.awaitPos=p;return this.parseParenArrowList(t,n,s)}if(!s.length||c){this.unexpected(this.lastTokStart)}if(_){this.unexpected(_)}this.checkExpressionErrors(l,true);this.yieldPos=f||this.yieldPos;this.awaitPos=p||this.awaitPos;if(s.length>1){i=this.startNodeAt(a,o);i.expressions=s;this.finishNodeAt(i,"SequenceExpression",h,m)}else{i=s[0]}}else{i=this.parseParenExpression()}if(this.options.preserveParens){var E=this.startNodeAt(t,n);E.expression=i;return this.finishNode(E,"ParenthesizedExpression")}else{return i}};ee.parseParenItem=function(e){return e};ee.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)};var te=[];ee.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(d.dot)){e.meta=t;var n=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"||n){this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target")}if(!this.inNonArrowFunction()){this.raiseRecoverable(e.start,"new.target can only be used in functions")}return this.finishNode(e,"MetaProperty")}var i=this.start,r=this.startLoc,a=this.type===d._import;e.callee=this.parseSubscripts(this.parseExprAtom(),i,r,true);if(a&&e.callee.type==="ImportExpression"){this.raise(i,"Cannot use new with import()")}if(this.eat(d.parenL)){e.arguments=this.parseExprList(d.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=te}return this.finishNode(e,"NewExpression")};ee.parseTemplateElement=function(e){var t=e.isTagged;var n=this.startNode();if(this.type===d.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}n.value={raw:this.value,cooked:null}}else{n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();n.tail=this.type===d.backQuote;return this.finishNode(n,"TemplateElement")};ee.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var n=this.startNode();this.next();n.expressions=[];var i=this.parseTemplateElement({isTagged:t});n.quasis=[i];while(!i.tail){if(this.type===d.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(d.dollarBraceL);n.expressions.push(this.parseExpression());this.expect(d.braceR);n.quasis.push(i=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(n,"TemplateLiteral")};ee.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===d.name||this.type===d.num||this.type===d.string||this.type===d.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===d.star)&&!m.test(this.input.slice(this.lastTokEnd,this.start))};ee.parseObj=function(e,t){var n=this.startNode(),i=true,r={};n.properties=[];this.next();while(!this.eat(d.braceR)){if(!i){this.expect(d.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(d.braceR)){break}}else{i=false}var a=this.parseProperty(e,t);if(!e){this.checkPropClash(a,r,t)}n.properties.push(a)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")};ee.parseProperty=function(e,t){var n=this.startNode(),i,r,a,o;if(this.options.ecmaVersion>=9&&this.eat(d.ellipsis)){if(e){n.argument=this.parseIdent(false);if(this.type===d.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(n,"RestElement")}if(this.type===d.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}n.argument=this.parseMaybeAssign(false,t);if(this.type===d.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(n,"SpreadElement")}if(this.options.ecmaVersion>=6){n.method=false;n.shorthand=false;if(e||t){a=this.start;o=this.startLoc}if(!e){i=this.eat(d.star)}}var s=this.containsEsc;this.parsePropertyName(n);if(!e&&!s&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(n)){r=true;i=this.options.ecmaVersion>=9&&this.eat(d.star);this.parsePropertyName(n,t)}else{r=false}this.parsePropertyValue(n,e,i,r,a,o,t,s);return this.finishNode(n,"Property")};ee.parsePropertyValue=function(e,t,n,i,r,a,o,s){if((n||i)&&this.type===d.colon){this.unexpected()}if(this.eat(d.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,o);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===d.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(n,i)}else if(!t&&!s&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==d.comma&&this.type!==d.braceR)){if(n||i){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var u=e.kind==="get"?0:1;if(e.value.params.length!==u){var c=e.value.start;if(e.kind==="get"){this.raiseRecoverable(c,"getter should have no params")}else{this.raiseRecoverable(c,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(n||i){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=r}e.kind="init";if(t){e.value=this.parseMaybeDefault(r,a,e.key)}else if(this.type===d.eq&&o){if(o.shorthandAssign<0){o.shorthandAssign=this.start}e.value=this.parseMaybeDefault(r,a,e.key)}else{e.value=e.key}e.shorthand=true}else{this.unexpected()}};ee.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(d.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(d.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===d.num||this.type===d.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ee.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};ee.parseMethod=function(e,t,n){var i=this.startNode(),r=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;this.initFunction(i);if(this.options.ecmaVersion>=6){i.generator=e}if(this.options.ecmaVersion>=8){i.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,i.generator)|N|(n?I:0));this.expect(d.parenL);i.params=this.parseBindingList(d.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(i,false,true);this.yieldPos=r;this.awaitPos=a;this.awaitIdentPos=o;return this.finishNode(i,"FunctionExpression")};ee.parseArrowExpression=function(e,t,n){var i=this.yieldPos,r=this.awaitPos,a=this.awaitIdentPos;this.enterScope(functionFlags(n,false)|R);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!n}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false);this.yieldPos=i;this.awaitPos=r;this.awaitIdentPos=a;return this.finishNode(e,"ArrowFunctionExpression")};ee.parseFunctionBody=function(e,t,n){var i=t&&this.type!==d.braceL;var r=this.strict,a=false;if(i){e.body=this.parseMaybeAssign();e.expression=true;this.checkParams(e,false)}else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!r||o){a=this.strictDirective(this.end);if(a&&o){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var s=this.labels;this.labels=[];if(a){this.strict=true}this.checkParams(e,!r&&!a&&!t&&!n&&this.isSimpleParamList(e.params));e.body=this.parseBlock(false);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=s}this.exitScope();if(this.strict&&e.id){this.checkLVal(e.id,K)}this.strict=r};ee.isSimpleParamList=function(e){for(var t=0,n=e;t<n.length;t+=1){var i=n[t];if(i.type!=="Identifier"){return false}}return true};ee.checkParams=function(e,t){var n={};for(var i=0,r=e.params;i<r.length;i+=1){var a=r[i];this.checkLVal(a,V,t?null:n)}};ee.parseExprList=function(e,t,n,i){var r=[],a=true;while(!this.eat(e)){if(!a){this.expect(d.comma);if(t&&this.afterTrailingComma(e)){break}}else{a=false}var o=void 0;if(n&&this.type===d.comma){o=null}else if(this.type===d.ellipsis){o=this.parseSpread(i);if(i&&this.type===d.comma&&i.trailingComma<0){i.trailingComma=this.start}}else{o=this.parseMaybeAssign(false,i)}r.push(o)}return r};ee.checkUnreserved=function(e){var t=e.start;var n=e.end;var i=e.name;if(this.inGenerator&&i==="yield"){this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator")}if(this.inAsync&&i==="await"){this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function")}if(this.keywords.test(i)){this.raise(t,"Unexpected keyword '"+i+"'")}if(this.options.ecmaVersion<6&&this.input.slice(t,n).indexOf("\\")!==-1){return}var r=this.strict?this.reservedWordsStrict:this.reservedWords;if(r.test(i)){if(!this.inAsync&&i==="await"){this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function")}this.raiseRecoverable(t,"The keyword '"+i+"' is reserved")}};ee.parseIdent=function(e,t){var n=this.startNode();if(this.type===d.name){n.name=this.value}else if(this.type.keyword){n.name=this.type.keyword;if((n.name==="class"||n.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)){this.context.pop()}}else{this.unexpected()}this.next(!!e);this.finishNode(n,"Identifier");if(!e){this.checkUnreserved(n);if(n.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=n.start}}return n};ee.parseYield=function(e){if(!this.yieldPos){this.yieldPos=this.start}var t=this.startNode();this.next();if(this.type===d.semi||this.canInsertSemicolon()||this.type!==d.star&&!this.type.startsExpr){t.delegate=false;t.argument=null}else{t.delegate=this.eat(d.star);t.argument=this.parseMaybeAssign(e)}return this.finishNode(t,"YieldExpression")};ee.parseAwait=function(){if(!this.awaitPos){this.awaitPos=this.start}var e=this.startNode();this.next();e.argument=this.parseMaybeUnary(null,false);return this.finishNode(e,"AwaitExpression")};var ne=z.prototype;ne.raise=function(e,t){var n=getLineInfo(this.input,e);t+=" ("+n.line+":"+n.column+")";var i=new SyntaxError(t);i.pos=e;i.loc=n;i.raisedAt=this.pos;throw i};ne.raiseRecoverable=ne.raise;ne.curPosition=function(){if(this.options.locations){return new S(this.curLine,this.pos-this.lineStart)}};var ie=z.prototype;var re=function Scope(e){this.flags=e;this.var=[];this.lexical=[];this.functions=[]};ie.enterScope=function(e){this.scopeStack.push(new re(e))};ie.exitScope=function(){this.scopeStack.pop()};ie.treatFunctionsAsVarInScope=function(e){return e.flags&x||!this.inModule&&e.flags&C};ie.declareName=function(e,t,n){var i=false;if(t===L){var r=this.currentScope();i=r.lexical.indexOf(e)>-1||r.functions.indexOf(e)>-1||r.var.indexOf(e)>-1;r.lexical.push(e);if(this.inModule&&r.flags&C){delete this.undefinedExports[e]}}else if(t===U){var a=this.currentScope();a.lexical.push(e)}else if(t===B){var o=this.currentScope();if(this.treatFunctionsAsVar){i=o.lexical.indexOf(e)>-1}else{i=o.lexical.indexOf(e)>-1||o.var.indexOf(e)>-1}o.functions.push(e)}else{for(var s=this.scopeStack.length-1;s>=0;--s){var u=this.scopeStack[s];if(u.lexical.indexOf(e)>-1&&!(u.flags&M&&u.lexical[0]===e)||!this.treatFunctionsAsVarInScope(u)&&u.functions.indexOf(e)>-1){i=true;break}u.var.push(e);if(this.inModule&&u.flags&C){delete this.undefinedExports[e]}if(u.flags&O){break}}}if(i){this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")}};ie.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};ie.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};ie.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&O){return t}}};ie.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&O&&!(t.flags&R)){return t}}};var ae=function Node(e,t,n){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new A(e,n)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var oe=z.prototype;oe.startNode=function(){return new ae(this,this.start,this.startLoc)};oe.startNodeAt=function(e,t){return new ae(this,e,t)};function finishNodeAt(e,t,n,i){e.type=t;e.end=n;if(this.options.locations){e.loc.end=i}if(this.options.ranges){e.range[1]=n}return e}oe.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};oe.finishNodeAt=function(e,t,n,i){return finishNodeAt.call(this,e,t,n,i)};var se=function TokContext(e,t,n,i,r){this.token=e;this.isExpr=!!t;this.preserveSpace=!!n;this.override=i;this.generator=!!r};var ue={b_stat:new se("{",false),b_expr:new se("{",true),b_tmpl:new se("${",false),p_stat:new se("(",false),p_expr:new se("(",true),q_tmpl:new se("`",true,true,function(e){return e.tryReadTemplateToken()}),f_stat:new se("function",false),f_expr:new se("function",true),f_expr_gen:new se("function",true,false,null,true),f_gen:new se("function",false,false,null,true)};var ce=z.prototype;ce.initialContext=function(){return[ue.b_stat]};ce.braceIsBlock=function(e){var t=this.curContext();if(t===ue.f_expr||t===ue.f_stat){return true}if(e===d.colon&&(t===ue.b_stat||t===ue.b_expr)){return!t.isExpr}if(e===d._return||e===d.name&&this.exprAllowed){return m.test(this.input.slice(this.lastTokEnd,this.start))}if(e===d._else||e===d.semi||e===d.eof||e===d.parenR||e===d.arrow){return true}if(e===d.braceL){return t===ue.b_stat}if(e===d._var||e===d._const||e===d.name){return false}return!this.exprAllowed};ce.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};ce.updateContext=function(e){var t,n=this.type;if(n.keyword&&e===d.dot){this.exprAllowed=false}else if(t=n.updateContext){t.call(this,e)}else{this.exprAllowed=n.beforeExpr}};d.parenR.updateContext=d.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===ue.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};d.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ue.b_stat:ue.b_expr);this.exprAllowed=true};d.dollarBraceL.updateContext=function(){this.context.push(ue.b_tmpl);this.exprAllowed=true};d.parenL.updateContext=function(e){var t=e===d._if||e===d._for||e===d._with||e===d._while;this.context.push(t?ue.p_stat:ue.p_expr);this.exprAllowed=true};d.incDec.updateContext=function(){};d._function.updateContext=d._class.updateContext=function(e){if(e.beforeExpr&&e!==d.semi&&e!==d._else&&!(e===d._return&&m.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===d.colon||e===d.braceL)&&this.curContext()===ue.b_stat)){this.context.push(ue.f_expr)}else{this.context.push(ue.f_stat)}this.exprAllowed=false};d.backQuote.updateContext=function(){if(this.curContext()===ue.q_tmpl){this.context.pop()}else{this.context.push(ue.q_tmpl)}this.exprAllowed=false};d.star.updateContext=function(e){if(e===d._function){var t=this.context.length-1;if(this.context[t]===ue.f_expr){this.context[t]=ue.f_expr_gen}else{this.context[t]=ue.f_gen}}this.exprAllowed=true};d.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==d.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var le="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var fe=le+" Extended_Pictographic";var pe=fe;var _e={9:le,10:fe,11:pe};var he="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var de="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var me=de+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Ee=me+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var ge={9:de,10:me,11:Ee};var ve={};function buildUnicodeData(e){var t=ve[e]={binary:wordsRegexp(_e[e]+" "+he),nonBinary:{General_Category:wordsRegexp(he),Script:wordsRegexp(ge[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);var De=z.prototype;var be=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"");this.unicodeProperties=ve[e.options.ecmaVersion>=11?11:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};be.prototype.reset=function reset(e,t,n){var i=n.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=n;this.switchU=i&&this.parser.options.ecmaVersion>=6;this.switchN=i&&this.parser.options.ecmaVersion>=9};be.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};be.prototype.at=function at(e){var t=this.source;var n=t.length;if(e>=n){return-1}var i=t.charCodeAt(e);if(!this.switchU||i<=55295||i>=57344||e+1>=n){return i}var r=t.charCodeAt(e+1);return r>=56320&&r<=57343?(i<<10)+r-56613888:i};be.prototype.nextIndex=function nextIndex(e){var t=this.source;var n=t.length;if(e>=n){return n}var i=t.charCodeAt(e),r;if(!this.switchU||i<=55295||i>=57344||e+1>=n||(r=t.charCodeAt(e+1))<56320||r>57343){return e+1}return e+2};be.prototype.current=function current(){return this.at(this.pos)};be.prototype.lookahead=function lookahead(){return this.at(this.nextIndex(this.pos))};be.prototype.advance=function advance(){this.pos=this.nextIndex(this.pos)};be.prototype.eat=function eat(e){if(this.current()===e){this.advance();return true}return false};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}De.validateRegExpFlags=function(e){var t=e.validFlags;var n=e.flags;for(var i=0;i<n.length;i++){var r=n.charAt(i);if(t.indexOf(r)===-1){this.raise(e.start,"Invalid regular expression flag")}if(n.indexOf(r,i+1)>-1){this.raise(e.start,"Duplicate regular expression flag")}}};De.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};De.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,n=e.backReferenceNames;t<n.length;t+=1){var i=n[t];if(e.groupNames.indexOf(i)===-1){e.raise("Invalid named capture referenced")}}};De.regexp_disjunction=function(e){this.regexp_alternative(e);while(e.eat(124)){this.regexp_alternative(e)}if(this.regexp_eatQuantifier(e,true)){e.raise("Nothing to repeat")}if(e.eat(123)){e.raise("Lone quantifier brackets")}};De.regexp_alternative=function(e){while(e.pos<e.source.length&&this.regexp_eatTerm(e)){}};De.regexp_eatTerm=function(e){if(this.regexp_eatAssertion(e)){if(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)){if(e.switchU){e.raise("Invalid quantifier")}}return true}if(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e)){this.regexp_eatQuantifier(e);return true}return false};De.regexp_eatAssertion=function(e){var t=e.pos;e.lastAssertionIsQuantifiable=false;if(e.eat(94)||e.eat(36)){return true}if(e.eat(92)){if(e.eat(66)||e.eat(98)){return true}e.pos=t}if(e.eat(40)&&e.eat(63)){var n=false;if(this.options.ecmaVersion>=9){n=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!n;return true}}e.pos=t;return false};De.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};De.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};De.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var i=0,r=-1;if(this.regexp_eatDecimalDigits(e)){i=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){r=e.lastIntValue}if(e.eat(125)){if(r!==-1&&r<i&&!t){e.raise("numbers out of order in {} quantifier")}return true}}if(e.switchU&&!t){e.raise("Incomplete quantifier")}e.pos=n}return false};De.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};De.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e)){return true}e.pos=t}return false};De.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){this.regexp_disjunction(e);if(e.eat(41)){return true}e.raise("Unterminated group")}e.pos=t}return false};De.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};De.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};De.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};De.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}De.regexp_eatPatternCharacters=function(e){var t=e.pos;var n=0;while((n=e.current())!==-1&&!isSyntaxCharacter(n)){e.advance()}return e.pos!==t};De.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};De.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};De.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};De.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString(e.lastIntValue)}return true}return false};De.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var n=e.current();e.advance();if(n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e)){n=e.lastIntValue}if(isRegExpIdentifierStart(n)){e.lastIntValue=n;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}De.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var n=e.current();e.advance();if(n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e)){n=e.lastIntValue}if(isRegExpIdentifierPart(n)){e.lastIntValue=n;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}De.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};De.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU){if(n>e.maxBackReference){e.maxBackReference=n}return true}if(n<=e.numCapturingParens){return true}e.pos=t}return false};De.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};De.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};De.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};De.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};De.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};De.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}De.regexp_eatRegExpUnicodeEscapeSequence=function(e){var t=e.pos;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(e.switchU&&n>=55296&&n<=56319){var i=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(r>=56320&&r<=57343){e.lastIntValue=(n-55296)*1024+(r-56320)+65536;return true}}e.pos=i;e.lastIntValue=n}return true}if(e.switchU&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(e.switchU){e.raise("Invalid unicode escape")}e.pos=t}return false};function isValidUnicode(e){return e>=0&&e<=1114111}De.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};De.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};De.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}De.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,n,i);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var r=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,r);return true}return false};De.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){if(!has(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(n)){e.raise("Invalid property value")}};De.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};De.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}De.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}De.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};De.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};De.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;if(e.switchU&&(t===-1||n===-1)){e.raise("Invalid character class")}if(t!==-1&&n!==-1&&t>n){e.raise("Range out of order in character class")}}}};De.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var n=e.current();if(n===99||isOctalDigit(n)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var i=e.current();if(i!==93){e.lastIntValue=i;e.advance();return true}return false};De.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};De.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};De.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};De.regexp_eatDecimalDigits=function(e){var t=e.pos;var n=0;e.lastIntValue=0;while(isDecimalDigit(n=e.current())){e.lastIntValue=10*e.lastIntValue+(n-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}De.regexp_eatHexDigits=function(e){var t=e.pos;var n=0;e.lastIntValue=0;while(isHexDigit(n=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(n);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}De.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+n*8+e.lastIntValue}else{e.lastIntValue=t*8+n}}else{e.lastIntValue=t}return true}return false};De.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}De.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var r=e.current();if(!isHexDigit(r)){e.pos=n;return false}e.lastIntValue=16*e.lastIntValue+hexToInt(r);e.advance()}return true};var ye=function Token(e){this.type=e.type;this.value=e.value;this.start=e.start;this.end=e.end;if(e.options.locations){this.loc=new A(e,e.startLoc,e.endLoc)}if(e.options.ranges){this.range=[e.start,e.end]}};var ke=z.prototype;ke.next=function(e){if(!e&&this.type.keyword&&this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword)}if(this.options.onToken){this.options.onToken(new ye(this))}this.lastTokEnd=this.end;this.lastTokStart=this.start;this.lastTokEndLoc=this.endLoc;this.lastTokStartLoc=this.startLoc;this.nextToken()};ke.getToken=function(){this.next();return new ye(this)};if(typeof Symbol!=="undefined"){ke[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===d.eof,value:t}}}}}ke.curContext=function(){return this.context[this.context.length-1]};ke.nextToken=function(){var e=this.curContext();if(!e||!e.preserveSpace){this.skipSpace()}this.start=this.pos;if(this.options.locations){this.startLoc=this.curPosition()}if(this.pos>=this.input.length){return this.finishToken(d.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};ke.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};ke.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344){return e}var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};ke.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(n===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=n+2;if(this.options.locations){E.lastIndex=t;var i;while((i=E.exec(this.input))&&i.index<this.pos){++this.curLine;this.lineStart=i.index+i[0].length}}if(this.options.onComment){this.options.onComment(true,this.input.slice(t+2,n),t,this.pos,e,this.curPosition())}};ke.skipLineComment=function(e){var t=this.pos;var n=this.options.onComment&&this.curPosition();var i=this.input.charCodeAt(this.pos+=e);while(this.pos<this.input.length&&!isNewLine(i)){i=this.input.charCodeAt(++this.pos)}if(this.options.onComment){this.options.onComment(false,this.input.slice(t+e,this.pos),t,this.pos,n,this.curPosition())}};ke.skipSpace=function(){e:while(this.pos<this.input.length){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:if(this.input.charCodeAt(this.pos+1)===10){++this.pos}case 10:case 8232:case 8233:++this.pos;if(this.options.locations){++this.curLine;this.lineStart=this.pos}break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&g.test(String.fromCharCode(e))){++this.pos}else{break e}}}};ke.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var n=this.type;this.type=e;this.value=t;this.updateContext(n)};ke.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(d.ellipsis)}else{++this.pos;return this.finishToken(d.dot)}};ke.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(d.assign,2)}return this.finishOp(d.slash,1)};ke.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var n=1;var i=e===42?d.star:d.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++n;i=d.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(d.assign,n+1)}return this.finishOp(i,n)};ke.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){return this.finishOp(e===124?d.logicalOR:d.logicalAND,2)}if(t===61){return this.finishOp(d.assign,2)}return this.finishOp(e===124?d.bitwiseOR:d.bitwiseAND,1)};ke.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(d.assign,2)}return this.finishOp(d.bitwiseXOR,1)};ke.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||m.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(d.incDec,2)}if(t===61){return this.finishOp(d.assign,2)}return this.finishOp(d.plusMin,1)};ke.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var n=1;if(t===e){n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+n)===61){return this.finishOp(d.assign,n+1)}return this.finishOp(d.bitShift,n)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){n=2}return this.finishOp(d.relational,n)};ke.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(d.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(d.arrow)}return this.finishOp(e===61?d.eq:d.prefix,1)};ke.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(d.parenL);case 41:++this.pos;return this.finishToken(d.parenR);case 59:++this.pos;return this.finishToken(d.semi);case 44:++this.pos;return this.finishToken(d.comma);case 91:++this.pos;return this.finishToken(d.bracketL);case 93:++this.pos;return this.finishToken(d.bracketR);case 123:++this.pos;return this.finishToken(d.braceL);case 125:++this.pos;return this.finishToken(d.braceR);case 58:++this.pos;return this.finishToken(d.colon);case 63:++this.pos;return this.finishToken(d.question);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(d.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(d.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(e)+"'")};ke.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,n)};ke.readRegexp=function(){var e,t,n=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(n,"Unterminated regular expression")}var i=this.input.charAt(this.pos);if(m.test(i)){this.raise(n,"Unterminated regular expression")}if(!e){if(i==="["){t=true}else if(i==="]"&&t){t=false}else if(i==="/"&&!t){break}e=i==="\\"}else{e=false}++this.pos}var r=this.input.slice(n,this.pos);++this.pos;var a=this.pos;var o=this.readWord1();if(this.containsEsc){this.unexpected(a)}var s=this.regexpState||(this.regexpState=new be(this));s.reset(n,r,o);this.validateRegExpFlags(s);this.validateRegExpPattern(s);var u=null;try{u=new RegExp(r,o)}catch(e){}return this.finishToken(d.regexp,{pattern:r,flags:o,value:u})};ke.readInt=function(e,t){var n=this.pos,i=0;for(var r=0,a=t==null?Infinity:t;r<a;++r){var o=this.input.charCodeAt(this.pos),s=void 0;if(o>=97){s=o-97+10}else if(o>=65){s=o-65+10}else if(o>=48&&o<=57){s=o-48}else{s=Infinity}if(s>=e){break}++this.pos;i=i*e+s}if(this.pos===n||t!=null&&this.pos-n!==t){return null}return i};ke.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);if(n==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){n=typeof BigInt!=="undefined"?BigInt(this.input.slice(t,this.pos)):null;++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(d.num,n)};ke.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10)===null){this.raise(t,"Invalid number")}var n=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(n&&this.strict){this.raise(t,"Invalid number")}var i=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&i===110){var r=this.input.slice(t,this.pos);var a=typeof BigInt!=="undefined"?BigInt(r):null;++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(d.num,a)}if(n&&/[89]/.test(this.input.slice(t,this.pos))){n=false}if(i===46&&!n){++this.pos;this.readInt(10);i=this.input.charCodeAt(this.pos)}if((i===69||i===101)&&!n){i=this.input.charCodeAt(++this.pos);if(i===43||i===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var o=this.input.slice(t,this.pos);var s=n?parseInt(o,8):parseFloat(o);return this.finishToken(d.num,s)};ke.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var n=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(n,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}ke.readString=function(e){var t="",n=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var i=this.input.charCodeAt(this.pos);if(i===e){break}if(i===92){t+=this.input.slice(n,this.pos);t+=this.readEscapedChar(false);n=this.pos}else{if(isNewLine(i,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(n,this.pos++);return this.finishToken(d.string,t)};var Se={};ke.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Se){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};ke.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Se}else{this.raise(e,t)}};ke.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===d.template||this.type===d.invalidTemplate)){if(n===36){this.pos+=2;return this.finishToken(d.dollarBraceL)}else{++this.pos;return this.finishToken(d.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(d.template,e)}if(n===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(n)){e+=this.input.slice(t,this.pos);++this.pos;switch(n){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(n);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};ke.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++){switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{"){break}case"`":return this.finishToken(d.invalidTemplate,this.input.slice(this.start,this.pos))}}this.raise(this.start,"Unterminated template")};ke.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);++this.pos;switch(t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return codePointToString$1(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:if(this.options.locations){this.lineStart=this.pos;++this.curLine}return"";case 56:case 57:if(e){var n=this.pos-1;this.invalidStringToken(n,"Invalid escape sequence in template string");return null}default:if(t>=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var r=parseInt(i,8);if(r>255){i=i.slice(0,-1);r=parseInt(i,8)}this.pos+=i.length-1;t=this.input.charCodeAt(this.pos);if((i!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(r)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};ke.readHexChar=function(e){var t=this.pos;var n=this.readInt(16,e);if(n===null){this.invalidStringToken(t,"Bad character escape sequence")}return n};ke.readWord1=function(){this.containsEsc=false;var e="",t=true,n=this.pos;var i=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var r=this.fullCharCodeAtPos();if(isIdentifierChar(r,i)){this.pos+=r<=65535?1:2}else if(r===92){this.containsEsc=true;e+=this.input.slice(n,this.pos);var a=this.pos;if(this.input.charCodeAt(++this.pos)!==117){this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX")}++this.pos;var o=this.readCodePoint();if(!(t?isIdentifierStart:isIdentifierChar)(o,i)){this.invalidStringToken(a,"Invalid Unicode escape")}e+=codePointToString$1(o);n=this.pos}else{break}t=false}return e+this.input.slice(n,this.pos)};ke.readWord=function(){var e=this.readWord1();var t=d.name;if(this.keywords.test(e)){t=h[e]}return this.finishToken(t,e)};var Ae="7.1.0";z.acorn={Parser:z,version:Ae,defaultOptions:T,Position:S,SourceLocation:A,getLineInfo:getLineInfo,Node:ae,TokenType:f,tokTypes:d,keywordTypes:h,TokContext:se,tokContexts:ue,isIdentifierChar:isIdentifierChar,isIdentifierStart:isIdentifierStart,Token:ye,isNewLine:isNewLine,lineBreak:m,lineBreakG:E,nonASCIIwhitespace:g};function parse(e,t){return z.parse(e,t)}function parseExpressionAt(e,t,n){return z.parseExpressionAt(e,t,n)}function tokenizer(e,t){return z.tokenizer(e,t)}e.Node=ae;e.Parser=z;e.Position=S;e.SourceLocation=A;e.TokContext=se;e.Token=ye;e.TokenType=f;e.defaultOptions=T;e.getLineInfo=getLineInfo;e.isIdentifierChar=isIdentifierChar;e.isIdentifierStart=isIdentifierStart;e.isNewLine=isNewLine;e.keywordTypes=h;e.lineBreak=m;e.lineBreakG=E;e.nonASCIIwhitespace=g;e.parse=parse;e.parseExpressionAt=parseExpressionAt;e.tokContexts=ue;e.tokTypes=d;e.tokenizer=tokenizer;e.version=Ae;Object.defineProperty(e,"__esModule",{value:true})})}});