Benign javascript Download

+esm

Contains an unconditional loop headerLow-bit-mask expression text
SHA-25689d5384373a6a55d61255b105580f10d9149e709e52819cf023a4be105b94ee2

Evidence

Parenthesized anonymous function opener lines 1–7
1/**
2 * Bundled by jsDelivr using Rollup v4.62.2 and esbuild v0.28.1.
3 * Original file: /npm/[email protected]/dist/mp4box.all.js
4 *
5 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
6 */
7var O={},V;function j(){return V||(V=1,(function(E){var p=(function(){var t=new Date,e=4,r=3,n=2,a=1,o=e,h={setLogLevel:function(l){l==this.debug?o=a:l==this.info?o=n:l==this.warn?o=r:(l==this.error,o=e)},debug:function(l,d){console.debug===void 0&&(console.debug=console.log),a>=o&&console.debug("["+p.getDurationString(new Date-t,1e3)+"]","["+l+"]",d)},log:function(l,d){this.debug(l.msg)},info:function(l,d){n>=o&&console.info("["+p.getDurationString(new Date-t,1e3)+"]","["+l+"]",d)},warn:function(l,d){r>=o&&console.warn("["+p.getDurationString(new Date-t,1e3)+"]","["+l+"]",d)},error:function(l,d){e>=o …
Joins values with a dot separator line 7
7:644… ring(new Date-t,1e3)+"]","["+l+"]",d)}};return h})();p.getDurationString=function(t,e){var r;function n(_,c){for(var g=""+_,v=g.split(".");v[0].length<c;)v[0]="0"+v[0];return v.join(".")}t<0?(r=!0,t=-t):r=!1;var a=e||1,o=t/a,h=Math.floor(o/3600);o-=h*3600;var l=Math.floor(o/60);o-=l*60;var d=o*1e3;return o=Math.f …
Prototype methods returning this line 7
7:1043… ntRanges=function(t){var e=t.length;if(e>0){for(var r="",n=0;n<e;n++)n>0&&(r+=","),r+="["+p.getDurationString(t.start(n))+","+p.getDurationString(t.end(n))+"]";return r}else return"(empty)"},E.Log=p;var U=function(t){if(t instanceof ArrayBuffer)this.buffer=t,this.dataview=new DataView(t);else throw"Needs an array buffer";this.position=0};U.prototype.getPosition=function(){return this.position},U.prototype.getEndPosition=function(){return this.buffer.byteLength},U.prototype.getLength=function(){return this.buffer.byteLength},U.prototype.seek=function(t){var e=Math.max(0,Math.min(this.buffer.byteLength,t));return this.position=isNaN(e)||!isFinite(e)?0:e,!0},U.prototype.isEos=function(){return this.getPosition()>=this.getEndPosition()},U.prototype.readAnyInt=function(t,e){var r=0;if(this.position+t<=this.buffer.byteLength){switch(t){case 1:e?r=this.dataview.getInt8(this.position):r=this.datavi …
Contains an unconditional loop header line 7
7:2527… eak;default:throw"readInt method not implemented for size: "+t}return this.position+=t,r}else throw"Not enough bytes in buffer"},U.prototype.readUint8=function(){return this.readAnyInt(1,!1)},U.prototype.readUint16=function(){return this.readAnyInt(2,!1)},U.prototype.readUint24=function(){return this.readAnyInt(3,!1)},U.prototype.readUint32=function(){return this.readAnyInt(4,!1)},U.prototype.readUint64=function(){return this.readAnyInt(8,!1)},U.prototype.readString=function(t){if(this.position+t<=this.buffer.byteLength){for(var e="",r=0;r<t;r++)e+=String.fromCharCode(this.readUint8());return e}else throw"Not enough bytes in buffer"},U.prototype.readCString=function(){for(var t=[];;){var e=this.readUint8();if(e!==0)t.push(e);else break}return String.fromCharCode.apply(null,t)},U.prototype.readInt8=function(){return this.readAnyInt(1,!0)},U.prototype.readInt16=function(){return this.readAnyInt(2,!0)},U …
Large minified JavaScript bundle line 7
7:3551… dAnyInt(8,!1)},U.prototype.readUint8Array=function(t){for(var e=new Uint8Array(t),r=0;r<t;r++)e[r]=this.readUint8();return e},U.prototype.readInt16Array=function(t){for(var e=new Int16Array(t),r=0;r<t;r++)e[r]=this.readInt16();r …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.