vart="[[ProxyTarget]]",n="[[Get]]",r="[[Set]]",e="[[Call]]",o=Object.defineProperty,i=Object.defineProperties,u=Object.getPrototypeOf,c=Object.getOwnPropertyDescriptor,a=!!i&&s(i),f=a?Object.__proto__?u:function(t){return"function"==typeoft?t.__proto__||{}:u(t)}:function(t){return_isVbObject(t)&&_getVbInternalOf(t).__proto__||{}};functions(t){return"function"==typeoft&&/\[native code\]/.test(t.toString())}functionp(t,n){if(thisinstanceofp)returnl(newy(t,n));h("Constructor Proxy requires 'new'")}functionl(f){vars=f[t];return"function"==typeofs?function(n){varr=n[t];functiono(){returnthisinstanceofo?n["[[Construct]]"](arguments,o):n[e](this,arguments)}if(o.prototype=r.prototype,a){varc=j(n),f=O(u(r),c);for(varsing(o,f),c=x(r,n))d(o,s)&&deletec[s];i(o,c)}elseP(o,r);returno}(f):sinstanceofArray?function(e){vari,f,s=e[t];a&&((i=j(e)).concat.get=function(){vart=e[n]("concat",this);returnt===Array.prototype.concat?t.bind(s):t},f=O(u(s),i));return(i=x(s,e)).length.set=function(n){vari=n-s.length;e[r]("length",n,this),i&&function(n,r,e){vari=e[t];if(n>0)for(varu=i.length,a=u-n;a<u;++a){varf=c(r,a);f?o(i,a,f):i[a]=undefined,f=w(i,a,e),o(r,a,f)}elsefor(vars=(a=i.length)-n;a<s;++a)deleter[a]}(i,this,e)},O(f,i)}(f):function(n){varr,e,o=n[t];a&&(r=j(n),e=O(u(o),r));returnr=x(o,n),O(e,r)}(f)}functiony(n,r){v(n)&&v(r)||h("Cannot create proxy with a non-object as target or handler"),"REVOKED"===(f(n).__PROXY__||f(r).__PROXY__)&&h("Cannot create proxy with a revoked proxy as target or handler"),this[t]=n,this["[[ProxyHandler]]"]=r}function_(t,n){t||h("Cannot perform '"+n+"' on a proxy that has been revoked")}functionh(t){thrownewTypeError(t)}functionv(t){return!!t&&("object"==typeoft||"function"==typeoft)}functiond(t,n){returnObject.prototype.hasOwnProperty.call(t,n)}p.revocable=function(n,r){thisinstanceofp.revocable&&h("Proxy.revocable is not a constructor");vare=newy(n,r),o=l(e);return{proxy:o,revoke:function(){e[t]=undefined,e["[[ProxyHandler]]"]=undefined,a||(f(o).__PROXY__="REVOKED")}}},y.prototype[n]=function(n,r){vare=this["[[ProxyHandler]]"];return_(e,"get"),null==e.get?this[t][n]:"function"==typeofe.get?e.get(this[t],n,r):voidh("Trap 'get' is not a function: "+e.get)},y.prototype[r]=function(n,r,e){varo=this["[[ProxyHandler]]"];if(_(o,"set"),null==o.set)this[t][n]=r;elseif("function"==typeofo.set){o.set(this[t],n,r,e)||h("Trap 'set' returned false for property '"+n+"'")}elseh("Trap 'set' is not a function: "+o.set)},y.prototype[e]=function(n,r){vare=this["[[ProxyHandler]]"];return_(e,"apply"),null==e.apply?this[t].apply(n,r):"function"==typeofe.apply?e.apply(this[t],n,r):voidh("Trap 'apply' is not a function: "+e.apply)},y.prototype["[[Construct]]"]=function(n,r){vare,o=this["[[ProxyHandler]]"];if(_(o,"construct"),null==o.construct?e=function(t,n){for(varr=[],e=0,o=n.length;e<o;++e)r.push("args["+e+"]");returnnewFunction("Ctor","args","return new Ctor("+r.join(", ")+")")(t,n)}(this[t],n):"function"==typeofo.construct?e=o.construct(this[t],n,r):h("Trap 'construct' is not a function: "+o.construct),v(e))returne;h("Trap 'construct' returned non-object: "+e)};varb=Object.getOwnPropertyNames||function(t){varn=[];for(varrint)d(t,r)&&n.push(r);returnn},g=s(Object.setPrototypeOf)?Object.setPrototypeOf:Object.__proto__?function(t,n){returnt.__proto__=n,t}:function(t,n){returno(t,"__proto__",{value:n})},O=a?Object.create:function(t,n){varr=i({},n);if(_isVbObject(r)){vare={__PROXY__:undefined};_getVbInternalOf(r).__proto__=e}returnr},P=Object.assign||function(t,n){for(varrinn)d(n,r)&&(t[r]=n[r]);returnt};functionj(n){for(varr={},e=n[t];e=u(e);){varo=x(e,n);P(r,o)}returnr.__PROXY__={get:function(){returnn[t]?undefined:"REVOKED"}},r}functionx(t,n){for(varr=b(t),e={},o=r.length-1;o>=0;--o)e[r[o]]=w(t,r[o],n);returne}functionw(t,e,o){vari=c(t,e);return{get:function(){returno[n](e,this)},set:function(t){o[r](e,t,this)},enumerable:i.enumerable,configurable:i.configurable}}varC="undefined"==typeofProxy?p:Proxy;exportdefaultC;