| 1 |
- !function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserDetect=function(){var e=navigator.userAgent.toLowerCase(),t=navigator.appName,r=null;"Microsoft Internet Explorer"===t||e.indexOf("trident")>-1||e.indexOf("edge/")>-1?(r="ie","Microsoft Internet Explorer"===t?(e=/msie ([0-9]{1,}[\.0-9]{0,})/.exec(e),r+=parseInt(e[1])):e.indexOf("trident")>-1?r+=11:e.indexOf("edge/")>-1&&(r="edge")):e.indexOf("safari")>-1?r=e.indexOf("chrome")>-1?"chrome":"safari":e.indexOf("firefox")>-1&&(r="firefox");return r},t.BrowserDetectDetail=function(){var e=navigator.userAgent.toLowerCase(),t=navigator.platform.toLowerCase(),r=e.match(/(opera|ie|trident|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|rv:(\d.?)|$)/)||[null,"unknown",0],n=("ie"==r[1]||"trident"==r[1])&&document.documentMode,i={name:"version"==r[1]?r[3]:"trident"==r[1]?"ie":r[1],version:n||parseFloat("opera"==r[1]&&r[4]?r[4]:"trident"==r[1]&&r[5]?r[5]:r[2]),Platform:{name:e.match(/ip(?:ad|od|hone)/)?"ios":(e.match(/(?:webos|android)/)||t.match(/mac|win|linux/)||["other"])[0]}};i[i.name]=!0,i[i.name+parseInt(i.version,10)]=!0,i.Platform[i.Platform.name]=!0,i.Platform.ios&&(i.Platform.ipod=!0);i.Engine={};var o=function(e,t){i.Engine.name=e,i.Engine[e+t]=!0,i.Engine.version=t};if(i.ie)switch(i.Engine.trident=!0,i.version){case 6:o("trident",4);break;case 7:o("trident",5);break;case 8:o("trident",6)}i.firefox&&(i.Engine.gecko=!0,i.version>=3?o("gecko",19):o("gecko",18));if(i.safari||i.chrome)switch(i.Engine.webkit=!0,i.version){case 2:o("webkit",419);break;case 3:o("webkit",420);break;case 4:o("webkit",525)}i.opera&&(i.Engine.presto=!0,i.version>=9.6?o("presto",960):i.version>=9.5?o("presto",950):o("presto",925));if("unknown"==i.name)switch((e.match(/(?:webkit|khtml|gecko)/)||[])[0]){case"webkit":case"khtml":i.Engine.webkit=!0;break;case"gecko":i.Engine.gecko=!0}return i},t.CommonAudioUtil=function(){var e=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384],t=function(e,t,r){var n=0,i=0;for(n=0;n<r&&!(e<t[i]);n++)i++;return n},r=function(r,n){var i=0,o=0,a=0,u=0,s=0;return o=t(i=r>0?r:8191&-r,e,15)-6,a=o+(n>>6&15)-13,u=(0===i?32:o>=0?i>>o:i<<-o)*(n&parseInt("077",8))+48>>4,s=a>=0?u<<a&32767:u>>-a,(r^n)<0?-s:s};this.g726InitState=function(){var e={},t=0;for(e.pp=new Array(2),e.zp=new Array(6),e.pk=new Array(2),e.dq=new Array(6),e.sr=new Array(2),e.yl=34816,e.yu=544,e.dms=0,e.dml=0,e.ppp=0,t=0;t<2;t++)e.pp[t]=0,e.pk[t]=0,e.sr[t]=32;for(t=0;t<6;t++)e.zp[t]=0,e.dq[t]=32;return e.td=0,e},this.predictorZero=function(e){var t=0,n=0;for(n=r(e.zp[0]>>2,e.dq[0]),t=1;t<6;t++)n+=r(e.zp[t]>>2,e.dq[t]);return n},this.predictorPole=function(e){return r(e.pp[1]>>2,e.sr[1])+r(e.pp[0]>>2,e.sr[0])},this.stepSize=function(e){var t=0,r=0,n=0;return e.ppp>=256?e.yu:(t=e.yl>>6,r=e.yu-t,n=e.ppp>>2,r>0?t+=r*n>>6:r<0&&(t+=r*n+63>>6),t)},this.quantize=function(r,n,i,o){var a=0,u=0,s=0;return a=Math.abs(r),u=t(a>>1,e,15),s=t((u<<7)+(a<<7>>u&127)-(n>>2),i,o),r<0?1+(o<<1)-s:0===s?1+(o<<1):s},this.reconstruct=function(e,t,r){var n=0,i=0;return(n=t+(r>>2))<0?e?-32768:0:(i=128+(127&n)<<7>>14-(n>>7&15),e?i-32768:i)},this.update=function(r,n,i,o,a,u,s,f){var l=0,c=0,p=0,d=0,h=0,m=0,_=0,E=0,v=0,y=0,g=0,T=0,A=0,b=0;if(b=s<0?1:0,c=32767&a,v=f.yl>>15,T=f.yl>>10&31,A=32+T<<v,g=(y=v>9?31744:A)+(y>>1)>>1,E=0===f.td?0:c<=g?0:1,f.yu=n+(i-n>>5),f.yu<544?f.yu=544:f.yu>5120&&(f.yu=5120),f.yl+=f.yu+(-f.yl>>6),1===E)f.pp[0]=0,f.pp[1]=0,f.zp[0]=0,f.zp[1]=0,f.zp[2]=0,f.zp[3]=0,f.zp[4]=0,f.zp[5]=0,d=0;else for(m=b^f.pk[0],d=f.pp[1]-(f.pp[1]>>7),0!==s&&((_=m?f.pp[0]:-f.pp[0])<-8191?d-=256:d+=_>8191?255:_>>5,b^f.pk[1]?d<=-12160?d=-12288:d>=12416?d=12288:d-=128:d<=-12416?d=-12288:d>=12160?d=12288:d+=128),f.pp[1]=d,f.pp[0]-=f.pp[0]>>8,0!==s&&(0===m?f.pp[0]+=192:f.pp[0]-=192),h=15360-d,f.pp[0]<-h?f.pp[0]=-h:f.pp[0]>h&&(f.pp[0]=h),l=0;l<6;l++)f.zp[l]-=5===r?f.zp[l]>>9:f.zp[l]>>8,32767&a&&((a^f.dq[l])>=0?f.zp[l]+=128:f.zp[l]-=128);for(l=5;l>0;l--)f.dq[l]=f.dq[l-1];return 0===c?f.dq[0]=a>=0?32:64544:(p=t(c,e,15),f.dq[0]=a>=0?(p<<6)+(c<<6>>p):(p<<6)+(c<<6>>p)-1024),f.sr[1]=f.sr[0],0===u?f.sr[0]=32:u>0?(p=t(u,e,15),f.sr[0]=(p<<6)+(u<<6>>p)):u>-32768?(p=t(c=-u,e,15),f.sr[0]=(p<<6)+(c<<6>>p)-1024):f.sr[0]=64544,f.pk[1]=f.pk[0],f.pk[0]=b,f.td=1===E?0:d<-11776?1:0,f.dms+=o-f.dms>>5,f.dml+=(o<<2)-f.dml>>7,1===E?f.ppp=256:n<1536?f.ppp+=512-f.ppp>>4:1===f.td?f.ppp+=512-f.ppp>>4:Math.abs((f.dms<<2)-f.dml)>=f.dml>>3?f.ppp+=512-f.ppp>>4:f.ppp+=-f.ppp>>4,f}},t.Texture=t.Shader=t.Script=t.Queue=t.Program=t.PLAYER_STATE_CODE=void 0,t.VideoBufferList=function(){var e=0,t=0,r=null;function n(){e=360,t=240,r=null,this._length=0,this.head=null,this.tail=null,this.curIdx=0}return n.prototype={push:function(e,n,i,o,a,u){var s=new VideoBufferNode(e,n,i,o,a,u);return this._length>0?(this.tail.next=s,s.previous=this.tail,this.tail=s):(this.head=s,this.tail=s),this._length+=1,null!==r&&this._length>=t&&r(),s},pop:function(){var e=null;return this._length>1&&(e=this.head,this.head=this.head.next,null!==this.head?this.head.previous=null:this.tail=null,this._length-=1),e},setMaxLength:function(t){(e=t)>360?e=360:e<30&&(e=30)},setBUFFERING:function(e){(t=e)>240?t=240:t<6&&(t=6)},setBufferFullCallback:function(e){r=e},searchTimestamp:function(e){var t=this.head,r=this._length,n=1;if(0===r||e<=0||null===t)throw new Error("Failure: non-existent node in this list.");for(;null!==t&&(t.timeStamp.timestamp!==e.timestamp||t.timeStamp.timestamp_usec!==e.timestamp_usec);)t=t.next,n++;return r<n?t=null:this.curIdx=n,t},findIFrame:function(e){var t=this.head,r=this._length,n=1;if(0===r)throw new Error("Failure: non-existent node in this list.");for(;n<this.curIdx;)t=t.next,n++;if(!0===e)for(;"I"!==t.frameType;)t=t.next,n++;else for(;"I"!==t.frameType;)t=t.previous,n--;return r<n?t=null:this.curIdx=n,t}},new n},t.debug=t.commonOption=t.YUV2RGBMODE=void 0,t.formAuthorizationResponse=function(e,t,r,n,i,o){var u=null,s=null;return u=(0,a.default)(e+":"+n+":"+t).toLowerCase(),s=(0,a.default)(o+":"+r).toLowerCase(),(0,a.default)(u+":"+i+":"+s).toLowerCase()},t.pubsub=void 0,t.stringToUint8Array=function(e){for(var t=e.length,r=new Uint8Array(new ArrayBuffer(t)),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r};var i=n(r(4)),o=n(r(5)),a=n(r(6)),u={log:function(){},error:function(){},count:function(){},info:function(){}};t.debug=u;var s={};t.commonOption=s,s.VIDEOENCODETYPE={H264:1,H265:2},s.AUDIOENCODETYPE={G711A:1,G711U:2};t.YUV2RGBMODE={BT709:"bt709",FULLRANGE:"fullrange",BT601:"bt601",LIMITED:"limited"};t.PLAYER_STATE_CODE={TIMEOUT:101,NOT_SUPPORT_MIME:102,LIMIT_SPEED:103,ADDBUFFER_ERROR:104,MSE_ERROR:105,UNSUPPORTED_AUDIO_FORMAT:201,OPEN_WS_ERROR:202,KMS_NOT_CONNECTED:203,CHANNEL_AUTH_FAILED:204,PASSWORD_NOT_INITIALIZE:205,MAX_NUMBER_CONNECTION:206,WS_CLOSED:207,RTSP_NOT_FOUND:404,INVALID_RANGE:457,INTERNAL_SERVER_ERROR:500,SERVICE_UNAVILABLE:503,TALK_SERVICE_UNAVILABLE:504,TALK_BUSY_LINE:505,TALK_ClOSE:506};var f=function(){function e(){}return e.createFromElementId=function(t){for(var r=document.getElementById(t),n="",i=r.firstChild;i;)3===i.nodeType&&(n+=i.textContent),i=i.nextSibling;var o=new e;return o.type=r.type,o.source=n,o},e.createFromSource=function(t,r){var n=new e;return n.type=t,n.source=r,n},e}();t.Script=f;var l=function(){return function(e,t){if("x-shader/x-fragment"===t.type)this.shader=e.createShader(e.FRAGMENT_SHADER);else{if("x-shader/x-vertex"!==t.type)return void error("Unknown shader type: "+t.type);this.shader=e.createShader(e.VERTEX_SHADER)}e.shaderSource(this.shader,t.source),e.compileShader(this.shader),e.getShaderParameter(this.shader,e.COMPILE_STATUS)||error("An error occurred compiling the shaders: "+e.getShaderInfoLog(this.shader))}}();t.Shader=l;var c=function(){function e(e){this.gl=e,this.program=this.gl.createProgram()}return e.prototype={attach:function(e){this.gl.attachShader(this.program,e.shader)},link:function(){this.gl.linkProgram(this.program)},use:function(){this.gl.useProgram(this.program)},getAttributeLocation:function(e){return this.gl.getAttribLocation(this.program,e)},setMatrixUniform:function(e,t){var r=this.gl.getUniformLocation(this.program,e);this.gl.uniformMatrix4fv(r,!1,t)}},e}();t.Program=c;var p=function(){var e=null;function t(e,t,r){this.gl=e,this.size=t,this.texture=e.createTexture(),e.bindTexture(e.TEXTURE_2D,this.texture),this.format=r||e.LUMINANCE,e.texImage2D(e.TEXTURE_2D,0,this.format,t.w,t.h,0,this.format,e.UNSIGNED_BYTE,null),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.pixelStorei(e.UNPACK_ALIGNMENT,1)}return t.prototype={fill:function(e,t){var r=this.gl;r.bindTexture(r.TEXTURE_2D,this.texture),t?r.texSubImage2D(r.TEXTURE_2D,0,0,0,this.size.w,this.size.h,this.format,r.UNSIGNED_BYTE,e):r.texImage2D(r.TEXTURE_2D,0,this.format,this.size.w,this.size.h,0,this.format,r.UNSIGNED_BYTE,e)},bind:function(t,r,n){var i=this.gl;e||(e=[i.TEXTURE0,i.TEXTURE1,i.TEXTURE2]),i.activeTexture(e[t]),i.bindTexture(i.TEXTURE_2D,this.texture),i.uniform1i(i.getUniformLocation(r.program,n),t)}},t}();t.Texture=p;var d=function(){function e(){(0,i.default)(this,e),this.first=null,this.size=0}return(0,o.default)(e,[{key:"enqueue",value:function(e){if(null===this.first)this.first=e;else{for(var t=this.first;null!==t.next;)t=t.next;t.next=e}this.size+=1}},{key:"dequeue",value:function(){var e=null;return null!==this.first&&(e=this.first,this.first=this.first.next,this.size-=1),e}},{key:"clear",value:function(){this.size=0,this.first=null}}]),e}();t.Queue=d;var h={},m=-1,_={publish:function(e,t){if(!h[e])return!1;for(var r=h[e],n=r?r.length:0;n--;)r[n].func(t);return this},subscribe:function(e,t){h[e]||(h[e]=[]);var r=(++m).toString();return h[e].push({token:r,func:t}),r},unsubscribe:function(e){for(var t in h)if(h[t])for(var r=0,n=h[t].length;r<n;r++)if(h[t][r].token===e)return h[t].splice(r,1),e},getTopicFunc:function(e){return h[e]?h[e]:[]}};t.pubsub=_},function(e,t,r){"use strict";var n=r(0)(r(3));importScripts("./libDecodeSDK.js"),addEventListener("message",function(e){var t=e.data;switch(t.type){case"sdpInfo":a=t.data.sdpInfo;t.data.aacCodecInfo;!function(e,t){for(var r=e,i=0;i<e.length;i++)if(-1===r[i].trackID.search("trackID=t")&&(u=null,"recvonly"===r[i].TalkTransType)){switch(r[i].codecName){case"G711U":case"G711A":case"PCM":case"AAC":case"G726-40":case"G726-24":case"G726-32":case"G726-16":case"MP2":case"G729":case"G723.1":case"G722_1_16":case"G722_1_24":case"G722_1_32":case"G722_1c_24":case"G722_1c_32":(u=new n.default(r[i].codecName)).setCodecInfo(r[i])}var a=r[i].RtpInterlevedID;if(o[a]=u,null!=u)return}}(a,0,t.data.mp4Codec);break;case"MediaData":if(!1===i)return;var r=t.data.rtspInterleave[1];if("undefined"!==typeof o[r]&&null!==o[r]){var l=t.data,c=o[r].parseRTPData(l.rtspInterleave,l.payload,s,t.info);if(null==c)return;null!==c&&"undefined"!==typeof c&&null!==c.streamData&&"undefined"!==typeof c.streamData&&(c.streamData=null),f("render",c)}}},!1);var i=!1;Module.onRuntimeInitialized=function(){Module._DECODE_Init(),f("WorkerReady"),f("AudioWorkerReady"),i=!0};var o=[],a=null,u=null,s=!1;function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={type:e,codec:t.codec,audio_type:t.audio_type,data:t.bufferData,rtpTimeStamp:t.rtpTimeStamp,samplingRate:t.samplingRate||8e3,option:t.option};if("render"===e)postMessage(r,[t.bufferData.buffer]);else if("backup"===e){postMessage({type:e,data:t})}else postMessage(r)}},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;r(1);var i=n(r(8)),o=function(e,t){var r=null,n=null,o=0,a=(new Uint8Array(7),{seconds:null,useconds:null}),u=[];function s(){this.decoder=new i.default,this.firstTime=0,this.lastMSW=0}return u[0]="6",u[7]="PCM8",u[8]="G729",u[9]="IMA_ADPCM",u[10]="G711U",u[11]="G721",u[12]="PCM8_VWIS",u[13]="MS_ADPCM",u[14]="G711A",u[15]="AMR-NB",u[16]="PCM16",u[17]="24",u[22]="G711U",u[25]="G723.1",u[26]="AAC-LC",u[27]="G726-40",u[28]="G726-32",u[29]="G726-24",u[30]="G726-16",u[31]="MP2",u[32]="Ogg vorbis",u[33]="MP3",u[34]="G722_1_32",u[35]="G_722",u[36]="G_722_1c_48",u[37]="AAC-LD",u[38]="OPUS",u[39]="G719",u[40]="G728",u[41]="G722_1_16",u[42]="G722_1_24",u[43]="G722_1c_24",u[44]="G722_1c_32",u[45]="SVAC",u[46]="PCM_U8",u[47]="PCM_F32",u[48]="NONE",u[49]="ADPCM_DIV4",s.prototype={parseRTPData:function(e,t,n,i){var s,f=t[22];t[21],t[20],t.length,t.subarray(24+f,t.length-8).subarray(0,2);var l=(t[19]<<24)+(t[18]<<16)+(t[17]<<8)+t[16]>>>0;s=l>>>26===0?"2000":"20"+(l>>26);var c=Date.UTC(s,(l>>22&15)-1,l>>17&31,l>>12&31,l>>6&63,63&l)/1e3;if(c-=28800,0===this.firstTime)this.firstTime=c,this.lastMSW=0,o=(t[21]<<8)+t[20],a.seconds=c,a.useconds=0;else{var p,d=(t[21]<<8)+t[20];p=d>o?d-o:d+65535-o,this.lastMSW+=p,c>this.firstTime&&(this.lastMSW-=1e3),this.firstTime=c,a.seconds=c,a.useconds=this.lastMSW,o=d}var h=this.decoder.decode(t);if(null!=h)return r=h.samplingRate,{codec:u[i.audio_type],audio_type:i.audio_type,bufferData:h.bufferData,rtpTimeStamp:1e3*a.seconds+a.useconds,samplingRate:r,option:h.option}},setCodecInfo:function(e){e.config,n=e.bitrate,r=e.ClockFreq},getCodecInfo:function(){return{bitrate:n,clockFreq:r}}},new s};t.default=o},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";var n=r(0);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(r(7));if("undefined"==typeof o)var o={};o.MD5=function(e){function t(e){var t=(e>>>0).toString(16);return"00000000".substr(0,8-t.length)+t}function r(e,t,r){return e&t|~e&r}function n(e,t,r){return r&e|~r&t}function o(e,t,r){return e^t^r}function a(e,t,r){return t^(e|~r)}function u(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]}function s(e){for(var t=[],r=0;r<e.length;r++)if(e.charCodeAt(r)<=127)t.push(e.charCodeAt(r));else for(var n=encodeURIComponent(e.charAt(r)).substr(1).split("%"),i=0;i<n.length;i++)t.push(parseInt(n[i],16));return t}function f(e){for(var t=new Array(e.length),r=0;r<e.length;r++)t[r]=e[r];return t}var l=null,c=null;function p(e,t){return 4294967295&e+t}return"string"==typeof e?l=s(e):e.constructor==Array?0===e.length?l=e:"string"==typeof e[0]?l=function(e){for(var t=[],r=0;r<e.length;r++)t=t.concat(s(e[r]));return t}(e):"number"==typeof e[0]?l=e:c=(0,i.default)(e[0]):"undefined"!=typeof ArrayBuffer?e instanceof ArrayBuffer?l=f(new Uint8Array(e)):e instanceof Uint8Array||e instanceof Int8Array?l=f(e):e instanceof Uint32Array||e instanceof Int32Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Float32Array||e instanceof Float64Array?l=f(new Uint8Array(e.buffer)):c=(0,i.default)(e):c=(0,i.default)(e),c&&alert("MD5 type mismatch, cannot process "+c),function(){function e(e,t,r,n){var i,o,a=y;y=v,v=E,E=p(E,(i=p(_,p(e,p(t,r))))<<(o=n)&4294967295|i>>>32-o),_=a}var i=l.length;l.push(128);var s=l.length%64;if(s>56){for(var f=0;f<64-s;f++)l.push(0);s=l.length%64}for(f=0;f<56-s;f++)l.push(0);l=l.concat(function(e){for(var t=[],r=0;r<8;r++)t.push(255&e),e>>>=8;return t}(8*i));var c=1732584193,d=4023233417,h=2562383102,m=271733878,_=0,E=0,v=0,y=0;for(f=0;f<l.length/64;f++){_=c;var g=64*f;e(r(E=d,v=h,y=m),3614090360,u(l,g),7),e(r(E,v,y),3905402710,u(l,g+4),12),e(r(E,v,y),606105819,u(l,g+8),17),e(r(E,v,y),3250441966,u(l,g+12),22),e(r(E,v,y),4118548399,u(l,g+16),7),e(r(E,v,y),1200080426,u(l,g+20),12),e(r(E,v,y),2821735955,u(l,g+24),17),e(r(E,v,y),4249261313,u(l,g+28),22),e(r(E,v,y),1770035416,u(l,g+32),7),e(r(E,v,y),2336552879,u(l,g+36),12),e(r(E,v,y),4294925233,u(l,g+40),17),e(r(E,v,y),2304563134,u(l,g+44),22),e(r(E,v,y),1804603682,u(l,g+48),7),e(r(E,v,y),4254626195,u(l,g+52),12),e(r(E,v,y),2792965006,u(l,g+56),17),e(r(E,v,y),1236535329,u(l,g+60),22),e(n(E,v,y),4129170786,u(l,g+4),5),e(n(E,v,y),3225465664,u(l,g+24),9),e(n(E,v,y),643717713,u(l,g+44),14),e(n(E,v,y),3921069994,u(l,g),20),e(n(E,v,y),3593408605,u(l,g+20),5),e(n(E,v,y),38016083,u(l,g+40),9),e(n(E,v,y),3634488961,u(l,g+60),14),e(n(E,v,y),3889429448,u(l,g+16),20),e(n(E,v,y),568446438,u(l,g+36),5),e(n(E,v,y),3275163606,u(l,g+56),9),e(n(E,v,y),4107603335,u(l,g+12),14),e(n(E,v,y),1163531501,u(l,g+32),20),e(n(E,v,y),2850285829,u(l,g+52),5),e(n(E,v,y),4243563512,u(l,g+8),9),e(n(E,v,y),1735328473,u(l,g+28),14),e(n(E,v,y),2368359562,u(l,g+48),20),e(o(E,v,y),4294588738,u(l,g+20),4),e(o(E,v,y),2272392833,u(l,g+32),11),e(o(E,v,y),1839030562,u(l,g+44),16),e(o(E,v,y),4259657740,u(l,g+56),23),e(o(E,v,y),2763975236,u(l,g+4),4),e(o(E,v,y),1272893353,u(l,g+16),11),e(o(E,v,y),4139469664,u(l,g+28),16),e(o(E,v,y),3200236656,u(l,g+40),23),e(o(E,v,y),681279174,u(l,g+52),4),e(o(E,v,y),3936430074,u(l,g),11),e(o(E,v,y),3572445317,u(l,g+12),16),e(o(E,v,y),76029189,u(l,g+24),23),e(o(E,v,y),3654602809,u(l,g+36),4),e(o(E,v,y),3873151461,u(l,g+48),11),e(o(E,v,y),530742520,u(l,g+60),16),e(o(E,v,y),3299628645,u(l,g+8),23),e(a(E,v,y),4096336452,u(l,g),6),e(a(E,v,y),1126891415,u(l,g+28),10),e(a(E,v,y),2878612391,u(l,g+56),15),e(a(E,v,y),4237533241,u(l,g+20),21),e(a(E,v,y),1700485571,u(l,g+48),6),e(a(E,v,y),2399980690,u(l,g+12),10),e(a(E,v,y),4293915773,u(l,g+40),15),e(a(E,v,y),2240044497,u(l,g+4),21),e(a(E,v,y),1873313359,u(l,g+32),6),e(a(E,v,y),4264355552,u(l,g+60),10),e(a(E,v,y),2734768916,u(l,g+24),15),e(a(E,v,y),1309151649,u(l,g+52),21),e(a(E,v,y),4149444226,u(l,g+16),6),e(a(E,v,y),3174756917,u(l,g+44),10),e(a(E,v,y),718787259,u(l,g+8),15),e(a(E,v,y),3951481745,u(l,g+36),21),c=p(c,_),d=p(d,E),h=p(h,v),m=p(m,y)}return function(e,r,n,i){for(var o="",a=0,u=0,s=3;s>=0;s--)a=255&(u=arguments[s]),a<<=8,a|=255&(u>>>=8),a<<=8,a|=255&(u>>>=8),a<<=8,o+=t(a|=u>>>=8);return o}(m,h,d,c).toUpperCase()}()};var a=function(e){return o.MD5(e)};t.default=a},function(e,t){function r(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;r(1);var n=function(){var e,t,r,n,i,o,a,u,s=!1,f=0,l=null,c=null,p=null,d=!1;function h(){h.prototype.setIsFirstFrame(!1)}return h.prototype={init:function(s){var l=Module._malloc(1),c=new Uint8Array(Module.HEAPU8.buffer,l,1);Module._DECODE_GetFreePort(c.byteOffset),f=c[0],c=null,Module._free(l),Module._DECODE_Init(f),e=Module._malloc(1048576),t=new Uint8Array(Module.HEAPU8.buffer,e,1048576);var p=2*s;r=Module._malloc(p),n=new Uint8Array(Module.HEAPU8.buffer,r,p),i=Module._malloc(4),o=new Uint8Array(Module.HEAPU8.buffer,i,4),a=Module._malloc(40),u=new Uint8Array(Module.HEAPU8.buffer,a,40)},decode:function(e){if(!1===d&&(this.init(1048576),d=!0),null!=t&&(t.set(e),!(Module._DECODE_InputOneFrame(f,t.byteOffset,e.length,n.byteOffset,o.byteOffset,u.byteOffset)<=0))){u[4],u[5],u[6],u[7],u[30],u[31],u[32],u[33],u[34],u[35],u[36];var r=o[0]+(o[1]<<8)+(o[2]<<16)+(o[3]<<24),i=u[24]+(u[25]<<8)+(u[26]<<16)+(u[27]<<24),a=u[28],s=u[29];p!=r&&(p=r,l=null,c=null,l=new ArrayBuffer(r),c=new Uint8Array(l)),c.set(Module.HEAPU8.subarray(n.byteOffset,n.byteOffset+r));for(var h=new Int16Array(c.buffer,c.byteOffset,c.byteLength/Int16Array.BYTES_PER_ELEMENT),m=new Float32Array(h.length),_=0;_<h.length;_++)m[_]=h[_]/Math.pow(2,15);var E={};return E.bufferData=m,E.samplingRate=i,E.option={},E.option.samples=i,E.option.bits=a,E.option.audioChnNum=s,E}},setIsFirstFrame:function(e){s=e},isFirstFrame:function(){return s},free:function(){Module._DECODE_Stop(f),t=null,Module._free(e),n=null,Module._free(r),o=null,Module._free(i),u=null,Module._free(a),jsBuf=null,jsYuvData=null}},new h};t.default=n}]);
|