altair-static
Version:
Static package for altair graphql client
3 lines (2 loc) • 153 kB
JavaScript
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b132d0f6-9166-5ad1-8a90-78db405a9e3c")}catch(e){}}();
(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[215],{65215:function(ir,Bt,ft){ir.exports=function(Oe){"use strict";var Be=Object.freeze({__proto__:null,get FunctionDeclaration(){return O},get VariableDeclaration(){return Se},get VariableDeclarator(){return lt},get ClassDeclaration(){return Nt},get ClassBody(){return Lt},get MethodDefinition(){return Rt}}),Ft=Object.freeze({__proto__:null,get FunctionDeclaration(){return qr},get VariableDeclaration(){return rt},get VariableDeclarator(){return hr},get ClassDeclaration(){return Wr},get ClassBody(){return fr},get MethodDefinition(){return pr}}),He=Object.freeze,M=Object.defineProperty,fe=Object.getOwnPropertyDescriptor,Dt=Object.prototype.hasOwnProperty;function Mt(i,a){return Dt.call(i,a)}var Fe=Object.getOwnPropertyNames,pt=Object.setPrototypeOf;var oe=Object.getPrototypeOf;function Ee(i){return oe?oe(i):i.__proto__}var F=Object.getOwnPropertyDescriptor;function ie(i,a,r){for(;a;){var n=F(a,r),u=typeof n<"u"&&typeof n.writable>"u"&&"function"==typeof n[i]&&n[i];if(u)return u;a=Ee(a)}}function re(i,a){return ie("get",i,a)}function ee(i,a){return ie("set",i,a)}var xe=Object.create;function L(i,a){(function it(i,a){pt?pt(i,a):i.__proto__=a})(i,a),i.prototype=xe(a.prototype,{constructor:{value:i,writable:!0}})}var W=Object.assign||function c(i){for(var a=1;a<arguments.length;++a){var r=arguments[a];for(var n in r)Mt(r,n)&&(i[n]=r[n])}return i},ce=[],S=xe(null);try{if(!window.Object)throw 0;ce=Fe(S=window).filter(function(i){return"webkitStorageInfo"!==i})}catch{try{if(!global.Object)throw 0;ce=Fe(S=global).filter(function(a){return"GLOBAL"!==a&&"root"!==a})}catch{try{S.Object=Object}catch{}try{S.Function=Function}catch{}try{S.Array=Array}catch{}try{S.Number=Number}catch{}try{S.parseFloat=parseFloat}catch{}try{S.parseInt=parseInt}catch{}try{S.Infinity=1/0}catch{}try{S.NaN=NaN}catch{}try{S.undefined=void 0}catch{}try{S.Boolean=Boolean}catch{}try{S.String=String}catch{}try{S.Symbol=Symbol}catch{}try{S.Date=Date}catch{}try{S.Promise=Promise}catch{}try{S.RegExp=RegExp}catch{}try{S.Error=Error}catch{}try{S.EvalError=EvalError}catch{}try{S.RangeError=RangeError}catch{}try{S.ReferenceError=ReferenceError}catch{}try{S.SyntaxError=SyntaxError}catch{}try{S.TypeError=TypeError}catch{}try{S.URIError=URIError}catch{}try{S.JSON=JSON}catch{}try{S.Math=Math}catch{}try{S.console=console}catch{}try{S.Intl=Intl}catch{}try{S.ArrayBuffer=ArrayBuffer}catch{}try{S.Uint8Array=Uint8Array}catch{}try{S.Int8Array=Int8Array}catch{}try{S.Uint16Array=Uint16Array}catch{}try{S.Int16Array=Int16Array}catch{}try{S.Uint32Array=Uint32Array}catch{}try{S.Int32Array=Int32Array}catch{}try{S.Float32Array=Float32Array}catch{}try{S.Float64Array=Float64Array}catch{}try{S.Uint8ClampedArray=Uint8ClampedArray}catch{}try{S.DataView=DataView}catch{}try{S.Map=Map}catch{}try{S.Set=Set}catch{}try{S.WeakMap=WeakMap}catch{}try{S.WeakSet=WeakSet}catch{}try{S.Proxy=Proxy}catch{}try{S.Reflect=Reflect}catch{}try{S.decodeURI=decodeURI}catch{}try{S.decodeURIComponent=decodeURIComponent}catch{}try{S.encodeURI=encodeURI}catch{}try{S.encodeURIComponent=encodeURIComponent}catch{}try{S.escape=escape}catch{}try{S.unescape=unescape}catch{}try{S.eval=eval}catch{}try{S.isFinite=isFinite}catch{}try{S.isNaN=isNaN}catch{}try{S.SharedArrayBuffer=SharedArrayBuffer}catch{}try{S.Atomics=Atomics}catch{}try{S.WebAssembly=WebAssembly}catch{}try{S.clearInterval=clearInterval}catch{}try{S.clearTimeout=clearTimeout}catch{}try{S.setInterval=setInterval}catch{}try{S.setTimeout=setTimeout}catch{}try{S.crypto=crypto}catch{}ce=Fe(S)}}S.Symbol&&(!S.Symbol.iterator&&(S.Symbol.iterator=$("iterator")),!S.Symbol.asyncIterator&&(S.Symbol.asyncIterator=$("asynciterator")));for(var $e=xe({}),ae=0;ae<ce.length;ae++){var at=ce[ae];try{$e[at]=S[at]}catch{}}var De=$("window");function $(i){return i+Math.random().toString(36).substring(2)}var ne={RES:void 0},B={RES:void 0},j=$("continue"),U=$("break"),Qe=$("super"),ye=$("supercall"),ge=$("noctor"),le=$("clsctor"),Te=$("newtarget"),Q=$("noinit"),Y=$("deadzone"),Me=function(){function i(a,r){this.kind=a,this.value=r}return i.prototype.get=function(){return this.value},i.prototype.set=function(a){if("const"===this.kind)throw new TypeError("Assignment to constant variable");return this.value=a},i}(),be=function(){function i(a,r){this.object=a,this.property=r}return i.prototype.get=function(){return this.object[this.property]},i.prototype.set=function(a){return this.object[this.property]=a,!0},i.prototype.del=function(){return delete this.object[this.property]},i}(),H=function(){function i(a,r){void 0===a&&(a=null),void 0===r&&(r=!1),this.context=xe(null),this.parent=a,this.isolated=r}return i.prototype.global=function(){for(var a=this;a.parent;)a=a.parent;return a},i.prototype.clone=function(){var a=new i(this.parent,this.isolated);for(var r in this.context){var n=this.context[r];a[n.kind](r,n.get())}return a},i.prototype.find=function(a){if(this.context[a])return this.context[a];if(this.parent)return this.parent.find(a);var r=this.global().find("window").get();return a in r?new be(r,a):null},i.prototype.var=function(a,r){for(var n=this;n.parent&&!n.isolated;)n=n.parent;var u=n.context[a];if(u){if("var"!==u.kind)throw new SyntaxError("Identifier '"+a+"' has already been declared");r!==Q&&u.set(r)}else n.context[a]=new Me("var",r===Q?void 0:r);if(!n.parent){var l=n.find("window").get();r!==Q&&M(l,a,{value:r,writable:!0,enumerable:!0})}},i.prototype.let=function(a,r){var n=this.context[a];if(n&&n.get()!==Y)throw new SyntaxError("Identifier '"+a+"' has already been declared");this.context[a]=new Me("let",r)},i.prototype.const=function(a,r){var n=this.context[a];if(n&&n.get()!==Y)throw new SyntaxError("Identifier '"+a+"' has already been declared");this.context[a]=new Me("const",r)},i.prototype.func=function(a,r){var n=this.context[a];if(n&&"var"!==n.kind)throw new SyntaxError("Identifier '"+a+"' has already been declared");this.context[a]=new Me("var",r)},i}();function I(i,a){var n,u,l,f,r={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return f={next:p(0),throw:p(1),return:p(2)},"function"==typeof Symbol&&(f[Symbol.iterator]=function(){return this}),f;function p(v){return function(b){return function d(v){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,u&&(l=2&v[0]?u.return:v[0]?u.throw||((l=u.return)&&l.call(u),0):u.next)&&!(l=l.call(u,v[1])).done)return l;switch(u=0,l&&(v=[2&v[0],l.value]),v[0]){case 0:case 1:l=v;break;case 4:return r.label++,{value:v[1],done:!1};case 5:r.label++,u=v[1],v=[0];continue;case 7:v=r.ops.pop(),r.trys.pop();continue;default:if(!(l=(l=r.trys).length>0&&l[l.length-1])&&(6===v[0]||2===v[0])){r=0;continue}if(3===v[0]&&(!l||v[1]>l[0]&&v[1]<l[3])){r.label=v[1];break}if(6===v[0]&&r.label<l[1]){r.label=l[1],l=v;break}if(l&&r.label<l[2]){r.label=l[2],r.ops.push(v);break}l[2]&&r.ops.pop(),r.trys.pop();continue}v=a.call(i,r)}catch(b){v=[6,b],u=0}finally{n=l=0}if(5&v[0])throw v[1];return{value:v[0]?v[1]:void 0,done:!0}}([v,b])}}}function x(i){var a="function"==typeof Symbol&&i[Symbol.iterator],r=0;return a?a.call(i):{next:function(){return i&&r>=i.length&&(i=void 0),{value:i&&i[r++],done:!i}}}}function vt(i,a){var r="function"==typeof Symbol&&i[Symbol.iterator];if(!r)return i;var u,f,n=r.call(i),l=[];try{for(;(void 0===a||a-- >0)&&!(u=n.next()).done;)l.push(u.value)}catch(p){f={error:p}}finally{try{u&&!u.done&&(r=n.return)&&r.call(n)}finally{if(f)throw f.error}}return l}function Ne(){for(var i=[],a=0;a<arguments.length;a++)i=i.concat(vt(arguments[a]));return i}function K(i,a,r){void 0===r&&(r={});var n=r.getVar,u=void 0!==n&&n,l=r.throwErr,f=void 0===l||l;if("undefined"===i.name);else{var p=a.find(i.name);if(p){if(u)return p;var d=p.get();if(d===Y)throw new ReferenceError(i.name+" is not defined");return d}if(f)throw new ReferenceError(i.name+" is not defined")}}var mt=Object.freeze({__proto__:null,Identifier:K});function nt(i,a){return i.value}var xt=Object.freeze({__proto__:null,Literal:nt});function pe(i,a,r){void 0===r&&(r={});var p,d,n=r.getObj,u=void 0!==n&&n,l=r.getVar,f=void 0!==l&&l;if(p="Super"===i.object.type?ot(0,a,{getProto:!0}):C(i.object,a),u)return p;if(d=i.computed?C(i.property,a):i.property.name,f){var v=ee(p,d);if("Super"===i.object.type&&v){var b=a.find("this").get(),w=$(d);return M(b,w,{set:v}),new be(b,w)}return new be(p,d)}var y=re(p,d);return"Super"===i.object.type&&y?(b=a.find("this").get(),y.call(b)):p[d]}function je(i,a){return i.value.raw}function ot(i,a,r){void 0===r&&(r={});var n=r.getProto,u=void 0!==n&&n,l=a.find(Qe).get();return u?l.prototype:l}function X(i,a){return C(i.argument,a)}var z=Object.freeze({__proto__:null,ThisExpression:function q(i,a){var r=a.find(ye);if(r&&!r.get())throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return a.find("this").get()},ArrayExpression:function Ie(i,a){for(var r=[],n=0;n<i.elements.length;n++){var u=i.elements[n];"SpreadElement"===u.type?r=r.concat(X(u,a)):r.push(C(u,a))}return r},ObjectExpression:function Z(i,a){for(var r={},n=0;n<i.properties.length;n++){var u=i.properties[n];if("SpreadElement"===u.type)W(r,X(u,a));else{var l,f=u.key;l=u.computed?C(f,a):"Identifier"===f.type?f.name:""+nt(f);var p=C(u.value,a),d=u.kind;if("init"===d)r[l]=p;else if("get"===d){var v=fe(r,l);M(r,l,{get:p,set:v&&v.set,enumerable:!0,configurable:!0})}else v=fe(r,l),M(r,l,{get:v&&v.get,set:p,enumerable:!0,configurable:!0})}}return r},FunctionExpression:function jt(i,a){if(i.id&&i.id.name){var r=new H(a),n=Ge(i,r);return r.const(i.id.name,n),n}return Ge(i,a)},UnaryExpression:function Ue(i,a){var r=i.argument;switch(i.operator){case"+":return+C(r,a);case"-":return-C(r,a);case"!":return!C(r,a);case"~":return~C(r,a);case"void":return void C(r,a);case"typeof":return"Identifier"===r.type?typeof K(r,a,{throwErr:!1}):typeof C(r,a);case"delete":if("MemberExpression"===r.type)return pe(r,a,{getVar:!0}).del();if("Identifier"===r.type)throw new SyntaxError("Delete of an unqualified identifier in strict mode");return C(r,a),!0;default:throw new SyntaxError("Unexpected token "+i.operator)}},UpdateExpression:function T(i,a){var n,r=i.argument;if("Identifier"===r.type)n=K(r,a,{getVar:!0});else{if("MemberExpression"!==r.type)throw new SyntaxError("Unexpected token");n=pe(r,a,{getVar:!0})}var u=n.get();if("++"===i.operator)return n.set(u+1),i.prefix?n.get():u;if("--"===i.operator)return n.set(u-1),i.prefix?n.get():u;throw new SyntaxError("Unexpected token "+i.operator)},BinaryExpression:function st(i,a){var r=C(i.left,a),n=C(i.right,a);switch(i.operator){case"==":return r==n;case"!=":return r!=n;case"===":return r===n;case"!==":return r!==n;case"<":return r<n;case"<=":return r<=n;case">":return r>n;case">=":return r>=n;case"<<":return r<<n;case">>":return r>>n;case">>>":return r>>>n;case"+":return r+n;case"-":return r-n;case"*":return r*n;case"**":return Math.pow(r,n);case"/":return r/n;case"%":return r%n;case"|":return r|n;case"^":return r^n;case"&":return r&n;case"in":return r in n;case"instanceof":return r instanceof n;default:throw new SyntaxError("Unexpected token "+i.operator)}},AssignmentExpression:function qt(i,a){var u,r=C(i.right,a),n=i.left;if("Identifier"===n.type){if(!(u=K(n,a,{getVar:!0,throwErr:!1}))){var l=a.global().find("window").get();u=new be(l,n.name)}}else{if("MemberExpression"!==n.type)return ue(n,a,{feed:r});u=pe(n,a,{getVar:!0})}switch(i.operator){case"=":return u.set(r),u.get();case"+=":return u.set(u.get()+r),u.get();case"-=":return u.set(u.get()-r),u.get();case"*=":return u.set(u.get()*r),u.get();case"/=":return u.set(u.get()/r),u.get();case"%=":return u.set(u.get()%r),u.get();case"**=":return u.set(Math.pow(u.get(),r)),u.get();case"<<=":return u.set(u.get()<<r),u.get();case">>=":return u.set(u.get()>>r),u.get();case">>>=":return u.set(u.get()>>>r),u.get();case"|=":return u.set(u.get()|r),u.get();case"^=":return u.set(u.get()^r),u.get();case"&=":return u.set(u.get()&r),u.get();default:throw new SyntaxError("Unexpected token "+i.operator)}},LogicalExpression:function Wt(i,a){switch(i.operator){case"||":return C(i.left,a)||C(i.right,a);case"&&":return C(i.left,a)&&C(i.right,a);default:throw new SyntaxError("Unexpected token "+i.operator)}},MemberExpression:pe,ConditionalExpression:function ut(i,a){return C(i.test,a)?C(i.consequent,a):C(i.alternate,a)},CallExpression:function yt(i,a){var r,n;if("MemberExpression"===i.callee.type){n=pe(i.callee,a,{getObj:!0});var u;if(u=i.callee.computed?C(i.callee.property,a):i.callee.property.name,"Super"===i.callee.object.type){var l=a.find("this").get();r=n[u].bind(l)}else r=n[u];if("function"!=typeof r)throw new TypeError(u+" is not a function");if(r[le])throw new TypeError("Class constructor "+u+" cannot be invoked without 'new'")}else if(n=a.find("this").get(),"function"!=typeof(r=C(i.callee,a))||"Super"!==i.callee.type&&r[le]){var f;if("Identifier"===i.callee.type)f=i.callee.name;else try{f=JSON.stringify(r)}catch{f=""+r}throw"function"!=typeof r?new TypeError(f+" is not a function"):new TypeError("Class constructor "+f+" cannot be invoked without 'new'")}for(var p=[],d=0;d<i.arguments.length;d++){var v=i.arguments[d];"SpreadElement"===v.type?p=p.concat(X(v,a)):p.push(C(v,a))}if("Super"===i.callee.type){if(a.find(ye).get())throw new ReferenceError("Super constructor may only be called once");a.find(ye).set(!0)}return n&&n[De]&&-1!==r.toString().indexOf("[native code]")?r.apply(n[De],p):r.apply(n,p)},NewExpression:function de(i,a){var r=C(i.callee,a);if("function"!=typeof r){var n;if("Identifier"===i.callee.type)n=i.callee.name;else try{n=JSON.stringify(r)}catch{n=""+r}throw new TypeError(n+" is not a constructor")}if(r[ge])throw new TypeError((r.name||"(intermediate value)")+" is not a constructor");for(var u=[],l=0;l<i.arguments.length;l++){var f=i.arguments[l];"SpreadElement"===f.type?u=u.concat(X(f,a)):u.push(C(f,a))}return new(r.bind.apply(r,Ne([void 0],u)))},MetaProperty:function N(i,a){return a.find(Te).get()},SequenceExpression:function zt(i,a){for(var r,n=0;n<i.expressions.length;n++)r=C(i.expressions[n],a);return r},ArrowFunctionExpression:function Ke(i,a){return Ge(i,a)},TemplateLiteral:function we(i,a){for(var l,f,r=i.quasis.slice(),n=i.expressions.slice(),u="";l=r.shift();)u+=je(l),(f=n.shift())&&(u+=C(f,a));return u},TaggedTemplateExpression:function Gt(i,a){var r=C(i.tag,a),n=i.quasi.quasis,u=n.map(function(v){return v.value.cooked}),l=n.map(function(v){return v.value.raw});M(u,"raw",{value:He(l)});var f=i.quasi.expressions,p=[];if(f)for(var d=0;d<f.length;d++)p.push(C(f[d],a));return r.apply(void 0,Ne([He(u)],p))},TemplateElement:je,ClassExpression:function Xe(i,a){if(i.id&&i.id.name){var r=new H(a),n=rr(i,r);return r.const(i.id.name,n),n}return rr(i,a)},Super:ot,SpreadElement:X});function ke(i,a,r){void 0===r&&(r={});var n=r.invasived,l=r.hoisted,f=void 0!==l&&l,p=void 0!==n&&n?a:new H(a);f||tr(i,p,{onlyBlock:!0});for(var d=0;d<i.body.length;d++){var v=C(i.body[d],p);if(v===U||v===j||v===B)return v}}function St(i,a){for(var r=0;r<i.consequent.length;r++){var n=C(i.consequent[r],a);if(n===U||n===j||n===B)return n}}function _(i,a){return ke(i.body,a,{invasived:!0})}var It=Object.freeze({__proto__:null,ExpressionStatement:function Ye(i,a){C(i.expression,a)},BlockStatement:ke,EmptyStatement:function gt(){},DebuggerStatement:function Ht(){},ReturnStatement:function $t(i,a){return B.RES=i.argument?C(i.argument,a):void 0,B},BreakStatement:function bt(){return U},ContinueStatement:function wt(){return j},IfStatement:function kt(i,a){return C(i.test,a)?C(i.consequent,a):C(i.alternate,a)},SwitchStatement:function Qt(i,a){for(var r=C(i.discriminant,a),n=!1,u=0;u<i.cases.length;u++){var l=i.cases[u];if(!n&&(!l.test||C(l.test,a)===r)&&(n=!0),n){var f=St(l,a);if(f===U)break;if(f===j||f===B)return f}}},SwitchCase:St,ThrowStatement:function Et(i,a){throw C(i.argument,a)},TryStatement:function ct(i,a){try{return ke(i.block,a)}catch(f){if(i.handler){var r=new H(a),n=i.handler.param;return n&&("Identifier"===n.type?r.var(n.name,f):ue(n,a,{feed:f})),_(i.handler,r)}throw f}finally{if(i.finalizer){var l=ke(i.finalizer,a);if(l===U||l===j||l===B)return l}}},CatchClause:_,WhileStatement:function ve(i,a){for(;C(i.test,a);){var r=C(i.body,a);if(r===U)break;if(r!==j&&r===B)return r}},DoWhileStatement:function Ze(i,a){do{var r=C(i.body,a);if(r===U)break;if(r!==j&&r===B)return r}while(C(i.test,a))},ForStatement:function Ct(i,a){var r=new H(a);for(C(i.init,r);!i.test||C(i.test,r);C(i.update,r)){var u,n=new H(r);if((u="BlockStatement"===i.body.type?ke(i.body,n,{invasived:!0}):C(i.body,n))===U)break;if(u!==j&&u===B)return u}},ForInStatement:function Kt(i,a){for(var r in C(i.right,a)){var n=mr(i,a,{value:r});if(n===U)break;if(n!==j&&n===B)return n}},ForOfStatement:function Xt(i,a){var r,n,u=C(i.right,a);try{for(var l=x(u),f=l.next();!f.done;f=l.next()){var d=mr(i,a,{value:f.value});if(d===U)break;if(d!==j&&d===B)return d}}catch(v){r={error:v}}finally{try{f&&!f.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}});function At(i,a,r){void 0===r&&(r={});for(var n=r.kind,u=void 0===n?"var":n,l=r.hoist,f=void 0!==l&&l,p=r.onlyBlock,d=void 0!==p&&p,v=r.feed,b=void 0===v?{}:v,w=[],y=0;y<i.properties.length;y++){var k=i.properties[y];if(f)(d||"var"===u)&&("Property"===k.type?"Identifier"===(V=k.value).type?a[u](V.name,d?Y:"var"===u?Q:void 0):ue(V,a,{kind:u,hoist:f,onlyBlock:d}):Ae(k,a,{kind:u,hoist:f,onlyBlock:d}));else if("Property"===k.type){var V,R;R=k.computed?C(k.key,a):k.key.name,w.push(R),"Identifier"===(V=k.value).type?a[u](V.name,b[R]):ue(V,a,{kind:u,feed:b[R]})}else{for(var J=W({},b),Re=0;Re<w.length;Re++)delete J[w[Re]];Ae(k,a,{kind:u,feed:J})}}}function _t(i,a,r){void 0===r&&(r={});for(var n=r.kind,u=r.hoist,l=void 0!==u&&u,f=r.onlyBlock,p=void 0!==f&&f,d=r.feed,v=void 0===d?[]:d,b=[],w=0;w<i.elements.length;w++){var y=i.elements[w];if(y)if(l)(p||"var"===n)&&("Identifier"===y.type?a[n](y.name,p?Y:"var"===n?Q:void 0):ue(y,a,{kind:n,hoist:l,onlyBlock:p}));else if("Identifier"===y.type)if(n)a[n](y.name,v[w]);else{var k=K(y,a,{getVar:!0});k.set(v[w]),b.push(k.get())}else"RestElement"===y.type?Ae(y,a,{kind:n,feed:v.slice(w)}):ue(y,a,{kind:n,feed:v[w]})}if(b.length)return b}function Ae(i,a,r){void 0===r&&(r={});var n=r.kind,u=r.hoist,l=void 0!==u&&u,f=r.onlyBlock,p=void 0!==f&&f,d=r.feed,v=void 0===d?[]:d,b=i.argument;l?(p||"var"===n)&&("Identifier"===b.type?a[n](b.name,p?Y:"var"===n?Q:void 0):ue(b,a,{kind:n,hoist:l,onlyBlock:p})):"Identifier"===b.type?n?a[n](b.name,v):K(b,a,{getVar:!0}).set(v):ue(b,a,{kind:n,feed:v})}function Pt(i,a,r){void 0===r&&(r={});var n=r.kind,u=void 0===n?"var":n,l=r.hoist,f=void 0!==l&&l,p=r.onlyBlock,d=void 0!==p&&p,v=r.feed,b=void 0===v?C(i.right,a):v,w=i.left;f?(d||"var"===u)&&("Identifier"===w.type?a[u](w.name,d?Y:"var"===u?Q:void 0):ue(w,a,{kind:u,hoist:f,onlyBlock:d})):"Identifier"===w.type?a[u](w.name,b):ue(w,a,{kind:u,feed:b})}var Je=Object.freeze({__proto__:null,ObjectPattern:At,ArrayPattern:_t,RestElement:Ae,AssignmentPattern:Pt});var et,Tt=Object.freeze({__proto__:null,Program:function Vt(i,a){for(var r=0;r<i.body.length;r++)C(i.body[r],a)}});function C(i,a){if(i){et||(et=W({},Be,z,mt,It,xt,Je,Tt));var r=et[i.type];if(r)return r(i,a);throw new Error(i.type+" isn't implemented")}}function O(i,a){a.func(i.id.name,Ge(i,a))}function Se(i,a,r){void 0===r&&(r={});for(var n=0;n<i.declarations.length;n++)lt(i.declarations[n],a,W({kind:i.kind},r))}function lt(i,a,r){void 0===r&&(r={});var n=r.kind,u=void 0===n?"var":n,l=r.hoist,f=void 0!==l&&l,p=r.onlyBlock,d=void 0!==p&&p,v=r.feed;if(f)(d||"var"===u)&&("Identifier"===i.id.type?a[u](i.id.name,d?Y:"var"===u?Q:void 0):ue(i.id,a,{kind:u,hoist:f,onlyBlock:d}));else{var b="feed"in r,w=b?v:C(i.init,a);if("Identifier"===i.id.type){var y=i.id.name;"var"!==u||i.init||b?a[u](y,w):a.var(y,Q),i.init&&-1!==["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(i.init.type)&&!w.name&&M(w,"name",{value:y,configurable:!0})}else ue(i.id,a,{kind:u,feed:w})}}function Nt(i,a){a.func(i.id.name,rr(i,a))}function Lt(i,a,r){void 0===r&&(r={});for(var n=r.klass,u=r.superClass,l=0;l<i.body.length;l++)Rt(i.body[l],a,{klass:n,superClass:u})}function Rt(i,a,r){void 0===r&&(r={});var l,n=r.klass,u=r.superClass;if(i.computed)l=C(i.key,a);else{if("Identifier"!==i.key.type)throw new SyntaxError("Unexpected token");l=i.key.name}var f=i.static?n:n.prototype,p=Ge(i.value,a,{superClass:u});switch(i.kind){case"constructor":break;case"method":M(f,l,{value:p,writable:!0,configurable:!0});break;case"get":var d=fe(f,l);M(f,l,{get:p,set:d&&d.set,configurable:!0});break;case"set":d=fe(f,l),M(f,l,{get:d&&d.get,set:p,configurable:!0});break;default:throw new SyntaxError("Unexpected token")}}function Le(i,a,r){var n,u,l,f,p,d;return void 0===r&&(r={}),I(this,function(v){if(u=void 0!==(n=r.getVar)&&n,f=void 0===(l=r.throwErr)||l,"undefined"===i.name)return[2,void 0];if(p=a.find(i.name)){if(u)return[2,p];if((d=p.get())===Y)throw new ReferenceError(i.name+" is not defined");return[2,d]}if(f)throw new ReferenceError(i.name+" is not defined");return[2,void 0]})}var e=Object.freeze({__proto__:null,Identifier:Le});function t(i,a){return I(this,function(r){return[2,i.value]})}var s=Object.freeze({__proto__:null,Literal:t});function te(i,a,r){var n,u,l,f,p,d,v,b,w,y;return void 0===r&&(r={}),I(this,function(k){switch(k.label){case 0:return u=void 0!==(n=r.getObj)&&n,f=void 0!==(l=r.getVar)&&l,"Super"!==i.object.type?[3,2]:[5,x(nr(0,a,{getProto:!0}))];case 1:return p=k.sent(),[3,4];case 2:return[5,x(A(i.object,a))];case 3:p=k.sent(),k.label=4;case 4:return u?[2,p]:i.computed?[5,x(A(i.property,a))]:[3,6];case 5:return d=k.sent(),[3,7];case 6:d=i.property.name,k.label=7;case 7:return f?(v=ee(p,d),"Super"===i.object.type&&v?(y=a.find("this").get(),b=$(d),M(y,b,{set:v}),[2,new be(y,b)]):[2,new be(p,d)]):(w=re(p,d),"Super"===i.object.type&&w?(y=a.find("this").get(),[2,w.call(y)]):[2,p[d]])}})}function ar(i,a){return I(this,function(r){return[2,i.value.raw]})}function nr(i,a,r){var n,u,l;return void 0===r&&(r={}),I(this,function(f){return u=void 0!==(n=r.getProto)&&n,l=a.find(Qe).get(),[2,u?l.prototype:l]})}function ht(i,a){return I(this,function(r){switch(r.label){case 0:return[5,x(A(i.argument,a))];case 1:return[2,r.sent()]}})}var Er=Object.freeze({__proto__:null,ThisExpression:function o(i,a){var r;return I(this,function(n){if((r=a.find(ye))&&!r.get())throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return[2,a.find("this").get()]})},ArrayExpression:function h(i,a){var r,n,u,l,f,p,d;return I(this,function(v){switch(v.label){case 0:r=[],n=0,v.label=1;case 1:return n<i.elements.length?"SpreadElement"!==(u=i.elements[n]).type?[3,3]:(f=(l=r).concat,[5,x(ht(u,a))]):[3,6];case 2:return r=f.apply(l,[v.sent()]),[3,5];case 3:return d=(p=r).push,[5,x(A(u,a))];case 4:d.apply(p,[v.sent()]),v.label=5;case 5:return n++,[3,1];case 6:return[2,r]}})},ObjectExpression:function m(i,a){var r,n,u,l,f,p,d,v,b,w,y;return I(this,function(k){switch(k.label){case 0:r={},n=0,k.label=1;case 1:return n<i.properties.length?"SpreadElement"!==(u=i.properties[n]).type?[3,3]:(l=W,f=[r],[5,x(ht(u,a))]):[3,11];case 2:return l.apply(void 0,f.concat([k.sent()])),[3,10];case 3:return p=void 0,d=u.key,u.computed?[5,x(A(d,a))]:[3,5];case 4:return p=k.sent(),[3,8];case 5:return"Identifier"!==d.type?[3,6]:(p=d.name,[3,8]);case 6:return v="",[5,x(t(d))];case 7:p=v+k.sent(),k.label=8;case 8:return[5,x(A(u.value,a))];case 9:b=k.sent(),"init"===(w=u.kind)?r[p]=b:"get"===w?(y=fe(r,p),M(r,p,{get:b,set:y&&y.set,enumerable:!0,configurable:!0})):(y=fe(r,p),M(r,p,{get:y&&y.get,set:b,enumerable:!0,configurable:!0})),k.label=10;case 10:return n++,[3,1];case 11:return[2,r]}})},FunctionExpression:function g(i,a){var r,n;return I(this,function(u){return i.id&&i.id.name?(r=new H(a),n=ze(i,r),r.const(i.id.name,n),[2,n]):[2,ze(i,a)]})},UnaryExpression:function E(i,a){var r;return I(this,function(l){switch(l.label){case 0:switch(r=i.argument,i.operator){case"+":return[3,1];case"-":return[3,3];case"!":return[3,5];case"~":return[3,7];case"void":return[3,9];case"typeof":return[3,11];case"delete":return[3,15]}return[3,20];case 1:case 3:case 5:case 7:case 9:case 13:case 18:return[5,x(A(r,a))];case 2:return[2,+l.sent()];case 4:return[2,-l.sent()];case 6:return[2,!l.sent()];case 8:return[2,~l.sent()];case 10:return[2,void l.sent()];case 11:return"Identifier"!==r.type?[3,13]:[5,x(Le(r,a,{throwErr:!1}))];case 12:case 14:return[2,typeof l.sent()];case 15:return"MemberExpression"!==r.type?[3,17]:[5,x(te(r,a,{getVar:!0}))];case 16:return[2,l.sent().del()];case 17:if("Identifier"!==r.type)return[3,18];throw new SyntaxError("Delete of an unqualified identifier in strict mode");case 19:return l.sent(),[2,!0];case 20:throw new SyntaxError("Unexpected token "+i.operator)}})},UpdateExpression:function P(i,a){var r,n,u;return I(this,function(l){switch(l.label){case 0:return"Identifier"!==(r=i.argument).type?[3,2]:[5,x(Le(r,a,{getVar:!0}))];case 1:case 3:return n=l.sent(),[3,5];case 2:return"MemberExpression"!==r.type?[3,4]:[5,x(te(r,a,{getVar:!0}))];case 4:throw new SyntaxError("Unexpected token");case 5:if(u=n.get(),"++"===i.operator)return n.set(u+1),[2,i.prefix?n.get():u];if("--"===i.operator)return n.set(u-1),[2,i.prefix?n.get():u];throw new SyntaxError("Unexpected token "+i.operator)}})},BinaryExpression:function D(i,a){var r,n;return I(this,function(u){switch(u.label){case 0:return[5,x(A(i.left,a))];case 1:return r=u.sent(),[5,x(A(i.right,a))];case 2:switch(n=u.sent(),i.operator){case"==":return[2,r==n];case"!=":return[2,r!=n];case"===":return[2,r===n];case"!==":return[2,r!==n];case"<":return[2,r<n];case"<=":return[2,r<=n];case">":return[2,r>n];case">=":return[2,r>=n];case"<<":return[2,r<<n];case">>":return[2,r>>n];case">>>":return[2,r>>>n];case"+":return[2,r+n];case"-":return[2,r-n];case"*":return[2,r*n];case"**":return[2,Math.pow(r,n)];case"/":return[2,r/n];case"%":return[2,r%n];case"|":return[2,r|n];case"^":return[2,r^n];case"&":return[2,r&n];case"in":return[2,r in n];case"instanceof":return[2,r instanceof n];default:throw new SyntaxError("Unexpected token "+i.operator)}}})},AssignmentExpression:function G(i,a){var r,n,u,l;return I(this,function(f){switch(f.label){case 0:return[5,x(A(i.right,a))];case 1:return r=f.sent(),"Identifier"!==(n=i.left).type?[3,3]:[5,x(Le(n,a,{getVar:!0,throwErr:!1}))];case 2:return(u=f.sent())||(l=a.global().find("window").get(),u=new be(l,n.name)),[3,7];case 3:return"MemberExpression"!==n.type?[3,5]:[5,x(te(n,a,{getVar:!0}))];case 4:return u=f.sent(),[3,7];case 5:return[5,x(se(n,a,{feed:r}))];case 6:return[2,f.sent()];case 7:switch(i.operator){case"=":return u.set(r),[2,u.get()];case"+=":return u.set(u.get()+r),[2,u.get()];case"-=":return u.set(u.get()-r),[2,u.get()];case"*=":return u.set(u.get()*r),[2,u.get()];case"/=":return u.set(u.get()/r),[2,u.get()];case"%=":return u.set(u.get()%r),[2,u.get()];case"**=":return u.set(Math.pow(u.get(),r)),[2,u.get()];case"<<=":return u.set(u.get()<<r),[2,u.get()];case">>=":return u.set(u.get()>>r),[2,u.get()];case">>>=":return u.set(u.get()>>>r),[2,u.get()];case"|=":return u.set(u.get()|r),[2,u.get()];case"^=":return u.set(u.get()^r),[2,u.get()];case"&=":return u.set(u.get()&r),[2,u.get()];default:throw new SyntaxError("Unexpected token "+i.operator)}}})},LogicalExpression:function me(i,a){var n,u;return I(this,function(l){switch(l.label){case 0:switch(i.operator){case"||":return[3,1];case"&&":return[3,5]}return[3,9];case 1:return[5,x(A(i.left,a))];case 2:return(n=l.sent())?[3,4]:[5,x(A(i.right,a))];case 3:n=l.sent(),l.label=4;case 4:return[2,n];case 5:return[5,x(A(i.left,a))];case 6:return(u=l.sent())?[5,x(A(i.right,a))]:[3,8];case 7:u=l.sent(),l.label=8;case 8:return[2,u];case 9:throw new SyntaxError("Unexpected token "+i.operator)}})},MemberExpression:te,ConditionalExpression:function _e(i,a){var r;return I(this,function(n){switch(n.label){case 0:return[5,x(A(i.test,a))];case 1:return n.sent()?[5,x(A(i.consequent,a))]:[3,3];case 2:return r=n.sent(),[3,5];case 3:return[5,x(A(i.alternate,a))];case 4:r=n.sent(),n.label=5;case 5:return[2,r]}})},CallExpression:function qe(i,a){var r,n,u,l,f,p,d,v,b,w,y,k;return I(this,function(R){switch(R.label){case 0:return"MemberExpression"!==i.callee.type?[3,5]:[5,x(te(i.callee,a,{getObj:!0}))];case 1:return n=R.sent(),u=void 0,i.callee.computed?[5,x(A(i.callee.property,a))]:[3,3];case 2:return u=R.sent(),[3,4];case 3:u=i.callee.property.name,R.label=4;case 4:if("Super"===i.callee.object.type?(l=a.find("this").get(),r=n[u].bind(l)):r=n[u],"function"!=typeof r)throw new TypeError(u+" is not a function");if(r[le])throw new TypeError("Class constructor "+u+" cannot be invoked without 'new'");return[3,7];case 5:return n=a.find("this").get(),[5,x(A(i.callee,a))];case 6:if("function"!=typeof(r=R.sent())||"Super"!==i.callee.type&&r[le]){if("Identifier"===i.callee.type)f=i.callee.name;else try{f=JSON.stringify(r)}catch{f=""+r}throw"function"!=typeof r?new TypeError(f+" is not a function"):new TypeError("Class constructor "+f+" cannot be invoked without 'new'")}R.label=7;case 7:p=[],d=0,R.label=8;case 8:return d<i.arguments.length?"SpreadElement"!==(v=i.arguments[d]).type?[3,10]:(w=(b=p).concat,[5,x(ht(v,a))]):[3,13];case 9:return p=w.apply(b,[R.sent()]),[3,12];case 10:return k=(y=p).push,[5,x(A(v,a))];case 11:k.apply(y,[R.sent()]),R.label=12;case 12:return d++,[3,8];case 13:if("Super"===i.callee.type){if(a.find(ye).get())throw new ReferenceError("Super constructor may only be called once");a.find(ye).set(!0)}return n&&n[De]&&-1!==r.toString().indexOf("[native code]")?[2,r.apply(n[De],p)]:[2,r.apply(n,p)]}})},NewExpression:function Yt(i,a){var r,n,u,l,f,p,d,v,b;return I(this,function(w){switch(w.label){case 0:return[5,x(A(i.callee,a))];case 1:if("function"!=typeof(r=w.sent())){if("Identifier"===i.callee.type)n=i.callee.name;else try{n=JSON.stringify(r)}catch{n=""+r}throw new TypeError(n+" is not a constructor")}if(r[ge])throw new TypeError((r.name||"(intermediate value)")+" is not a constructor");u=[],l=0,w.label=2;case 2:return l<i.arguments.length?"SpreadElement"!==(f=i.arguments[l]).type?[3,4]:(d=(p=u).concat,[5,x(ht(f,a))]):[3,7];case 3:return u=d.apply(p,[w.sent()]),[3,6];case 4:return b=(v=u).push,[5,x(A(f,a))];case 5:b.apply(v,[w.sent()]),w.label=6;case 6:return l++,[3,2];case 7:return[2,new(r.bind.apply(r,Ne([void 0],u)))]}})},MetaProperty:function Ot(i,a){return I(this,function(r){return[2,a.find(Te).get()]})},SequenceExpression:function xr(i,a){var r,n;return I(this,function(u){switch(u.label){case 0:n=0,u.label=1;case 1:return n<i.expressions.length?[5,x(A(i.expressions[n],a))]:[3,4];case 2:r=u.sent(),u.label=3;case 3:return n++,[3,1];case 4:return[2,r]}})},ArrowFunctionExpression:function yr(i,a){return I(this,function(r){return[2,ze(i,a)]})},TemplateLiteral:function gr(i,a){var r,n,u,l,f,p,d;return I(this,function(v){switch(v.label){case 0:r=i.quasis.slice(),n=i.expressions.slice(),u="",v.label=1;case 1:return(l=r.shift())?(p=u,[5,x(ar(l))]):[3,5];case 2:return u=p+v.sent(),(f=n.shift())?(d=u,[5,x(A(f,a))]):[3,4];case 3:u=d+v.sent(),v.label=4;case 4:return[3,1];case 5:return[2,u]}})},TaggedTemplateExpression:function br(i,a){var r,n,u,l,f,p,d,v,b;return I(this,function(w){switch(w.label){case 0:return[5,x(A(i.tag,a))];case 1:if(r=w.sent(),u=(n=i.quasi.quasis).map(function(y){return y.value.cooked}),l=n.map(function(y){return y.value.raw}),M(u,"raw",{value:He(l)}),p=[],!(f=i.quasi.expressions))return[3,5];d=0,w.label=2;case 2:return d<f.length?(b=(v=p).push,[5,x(A(f[d],a))]):[3,5];case 3:b.apply(v,[w.sent()]),w.label=4;case 4:return d++,[3,2];case 5:return[2,r.apply(void 0,Ne([He(u)],p))]}})},TemplateElement:ar,ClassExpression:function wr(i,a){var r,n;return I(this,function(u){switch(u.label){case 0:return i.id&&i.id.name?(r=new H(a),[5,x(Jt(i,r))]):[3,2];case 1:return n=u.sent(),r.const(i.id.name,n),[2,n];case 2:return[5,x(Jt(i,a))];case 3:return[2,u.sent()]}})},Super:nr,SpreadElement:ht,YieldExpression:function kr(i,a){var r,n;return I(this,function(u){switch(u.label){case 0:return[5,x(A(i.argument,a))];case 1:return r=u.sent(),i.delegate?[5,x(r)]:[3,3];case 2:return n=u.sent(),[3,5];case 3:return[4,r];case 4:n=u.sent(),u.label=5;case 5:return[2,n]}})},AwaitExpression:function Sr(i,a){var r;return I(this,function(n){switch(n.label){case 0:return r=ne,[5,x(A(i.argument,a))];case 1:return r.RES=n.sent(),[4,ne];case 2:return[2,n.sent()]}})}});function We(i,a,r){var n,l,f,p,d,v;return void 0===r&&(r={}),I(this,function(b){switch(b.label){case 0:return f=void 0!==(l=r.hoisted)&&l,p=void 0!==(n=r.invasived)&&n?a:new H(a),f?[3,2]:[5,x(vr(i,p,{onlyBlock:!0}))];case 1:b.sent(),b.label=2;case 2:d=0,b.label=3;case 3:return d<i.body.length?[5,x(A(i.body[d],p))]:[3,6];case 4:if((v=b.sent())===U||v===j||v===B)return[2,v];b.label=5;case 5:return d++,[3,3];case 6:return[2]}})}function sr(i,a){var r,n;return I(this,function(u){switch(u.label){case 0:r=0,u.label=1;case 1:return r<i.consequent.length?[5,x(A(i.consequent[r],a))]:[3,4];case 2:if((n=u.sent())===U||n===j||n===B)return[2,n];u.label=3;case 3:return r++,[3,1];case 4:return[2]}})}function ur(i,a){return I(this,function(r){switch(r.label){case 0:return[5,x(We(i.body,a,{invasived:!0}))];case 1:return[2,r.sent()]}})}var Ur=Object.freeze({__proto__:null,ExpressionStatement:function Cr(i,a){return I(this,function(r){switch(r.label){case 0:return[5,x(A(i.expression,a))];case 1:return r.sent(),[2]}})},BlockStatement:We,EmptyStatement:function Ir(){return I(this,function(i){return[2]})},DebuggerStatement:function Ar(){return I(this,function(i){return[2]})},ReturnStatement:function _r(i,a){var r,n;return I(this,function(u){switch(u.label){case 0:return r=B,i.argument?[5,x(A(i.argument,a))]:[3,2];case 1:return n=u.sent(),[3,3];case 2:n=void 0,u.label=3;case 3:return r.RES=n,[2,B]}})},BreakStatement:function Pr(){return I(this,function(i){return[2,U]})},ContinueStatement:function Vr(){return I(this,function(i){return[2,j]})},IfStatement:function Tr(i,a){return I(this,function(r){switch(r.label){case 0:return[5,x(A(i.test,a))];case 1:return r.sent()?[5,x(A(i.consequent,a))]:[3,3];case 2:case 4:return[2,r.sent()];case 3:return[5,x(A(i.alternate,a))]}})},SwitchStatement:function Nr(i,a){var r,n,u,l,f,p,d;return I(this,function(v){switch(v.label){case 0:return[5,x(A(i.discriminant,a))];case 1:r=v.sent(),n=!1,u=0,v.label=2;case 2:return u<i.cases.length?(l=i.cases[u],(f=!n)?(p=!l.test)?[3,4]:[5,x(A(l.test,a))]:[3,5]):[3,8];case 3:p=v.sent()===r,v.label=4;case 4:f=p,v.label=5;case 5:return f&&(n=!0),n?[5,x(sr(l,a))]:[3,7];case 6:if((d=v.sent())===U)return[3,8];if(d===j||d===B)return[2,d];v.label=7;case 7:return u++,[3,2];case 8:return[2]}})},SwitchCase:sr,ThrowStatement:function Lr(i,a){return I(this,function(r){switch(r.label){case 0:return[5,x(A(i.argument,a))];case 1:throw r.sent()}})},TryStatement:function Rr(i,a){var r,n,u,f;return I(this,function(p){switch(p.label){case 0:return p.trys.push([0,2,9,12]),[5,x(We(i.block,a))];case 1:return[2,p.sent()];case 2:return r=p.sent(),i.handler?(n=new H(a),(u=i.handler.param)?"Identifier"!==u.type?[3,3]:(n.var(u.name,r),[3,5]):[3,5]):[3,7];case 3:return[5,x(se(u,a,{feed:r}))];case 4:p.sent(),p.label=5;case 5:return[5,x(ur(i.handler,n))];case 6:return[2,p.sent()];case 7:throw r;case 8:return[3,12];case 9:return i.finalizer?[5,x(We(i.finalizer,a))]:[3,11];case 10:if((f=p.sent())===U||f===j||f===B)return[2,f];p.label=11;case 11:return[7];case 12:return[2]}})},CatchClause:ur,WhileStatement:function Or(i,a){var r;return I(this,function(n){switch(n.label){case 0:return[5,x(A(i.test,a))];case 1:return n.sent()?[5,x(A(i.body,a))]:[3,3];case 2:return(r=n.sent())===U?[3,3]:r===j?[3,0]:r===B?[2,r]:[3,0];case 3:return[2]}})},DoWhileStatement:function Br(i,a){var r;return I(this,function(n){switch(n.label){case 0:return[5,x(A(i.body,a))];case 1:if((r=n.sent())===U)return[3,4];if(r===j)return[3,2];if(r===B)return[2,r];n.label=2;case 2:return[5,x(A(i.test,a))];case 3:if(n.sent())return[3,0];n.label=4;case 4:return[2]}})},ForStatement:function Fr(i,a){var r,n,u,l;return I(this,function(f){switch(f.label){case 0:return r=new H(a),[5,x(A(i.init,r))];case 1:f.sent(),f.label=2;case 2:return i.test?[5,x(A(i.test,r))]:[3,4];case 3:return n=f.sent(),[3,5];case 4:n=!0,f.label=5;case 5:return n?(u=new H(r),l=void 0,"BlockStatement"!==i.body.type?[3,7]:[5,x(We(i.body,u,{invasived:!0}))]):[3,12];case 6:return l=f.sent(),[3,9];case 7:return[5,x(A(i.body,u))];case 8:l=f.sent(),f.label=9;case 9:if(l===U)return[3,12];if(l===j)return[3,10];if(l===B)return[2,l];f.label=10;case 10:return[5,x(A(i.update,r))];case 11:return f.sent(),[3,2];case 12:return[2]}})},ForInStatement:function Dr(i,a){var r,n,u,f;return I(this,function(p){switch(p.label){case 0:return r=[],[5,x(A(i.right,a))];case 1:for(n in p.sent())r.push(n);u=0,p.label=2;case 2:return u<r.length?[5,x(er(i,a,{value:r[u]}))]:[3,5];case 3:if((f=p.sent())===U)return[3,5];if(f===j)return[3,4];if(f===B)return[2,f];p.label=4;case 4:return u++,[3,2];case 5:return[2]}})},ForOfStatement:function Mr(i,a){var r,n,u,l,f,d,v,b,w;return I(this,function(y){switch(y.label){case 0:return[5,x(A(i.right,a))];case 1:return r=y.sent(),i.await?(n=function dt(i){var a;if("function"==typeof Symbol&&!(a=i[Symbol.asyncIterator])&&(a=i[Symbol.iterator]),a)return a.call(i);if("function"==typeof i.next)return i;var r=0;return{next:function(){return i&&r>=i.length&&(i=void 0),{value:i&&i[r++],done:!i}}}}(r),u=void 0,ne.RES=n.next(),[4,ne]):[3,8];case 2:u=y.sent(),y.label=3;case 3:return u.done?[3,7]:[5,x(er(i,a,{value:u.value}))];case 4:if((d=y.sent())===U)return[3,7];if(d===j)return[3,5];if(d===B)return[2,d];y.label=5;case 5:return ne.RES=n.next(),[4,ne];case 6:return u=y.sent(),[3,3];case 7:return[3,15];case 8:y.trys.push([8,13,14,15]),l=x(r),f=l.next(),y.label=9;case 9:return f.done?[3,12]:[5,x(er(i,a,{value:f.value}))];case 10:if((d=y.sent())===U)return[3,12];if(d===j)return[3,11];if(d===B)return[2,d];y.label=11;case 11:return f=l.next(),[3,9];case 12:return[3,15];case 13:return v=y.sent(),b={error:v},[3,15];case 14:try{f&&!f.done&&(w=l.return)&&w.call(l)}finally{if(b)throw b.error}return[7];case 15:return[2]}})}});function or(i,a,r){var n,u,l,f,p,d,v,b,w,y,k,V,R,J,Re;return void 0===r&&(r={}),I(this,function(he){switch(he.label){case 0:u=void 0===(n=r.kind)?"var":n,f=void 0!==(l=r.hoist)&&l,d=void 0!==(p=r.onlyBlock)&&p,b=void 0===(v=r.feed)?{}:v,w=[],y=0,he.label=1;case 1:return y<i.properties.length?(k=i.properties[y],f?d||"var"===u?"Property"!==k.type?[3,5]:"Identifier"!==(R=k.value).type?[3,2]:(a[u](R.name,d?Y:"var"===u?Q:void 0),[3,4]):[3,7]:[3,8]):[3,18];case 2:return[5,x(se(R,a,{kind:u,hoist:f,onlyBlock:d}))];case 3:he.sent(),he.label=4;case 4:return[3,7];case 5:return[5,x(tt(k,a,{kind:u,hoist:f,onlyBlock:d}))];case 6:he.sent(),he.label=7;case 7:return[3,17];case 8:return"Property"!==k.type?[3,15]:(V=void 0,k.computed?[5,x(A(k.key,a))]:[3,10]);case 9:return V=he.sent(),[3,11];case 10:V=k.key.name,he.label=11;case 11:return w.push(V),"Identifier"!==(R=k.value).type?[3,12]:(a[u](R.name,b[V]),[3,14]);case 12:return[5,x(se(R,a,{kind:u,feed:b[V]}))];case 13:he.sent(),he.label=14;case 14:return[3,17];case 15:for(J=W({},b),Re=0;Re<w.length;Re++)delete J[w[Re]];return[5,x(tt(k,a,{kind:u,feed:J}))];case 16:he.sent(),he.label=17;case 17:return y++,[3,1];case 18:return[2]}})}function cr(i,a,r){var n,u,l,f,p,d,v,b,w,y,k;return void 0===r&&(r={}),I(this,function(V){switch(V.label){case 0:n=r.kind,l=void 0!==(u=r.hoist)&&u,p=void 0!==(f=r.onlyBlock)&&f,v=void 0===(d=r.feed)?[]:d,b=[],w=0,V.label=1;case 1:return w<i.elements.length?(y=i.elements[w])?l?p||"var"===n?"Identifier"!==y.type?[3,2]:(a[n](y.name,p?Y:"var"===n?Q:void 0),[3,4]):[3,4]:[3,5]:[3,13]:[3,14];case 2:return[5,x(se(y,a,{kind:n,hoist:l,onlyBlock:p}))];case 3:V.sent(),V.label=4;case 4:return[3,13];case 5:return"Identifier"!==y.type?[3,9]:n?(a[n](y.name,v[w]),[3,8]):[3,6];case 6:return[5,x(Le(y,a,{getVar:!0}))];case 7:(k=V.sent()).set(v[w]),b.push(k.get()),V.label=8;case 8:return[3,13];case 9:return"RestElement"!==y.type?[3,11]:[5,x(tt(y,a,{kind:n,feed:v.slice(w)}))];case 10:return V.sent(),[3,13];case 11:return[5,x(se(y,a,{kind:n,feed:v[w]}))];case 12:V.sent(),V.label=13;case 13:return w++,[3,1];case 14:return b.length?[2,b]:[2]}})}function tt(i,a,r){var n,u,l,f,p,d,v,b;return void 0===r&&(r={}),I(this,function(y){switch(y.label){case 0:return n=r.kind,p=void 0!==(f=r.onlyBlock)&&f,v=void 0===(d=r.feed)?[]:d,b=i.argument,(l=void 0!==(u=r.hoist)&&u)?p||"var"===n?"Identifier"!==b.type?[3,1]:(a[n](b.name,p?Y:"var"===n?Q:void 0),[3,3]):[3,3]:[3,4];case 1:return[5,x(se(b,a,{kind:n,hoist:l,onlyBlock:p}))];case 2:y.sent(),y.label=3;case 3:return[3,10];case 4:return"Identifier"!==b.type?[3,8]:n?(a[n](b.name,v),[3,7]):[3,5];case 5:return[5,x(Le(b,a,{getVar:!0}))];case 6:y.sent().set(v),y.label=7;case 7:return[3,10];case 8:return[5,x(se(b,a,{kind:n,feed:v}))];case 9:y.sent(),y.label=10;case 10:return[2]}})}function lr(i,a,r){var n,u,l,f,p,d,v,b,w,y;return void 0===r&&(r={}),I(this,function(k){switch(k.label){case 0:return u=void 0===(n=r.kind)?"var":n,f=void 0!==(l=r.hoist)&&l,d=void 0!==(p=r.onlyBlock)&&p,void 0!==(v=r.feed)?[3,2]:[5,x(A(i.right,a))];case 1:return w=k.sent(),[3,3];case 2:w=v,k.label=3;case 3:return b=w,y=i.left,f?d||"var"===u?"Identifier"!==y.type?[3,4]:(a[u](y.name,d?Y:"var"===u?Q:void 0),[3,6]):[3,6]:[3,7];case 4:return[5,x(se(y,a,{kind:u,hoist:f,onlyBlock:d}))];case 5:k.sent(),k.label=6;case 6:return[3,10];case 7:return"Identifier"!==y.type?[3,8]:(a[u](y.name,b),[3,10]);case 8:return[5,x(se(y,a,{kind:u,feed:b}))];case 9:k.sent(),k.label=10;case 10:return[2]}})}var Zt,jr=Object.freeze({__proto__:null,ObjectPattern:or,ArrayPattern:cr,RestElement:tt,AssignmentPattern:lr});function A(i,a){var r;return I(this,function(n){switch(n.label){case 0:return i?(Zt||(Zt=W({},Ft,Er,e,Ur,s,jr)),(r=Zt[i.type])?[5,x(r(i,a))]:[3,2]):[2];case 1:return[2,n.sent()];case 2:throw new Error(i.type+" isn't implemented")}})}function qr(i,a){return I(this,function(r){return a.func(i.id.name,ze(i,a)),[2]})}function rt(i,a,r){var n;return void 0===r&&(r={}),I(this,function(u){switch(u.label){case 0:n=0,u.label=1;case 1:return n<i.declarations.length?[5,x(hr(i.declarations[n],a,W({kind:i.kind},r)))]:[3,4];case 2:u.sent(),u.label=3;case 3:return n++,[3,1];case 4:return[2]}})}function hr(i,a,r){var n,u,l,f,p,d,v,b,w,y,k;return void 0===r&&(r={}),I(this,function(V){switch(V.label){case 0:return u=void 0===(n=r.kind)?"var":n,d=void 0!==(p=r.onlyBlock)&&p,v=r.feed,(f=void 0!==(l=r.hoist)&&l)?d||"var"===u?"Identifier"!==i.id.type?[3,1]:(a[u](i.id.name,d?Y:"var"===u?Q:void 0),[3,3]):[3,3]:[3,4];case 1:return[5,x(se(i.id,a,{kind:u,hoist:f,onlyBlock:d}))];case 2:V.sent(),V.label=3;case 3:return[3,10];case 4:return(b="feed"in r)?(y=v,[3,7]):[3,5];case 5:return[5,x(A(i.init,a))];case 6:y=V.sent(),V.label=7;case 7:return w=y,"Identifier"!==i.id.type?[3,8]:(k=i.id.name,"var"!==u||i.init||b?a[u](k,w):a.var(k,Q),i.init&&-1!==["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(i.init.type)&&!w.name&&M(w,"name",{value:k,configurable:!0}),[3,10]);case 8:return[5,x(se(i.id,a,{kind:u,feed:w}))];case 9:V.sent(),V.label=10;case 10:return[2]}})}function Wr(i,a){var r,n,u;return I(this,function(l){switch(l.label){case 0:return n=(r=a).func,u=[i.id.name],[5,x(Jt(i,a))];case 1:return n.apply(r,u.concat([l.sent()])),[2]}})}function fr(i,a,r){var n,u,l;return void 0===r&&(r={}),I(this,function(f){switch(f.label){case 0:n=r.klass,u=r.superClass,l=0,f.label=1;case 1:return l<i.body.length?[5,x(pr(i.body[l],a,{klass:n,superClass:u}))]:[3,4];case 2:f.sent(),f.label=3;case 3:return l++,[3,1];case 4:return[2]}})}function pr(i,a,r){var n,u,l,f,p,d;return void 0===r&&(r={}),I(this,function(v){switch(v.label){case 0:return n=r.klass,u=r.superClass,i.computed?[5,x(A(i.key,a))]:[3,2];case 1:return l=v.sent(),[3,3];case 2:if("Identifier"!==i.key.type)throw new SyntaxError("Unexpected token");l=i.key.name,v.label=3;case 3:switch(f=i.static?n:n.prototype,p=ze(i.value,a,{superClass:u}),i.kind){case"constructor":break;case"method":M(f,l,{value:p,writable:!0,configurable:!0});break;case"get":d=fe(f,l),M(f,l,{get:p,set:d&&d.set,configurable:!0});break;case"set":d=fe(f,l),M(f,l,{get:d&&d.get,set:p,configurable:!0});break;default:throw new SyntaxError("Unexpected token")}return[2]}})}function dr(i,a){void 0===a&&(a={});var r=a.res,n=a.err,u=a.ret,l=a.fullRet;return new Promise(function(f,p){if("ret"in a)return f(i.return(u));function d(w){var y;try{y=i.next(w)}catch(k){return p(k)}return b(y),null}function v(w){var y;try{y=i.throw(w)}catch(k){return p(k)}b(y)}function b(w){if(w.done)return f(l?w:w.value);if(w.value!==ne)return f(w);var y=w.value.RES;return(y&&"function"===y.then?y:Promise.resolve(y)).then(d,v)}"err"in a?v(n):d(r)})}function vr(i,a,r){var n,u,l,f,p,d;return void 0===r&&(r={}),I(this,function(v){switch(v.label){case 0:u=void 0!==(n=r.onlyBlock)&&n,l=[],f=[],d=0,v.label=1;case 1:return d<i.body.length?"FunctionDeclaration"!==(p=i.body[d]).type?[3,2]:(l.push(p),f.push(d),[3,6]):[3,7];case 2:return"VariableDeclaration"===p.type&&-1!==["const","let"].indexOf(p.kind)?[5,x(rt(p,a,{hoist:!0,onlyBlock:!0}))]:[3,4];case 3:return v.sent(),[3,6];case 4:return u?[3,6]:[5,x(Pe(p,a))];case 5:v.sent(),v.label=6;case 6:return d++,[3,1];case 7:if(f.length){for(d=f.length-1;d>-1;d--)i.body.splice(f[d],1);i.body=l.concat(i.body)}return[2]}})}function Pe(i,a){var n,u,l,f,p;return I(this,function(d){switch(d.label){case 0:switch(i.type){case"VariableDeclaration":return[3,1];case"ForInStatement":case"ForOfStatement":return[3,3];case"ForStatement":return[3,5];case"WhileStatement":case"DoWhileStatement":return[3,7];case"IfStatement":return[3,9];case"BlockStatement":return[3,13];case"SwitchStatement":return[3,18];case"TryStatement":return[3,25]}return[3,38];case 1:return[5,x(rt(i,a,{hoist:!0}))];case 2:return d.sent(),[3,38];case 3:return"VariableDeclaration"!==i.left.type?[3,5]:[5,x(rt(i.left,a,{hoist:!0}))];case 4:d.sent(),d.label=5;case 5:return"ForStatement"===i.type&&"VariableDeclaration"===i.init.type?[5,x(rt(i.init,a,{hoist:!0}))]:[3,7];case 6:d.sent(),d.label=7;case 7:return[5,x(Pe(i.body,a))];case 8:return d.sent(),[3,38];case 9:return[5,x(Pe(i.consequent,a))];case 10:return d.sent(),i.alternate?[5,x(Pe(i.alternate,a))]:[3,12];case 11:d.sent(),d.label=12;case 12:return[3,38];case 13:p=0,d.label=14;case 14:return p<i.body.length?[5,x(Pe(i.body[p],a))]:[3,17];case 15:d.sent(),d.label=16;case 16:return p++,[3,14];case 17:return[3,38];case 18:p=0,d.label=19;case 19:if(!(p<i.cases.length))return[3,24];n=0,d.label=20;case 20:return n<i.cases[p].consequent.length?[5,x(Pe(i.cases[p].consequent[n],a))]:[3,23];case 21:d.sent(),d.label=22;case 22:return n++,[3,20];case 23:return p++,[3,19];case 24:return[3,38];case 25:u=i.block.body,p=0,d.label=26;case 26:return p<u.length?[5,x(Pe(u[p],a))]:[3,29];case 27:d.sent(),d.label=28;case 28:return p++,[3,26];case 29:if(!(l=i.handler&&i.handler.body.body))return[3,33];p=0,d.label=30;case 30:return p<l.length?[5,x(Pe(l[p],a))]:[3,33];case 31:d.sent(),d.label=32;case 32:return p++,[3,30];case 33:if(!(f=i.finalizer&&i.finalizer.body))return[3,37];p=0,d.label=34;case 34:return p<f.length?[5,x(Pe(f[p],a))]:[3,37];case 35:d.sent(),d.label=36;case 36:return p++,[3,34];case 37:return[3,38];case 38:return[2]}})}function se(i,a,r){return void 0===r&&(r={}),I(this,function(u){switch(u.label){case 0:switch(i.type){case"ObjectPattern":return[3,1];case"ArrayPattern":return[3,3];case"RestElement":return[3,5];case"AssignmentPattern":return[3,7]}return[3,9];case 1:return[5,x(or(i,a,r))];case 2:case 4:case 6:case 8:return[2,u.sent()];case 3:return[5,x(cr(i,a,r))];case 5:return[5,x(tt(i,a,r))];case 7:return[5,x(lr(i,a,r))];case 9:throw new SyntaxError("Unexpected token")}})}function ze(i,a,r){if(void 0===r&&(r={}),!i.generator&&!i.async)return Ge(i,a,r);var p,n=r.superClass,u=r.isCtor,l=i.params,f=function d(){var v,b,w,y,k,V=this&&this instanceof d?this.constructor:void 0,R=[];for(v=0;v<arguments.length;v++)R[v]=arguments[v];return I(this,function(J){switch(J.label){case 0:b=new H(a,!0),"ArrowFunctionExpression"!==i.type&&(b.const("this",this),b.let("arguments",arguments),b.const(Te,V),n&&(b.const(Qe,n),u&&b.let(ye,!1))),w=0,J.label=1;case 1:return w<l.length?"Identifier"!==(y=l[w]).type?[3,2]:(b.var(y.name,R[w]),[3,6]):[3,7];case 2:return"RestElement"!==y.type?[3,4]:[5,x(tt(y,b,{kind:"var",feed:R.slice(w)}))];case 3:return J.sent(),[3,6];case 4:return[5,x(se(y,b,{feed:R[w]}))];case 5:J.sent(),J.label=6;case 6:return w++,[3,1];case 7:return"BlockStatement"!==i.body.type?[3,10]:[5,x(vr(i.body,b))];case 8:return J.sent(),[5,x(We(i.body,b,{invasived:!0,hoisted:!0}))];case 9:return k=J.sent(),[3,12];case 10:return[5,x(A(i.body,b))];case 11:k=J.sent(),"ArrowFunctionExpression"===i.type&&(B.RES=k,k=B),J.label=12;case 12:return k===B?[2,k.RES]:[2]}})};return p=i.async&&i.generator?function(){var d=f.apply(this,arguments),v=Promise.resolve(),b=!1,w=function(k){return v=v.then(function(){return dr(d,W({fullRet:!0},k))}).catch(function(V){if(!b)return b=!0,Promise.reject(V)})},y={next:function(k){return w({res:k})},throw:function(k){return w({err:k})},return:function(k){return w({ret:k})}};return"function"==typeof Symbol&&(y[Symbol.iterator]=function(){return this}),y}:i.async?function(){return dr(f.apply(this,arguments))}:f,M(p,ge,{value:!0}),M(p,"name",{value:i.id&&i.id.name||"",configurable:!0}),M(p,"length",{value:l.length,configurable:!0}),p}function Jt(i,a){var r,n,u,l,f;return I(