function_classCallCheck(instance,Constructor){if(!(instanceinstanceofConstructor)){thrownewTypeError("Cannot call a class as a function");}}
function_inherits(subClass,superClass){if(typeofsuperClass!=="function"&&superClass!==null){thrownewTypeError("Super expression must either be null or a function");}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:true,configurable:true}});if(superClass)_setPrototypeOf(subClass,superClass);}
function_possibleConstructorReturn(self,call){if(call&&(_typeof(call)==="object"||typeofcall==="function")){returncall;}elseif(call!==void0){thrownewTypeError("Derived constructors may only return object or undefined");}return_assertThisInitialized(self);}
function_assertThisInitialized(self){if(self===void0){thrownewReferenceError("this hasn't been initialised - super() hasn't been called");}returnself;}
function_wrapNativeSuper(Class){var_cache=typeofMap==="function"?newMap():undefined;_wrapNativeSuper=function_wrapNativeSuper(Class){if(Class===null||!_isNativeFunction(Class))returnClass;if(typeofClass!=="function"){thrownewTypeError("Super expression must either be null or a function");}if(typeof_cache!=="undefined"){if(_cache.has(Class))return_cache.get(Class);_cache.set(Class,Wrapper);}functionWrapper(){return_construct(Class,arguments,_getPrototypeOf(this).constructor);}Wrapper.prototype=Object.create(Class.prototype,{constructor:{value:Wrapper,enumerable:false,writable:true,configurable:true}});return_setPrototypeOf(Wrapper,Class);};return_wrapNativeSuper(Class);}