{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/@babel/runtime/helpers/defineProperty.js","webpack:///./node_modules/@babel/runtime/helpers/typeof.js","webpack:///./node_modules/@babel/runtime/helpers/toPropertyKey.js","webpack:///./node_modules/@babel/runtime/helpers/toPrimitive.js","webpack:///./node_modules/matrix-react-sdk/src/audio/consts.ts","webpack:///./node_modules/matrix-react-sdk/src/utils/numbers.ts","webpack:///./node_modules/matrix-react-sdk/src/audio/RecorderWorklet.ts"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","toPropertyKey","obj","configurable","writable","_typeof","iterator","constructor","toPrimitive","arg","String","input","hint","prim","undefined","res","TypeError","Number","PayloadEvent","percentageOf","val","min","max","percentage","isNaN","TARGET_AMPLITUDE_FREQUENCY","roundTimeToTargetFreq","seconds","Math","round","EPSILON","MxVoiceWorklet","AudioWorkletProcessor","arguments","_defineProperty","process","inputs","outputs","parameters","currentSecond","currentTime","this","nextAmplitudeSecond","monoChan","minVal","amplitude","port","postMessage","ev","AmplitudeMark","forIndex","amplitudeIndex","Timekeep","timeSeconds","registerProcessor"],"mappings":"aACE,IAAIA,EAAmB,CAAC,EAGxB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,CAAC,GAUX,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,OACf,CAIAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eA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