/**
 * Minified by jsDelivr using Terser v5.48.0.
 * Original file: /npm/standardized-audio-context-mock@10.0.1/build/es5/bundle.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@babel/runtime/helpers/createClass"),require("@babel/runtime/helpers/classCallCheck"),require("@babel/runtime/helpers/possibleConstructorReturn"),require("@babel/runtime/helpers/getPrototypeOf"),require("@babel/runtime/helpers/inherits"),require("@babel/runtime/helpers/slicedToArray"),require("automation-events"),require("vehicles")):"function"==typeof define&&define.amd?define(["exports","@babel/runtime/helpers/createClass","@babel/runtime/helpers/classCallCheck","@babel/runtime/helpers/possibleConstructorReturn","@babel/runtime/helpers/getPrototypeOf","@babel/runtime/helpers/inherits","@babel/runtime/helpers/slicedToArray","automation-events","vehicles"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).standardizedAudioContextMock={},e._createClass,e._classCallCheck,e._possibleConstructorReturn,e._getPrototypeOf,e._inherits,e._slicedToArray,e.automationEvents,e.vehicles)}(this,function(e,t,n,o,r,u,a,i,c){"use strict";var s=function(){return t(function e(){n(this,e),this._eventListeners=new Map},[{key:"addEventListener",value:function(e,t,n){var o=this._eventListeners.get(e);void 0===o&&(o=new Set,this._eventListeners.set(e,o)),"function"==typeof t&&o.add(t)}},{key:"dispatchEvent",value:function(e){var t=this._eventListeners.get(e.type);return void 0!==t&&(t.forEach(function(t){return t(e)}),!0)}},{key:"removeEventListener",value:function(e,t,n){var o=this._eventListeners.get(e);void 0!==o&&"function"==typeof t&&o.delete(t)}}])}(),l=Symbol("NO_MOCKING"),f=function(e){return l},d=f,h=function(){return d},v=function(e){var t=h(),n=t(e);return new Proxy(e,{apply:function(o,r,u){var a=h();return a!==t&&(n=(t=a)(e)),Reflect.apply(n===l?e:n,r,u)},get:function(o,r){var u=h();return u!==t&&(n=(t=u)(e)),Reflect.get(n===l?e:n,r)},set:function(o,r,u){var a=h();return a!==t&&(n=(t=a)(e)),Reflect.set(n===l?e:n,r,u)}})};function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}var m=function(e){function a(e){var t,u,i,c;return n(this,a),u=this,i=r(i=a),(t=o(u,p()?Reflect.construct(i,[],r(u).constructor):i.apply(u,c))).connect=v(function(e){return e instanceof a?e:void 0}),t.disconnect=v(function(){}),t.channelCount=e.channelCount,t.channelCountMode=e.channelCountMode,t.channelInterpretation=e.channelInterpretation,t._context=e.context,t.numberOfInputs=e.numberOfInputs,t.numberOfOutputs=e.numberOfOutputs,t}return u(a,e),t(a,[{key:"context",get:function(){return this._context}}])}(s);function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(y=function(){return!!e})()}var _=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,y()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(m),k=function(){return t(function e(t){var o=t.length,r=t.numberOfChannels,u=void 0===r?1:r,a=t.sampleRate;n(this,e),this.channelData=new Map,this.length=o,this.numberOfChannels=u,this.sampleRate=a},[{key:"duration",get:function(){return this.length/this.sampleRate}},{key:"copyFromChannel",value:function(){}},{key:"copyToChannel",value:function(){}},{key:"getChannelData",value:function(e){var t=this.channelData.get(e);return void 0===t&&(t=new Float32Array(this.length),this.channelData.set(e,t)),t}}])}(),g=function(){return t(function e(t){var o=this;n(this,e),this.cancelAndHoldAtTime=v(function(e){return o._automationEventList.add(i.createCancelAndHoldAutomationEvent(e)),o}),this.cancelScheduledValues=v(function(e){return o._automationEventList.add(i.createCancelScheduledValuesAutomationEvent(e)),o}),this.exponentialRampToValueAtTime=v(function(e,t){return o._automationEventList.add(i.createExponentialRampToValueAutomationEvent(e,t)),o}),this.linearRampToValueAtTime=v(function(e,t){return o._automationEventList.add(i.createLinearRampToValueAutomationEvent(e,t)),o}),this.setTargetAtTime=v(function(e,t,n){return o._automationEventList.add(i.createSetTargetAutomationEvent(e,t,n)),o}),this.setValueAtTime=v(function(e,t){return o._automationEventList.add(i.createSetValueAutomationEvent(e,t)),o}),this.setValueCurveAtTime=v(function(e,t,n){return o._automationEventList.add(i.createSetValueCurveAutomationEvent(e instanceof Float32Array?e:new Float32Array(e),t,n)),o}),this._automationEventList=t.automationEventList,this._deLorean=t.deLorean,this._defaultValue=t.automationEventList.getValue(0),this._maxValue=t.maxValue,this._minValue=t.minValue},[{key:"defaultValue",get:function(){return this._defaultValue},set:function(e){}},{key:"maxValue",get:function(){return this._maxValue},set:function(e){}},{key:"minValue",get:function(){return this._minValue},set:function(e){}},{key:"value",get:function(){return void 0===this._deLorean?this._defaultValue:this._automationEventList.getValue(this._deLorean.position)},set:function(e){this._automationEventList.add(i.createSetValueAutomationEvent(e,void 0===this._deLorean?0:this._deLorean.position))}}])}(),L=new(function(){return t(function e(){n(this,e),this._audioNodes=new WeakMap,this._deLoreans=new WeakMap},[{key:"addAudioNode",value:function(e,t,n){var o=this._audioNodes.get(e);void 0===o&&(o=new Map,this._audioNodes.set(e,o));var r=o.get(t);void 0===r&&(r=new Set,o.set(t,r)),r.add(n)}},{key:"getAudioNodes",value:function(e,t){var n=this._audioNodes.get(e);return void 0!==n&&n.has(t)?Array.from(n.get(t)):[]}},{key:"getDeLorean",value:function(e){return this._deLoreans.get(e)}},{key:"getVehicle",value:function(e){return this._deLoreans.get(e)}},{key:"reset",value:function(e){this._audioNodes.has(e)&&this._audioNodes.delete(e),this._deLoreans.has(e)&&(this._deLoreans.get(e).reset(),this._deLoreans.delete(e))}},{key:"setDeLorean",value:function(e,t){this._deLoreans.set(e,t)}}])}());function A(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(A=function(){return!!e})()}var E=function(e){function c(e){var t,u,a,s,l=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).buffer,f=void 0===l?null:l;n(this,c),u=this,s=[{channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",context:e,numberOfInputs:0,numberOfOutputs:1}],a=r(a=c),(t=o(u,A()?Reflect.construct(a,s||[],r(u).constructor):a.apply(u,s))).start=v(function(e,n,o){void 0!==t._deLorean&&(t._started={duration:void 0===o?Number.POSITIVE_INFINITY:o,offset:void 0===n?0:n,when:void 0===e||e<t._deLorean.position?t._deLorean.position:e},t._scheduleOnendedHandler())}),t.stop=v(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;void 0!==t._deLorean&&(t._stopped={when:e<t._deLorean.position?t._deLorean.position:e},t._scheduleOnendedHandler())});var d=new Proxy(new i.AutomationEventList(1),{get:function(e,n){return"add"===n?function(n){var o=e.add(n);return t._scheduleOnendedHandler(),o}:e[n]}});return t._buffer=f,t._deLorean=L.getVehicle(e),t._detune=new g({automationEventList:new i.AutomationEventList(0),deLorean:t._deLorean,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t.loop=!1,t.loopEnd=0,t.loopStart=0,t._onended=null,t._onendedTicket=null,t._started=null,t._stopped=null,t._playbackRate=new g({automationEventList:d,deLorean:t._deLorean,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._playbackRateAutomationEventList=d,L.addAudioNode(e,"AudioBufferSourceNode",t),t}return u(c,e),t(c,[{key:"buffer",get:function(){return this._buffer},set:function(e){if(!(e instanceof k))throw new TypeError("Failed to set the 'buffer' property on 'AudioBufferSourceNode': The provided value is not of type 'AudioBufferMock'.");this._buffer=e,this._scheduleOnendedHandler()}},{key:"detune",get:function(){return this._detune},set:function(e){}},{key:"onended",get:function(){return this._onended},set:function(e){var t=this._onended;"function"==typeof t&&this.removeEventListener("ended",t),this._onended="function"==typeof e?e:null,"function"==typeof e&&(this.addEventListener("ended",e),null===t&&this._scheduleOnendedHandler())}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){}},{key:"_callOnendedHandler",value:function(){this.dispatchEvent(new Event("ended"))}},{key:"_scheduleOnendedHandler",value:function(){if(void 0!==this._deLorean&&(null!==this._onendedTicket&&(this._deLorean.cancel(this._onendedTicket),this._onendedTicket=null),null!==this._started)){var e=Math.min(null===this.buffer?0:this.buffer.duration-this._started.offset,this._started.duration),t=128/this.context.sampleRate,n=this._started.when,o=0,r=0,u=Math.ceil(n/t);if(o<e){var i=n%t;if(i>0){var s=this._playbackRateAutomationEventList.getValue(n-i),l=c._accumulateDurationAndEffectiveDuration(s,t-i,r,o,e),f=a(l,2);r=f[0],o=f[1]}}for(;o<e;){var d=this._playbackRateAutomationEventList.getValue(u*t),h=c._accumulateDurationAndEffectiveDuration(d,t,r,o,e),v=a(h,2);r=v[0],o=v[1],u+=1}n+=r,null!==this._stopped&&this._stopped.when<n&&(n=this._stopped.when),this._onendedTicket=this._deLorean.schedule(n,this._callOnendedHandler.bind(this))}}}],[{key:"_accumulateDurationAndEffectiveDuration",value:function(e,t,n,o,r){var u=e*t,a=o+u;return a>r?[n+(r-o)/u*t,r]:[n+t,a]}}])}(m);function O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(O=function(){return!!e})()}var w=function(e){function a(e){var t;n(this,a);var u,c,s,l=L.getDeLorean(e);return u=this,s=[{channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",context:e,numberOfInputs:1,numberOfOutputs:1}],c=r(c=a),(t=o(u,O()?Reflect.construct(c,s||[],r(u).constructor):c.apply(u,s)))._detune=new g({automationEventList:new i.AutomationEventList(0),deLorean:l,maxValue:1200*Math.log2(34028234663852886e22),minValue:-1200*Math.log2(34028234663852886e22)}),t._frequency=new g({automationEventList:new i.AutomationEventList(350),deLorean:l,maxValue:e.sampleRate/2,minValue:0}),t._gain=new g({automationEventList:new i.AutomationEventList(0),deLorean:l,maxValue:40*Math.log10(34028234663852886e22),minValue:-34028234663852886e22}),t._Q=new g({automationEventList:new i.AutomationEventList(1),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._type="lowpass",L.addAudioNode(e,"BiquadFilterNode",t),t}return u(a,e),t(a,[{key:"detune",get:function(){return this._detune},set:function(e){}},{key:"frequency",get:function(){return this._frequency},set:function(e){}},{key:"gain",get:function(){return this._gain},set:function(e){}},{key:"Q",get:function(){return this._Q},set:function(e){}},{key:"type",get:function(){return this._type},set:function(e){["allpass","bandpass","highpass","highshelf","lowpass","lowshelf","notch","peaking"].includes(e)&&(this._type=e)}},{key:"getFrequencyResponse",value:function(){}}])}(m);function R(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(R=function(){return!!e})()}var b=function(e){function a(e){var t;n(this,a);var u,c,s,l=L.getDeLorean(e);return u=this,s=[{channelCount:2,channelCountMode:"clamped-max",channelInterpretation:"speakers",context:e,numberOfInputs:1,numberOfOutputs:1}],c=r(c=a),(t=o(u,R()?Reflect.construct(c,s||[],r(u).constructor):c.apply(u,s)))._attack=new g({automationEventList:new i.AutomationEventList(Math.fround(.003)),deLorean:l,maxValue:1,minValue:0}),t._knee=new g({automationEventList:new i.AutomationEventList(30),deLorean:l,maxValue:40,minValue:0}),t._ratio=new g({automationEventList:new i.AutomationEventList(12),deLorean:l,maxValue:20,minValue:1}),t._reduction=0,t._release=new g({automationEventList:new i.AutomationEventList(.25),deLorean:l,maxValue:1,minValue:0}),t._threshold=new g({automationEventList:new i.AutomationEventList(-24),deLorean:l,maxValue:0,minValue:-100}),L.addAudioNode(e,"DynamicsCompressorNode",t),t}return u(a,e),t(a,[{key:"attack",get:function(){return this._attack},set:function(e){}},{key:"knee",get:function(){return this._knee},set:function(e){}},{key:"ratio",get:function(){return this._ratio},set:function(e){}},{key:"reduction",get:function(){return this._reduction},set:function(e){}},{key:"release",get:function(){return this._release},set:function(e){}},{key:"threshold",get:function(){return this._threshold},set:function(e){}}])}(m);function V(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(V=function(){return!!e})()}var x=function(e){function a(e){var t;n(this,a);var u,c,s,l=L.getDeLorean(e);return u=this,s=[{channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",context:e,numberOfInputs:1,numberOfOutputs:1}],c=r(c=a),(t=o(u,V()?Reflect.construct(c,s||[],r(u).constructor):c.apply(u,s)))._gain=new g({automationEventList:new i.AutomationEventList(1),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),L.addAudioNode(e,"GainNode",t),t}return u(a,e),t(a,[{key:"gain",get:function(){return this._gain},set:function(e){}}])}(m);function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C=function(){return!!e})()}var N=function(e){function a(e,t){var u,i,c,s,l=t.mediaElement;return n(this,a),i=this,s=[{channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",context:e,numberOfInputs:0,numberOfOutputs:1}],c=r(c=a),(u=o(i,C()?Reflect.construct(c,s||[],r(i).constructor):c.apply(i,s))).mediaElement=l,L.addAudioNode(e,"MediaElementAudioSourceNode",u),u}return u(a,e),t(a)}(m);function B(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(B=function(){return!!e})()}var M=function(e){function a(e){var t,u,i,c;return n(this,a),u=this,c=[{channelCount:2,channelCountMode:"explicit",channelInterpretation:"speakers",context:e,numberOfInputs:1,numberOfOutputs:0}],i=r(i=a),(t=o(u,B()?Reflect.construct(i,c||[],r(u).constructor):i.apply(u,c))).stream=new MediaStream,L.addAudioNode(e,"MediaStreamAudioDestinationNode",t),t}return u(a,e),t(a)}(m);function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(S=function(){return!!e})()}var I=function(e){function a(e,t){var u,i,c,s,l=t.mediaStream;return n(this,a),i=this,s=[{channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",context:e,numberOfInputs:0,numberOfOutputs:1}],c=r(c=a),(u=o(i,S()?Reflect.construct(c,s||[],r(i).constructor):c.apply(i,s))).mediaStream=l,L.addAudioNode(e,"MediaStreamAudioSourceNode",u),u}return u(a,e),t(a)}(m);function D(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(D=function(){return!!e})()}var T=function(e){function a(e){var t;n(this,a);var u,c,s,l=L.getDeLorean(e);return u=this,s=[{channelCount:2,channelCountMode:"max",channelInterpretation:"speakers",context:e,numberOfInputs:0,numberOfOutputs:1}],c=r(c=a),(t=o(u,D()?Reflect.construct(c,s||[],r(u).constructor):c.apply(u,s))).setPeriodicWave=v(function(){}),t.start=v(function(){}),t.stop=v(function(){}),t._detune=new g({automationEventList:new i.AutomationEventList(0),deLorean:l,maxValue:153600,minValue:-153600}),t._frequency=new g({automationEventList:new i.AutomationEventList(440),deLorean:l,maxValue:e.sampleRate/2,minValue:-e.sampleRate/2}),t._onended=null,t.type="sine",L.addAudioNode(e,"OscillatorNode",t),t}return u(a,e),t(a,[{key:"detune",get:function(){return this._detune},set:function(e){}},{key:"frequency",get:function(){return this._frequency},set:function(e){}},{key:"onended",get:function(){return this._onended},set:function(e){this._onended="function"==typeof e?e:null}}])}(m);function P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(P=function(){return!!e})()}var q=function(e){function a(e){var t;n(this,a);var u,c,s,l=L.getDeLorean(e);return u=this,s=[{channelCount:2,channelCountMode:"clamped-max",channelInterpretation:"speakers",context:e,numberOfInputs:1,numberOfOutputs:1}],c=r(c=a),(t=o(u,P()?Reflect.construct(c,s||[],r(u).constructor):c.apply(u,s)))._coneInnerAngle=360,t._coneOuterAngle=360,t._coneOuterGain=0,t._distanceModel="inverse",t._maxDistance=1e4,t._orientationX=new g({automationEventList:new i.AutomationEventList(1),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._orientationY=new g({automationEventList:new i.AutomationEventList(0),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._orientationZ=new g({automationEventList:new i.AutomationEventList(0),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._panningModel="equalpower",t._positionX=new g({automationEventList:new i.AutomationEventList(0),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._positionY=new g({automationEventList:new i.AutomationEventList(0),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._positionZ=new g({automationEventList:new i.AutomationEventList(0),deLorean:l,maxValue:34028234663852886e22,minValue:-34028234663852886e22}),t._refDistance=1,t._rolloffFactor=1,L.addAudioNode(e,"PannerNode",t),t}return u(a,e),t(a,[{key:"coneInnerAngle",get:function(){return this._coneInnerAngle},set:function(e){}},{key:"coneOuterAngle",get:function(){return this._coneOuterAngle},set:function(e){}},{key:"coneOuterGain",get:function(){return this._coneOuterGain},set:function(e){}},{key:"distanceModel",get:function(){return this._distanceModel},set:function(e){}},{key:"maxDistance",get:function(){return this._maxDistance},set:function(e){}},{key:"orientationX",get:function(){return this._orientationX},set:function(e){}},{key:"orientationY",get:function(){return this._orientationY},set:function(e){}},{key:"orientationZ",get:function(){return this._orientationZ},set:function(e){}},{key:"panningModel",get:function(){return this._panningModel},set:function(e){["equalpower","HRTF"].includes(e)&&(this._panningModel=e)}},{key:"positionX",get:function(){return this._positionX},set:function(e){}},{key:"positionY",get:function(){return this._positionY},set:function(e){}},{key:"positionZ",get:function(){return this._positionZ},set:function(e){}},{key:"refDistance",get:function(){return this._refDistance},set:function(e){}},{key:"rolloffFactor",get:function(){return this._rolloffFactor},set:function(e){}}])}(m);function F(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(F=function(){return!!e})()}var H=function(e){function a(e){var t;n(this,a);var u,c,s,l=L.getDeLorean(e);return u=this,s=[{channelCount:2,channelCountMode:"explicit",channelInterpretation:"speakers",context:e,numberOfInputs:1,numberOfOutputs:1}],c=r(c=a),(t=o(u,F()?Reflect.construct(c,s||[],r(u).constructor):c.apply(u,s)))._pan=new g({automationEventList:new i.AutomationEventList(0),deLorean:l,maxValue:1,minValue:-1}),L.addAudioNode(e,"StereoPannerNode",t),t}return u(a,e),t(a,[{key:"pan",get:function(){return this._pan},set:function(e){}}])}(m);function W(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(W=function(){return!!e})()}var G=function(e){function a(){var e,t,u,i,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n(this,a),t=this,u=r(u=a),(e=o(t,W()?Reflect.construct(u,[],r(t).constructor):u.apply(t,i)))._deLorean=new c.DeLorean,e._onstatechange=null,e._options=s,e._state="suspended",L.setDeLorean(e,e._deLorean),e}return u(a,e),t(a,[{key:"audioWorklet",get:function(){return{}}},{key:"baseLatency",get:function(){return 512/this.sampleRate}},{key:"currentTime",get:function(){return this._deLorean.position}},{key:"destination",get:function(){return{}}},{key:"listener",get:function(){return{}}},{key:"onstatechange",get:function(){return this._onstatechange},set:function(e){this._onstatechange="function"==typeof e?e:null}},{key:"sampleRate",get:function(){return void 0===this._options.sampleRate?44100:this._options.sampleRate}},{key:"state",get:function(){return this._state}},{key:"close",value:function(){return this._state="closed",Promise.resolve()}},{key:"createAnalyser",value:function(){var e=new x(this);return e.fftSize=2048,e}},{key:"createBiquadFilter",value:function(){return new w(this)}},{key:"createBuffer",value:function(e,t,n){return new k({length:t,numberOfChannels:e,sampleRate:n})}},{key:"createBufferSource",value:function(){return new E(this)}},{key:"createChannelMerger",value:function(){return{}}},{key:"createChannelSplitter",value:function(){return{}}},{key:"createConstantSource",value:function(){return{}}},{key:"createConvolver",value:function(){return{}}},{key:"createDelay",value:function(){return{}}},{key:"createDynamicsCompressor",value:function(){return new b(this)}},{key:"createGain",value:function(){return new x(this)}},{key:"createIIRFilter",value:function(){return{}}},{key:"createMediaElementSource",value:function(e){return new N(this,{mediaElement:e})}},{key:"createMediaStreamDestination",value:function(){return new M(this)}},{key:"createMediaStreamSource",value:function(e){return new I(this,{mediaStream:e})}},{key:"createMediaStreamTrackSource",value:function(){return{}}},{key:"createOscillator",value:function(){return new T(this)}},{key:"createPanner",value:function(){return new q(this)}},{key:"createPeriodicWave",value:function(){return{}}},{key:"createStereoPanner",value:function(){return new H(this)}},{key:"createWaveShaper",value:function(){return{}}},{key:"decodeAudioData",value:function(){return Promise.resolve(new k({length:10,sampleRate:this.sampleRate}))}},{key:"resume",value:function(){return this._state="running",Promise.resolve()}},{key:"suspend",value:function(){return this._state="suspended",Promise.resolve()}}])}(s);function Y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Y=function(){return!!e})()}var X=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,Y()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(m);function Z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Z=function(){return!!e})()}var Q=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,Z()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(m);function z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(z=function(){return!!e})()}var j=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,z()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(m);function K(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(K=function(){return!!e})()}var J=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,K()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(m);function U(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(U=function(){return!!e})()}var $=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,U()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(m);function ee(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ee=function(){return!!e})()}var te=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,ee()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(m),ne=v(function(){return Promise.resolve()}),oe=v(function(){return Promise.resolve(new k({length:10,sampleRate:48e3}))}),re=v(function(){return!0}),ue=v(function(){return!0}),ae=v(function(){return!0}),ie=v(function(){return!0}),ce=v(function(){return!0});function se(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(se=function(){return!!e})()}var le=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,se()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(m);function fe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fe=function(){return!!e})()}var de=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,fe()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(m),he=t(function e(){n(this,e)}),ve=t(function e(){n(this,e)}),pe=t(function e(){n(this,e)}),me=t(function e(){n(this,e)});function ye(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ye=function(){return!!e})()}var _e=function(e){function a(){return n(this,a),e=this,u=arguments,t=r(t=a),o(e,ye()?Reflect.construct(t,u||[],r(e).constructor):t.apply(e,u));var e,t,u}return u(a,e),t(a)}(m);e.AnalyserNode=_,e.AudioBuffer=k,e.AudioBufferSourceNode=E,e.AudioContext=G,e.AudioNode=m,e.AudioWorkletNode=X,e.BiquadFilterNode=w,e.ChannelMergerNode=Q,e.ChannelSplitterNode=j,e.ConstantSourceNode=J,e.ConvolverNode=$,e.DelayNode=te,e.DynamicsCompressorNode=b,e.GainNode=x,e.IIRFilterNode=le,e.MediaElementAudioSourceNode=N,e.MediaStreamAudioDestinationNode=M,e.MediaStreamAudioSourceNode=I,e.MediaStreamTrackAudioSourceNode=de,e.MinimalAudioContext=he,e.MinimalOfflineAudioContext=ve,e.OfflineAudioContext=pe,e.OscillatorNode=T,e.PannerNode=q,e.PeriodicWave=me,e.StereoPannerNode=H,e.WaveShaperNode=_e,e.addAudioWorkletModule=ne,e.decodeAudioData=oe,e.isAnyAudioContext=re,e.isAnyAudioNode=ue,e.isAnyAudioParam=ae,e.isAnyOfflineAudioContext=ie,e.isSupported=ce,e.registrar=L,e.resetMockingImplementation=function(){return d=f},e.setMockingImplementation=function(e){return d=e}});
//# sourceMappingURL=/sm/a9bb3f118622f5c0105244a11d8edee1f284507f460bb8636a287524d6710cde.map