jessibuca-pro-recorder-demo.js
365 KB
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("screenfull")):"function"==typeof define&&define.amd?define(["screenfull"],e):(t="undefined"!=typeof globalThis?globalThis:t||self)["jessibuca-pro-recorder"]=e()}(this,(function(){"use strict";const t=e;function e(t,i){const r=s();return(e=function(t,e){return r[t-=478]})(t,i)}function s(){const t=["18741010TgtjHT","20hglsch","keys","1365078VaJtML","11wyrigC","length","222915jCHFve","723252VJbdZv","1320812nNkJiT","apply","361791EVGgqz","136jtIuGy","slice","off","60uZfSjm","663456bVXdai","push","ctx"];return(s=function(){return t})()}!function(t,s){const i=e,r=t();for(;;)try{if(453532===-parseInt(i(487))/1+-parseInt(i(480))/2+-parseInt(i(493))/3+parseInt(i(479))/4*(parseInt(i(491))/5)+parseInt(i(486))/6*(parseInt(i(478))/7)+parseInt(i(483))/8*(-parseInt(i(482))/9)+parseInt(i(490))/10*(parseInt(i(494))/11))break;r.push(r.shift())}catch(t){r.push(r.shift())}}(s);class i{on(t,s,i){const r=e,n=this.e||(this.e={});return(n[t]||(n[t]=[]))[r(488)]({fn:s,ctx:i}),this}once(t,s,i){const r=this;function n(){const a=e;r[a(485)](t,n);for(var o=arguments.length,h=new Array(o),c=0;c<o;c++)h[c]=arguments[c];s[a(481)](i,h)}return n._=s,this.on(t,n,i)}emit(t){const s=e,i=((this.e||(this.e={}))[t]||[])[s(484)]();for(var r=arguments[s(495)],n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];for(let t=0;t<i.length;t+=1)i[t].fn.apply(i[t][s(489)],n);return this}[t(485)](e,s){const i=t,r=this.e||(this.e={});if(!e)return Object[i(492)](r).forEach((t=>{delete r[t]})),void delete this.e;const n=r[e],a=[];if(n&&s)for(let t=0,e=n[i(495)];t<e;t+=1)n[t].fn!==s&&n[t].fn._!==s&&a[i(488)](n[t]);return a[i(495)]?r[e]=a:delete r[e],this}}const r=S;!function(t,e){const s=S,i=t();for(;;)try{if(728905===-parseInt(s(415))/1+-parseInt(s(488))/2*(parseInt(s(332))/3)+parseInt(s(370))/4+parseInt(s(276))/5+parseInt(s(451))/6*(-parseInt(s(481))/7)+-parseInt(s(399))/8+-parseInt(s(418))/9*(-parseInt(s(379))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(k);const n={websocket:1,fetch:2,hls:3,webrtc:4,webTransport:5},a={fetch:r(302),hls:r(285),websocket:r(351),webrtc:"webrtc",webTransport:r(404),worker:r(452)},o={mp4:r(284),webm:"webm",flv:r(311)},h={flv:r(311),m7s:"m7s",hls:r(285),webrtc:r(298),webTransport:"webTransport",nakedFlow:r(490),fmp4:r(476),mpeg4:"mpeg4"},c={debug:"debug",warn:r(414)},u=r(393);r(337),r(444);const l={audio:1,video:2},d={audio:8,video:9,scriptData:18},f={fetch:r(302),destroy:r(322),buffer:r(378),fetchError:r(400),fetchClose:r(410),fetchSuccess:r(479)},p={fullscreen:"fullscreen$2",webFullscreen:"webFullscreen",decoderWorkerInit:"decoderWorkerInit",play:r(383),playing:r(356),pause:r(483),mute:"mute",load:"load",loading:"loading",zooming:r(372),videoInfo:"videoInfo",timeUpdate:r(325),audioInfo:"audioInfo",log:r(426),error:r(317),kBps:r(447),timeout:"timeout",delayTimeout:r(413),delayTimeoutRetryEnd:"delayTimeoutRetryEnd",loadingTimeout:r(500),loadingTimeoutRetryEnd:r(335),stats:r(319),performance:r(496),videoSmooth:"videoSmooth",faceDetectActive:r(402),objectDetectActive:r(462),record:r(358),recording:r(396),recordingTimestamp:r(350),recordStart:"recordStart",recordEnd:r(281),recordCreateError:r(333),recordBlob:r(407),recordCancel:r(403),buffer:r(378),videoFrame:r(375),videoSEI:r(397),start:r(487),metadata:r(295),resize:"resize",volumechange:r(489),destroy:"destroy",beforeDestroy:r(454),streamEnd:r(395),streamRate:"streamRate",streamAbps:r(297),streamVbps:r(492),streamDts:r(306),streamSuccess:"streamSuccess",streamMessage:r(382),streamError:r(299),streamStats:r(280),mseSourceOpen:"mseSourceOpen",mseSourceClose:r(505),mseSourceended:"mseSourceended",mseSourceBufferError:r(344),mseAddSourceBufferError:r(363),mseSourceBufferBusy:r(316),mseSourceBufferFull:"mseSourceBufferFull",videoWaiting:r(434),videoTimeUpdate:r(465),videoSyncAudio:r(365),playToRenderTimes:"playToRenderTimes",playbackTime:r(495),playbackTimestamp:r(424),playbackTimeScroll:"playbackTimeScroll",playbackPrecision:r(373),playbackShowPrecisionChange:"playbackShowPrecisionChange",playbackJustTime:r(278),playbackStats:r(408),playbackSeek:r(355),playbackPause:"playbackPause",playbackPauseOrResume:r(388),playbackRateChange:r(412),playbackPreRateChange:r(498),ptz:r(347),streamQualityChange:r(441),visibilityChange:"visibilityChange",netBuf:r(501),close:r(366),networkDelayTimeout:"networkDelayTimeout",togglePerformancePanel:"togglePerformancePanel",viewResizeChange:"viewResizeChange",flvDemuxBufferSizeTooLarge:r(282),talkGetUserMediaSuccess:r(338),talkGetUserMediaFail:r(364),talkGetUserMediaTimeout:r(331),talkStreamStart:r(484),talkStreamOpen:"talkStreamOpen",talkStreamClose:r(416),talkStreamError:"talkStreamError",talkStreamInactive:r(421),webrtcDisconnect:r(464),webrtcFailed:r(472),webrtcClosed:"webrtcClosed",webrtcOnConnectionStateChange:"webrtcOnConnectionStateChange",webrtcOnIceConnectionStateChange:r(329),crashLog:r(279),focus:r(439),blur:"blur",visibilityHiddenTimeout:r(468),websocketOpen:r(466),websocketClose:"websocketClose",websocketError:r(283),websocketMessage:r(431),aiObjectDetectorInfo:r(368),aiFaceDetectorInfo:r(456),playFailedAndPaused:"playFailedAndPaused",audioResumeState:r(506),webrtcStreamH265:r(475),flvMetaData:r(433),talkFailedAndStop:r(334),removeLoadingBgImage:r(405),memoryLog:r(387),downloadMemoryLog:r(361),pressureObserverCpu:r(458)},m={playError:r(449),fetchError:r(400),websocketError:"websocketError",webcodecsH265NotSupport:r(406),webcodecsDecodeError:r(486),webcodecsUnsupportedConfigurationError:r(509),mediaSourceH265NotSupport:r(342),mediaSourceDecoderConfigurationError:r(499),mediaSourceFull:p[r(443)],mseSourceBufferError:p.mseSourceBufferError,mseAddSourceBufferError:p[r(363)],mediaSourceAppendBufferError:r(341),mediaSourceBufferListLarge:"mediaSourceBufferListLarge",mediaSourceAppendBufferEndTimeout:r(420),mediaSourceTsIsMaxDiff:r(389),mediaSourceUseCanvasRenderPlayFailed:"mediaSourceUseCanvasRenderPlayFailed",wasmDecodeError:r(440),wasmUseVideoRenderError:r(362),hlsError:"hlsError",hlsV2Mp4NotSupport:"hlsV2Mp4NotSupport",webrtcError:"webrtcError",webrtcClosed:p[r(411)],webrtcIceCandidateError:r(377),webglAlignmentError:"webglAlignmentError",wasmWidthOrHeightChange:r(369),mseWidthOrHeightChange:r(428),wcsWidthOrHeightChange:r(291),widthOrHeightChange:r(386),tallWebsocketClosedByError:r(430),flvDemuxBufferSizeTooLarge:p[r(282)],wasmDecodeVideoNoResponseError:r(398),audioChannelError:r(507),simdH264DecodeVideoWidthIsTooLarge:r(343),simdDecodeError:r(394),webglContextLostError:r(453),videoElementPlayingFailed:r(461),videoElementPlayingFailedForWebrtc:r(511),decoderWorkerInitError:"decoderWorkerInitError",videoInfoError:r(277),videoCodecIdError:"videoCodecIdError",streamEnd:p[r(395)],delayTimeout:p[r(413)],loadingTimeout:p[r(500)],networkDelayTimeout:p[r(293)]},_={notConnect:"notConnect",open:r(330),close:"close",error:"error"};r(427),r(300),r(321),r(318);const g={download:r(321),blob:r(503)},y={7:r(435),12:r(359),99:r(289)},v={h264:7,h265:12,mpeg4:99},b={h264:"H264(AVC)",h265:r(359)},I={AAC:10,ALAW:7,MULAW:8,MP3:2};function S(t,e){const s=k();return(S=function(t,e){return s[t-=276]})(t,e)}const w={AAC:r(376),ALAW:"ALAW(g711a)",MULAW:"MULAW(g711u)",MP3:r(448)},A={10:r(376),7:r(320),8:r(323),2:r(448)},T={sps:7,pps:8,iFrame:5,kUnspecified:0,kSliceNonIDR:1,kSliceDPA:2,kSliceDPB:3,kSliceDPC:4,kSliceIDR:5,kSliceSEI:6,kSliceSPS:7,kSlicePPS:8,kSliceAUD:9,kEndOfSequence:10,kEndOfStream:11,kFiller:12,kSPSExt:13,kReserved0:14},E={pFrame:1,iFrame:19,nLp:20,vps:32,sps:33,pps:34,sei:39,prefixSei:39,suffixSei:40};function k(){const t=["talkGetUserMediaTimeout","251898hUhkgI","recordCreateError","talkFailedAndStop","loadingTimeoutRetryEnd","zoomNarrow","/crypto/","talkGetUserMediaSuccess","The user aborted a request","webcodecs","mediaSourceAppendBufferError","mediaSourceH265NotSupport","simdH264DecodeVideoWidthIsTooLarge","mseSourceBufferError",'video/mp4; codecs="hev1.1.6.L123.b0"',"delta","ptz","left-up","hevc","recordingTimestamp","websocket","Decoder error","image/jpeg","load-response-headers","playbackSeek","playing","A key frame is required after configure() or flush()","record","H265(HEVC)","load-start","downloadMemoryLog","wasmUseVideoRenderError","mseAddSourceBufferError","talkGetUserMediaFail","videoSyncAudio","close","playback","aiObjectDetectorInfo","wasmWidthOrHeightChange","4413280tLHHkd","closed","zooming","playbackPrecision","fiStop","videoFrame","AAC","webrtcIceCandidateError","buffer","1471560njtRUE","subtitle-segments","connecting","streamMessage","play","worklet","rightUp","widthOrHeightChange","memoryLog","playbackPauseOrResume","mediaSourceTsIsMaxDiff","message","Unsupported configuration","apertureNear","20251202","simdDecodeError","streamEnd","recording","videoSEI","wasmDecodeVideoNoResponseError","1893720oHkMXD","fetchError","load-retry","faceDetectActive","recordCancel","webTransport","removeLoadingBgImage","webcodecsH265NotSupport","recordBlob","playbackStats","flv-script-data","fetchClose","webrtcClosed","playbackRateChange","delayTimeout","warn","553668dOkTVi","talkStreamClose","sourceopen","45qBTdSb","remove-buffer","mediaSourceAppendBufferEndTimeout","talkStreamInactive","switch-url-success","left","playbackTimestamp","speed","log","empty","mseWidthOrHeightChange","oneHour","tallWebsocketClosedByError","websocketMessage","mse","flvMetaData","videoWaiting","H264(AVC)","demuxed-track","rtp","halfHour","focus","wasmDecodeError","streamQualityChange","sei","mseSourceBufferFull","jbprov","active","leftDown","kBps","MP3","playIsNotPauseOrUrlIsNull","subtitle-playlist","44436nOQGVW","worker","webglContextLostError","beforeDestroy","image/png","aiFaceDetectorInfo","right","pressureObserverCpu","idle","buffereos","videoElementPlayingFailed","objectDetectActive","loading","webrtcDisconnect","videoTimeUpdate","websocketOpen","zoomExpand","visibilityHiddenTimeout","sourceclose","down","key","webrtcFailed","tenMin","tcp","webrtcStreamH265","fmp4","hls-level-loaded","stream","fetchSuccess","sei-in-time","413fOLMbm","ceil","pause","talkStreamStart","avc","webcodecsDecodeError","start","16iVcIHy","volumechange","nakedFlow","offscreen","streamVbps",'"1.0.0"',"right-up","playbackTime","performance","focusFar","playbackPreRateChange","mediaSourceDecoderConfigurationError","loadingTimeout","netBuf","30min","blob","image/webp","mseSourceClose","audioResumeState","audioChannelError","udp","webcodecsUnsupportedConfigurationError","MEDIA_ERR_NETWORK","videoElementPlayingFailedForWebrtc","video","3944350WiRvWC","videoInfoError","playbackJustTime","crashLog","streamStats","recordEnd","flvDemuxBufferSizeTooLarge","websocketError","mp4","hls","pcm","script","sourceended","MPEG4","ratechange","wcsWidthOrHeightChange","AbortError","networkDelayTimeout","one-hour","metadata","timeupdate","streamAbps","webrtc","streamError","buffering","fiveMin","fetch","no-audio-track","ttfb","Decoding error","streamDts","five-min","MEDIA_ERR_SRC_NOT_SUPPORTED","canplay","ended","flv","apertureFar","MEDIA_ERR_DECODE","metadata-parsed","ten-min","mseSourceBufferBusy","error","base64","stats","ALAW","download","destroy","MULAW","g711u","timeUpdate",'video/mp4; codecs="avc1.64002A"',"paused","container","webrtcOnIceConnectionStateChange","open"];return(k=function(){return t})()}r(340),r(491),r(432),r(285),r(298),r(471),r(346),r(326),r(345),r(310),r(330),r(371),Math[r(482)](40),r(438),r(473),r(301),r(294),r(315),r(307),r(502),r(429),r(473),r(470),r(423),r(348),r(494),r(457),r(423),r(446),r(385),r(374),r(467),r(336),r(312),r(392),r(497),r(324),r(286),r(455),r(353),r(504),r(469),r(417),r(288),r(309),r(296),r(290);const x={h264:r(485),h265:r(349)};r(357),r(391),r(305),r(352),r(339),r(292),r(463),r(356),r(327),r(322);const U={sequenceHeader:0,nalu:1},L={keyFrame:1,interFrame:2};r(437),r(474),r(508),r(478),r(367),r(330),r(366),r(317),r(390),r(287),r(384),r(287),r(445),r(328),r(512);const D={keyFrame:1,interFrame:2},B={sequenceHeader:0,nalu:1},C={SUBTITLE_SEGMENTS:r(380),HLS_MANIFEST_LOADED:"hls-manifest-loaded",HLS_LEVEL_LOADED:r(477),DEMUXED_TRACK:r(436),FLV_SCRIPT_DATA:r(409),METADATA_PARSED:r(314),TTFB:r(304),LOAD_RETRY:r(401),LOAD_START:r(360),SPEED:r(425),LOAD_COMPLETE:"load-complete",LOAD_RESPONSE_HEADERS:r(354),SEI:r(442),SEI_IN_TIME:r(480),NO_AUDIO_TRACK:r(303),REMOVE_BUFFER:r(419),BUFFEREOS:r(460),SOURCEBUFFER_CREATED:"sourcebuffer-created",SWITCH_URL_FAILED:"switch-url-failed",SWITCH_URL_SUCCESS:r(422),SUBTITLE_PLAYLIST:r(450),STREAM_PARSED:"stream-parsed",ERROR:r(317)};r(459),r(381),r(300),r(317),r(510),r(313),r(308);const R={protocol:n[r(302)],demuxType:h[r(311)],isFlv:!1,isHls:!1,isFmp4:!1,isNakedFlow:!1,recordType:o[r(284)],wasmMp4RecorderDecoder:"jessibuca-pro-mp4-recorder-decoder.js",debug:!1,debugLevel:c[r(414)],debugUuid:"",hasAudio:!0,hasVideo:!0},P=r(493),M=O;function F(t){let{profile:e,sampleRate:s,channel:i}=t;return new Uint8Array([175,0,e<<3|(14&s)>>1,(1&s)<<7|i<<3])}function N(t){const e=O;return t[0]>>4===I[e(299)]}function O(t,e){const s=z();return(O=function(t,e){return s[t-=273]})(t,e)}function z(){const t=["unshift","slice","749wejtSb","buffer","navigator","subarray","sampling_index","aacEncoderConfigurationRecord","sbr","profile: ","bufoff","ext_object_type","sample_rate","3160HGvuXx","Flv: AAC invalid sampling frequency index!","mp4a.40.2","length","read_golomb","bufpos","channels","8325BuWZJm","firefox","buflen","5385743NEzneZ","iserro","AAC","error","sampleRate: ","read","12858XHxkQj","2261340gsGEvR","1rbfIpj","indexOf","464868fVLRAV","object_type","log","mp4a.40.","toLowerCase","451310bWqGQO","userAgent","sequenceHeader","look","chan_config","push","3955pqFxVs","2156UKpZPD"];return(z=function(){return t})()}!function(t,e){const s=O,i=t();for(;;)try{if(234579===parseInt(s(305))/1*(-parseInt(s(312))/2)+parseInt(s(307))/3+-parseInt(s(273))/4*(-parseInt(s(318))/5)+parseInt(s(303))/6*(parseInt(s(276))/7)+-parseInt(s(287))/8*(-parseInt(s(294))/9)+-parseInt(s(304))/10+-parseInt(s(297))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);const G=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],H=G;function V(t,e){if(t===O(289)){if(1===e)return new Uint8Array([0,200,0,128,35,128]);if(2===e)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(1===e)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===e)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(3===e)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}}function W(t){return 1024*(arguments[O(290)]>1&&void 0!==arguments[1]?arguments[1]:9e4)/t}class j{constructor(t){const e=O;this.buffer=t,this[e(296)]=t[e(290)],this.bufpos=0,this[e(284)]=0,this[e(298)]=!1}[M(302)](t){const e=M;let s=0,i=0;for(;t;){if(t<0||this[e(292)]>=this[e(296)])return this[e(298)]=!0,0;this[e(298)]=!1,i=this[e(284)]+t>8?8-this.bufoff:t,s<<=i,s+=this[e(277)][this.bufpos]>>8-this.bufoff-i&255>>8-i,this[e(284)]+=i,t-=i,8==this.bufoff&&(this[e(292)]++,this[e(284)]=0)}return s}[M(315)](t){const e=M;let s=this[e(292)],i=this[e(284)],r=this[e(302)](t);return this[e(292)]=s,this[e(284)]=i,r}[M(291)](){const t=M;let e;for(e=0;0==this.read(1)&&!this[t(298)];e++);return(1<<e)+this[t(302)](e)-1}}function q(t){let e=t[M(302)](5);return 31===e&&(e=t.read(6)+32),e}function Y(t,e){const s=M;return e[s(280)]=t[s(302)](4),15==e.sampling_index?t[s(302)](24):K[e.sampling_index]}const K=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350,0,0,0],X=[0,1,2,3,4,5,6,8];const J=ht;function Z(){const t=ht;return(new Date)[t(623)]()}function Q(){const t=ht;return performance&&typeof performance[t(755)]===t(529)?performance[t(755)]():Date[t(755)]()}function $(t){let e=0,s=Q();return i=>{if(!function(t){const e=J;return"[object Number]"===Object[e(603)].toString[e(684)](t)}(i))return;e+=i;const r=Q(),n=r-s;n>=1e3&&(t(e/n*1e3),s=r,e=0)}}!function(t,e){const s=ht,i=t();for(;;)try{if(568713===-parseInt(s(586))/1+-parseInt(s(746))/2*(-parseInt(s(760))/3)+-parseInt(s(578))/4+parseInt(s(625))/5+-parseInt(s(703))/6+parseInt(s(577))/7*(parseInt(s(728))/8)+parseInt(s(514))/9*(parseInt(s(658))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ct),(()=>{const t=ht;try{if(typeof WebAssembly===t(528)&&typeof WebAssembly[t(619)]===t(529)){const e=new WebAssembly.Module(Uint8Array.of(0,97,115,109,1,0,0,0));if(e instanceof WebAssembly[t(745)])return new(WebAssembly[t(498)])(e)instanceof WebAssembly[t(498)]}}catch(t){}})();J(738);J(507);const tt='"7-3-2025"';function et(){const t=J,e=window.navigator[t(708)];return!e[t(754)](/Chrome/gi)&&!!e[t(754)](/Safari/gi)}function st(t){const e=J;if(null==t||""==t)return"0 Bytes";const s=new Array(e(545),"KB","MB","GB","TB","PB","EB","ZB","YB");let i=0;const r=parseFloat(t);i=Math[e(491)](Math[e(630)](r)/Math[e(630)](1024));var n=r/Math[e(730)](1024,i);return(n=n.toFixed(2))+s[i]}function it(t,e){const s=J;let i=window.URL[s(744)](e),r=window[s(546)].createElement("a");r.download=t,r[s(687)]=i;let n=window.document[s(595)](s(733));n[s(668)](s(551),!0,!0),r[s(593)](n),setTimeout((()=>{const t=s;window[t(747)][t(579)](i)}),function(){const t=J,e=window[t(532)][t(708)][t(641)]();return e&&/iphone|ipad|ipod|ios/[t(581)](e)}()?1e3:0)}function rt(t){return null==t}function nt(t){return!rt(t)}function at(t){const e=J;var s;if(t>-1){var i=Math[e(491)](t/3600),r=Math[e(491)](t/60)%60,n=t%60;s=i<10?"0"+i+":":i+":",r<10&&(s+="0"),s+=r+":",(n=Math.round(n))<10&&(s+="0"),s+=n[e(574)](0)}return s}J(712),J(738),J(661);const ot=()=>{const t=J,e=window[t(532)].userAgent;return/Chrome/i[t(581)](e)};function ht(t,e){const s=ct();return(ht=function(t,e){return s[t-=491]})(t,e)}function ct(){const t=["borderStyle","charCodeAt","color","360EE","toLowerCase","backgroundColor","PB/s","transferControlToOffscreen","toString","opacity","subarray","toUpperCase","-o-user-select","data:","event","360SE","location","contain","onerror","download","objectFit","80olUSTl","QQBrowser","360",'"release"','video/mp4; codecs="',"requestVideoFrameCallback","filter","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=","msFullscreenElement","h265","initEvent","onload","createBuffer","div","experimental-webgl","pageX","Firefox","green","clientY","restore","forEach","px 宋体","VideoFrame","split","assign","removeAttribute","call","video","webkitFullscreenElement","href","ActiveXObject","message","pointer-events: none !important; display: block !important","hash","setHours","Anonymous","application/mozilla-npqihooquicklogin","[object Exception]","-ms-user-select","getMinutes","pps","noteOn","-webkit-touch-callout","mediaDevices","px Arial","2008062Zwbvxn","then","Edge","close","html","userAgent","body","firefox","borderWidth",'"development"',"-webkit-text-size-adjust","9999999","true","atob","avc1.","sequenceHeader","ALAW","webm","canvas","getParameter","scrollLeft","createTextNode","lineWidth","MB/s","getFullYear","4360EOmhWc","isTypeSupported","pow","TB/s","target","MouseEvents","resume","origin","replace","fillText",'"production"',"trim","win32","getAttribute","mozGetUserMedia","webgl","createObjectURL","Module","2rARvOK","URL","fontSize","stringify",";base64","borderColor","parse","isConfigSupported","match","now","top","style","100","fontFamily","1562925sswSwY","slice","apply","insertBefore","destination","createBufferSource","children","VideoEncoder.isConfigSupported is not a function","floor","getContext","rect","opera","green yuv","font","toDataURL","Instance","string","0 KB/s","[object DOMException]","useWCS","MediaStreamTrackGenerator","mimeTypes","error","width",'"1.0.0"',"substr","setAttribute","VideoEncoder.isConfigSupported() result is not supported","EB/s","content","application/vnd.apple.mpegurl","1093563Ljyiap","host","height","image","format","PressureObserver","xxxxxxxxxxxx4xxx","wow32","application/hwepass2001.installepass2001","length","hostname","strokeRect","start","audioWorklet","object","function","[object Error]","random","navigator","protocol","MediaSource","fillStyle","NaN","avc","push","addModule","visibility","application/javascript","join","undefined","srcElement","Bytes","document","gpu","byteLength","keyFrame","text","click","min","version","indexOf","validate","safari","src","useOffscreen","win64","image/png","readAsArrayBuffer","KB/s","getPropertyValue","getHours","absolute","right","repeat","data-","showModalDialog","createImageBitmap","save","substring","round","toFixed","#000","zIndex","1841mORnny","2248928vxPjpd","revokeObjectURL","YB/s","test","canPlayType","user-select","application/asx","scrollTop","1132719sizcgS","type","MULAW","status","attachShadow","-moz-user-select","appendChild","dispatchEvent","useMSE","createEvent","bottom","charAt","quality","sps","https:","dataset","angle","prototype","chrome","ZB/s","pathname","touches","demuxUseWorker","createElement","map","AAC","MediaStream","open","search","fromCharCode","webgl2","fullscreenElement","max","instantiate","application/360softmgrplugin","shadowRoot","rgba(0,0,0,0)","getTime","WebGLRenderingContext","4809875XfOfEM","clientX","img","supported","memory","log","performance","pageY","drawImage","{y}-{m}-{d} {h}:{i}:{s}","none","left"];return(ct=function(){return t})()}function ut(){return function(t){const e=J;let s="";if(typeof t===e(528))try{s=JSON.stringify(t),s=JSON[e(752)](s)}catch(e){s=t}else s=t;return s}(R)}function lt(t){return!0===t||t===J(715)}function dt(t){return!0!==t&&"true"!==t}function ft(t){const e=J;return t[e(739)]()[e(754)](/^function\s*\w*\s*\([\w\s,]*\)\s*{([\w\W]*?)}$/)[1]}function pt(t,e){const s=mt();return(pt=function(t,e){return s[t-=207]})(t,e)}function mt(){const t=["debug","log","4340DuLSJf","JbProRecorder","15898DtBLIZ","5474ZhFUxE","769395aHqjFR","1914110GwQmFw","34MAzWYF","[❗❗❗][","684PjsJkY","223300ImBrAE","[❌❌❌][","warn","debugLevel","debugUuid","_opt","[✅✅✅][","length","159618HVMqFI","1776mhXHVx","9fTHyaL"];return(mt=function(){return t})()}!function(t,e){const s=pt,i=t();for(;;)try{if(142497===parseInt(s(212))/1*(-parseInt(s(208))/2)+parseInt(s(214))/3*(parseInt(s(228))/4)+parseInt(s(210))/5+-parseInt(s(223))/6+-parseInt(s(209))/7*(parseInt(s(224))/8)+parseInt(s(225))/9*(parseInt(s(211))/10)+parseInt(s(215))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class _t{constructor(t){const e=pt;this[e(227)]=function(s){const i=e;if(t[i(220)].debug&&t._opt.debugLevel==c.debug){const e=t[i(220)].debugUuid?"["+t[i(220)][i(219)]+"]":"";for(var r=arguments[i(222)],n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];console[i(227)](i(207)+e+i(221)+s+"]",...n)}},this[e(217)]=function(s){const i=e;if(t[i(220)][i(226)]&&(t._opt[i(218)]==c[i(226)]||t._opt.debugLevel==c[i(217)])){const e=t._opt[i(219)]?"["+t._opt[i(219)]+"]":"";for(var r=arguments[i(222)],n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];console[i(227)]("JbProRecorder"+e+i(213)+s+"]",...n)}},this.error=function(s){const i=e,r=t[i(220)].debugUuid?"["+t._opt[i(219)]+"]":"";for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];console.error("JbProRecorder"+r+i(216)+s+"]",...a)}}}const gt=yt;function yt(t,e){const s=vt();return(yt=function(t,e){return s[t-=425]})(t,e)}function vt(){const t=["debugLog","length","21882UlWiFn","414136gESdQo","push","removeEventListener","28ThlZUl","27PoCkxU","1277710BRzDTd","master","proxy","debug","Events","1160946zGvFDF","bind","452814ysPuUp","destroy","3822716zgPUdP","2294703xbLJwn","destroys","780YTDQWI","isArray"];return(vt=function(){return t})()}!function(t,e){const s=yt,i=t();for(;;)try{if(688926===-parseInt(s(438))/1+parseInt(s(436))/2+parseInt(s(441))/3+parseInt(s(440))/4+parseInt(s(443))/5*(-parseInt(s(425))/6)+parseInt(s(429))/7*(-parseInt(s(426))/8)+parseInt(s(430))/9*(-parseInt(s(431))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vt);class bt{constructor(t){const e=yt;this[e(442)]=[],this.proxy=this.proxy[e(437)](this),this.master=t}proxy(t,e,s){const i=yt;let r=arguments[i(446)]>3&&void 0!==arguments[3]?arguments[3]:{};if(!t)return;if(Array[i(444)](e))return e.map((e=>this[i(433)](t,e,s,r)));t.addEventListener(e,s,r);const n=()=>{const n=i;"function"==typeof t[n(428)]&&t[n(428)](e,s,r)};return this.destroys[i(427)](n),n}[gt(439)](){const t=gt;this[t(432)][t(434)]&&this[t(432)][t(445)](t(435),t(439)),this.destroys.forEach((t=>t())),this[t(442)]=[]}}var It=St;function St(t,e){var s=wt();return(St=function(t,e){return s[t-=192]})(t,e)}function wt(){var t=["destroy","resetInit","3045755tDDZLZ","encTypeCode","7CWXBuR","init","height","1163580RYWnzY","2634080OKfcdT","65279iUhEwq","2yliKXv","width","16766530pvlBaJ","emit","videoInfo","5823882dgHtWb","encType","player","isDestroyed","898050TfxprL","getVideoInfo","4loSIfa"];return(wt=function(){return t})()}!function(t,e){for(var s=St,i=t();;)try{if(381112===parseInt(s(209))/1*(-parseInt(s(210))/2)+parseInt(s(207))/3+-parseInt(s(199))/4*(-parseInt(s(202))/5)+parseInt(s(197))/6*(parseInt(s(204))/7)+parseInt(s(208))/8+parseInt(s(193))/9+-parseInt(s(212))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wt);class At{constructor(t){var e=St;this[e(195)]=t,this.videoInfo={width:null,height:null,encType:null,encTypeCode:null},this[e(205)]=!1}[It(200)](){var t=It;this[t(196)]=!0,this[t(201)]()}resetInit(){var t=It;this[t(192)]={width:null,height:null,encType:null,encTypeCode:null},this[t(205)]=!1}updateVideoInfo(t){var e=It;nt(t[e(203)])&&(this[e(192)][e(194)]=y[t[e(203)]],this.videoInfo[e(203)]=t[e(203)]),nt(t[e(194)])&&(this.videoInfo[e(194)]=t[e(194)]),nt(t[e(211)])&&(this[e(192)].width=t[e(211)]),nt(t[e(206)])&&(this[e(192)][e(206)]=t[e(206)]),nt(this[e(192)][e(194)])&&nt(this[e(192)].height)&&nt(this[e(192)].width)&&!this[e(205)]&&(this[e(195)][e(213)](p[e(192)],this[e(192)]),this.init=!0)}hasInit(){return this[It(205)]}[It(198)](){return this.videoInfo}}function Tt(t,e){var s=kt();return(Tt=function(t,e){return s[t-=250]})(t,e)}var Et=Tt;function kt(){var t=["emit","161AXkYqN","6933995BcJNSR","init","encTypeCode","player","updateAudioInfo","9cCWfjO","depth","603720pnTfNY","isDestroyed","getAudioInfo","15786470PDKOCk","15452KQKEBn","sampleRate","audioInfo","390542DrKwHy","272040biXxBI","channels","993INmRzL","encType","6338322SqCoym","resetInit"];return(kt=function(){return t})()}!function(t,e){for(var s=Tt,i=t();;)try{if(867962===parseInt(s(262))/1+-parseInt(s(261))/2+-parseInt(s(264))/3*(-parseInt(s(258))/4)+-parseInt(s(270))/5+parseInt(s(266))/6+-parseInt(s(269))/7*(parseInt(s(254))/8)+-parseInt(s(252))/9*(-parseInt(s(257))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(kt);class xt{constructor(t){var e=Tt;this[e(250)]=t,this[e(260)]={encType:"",channels:"",sampleRate:"",depth:""},this[e(271)]=!1}destroy(){var t=Tt;this[t(255)]=!0,this[t(267)]()}resetInit(){var t=Tt;this.audioInfo={encType:"",channels:"",sampleRate:"",depth:""},this[t(271)]=!1}[Et(251)](t){var e=Et;t[e(272)]&&(this[e(260)][e(272)]=t[e(272)],this.audioInfo[e(265)]=A[t.encTypeCode]),t[e(263)]&&(this[e(260)][e(263)]=t.channels),t[e(259)]&&(this[e(260)][e(259)]=t[e(259)]),t[e(253)]&&(this[e(260)].depth=t[e(253)]),nt(this.audioInfo[e(259)])&&nt(this.audioInfo[e(263)])&&nt(this.audioInfo[e(265)])&&!this[e(271)]&&(this.player[e(268)](p[e(260)],this.audioInfo),this[e(271)]=!0)}hasInit(){return this.init}[Et(256)](){return this[Et(260)]}}function Ut(){function t(t){return!0===t||"true"===t}function e(t){return!1===t||"false"===t}const s="The user aborted a request",i="AbortError",r="AbortError",n="fetch",a="destroy",o="buffer",h="fetchError",c="fetchClose",u="fetchSuccess",l="idle",d="buffering",f="complete";let p=new class{constructor(){this._requestAbort=!1,this._status=l,this.writableStream=null,this.isChrome=!1,this.abortController=new AbortController}destroy(){this.abort(),this.writableStream&&e(this.writableStream.locked)&&this.writableStream.close().catch((t=>{})),this.writableStream=null,this._status=l}fetchStream(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=Object.assign({signal:this.abortController.signal},{headers:n.headers||{}});fetch(e,a).then((e=>{if(this._requestAbort)return this._status=l,void e.body.cancel();if(!function(t){return t.ok&&t.status>=200&&t.status<=299}(e))return this.abort(),void postMessage({cmd:h,message:`fetch response status is ${e.status} and ok is ${e.ok}`});if(postMessage({cmd:u}),"undefined"!=typeof WritableStream)this.writableStream=new WritableStream({write:e=>{this.abortController&&this.abortController.signal&&this.abortController.signal.aborted||t(this._requestAbort)?this._status=f:(this._status=d,postMessage({cmd:o,buffer:e},[e.buffer]))},close:()=>{this._status=f,postMessage({cmd:c})},abort:t=>{if(this.abortController&&this.abortController.signal&&this.abortController.signal.aborted)return void(this._status=f);const e=t.toString();-1===e.indexOf(s)&&-1===e.indexOf(i)&&t.name!==r&&(this.abort(),postMessage({cmd:h,message:t.toString()}))}}),e.body.pipeTo(this.writableStream);else{const n=e.body.getReader(),a=()=>{n.read().then((e=>{let{done:s,value:i}=e;if(s)return this._status=f,void postMessage({cmd:c});this.abortController&&this.abortController.signal&&this.abortController.signal.aborted||t(this._requestAbort)?this._status=f:(this._status=d,postMessage({cmd:o,buffer:i},[i.buffer]),a())})).catch((t=>{if(this.abortController&&this.abortController.signal&&this.abortController.signal.aborted)return void(this._status=f);const e=t.toString();-1===e.indexOf(s)&&-1===e.indexOf(i)&&t.name!==r&&(this.abort(),postMessage({cmd:h,message:t.toString()}))}))};a()}})).catch((t=>{this.abortController&&this.abortController.signal&&this.abortController.signal.aborted||"AbortError"!==t.name&&(this.abort(),postMessage({cmd:h,message:t.toString()}))}))}abort(){if(this._requestAbort=!0,this._status!==d||e(p.isChrome)){if(this.abortController){try{this.abortController.abort()}catch(t){}this.abortController=null}}else this.abortController=null}};self.onmessage=e=>{const s=e.data;switch(s.cmd){case n:p.isChrome=t(s.isChrome),p.fetchStream(s.url,JSON.parse(s.options));break;case a:p.destroy(),p=null}}}const Lt=Dt;function Dt(t,e){const s=Bt();return(Dt=function(t,e){return s[t-=432]})(t,e)}function Bt(){const t=["emit","getStreamType","workerUrl","debugLog","revokeObjectURL","_startStreamRateInterval","player","fetchError","17249990vWHbBt","cmd","_initFetchWorker","571281yIqowL","fetch","1622256NBvvcs","toFixed","7627753kNKGtM","dispatch","postMessage","destroy","FetchWorkerLoader","playing","fetchWorker","6777AyZdYE","fetchSuccess","2776902DDaJPc","streamRateInterval","6152cGHPsh","3791416coYhxP","toString","createObjectURL","text/javascript","kBps","onmessage","streamSuccess","close","streamRate","abortController","fetchClose","URL","22DrYlul","workerClearTimeout","terminate","stringify","5EktdBp","fetchStream","TAG_NAME","buffer","_stopStreamRateInterval","data","6yMadBK","byteLength","streamEnd"];return(Bt=function(){return t})()}!function(t,e){const s=Dt,i=t();for(;;)try{if(977366===parseInt(s(480))/1+-parseInt(s(441))/2+parseInt(s(466))/3*(-parseInt(s(444))/4)+parseInt(s(460))/5*(-parseInt(s(482))/6)+parseInt(s(432))/7+parseInt(s(443))/8*(-parseInt(s(439))/9)+-parseInt(s(477))/10*(-parseInt(s(456))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Ct extends i{constructor(t){const e=Dt;super(),this[e(462)]=e(436),this[e(475)]=t,this[e(437)]=!1,this.fetchWorker=null,this.workerClearTimeout=null,this.workerUrl=null,this[e(453)]=new AbortController,this[e(452)]=$((s=>{const i=e;t[i(469)](p[i(448)],(s/1024)[i(483)](2))})),this[e(442)]=null,this[e(479)](),t[e(472)](this[e(462)],"init")}[Lt(435)](){const t=Lt;this.off(),this.workerUrl&&(window[t(455)][t(473)](this.workerUrl),this[t(471)]=null),this[t(457)]&&(clearTimeout(this[t(457)]),this[t(457)]=null),this[t(438)]&&(this[t(438)].postMessage({cmd:f[t(435)]}),this.fetchWorker[t(458)](),this.fetchWorker=null),this._stopStreamRateInterval(),this[t(452)]=null,this[t(475)][t(472)](this.TAG_NAME,t(435))}[Lt(479)](){const t=Lt,e=ft(Ut[t(445)]()),s=new Blob([e],{type:t(447)});let i=URL[t(446)](s);const r=new Worker(i);this[t(471)]=i,this[t(457)]=setTimeout((()=>{const e=t;window[e(455)][e(473)](this.workerUrl),this.workerUrl=null,this[e(457)]=null}),1e4),r[t(449)]=e=>{const s=t,{demux:i}=this[s(475)],r=e[s(465)];switch(r[s(478)]){case f[s(463)]:this[s(452)]&&this.streamRate(r[s(463)][s(467)]),i[s(433)](r[s(463)]);break;case f[s(440)]:this[s(469)](p[s(450)]),this._startStreamRateInterval();break;case f[s(454)]:i[s(451)](),this.emit(p[s(468)]);break;case f.fetchError:i.close(),this[s(469)](m[s(476)],r.message)}},this[t(438)]=r}[Lt(474)](){const t=Lt;this[t(464)](),this[t(442)]=setInterval((()=>{const e=t;this[e(452)]&&this[e(452)](0)}),1e3)}[Lt(464)](){const t=Lt;this.streamRateInterval&&(clearInterval(this[t(442)]),this[t(442)]=null)}[Lt(461)](t){const e=Lt;let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this[e(438)][e(434)]({cmd:f[e(481)],url:t,isChrome:ot(),options:JSON[e(459)](s)})}[Lt(470)](){return a.fetch}}const Rt=Pt;function Pt(t,e){const s=Mt();return(Pt=function(t,e){return s[t-=364]})(t,e)}function Mt(){const t=["websocket handle message demux is null","streamRate","getStreamType","wsUrl","byteLength","debugWarn","socketDestroyFnList","notConnect","requestAbort","390tRkcwN","socket close and requestAbort is true","destroy","6szZYxK","message","code","isTrusted","debugError","off","websocket","forEach","error","debugLog","push","7021770oZhRPa","_closeWebSocket() socket is null or socket status is ","stopStreamRateInterval","streamEnd","streamRateInterval","socket close and code is ","open","resetFetchStream","socket","init","data","_handleMessage","16830HeHmCS","WebsocketStream","_closeWebSocket","socket close abnormally and code is ","player","close","2632476dnwrOr","websocketError","4564932nRSnsc","fetchStream","readyState","arraybuffer","websocket error","startStreamRateInterval","socket error","socketStatus","773406UWONdx","4QHzBPB","socket open","1445257QGuvhm","emit","streamSuccess","sendMessage","dispatch","socket error:","_createWebSocket","3368FusLRN","1871303asGhQN"];return(Mt=function(){return t})()}!function(t,e){const s=Pt,i=t();for(;;)try{if(789461===-parseInt(s(401))/1*(parseInt(s(400))/2)+-parseInt(s(392))/3+parseInt(s(390))/4+-parseInt(s(372))/5*(parseInt(s(424))/6)+parseInt(s(411))/7+parseInt(s(410))/8*(-parseInt(s(384))/9)+-parseInt(s(421))/10*(-parseInt(s(403))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Ft extends i{constructor(t){const e=Pt;super(),this[e(388)]=t,this[e(380)]=null,this[e(399)]=_[e(419)],this[e(415)]=null,this[e(420)]=!1,this.socketDestroyFnList=[],this.streamRate=$((s=>{t[e(404)](p.kBps,(s/1024).toFixed(2))})),this[e(376)]=null,t[e(370)](e(385),e(381))}destroy(){const t=Pt;this[t(386)](),this[t(374)](),this[t(415)]=null,this[t(366)](),this[t(388)][t(370)](t(385),t(423))}[Rt(397)](){const t=Rt;this[t(374)](),this[t(376)]=setInterval((()=>{const e=t;this[e(413)]&&this[e(413)](0)}),1e3)}[Rt(374)](){const t=Rt;this[t(376)]&&(clearInterval(this[t(376)]),this[t(376)]=null)}_createWebSocket(){const t=Rt,e=this[t(388)],{events:{proxy:s},demux:i}=e;this[t(380)]=new WebSocket(this[t(415)]),this.socket.binaryType=t(395);const r=s(this[t(380)],"open",(()=>{const e=t;this[e(388)][e(370)]("WebsocketStream",e(402)),this[e(399)]=_[e(378)],this[e(404)](p[e(405)]),this[e(388)][e(404)](p.websocketOpen),this[e(397)]()})),n=s(this.socket,t(425),(e=>{const s=t;this[s(413)]&&this.streamRate(e[s(382)][s(416)]),this._handleMessage(e[s(382)])})),a=s(this[t(380)],t(389),(e=>{const s=t;if(this[s(388)][s(370)]("WebsocketStream",s(377)+e[s(426)]),1006===e[s(426)]&&this[s(388)][s(365)](s(385),s(387)+e[s(426)]),lt(this[s(420)]))return this.requestAbort=!1,void this[s(388)].debugLog(s(385),s(422));i[s(389)](),this[s(399)]=_[s(389)],this[s(388)][s(404)](p.websocketClose),this[s(404)](p[s(375)])})),o=s(this.socket,"error",(e=>{const s=t;this.player[s(365)](s(385),s(398),e),this.socketStatus=_[s(369)],this[s(404)](m[s(391)],e),i[s(389)](),this[s(388)][s(370)](s(385),s(408),e[s(364)]?"websocket user aborted":s(396))}));this[t(418)][t(371)](r,n,a,o)}_closeWebSocket(){const t=Rt;this[t(418)][t(368)]((t=>t())),!this[t(380)]||0!==this[t(380)].readyState&&1!==this[t(380)][t(394)]?this.socket&&this[t(388)][t(370)](t(385),t(373)+(this[t(380)]&&this[t(380)].readyState)):(this[t(420)]=!0,this.socket[t(389)](1e3,"Client disconnecting")),this.socket=null,this[t(399)]=_.notConnect,this[t(413)]=null}[Rt(383)](t){const e=Rt,{demux:s}=this[e(388)];s?s[e(407)](t):this[e(388)][e(417)](e(385),e(412))}[Rt(393)](t,e){this[Rt(415)]=t,this._createWebSocket()}[Rt(406)](t){const e=Rt;this[e(380)]?this.socketStatus===_[e(378)]?this.socket.send(t):this[e(388)][e(365)]("WebsocketStream","websocket send message error and socket status is "+this[e(399)]):this[e(388)][e(365)](e(385),"websocket send message socket is null")}[Rt(379)](){const t=Rt;this[t(386)](),this[t(409)]()}[Rt(414)](){return a[Rt(367)]}}function Nt(t,e){const s=zt();return(Nt=function(t,e){return s[t-=337]})(t,e)}const Ot=Nt;function zt(){const t=["createBidirectionalStream","debugWarn","debugLog","WebTransportLoader","transport","77449leWxzV","streamRate","init","36eUExze","startStreamRateInterval","close","100icDNuZ","input","replace","streamSuccess","readable","webTransport","467285dOxdpj","42880NCODNQ","destroy","_createWebTransport","1670128LYYayu","abort","30027UGqxJE","fetchStream","_createWebTransport-ready","streamRateInterval","32NcjJgT","stopStreamRateInterval","wtUrl","70zdnjKz","catch","emit","then","player","800866gOFQOU","toFixed","117300sGdGbc"];return(zt=function(){return t})()}!function(t,e){const s=Nt,i=t();for(;;)try{if(237724===parseInt(s(353))/1+-parseInt(s(337))/2*(-parseInt(s(371))/3)+-parseInt(s(369))/4+-parseInt(s(365))/5+-parseInt(s(347))/6*(parseInt(s(340))/7)+-parseInt(s(366))/8*(parseInt(s(356))/9)+-parseInt(s(359))/10*(-parseInt(s(345))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Gt extends i{constructor(t){const e=Nt;super(),this[e(344)]=t,this[e(352)]=null,this.wtUrl=null,this[e(354)]=$((s=>{const i=e;t[i(342)](p.kBps,(s/1024)[i(346)](2))})),this.streamRateInterval=null,t[e(350)](e(351),e(355))}[Ot(367)](){const t=Ot;this[t(370)](),this.off(),this[t(344)].debugLog(t(351),"destroy")}[Ot(357)](){const t=Ot;this[t(338)](),this[t(374)]=setInterval((()=>{const e=t;this[e(354)]&&this[e(354)](0)}),1e3)}stopStreamRateInterval(){const t=Ot;this[t(374)]&&(clearInterval(this[t(374)]),this[t(374)]=null)}_createWebTransport(){const t=Ot,e=this.player,{debug:s,events:{proxy:i},demux:r}=e;try{this[t(352)]=new WebTransport(this[t(339)]),this[t(352)].ready[t(343)]((()=>{const e=t;this[e(342)](p[e(362)]),this[e(357)](),this[e(352)][e(348)]()[e(343)]((t=>{const s=e;t[s(363)].pipeTo(new WritableStream(r[s(360)]))}))}))[t(341)]((e=>{const s=t;this[s(344)][s(349)](s(351),s(373),e)}))}catch(e){this[t(344)][t(349)](t(351),"_createWebTransport",e)}}[Ot(372)](t){const e=Ot;this[e(339)]=t[e(361)](/^wt:/,"https:"),this[e(368)]()}[Ot(370)](){const t=Ot;if(this[t(352)])try{this[t(352)][t(358)](),this.transport=null}catch(e){this[t(352)]=null}}getStreamType(){return a[Ot(364)]}}const Ht=Wt;function Vt(){const t=["loadSource","then","init","9FYrbMD","1581964VCEMUY","8770248wKPBFB","24277581QQfXhW","getStreamType","loadSource success","hls","hlsError","HlsStream","off","debugLog","emit","player","8609765DZVTEy","14039312IfDVNM","1957522myMqjX","streamSuccess","fetchStream","2WSGRIa","408612eUJbqq"];return(Vt=function(){return t})()}function Wt(t,e){const s=Vt();return(Wt=function(t,e){return s[t-=490]})(t,e)}!function(t,e){const s=Wt,i=t();for(;;)try{if(926427===-parseInt(s(512))/1*(-parseInt(s(506))/2)+parseInt(s(511))/3*(parseInt(s(507))/4)+parseInt(s(501))/5+-parseInt(s(490))/6+-parseInt(s(503))/7+parseInt(s(502))/8+-parseInt(s(491))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class jt extends i{constructor(t){const e=Wt;super(),this[e(500)]=t,t[e(498)](e(496),e(510))}destroy(){const t=Wt;this[t(497)](),this[t(500)][t(498)](t(496),"destroy")}[Ht(505)](t){const e=Ht,{hlsDecoder:s}=this[e(500)];s[e(508)](t)[e(509)]((()=>{const t=e;this[t(500)].debugLog(t(496),t(493)),this[t(499)](p[t(504)])})).catch((t=>{const s=e;this[s(499)](m[s(495)],t)}))}[Ht(492)](){return a[Ht(494)]}}const qt=Yt;function Yt(t,e){const s=Kt();return(Yt=function(t,e){return s[t-=400]})(t,e)}function Kt(){const t=["getLoaderFactory","30KdaPul","1XeBjDi","fetch","_opt","hls","websocket","504cDLRbk","1854018jkTQBG","6910926nmfNdE","65696vWxNzb","webTransport","6nIfvIY","1912206MQcTkL","825435viqeEL","216eYKtbY","1343204OqEwsg","367368rpQhzV","5lACfeF"];return(Kt=function(){return t})()}!function(t,e){const s=Yt,i=t();for(;;)try{if(392689===parseInt(s(411))/1*(parseInt(s(407))/2)+parseInt(s(402))/3*(-parseInt(s(406))/4)+parseInt(s(408))/5*(parseInt(s(403))/6)+-parseInt(s(416))/7*(parseInt(s(400))/8)+parseInt(s(417))/9*(-parseInt(s(410))/10)+parseInt(s(418))/11+parseInt(s(405))/12*(parseInt(s(404))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Xt{constructor(t){const e=Yt;return new(Xt[e(409)](t[e(413)]))(t)}static[qt(409)](t){const e=qt,{protocol:s}=t;return s===n[e(412)]?Ct:s===n[e(415)]?Ft:s===n[e(414)]?jt:s===n[e(401)]?Gt:void 0}}const Jt=Zt;function Zt(t,e){const s=$t();return(Zt=function(t,e){return s[t-=209]})(t,e)}!function(t,e){const s=Zt,i=t();for(;;)try{if(328485===-parseInt(s(228))/1*(parseInt(s(221))/2)+-parseInt(s(209))/3*(-parseInt(s(235))/4)+-parseInt(s(231))/5*(parseInt(s(211))/6)+parseInt(s(216))/7+parseInt(s(227))/8+parseInt(s(214))/9+parseInt(s(226))/10*(parseInt(s(217))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Qt{constructor(t){const e=Zt;this[e(230)]=t,this._buffer_index=0,this[e(233)]=t[e(218)],this[e(222)]=8*t[e(218)],this._current_word=0,this._current_word_bits_left=0}[Jt(236)](){this[Jt(230)]=null}[Jt(210)](){const t=Jt;let e=this[t(233)]-this._buffer_index;if(e<=0)return void console[t(232)](t(223),this[t(233)],this._buffer_index);let s=Math.min(4,e),i=new Uint8Array(4);i.set(this[t(230)].subarray(this[t(213)],this[t(213)]+s)),this._current_word=new DataView(i[t(215)])[t(219)](0,!1),this[t(213)]+=s,this[t(237)]=8*s}[Jt(220)](t){const e=Jt;if(t>32&&console[e(232)](e(239)),t<=this[e(237)]){let s=this._current_word>>>32-t;return this[e(238)]<<=t,this[e(237)]-=t,s}let s=this[e(237)]?this[e(238)]:0;s>>>=32-this[e(237)];let i=t-this[e(237)];this[e(210)]();let r=Math[e(225)](i,this._current_word_bits_left),n=this[e(238)]>>>32-r;return this[e(238)]<<=r,this._current_word_bits_left-=r,s=s<<r|n,s}[Jt(212)](){return 1===this[Jt(220)](1)}readByte(){return this.readBits(8)}_skipLeadingZero(){const t=Jt;let e;for(e=0;e<this[t(237)];e++)if(this[t(238)]&2147483648>>>e)return this[t(238)]<<=e,this._current_word_bits_left-=e,e;return this[t(210)](),e+this._skipLeadingZero()}[Jt(224)](){let t=this[Jt(229)]();return this.readBits(t+1)-1}[Jt(234)](){let t=this.readUEG();return 1&t?t+1>>>1:-1*(t>>>1)}}function $t(){const t=["readBool","_buffer_index","2129094AuCjlh","buffer","3439814zimoUb","22egwcEZ","byteLength","getUint32","readBits","84WstVRa","_total_bits","ExpGolomb: _fillCurrentWord() but no bytes available","readUEG","min","750370tUMlfu","495400NAXuRJ","4458PJlPAa","_skipLeadingZero","_buffer","3195LePXmk","error","_total_bytes","readSEG","1328PtzSnQ","destroy","_current_word_bits_left","_current_word","ExpGolomb: readBits() bits exceeded max 32bits!","1929CXPJmI","_fillCurrentWord","5988RiLihw"];return($t=function(){return t})()}const te=ee;function ee(t,e){const s=ie();return(ee=function(t,e){return s[t-=223]})(t,e)}!function(t,e){const s=ee,i=t();for(;;)try{if(654541===parseInt(s(224))/1+-parseInt(s(238))/2+-parseInt(s(244))/3+parseInt(s(255))/4+-parseInt(s(254))/5+-parseInt(s(252))/6*(-parseInt(s(229))/7)+parseInt(s(253))/8*(-parseInt(s(226))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class se{static[te(240)](t){const e=te;let s=t,i=s[e(228)],r=new Uint8Array(i),n=0;for(let t=0;t<i;t++)t>=2&&3===s[t]&&0===s[t-1]&&0===s[t-2]||(r[n]=s[t],n++);return new Uint8Array(r[e(251)],0,n)}static[te(235)](t){const e=te;let s=se[e(240)](t),i=new Qt(s);i[e(246)]();let r=i.readByte();i[e(246)]();let n=i[e(246)]();i[e(234)]();let a=se[e(231)](r),o=se.getLevelString(n),h=1,c=420,u=[0,420,422,444],l=8;if((100===r||110===r||122===r||244===r||44===r||83===r||86===r||118===r||128===r||138===r||144===r)&&(h=i[e(234)](),3===h&&i.readBits(1),h<=3&&(c=u[h]),l=i.readUEG()+8,i[e(234)](),i.readBits(1),i[e(248)]())){let t=3!==h?8:12;for(let s=0;s<t;s++)i[e(248)]()&&(s<6?se[e(243)](i,16):se[e(243)](i,64))}i.readUEG();let d=i[e(234)]();if(0===d)i.readUEG();else if(1===d){i[e(223)](1),i.readSEG(),i[e(256)]();let t=i[e(234)]();for(let s=0;s<t;s++)i[e(256)]()}let f=i[e(234)]();i[e(223)](1);let p=i[e(234)](),m=i.readUEG(),_=i[e(223)](1);0===_&&i.readBits(1),i[e(223)](1);let g=0,y=0,v=0,b=0;i[e(248)]()&&(g=i[e(234)](),y=i[e(234)](),v=i[e(234)](),b=i.readUEG());let I=1,S=1,w=0,A=!0,T=0,E=0;if(i.readBool()){if(i[e(248)]()){let t=i[e(246)]();t>0&&t<16?(I=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2][t-1],S=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1][t-1]):255===t&&(I=i[e(246)]()<<8|i.readByte(),S=i[e(246)]()<<8|i[e(246)]())}if(i[e(248)]()&&i[e(248)](),i[e(248)]()&&(i.readBits(4),i[e(248)]()&&i[e(223)](24)),i[e(248)]()&&(i[e(234)](),i[e(234)]()),i[e(248)]()){let t=i[e(223)](32),s=i[e(223)](32);A=i[e(248)](),T=s,E=2*t,w=T/E}}let k=1;(1!==I||1!==S)&&(k=I/S);let x=0,U=0;if(0===h)x=1,U=2-_;else{x=3===h?1:2,U=(1===h?2:1)*(2-_)}let L=16*(p+1),D=16*(m+1)*(2-_);L-=(g+y)*x,D-=(v+b)*U;let B=Math[e(225)](L*k);return i.destroy(),i=null,{profile_string:a,level_string:o,bit_depth:l,ref_frames:f,chroma_format:c,chroma_format_string:se[e(239)](c),frame_rate:{fixed:A,fps:w,fps_den:E,fps_num:T},sar_ratio:{width:I,height:S},codec_size:{width:L,height:D},present_size:{width:B,height:D}}}static[te(232)](t){const e=te;let s=t.subarray(1,4),i=e(236);for(let t=0;t<3;t++){let e=s[t].toString(16);e.length<2&&(e="0"+e),i+=e}let r=se[e(240)](t),n=new Qt(r);n[e(246)]();let a=n[e(246)]();n[e(246)]();let o=n[e(246)]();n.readUEG();let h=se[e(231)](a),c=se[e(230)](o),u=1,l=420,d=[0,420,422,444],f=8,p=8;if((100===a||110===a||122===a||244===a||44===a||83===a||86===a||118===a||128===a||138===a||144===a)&&(u=n[e(234)](),3===u&&n[e(223)](1),u<=3&&(l=d[u]),f=n[e(234)]()+8,p=n.readUEG()+8,n[e(223)](1),n.readBool())){let t=3!==u?8:12;for(let s=0;s<t;s++)n[e(248)]()&&(s<6?se[e(243)](n,16):se[e(243)](n,64))}n[e(234)]();let m=n.readUEG();if(0===m)n.readUEG();else if(1===m){n[e(223)](1),n[e(256)](),n[e(256)]();let t=n[e(234)]();for(let s=0;s<t;s++)n[e(256)]()}let _=n[e(234)]();n[e(223)](1);let g=n[e(234)](),y=n[e(234)](),v=n.readBits(1);0===v&&n[e(223)](1),n[e(223)](1);let b=0,I=0,S=0,w=0;n[e(248)]()&&(b=n.readUEG(),I=n[e(234)](),S=n[e(234)](),w=n.readUEG());let A=1,T=1,E=0,k=!0,x=0,U=0;if(n[e(248)]()){if(n[e(248)]()){let t=n[e(246)]();t>0&&t<16?(A=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2][t-1],T=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1][t-1]):255===t&&(A=n.readByte()<<8|n[e(246)](),T=n[e(246)]()<<8|n[e(246)]())}if(n[e(248)]()&&n.readBool(),n[e(248)]()&&(n[e(223)](4),n[e(248)]()&&n[e(223)](24)),n.readBool()&&(n[e(234)](),n[e(234)]()),n[e(248)]()){let t=n.readBits(32),s=n[e(223)](32);k=n[e(248)](),x=s,U=2*t,E=x/U}}let L=1;(1!==A||1!==T)&&(L=A/T);let D=0,B=0;if(0===u)D=1,B=2-v;else{D=3===u?1:2,B=(1===u?2:1)*(2-v)}let C=16*(g+1),R=16*(y+1)*(2-v);C-=(b+I)*D,R-=(S+w)*B;let P=Math.ceil(C*L);return n[e(250)](),n=null,{codec_mimetype:i,profile_idc:a,level_idc:o,profile_string:h,level_string:c,chroma_format_idc:u,bit_depth:f,bit_depth_luma:f,bit_depth_chroma:p,ref_frames:_,chroma_format:l,chroma_format_string:se[e(239)](l),frame_rate:{fixed:k,fps:E,fps_den:U,fps_num:x},sar_ratio:{width:A,height:T},codec_size:{width:C,height:R},present_size:{width:P,height:R}}}static[te(243)](t,e){const s=te;let i=8,r=8,n=0;for(let a=0;a<e;a++)0!==r&&(n=t[s(256)](),r=(i+n+256)%256),i=0===r?i:r}static[te(231)](t){const e=te;switch(t){case 66:return e(245);case 77:return e(259);case 88:return"Extended";case 100:return e(242);case 110:return e(258);case 122:return e(227);case 244:return e(249);default:return"Unknown"}}static[te(230)](t){return(t/10)[te(237)](1)}static[te(239)](t){const e=te;switch(t){case 420:return e(241);case 422:return e(233);case 444:return e(247);default:return e(257)}}}function ie(){const t=["4:2:2","readUEG","parseSPS","avc1.","toFixed","768252jziDpE","getChromaFormatString","_ebsp2rbsp","4:2:0","High","_skipScalingList","1790955hfqUvd","Baseline","readByte","4:4:4","readBool","High444","destroy","buffer","6GmjClb","6168NiGDwB","1968620WcKXYZ","3521960tORYUn","readSEG","Unknown","High10","Main","readBits","303828TYVRua","ceil","5013txjkTc","High422","byteLength","8921535jTqHKS","getLevelString","getProfileString","parseSPS$2"];return(ie=function(){return t})()}const re=ne;function ne(t,e){const s=ae();return(ne=function(t,e){return s[t-=268]})(t,e)}function ae(){const t=["24226MUuddt","buflen","2629571XPeqhy","75rGmCkd","buffer","6353379JpCgWV","273816qurfDk","read_golomb","length","bufpos","6nlekkM","1314424TIOWDT","read","iserro","10fELMzw","392281fMikwJ","look","1957710FkhVMP","bufoff"];return(ae=function(){return t})()}!function(t,e){const s=ne,i=t();for(;;)try{if(246569===parseInt(s(281))/1+parseInt(s(285))/2*(-parseInt(s(269))/3)+-parseInt(s(272))/4+parseInt(s(283))/5+parseInt(s(276))/6*(parseInt(s(268))/7)+parseInt(s(277))/8+parseInt(s(271))/9*(-parseInt(s(280))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class oe{constructor(t){const e=ne;this[e(270)]=t,this.buflen=t[e(274)],this[e(275)]=0,this[e(284)]=0,this.iserro=!1}[re(278)](t){const e=re;let s=0,i=0;for(;t;){if(t<0||this[e(275)]>=this[e(286)])return this[e(279)]=!0,0;this.iserro=!1,i=this[e(284)]+t>8?8-this[e(284)]:t,s<<=i,s+=this[e(270)][this[e(275)]]>>8-this.bufoff-i&255>>8-i,this.bufoff+=i,t-=i,8==this[e(284)]&&(this.bufpos++,this[e(284)]=0)}return s}[re(282)](t){const e=re;let s=this[e(275)],i=this[e(284)],r=this[e(278)](t);return this[e(275)]=s,this.bufoff=i,r}[re(273)](){const t=re;let e;for(e=0;0===this[t(278)](1)&&!this[t(279)];e++);return(1<<e)+this[t(278)](e)-1}}const he=ce;function ce(t,e){const s=ue();return(ce=function(t,e){return s[t-=486]})(t,e)}function ue(){const t=["min","skipScalingList","9837338KGfwpJ","skipLZ","230EkYIhR","183859PatDad","_loadWord","_data","set","699003ajEphW","byteLength","readBits","_bitsAvailable","getUint32","readUEG","6995NNFkir","Cannot read more than 32 bits","558808JUyRdL","readEG","floor","_bytesAvailable","readUByte","buffer","skipUEG","skipBits","113184gHDfwg","_word","2034824uyqGiQ","8RsvdmT","readBool","5244wRsyNM"];return(ue=function(){return t})()}!function(t,e){const s=ce,i=t();for(;;)try{if(747146===parseInt(s(497))/1*(parseInt(s(489))/2)+parseInt(s(501))/3+parseInt(s(509))/4+parseInt(s(507))/5*(-parseInt(s(491))/6)+parseInt(s(494))/7+-parseInt(s(488))/8+parseInt(s(486))/9*(-parseInt(s(496))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);he(498),he(516),he(503),he(495),he(515),he(510),he(490),he(513),he(493);function le(t){const e=_e;let{sps:s,pps:i}=t,r=8+s[e(241)]+1+2+i[e(241)],n=!1;const a=se[e(212)](s);66!==s[3]&&77!==s[3]&&88!==s[3]&&(n=!0,r+=4);let o=new Uint8Array(r);o[0]=1,o[1]=s[1],o[2]=s[2],o[3]=s[3],o[4]=255,o[5]=225;let h=s[e(241)];o[6]=h>>>8,o[7]=255&h;let c=8;o.set(s,8),c+=h,o[c]=1;let u=i.byteLength;o[c+1]=u>>>8,o[c+2]=255&u,o[e(199)](i,c+3),c+=3+u,n&&(o[c]=252|a[e(202)],o[c+1]=248|a[e(204)]-8,o[c+2]=248|a[e(240)]-8,o[c+3]=0,c+=4);const l=[23,0,0,0,0],d=new Uint8Array(l[e(228)]+o[e(241)]);return d[e(199)](l,0),d.set(o,l[e(228)]),d}function de(){const t=["chroma_format_idc","skipBits","bit_depth_luma","474oFiTmg","removeEPB","fixed","refSampleDuration","iFrame","profile","avc","parseSPS$2","present_size","nb_sps","frameRate","avc1.","compat","sarRatio","112335EAvKmT","parseSPS","kSliceSEI","buffer","codecWidth","9321530EJAgSK","bit_depth","fps_den","getUint16","length","codecHeight","pps","bitDepth","132qJMKzj","read","4jWvnOg","fps_num","780322Bigmsd","7537923WlgZby","1988jyuHSc","getUint8","bit_depth_chroma","byteLength","readBits","readBool","presentWidth","sps","readUByte","h264","420WheFzW","push","frame_rate","chroma_format","chromaFormat","read_golomb","toString","8Bkhklg","level","height","videoType","25420eoPdKc","codec_size","1067011nCiYOQ","skipScalingList","width","timescale","sar_ratio","skipUEG","subarray","set","level_string","readUEG"];return(de=function(){return t})()}function fe(t,e){const s=_e;let i=[];i[0]=e?23:39,i[1]=1,i[2]=0,i[3]=0,i[4]=0;const r=new Uint8Array(i[s(228)]+t[s(241)]);return r[s(199)](i,0),r[s(199)](t,i[s(228)]),r}function pe(t){return 31&t[0]}function me(t){return t===T[_e(221)]}function _e(t,e){const s=de();return(_e=function(t,e){return s[t-=197]})(t,e)}function ge(t){return!function(t){const e=_e;return t===T[e(245)]||t===T[e(230)]}(t)&&!me(t)}function ye(t){return t===T[_e(209)]}function ve(t,e){const s=Ie();return(ve=function(t,e){return s[t-=328]})(t,e)}!function(t,e){const s=_e,i=t();for(;;)try{if(514127===parseInt(s(236))/1+-parseInt(s(234))/2*(parseInt(s(219))/3)+-parseInt(s(248))/4*(-parseInt(s(259))/5)+-parseInt(s(205))/6*(parseInt(s(238))/7)+-parseInt(s(255))/8*(parseInt(s(237))/9)+-parseInt(s(224))/10+-parseInt(s(261))/11*(-parseInt(s(232))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const be=ve;!function(t,e){const s=ve,i=t();for(;;)try{if(747238===-parseInt(s(338))/1+parseInt(s(331))/2+parseInt(s(342))/3*(parseInt(s(350))/4)+-parseInt(s(340))/5+parseInt(s(336))/6*(parseInt(s(329))/7)+-parseInt(s(345))/8*(-parseInt(s(330))/9)+parseInt(s(348))/10*(-parseInt(s(332))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);be(333),be(335),be(339);function Ie(){const t=["394111ICLmfQ","GetSE","1875665JVqExQ","m_bits","3127023UZGSOV","GetUE","length","72488kAthqt","GetWord","m_byte","30sfYudv","m_data","4sExJGz","m_len","7973nWurut","99BdkZsS","2263690qALheS","3382610IfBDMi","GetBYTE","m_idx","GetBit","870AJzuPe","m_zeros"];return(Ie=function(){return t})()}const Se=we;function we(t,e){const s=Ae();return(we=function(t,e){return s[t-=349]})(t,e)}function Ae(){const t=["_ebsp2rbsp","parseSPS","123076mKoxxE","GetWord","933570ZKrQQa","36387RjkvpT","GetUE","SPSParser sps_max_sub_layers_minus1 > 6","SPSParser sps_seq_parameter_set_id > 15","832JqgFBY","4QWPtMa","byteLength","129NrGRLC","warn","2484804trFmQt","130CJIGGW","332684gxYtUb","6820PthfiO","17895lYkima"];return(Ae=function(){return t})()}!function(t,e){const s=we,i=t();for(;;)try{if(214821===parseInt(s(361))/1*(-parseInt(s(350))/2)+-parseInt(s(352))/3*(parseInt(s(357))/4)+-parseInt(s(358))/5+parseInt(s(363))/6+parseInt(s(354))/7+parseInt(s(349))/8*(parseInt(s(364))/9)+-parseInt(s(355))/10*(parseInt(s(356))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);Se(359),Se(360);!function(t,e){const s=xe,i=t();for(;;)try{if(604365===-parseInt(s(375))/1+-parseInt(s(367))/2*(-parseInt(s(378))/3)+parseInt(s(377))/4+-parseInt(s(386))/5+-parseInt(s(385))/6+parseInt(s(369))/7+parseInt(s(380))/8*(parseInt(s(383))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);const Te=t=>{const e=xe;let s=t,i=s.byteLength,r=new Uint8Array(i),n=0;for(let t=0;t<i;t++)t>=2&&3===s[t]&&0===s[t-1]&&0===s[t-2]||(r[n]=s[t],n++);return new Uint8Array(r[e(384)],0,n)},Ee=t=>{const e=xe;switch(t){case 0:return e(382);case 1:return"4:2:0";case 2:return e(379);case 3:return"4:4:4";default:return"Unknown"}};function ke(){const t=["1921402pbQbYb","min","push","readByte",".1.L",".B0","708799rgblsD","readUEG","3011744PJBkwy","12ySogrK","4:2:2","7507152AXzbMx","readSEG","4:0:0","18vzkRnz","buffer","3766974JPZyBf","5787865QCHvys","toFixed","readBool","97178JBLKoK","readBits"];return(ke=function(){return t})()}function xe(t,e){const s=ke();return(xe=function(t,e){return s[t-=366]})(t,e)}function Ue(){const t=["333FhtquK","94856cOpOyc","668014NwfBhZ","549766omcttC","1992552Sgmhvs","subarray","24507ZciHcG","3LrttIO","length","2869960YrtTyo","byteLength","shift","11ZEBGvl","push","6EGdIID","6752560qsuOvp","set"];return(Ue=function(){return t})()}function Le(t,e){const s=Ue();return(Le=function(t,e){return s[t-=353]})(t,e)}function De(t){const e=Le,s=t[e(356)],i=new Uint8Array(4);i[0]=s>>>24&255,i[1]=s>>>16&255,i[2]=s>>>8&255,i[3]=255&s;const r=new Uint8Array(s+4);return r[e(362)](i,0),r.set(t,4),r}function Be(){const t=["set","pic_width_in_luma_samples","generalTierFlag","generalConstraintIndicatorFlags","sps_seq_parameter_set_id","parseHEVCDecoderVPSAndSPSAndPPS and vpsTag is ","bitDepthLumaMinus8","37503wKhKTQ","general_profile_compatibility_flags_1","hev1.1.6.L93.B0","734685FrpdmY","push","level","parseSPS","bitDepthChromaMinus8","avgFrameRate","sps_temporal_id_nesting_flag","conf_win_bottom_offset","sar_ratio","4uDyXsH","general_profile_compatibility_flags","general_non_packed_constraint_flag","separate_colour_plane_flag","sub_layer_interlaced_source_flag","sub_layer_tier_flag","sub_layer_level_present_flag","profile_space","sub_layer_profile_space","profile_idc","generalProfileIdc","bitDepth","codecHeight","general_profile_space","general_interlaced_source_flag","general_profile_compatibility_flags_3","general_constraint_indicator_flags_2","constant_frame_rate","parseHEVCDecoderVPSAndSPSAndPPS and sps tag is ","vps","sub_layer_profile_present_flag","sps_video_parameter_set_id","codecWidth","general_constraint_indicator_flags_1","general_profile_idc","warn","read","conformance_window_flag","readUByte","general_level_idc","5402151QjnWHg","constantFrameRate","h265","sub_layer_non_packed_constraint_flag","length","refSampleDuration","1123620dDNqJq","588797iXKYlS","pps","level_string","parseHEVCDecoderConfigurationRecord$2","sub_layer_progressive_source_flag","tier_flag","sub_layer_profile_compatibility_flag","subarray","68XndZQI","level_idc","configurationVersion","bit_depth_luma_minus8","lengthSizeMinusOne","temporal_id_nested","general_constraint_indicator_flags_5","psps","generalLevelIdc","temporalIdNested","parseHEVCDecoderConfigurationRecord$3","general_profile_compatibility_flags_2","presentHeight","sub_layer_frame_only_constraint_flag","profile_string","read_golomb","sub_layer_level_idc","codec_size","slice","1772512zEfpKH","general_constraint_indicator_flags","sei","presentWidth","readBits","general_tier_flag","numTemporalLayers","generalProfileSpace","profile_compatibility_flags","readUEG","chromaFormat"," < 23","conf_win_left_offset","width","profile","byteLength","chroma_format_idc","from","bit_depth_chroma_minus8","arrayBuffer.length ","pic_height_in_luma_samples","assign","general_constraint_indicator_flags_3","max","height","sub_layer_profile_idc","conf_win_right_offset","1847104gbXpdz","present_size","bit_depth","sps","chroma_format","conf_win_top_offset","parseHEVCDecoderVPSAndSPSAndPPS and pps tag is ","min_spatial_segmentation_idc","chromaFormatIdc","generalProfileCompatibilityFlags","timescale","num_temporal_layers"];return(Be=function(){return t})()}function Ce(t,e){const s=Pe;let i={},r=t.length,n=[],a=new oe(t);a[s(157)](1),a[s(157)](6),a.read(6),a[s(157)](3);for(let t=2;t<r;t++)t+2<r&&3==a.look(24)?(n[s(245)](a[s(157)](8)),n[s(245)](a[s(157)](8)),t+=2,a[s(157)](8)):n[s(245)](a[s(157)](8));let o=new Uint8Array(n),h=new oe(o);if(i[s(274)]=h[s(157)](4),i.sps_max_sub_layers_minus1=h.read(3),i[s(250)]=h[s(157)](1),i.profile_tier_level=function(t,e,s){const i=Pe;let r={};r[i(260)]=t[i(157)](2),r[i(173)]=t[i(157)](1),r[i(262)]=t[i(157)](5),r[i(203)]=t[i(157)](32),r.general_progressive_source_flag=t[i(157)](1),r[i(267)]=t[i(157)](1),r[i(255)]=t[i(157)](1),r.general_frame_only_constraint_flag=t[i(157)](1),t.read(32),t[i(157)](12),r[i(177)]=t.read(8),r[i(273)]=[],r[i(259)]=[];for(let e=0;e<s;e++)r[i(273)][e]=t[i(157)](1),r[i(259)][e]=t.read(1);if(s>0)for(let e=s;e<8;e++)t[i(157)](2);r[i(261)]=[],r[i(258)]=[],r.sub_layer_profile_idc=[],r[i(174)]=[],r[i(172)]=[],r[i(257)]=[],r[i(164)]=[],r.sub_layer_frame_only_constraint_flag=[],r[i(192)]=[];for(let e=0;e<s;e++)r.sub_layer_profile_present_flag[e]&&(r[i(261)][e]=t[i(157)](2),r[i(258)][e]=t[i(157)](1),r[i(220)][e]=t[i(157)](5),r[i(174)][e]=t[i(157)](32),r[i(172)][e]=t[i(157)](1),r.sub_layer_interlaced_source_flag[e]=t[i(157)](1),r[i(164)][e]=t.read(1),r[i(189)][e]=t[i(157)](1),t[i(157)](32),t[i(157)](12)),r.sub_layer_level_present_flag[e]?r.sub_layer_level_idc[e]=t[i(157)](8):r[i(192)][e]=1;return r}(h,0,i.sps_max_sub_layers_minus1),i[s(238)]=h.read_golomb(),i[s(211)]=h[s(191)](),3==i.chroma_format_idc?i[s(256)]=h[s(157)](1):i[s(256)]=0,i[s(235)]=h[s(191)](),i.pic_height_in_luma_samples=h[s(191)](),i[s(158)]=h.read(1),i[s(158)]){let t=1+(i.chroma_format_idc<2),e=1+(i[s(211)]<3);i.conf_win_left_offset=h[s(191)]()*e,i.conf_win_right_offset=h[s(191)]()*e,i[s(227)]=h[s(191)]()*t,i[s(251)]=h[s(191)]()*t}else i[s(207)]=0,i[s(221)]=0,i[s(227)]=0,i.conf_win_bottom_offset=0;return i}function Re(t){const e=Pe;let{vps:s,pps:i,sps:r}=t,n={configurationVersion:1};const a=(t=>{const e=xe;let s=Te(t),i=new Qt(s);return i.readByte(),i[e(372)](),i[e(368)](4),i[e(368)](2),i[e(368)](6),{num_temporal_layers:i[e(368)](3)+1,temporal_id_nested:i[e(366)]()}})(s),o=(t=>{const e=xe;let s=Te(t),i=new Qt(s);i.readByte(),i[e(372)]();let r=0,n=0,a=0,o=0;i[e(368)](4);let h=i[e(368)](3);i[e(366)]();let c=i[e(368)](2),u=i[e(366)](),l=i[e(368)](5),d=i[e(372)](),f=i.readByte(),p=i[e(372)](),m=i[e(372)](),_=i[e(372)](),g=i[e(372)](),y=i[e(372)](),v=i[e(372)](),b=i[e(372)](),I=i.readByte(),S=i[e(372)](),w=[],A=[];for(let t=0;t<h;t++)w[e(371)](i[e(366)]()),A[e(371)](i.readBool());if(h>0)for(let t=h;t<8;t++)i[e(368)](2);for(let t=0;t<h;t++)w[t]&&(i.readByte(),i.readByte(),i[e(372)](),i.readByte(),i[e(372)](),i[e(372)](),i[e(372)](),i[e(372)](),i[e(372)](),i[e(372)](),i[e(372)]()),w[t]&&i.readByte();i[e(376)]();let T=i[e(376)]();3==T&&i[e(368)](1);let E=i[e(376)](),k=i.readUEG();i[e(366)]()&&(r+=i[e(376)](),n+=i[e(376)](),a+=i.readUEG(),o+=i[e(376)]());let x=i[e(376)](),U=i[e(376)](),L=i.readUEG();for(let t=i[e(366)]()?0:h;t<=h;t++)i[e(376)](),i[e(376)](),i[e(376)]();if(i.readUEG(),i[e(376)](),i[e(376)](),i.readUEG(),i[e(376)](),i[e(376)](),i[e(366)]()&&i[e(366)]())for(let t=0;t<4;t++)for(let s=0;s<(3===t?2:6);s++)if(i.readBool()){let s=Math[e(370)](64,1<<4+(t<<1));t>1&&i[e(381)]();for(let t=0;t<s;t++)i[e(381)]()}else i[e(376)]();i[e(366)](),i[e(366)](),i[e(366)]()&&(i[e(372)](),i[e(376)](),i[e(376)](),i[e(366)]());let D=i.readUEG(),B=0;for(let t=0;t<D;t++){let s=!1;if(0!==t&&(s=i.readBool()),s){t===D&&i[e(376)](),i[e(366)](),i[e(376)]();let s=0;for(let t=0;t<=B;t++){let t=i[e(366)](),r=!1;!t&&(r=i[e(366)]()),(t||r)&&s++}B=s}else{let t=i[e(376)](),s=i[e(376)]();B=t+s;for(let s=0;s<t;s++)i[e(376)](),i[e(366)]();for(let t=0;t<s;t++)i[e(376)](),i[e(366)]()}}if(i.readBool()){let t=i[e(376)]();for(let s=0;s<t;s++){for(let t=0;t<L+4;t++)i.readBits(1);i[e(368)](1)}}let C=!1,R=0,P=1,M=1,F=!1,N=1,O=1;if(i[e(366)](),i[e(366)](),i[e(366)]()){if(i[e(366)]()){let t=i[e(372)]();t>0&&t<16?(P=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2][t-1],M=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1][t-1]):255===t&&(P=i[e(368)](16),M=i.readBits(16))}if(i.readBool()&&i[e(366)](),i[e(366)]()&&(i[e(368)](3),i[e(366)](),i[e(366)]()&&(i[e(372)](),i.readByte(),i[e(372)]())),i[e(366)]()&&(i[e(376)](),i.readUEG()),i.readBool(),i[e(366)](),i[e(366)](),C=i[e(366)](),C&&(r+=i[e(376)](),n+=i[e(376)](),a+=i[e(376)](),o+=i.readUEG()),i.readBool()&&(N=i[e(368)](32),O=i[e(368)](32),i[e(366)]()&&(i.readUEG(),i[e(366)]()))){let t=!1,s=!1,r=!1;t=i[e(366)](),s=i[e(366)](),(t||s)&&(r=i.readBool(),r&&(i[e(372)](),i[e(368)](5),i[e(366)](),i[e(368)](5)),i[e(368)](4),i[e(368)](4),r&&i.readBits(4),i[e(368)](5),i[e(368)](5),i[e(368)](5));for(let n=0;n<=h;n++){let n=i[e(366)]();F=n;let a=!1,o=1;!n&&(a=i[e(366)]());let h=!1;if(a?i[e(381)]():h=i[e(366)](),!h&&(cpbcnt=i[e(376)]()+1),t)for(let t=0;t<o;t++)i.readUEG(),i.readUEG(),r&&(i[e(376)](),i[e(376)]());if(s)for(let t=0;t<o;t++)i.readUEG(),i.readUEG(),r&&(i[e(376)](),i[e(376)]())}}i[e(366)]()&&(i[e(366)](),i[e(366)](),i[e(366)](),R=i[e(376)](),i[e(376)](),i[e(376)](),i[e(376)](),i.readUEG())}i[e(366)]();let z="hvc1."+l+e(373)+S+e(374),G=E,H=k,V=1;return 1!==P&&1!==M&&(V=P/M),i.destroy(),i=null,{codec_mimetype:z,level_string:(W=S,(W/30)[xe(387)](1)),profile_idc:l,bit_depth:x+8,ref_frames:1,chroma_format:T,chroma_format_string:Ee(T),general_level_idc:S,general_profile_space:c,general_tier_flag:u,general_profile_idc:l,general_profile_compatibility_flags_1:d,general_profile_compatibility_flags_2:f,general_profile_compatibility_flags_3:p,general_profile_compatibility_flags_4:m,general_constraint_indicator_flags_1:_,general_constraint_indicator_flags_2:g,general_constraint_indicator_flags_3:y,general_constraint_indicator_flags_4:v,general_constraint_indicator_flags_5:b,general_constraint_indicator_flags_6:I,min_spatial_segmentation_idc:R,constant_frame_rate:0,chroma_format_idc:T,bit_depth_luma_minus8:x,bit_depth_chroma_minus8:U,frame_rate:{fixed:F,fps:O/N,fps_den:N,fps_num:O},sar_ratio:{width:P,height:M},codec_size:{width:G,height:H},present_size:{width:G*V,height:H}};var W})(r),h=(t=>{const e=xe;let s=Te(t),i=new Qt(s);i.readByte(),i.readByte(),i[e(376)](),i.readUEG(),i[e(366)](),i[e(366)](),i[e(368)](3),i[e(366)](),i[e(366)](),i.readUEG(),i[e(376)](),i[e(381)](),i[e(366)](),i[e(366)](),i.readBool()&&i.readUEG(),i[e(381)](),i[e(381)](),i.readBool(),i[e(366)](),i[e(366)](),i.readBool();let r=i[e(366)](),n=i.readBool(),a=1;return n&&r?a=0:n?a=3:r&&(a=2),{parallelismType:a}})(i);n=Object[e(216)](n,a,o,h);let c=23+(5+s.byteLength)+(5+r[e(210)])+(5+i[e(210)]),u=new Uint8Array(c);u[0]=1,u[1]=(3&n[e(266)])<<6|(n[e(200)]?1:0)<<5|31&n[e(155)],u[2]=n[e(242)]||0,u[3]=n[e(187)]||0,u[4]=n[e(268)]||0,u[5]=n.general_profile_compatibility_flags_4||0,u[6]=n[e(154)]||0,u[7]=n[e(269)]||0,u[8]=n[e(217)]||0,u[9]=n.general_constraint_indicator_flags_4||0,u[10]=n[e(182)]||0,u[11]=n.general_constraint_indicator_flags_6||0,u[12]=60,u[13]=240|(3840&n[e(229)])>>8,u[14]=255&n[e(229)],u[15]=252|3&n.parallelismType,u[16]=252|3&n[e(211)],u[17]=248|7&n[e(179)],u[18]=248|7&n[e(213)],u[19]=0,u[20]=0,u[21]=(3&n[e(270)])<<6|(7&n[e(233)])<<3|(n[e(181)]?1:0)<<2|3,u[22]=3,u[23]=128|E.vps,u[24]=0,u[25]=1,u[26]=(65280&s[e(210)])>>8,u[27]=255&s[e(210)],u[e(234)](s,28),u[23+(5+s[e(210)])+0]=128|E.sps,u[23+(5+s[e(210)])+1]=0,u[23+(5+s[e(210)])+2]=1,u[23+(5+s[e(210)])+3]=(65280&r[e(210)])>>8,u[23+(5+s[e(210)])+4]=255&r[e(210)],u[e(234)](r,23+(5+s.byteLength)+5),u[23+(5+s[e(210)]+5+r.byteLength)+0]=128|E.pps,u[23+(5+s[e(210)]+5+r[e(210)])+1]=0,u[23+(5+s[e(210)]+5+r[e(210)])+2]=1,u[23+(5+s[e(210)]+5+r[e(210)])+3]=(65280&i.byteLength)>>8,u[23+(5+s[e(210)]+5+r[e(210)])+4]=255&i[e(210)],u[e(234)](i,23+(5+s[e(210)]+5+r[e(210)])+5);const l=[28,0,0,0,0],d=new Uint8Array(l[e(165)]+u[e(210)]);return d[e(234)](l,0),d[e(234)](u,l[e(165)]),d}function Pe(t,e){const s=Be();return(Pe=function(t,e){return s[t-=154]})(t,e)}function Me(t,e){const s=Pe;let i=[];i[0]=e?28:44,i[1]=1,i[2]=0,i[3]=0,i[4]=0;const r=new Uint8Array(i[s(165)]+t[s(210)]);return r.set(i,0),r.set(t,i.length),r}function Fe(t){return(126&t[0])>>1}function Ne(t){return!((e=t)>=32&&e<=40);var e}function Oe(t){return t>=16&&t<=21}!function(t,e){const s=Le,i=t();for(;;)try{if(379953===parseInt(s(366))/1+-parseInt(s(365))/2*(parseInt(s(353))/3)+parseInt(s(367))/4+-parseInt(s(355))/5+-parseInt(s(360))/6*(-parseInt(s(369))/7)+parseInt(s(364))/8*(-parseInt(s(363))/9)+-parseInt(s(361))/10*(-parseInt(s(358))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue),function(t,e){const s=Pe,i=t();for(;;)try{if(431597===parseInt(s(168))/1+parseInt(s(176))/2*(parseInt(s(241))/3)+parseInt(s(253))/4*(-parseInt(s(244))/5)+parseInt(s(167))/6+-parseInt(s(195))/7+parseInt(s(222))/8+-parseInt(s(161))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Be);const ze=Ge;function Ge(t,e){const s=Ve();return(Ge=function(t,e){return s[t-=112]})(t,e)}!function(t,e){const s=Ge,i=t();for(;;)try{if(409979===parseInt(s(156))/1+parseInt(s(152))/2+parseInt(s(139))/3+parseInt(s(118))/4*(-parseInt(s(137))/5)+-parseInt(s(169))/6+parseInt(s(151))/7*(parseInt(s(150))/8)+-parseInt(s(171))/9*(-parseInt(s(131))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class He extends i{constructor(t){const e=Ge;super(),this[e(141)]=e(160),this[e(153)]=t,this.fileName="",this[e(129)]=!1,this[e(168)]=0,this[e(135)]=null,this[e(128)]=null,this[e(126)]=null,this[e(130)]=null,this[e(120)]=null,this[e(149)]=null,this[e(170)]={codecWidth:0,codecHeight:0,presentWidth:0,presentHeight:0,refSampleDuration:0,timescale:1e3,avcc:null,videoType:"",init:!1},this[e(147)]={timescale:1e3,sampleRate:0,refSampleDuration:0,channelCount:0,codec:"",originalCodec:"",audioType:"",extraData:new Uint8Array(0),init:!1},this[e(142)]=null}[ze(148)](){const t=ze;this[t(115)](),this[t(128)]=null,this.pps=null,this[t(130)]=null,this.codecId=null,this[t(149)]=null,this[t(170)]={},this[t(147)]={}}get isH264(){const t=ze;return this[t(120)]===v[t(125)]}get isH265(){const t=ze;return this[t(120)]===v[t(166)]}setFileName(t){this[ze(143)]=t}get isRecording(){return this._isRecording}get[ze(162)](){return this[ze(129)]}get recordTime(){return this[ze(168)]}startRecord(){}[ze(163)](t,e,s,i){}[ze(155)](t,e){}[ze(112)](t){}stopRecordAndSave(){}[ze(134)](){}isWasmMp4(){return!1}stopRecordingInterval(){const t=ze;this.recordingInterval&&clearInterval(this[t(135)]),this[t(135)]=null}[ze(113)](){return 0}_reset(){const t=ze;this[t(143)]="",this[t(129)]=!1,this._recordingTimestamp=0,this[t(127)]()}[ze(167)](t,e){const s=ze;if(this.metaInfo.init)return;let i;const r=t[s(164)](5);if(this[s(120)]=e,this[s(170)].avcc=r,e===v[s(125)])i=function(t){const e=_e,s={},i=new DataView(t[e(222)]);let r=i[e(239)](0),n=i.getUint8(1);if(i[e(239)](2),i[e(239)](3),1!==r||0===n)return{};const a=1+(3&i.getUint8(4));if(3!==a&&4!==a)return{};let o=31&i.getUint8(5);if(0===o)return{};let h=6;for(let r=0;r<o;r++){let n=i.getUint16(h,!1);if(h+=2,0===n)continue;let a=new Uint8Array(t[e(222)],h,n);h+=n;let o=se.parseSPS(a);if(0!==r)continue;s[e(245)]=a,s[e(264)]=1e3,s[e(223)]=o[e(260)][e(263)],s.codecHeight=o[e(260)][e(257)],s[e(244)]=o[e(213)][e(263)],s.presentHeight=o[e(213)][e(257)],s[e(210)]=o.profile_string,s.level=o[e(200)],s[e(231)]=o[e(225)],s[e(252)]=o[e(251)],s[e(218)]=o[e(265)],s[e(215)]=o[e(250)],(!1===o[e(250)][e(207)]||0===o[e(250)][e(235)]||0===o.frame_rate[e(226)])&&(s.frameRate={fixed:!0,fps:25,fps_num:25e3,fps_den:1e3});let c=s[e(215)][e(226)],u=s[e(215)][e(235)];s[e(208)]=s[e(264)]*(c/u);let l=a[e(198)](1,4),d="avc1.";for(let t=0;t<3;t++){let s=l[t][e(254)](16);s[e(228)]<2&&(s="0"+s),d+=s}s.codec=d}let c=i[e(239)](h);if(0===c)return{};h++;for(let r=0;r<c;r++){let r=i[e(227)](h,!1);if(h+=2,0===r)continue;let n=new Uint8Array(t[e(222)],h,r);h+=r,s[e(230)]=n}if(s.videoType=e(211),s.sps){const t=s.sps[e(241)],i=new Uint8Array([t>>>24&255,t>>>16&255,t>>>8&255,255&t]),r=new Uint8Array(t+4);r[e(199)](i,0),r[e(199)](s[e(245)],4),s.sps=r}if(s[e(230)]){const t=s[e(230)][e(241)],i=new Uint8Array([t>>>24&255,t>>>16&255,t>>>8&255,255&t]),r=new Uint8Array(t+4);r.set(i,0),r[e(199)](s[e(230)],4),s[e(230)]=r}return s}(r);else if(e===v[s(166)]){i=function(t){const e=Pe;let s=23;const i=t[s];if((63&i)!==E[e(272)])return console[e(156)](e(239)+i),{};s+=2,s+=1;const r=t[s+1]|t[s]<<8;s+=2;const n=t[e(194)](s,s+r);s+=r;const a=t[s];if((63&a)!==E.sps)return console.warn(e(271)+a),{};s+=2,s+=1;const o=t[s+1]|t[s]<<8;s+=2;const h=t[e(194)](s,s+o);s+=o;const c=t[s];if((63&c)!==E[e(169)])return console[e(156)](e(228)+c),{};s+=2,s+=1;const u=t[s+1]|t[s]<<8;s+=2;const l=t[e(194)](s,s+u),d=new Uint8Array([o>>>24&255,o>>>16&255,o>>>8&255,255&o]),f=new Uint8Array([u>>>24&255,u>>>16&255,u>>>8&255,255&u]),p=new Uint8Array([r>>>24&255,r>>>16&255,r>>>8&255,255&r]),m=new Uint8Array(o+4);m[e(234)](d,0),m[e(234)](h,4);const _=new Uint8Array(u+4);_[e(234)](f,0),_[e(234)](l,4);const g=new Uint8Array(r+4);return g[e(234)](p,0),g[e(234)](n,4),{sps:m,pps:_,vps:g}}(r);const e=function(t){const e=Pe;let s={width:0,height:0};s[e(209)]=0,s[e(246)]=0,t=t[e(194)](5);do{let i={};if(t.length<23){console[e(156)](e(171),e(214)+t[e(165)]+e(206));break}if(i[e(178)]=t[0],1!=i[e(178)])break;i[e(266)]=t[1]>>6&3,i[e(200)]=t[1]>>5&1,i[e(155)]=31&t[1],i[e(254)]=t[2]<<24|t[3]<<16|t[4]<<8|t[5],i.general_constraint_indicator_flags=t[6]<<24|t[7]<<16|t[8]<<8|t[9],i[e(196)]=i.general_constraint_indicator_flags<<16|t[10]<<8|t[11],i[e(160)]=t[12],i.min_spatial_segmentation_idc=(15&t[13])<<8|t[14],i.parallelismType=3&t[15],i[e(205)]=3&t[16],i.bitDepthLumaMinus8=7&t[17],i[e(248)]=7&t[18],i[e(249)]=t[19]<<8|t[20],i[e(162)]=t[21]>>6&3,i.numTemporalLayers=t[21]>>3&7,i.temporalIdNested=t[21]>>2&1,i[e(180)]=3&t[21];let r=t[22],n=t.slice(23);for(let t=0;t<r&&!(n[e(165)]<3);t++){let t=63&n[0],r=n[1]<<8|n[2];n=n.slice(3);for(let a=0;a<r&&!(n[e(165)]<2);a++){let r=n[0]<<8|n[1];if(n[e(165)]<2+r)break;if(n=n[e(194)](2),33==t){let t=new Uint8Array(r);t[e(234)](n[e(194)](0,r),0),i[e(183)]=Ce(t),s[e(209)]=i[e(155)],s[e(246)]=i[e(160)]/30,s[e(208)]=i[e(183)][e(235)]-(i[e(183)][e(207)]+i[e(183)][e(221)]),s[e(219)]=i[e(183)][e(215)]-(i[e(183)][e(227)]+i[e(183)][e(251)])}n=n[e(194)](r)}}}while(0);return s[e(275)]=s.width||1920,s[e(265)]=s[e(219)]||1080,s[e(188)]=s[e(265)],s[e(198)]=s[e(275)],s[e(232)]=1e3,s[e(166)]=1e3/23976*1e3,s.videoType=x[e(163)],s}(t);i=Object[s(161)](i,e)}i&&(i[s(130)]&&(this[s(130)]=i.vps),i[s(126)]&&(this[s(126)]=i.pps),i[s(128)]&&(this[s(128)]=i[s(128)]),i[s(158)]&&(this.metaInfo[s(158)]=i.presentWidth),i[s(123)]&&(this[s(170)][s(123)]=i[s(123)]),i[s(138)]&&(this[s(170)][s(138)]=i[s(138)]),i[s(122)]&&(this[s(170)][s(122)]=i[s(122)]),i[s(157)]&&(this[s(170)][s(157)]=i.timescale),i[s(154)]&&(this[s(170)][s(154)]=i[s(154)]),i[s(121)]&&(this[s(170)].videoType=i.videoType)),this[s(153)][s(165)][s(146)]({width:this[s(170)][s(138)],height:this[s(170)][s(122)],encTypeCode:this[s(120)]}),this[s(170)].init=!0}[ze(145)](t,e){const s=ze;if(this[s(147)][s(116)])return;this[s(149)]=e;const i=t[0]>>1&1;let r=null;e===I[s(159)]?(r=function(t){const e=M;let s={},i=new j(t);return i.read(16),s.object_type=q(i),s.sample_rate=Y(i,s),s[e(316)]=i[e(302)](4),s[e(316)]<X.length&&(s[e(293)]=X[s[e(316)]]),s[e(282)]=-1,s.ps=-1,(5==s.object_type||29==s[e(308)])&&(29==s.object_type&&(s.ps=1),s[e(285)]=5,s.sbr=1,s[e(286)]=Y(i,s),s[e(308)]=q(i)),{...s,channelCount:s[e(293)],sampleRate:s[e(286)]}}(t),r&&(r[s(117)]&&(this[s(147)][s(117)]=r[s(117)]),r[s(132)]&&(this.audioMetaInfo.codec=r[s(132)]),r[s(133)]&&(this[s(147)][s(133)]=r[s(133)]),r[s(124)]&&(this[s(147)][s(124)]=r[s(124)]),r.sampleRate&&(this[s(147)][s(114)]=r[s(114)]),this.audioMetaInfo[s(114)]&&this[s(147)][s(157)]&&(this[s(147)].refSampleDuration=1024/this[s(147)].sampleRate*this[s(147)].timescale)),this[s(147)][s(172)]=t.slice(2),this.audioMetaInfo[s(136)]=i?16:8):(this[s(147)][s(136)]=0===i?8:16,this[s(147)][s(114)]=8e3,this[s(147)].channelCount=1),this[s(153)].audio[s(140)]({depth:this[s(147)][s(136)],sampleRate:this[s(147)][s(114)],channels:this[s(147)][s(117)],encTypeCode:this[s(149)]}),this.audioMetaInfo[s(116)]=!0}[ze(144)](t){this.audioMetaInfo.extraData=new Uint8Array(t)}[ze(119)](){}}function Ve(){const t=["codecHeight","presentHeight","config","h264","pps","stopRecordingInterval","sps","_isRecording","vps","255020vZPosy","codec","originalCodec","startRecordingInterval","recordingInterval","depth","5kRmZUo","codecWidth","265278LPoJpq","updateAudioInfo","TAG_NAME","startTimestamp","fileName","initAudioAacExtraData","initAudioMetaData","updateVideoInfo","audioMetaInfo","destroy","audioCodeId","128mdbsRB","82551vQtOcI","394886GZETxT","player","refSampleDuration","handleAddAudioTrack","642100uPvwao","timescale","presentWidth","AAC","recorderCommon","assign","recording","handleAddNaluTrack","slice","video","h265","initMetaData","_recordingTimestamp","4191312itfMtg","metaInfo","90nVdqFw","extraData","handleAddTrack","getToTalByteLength","sampleRate","_reset","init","channelCount","1052584xOsCrP","handleAddContent","codecId","videoType"];return(Ve=function(){return t})()}function We(){const t=["7dJffVv","7335272bBaJRA","reduce","44asqWGY","6486oruWzh","204681ZcAOim","constructor","11680185mHacjF","48310BNRCux","6TbsbUU","length","byteLength","set","4282761ngxsag","522rIPDhG","906580LsJhKX"];return(We=function(){return t})()}function je(t,e){const s=We();return(je=function(t,e){return s[t-=239]})(t,e)}function qe(){const t=["365445pckZQP","35872pdfvcz","_init","recordingTimestamp","_isRecording","addVideoSequenceHeader","setFileName","totalByteLength","application/octet-stream","init","flv","totalDuration","_setStartTime","getTotalDuration","aacSequenceHeader","addAudio","2312160YiRpei","debugError","_createFlvTag","TAG_NAME","hasAudio","setInterval","push","player","startTime","prevTimestamp","length","getType","currentTime","payload","round","setUint32","audio","addAACSequenceHeader","fileName","_getBufferTs","stop recording fail, isRecording is false ","addMetaData","recordStart","stop recording fail, this.bufferList.length is 0 ","stopRecordingInterval","startTimestamp","recordBlob","buffer","byteLength","start recording","destroy","debugLog","addVideo","_createBufferItem","timestamp","blob","stop recording","subarray","recording","recordingInterval","videoSequenceHeader","95998uSGkMe","emit","_createFlvPacket","bufferList","432664MUiuOK","startRecord","hasVideo","type","getToTalByteLength","217Vzgzis","91092vCbXJv","download","99738jHqDFp","8MyCgeW","170mEhEsP","72grEzFf","_reset","header","flvMetaData","stopRecordAndSave","385XCjlVt"];return(qe=function(){return t})()}!function(t,e){const s=je,i=t();for(;;)try{if(494841===-parseInt(s(244))/1*(parseInt(s(248))/2)+parseInt(s(249))/3*(-parseInt(s(247))/4)+parseInt(s(243))/5+parseInt(s(253))/6*(-parseInt(s(241))/7)+parseInt(s(245))/8+-parseInt(s(242))/9*(parseInt(s(252))/10)+parseInt(s(251))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);const Ye=Ke;function Ke(t,e){const s=qe();return(Ke=function(t,e){return s[t-=343]})(t,e)}!function(t,e){const s=Ke,i=t();for(;;)try{if(318013===-parseInt(s(357))/1*(-parseInt(s(370))/2)+parseInt(s(378))/3+-parseInt(s(379))/4*(parseInt(s(371))/5)+-parseInt(s(369))/6*(-parseInt(s(366))/7)+-parseInt(s(361))/8*(parseInt(s(372))/9)+-parseInt(s(394))/10+-parseInt(s(377))/11*(-parseInt(s(367))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);class Xe extends He{constructor(t){const e=Ke;super(t),this[e(397)]="FlvRecorderLoader",this.player=t,this._init(),this[e(401)][e(347)](this[e(397)],e(387))}destroy(){const t=Ke;super[t(346)](),this[t(380)](),this.player[t(347)](this[t(397)],t(346))}[Ye(380)](){const t=Ye;this[t(398)]=!1,this.hasVideo=!1,this[t(402)]=null,this.currentTime=0,this[t(403)]=0,this.totalByteLength=0,this[t(389)]=0,this[t(375)]=null,this[t(392)]=null,this[t(356)]=null,this.bufferList=[]}[Ye(373)](){const t=Ye;super[t(373)](),this[t(380)]()}[Ye(362)](){const t=Ye;this[t(382)]=!0,this[t(401)][t(358)](p[t(354)],!0),this[t(401)][t(347)](this[t(397)],t(345)),this[t(401)][t(358)](p[t(416)]),this.startRecordingInterval()}startRecordingInterval(){const t=Ye;this[t(418)](),this[t(355)]=window[t(399)]((()=>{const e=t;this[e(401)][e(358)](p[e(381)],this[e(391)]())}),1e3)}[Ye(415)](t){this[Ye(375)]=t}[Ye(411)](t){this.aacSequenceHeader=t}[Ye(383)](t){this[Ye(356)]=t}[Ye(348)](t,e){const s=Ye;null===this[s(419)]&&(this[s(419)]=Z());if(Z()-this.startTimestamp>6e5)return;this[s(390)](e);const i=this[s(413)](e);this[s(363)]=!0,this._createBufferItem(t,d.video,i)}[Ye(393)](t,e){const s=Ye;null===this[s(419)]&&(this[s(419)]=Z());if(Z()-this[s(419)]>6e5)return;this._setStartTime(e);const i=this._getBufferTs(e);this[s(398)]=!0,this[s(349)](t,d[s(410)],i)}[Ye(390)](t){const e=Ye;null===this.startTime&&this[e(382)]&&(this[e(402)]=t,this[e(401)][e(347)](this[e(397)],"_setStartTime is "+t))}[Ye(413)](t){const e=Ye;t>this.currentTime&&(this[e(406)]=t);let s=0;return this[e(402)]&&t>=this[e(402)]&&(s=t-this.startTime),s>this[e(403)]?this[e(403)]=s:s=this[e(403)],s}_createBufferItem(t,e,s){const i=Ye,r=this[i(359)](t,e,s),n=this._createFlvTag(r);this.totalByteLength+=n[i(344)],this[i(360)].push(n)}[Ye(396)](t){const e=Ye;let s=11+t[e(374)][e(404)],i=new Uint8Array(s+4);i[0]=t[e(374)][e(364)];let r=new DataView(i[e(343)]);return i[1]=t[e(374)][e(404)]>>16&255,i[2]=t[e(374)][e(404)]>>8&255,i[3]=255&t.header[e(404)],i[4]=t[e(374)].timestamp>>16&255,i[5]=t.header[e(350)]>>8&255,i[6]=255&t[e(374)][e(350)],i[7]=t[e(374)][e(350)]>>24&255,i[8]=0,i[9]=0,i[10]=0,r[e(409)](s,s),i.set(t[e(407)][e(353)](0,t.header.length),11),i}[Ye(359)](){const t=Ye;let e=arguments[t(404)]>0&&void 0!==arguments[0]?arguments[0]:null,s=arguments[t(404)]>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[t(404)]>2&&void 0!==arguments[2]?arguments[2]:0;return{header:{length:e?e[t(404)]:0,timestamp:i,type:s},payload:e}}[Ye(376)](){const t=Ye;let e=arguments[t(404)]>0&&void 0!==arguments[0]?arguments[0]:g[t(368)],s=arguments[t(404)]>1?arguments[1]:void 0;return new Promise(((i,r)=>{const n=t;if(!this.isRecording)return this.player[n(395)](this.TAG_NAME,n(414)),r(n(414));if(0===this[n(360)][n(404)])return this.player[n(395)](this[n(397)],n(417)),r(n(417));s&&this[n(384)](s);const a=new Uint8Array([70,76,86,1,0,0,0,0,9,0,0,0,0]);this[n(363)]&&(a[4]|=1),this[n(398)]&&(a[4]|=4);let h=[a];if(this.flvMetaData){const t=this[n(359)](this[n(375)],d.scriptData),e=this[n(396)](t);h[n(400)](e)}if(this[n(356)]){const t=this[n(359)](this[n(356)],d.video),e=this[n(396)](t);h[n(400)](e)}if(this.aacSequenceHeader){const t=this[n(359)](this[n(392)],d[n(410)]),e=this[n(396)](t);h[n(400)](e)}const c=function(t){const e=je,s=t[0][e(250)];return t[e(246)](((t,i)=>{const r=e,n=new s((0|t[r(239)])+(0|i[r(239)]));return n[r(240)](t,0),n[r(240)](i,0|t[r(239)]),n}),new s)}(h.concat(this[n(360)]));this[n(401)].debugLog(this[n(397)],n(352));const u=new Blob([c],{type:n(386)});if(e===g[n(351)])i(u),this[n(401)][n(358)](p[n(420)],u);else{i();it((this[n(412)]||Z())+"."+o[n(388)],u)}this[n(373)](),this[n(401)].emit(p[n(354)],!1)}))}[Ye(391)](){const t=Ye;let e=0;return null!==this[t(402)]&&null!==this.currentTime&&(e=this[t(406)]-this[t(402)]),Math[t(408)](e/1e3)}[Ye(405)](){return o[Ye(388)]}[Ye(365)](){return this[Ye(385)]}}function Je(t,e){const s=Qe();return(Je=function(t,e){return s[t-=301]})(t,e)}const Ze=Je;function Qe(){const t=["Init","slice","284840urMTDX","219VEXRut","init","2HnOqJr","1067piQkPI","fisrtStartCodeOffset","8380OxexQh","isDestroyed","36qlgKuj","1686841uXciZq","9704ikIvAb","versionLayer","findFirstStartCode","reset","off","findSecondStartCode","stats","3973565zetvTy","length","parsedOffset","secondStartCodeOffset","state","destroy","7LzDBsY","tempBuffer","468106zLQVWg","data","6UzoDMT","emit","4993776psMiWl","set"];return(Qe=function(){return t})()}!function(t,e){const s=Je,i=t();for(;;)try{if(450101===parseInt(s(327))/1*(parseInt(s(316))/2)+-parseInt(s(325))/3*(-parseInt(s(301))/4)+-parseInt(s(308))/5*(-parseInt(s(318))/6)+parseInt(s(314))/7*(parseInt(s(324))/8)+-parseInt(s(320))/9+parseInt(s(330))/10*(-parseInt(s(328))/11)+parseInt(s(332))/12*(-parseInt(s(333))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qe);const $e={init:0,findFirstStartCode:1,findSecondStartCode:2};class ts extends i{constructor(t){const e=Je;super(),this.player=t,this.isDestroyed=!1,this[e(304)]()}[Ze(313)](){const t=Ze;this[t(331)]=!1,this[t(305)](),this[t(304)]()}[Ze(304)](){const t=Ze;this[t(307)]=$e[t(326)],this[t(315)]=new Uint8Array(0),this[t(310)]=0,this[t(302)]=0}dispatch(t,e){const s=Ze;let i=new Uint8Array(this[s(315)][s(309)]+t[s(309)]);for(i[s(321)](this.tempBuffer,0),i[s(321)](t,this[s(315)][s(309)]),this[s(315)]=i;!this[s(331)];){if(this[s(312)]==$e[s(322)]){let t=!1;for(;this[s(315)][s(309)]-this.parsedOffset>=2&&!this[s(331)];)if(255==this[s(315)][this[s(310)]]){if(!(!1&this[s(315)][this[s(310)]+1])){this.versionLayer=this.tempBuffer[this[s(310)]+1],this[s(312)]=$e[s(303)],this.fisrtStartCodeOffset=this[s(310)],this[s(310)]+=2,t=!0;break}this[s(310)]++}else this[s(310)]++;if(t)continue;break}if(this.state==$e[s(303)]){let t=!1;for(;this[s(315)][s(309)]-this[s(310)]>=2&&!this[s(331)];)if(255==this.tempBuffer[this[s(310)]]){if(this[s(315)][this.parsedOffset+1]==this[s(302)]){this[s(312)]=$e[s(306)],this[s(311)]=this[s(310)],this.parsedOffset+=2,t=!0;break}this[s(310)]++}else this[s(310)]++;if(t)continue;break}if(this.state==$e[s(306)]){let t=this[s(315)][s(323)](this[s(329)],this.secondStartCodeOffset);this[s(319)](s(317),t,e),this[s(315)]=this[s(315)][s(323)](this.secondStartCodeOffset),this[s(329)]=0,this[s(310)]=2,this.state=$e[s(303)]}}}}const es=is;function ss(){const t=["pendingAudioFrames","byteLength","20gbFKcn","then",", hasVideo is ","wasmMp4RecorderStarted","handleAddAudioTrack fail, hasAudio is false","startTimestamp","recordTime","recordBlob","sendAudioFrame","_opt","cancelRecord","channels","depth","debugError","video","4196046UyOLCN","12522050BtnjUb","wasmMp4RecorderDecoder","stopRecord","hasVideo","emit","startRecord","27657kjWZyZ","MP3","codecId","length","download","startRecord(), hasAudio is ","payload","941368DQBcYQ","mp3Demuxer","TAG_NAME","cancel recording","cts","_isRecording","isWasmMp4","width","recording","getToTalByteLength","JessibucaProMp4Recorder","duration","recordingInterval","data","dispatch","extraData","stop recording fail, isRecording is false ","dts","height","debugLog","round","metaInfo","recordingTimestamp","catch","init","_reset","isIFrame","44nJfgOX","_handleAddAudioTrack","getTotalDuration","sendVideoFrame","debugWarn","sampleRate","mp4","audioCodeId","3576vqgjjp","cacheTrack","player","stop recording fail, recording time is 0 ","stopRecord error","forEach","3238332Gkvzdm","_recordingTimestamp","wasmMp4Recorder","audioCacheTrack","8458422wEuyHy","debugUuid","handleAddNaluTrack fail, hasVideo is false","34843bqqlTg","isRecording","recordCancel","finally","getVideoInfo","74mvVYWp","handleAddAudioTrack","totalByteLength","start recording","totalAudioByteLength","destroy","startRecord error","_prevHandleAddAudioTrack","blob","fileName","stopRecordAndSave","push","avcc","pendingVideoFrames","_emitError","encTypeCode","hasAudio","audio"];return(ss=function(){return t})()}function is(t,e){const s=ss();return(is=function(t,e){return s[t-=436]})(t,e)}!function(t,e){const s=is,i=t();for(;;)try{if(995881===-parseInt(s(535))/1*(-parseInt(s(438))/2)+-parseInt(s(528))/3+parseInt(s(487))/4*(-parseInt(s(458))/5)+-parseInt(s(473))/6+-parseInt(s(532))/7+-parseInt(s(522))/8*(parseInt(s(480))/9)+-parseInt(s(474))/10*(-parseInt(s(514))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ss);class rs extends He{constructor(t){const e=is;super(t),this.TAG_NAME="recorderWasmMP4",this[e(512)](),this.wasmMp4Recorder=null,this[e(488)]=null,this[e(461)]=!1,this[e(456)]=[],this[e(451)]=[],t[e(506)](this[e(489)],e(511))}destroy(){const t=is;super[t(443)](),this[t(488)]&&(this.mp3Demuxer[t(443)](),this.mp3Demuxer=null),this._reset(),this[t(524)].debugLog(this[t(489)],t(443))}[es(512)](){const t=es;super[t(512)](),this[t(523)]={},this[t(531)]={},this[t(440)]=0,this[t(442)]=0,this.hasAudio=!1,this.hasVideo=!1}getType(){return o[es(520)]}[es(493)](){return!0}[es(516)](){return this[es(529)]}[es(496)](){const t=es;return this[t(440)]+this[t(442)]}[es(479)](){const t=es,e=this.player,s=this[t(524)][t(455)].getAudioInfo(),i=this[t(524)].video[t(437)](),r={};if(this[t(482)]){const e={type:this.codecId,width:i[t(494)],height:i[t(505)],extraData:this[t(508)][t(450)]};r[t(472)]=e,this[t(477)]=!0}if(s.encTypeCode){const e={type:s[t(453)],sampleRate:s[t(519)],channels:s[t(469)],extraData:this.audioMetaInfo[t(502)],depth:s[t(470)]};this[t(521)]=s.encTypeCode,r[t(455)]=e,this.hasAudio=!0}this[t(524)][t(506)](this[t(489)],t(485)+this[t(454)]+t(460)+this[t(477)]),this[t(492)]=!0,this.wasmMp4Recorder=new(window[t(497)])({debug:e[t(467)].debug,debugLevel:e[t(467)].debugLevel,debugUuid:e[t(467)][t(533)],decoder:e[t(467)][t(475)],name:"JessibucaPro",buildTime:u}),this[t(530)].on(t(509),(e=>{const s=t;this[s(529)]=Math[s(507)](e/1e3)})),this[t(530)][t(479)](r)[t(459)]((()=>{const e=t;this.player[e(478)](p[e(495)],!0),this[e(524)][e(506)](this[e(489)],e(441)),this[e(461)]=!0,this.player[e(478)](p.recordStart),this.startRecordingInterval()})).catch((e=>{const s=t;this[s(492)]=!1,this[s(524)][s(471)](this[s(489)],s(444),e),this[s(524)][s(452)](p.recordCreateError,e)}))}startRecordingInterval(){const t=es;this.stopRecordingInterval(),this[t(499)]=window.setInterval((()=>{const e=t;this.player[e(478)](p[e(509)],this[e(464)])}),1e3)}[es(448)](){const t=es;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g[t(484)],s=arguments[t(483)]>1?arguments[1]:void 0;return new Promise(((i,r)=>{const n=t;return this[n(536)]?0===this[n(529)]?(this[n(524)][n(471)](this[n(489)],n(525)),r(n(525))):(s&&this.setFileName(s),void this[n(530)][n(476)]()[n(459)]((t=>{const s=n;if(e===g[s(446)])i(t),this[s(524)][s(478)](p[s(465)],t);else{i();it((this[s(447)]||Z())+"."+o[s(520)],t)}}))[n(510)]((t=>{const e=n;this.player[e(471)](this[e(489)],e(526),t),r(t)})).finally((()=>{const t=n;this[t(512)](),this.player[t(478)](p[t(495)],!1)}))):(this[n(524)][n(471)](this[n(489)],n(503)),r(n(503)))}))}[es(468)](){return new Promise(((t,e)=>{const s=is;if(this[s(524)][s(506)](this[s(489)],s(490)),!this[s(536)]||0===this[s(529)])return t();this[s(530)].stopRecord()[s(459)]((e=>{t()}))[s(510)]((t=>{const i=s;this[i(524)][i(471)](this[i(489)],i(526),t),e(t)}))[s(436)]((()=>{const t=s;this[t(512)](),this.player[t(478)](p[t(495)],!1),this[t(524)].emit(p[t(537)])}))}))}[es(439)](t,e){const s=es;if(dt(this[s(454)]))return void this[s(524)][s(518)](this.TAG_NAME,s(462));null===this.startTimestamp&&(this[s(463)]=Z());Z()-this[s(463)]>6e5||(this.wasmMp4RecorderStarted?(this[s(456)][s(483)]>0&&(this[s(456)][s(527)]((t=>{const e=s;this._prevHandleAddAudioTrack(t[e(486)],t[e(504)])})),this.pendingAudioFrames=[]),this[s(445)](t,e)):this.pendingAudioFrames[s(449)]({payload:t,dts:e}))}[es(445)](t,e){const s=es;this[s(521)]===I[s(481)]?(!this[s(488)]&&(this[s(488)]=new ts(this[s(524)]),this[s(488)].on(s(500),((t,e)=>{this[s(515)](t,e)}))),this[s(488)][s(501)](t,e)):this[s(515)](t,e)}_handleAddAudioTrack(t,e){const s=es;this[s(531)].id&&e>=this[s(531)][s(504)]?(this[s(531)][s(498)]=e-this[s(531)][s(504)],this[s(442)]+=this[s(531)][s(486)][s(457)],this.wasmMp4Recorder[s(466)](this[s(531)][s(486)],this[s(531)][s(504)])):this[s(531)]={},this[s(531)]={id:2,payload:t,dts:e}}handleAddNaluTrack(t,e,s,i){const r=es;if(dt(this[r(477)]))return void this[r(524)][r(518)](this[r(489)],r(534));null===this[r(463)]&&(this[r(463)]=Z());Z()-this.startTimestamp>6e5||(this[r(461)]?(this.pendingVideoFrames[r(483)]>0&&(this[r(451)][r(527)]((t=>{const e=r;this._prevHandleAddNaluTrack(t.payload,t[e(513)],t.dts,t[e(491)])})),this.pendingVideoFrames=[]),this._prevHandleAddNaluTrack(t,e,s,i)):this[r(451)][r(449)]({payload:t,isIFrame:e,dts:s,cts:i}))}_prevHandleAddNaluTrack(t,e,s,i){const r=es;this.cacheTrack.id&&s>=this.cacheTrack[r(504)]?(this.cacheTrack[r(498)]=s-this[r(523)][r(504)],this.totalByteLength+=this[r(523)][r(486)][r(457)],this.wasmMp4Recorder[r(517)](this[r(523)][r(486)],this.cacheTrack[r(513)],this.cacheTrack[r(504)],this[r(523)].cts)):this[r(523)]={},this[r(523)]={id:1,payload:t,isIFrame:e,dts:s,cts:i}}}function ns(t,e){const s=os();return(ns=function(t,e){return s[t-=299]})(t,e)}const as=ns;function os(){const t=["140572OLVjyV","getLoaderFactory","recordType is not defined","JessibucaProMp4Recorder is not defined","6438130agXAzC","26758dpxiGI","1308489tIfGOM","595530cLBNyt","12kiVKTr","17045OgjbnK","1746696OEehUX","_opt","JessibucaProMp4Recorder","3KNlPLh","mp4","recordType","294mexoMC","flv"];return(os=function(){return t})()}!function(t,e){const s=ns,i=t();for(;;)try{if(120067===-parseInt(s(299))/1*(-parseInt(s(302))/2)+-parseInt(s(307))/3*(parseInt(s(312))/4)+parseInt(s(303))/5*(parseInt(s(310))/6)+parseInt(s(300))/7+parseInt(s(304))/8+parseInt(s(301))/9+-parseInt(s(316))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(os);class hs{constructor(t){const e=ns;return new(hs[e(313)](t[e(305)]))(t)}static[as(313)](t){const e=as;if(t.recordType===o[e(308)]){if(window[e(306)])return rs;throw new Error(e(315))}if(t[e(309)]===o[e(311)])return Xe;throw new Error(e(314))}}function cs(t,e){const s=ls();return(cs=function(t,e){return s[t-=135]})(t,e)}const us=cs;function ls(){const t=["type",", isAacCodecPacket is true","video","CommonDemux","56jUZuSx","5023503WgltxG","initMetaData","3015416aBXKsV","preTimestamp","close","60078JqMAgm","bufferList","addAACSequenceHeader","calcIframeIntervalTimestamp","addVideoSequenceHeader","firstTimestamp","off","startTimestamp","destroy","preTimestampDuration","pushBuffer audio ts is ","12198AlaVha","stopId","addAudio","pushLatestDelay","preDelayTimestamp","_updateStats","bufferStartDts","pushBuffer","debugLog","playbackStreamVideoFps","player","length","607187xMsJZZ","delay","historyIntervalDiffTimeList","2JNlQvn","pushBuffer video ts is ","init","recorder","slice","_hasVideoAndAudioInit","isRecording","playbackStreamFps","reset","323954qvkweE","playbackStreamAudioFps","isIFrame","isRecordTypeMp4","handleAddAudioTrack","isStreamTsMoreThanLocal","preLoopTimestamp","handleAddNaluTrack","startRecord","preIframeTs","bufferStartLocalTs","audio","dropping","isRecordTypeFlv","_doDecode","initAudioMetaData","1334510fwTQZH"];return(ls=function(){return t})()}!function(t,e){const s=cs,i=t();for(;;)try{if(244950===parseInt(s(193))/1*(parseInt(s(140))/2)+-parseInt(s(167))/3*(-parseInt(s(161))/4)+-parseInt(s(156))/5+parseInt(s(178))/6+parseInt(s(190))/7+parseInt(s(164))/8+-parseInt(s(162))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ls);class ds extends i{constructor(t){const e=cs;super(),this[e(188)]=t,this[e(179)]=null,this.firstTimestamp=null,this.startTimestamp=null,this[e(182)]=null,this[e(146)]=null,this[e(184)]=null,this[e(150)]=null,this[e(149)]=null,this.preFrameTs=null,this[e(165)]=null,this[e(176)]=0,this.prevPayloadBufferSize=0,this[e(145)]=!1,this[e(191)]=-1,this[e(181)]=-1,this[e(168)]=[],this[e(192)]=[],this[e(138)]=null,this[e(141)]=null,this[e(187)]=null,this.dropping=!1,this.isPushDropping=!1,this[e(188)][e(186)](e(160),e(195))}[us(175)](){const t=us;this.bufferList=[],this[t(192)]=[],this[t(138)]=null,this[t(141)]=null,this[t(187)]=null,this[t(172)]=null,this[t(174)]=null,this[t(184)]=null,this.bufferStartLocalTs=null,this[t(182)]=null,this[t(146)]=null,this[t(149)]=null,this[t(165)]=null,this[t(176)]=0,this.prevPayloadBufferSize=0,this.isStreamTsMoreThanLocal=!1,this[t(191)]=-1,this.pushLatestDelay=-1,this[t(152)]=!1,this.isPushDropping=!1,this[t(173)](),this[t(188)][t(186)]("CommonDemux",t(175))}[us(154)](t,e,s,i){const r=us;let n=arguments[r(189)]>4&&void 0!==arguments[4]?arguments[4]:0;this[r(188)];let a={ts:s,cts:n,type:e,isIFrame:!1};e===l.video&&(a[r(142)]=i),this[r(185)](t,a)}_doDecodeByHls(t,e,s,i){let r=arguments[us(189)]>4&&void 0!==arguments[4]?arguments[4]:0;this._doDecode(t,e,s,i,r)}_doDecodeByFmp4(t,e,s,i){const r=us;let n=arguments[r(189)]>4&&void 0!==arguments[4]?arguments[4]:0;this[r(154)](t,e,s,i,n)}pushBuffer(t,e){const s=us;if(this.player[s(183)]({ts:e.ts}),e[s(157)]===l[s(151)]&&function(t){const e=O;return N(t)&&t[1]===U[e(314)]}(t)){this.player[s(186)]("CommonDemux",s(177)+e.ts+s(158));const i=t[0]>>4;if(this[s(188)][s(196)][s(155)](t,i),this[s(188)][s(153)]()){const i=new Uint8Array(t);this[s(188)][s(196)][s(169)](i,e.ts)}}else if(e[s(157)]===l[s(159)]&&e.isIFrame&&function(t){const e=J;return t[0]>>4===L[e(549)]&&t[1]===U[e(718)]}(t)){this.player.debugLog(s(160),s(194)+e.ts+", isVideoSequenceHeader is true");const i=15&t[0];if(this[s(188)][s(196)][s(163)](t,i),this.player[s(153)]()){const i=new Uint8Array(t);this[s(188)].recorder[s(171)](i,e.ts)}}else if((this[s(188)][s(136)]()&&this.player[s(143)]()||this[s(188)].isRecordTypeFlv())&&dt(this[s(188)][s(196)][s(137)])&&this.player.recorder[s(148)](),this[s(188)][s(153)]()){const i=new Uint8Array(t);e[s(157)]===l[s(159)]?this.player[s(196)].addVideo(i,e.ts):e[s(157)]===l[s(151)]&&this[s(188)][s(196)][s(180)](i,e.ts)}else if(this[s(188)].isRecordTypeMp4()){const i=new Uint8Array(t);if(e[s(157)]===l[s(159)])this[s(188)][s(196)][s(147)](i[s(135)](5),e.isIFrame,e.ts,e.cts);else if(e.type===l[s(151)]){const i=new Uint8Array(t);this.player.recorder[s(144)](N(i)?i[s(135)](2):i[s(135)](1),e.ts)}}}[us(166)](){}[us(139)](){}[us(170)](){}}const fs=ps;function ps(t,e){const s=bs();return(ps=function(t,e){return s[t-=114]})(t,e)}!function(t,e){const s=ps,i=t();for(;;)try{if(269642===parseInt(s(115))/1+parseInt(s(130))/2*(parseInt(s(136))/3)+-parseInt(s(142))/4+-parseInt(s(118))/5+-parseInt(s(120))/6*(parseInt(s(147))/7)+-parseInt(s(153))/8*(parseInt(s(155))/9)+-parseInt(s(145))/10*(-parseInt(s(158))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bs);var ms=function(t,e,s,i){return new(s||(s=Promise))((function(r,n){const a=ps;function o(t){const e=ps;try{c(i[e(119)](t))}catch(t){n(t)}}function h(t){const e=ps;try{c(i[e(132)](t))}catch(t){n(t)}}function c(t){const e=ps;var i;t[e(160)]?r(t[e(137)]):(i=t[e(137)],i instanceof s?i:new s((function(t){t(i)})))[e(149)](o,h)}c((i=i.apply(t,e||[]))[a(119)]())}))};const _s=Symbol(32),gs=Symbol(16),ys=Symbol(8);class vs{constructor(t){const e=fs;this.g=t,this[e(117)]=0,t&&(this[e(124)]=t[e(119)]()[e(137)])}[fs(150)](t){const e=fs;this.g=t,this[e(151)](t[e(119)]()[e(137)],!0)}[fs(143)](){const t=fs;this.buffer&&this.consumed&&(this[t(146)][t(144)](0,this[t(117)]),this.buffer=this[t(146)][t(131)](0,this[t(146)][t(123)]-this.consumed),this[t(117)]=0)}[fs(151)](t,e){const s=fs;return e&&this[s(143)](),this[s(124)]=t,this.flush()}[fs(140)](t){return ms(this,void 0,void 0,(function*(){const e=ps;return this[e(122)]&&(yield this[e(122)]),this[e(122)]=new Promise(((s,i)=>{const r=e;var n;this.reject=i,this.resolve=t=>{const e=ps;delete this.lastReadPromise,delete this[e(152)],delete this.need,s(t)};this[r(151)](t,!0)||null===(n=this[r(154)])||void 0===n||n[r(126)](this,t)}))}))}[fs(141)](){return this.read(_s)}[fs(129)](){return this.read(gs)}readU8(){return this[fs(140)](ys)}[fs(121)](){const t=fs;var e;this.g&&this.g[t(133)](),this[t(146)]&&this[t(146)][t(131)](0,0),null===(e=this[t(127)])||void 0===e||e[t(126)](this,new Error(t(156))),delete this[t(122)]}[fs(148)](){const t=fs;if(!this[t(146)]||!this.need)return;let e=null;const s=this[t(146)][t(131)](this[t(117)]);let i=0;const r=e=>s[t(123)]<(i=e);if(typeof this.need===t(116)){if(r(this[t(124)]))return;e=s[t(131)](0,i)}else if(this[t(124)]===_s){if(r(4))return;e=s[0]<<24|s[1]<<16|s[2]<<8|s[3]}else if(this[t(124)]===gs){if(r(2))return;e=s[0]<<8|s[1]}else if(this.need===ys){if(r(1))return;e=s[0]}else if(t(146)in this[t(124)]){if(t(125)in this[t(124)]){if(r(this[t(124)][t(114)]-this[t(124)][t(125)]))return;new Uint8Array(this.need[t(146)],this[t(124)].byteOffset)[t(139)](s[t(131)](0,i)),e=this.need}else if(this.g)return void this.g.throw(new Error("Unsupported type"))}else{if(r(this[t(124)].byteLength))return;new Uint8Array(this[t(124)])[t(139)](s[t(131)](0,i)),e=this[t(124)]}return this.consumed+=i,this.g?this.demand(this.g[t(119)](e)[t(137)],!0):this[t(152)]&&this[t(152)](e),e}write(t){const e=fs;if(t instanceof Uint8Array?this[e(134)](t[e(123)])[e(139)](t):e(146)in t?this[e(134)](t[e(114)])[e(139)](new Uint8Array(t[e(146)],t.byteOffset,t[e(114)])):this[e(134)](t[e(114)]).set(new Uint8Array(t)),!this.g&&!this[e(152)])return new Promise((t=>this[e(154)]=t));this[e(148)]()}writeU32(t){const e=fs;this.malloc(4).set([t>>24&255,t>>16&255,t>>8&255,255&t]),this[e(148)]()}[fs(138)](t){const e=fs;this[e(134)](2).set([t>>8&255,255&t]),this[e(148)]()}[fs(157)](t){const e=fs;this[e(134)](1)[0]=t,this[e(148)]()}[fs(134)](t){const e=fs;if(this.buffer){const s=this.buffer[e(123)],i=s+t;if(i<=this[e(146)][e(146)][e(114)]-this[e(146)][e(125)])this[e(146)]=new Uint8Array(this[e(146)][e(146)],this.buffer[e(125)],i);else{const t=new Uint8Array(i);t[e(139)](this.buffer),this.buffer=t}return this[e(146)].subarray(s,i)}return this[e(146)]=new Uint8Array(t),this[e(146)]}}function bs(){const t=["2192415LHsJoG","next","845316wKlgHd","close","lastReadPromise","length","need","byteOffset","call","reject","U32","readU16","331130HwPDxP","subarray","throw","return","malloc","__awaiter","9aMxiwX","value","writeU16","set","read","readU32","1176476ZVsAry","consume","copyWithin","610WrekAD","buffer","14saIzvn","flush","then","setG","demand","resolve","1239832WllAvv","pull","9pJCMGh","EOF","writeU8","77132LFDEeG","U16","done","byteLength","514568ClkDXf","number","consumed"];return(bs=function(){return t})()}function Is(){const t=["video","destroy","close","3LIZhtg","45cVgAtr","6PvYafS","slice","136983ZILZnQ","keyFrame","demux","player","dispatch() this.input is null","FlvDemux","738072PxYkeW","nalu","h265","interFrame","17711712GcKjRG","debugLog","hasVideo","4676042fNtLyV"," is not > 0","_opt","234716loOwuJ"," and packageType is ","write","debugWarn","frameType is ","input","demux() type is ","audio","4491852rAVhEs","2264910uUOUAR"," is not sequenceHeader or nalu","byteLength","750JLgKRh","_updateStats","dispatch","3KcRBfV","sequenceHeader"];return(Is=function(){return t})()}function Ss(t,e){const s=Is();return(Ss=function(t,e){return s[t-=194]})(t,e)}vs[fs(128)]=_s,vs[fs(159)]=gs,vs.U8=ys;const ws=Ss;!function(t,e){const s=Ss,i=t();for(;;)try{if(686765===-parseInt(s(194))/1*(-parseInt(s(219))/2)+-parseInt(s(199))/3*(-parseInt(s(227))/4)+parseInt(s(228))/5*(-parseInt(s(201))/6)+parseInt(s(216))/7+-parseInt(s(209))/8*(parseInt(s(200))/9)+parseInt(s(231))/10*(parseInt(s(203))/11)+-parseInt(s(213))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Is);class As extends ds{constructor(t){const e=Ss;super(t),this[e(224)]=new vs(this[e(205)]()),t[e(214)](e(208),"init")}[ws(197)](){const t=ws;super.destroy(),this[t(224)]=null,this[t(206)][t(214)](t(208),t(197))}[ws(233)](t){const e=ws;this[e(224)]?this[e(224)][e(221)](t):this[e(206)]&&this.player[e(222)](e(208),e(207))}*[ws(205)](){const t=ws;yield 9;const e=new ArrayBuffer(4),s=new Uint8Array(e),i=new Uint32Array(e),r=this[t(206)];for(;;){if(!this[t(224)])return;s[3]=0;const e=yield 15,n=e[4];s[0]=e[7],s[1]=e[6],s[2]=e[5];const a=i[0];s[0]=e[10],s[1]=e[9],s[2]=e[8],s[3]=e[11];let o=i[0];const h=(yield a)[t(202)]();if(!r)return;switch(n){case d[t(226)]:r[t(218)].hasAudio&&(r._updateStats({abps:h.byteLength}),h.byteLength>0&&this._doDecode(h,l[t(226)],o));break;case d[t(196)]:if(r[t(218)][t(215)]){let e=o;r[t(232)]({vbps:h[t(230)],dts:e});const s=h[0]>>4&15;h[0];t(211);const n=h[1];let a=s===D[t(204)];a&&this.calcIframeIntervalTimestamp(o);const c=s===D[t(204)]&&n===B[t(195)],u=s===D.keyFrame&&n===B[t(210)]||s===D[t(212)]&&n===B[t(210)];if(c||u)if(h.byteLength>0){i[0]=h[4],i[1]=h[3],i[2]=h[2],i[3]=0;let e=i[0],s=h;this._doDecode(s,l[t(196)],o,a,e)}else this[t(206)][t(214)](t(208),"payload.byteLength is "+h[t(230)]+t(217));else this[t(206)][t(214)](t(208),t(223)+s+t(220)+n+t(229))}break;case d.scriptData:break;default:r[t(214)](t(208),t(225)+n)}}}[ws(198)](){this.input=null}}const Ts=ks;function Es(){const t=["317dBXZui","init","dv byteLength is","6160nxaNth","byteLength","_updateStats","getUint8","724wHTpBc","hasAudio","video","M7sDemux","dispatch","_opt","destroy","1419JudNdT","423NyEGHX","2593360IHnoPd","584872WOqJuG","hasVideo","10649606YNbAbF","player","calcIframeIntervalTimestamp","debugWarn","4390CWPUvg","2946aFQkIV","_doDecode","464GTofxT"];return(Es=function(){return t})()}function ks(t,e){const s=Es();return(ks=function(t,e){return s[t-=143]})(t,e)}!function(t,e){const s=ks,i=t();for(;;)try{if(222794===parseInt(s(151))/1*(-parseInt(s(150))/2)+-parseInt(s(165))/3*(-parseInt(s(158))/4)+parseInt(s(147))/5*(-parseInt(s(148))/6)+-parseInt(s(167))/7+parseInt(s(168))/8+-parseInt(s(166))/9*(parseInt(s(154))/10)+parseInt(s(143))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Es);class xs extends ds{constructor(t){const e=ks;super(t),t.debugLog("M7sDemux",e(152))}[Ts(164)](){const t=Ts;super.destroy(),this[t(144)].debugLog("M7sDemux",t(164))}[Ts(162)](t){const e=Ts,s=this[e(144)],i=new DataView(t),r=i[e(157)](0),n=i.getUint32(1,!1);switch(r){case l.audio:if(s[e(163)][e(159)]){const i=new Uint8Array(t,5);s[e(156)]({abps:i[e(155)]}),i.byteLength>0&&this[e(149)](i,r,n)}break;case l[e(160)]:if(s[e(163)][e(169)])if(i.byteLength>5){const a=new Uint8Array(t,5),o=i[e(157)](5)>>4==1;let h=n;s[e(156)]({vbps:a[e(155)],dts:h}),a[e(155)]>0&&(o&&this[e(145)](n),this._doDecode(a,r,n,o))}else this.player[e(146)](e(161),e(162),e(153),i[e(155)])}}}var Us=Ds;function Ls(){var t=["11830mJKtcg","5VEWjXL","11utxffr","19961304IpjmDJ","destroy","5796640QpZSkI","88bBPJia","WebTransportDemux","init","5007352SAsDyT","744573aXvrja","1001232vzJmNg","8YtomHD","12ZXlIeY","7145040fLqLjd","debugLog"];return(Ls=function(){return t})()}function Ds(t,e){var s=Ls();return(Ds=function(t,e){return s[t-=135]})(t,e)}!function(t,e){for(var s=Ds,i=t();;)try{if(721079===-parseInt(s(150))/1*(parseInt(s(140))/2)+-parseInt(s(144))/3*(-parseInt(s(147))/4)+-parseInt(s(135))/5*(parseInt(s(148))/6)+parseInt(s(143))/7+parseInt(s(146))/8*(-parseInt(s(145))/9)+-parseInt(s(139))/10+-parseInt(s(136))/11*(-parseInt(s(137))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ls);class Bs extends As{constructor(t){var e=Ds;super(t),t.debugLog("WebTransportDemux",e(142))}[Us(138)](){var t=Us;this.player[t(149)](t(141),"destroy"),super[t(138)]()}}const Cs=Ps;function Rs(){const t=["addNaluToBuffer","push","localDts","destroy","9ABAqLK","getNaluAudioDts"," <= 4","handleVideoH265NaluList","forEach","vps","tempNaluBufferList","3897113SFGipi","handleVideoH264NaluList isSendSeqHeader is false","extractH264PPS","subarray","2624888iBpXxw","6BKNLcq"," this.streamVideoType is null","ALAW","246qqVDIR","player","handleAddNaluStartCode","handleNALu nalu byteLength is ","extractH265PPS","handleAudioAACNalu","naluList.length === 0","extractH265SEI","2839016WCaojP","getInputByteLength","localAudioDts","debugLog","streamVideoType","handleAudioG711ANalu","handleVideoH264Nalu","reduce","isSendAACSeqHeader","_updateStats","handleNALu","278780ZeSELJ","NakedFlowDemux","byteLength","set","handleVideoH265Nalu","46205hYhckA","h265 naluList.length === 0","_doDecode","extractNALu","handleVideoNalu","slice","streamAudioType","audio","video","pps","extractH264SEI","debugWarn","dispatch","24720eewUTb","_preDoDecode","lastBuf","isSendSeqHeader","h265","length","getNaluDts","MULAW","extractNALu$2","AAC","1308GJlvxX","2344aPAjcs","TAG_NAME","_opt","h264","sps","handleVideoH264NaluList","handleVideoH264Nalu is avc seq head nalType is "];return(Rs=function(){return t})()}function Ps(t,e){const s=Rs();return(Ps=function(t,e){return s[t-=300]})(t,e)}!function(t,e){const s=Ps,i=t();for(;;)try{if(193359===-parseInt(s(359))/1*(-parseInt(s(332))/2)+-parseInt(s(308))/3*(-parseInt(s(309))/4)+parseInt(s(372))/5*(parseInt(s(335))/6)+-parseInt(s(331))/7+-parseInt(s(343))/8+-parseInt(s(320))/9*(parseInt(s(354))/10)+parseInt(s(327))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rs);class Ms extends ds{[Cs(310)]=Cs(355);constructor(t){const e=Cs;super(t),this[e(300)]=null,this[e(325)]=null,this[e(313)]=null,this[e(368)]=null,this[e(347)]=null,this[e(365)]=null,this[e(326)]=new Uint8Array(0),this[e(318)]=0,this[e(301)]=!1,this[e(351)]=!1,t[e(346)](this.TAG_NAME,"init")}destroy(){const t=Cs;super.destroy(),this.lastBuf=null,this[t(325)]=null,this[t(313)]=null,this.pps=null,this.streamVideoType=null,this.streamAudioType=null,this[t(326)]=new Uint8Array(0),this.localDts=0,this[t(345)]=0,this[t(301)]=!1,this[t(351)]=!1,this[t(336)][t(346)](this.TAG_NAME,t(319))}[Cs(371)](t){const e=Cs;this[e(336)];const s=new Uint8Array(t);this[e(306)](s)}[Cs(316)](t){const e=Cs,s=t[e(356)]+this[e(326)].byteLength,i=new Uint8Array(s);i[e(357)](this[e(326)],0),i[e(357)](t,this[e(326)].byteLength),this[e(326)]=i}[Cs(304)](){const t=Cs,e=this[t(336)][t(311)].nakedFlowFps;return this.localDts=this[t(318)]+parseInt(1e3/e),this[t(318)]}getNaluAudioDts(){return this[Cs(318)]+parseInt(1024/48e3*1e3)}[Cs(362)](t){const e=Cs;let s,i,r=0,n=t.byteLength,a=0,o=[];for(;r<n;)switch(s=t[r++],a){case 0:0===s&&(a=1);break;case 1:a=0===s?2:0;break;case 2:case 3:0===s?a=3:1===s&&r<n?(t[r],i&&o[e(317)](t.subarray(i,r-a-1)),i=r,a=0):a=0}return i&&o[e(317)](t.subarray(i,n)),o}[Cs(306)](t){const e=Cs;let s=null;if(!t||t[e(356)]<1)return;this.lastBuf?(s=new Uint8Array(t[e(356)]+this.lastBuf[e(303)]),s[e(357)](this.lastBuf),s[e(357)](new Uint8Array(t),this.lastBuf.length)):s=new Uint8Array(t);let i=0,r=-1,n=-2;const a=new Array;for(let t=0;t<s[e(303)];t+=2){const i=s[t],o=s[t+1];0==r&&0==i&&0==o?a[e(317)](t-1):1==o&&0==i&&0==r&&0==n&&a.push(t-2),n=i,r=o}if(a.length>1)for(let t=0;t<a[e(303)]-1;++t){const r=s[e(330)](a[t],a[t+1]+1);this[e(353)](r),i=a[t+1]}else i=a[0];if(0!=i&&i<s[e(303)])this[e(300)]=s[e(330)](i);else{!this[e(300)]&&(this[e(300)]=s);const i=new Uint8Array(this[e(300)][e(303)]+t[e(356)]);i.set(this.lastBuf),i[e(357)](new Uint8Array(t),this.lastBuf[e(303)]),this[e(300)]=i}}handleNALu(t){const e=Cs;t[e(356)]<4?this[e(336)][e(370)](this.TAG_NAME,e(338)+t[e(356)]+e(322)):(t=t[e(364)](4),this[e(363)](t))}[Cs(363)](t){const e=Cs,s=new Uint8Array(t);if(!this[e(347)]&&(this[e(347)]=function(t){const e=J;let s=null,i=31&t[0];return(i===T[e(599)]||i===T.pps)&&(s=b.h264),!s&&(i=(126&t[0])>>1,(i===E.vps||i===E[e(599)]||i===E[e(698)])&&(s=b[e(667)])),s}(s)),this.streamVideoType===b[e(312)]){const t=this[e(337)](s),i=this[e(362)](t);if(0===i.length)return void this[e(336)][e(370)](this[e(310)],"handleVideoNalu",e(341));const r=[];if(i[e(324)]((t=>{const s=e,i=pe(t);i===T[s(368)]||i===T[s(313)]?this[s(349)](t):ge(i)&&r[s(317)](t)})),1===r[e(303)])this.handleVideoH264Nalu(r[0]);else{if(function(t){const e=_e;if(0===t.length)return!1;const s=pe(t[0]);for(let i=1;i<t[e(228)];i++)if(s!==pe(t[i]))return!1;return!0}(r)){const t=pe(r[0]),s=ye(t);this[e(314)](r,s,t)}else r[e(324)]((t=>{this[e(349)](t)}))}}else if(this[e(347)]===b[e(302)]){const t=this[e(337)](s),i=this.extractNALu(t);if(0===i[e(303)])return void this[e(336)].debugWarn(this[e(310)],e(363),e(360));const r=[];if(i[e(324)]((t=>{const s=e,i=Fe(t);i===E.pps||i===E.sps||i===E.vps?this.handleVideoH265Nalu(t):Ne(i)&&r[s(317)](t)})),1===r.length)this[e(358)](r[0]);else{if(function(t){if(0===t.length)return!1;const e=Fe(t[0]);for(let s=1;s<t.length;s++)if(e!==Fe(t[s]))return!1;return!0}(r)){const t=Fe(r[0]),s=Oe(t);this[e(323)](r,s,t)}else r[e(324)]((t=>{this[e(358)](t)}))}}else this[e(336)].debugError(this.TAG_NAME,e(333))}[Cs(329)](t){const e=Cs,s=this[e(337)](t);this.extractNALu(s)[e(324)]((t=>{const s=e;me(pe(t))?this[s(369)](t):this[s(349)](t)}))}[Cs(339)](t){const e=Cs,s=this[e(337)](t);this.extractNALu(s)[e(324)]((t=>{const s=e,i=Fe(t);i===E[Pe(197)]?this.extractH265SEI(t):this[s(358)](t)}))}[Cs(369)](t){const e=Cs,s=this[e(337)](t);this[e(362)](s)[e(324)]((t=>{this[e(349)](t)}))}[Cs(342)](t){const e=Cs,s=this.handleAddNaluStartCode(t);this[e(362)](s).forEach((t=>{this.handleVideoH265Nalu(t)}))}[Cs(337)](t){const e=Cs,s=[0,0,0,1],i=new Uint8Array(t[e(303)]+s.length);return i[e(357)](s),i[e(357)](t,s[e(303)]),i}[Cs(340)](t){const e=Cs;if(!t||t[e(356)]<1)return;!this[e(365)]&&(this[e(365)]=w[e(307)]);let s=new Uint8Array(t);const i=s[e(364)](0,7);if(s=s.slice(7),!this.isSendAACSeqHeader){const t=(192&i[2])>>6,s=(60&i[2])>>2,r=(1&i[2])<<2|(192&i[3])>>6,n=new Uint8Array([175,0,t<<3|(14&s)>>1,(1&s)<<7|r<<3]);this[e(351)]=!0,this[e(361)](n,l.audio,0,!1,0)}const r=this[e(321)](),n=new Uint8Array(s[e(303)]+2);n.set([175,1],0),n[e(357)](s,2),this[e(361)](n,l[e(366)],r,!1,0)}[Cs(348)](t){const e=Cs;if(!t||t[e(356)]<1)return;!this[e(365)]&&(this[e(365)]=w[e(334)]);let s=new Uint8Array(t);const i=this[e(321)](),r=new Uint8Array(s[e(303)]+1);r[e(357)]([114],0),r[e(357)](s,1),this[e(361)](r,l[e(366)],i,!1,0)}handleAudioG711UNalu(t){const e=Cs;if(!t||t[e(356)]<1)return;!this[e(365)]&&(this[e(365)]=w[e(305)]);let s=new Uint8Array(t);const i=this[e(321)](),r=new Uint8Array(s.length+1);r.set([130],0),r[e(357)](s,1),this[e(361)](r,l[e(366)],i,!1,0)}[Cs(349)](t){const e=Cs,s=pe(t);switch(s){case T[e(313)]:this[e(313)]=t;break;case T[e(368)]:this.pps=t}if(this[e(301)]){if(this[e(313)]&&this[e(368)]){const t=le({sps:this.sps,pps:this.pps}),s=this[e(304)]();this[e(361)](t,l.video,s,!0,0),this[e(313)]=null,this.pps=null}if(ge(s)){const i=ye(s),r=this.getNaluDts(),n=function(t,e){const s=_e;let i=[];i[0]=e?23:39,i[1]=1,i[2]=0,i[3]=0,i[4]=0,i[5]=t[s(241)]>>24&255,i[6]=t[s(241)]>>16&255,i[7]=t[s(241)]>>8&255,i[8]=255&t[s(241)];const r=new Uint8Array(i[s(228)]+t[s(241)]);return r[s(199)](i,0),r.set(t,i[s(228)]),r}(t,i);this[e(373)](n,l[e(367)],r,i,0)}else this[e(336)][e(370)](this[e(310)],e(315)+s)}else if(this[e(313)]&&this[e(368)]){this[e(301)]=!0;const t=le({sps:this[e(313)],pps:this[e(368)]});this[e(361)](t,l[e(367)],0,!0,0),this[e(313)]=null,this[e(368)]=null}}[Cs(314)](t,e,s){const i=Cs;if(this[i(301)]){const s=this[i(304)](),r=fe(t[i(350)](((t,e)=>{const s=i,r=De(t),n=De(e),a=new Uint8Array(r.byteLength+n[s(356)]);return a.set(r,0),a[s(357)](n,r.byteLength),a})),e);this[i(373)](r,l.video,s,e,0)}else this[i(336)][i(370)](this[i(310)],i(328))}[Cs(358)](t){const e=Cs,s=Fe(t);switch(s){case E.vps:this[e(325)]=t;break;case E.sps:this[e(313)]=t;break;case E[e(368)]:this[e(368)]=t}if(this.isSendSeqHeader){if(this[e(325)]&&this[e(313)]&&this[e(368)]){const t=Re({vps:this.vps,sps:this[e(313)],pps:this.pps}),s=this[e(304)]();this[e(361)](t,l[e(367)],s,!0,0),this.vps=null,this[e(313)]=null,this.pps=null}if(Ne(s)){const i=Oe(s),r=this[e(304)](),n=function(t,e){const s=Pe;let i=[];i[0]=e?28:44,i[1]=1,i[2]=0,i[3]=0,i[4]=0,i[5]=t[s(210)]>>24&255,i[6]=t[s(210)]>>16&255,i[7]=t[s(210)]>>8&255,i[8]=255&t[s(210)];const r=new Uint8Array(i[s(165)]+t.byteLength);return r[s(234)](i,0),r.set(t,i[s(165)]),r}(t,i);this[e(373)](n,l[e(367)],r,i,0)}}else if(this[e(325)]&&this.sps&&this[e(368)]){this[e(301)]=!0;const t=Re({vps:this.vps,sps:this[e(313)],pps:this[e(368)]});this[e(361)](t,l[e(367)],0,!0,0),this[e(325)]=null,this[e(313)]=null,this[e(368)]=null}}[Cs(323)](t,e,s){const i=Cs;if(this[i(301)]){const s=this.getNaluDts(),r=Me(t[i(350)](((t,e)=>{const s=i,r=De(t),n=De(e),a=new Uint8Array(r[s(356)]+n[s(356)]);return a[s(357)](r,0),a.set(n,r.byteLength),a})),e);this._preDoDecode(r,l[i(367)],s,e,0)}else this[i(336)][i(370)](this[i(310)],"handleVideoH265NaluList isSendSeqHeader is false")}_preDoDecode(t,e,s,i,r){const n=Cs;this.player[n(352)]({vbps:t[n(356)],dts:s}),i&&this.calcIframeIntervalTimestamp(s),this[n(361)](t,l[n(367)],s,i,r)}[Cs(344)](){const t=Cs;let e=0;return this[t(300)]&&(e=this[t(300)][t(356)]),e}}var Fs=Ns;function Ns(t,e){var s=Os();return(Ns=function(t,e){return s[t-=487]})(t,e)}function Os(){var t=["2264Nbhufl","EmptyDemux","171910NSTNii","223644zfDIWO","34388umgJTI","destroy","3490YctUca","224KNbNRj","1011pWBZOb","704xtFDxU","4518VOmoRQ","2882944bJqvbh","debugLog","15KBBENf","player","66558olEPtZ","init"];return(Os=function(){return t})()}!function(t,e){for(var s=Ns,i=t();;)try{if(238352===parseInt(s(495))/1*(-parseInt(s(503))/2)+parseInt(s(490))/3*(-parseInt(s(499))/4)+parseInt(s(501))/5+parseInt(s(497))/6*(-parseInt(s(489))/7)+-parseInt(s(493))/8+-parseInt(s(492))/9*(-parseInt(s(488))/10)+parseInt(s(491))/11*(parseInt(s(502))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Os);class zs extends ds{constructor(t){var e=Ns;super(t),this.player=t,t[e(494)]("EmptyDemux",e(498))}[Fs(487)](){var t=Fs;super[t(487)](),this[t(496)][t(494)](t(500),t(487))}}var Gs=Ws;!function(t,e){for(var s=Ws,i=t();;)try{if(967198===parseInt(s(1107))/1+parseInt(s(1045))/2+-parseInt(s(728))/3+-parseInt(s(1614))/4+parseInt(s(1519))/5+parseInt(s(1266))/6+-parseInt(s(1601))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vs);var Hs=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t,e){var s,i,r=Ws,n=(s=new Date,i=4,{setLogLevel:function(t){var e=Ws;i=t==this[e(1466)]?1:t==this[e(1385)]?2:t==this[e(1608)]?3:(this[e(1243)],4)},debug:function(t,e){var r=Ws;void 0===console[r(1466)]&&(console.debug=console[r(1384)]),1>=i&&console[r(1466)]("["+n[r(827)](new Date-s,1e3)+"]","["+t+"]",e)},log:function(t,e){var s=Ws;this[s(1466)](t[s(787)])},info:function(t,e){var r=Ws;2>=i&&console[r(1385)]("["+n[r(827)](new Date-s,1e3)+"]","["+t+"]",e)},warn:function(t,e){var r=Ws;3>=i&&console[r(1608)]("["+n[r(827)](new Date-s,1e3)+"]","["+t+"]",e)},error:function(t,e){var r=Ws;4>=i&&console.error("["+n[r(827)](new Date-s,1e3)+"]","["+t+"]",e)}});n[r(827)]=function(t,e){var s,i=r;function n(t,e){for(var s=Ws,i=(""+t)[s(475)](".");i[0][s(1235)]<e;)i[0]="0"+i[0];return i[s(630)](".")}t<0?(s=!0,t=-t):s=!1;var a=t/(e||1),o=Math[i(1621)](a/3600);a-=3600*o;var h=Math.floor(a/60),c=1e3*(a-=60*h);return c-=1e3*(a=Math[i(1621)](a)),c=Math[i(1621)](c),(s?"-":"")+o+":"+n(h,2)+":"+n(a,2)+"."+n(c,3)},n[r(548)]=function(t){var e=r,s=t[e(1235)];if(s>0){for(var i="",a=0;a<s;a++)a>0&&(i+=","),i+="["+n.getDurationString(t[e(988)](a))+","+n[e(827)](t.end(a))+"]";return i}return"(empty)"},r(1372)!==r(1083)&&(e[r(1267)]=n);var a=function(t){var e=r;if(!(t instanceof ArrayBuffer))throw e(581);this[e(913)]=t,this[e(1502)]=new DataView(t),this[e(1417)]=0};a[r(976)][r(1090)]=function(){return this[r(1417)]},a.prototype[r(896)]=function(){var t=r;return this[t(913)][t(1352)]},a[r(976)].getLength=function(){var t=r;return this.buffer[t(1352)]},a[r(976)][r(1e3)]=function(t){var e=r,s=Math[e(1312)](0,Math[e(1130)](this[e(913)].byteLength,t));return this[e(1417)]=isNaN(s)||!isFinite(s)?0:s,!0},a[r(976)][r(1586)]=function(){var t=r;return this[t(1090)]()>=this[t(896)]()},a[r(976)][r(1355)]=function(t,e){var s=r,i=0;if(this.position+t<=this.buffer[s(1352)]){switch(t){case 1:i=e?this[s(1502)][s(487)](this[s(1417)]):this[s(1502)][s(1125)](this[s(1417)]);break;case 2:i=e?this[s(1502)].getInt16(this[s(1417)]):this[s(1502)].getUint16(this.position);break;case 3:if(e)throw s(944);i=this[s(1502)][s(1125)](this[s(1417)])<<16,i|=this.dataview[s(1125)](this.position+1)<<8,i|=this.dataview[s(1125)](this[s(1417)]+2);break;case 4:i=e?this[s(1502)][s(1092)](this[s(1417)]):this[s(1502)][s(1032)](this[s(1417)]);break;case 8:if(e)throw"No method for reading signed 64 bits values";i=this[s(1502)][s(1032)](this[s(1417)])<<32,i|=this[s(1502)][s(1032)](this[s(1417)]+4);break;default:throw"readInt method not implemented for size: "+t}return this[s(1417)]+=t,i}throw s(1260)},a.prototype[r(522)]=function(){return this.readAnyInt(1,!1)},a[r(976)][r(1592)]=function(){return this[r(1355)](2,!1)},a[r(976)].readUint24=function(){return this[r(1355)](3,!1)},a[r(976)].readUint32=function(){return this.readAnyInt(4,!1)},a[r(976)][r(1642)]=function(){return this[r(1355)](8,!1)},a.prototype[r(1120)]=function(t){var e=r;if(this[e(1417)]+t<=this[e(913)][e(1352)]){for(var s="",i=0;i<t;i++)s+=String[e(675)](this[e(522)]());return s}throw"Not enough bytes in buffer"},a.prototype[r(797)]=function(){for(var t=r,e=[];;){var s=this[t(522)]();if(0===s)break;e[t(1386)](s)}return String.fromCharCode[t(1405)](null,e)},a[r(976)].readInt8=function(){return this[r(1355)](1,!0)},a[r(976)].readInt16=function(){return this[r(1355)](2,!0)},a[r(976)][r(1626)]=function(){return this[r(1355)](4,!0)},a.prototype[r(695)]=function(){return this[r(1355)](8,!1)},a[r(976)][r(864)]=function(t){for(var e=r,s=new Uint8Array(t),i=0;i<t;i++)s[i]=this[e(522)]();return s},a[r(976)][r(973)]=function(t){for(var e=new Int16Array(t),s=0;s<t;s++)e[s]=this.readInt16();return e},a[r(976)].readUint16Array=function(t){for(var e=r,s=new Int16Array(t),i=0;i<t;i++)s[i]=this[e(1592)]();return s},a[r(976)].readUint32Array=function(t){for(var e=r,s=new Uint32Array(t),i=0;i<t;i++)s[i]=this[e(1600)]();return s},a[r(976)].readInt32Array=function(t){for(var e=r,s=new Int32Array(t),i=0;i<t;i++)s[i]=this[e(1626)]();return s},"undefined"!==r(1372)&&(e[r(1132)]=a);var o=function(t,e,s){var i=r;this[i(1440)]=e||0,t instanceof ArrayBuffer?this[i(913)]=t:typeof t==i(1372)?(this.dataView=t,e&&(this[i(1440)]+=e)):this[i(913)]=new ArrayBuffer(t||0),this[i(1417)]=0,this.endianness=null==s?o[i(1111)]:s};o[r(976)]={},o[r(976)][r(1090)]=function(){return this[r(1417)]},o[r(976)][r(1573)]=function(t){var e=r;if(this[e(542)]){var s=this[e(1440)]+this[e(1417)]+t,i=this[e(1316)][e(1352)];if(s<=i)s>this[e(1009)]&&(this[e(1009)]=s);else{for(i<1&&(i=1);s>i;)i*=2;var n=new ArrayBuffer(i),a=new Uint8Array(this[e(1316)]);new Uint8Array(n,0,a[e(1235)])[e(1619)](a),this[e(913)]=n,this[e(1009)]=s}}},o[r(976)][r(891)]=function(){var t=r;if(this[t(1009)]!=this[t(1316)][t(1352)]){var e=new ArrayBuffer(this[t(1009)]),s=new Uint8Array(e),i=new Uint8Array(this[t(1316)],0,s[t(1235)]);s.set(i),this.buffer=e}},o.BIG_ENDIAN=!1,o[r(1111)]=!0,o.prototype[r(1009)]=0,Object[r(1418)](o[r(976)],r(1352),{get:function(){var t=r;return this[t(1009)]-this[t(1440)]}}),Object[r(1418)](o[r(976)],"buffer",{get:function(){var t=r;return this._trimAlloc(),this[t(1316)]},set:function(t){var e=r;this._buffer=t,this[e(623)]=new DataView(this._buffer,this._byteOffset),this[e(1009)]=this._buffer[e(1352)]}}),Object[r(1418)](o[r(976)],r(1034),{get:function(){return this[r(1440)]},set:function(t){var e=r;this[e(1440)]=t,this[e(623)]=new DataView(this._buffer,this[e(1440)]),this[e(1009)]=this[e(1316)][e(1352)]}}),Object.defineProperty(o[r(976)],r(1512),{get:function(){return this[r(623)]},set:function(t){var e=r;this._byteOffset=t[e(1034)],this[e(1316)]=t[e(913)],this[e(623)]=new DataView(this._buffer,this[e(1440)]),this[e(1009)]=this._byteOffset+t[e(1352)]}}),o[r(976)][r(1e3)]=function(t){var e=r,s=Math[e(1312)](0,Math[e(1130)](this.byteLength,t));this[e(1417)]=isNaN(s)||!isFinite(s)?0:s},o[r(976)].isEof=function(){var t=r;return this[t(1417)]>=this[t(1009)]},o[r(976)][r(1496)]=function(t){var e=r;this[e(1573)](1*t);var s=new Uint8Array(this[e(1316)],this.byteOffset+this[e(1417)],t);return this[e(1417)]+=1*t,s},o[r(976)][r(1162)]=function(t,e){var s=r;t=null==t?this[s(1352)]-this[s(1417)]/4:t;var i=new Int32Array(t);return o[s(1154)](i.buffer,0,this.buffer,this[s(1034)]+this[s(1417)],t*i.BYTES_PER_ELEMENT),o[s(1129)](i,null==e?this[s(483)]:e),this[s(1417)]+=i[s(1352)],i},o[r(976)].readInt16Array=function(t,e){var s=r;t=null==t?this[s(1352)]-this[s(1417)]/2:t;var i=new Int16Array(t);return o[s(1154)](i[s(913)],0,this.buffer,this[s(1034)]+this[s(1417)],t*i[s(1609)]),o[s(1129)](i,null==e?this[s(483)]:e),this.position+=i[s(1352)],i},o[r(976)][r(1167)]=function(t){var e=r;t=null==t?this[e(1352)]-this.position:t;var s=new Int8Array(t);return o[e(1154)](s[e(913)],0,this.buffer,this[e(1034)]+this.position,t*s[e(1609)]),this.position+=s.byteLength,s},o[r(976)][r(530)]=function(t,e){var s=r;t=null==t?this.byteLength-this[s(1417)]/4:t;var i=new Uint32Array(t);return o.memcpy(i[s(913)],0,this[s(913)],this[s(1034)]+this.position,t*i[s(1609)]),o.arrayToNative(i,null==e?this[s(483)]:e),this[s(1417)]+=i.byteLength,i},o[r(976)].readUint16Array=function(t,e){var s=r;t=null==t?this.byteLength-this.position/2:t;var i=new Uint16Array(t);return o[s(1154)](i[s(913)],0,this[s(913)],this[s(1034)]+this[s(1417)],t*i[s(1609)]),o[s(1129)](i,null==e?this[s(483)]:e),this[s(1417)]+=i[s(1352)],i},o[r(976)][r(864)]=function(t){var e=r;t=null==t?this.byteLength-this.position:t;var s=new Uint8Array(t);return o[e(1154)](s[e(913)],0,this[e(913)],this[e(1034)]+this[e(1417)],t*s[e(1609)]),this[e(1417)]+=s[e(1352)],s},o[r(976)][r(1226)]=function(t,e){var s=r;t=null==t?this[s(1352)]-this.position/8:t;var i=new Float64Array(t);return o[s(1154)](i[s(913)],0,this[s(913)],this[s(1034)]+this[s(1417)],t*i.BYTES_PER_ELEMENT),o.arrayToNative(i,null==e?this.endianness:e),this[s(1417)]+=i[s(1352)],i},o[r(976)][r(1080)]=function(t,e){var s=r;t=null==t?this.byteLength-this[s(1417)]/4:t;var i=new Float32Array(t);return o[s(1154)](i[s(913)],0,this[s(913)],this[s(1034)]+this[s(1417)],t*i[s(1609)]),o[s(1129)](i,null==e?this[s(483)]:e),this[s(1417)]+=i.byteLength,i},o[r(976)][r(1626)]=function(t){var e=r,s=this[e(623)][e(1092)](this.position,null==t?this[e(483)]:t);return this[e(1417)]+=4,s},o[r(976)][r(1264)]=function(t){var e=r,s=this[e(623)][e(1007)](this[e(1417)],null==t?this.endianness:t);return this[e(1417)]+=2,s},o.prototype[r(954)]=function(){var t=r,e=this._dataView[t(487)](this[t(1417)]);return this[t(1417)]+=1,e},o[r(976)].readUint32=function(t){var e=r,s=this[e(623)][e(1032)](this[e(1417)],null==t?this.endianness:t);return this[e(1417)]+=4,s},o[r(976)][r(1592)]=function(t){var e=r,s=this[e(623)][e(1638)](this[e(1417)],null==t?this[e(483)]:t);return this[e(1417)]+=2,s},o.prototype[r(522)]=function(){var t=r,e=this[t(623)][t(1125)](this[t(1417)]);return this[t(1417)]+=1,e},o[r(976)].readFloat32=function(t){var e=r,s=this._dataView[e(1412)](this[e(1417)],null==t?this[e(483)]:t);return this.position+=4,s},o[r(976)][r(1122)]=function(t){var e=r,s=this._dataView.getFloat64(this.position,null==t?this[e(483)]:t);return this[e(1417)]+=8,s},o[r(483)]=new Int8Array(new Int16Array([1])[r(913)])[0]>0,o[r(1154)]=function(t,e,s,i,n){var a=r,o=new Uint8Array(t,e,n),h=new Uint8Array(s,i,n);o[a(1619)](h)},o[r(1129)]=function(t,e){var s=r;return e==this.endianness?t:this[s(1615)](t)},o[r(1494)]=function(t,e){var s=r;return this.endianness==e?t:this[s(1615)](t)},o.flipArrayEndianness=function(t){for(var e=r,s=new Uint8Array(t[e(913)],t.byteOffset,t[e(1352)]),i=0;i<t[e(1352)];i+=t[e(1609)])for(var n=i+t[e(1609)]-1,a=i;n>a;n--,a++){var o=s[a];s[a]=s[n],s[n]=o}return t},o.prototype.failurePosition=0,String[r(1579)]=function(t){for(var e=r,s=[],i=0;i<t.length;i++)s[i]=t[i];return String[e(675)][e(1405)](null,s)},o[r(976)][r(1120)]=function(t,e){var s=r;return null==e||e==s(512)?String[s(1579)][s(1405)](null,[this.mapUint8Array(null==t?this[s(1352)]-this[s(1417)]:t)]):new TextDecoder(e)[s(1253)](this[s(1496)](t))},o[r(976)][r(797)]=function(t){var e=r,s=this[e(1352)]-this[e(1417)],i=new Uint8Array(this[e(1316)],this[e(1440)]+this[e(1417)]),n=s;null!=t&&(n=Math.min(t,s));for(var a=0;a<n&&0!==i[a];a++);var o=String[e(1579)][e(1405)](null,[this[e(1496)](a)]);return null!=t?this[e(1417)]+=n-a:a!=s&&(this[e(1417)]+=1),o};var h=Math[r(1303)](2,32);o[r(976)][r(695)]=function(){var t=r;return this.readInt32()*h+this[t(1600)]()},o[r(976)][r(1642)]=function(){return this[r(1600)]()*h+this.readUint32()},o.prototype.readInt64=function(){return this[r(1600)]()*h+this.readUint32()},o[r(976)][r(1467)]=function(){var t=r;return(this[t(522)]()<<16)+(this[t(522)]()<<8)+this[t(522)]()},r(1372)!==r(1083)&&(e[r(1197)]=o),o[r(976)][r(1406)]=function(t){var e=r,s=new Blob([this[e(913)]]);if(!window.URL||!URL[e(1295)])throw e(1560);var i=window.URL[e(1295)](s),n=document.createElement("a");document[e(523)][e(970)](n),n[e(549)](e(839),i),n.setAttribute("download",t),n.setAttribute(e(1362),"_self"),n.click(),window[e(867)][e(1336)](i)},o[r(976)][r(542)]=!0,Object.defineProperty(o.prototype,r(1380),{get:function(){return this[r(542)]},set:function(t){var e=r;!t&&this._trimAlloc(),this[e(542)]=t}}),o.prototype.shift=function(t){var e=r,s=new ArrayBuffer(this[e(1009)]-t),i=new Uint8Array(s),n=new Uint8Array(this[e(1316)],t,i.length);i[e(1619)](n),this[e(913)]=s,this[e(1417)]-=t},o[r(976)][r(469)]=function(t,e){var s=r;if(this[s(1573)](4*t[s(1235)]),t instanceof Int32Array&&this[s(1034)]+this[s(1417)]%t.BYTES_PER_ELEMENT===0)o.memcpy(this[s(1316)],this[s(1034)]+this.position,t.buffer,0,t[s(1352)]),this[s(748)](t[s(1235)],e);else for(var i=0;i<t[s(1235)];i++)this[s(1493)](t[i],e)},o.prototype[r(1551)]=function(t,e){var s=r;if(this[s(1573)](2*t[s(1235)]),t instanceof Int16Array&&this[s(1034)]+this[s(1417)]%t[s(1609)]===0)o.memcpy(this._buffer,this[s(1034)]+this[s(1417)],t[s(913)],0,t[s(1352)]),this[s(1168)](t[s(1235)],e);else for(var i=0;i<t[s(1235)];i++)this.writeInt16(t[i],e)},o[r(976)][r(1366)]=function(t){var e=r;if(this[e(1573)](1*t.length),t instanceof Int8Array&&this.byteOffset+this.position%t[e(1609)]===0)o[e(1154)](this[e(1316)],this[e(1034)]+this.position,t[e(913)],0,t[e(1352)]),this[e(471)](t[e(1235)]);else for(var s=0;s<t[e(1235)];s++)this.writeInt8(t[s])},o[r(976)][r(1137)]=function(t,e){var s=r;if(this[s(1573)](4*t.length),t instanceof Uint32Array&&this.byteOffset+this[s(1417)]%t[s(1609)]===0)o[s(1154)](this[s(1316)],this.byteOffset+this.position,t[s(913)],0,t[s(1352)]),this[s(647)](t[s(1235)],e);else for(var i=0;i<t[s(1235)];i++)this.writeUint32(t[i],e)},o.prototype[r(682)]=function(t,e){var s=r;if(this[s(1573)](2*t[s(1235)]),t instanceof Uint16Array&&this[s(1034)]+this[s(1417)]%t[s(1609)]===0)o.memcpy(this._buffer,this[s(1034)]+this.position,t[s(913)],0,t[s(1352)]),this[s(1042)](t[s(1235)],e);else for(var i=0;i<t.length;i++)this[s(577)](t[i],e)},o.prototype[r(723)]=function(t){var e=r;if(this[e(1573)](1*t[e(1235)]),t instanceof Uint8Array&&this[e(1034)]+this[e(1417)]%t.BYTES_PER_ELEMENT===0)o.memcpy(this[e(1316)],this.byteOffset+this[e(1417)],t[e(913)],0,t[e(1352)]),this.mapUint8Array(t[e(1235)]);else for(var s=0;s<t[e(1235)];s++)this[e(989)](t[s])},o.prototype[r(643)]=function(t,e){var s=r;if(this[s(1573)](8*t.length),t instanceof Float64Array&&this[s(1034)]+this[s(1417)]%t[s(1609)]===0)o[s(1154)](this[s(1316)],this[s(1034)]+this[s(1417)],t[s(913)],0,t[s(1352)]),this[s(691)](t[s(1235)],e);else for(var i=0;i<t[s(1235)];i++)this.writeFloat64(t[i],e)},o.prototype[r(1285)]=function(t,e){var s=r;if(this._realloc(4*t.length),t instanceof Float32Array&&this[s(1034)]+this[s(1417)]%t[s(1609)]===0)o[s(1154)](this[s(1316)],this[s(1034)]+this.position,t[s(913)],0,t.byteLength),this[s(1043)](t[s(1235)],e);else for(var i=0;i<t[s(1235)];i++)this[s(510)](t[i],e)},o.prototype[r(1493)]=function(t,e){var s=r;this[s(1573)](4),this[s(623)][s(1555)](this[s(1417)],t,null==e?this[s(483)]:e),this.position+=4},o[r(976)][r(1516)]=function(t,e){var s=r;this._realloc(2),this._dataView[s(1411)](this[s(1417)],t,null==e?this.endianness:e),this.position+=2},o.prototype.writeInt8=function(t){var e=r;this[e(1573)](1),this._dataView[e(1221)](this[e(1417)],t),this[e(1417)]+=1},o[r(976)][r(1011)]=function(t,e){var s=r;this._realloc(4),this[s(623)].setUint32(this[s(1417)],t,null==e?this[s(483)]:e),this[s(1417)]+=4},o[r(976)][r(577)]=function(t,e){var s=r;this[s(1573)](2),this._dataView[s(1052)](this[s(1417)],t,null==e?this.endianness:e),this.position+=2},o[r(976)].writeUint8=function(t){var e=r;this[e(1573)](1),this[e(623)][e(1058)](this.position,t),this[e(1417)]+=1},o.prototype[r(510)]=function(t,e){var s=r;this[s(1573)](4),this[s(623)].setFloat32(this.position,t,null==e?this[s(483)]:e),this[s(1417)]+=4},o[r(976)].writeFloat64=function(t,e){var s=r;this[s(1573)](8),this[s(623)][s(1076)](this[s(1417)],t,null==e?this[s(483)]:e),this.position+=8},o[r(976)][r(1491)]=function(t,e,s){var i=r;null==s&&(s=t[i(1235)]);for(var n=0;n<t[i(1235)]&&n<s;n++)this.writeUint16(t[i(644)](n),e);for(;n<s;n++)this.writeUint16(0)},o.prototype[r(1509)]=function(t,e,s){var i=r,n=0;if(null==e||e==i(512))if(null!=s){var a=Math[i(1130)](t[i(1235)],s);for(n=0;n<a;n++)this.writeUint8(t[i(644)](n));for(;n<s;n++)this[i(989)](0)}else for(n=0;n<t[i(1235)];n++)this[i(989)](t[i(644)](n));else this[i(723)](new TextEncoder(e)[i(1637)](t[i(589)](0,s)))},o[r(976)][r(885)]=function(t,e){var s=r,i=0;if(null!=e){var n=Math[s(1130)](t[s(1235)],e);for(i=0;i<n;i++)this.writeUint8(t[s(644)](i));for(;i<e;i++)this.writeUint8(0)}else{for(i=0;i<t[s(1235)];i++)this[s(989)](t.charCodeAt(i));this.writeUint8(0)}},o[r(976)][r(754)]=function(t,e){for(var s=r,i=0;i<t[s(1235)];i+=2){var n=t[i+1];this[s(466)](n,e[t[i]],e)}},o[r(976)][r(466)]=function(t,e,s){var i,n=r;if(typeof t==n(684))return t(this,e);if(typeof t==n(1372)&&!(t instanceof Array))return t[n(1619)](this,e,s);var a=null,h=n(512),c=this[n(1417)];switch(typeof t==n(609)&&/:/[n(1189)](t)&&(i=t[n(475)](":"),t=i[0],a=parseInt(i[1])),typeof t==n(609)&&/,/.test(t)&&(i=t.split(","),t=i[0],h=parseInt(i[1])),t){case n(616):this.writeUint8(e);break;case n(539):this[n(1041)](e);break;case n(833):this.writeUint16(e,this[n(483)]);break;case n(599):this.writeInt16(e,this.endianness);break;case n(553):this[n(1011)](e,this[n(483)]);break;case n(537):this[n(1493)](e,this[n(483)]);break;case n(897):this.writeFloat32(e,this[n(483)]);break;case"float64":this[n(763)](e,this[n(483)]);break;case n(1273):this[n(577)](e,o[n(692)]);break;case n(918):this[n(1516)](e,o[n(692)]);break;case"uint32be":this[n(1011)](e,o.BIG_ENDIAN);break;case n(1257):this[n(1493)](e,o[n(692)]);break;case"float32be":this[n(510)](e,o[n(692)]);break;case n(588):this[n(763)](e,o[n(692)]);break;case n(1398):this[n(577)](e,o[n(1111)]);break;case n(1351):this[n(1516)](e,o.LITTLE_ENDIAN);break;case n(1528):this.writeUint32(e,o[n(1111)]);break;case n(1658):this[n(1493)](e,o.LITTLE_ENDIAN);break;case n(1027):this[n(510)](e,o.LITTLE_ENDIAN);break;case"float64le":this[n(763)](e,o.LITTLE_ENDIAN);break;case"cstring":this.writeCString(e,a);break;case n(609):this.writeString(e,h,a);break;case n(1155):this[n(1491)](e,this[n(483)],a);break;case"u16stringle":this.writeUCS2String(e,o[n(1111)],a);break;case n(850):this[n(1491)](e,o.BIG_ENDIAN,a);break;default:if(3==t[n(1235)]){for(var u=t[1],l=0;l<e[n(1235)];l++)this[n(466)](u,e[l]);break}this.writeStruct(t,e)}null!=a&&(this[n(1417)]=c,this[n(1573)](a),this[n(1417)]=c+a)},o[r(976)][r(708)]=function(t){var e=r,s=Math.floor(t/h);this[e(1011)](s),this[e(1011)](4294967295&t)},o[r(976)].writeUint24=function(t){var e=r;this[e(989)]((16711680&t)>>16),this[e(989)]((65280&t)>>8),this[e(989)](255&t)},o[r(976)][r(1397)]=function(t,e){var s=r,i=this[s(1417)];this[s(1e3)](t),this[s(1011)](e),this[s(1e3)](i)},o[r(976)][r(748)]=function(t,e){var s=r;this[s(1573)](4*t);var i=new Int32Array(this[s(1316)],this[s(1034)]+this[s(1417)],t);return o[s(1129)](i,null==e?this.endianness:e),this.position+=4*t,i},o[r(976)][r(1168)]=function(t,e){var s=r;this[s(1573)](2*t);var i=new Int16Array(this[s(1316)],this[s(1034)]+this[s(1417)],t);return o.arrayToNative(i,null==e?this[s(483)]:e),this[s(1417)]+=2*t,i},o[r(976)].mapInt8Array=function(t){var e=r;this[e(1573)](1*t);var s=new Int8Array(this[e(1316)],this.byteOffset+this[e(1417)],t);return this.position+=1*t,s},o.prototype[r(647)]=function(t,e){var s=r;this._realloc(4*t);var i=new Uint32Array(this[s(1316)],this[s(1034)]+this.position,t);return o[s(1129)](i,null==e?this[s(483)]:e),this[s(1417)]+=4*t,i},o.prototype[r(1042)]=function(t,e){var s=r;this[s(1573)](2*t);var i=new Uint16Array(this[s(1316)],this.byteOffset+this[s(1417)],t);return o[s(1129)](i,null==e?this.endianness:e),this[s(1417)]+=2*t,i},o[r(976)][r(691)]=function(t,e){var s=r;this[s(1573)](8*t);var i=new Float64Array(this[s(1316)],this[s(1034)]+this[s(1417)],t);return o.arrayToNative(i,null==e?this[s(483)]:e),this.position+=8*t,i},o[r(976)][r(1043)]=function(t,e){var s=r;this[s(1573)](4*t);var i=new Float32Array(this[s(1316)],this[s(1034)]+this[s(1417)],t);return o[s(1129)](i,null==e?this[s(483)]:e),this[s(1417)]+=4*t,i};var c=function(t){var e=r;this[e(1178)]=[],this[e(1298)]=-1,t&&(this.insertBuffer(t),this[e(1298)]=0)};(c.prototype=new o(new ArrayBuffer,0,o[r(692)]))[r(809)]=function(){var t,e=r;return this[e(1298)]>-1||(this[e(1178)][e(1235)]>0?0===(t=this[e(1178)][0])[e(504)]?(this[e(913)]=t,this[e(1298)]=0,n[e(1466)](e(816),"Stream ready for parsing"),!0):(n[e(1608)](e(816),e(829)),this.logBufferLevel(),!1):(n.warn(e(816),e(753)),this[e(1230)](),!1))},ArrayBuffer.concat=function(t,e){var s=r;n[s(1466)](s(1275),s(866)+(t[s(1352)]+e[s(1352)]));var i=new Uint8Array(t[s(1352)]+e.byteLength);return i[s(1619)](new Uint8Array(t),0),i[s(1619)](new Uint8Array(e),t[s(1352)]),i.buffer},c[r(976)][r(1414)]=function(t,e,s){var i,n=r;return(i=new Uint8Array(s)).set(new Uint8Array(t,e,s)),i[n(913)][n(504)]=t.fileStart+e,i[n(913)][n(485)]=0,i[n(913)]},c.prototype[r(1443)]=function(t){for(var e=r,s=!0,i=0;i<this.buffers[e(1235)];i++){var a=this[e(1178)][i];if(t.fileStart<=a[e(504)]){if(t[e(504)]===a.fileStart){if(t[e(1352)]>a.byteLength){this[e(1178)].splice(i,1),i--;continue}n[e(1608)](e(816),e(536)+t[e(504)]+" - Length: "+t[e(1352)]+e(1127))}else t[e(504)]+t[e(1352)]<=a[e(504)]||(t=this[e(1414)](t,0,a[e(504)]-t[e(504)])),n.debug(e(816),e(1072)+t[e(504)]+e(998)+t.byteLength+")"),this.buffers[e(1071)](i,0,t),0===i&&(this[e(913)]=t);s=!1;break}if(t.fileStart<a.fileStart+a[e(1352)]){var o=a.fileStart+a[e(1352)]-t.fileStart,h=t.byteLength-o;if(!(h>0)){s=!1;break}t=this[e(1414)](t,o,h)}}s&&(n[e(1466)](e(816),e(1072)+t[e(504)]+e(998)+t.byteLength+")"),this[e(1178)][e(1386)](t),0===i&&(this[e(913)]=t))},c[r(976)][r(1230)]=function(t){var e,s,i,a,o,h=r,c=[],u="";for(i=0,a=0,e=0;e<this[h(1178)][h(1235)];e++)s=this[h(1178)][e],0===e?(o={},c[h(1386)](o),o[h(988)]=s.fileStart,o[h(921)]=s[h(504)]+s.byteLength,u+="["+o[h(988)]+"-"):o.end===s[h(504)]?o[h(921)]=s[h(504)]+s[h(1352)]:((o={})[h(988)]=s[h(504)],u+=c[c[h(1235)]-1][h(921)]-1+h(1014)+o[h(988)]+"-",o.end=s.fileStart+s[h(1352)],c.push(o)),i+=s[h(485)],a+=s[h(1352)];c[h(1235)]>0&&(u+=o[h(921)]-1+"]");var l=t?n[h(1385)]:n[h(1466)];0===this[h(1178)][h(1235)]?l(h(816),h(467)):l("MultiBufferStream",""+this[h(1178)][h(1235)]+h(702)+i+"/"+a+h(810)+u)},c[r(976)].cleanBuffers=function(){var t,e,s=r;for(t=0;t<this.buffers[s(1235)];t++)(e=this.buffers[t]).usedBytes===e[s(1352)]&&(n[s(1466)](s(816),s(1172)+t),this[s(1178)].splice(t,1),t--)},c.prototype[r(557)]=function(){var t,e=r;if(this[e(1298)]+1<this[e(1178)][e(1235)]){if((t=this.buffers[this[e(1298)]+1])[e(504)]===this[e(913)][e(504)]+this[e(913)][e(1352)]){var s=this.buffer[e(1352)],i=this[e(913)][e(485)],a=this[e(913)][e(504)];return this[e(1178)][this[e(1298)]]=ArrayBuffer[e(968)](this[e(913)],t),this[e(913)]=this[e(1178)][this[e(1298)]],this[e(1178)].splice(this[e(1298)]+1,1),this[e(913)][e(485)]=i,this[e(913)].fileStart=a,n[e(1466)](e(889),e(1622)+s+"->"+this[e(913)][e(1352)]+")"),!0}return!1}return!1},c[r(976)][r(1363)]=function(t,e,s){var i,a=r,o=null,h=-1;for(i=!0===t?0:this[a(1298)];i<this[a(1178)].length&&(o=this[a(1178)][i])[a(504)]<=e;)h=i,s&&(o[a(504)]+o[a(1352)]<=e?o[a(485)]=o.byteLength:o.usedBytes=e-o[a(504)],this[a(1230)]()),i++;return-1!==h?(o=this[a(1178)][h]).fileStart+o[a(1352)]>=e?(n.debug("MultiBufferStream",a(1220)+h),h):-1:-1},c[r(976)][r(890)]=function(t){var e,s,i,n=r,a=void 0!==t?t:this.bufferIndex;if(s=this.buffers[a],this[n(1178)][n(1235)]>a+1)for(e=a+1;e<this[n(1178)][n(1235)]&&(i=this.buffers[e])[n(504)]===s[n(504)]+s[n(1352)];e++)s=i;return s[n(504)]+s[n(1352)]},c[r(976)].getEndFilePositionAfter=function(t){var e=this[r(1363)](!0,t,!1);return-1!==e?this.findEndContiguousBuf(e):t},c.prototype[r(602)]=function(t){var e=r;this[e(913)][e(485)]+=t,this.logBufferLevel()},c.prototype[r(791)]=function(){var t=r;this.buffer[t(485)]=this[t(913)][t(1352)],this.logBufferLevel()},c[r(976)][r(1e3)]=function(t,e,s){var i,a=r;return-1!==(i=this.findPosition(e,t,s))?(this[a(913)]=this[a(1178)][i],this.bufferIndex=i,this[a(1417)]=t-this[a(913)].fileStart,n[a(1466)](a(816),a(724)+this[a(1417)]),!0):(n[a(1466)](a(816),"Position "+t+" not found in buffered data"),!1)},c[r(976)][r(1090)]=function(){var t=r;if(-1===this[t(1298)]||null===this.buffers[this[t(1298)]])throw t(1347);return this[t(1178)][this.bufferIndex][t(504)]+this.position},c[r(976)].getLength=function(){return this.byteLength},c[r(976)][r(896)]=function(){var t=r;if(-1===this[t(1298)]||null===this[t(1178)][this.bufferIndex])throw t(1347);return this.buffers[this[t(1298)]][t(504)]+this[t(1352)]},r(1372)!==r(1083)&&(e[r(816)]=c);var u=function(){var t=r,e=[];e[3]=t(1501),e[4]="DecoderConfigDescriptor",e[5]=t(1044),e[6]=t(670),this.getDescriptorName=function(t){return e[t]};var s=this,i={};return this[t(620)]=function(s){var r,a,o,h=t,c=0;for(r=s[h(522)](),o=s[h(522)]();128&o;)c=(127&o)<<7,o=s[h(522)]();return c+=127&o,n[h(1466)](h(1537),h(1465)+(e[r]||h(932)+r)+h(1360)+c+" at position "+s.getPosition()),(a=e[r]?new i[e[r]](c):new i.Descriptor(c))[h(1307)](s),a},i[t(498)]=function(e,s){var i=t;this[i(1151)]=e,this[i(585)]=s,this[i(709)]=[]},i[t(498)][t(976)][t(1307)]=function(e){var s=t;this.data=e[s(864)](this.size)},i[t(498)][t(976)].findDescriptor=function(e){for(var s=t,i=0;i<this.descs[s(1235)];i++)if(this[s(709)][i][s(1151)]==e)return this.descs[i];return null},i.Descriptor[t(976)][t(659)]=function(e){for(var i=t,r=e.position;e[i(1417)]<r+this[i(585)];){var n=s.parseOneDescriptor(e);this[i(709)][i(1386)](n)}},i[t(1501)]=function(e){var s=t;i[s(498)][s(769)](this,3,e)},i[t(1501)].prototype=new i.Descriptor,i[t(1501)][t(976)].parse=function(e){var s=t;if(this[s(1073)]=e[s(1592)](),this.flags=e[s(522)](),this[s(585)]-=3,128&this[s(488)]?(this[s(999)]=e[s(1592)](),this[s(585)]-=2):this[s(999)]=0,64&this.flags){var i=e[s(522)]();this[s(867)]=e.readString(i),this[s(585)]-=i+1}else this.URL="";32&this[s(488)]?(this.OCR_ES_ID=e[s(1592)](),this[s(585)]-=2):this[s(608)]=0,this[s(659)](e)},i.ES_Descriptor[t(976)][t(1327)]=function(e){var s=t,i=this.findDescriptor(4);return i?i[s(1643)]:0},i.ES_Descriptor[t(976)][t(1128)]=function(e){var s=t,i=this.findDescriptor(4);if(!i)return null;var r=i[s(464)](5);if(r&&r[s(1524)]){var n=(248&r[s(1524)][0])>>3;return 31===n&&r[s(1524)][s(1235)]>=2&&(n=32+((7&r[s(1524)][0])<<3)+((224&r[s(1524)][1])>>5)),n}return null},i[t(524)]=function(e){i[t(498)].call(this,4,e)},i.DecoderConfigDescriptor[t(976)]=new(i[t(498)]),i.DecoderConfigDescriptor[t(976)][t(1307)]=function(e){var s=t;this[s(1643)]=e[s(522)](),this[s(1504)]=e[s(522)](),this[s(1304)]=e[s(1467)](),this[s(1370)]=e.readUint32(),this[s(1505)]=e[s(1600)](),this.size-=13,this[s(659)](e)},i.DecoderSpecificInfo=function(e){var s=t;i[s(498)][s(769)](this,5,e)},i[t(1044)][t(976)]=new(i[t(498)]),i[t(670)]=function(t){i.Descriptor.call(this,6,t)},i[t(670)][t(976)]=new i.Descriptor,this};r(1372)!==r(1083)&&(e.MPEG4DescriptorParser=u);var l={ERR_INVALID_DATA:-1,ERR_NOT_ENOUGH_DATA:0,OK:1,BASIC_BOXES:[r(1038),r(686),r(479),r(747),r(1450),"strk"],FULL_BOXES:["hmhd",r(1517),r(570),r(713),r(1026),r(1170),"mere"],CONTAINER_BOXES:[[r(1247),["trak",r(745)]],[r(1513)],[r(1473)],["mdia"],[r(1633)],[r(1526)],[r(625),[r(1568),"sbgp"]],[r(782),[r(1532)]],["moof",[r(529)]],[r(529),[r(621),r(1568),"sbgp"]],[r(912)],["tref"],[r(760)],["mfra",[r(1292)]],[r(1450)],[r(1240)],[r(1604)],[r(1329)],[r(1566)],[r(1263)],["rinf"],[r(693)],[r(758)],[r(1255),[r(1049)]],[r(911),[r(653)]],[r(635)]],boxCodes:[],fullBoxCodes:[],containerBoxCodes:[],sampleEntryCodes:{},sampleGroupEntryCodes:[],trackGroupTypes:[],UUIDBoxes:{},UUIDs:[],initialize:function(){var t=r;l.FullBox[t(976)]=new(l[t(1354)]),l[t(1093)][t(976)]=new l.Box,l[t(1631)].prototype=new(l[t(1354)]),l[t(568)][t(976)]=new(l[t(916)]),l[t(1164)].forEach((function(e){l[t(927)](e)})),l[t(785)][t(938)]((function(e){l[t(983)](e)})),l[t(1506)].forEach((function(e){l[t(1323)](e[0],null,e[1])}))},Box:function(t,e,s){var i=r;this.type=t,this[i(585)]=e,this.uuid=s},FullBox:function(t,e,s){var i=r;l[i(1354)][i(769)](this,t,e,s),this[i(488)]=0,this[i(735)]=0},ContainerBox:function(t,e,s){var i=r;l.Box[i(769)](this,t,e,s),this.boxes=[]},SampleEntry:function(t,e,s,i){var n=r;l[n(1093)].call(this,t,e),this[n(902)]=s,this.start=i},SampleGroupEntry:function(t){this[r(1558)]=t},TrackGroupTypeBox:function(t,e){var s=r;l.FullBox[s(769)](this,t,e)},createBoxCtor:function(t,e){var s=r;l.boxCodes.push(t),l[t+s(1354)]=function(e){var i=s;l[i(1354)][i(769)](this,t,e)},l[t+s(1354)].prototype=new(l[s(1354)]),e&&(l[t+"Box"][s(976)][s(1307)]=e)},createFullBoxCtor:function(t,e){var s=r;l[t+s(1354)]=function(e){l[s(916)].call(this,t,e)},l[t+s(1354)][s(976)]=new(l[s(916)]),l[t+s(1354)][s(976)][s(1307)]=function(t){var i=s;this[i(1084)](t),e&&e[i(769)](this,t)}},addSubBoxArrays:function(t){var e=r;if(t){this[e(516)]=t;for(var s=t[e(1235)],i=0;i<s;i++)this[t[i]+"s"]=[]}},createContainerBoxCtor:function(t,e,s){var i=r;l[t+i(1354)]=function(e){var r=i;l[r(1093)][r(769)](this,t,e),l.addSubBoxArrays[r(769)](this,s)},l[t+i(1354)].prototype=new(l[i(1093)]),e&&(l[t+i(1354)][i(976)][i(1307)]=e)},createMediaSampleEntryCtor:function(t,e,s){var i=r;l.sampleEntryCodes[t]=[],l[t+i(1631)]=function(t,e){var r=i;l[r(1631)][r(769)](this,t,e),l.addSubBoxArrays[r(769)](this,s)},l[t+i(1631)][i(976)]=new(l[i(1631)]),e&&(l[t+i(1631)][i(976)][i(1307)]=e)},createSampleEntryCtor:function(t,e,s,i){var n=r;l[n(1462)][t][n(1386)](e),l[e+n(1631)]=function(s){var r=n;l[t+"SampleEntry"][r(769)](this,e,s),l.addSubBoxArrays[r(769)](this,i)},l[e+n(1631)][n(976)]=new(l[t+n(1631)]),s&&(l[e+n(1631)][n(976)][n(1307)]=s)},createEncryptedSampleEntryCtor:function(t,e,s){var i=r;l.createSampleEntryCtor[i(769)](this,t,e,s,[i(1263)])},createSampleGroupCtor:function(t,e){var s=r;l[t+s(903)]=function(e){var i=s;l.SampleGroupEntry[i(769)](this,t,e)},l[t+s(903)][s(976)]=new(l[s(903)]),e&&(l[t+s(903)].prototype.parse=e)},createTrackGroupCtor:function(t,e){var s=r;l[t+s(568)]=function(e){var i=s;l.TrackGroupTypeBox[i(769)](this,t,e)},l[t+"TrackGroupTypeBox"].prototype=new l.TrackGroupTypeBox,e&&(l[t+"TrackGroupTypeBox"][s(976)].parse=e)},createUUIDBox:function(t,e,s,i){var n=r;l[n(1087)].push(t),l[n(1400)][t]=function(i){var r=n;e?l[r(916)][r(769)](this,r(981),i,t):s?l[r(1093)][r(769)](this,r(981),i,t):l[r(1354)].call(this,r(981),i,t)},l.UUIDBoxes[t].prototype=e?new(l[n(916)]):s?new(l[n(1093)]):new(l[n(1354)]),i&&(e?l[n(1400)][t].prototype[n(1307)]=function(t){var e=n;this[e(1084)](t),i&&i[e(769)](this,t)}:l[n(1400)][t][n(976)][n(1307)]=i)}};l.initialize(),l.TKHD_FLAG_ENABLED=1,l[r(1477)]=2,l.TKHD_FLAG_IN_PREVIEW=4,l[r(655)]=1,l[r(1057)]=2,l[r(634)]=8,l.TFHD_FLAG_SAMPLE_SIZE=16,l[r(851)]=32,l.TFHD_FLAG_DUR_EMPTY=65536,l[r(1217)]=131072,l[r(572)]=1,l[r(1382)]=4,l[r(770)]=256,l[r(1210)]=512,l[r(1628)]=1024,l[r(784)]=2048,l[r(1354)][r(976)][r(1134)]=function(t){var e=r;return this[e(1313)](new(l[t+e(1354)]))},l.Box.prototype[r(1313)]=function(t){var e=r;return this[e(652)][e(1386)](t),this[t[e(1388)]+"s"]?this[t[e(1388)]+"s"].push(t):this[t[e(1388)]]=t,t},l[r(1354)][r(976)].set=function(t,e){return this[t]=e,this},l[r(1354)][r(976)].addEntry=function(t,e){var s=r,i=e||s(1048);return!this[i]&&(this[i]=[]),this[i][s(1386)](t),this},r(1372)!==r(1083)&&(e.BoxParser=l),l.parseUUID=function(t){return l.parseHex16(t)},l[r(1228)]=function(t){for(var e=r,s="",i=0;i<16;i++){var n=t.readUint8()[e(560)](16);s+=1===n[e(1235)]?"0"+n:n}return s},l[r(1373)]=function(t,e,s){var i,a,o,h=r,c=t[h(1090)](),u=0;if(t[h(896)]()-c<8)return n[h(1466)](h(1391),h(1348)),{code:l[h(580)]};if(s&&s<8)return n[h(1466)](h(1391),h(1563)),{code:l[h(580)]};var d=t[h(1600)](),f=t.readString(4),p=f;if(n.debug(h(1391),h(765)+f+"' and size "+d+h(1065)+c),u=8,f==h(981)){if(t[h(896)]()-t[h(1090)]()<16||s-u<16)return t.seek(c),n[h(1466)](h(1391),h(1572)),{code:l[h(580)]};u+=16,p=o=l.parseUUID(t)}if(1==d){if(t[h(896)]()-t.getPosition()<8||s&&s-u<8)return t[h(1e3)](c),n[h(1608)]("BoxParser",h(854)+f+'" box'),{code:l[h(580)]};d=t[h(1642)](),u+=8}else if(0===d)if(s)d=s;else if("mdat"!==f)return n[h(1243)]("BoxParser",h(1492)+f+"'"),i=new(l[h(1354)])(f,d),{code:l.OK,box:i,size:i[h(585)]};return 0!==d&&d<u?(n[h(1243)]("BoxParser","Box of type "+f+h(638)+d+" (too small to be a box)"),{code:l.ERR_NOT_ENOUGH_DATA,type:f,size:d,hdr_size:u,start:c}):0!==d&&s&&d>s?(n[h(1243)](h(1391),h(915)+f+h(1105)+d+h(741)+s),{code:l[h(580)],type:f,size:d,hdr_size:u,start:c}):0!==d&&c+d>t[h(896)]()?(t.seek(c),n[h(1385)]("BoxParser",h(1097)+f+h(1246)),{code:l[h(580)],type:f,size:d,hdr_size:u,start:c}):e?{code:l.OK,type:f,size:d,hdr_size:u,start:c}:(l[f+"Box"]?i=new(l[f+h(1354)])(d):f!==h(981)?(n[h(1608)]("BoxParser",h(1439)+f+"'"),(i=new l.Box(f,d))[h(813)]=!0):l[h(1400)][o]?i=new(l[h(1400)][o])(d):(n[h(1608)]("BoxParser",h(835)+o+"'"),(i=new(l[h(1354)])(f,d))[h(981)]=o,i[h(813)]=!0),i[h(902)]=u,i[h(988)]=c,i.write===l[h(1354)][h(976)][h(683)]&&"mdat"!==i[h(1388)]&&(n[h(1385)]("BoxParser","'"+p+h(822)),i[h(1661)](t)),i[h(1307)](t),(a=t[h(1090)]()-(i.start+i[h(585)]))<0?(n[h(1608)](h(1391),"Parsing of box '"+p+h(1482)+-a+h(996)),t[h(1e3)](i[h(988)]+i[h(585)])):a>0&&(n[h(1243)](h(1391),"Parsing of box '"+p+h(1300)+a+h(1647)),0!==i.size&&t[h(1e3)](i[h(988)]+i[h(585)])),{code:l.OK,box:i,size:i[h(585)]})},l[r(1354)][r(976)][r(1307)]=function(t){var e=r;this[e(1388)]!=e(1038)?this[e(1524)]=t[e(864)](this.size-this[e(902)]):0===this[e(585)]?t[e(1e3)](t[e(896)]()):t.seek(this[e(988)]+this[e(585)])},l.Box.prototype[r(1661)]=function(t){var e=r;this[e(1524)]=t[e(864)](this[e(585)]-this[e(902)]),t[e(1417)]-=this[e(585)]-this[e(902)]},l[r(916)][r(976)][r(1661)]=function(t){var e=r;this[e(1084)](t),this[e(1524)]=t[e(864)](this[e(585)]-this.hdr_size),this[e(902)]-=4,t[e(1417)]-=this.size-this[e(902)]},l[r(916)].prototype[r(1084)]=function(t){var e=r;this.version=t[e(522)](),this[e(488)]=t[e(1467)](),this[e(902)]+=4},l.FullBox.prototype.parse=function(t){var e=r;this[e(1084)](t),this[e(1524)]=t[e(864)](this[e(585)]-this[e(902)])},l.ContainerBox[r(976)][r(1307)]=function(t){for(var e,s,i=r;t[i(1090)]()<this[i(988)]+this[i(585)];){if((e=l[i(1373)](t,!1,this[i(585)]-(t[i(1090)]()-this.start)))[i(1544)]!==l.OK)return;if(s=e[i(731)],this[i(652)].push(s),this.subBoxNames&&-1!=this[i(516)][i(1196)](s[i(1388)]))this[this[i(516)][this[i(516)][i(1196)](s[i(1388)])]+"s"][i(1386)](s);else{var a=s[i(1388)]!==i(981)?s[i(1388)]:s[i(981)];this[a]?n[i(1608)](i(532)+a+i(491)):this[a]=s}}},l[r(1354)].prototype[r(1345)]=function(t){var e=r;this[e(1237)]=t.readUint16();var s=[];s[0]=this[e(1237)]>>10&31,s[1]=this[e(1237)]>>5&31,s[2]=31&this[e(1237)],this[e(755)]=String.fromCharCode(s[0]+96,s[1]+96,s[2]+96)},l[r(943)]=r(511),l[r(463)]=r(1238),l[r(1136)]=r(543),l.SAMPLE_ENTRY_TYPE_METADATA=r(861),l.SAMPLE_ENTRY_TYPE_SUBTITLE=r(940),l[r(722)]=r(1650),l[r(534)]=r(1016),l.SampleEntry[r(976)][r(1272)]=function(t){var e=r;t[e(864)](6),this[e(1223)]=t[e(1592)](),this[e(902)]+=8},l[r(1631)][r(976)].parse=function(t){var e=r;this[e(1272)](t),this[e(1524)]=t[e(864)](this[e(585)]-this[e(902)])},l[r(1631)].prototype[r(1661)]=function(t){var e=r;this[e(1272)](t),this.data=t[e(864)](this.size-this[e(902)]),this[e(902)]-=8,t.position-=this[e(585)]-this[e(902)]},l[r(1631)][r(976)][r(1005)]=function(t){var e=r;l[e(1093)].prototype[e(1307)][e(769)](this,t)},l[r(870)](l[r(1136)]),l[r(870)](l[r(1330)]),l[r(870)](l.SAMPLE_ENTRY_TYPE_SUBTITLE),l.createMediaSampleEntryCtor(l[r(722)]),l[r(870)](l[r(534)]),l.createMediaSampleEntryCtor(l.SAMPLE_ENTRY_TYPE_VISUAL,(function(t){var e,s=r;this[s(1272)](t),t[s(1592)](),t[s(1592)](),t[s(530)](3),this[s(898)]=t[s(1592)](),this[s(798)]=t[s(1592)](),this.horizresolution=t.readUint32(),this[s(1442)]=t[s(1600)](),t.readUint32(),this[s(1106)]=t[s(1592)](),e=Math[s(1130)](31,t.readUint8()),this.compressorname=t[s(1120)](e),e<31&&t[s(1120)](31-e),this[s(802)]=t[s(1592)](),t.readUint16(),this[s(1005)](t)})),l.createMediaSampleEntryCtor(l[r(463)],(function(t){var e=r;this.parseHeader(t),t[e(530)](2),this[e(1124)]=t[e(1592)](),this[e(584)]=t.readUint16(),t[e(1592)](),t[e(1592)](),this.samplerate=t[e(1600)]()/65536,this[e(1005)](t)})),l.createSampleEntryCtor(l[r(943)],r(1294)),l[r(710)](l[r(943)],r(1569)),l.createSampleEntryCtor(l.SAMPLE_ENTRY_TYPE_VISUAL,r(1302)),l[r(710)](l[r(943)],"avc4"),l.createSampleEntryCtor(l[r(943)],r(1437)),l.createSampleEntryCtor(l[r(943)],r(880)),l.createSampleEntryCtor(l.SAMPLE_ENTRY_TYPE_VISUAL,r(1423)),l[r(710)](l.SAMPLE_ENTRY_TYPE_VISUAL,r(1580)),l[r(710)](l.SAMPLE_ENTRY_TYPE_VISUAL,r(678)),l.createSampleEntryCtor(l[r(943)],r(1219)),l[r(710)](l[r(943)],"vvcN"),l[r(710)](l[r(943)],"vp08"),l[r(710)](l[r(943)],r(1371)),l[r(710)](l.SAMPLE_ENTRY_TYPE_AUDIO,r(591)),l.createSampleEntryCtor(l[r(463)],r(1635)),l[r(710)](l[r(463)],r(1269)),l[r(710)](l[r(463)],"Opus"),l.createEncryptedSampleEntryCtor(l[r(943)],"encv"),l[r(1361)](l[r(463)],r(920)),l[r(1361)](l[r(1262)],r(1634)),l[r(1361)](l[r(722)],r(600)),l.createEncryptedSampleEntryCtor(l.SAMPLE_ENTRY_TYPE_TEXT,"enct"),l[r(1361)](l[r(1330)],"encm"),l[r(927)]("a1lx",(function(t){var e=r,s=16*(1+(1&(1&t.readUint8())));this[e(1288)]=[];for(var i=0;i<3;i++)this[e(1288)][i]=16==s?t[e(1592)]():t.readUint32()})),l[r(927)](r(566),(function(t){var e=r;this[e(1104)]=t[e(522)]()})),l[r(983)](r(1460),(function(t){var e=r;this[e(664)]=t[e(797)]();var s=this[e(585)]-this[e(902)]-(this[e(664)][e(1235)]+1);this[e(1376)]=t[e(864)](s)})),l[r(927)]("av1C",(function(t){var e=r,s=t[e(522)]();if(s>>7&!1)n.error("av1C marker problem");else if(this[e(735)]=127&s,1===this[e(735)])if(s=t[e(522)](),this.seq_profile=s>>5&7,this[e(1419)]=31&s,s=t[e(522)](),this[e(1485)]=s>>7&1,this.high_bitdepth=s>>6&1,this.twelve_bit=s>>5&1,this[e(605)]=s>>4&1,this[e(1656)]=s>>3&1,this[e(1420)]=s>>2&1,this.chroma_sample_position=3&s,s=t[e(522)](),this.reserved_1=s>>5&7,0===this[e(1325)]){if(this[e(551)]=s>>4&1,1===this[e(551)])this[e(1309)]=15&s;else if(this[e(1059)]=15&s,0!==this[e(1059)])return void n[e(1243)](e(874));var i=this.size-this[e(902)]-4;this[e(856)]=t.readUint8Array(i)}else n.error("av1C reserved_1 parsing problem");else n[e(1243)](e(696)+this[e(735)]+e(1310))})),l[r(927)]("avcC",(function(t){var e,s,i=r;for(this[i(1144)]=t[i(522)](),this[i(1618)]=t[i(522)](),this[i(796)]=t.readUint8(),this.AVCLevelIndication=t[i(522)](),this[i(1577)]=3&t.readUint8(),this[i(1184)]=31&t[i(522)](),s=this.size-this[i(902)]-6,this[i(956)]=[],e=0;e<this[i(1184)];e++)this[i(956)][e]={},this[i(956)][e].length=t[i(1592)](),this[i(956)][e][i(1553)]=t[i(864)](this[i(956)][e][i(1235)]),s-=2+this.SPS[e].length;for(this.nb_PPS_nalus=t[i(522)](),s--,this[i(1224)]=[],e=0;e<this[i(1082)];e++)this[i(1224)][e]={},this.PPS[e][i(1235)]=t[i(1592)](),this[i(1224)][e].nalu=t.readUint8Array(this[i(1224)][e][i(1235)]),s-=2+this[i(1224)][e][i(1235)];s>0&&(this.ext=t.readUint8Array(s))})),l[r(927)](r(697),(function(t){var e=r;this[e(1004)]=t[e(1600)](),this[e(1370)]=t.readUint32(),this[e(1505)]=t[e(1600)]()})),l.createBoxCtor(r(633),(function(t){var e=r;this[e(1296)]=t[e(1600)](),this[e(689)]=t[e(1600)](),this[e(767)]=t.readUint32(),this[e(750)]=t[e(1600)](),this.horizOffN=t[e(1600)](),this[e(1050)]=t[e(1600)](),this.vertOffN=t.readUint32(),this[e(852)]=t[e(1600)]()})),l[r(927)](r(738),(function(t){var e=r;this[e(1024)]=t[e(1592)](),this[e(681)]=t[e(1592)]()})),l[r(983)]("co64",(function(t){var e,s,i=r;if(e=t[i(1600)](),this[i(895)]=[],0===this[i(735)])for(s=0;s<e;s++)this[i(895)][i(1386)](t[i(1642)]())})),l.createFullBoxCtor("CoLL",(function(t){var e=r;this.maxCLL=t[e(1592)](),this[e(1232)]=t[e(1592)]()})),l[r(927)](r(1375),(function(t){var e=r;if(this[e(1291)]=t[e(1120)](4),this[e(1291)]===e(772)){this.colour_primaries=t.readUint16(),this.transfer_characteristics=t.readUint16(),this.matrix_coefficients=t[e(1592)]();var s=t[e(522)]();this.full_range_flag=s>>7}else this[e(1291)]===e(1349)?this.ICC_profile=t.readUint8Array(this[e(585)]-4):this.colour_type===e(1356)&&(this[e(527)]=t[e(864)](this[e(585)]-4))})),l[r(983)](r(1191),(function(t){var e=r;this[e(1345)](t),this[e(1359)]=t[e(797)]()})),l[r(983)](r(1392),(function(t){var e=r;0===this[e(735)]&&(this[e(1018)]=t[e(1626)](),this[e(1063)]=t.readInt32(),this[e(1476)]=t[e(1626)](),this[e(676)]=t[e(1626)](),this[e(919)]=t[e(1626)]())})),l[r(983)]("ctts",(function(t){var e,s,i=r;if(e=t[i(1600)](),this[i(1389)]=[],this[i(1200)]=[],0===this[i(735)])for(s=0;s<e;s++){this[i(1389)][i(1386)](t[i(1600)]());var a=t.readInt32();a<0&&n[i(1608)](i(1391),"ctts box uses negative values without using version 1"),this.sample_offsets[i(1386)](a)}else if(1==this.version)for(s=0;s<e;s++)this.sample_counts[i(1386)](t[i(1600)]()),this.sample_offsets[i(1386)](t[i(1626)]())})),l.createBoxCtor(r(1022),(function(t){var e=r,s=t.readUint8(),i=t.readUint8(),n=t.readUint8();this[e(617)]=s>>6,this.bsid=s>>1&31,this[e(939)]=(1&s)<<2|i>>6&3,this[e(1337)]=i>>3&7,this[e(979)]=i>>2&1,this.bit_rate_code=3&i|n>>5&7})),l.createBoxCtor(r(1598),(function(t){var e=r,s=t[e(1592)]();this[e(513)]=s>>3,this[e(1019)]=7&s,this.ind_subs=[];for(var i=0;i<this[e(1019)]+1;i++){var n={};this[e(1290)][e(1386)](n);var a=t[e(522)](),o=t[e(522)](),h=t[e(522)]();n[e(617)]=a>>6,n[e(474)]=a>>1&31,n[e(939)]=(1&a)<<4|o>>4&15,n[e(1337)]=o>>1&7,n[e(979)]=1&o,n[e(1543)]=h>>1&15,n.num_dep_sub>0&&(n.chan_loc=(1&h)<<8|t.readUint8())}})),l[r(983)]("dfLa",(function(t){var e=r,s=[],i=["STREAMINFO",e(525),"APPLICATION",e(1424),e(1659),e(1499),"PICTURE",e(673)];for(this[e(1084)](t);;){var n=t[e(522)](),a=Math[e(1130)](127&n,i[e(1235)]-1);if(a?t[e(864)](t[e(1467)]()):(t[e(864)](13),this.samplerate=t[e(1600)]()>>12,t[e(864)](20)),s.push(i[a]),128&n)break}this.numMetadataBlocks=s.length+" ("+s.join(", ")+")"})),l[r(927)]("dimm",(function(t){var e=r;this[e(1081)]=t[e(1642)]()})),l[r(927)](r(984),(function(t){var e=r;this[e(1588)]=t[e(1600)]()})),l[r(927)]("dmed",(function(t){var e=r;this[e(1081)]=t[e(1642)]()})),l[r(927)]("dOps",(function(t){var e=r;if(this.Version=t[e(522)](),this[e(1343)]=t[e(522)](),this[e(1589)]=t[e(1592)](),this.InputSampleRate=t[e(1600)](),this[e(1030)]=t[e(1264)](),this.ChannelMappingFamily=t[e(522)](),0!==this[e(1449)]){this.StreamCount=t.readUint8(),this[e(1454)]=t[e(522)](),this[e(1339)]=[];for(var s=0;s<this[e(1343)];s++)this.ChannelMapping[s]=t[e(522)]()}})),l.createFullBoxCtor("dref",(function(t){var e,s,i=r;this.entries=[];for(var n=t[i(1600)](),a=0;a<n;a++){if((e=l[i(1373)](t,!1,this[i(585)]-(t[i(1090)]()-this[i(988)])))[i(1544)]!==l.OK)return;s=e[i(731)],this[i(1048)][i(1386)](s)}})),l[r(927)](r(1653),(function(t){this[r(1081)]=t.readUint64()})),l[r(983)]("elng",(function(t){var e=r;this[e(1010)]=t[e(1120)](this[e(585)]-this[e(902)])})),l.createFullBoxCtor(r(1211),(function(t){var e=r;this[e(1048)]=[];for(var s=t[e(1600)](),i=0;i<s;i++){var n={};this[e(1048)][e(1386)](n),1===this[e(735)]?(n[e(1655)]=t[e(1642)](),n[e(807)]=t[e(695)]()):(n[e(1655)]=t[e(1600)](),n[e(807)]=t[e(1626)]()),n[e(1581)]=t[e(1264)](),n[e(1068)]=t[e(1264)]()}})),l[r(983)]("emsg",(function(t){var e=r;1==this[e(735)]?(this.timescale=t[e(1600)](),this.presentation_time=t[e(1642)](),this[e(569)]=t[e(1600)](),this.id=t.readUint32(),this.scheme_id_uri=t[e(797)](),this.value=t[e(797)]()):(this[e(1556)]=t[e(797)](),this[e(1594)]=t[e(797)](),this[e(1117)]=t[e(1600)](),this[e(1318)]=t[e(1600)](),this[e(569)]=t[e(1600)](),this.id=t.readUint32());var s=this.size-this.hdr_size-(16+(this.scheme_id_uri.length+1)+(this[e(1594)].length+1));1==this[e(735)]&&(s-=4),this[e(610)]=t.readUint8Array(s)})),l[r(983)](r(688),(function(t){var e=r,s=t[e(864)](this[e(585)]-this[e(902)]);if(typeof u!==e(1083)){var i=new u;this[e(1017)]=i[e(620)](new o(s[e(913)],0,o[e(692)]))}})),l[r(927)](r(1394),(function(t){var e=r;this[e(995)]=t[e(522)](),this.fieldOrdering=t.readUint8()})),l[r(927)](r(1436),(function(t){var e=r;this[e(742)]=t[e(1120)](4)})),l[r(927)](r(992),(function(t){var e=r,s=this[e(585)]-this[e(902)];this[e(929)]=t[e(1120)](4),this[e(805)]=t[e(1600)](),s-=8,this[e(1602)]=[];for(var i=0;s>=4;)this.compatible_brands[i]=t.readString(4),s-=4,i++})),l[r(983)](r(958),(function(t){var e=r;0===this[e(735)]&&(t[e(1600)](),this[e(671)]=t[e(1120)](4),t[e(530)](3),this[e(667)]=t[e(1120)](this.size-this[e(902)]-20),"\0"===this[e(667)][this[e(667)].length-1]&&(this.name=this[e(667)][e(1514)](0,-1)))})),l[r(927)](r(578),(function(t){var e,s,i,n,a=r;this.configurationVersion=t[a(522)](),n=t[a(522)](),this[a(1102)]=n>>6,this[a(1390)]=(32&n)>>5,this[a(1242)]=31&n,this[a(1403)]=t[a(1600)](),this[a(1599)]=t[a(864)](6),this[a(1344)]=t[a(522)](),this[a(928)]=4095&t[a(1592)](),this[a(662)]=3&t[a(522)](),this[a(614)]=3&t[a(522)](),this[a(1086)]=7&t[a(522)](),this[a(550)]=7&t[a(522)](),this.avgFrameRate=t[a(1592)](),n=t.readUint8(),this.constantFrameRate=n>>6,this[a(1322)]=(13&n)>>3,this[a(1195)]=(4&n)>>2,this.lengthSizeMinusOne=3&n,this.nalu_arrays=[];var o=t.readUint8();for(e=0;e<o;e++){var h=[];this[a(540)][a(1386)](h),n=t.readUint8(),h[a(740)]=(128&n)>>7,h[a(1649)]=63&n;var c=t.readUint16();for(s=0;s<c;s++){var u={};h.push(u),i=t[a(1592)](),u.data=t[a(864)](i)}}})),l[r(983)]("iinf",(function(t){var e,s=r;0===this[s(735)]?this[s(843)]=t[s(1592)]():this[s(843)]=t[s(1600)](),this[s(559)]=[];for(var i=0;i<this.entry_count;i++){if((e=l[s(1373)](t,!1,this[s(585)]-(t.getPosition()-this[s(988)])))[s(1544)]!==l.OK)return;e.box[s(1388)]!==s(1353)&&n.error(s(1391),s(1085)+e.box.type),this[s(559)][i]=e.box}})),l[r(983)](r(917),(function(t){var e,s=r;e=t[s(522)](),this[s(492)]=e>>4&15,this[s(1646)]=15&e,e=t[s(522)](),this[s(1156)]=e>>4&15,1===this.version||2===this[s(735)]?this[s(1530)]=15&e:this[s(1530)]=0,this[s(517)]=[];var i=0;if(this[s(735)]<2)i=t[s(1592)]();else{if(2!==this[s(735)])throw s(715);i=t.readUint32()}for(var n=0;n<i;n++){var a={};if(this[s(517)][s(1386)](a),this[s(735)]<2)a[s(628)]=t.readUint16();else{if(2!==this[s(735)])throw s(715);a[s(628)]=t[s(1592)]()}switch(1===this[s(735)]||2===this[s(735)]?a[s(1138)]=15&t[s(1592)]():a[s(1138)]=0,a[s(1223)]=t[s(1592)](),this[s(1156)]){case 0:a[s(955)]=0;break;case 4:a.base_offset=t[s(1600)]();break;case 8:a[s(955)]=t.readUint64();break;default:throw s(1539)}var o=t[s(1592)]();a[s(541)]=[];for(var h=0;h<o;h++){var c={};if(a[s(541)][s(1386)](c),1===this.version||2===this[s(735)])switch(this[s(1530)]){case 0:c[s(764)]=0;break;case 4:c[s(764)]=t[s(1600)]();break;case 8:c[s(764)]=t.readUint64();break;default:throw s(1165)}switch(this[s(492)]){case 0:c[s(1140)]=0;break;case 4:c[s(1140)]=t[s(1600)]();break;case 8:c[s(1140)]=t.readUint64();break;default:throw s(1165)}switch(this[s(1646)]){case 0:c.extent_length=0;break;case 4:c.extent_length=t[s(1600)]();break;case 8:c.extent_length=t[s(1642)]();break;default:throw s(1165)}}}})),l[r(927)](r(881),(function(t){var e=r,s=t[e(522)]();this[e(841)]=s>>7,this[e(1459)]=1&s})),l.createFullBoxCtor(r(1353),(function(t){var e=r;if((0===this[e(735)]||1===this.version)&&(this[e(628)]=t[e(1592)](),this[e(869)]=t.readUint16(),this[e(1208)]=t[e(797)](),this[e(1099)]=t[e(797)](),this[e(804)]=t[e(797)]()),1===this[e(735)])return this[e(1508)]=t[e(1120)](4),n[e(1608)](e(1391),e(986)),void t[e(1e3)](this[e(988)]+this[e(585)]);this[e(735)]>=2&&(2===this[e(735)]?this[e(628)]=t[e(1592)]():3===this[e(735)]&&(this.item_ID=t[e(1600)]()),this.item_protection_index=t[e(1592)](),this[e(1001)]=t[e(1120)](4),this[e(1208)]=t[e(797)](),this[e(1001)]===e(1091)?(this.content_type=t[e(797)](),this[e(804)]=t.readCString()):this.item_type===e(1157)&&(this[e(726)]=t[e(797)]()))})),l[r(983)](r(653),(function(t){var e,s,i=r;for(entry_count=t[i(1600)](),this[i(1341)]=[],e=0;e<entry_count;e++){var n={};this[i(1341)].push(n),this[i(735)]<1?n.id=t[i(1592)]():n.id=t.readUint32();var a=t[i(522)]();for(n[i(648)]=[],s=0;s<a;s++){var o=t[i(522)](),h={};n[i(648)][i(1386)](h),h[i(460)]=(128&o)>>7==1,1&this.flags?h[i(564)]=(127&o)<<8|t.readUint8():h[i(564)]=127&o}}})),l.createFullBoxCtor(r(760),(function(t){var e,s,i=r;for(this[i(711)]=[];t.getPosition()<this[i(988)]+this[i(585)];){if((e=l[i(1373)](t,!0,this.size-(t[i(1090)]()-this[i(988)]))).code!==l.OK)return;(s=0===this[i(735)]?new l.SingleItemTypeReferenceBox(e[i(1388)],e.size,e.hdr_size,e[i(988)]):new(l[i(642)])(e[i(1388)],e[i(585)],e[i(902)],e[i(988)])).write===l.Box[i(976)].write&&"mdat"!==s[i(1388)]&&(n[i(1608)](i(1391),s.type+i(707)),s[i(1661)](t)),s[i(1307)](t),this[i(711)].push(s)}})),l[r(927)](r(1218),(function(t){this[r(1455)]=3&t.readUint8()})),l[r(983)](r(733),(function(t){var e=r;this.image_width=t.readUint32(),this[e(1020)]=t[e(1600)]()})),l[r(983)](r(1049),(function(t){var e=r;this.schemeURI=t[e(797)](),this[e(1594)]=t[e(797)]()})),l.createFullBoxCtor(r(1381),(function(t){var e=r,s=t[e(522)]();this[e(1175)]=[];for(var i=0;i<s;i++){var a={};this.levels[i]=a,a.track_ID=t.readUint32();var o=t[e(522)]();switch(a[e(1432)]=o>>7,a.assignment_type=127&o,a.assignment_type){case 0:a[e(1558)]=t[e(1120)](4);break;case 1:a[e(1558)]=t.readString(4),a[e(840)]=t.readUint32();break;case 2:case 3:break;case 4:a[e(1350)]=t[e(1600)]();break;default:n[e(1608)](e(1391),"Unknown leva assignement type")}}})),l.createBoxCtor(r(1227),(function(t){this[r(786)]=t.readUint16()})),l.createBoxCtor("maxr",(function(t){var e=r;this[e(1142)]=t[e(1600)](),this[e(482)]=t[e(1600)]()})),l[r(927)](r(1625),(function(t){var e=r;this.display_primaries=[],this.display_primaries[0]={},this[e(1036)][0].x=t[e(1592)](),this.display_primaries[0].y=t.readUint16(),this[e(1036)][1]={},this.display_primaries[1].x=t.readUint16(),this[e(1036)][1].y=t[e(1592)](),this[e(1036)][2]={},this[e(1036)][2].x=t[e(1592)](),this[e(1036)][2].y=t[e(1592)](),this[e(1434)]={},this.white_point.x=t[e(1592)](),this.white_point.y=t[e(1592)](),this[e(732)]=t.readUint32(),this.min_display_mastering_luminance=t.readUint32()})),l.createFullBoxCtor("mdhd",(function(t){var e=r;1==this[e(735)]?(this[e(1470)]=t[e(1642)](),this[e(518)]=t[e(1642)](),this[e(1117)]=t.readUint32(),this.duration=t[e(1642)]()):(this[e(1470)]=t.readUint32(),this.modification_time=t[e(1600)](),this[e(1117)]=t[e(1600)](),this.duration=t[e(1600)]()),this[e(1345)](t),t[e(1592)]()})),l.createFullBoxCtor(r(1657),(function(t){var e=r;1&this[e(488)]&&(n[e(1608)]("BoxParser",e(1088)),this[e(735)]=1),1==this.version?this[e(1192)]=t[e(1642)]():this[e(1192)]=t[e(1600)]()})),l[r(983)]("meta",(function(t){var e=r;this[e(652)]=[],l[e(1093)][e(976)][e(1307)].call(this,t)})),l[r(983)](r(661),(function(t){var e=r;this[e(1306)]=t[e(1600)]()})),l[r(983)](r(883),(function(t){var e=r;this._size=t[e(1600)]()})),l.createFullBoxCtor("mvhd",(function(t){var e=r;1==this[e(735)]?(this.creation_time=t[e(1642)](),this[e(518)]=t.readUint64(),this[e(1117)]=t[e(1600)](),this.duration=t[e(1642)]()):(this.creation_time=t[e(1600)](),this[e(518)]=t[e(1600)](),this[e(1117)]=t[e(1600)](),this[e(1039)]=t.readUint32()),this[e(974)]=t[e(1600)](),this.volume=t.readUint16()>>8,t[e(1592)](),t[e(530)](2),this[e(619)]=t.readUint32Array(9),t[e(530)](6),this.next_track_id=t.readUint32()})),l[r(927)]("npck",(function(t){var e=r;this.packetssent=t[e(1600)]()})),l[r(927)](r(645),(function(t){var e=r;this[e(1627)]=t[e(1642)]()})),l.createFullBoxCtor(r(931),(function(t){var e=r,s=t[e(1600)]();this[e(1216)]=[];for(var i=0;i<Math.floor((s+1)/2);i++)this[e(1216)]=t.readUint8()})),l[r(927)](r(1013),(function(t){var e=r;this[e(1357)]=t[e(1600)](),this[e(1056)]=t[e(1600)]()})),l[r(927)]("payl",(function(t){var e=r;this[e(679)]=t.readString(this.size-this[e(902)])})),l[r(927)](r(761),(function(t){var e=r;this[e(500)]=t[e(1600)]();var s=t[e(522)]();this.rtpmap_string=t[e(1120)](s)})),l.createFullBoxCtor("pdin",(function(t){var e=r,s=(this[e(585)]-this[e(902)])/8;this[e(974)]=[],this[e(1478)]=[];for(var i=0;i<s;i++)this[e(974)][i]=t[e(1600)](),this[e(1478)][i]=t.readUint32()})),l.createFullBoxCtor(r(1248),(function(t){var e=r;0===this[e(735)]?this[e(612)]=t.readUint16():this[e(612)]=t[e(1600)]()})),l[r(983)]("pixi",(function(t){var e,s=r;for(this[s(980)]=t.readUint8(),this[s(597)]=[],e=0;e<this[s(980)];e++)this[s(597)][e]=t[s(522)]()})),l.createBoxCtor("pmax",(function(t){this[r(482)]=t.readUint32()})),l[r(983)](r(1094),(function(t){var e=r;this[e(1534)]=t[e(1600)](),this[e(1365)]=t[e(1642)](),0===this[e(735)]?this[e(807)]=t[e(1600)]():this[e(807)]=t.readUint64()})),l[r(983)](r(745),(function(t){var e=r;if(this[e(779)]=l[e(1228)](t),this[e(735)]>0){var s=t[e(1600)]();this.kid=[];for(var i=0;i<s;i++)this[e(743)][i]=l.parseHex16(t)}var n=t[e(1600)]();n>0&&(this[e(1524)]=t[e(864)](n))})),l.createFullBoxCtor(r(887),(function(t){var e=r;this[e(898)]=t[e(1600)](),this.height=t[e(1600)]()})),l[r(983)]("enof",(function(t){var e=r;this.width=t[e(1600)](),this[e(798)]=t.readUint32()})),l[r(983)](r(1356),(function(t){var e=r;this[e(898)]=t[e(1600)](),this[e(798)]=t[e(1600)]()})),l[r(1323)](r(838),null,["clef",r(1356),r(665)]),l[r(927)](r(465),(function(t){var e=r;this.descriptionformat=t[e(1120)](4),this[e(790)]=t[e(1120)](this[e(585)]-this[e(902)]-4)})),l[r(983)](r(509),(function(t){var e=r;1&this[e(488)]&&(this[e(1395)]=t.readUint32(),this[e(1297)]=t[e(1600)]());var s=t[e(1600)]();this[e(985)]=[];for(var i=0;i<s;i++)0===this[e(735)]?this.offset[i]=t[e(1600)]():this[e(985)][i]=t[e(1642)]()})),l[r(983)](r(1103),(function(t){var e=r;1&this.flags&&(this[e(1395)]=t[e(1600)](),this[e(1297)]=t.readUint32()),this[e(640)]=t.readUint8();var s=t[e(1600)]();if(this[e(1475)]=[],0===this[e(640)])for(var i=0;i<s;i++)this[e(1475)][i]=t[e(522)]()})),l[r(710)](l[r(1330)],"mett",(function(t){var e=r;this[e(1272)](t),this.content_encoding=t[e(797)](),this[e(1229)]=t[e(797)](),this[e(1005)](t)})),l[r(710)](l.SAMPLE_ENTRY_TYPE_METADATA,"metx",(function(t){var e=r;this[e(1272)](t),this[e(804)]=t[e(797)](),this[e(1207)]=t[e(797)](),this[e(1284)]=t.readCString(),this[e(1005)](t)})),l[r(710)](l.SAMPLE_ENTRY_TYPE_SUBTITLE,r(1571),(function(t){var e=r;this[e(1272)](t),this[e(804)]=t[e(797)](),this.mime_format=t[e(797)](),this[e(1005)](t)})),l[r(710)](l[r(1262)],r(1332),(function(t){var e=r;this[e(1272)](t),this[e(1207)]=t[e(797)](),this[e(1284)]=t[e(797)](),this[e(1108)]=t[e(797)](),this[e(1005)](t)})),l[r(710)](l[r(1262)],r(1542),(function(t){var e=r;this[e(1272)](t),this.content_encoding=t[e(797)](),this.mime_format=t[e(797)](),this[e(1005)](t)})),l[r(710)](l[r(1262)],r(957),(function(t){var e=r;this[e(1272)](t),this[e(1054)]=t.readUint32(),this[e(556)]=t[e(954)](),this[e(730)]=t[e(954)](),this.bg_color_rgba=t[e(864)](4),this[e(1029)]=t[e(973)](4),this.style_record=t.readUint8Array(12),this[e(1005)](t)})),l[r(710)](l[r(1330)],r(1593),(function(t){this[r(1272)](t),this.parseFooter(t)})),l[r(1209)](r(717),(function(t){var e,s=r,i=t[s(1592)]();for(this[s(493)]=t[s(1592)](),this[s(978)]=[],e=0;e<i;e++)this[s(978)][e]=t[s(1600)]();var n=this[s(486)]-4-4*i;for(this.num_output_samples=[],this.num_total_samples=[],e=0;e<n/4;e++)this[s(862)][e]=t[s(1592)](),this.num_total_samples[e]=t[s(1592)]()})),l[r(1209)]("avll",(function(t){var e=r;this[e(1587)]=t.readUint8(),this[e(508)]=t[e(522)](),this.avgBitRate=t[e(1592)](),this[e(977)]=t[e(1592)]()})),l[r(1209)](r(952),(function(t){var e=r;this.subSequenceIdentifier=t[e(1592)](),this[e(1587)]=t.readUint8();var s=t[e(522)]();this[e(1368)]=s>>7,this[e(1548)]=s>>6&1,this[e(1368)]&&(this[e(1039)]=t[e(1600)]()),this[e(1548)]&&(this[e(508)]=t.readUint8(),this[e(865)]=t.readUint16(),this[e(977)]=t.readUint16()),this.dependency=[];for(var i=t[e(522)](),n=0;n<i;n++){var a={};this[e(1500)][e(1386)](a),a[e(1040)]=t[e(522)](),a[e(1587)]=t[e(522)](),a[e(1546)]=t[e(1592)]()}})),l.createSampleGroupCtor(r(1629),(function(t){var e=r;n.warn(e(1391),e(1305)+this.grouping_type+e(554))})),l[r(1209)](r(1664),(function(t){var e=r;n.warn(e(1391),e(1305)+this[e(1558)]+" not fully parsed")})),l.createSampleGroupCtor(r(1651),(function(t){var e=r;this.roll_distance=t[e(1264)]()})),l.createSampleGroupCtor(r(561),(function(t){var e=r,s=t.readUint8();this[e(1166)]=s>>7,this[e(1212)]=127&s})),l[r(1209)](r(1047),(function(t){var e=r;if(this[e(481)]=t.readUint16(),this.description_length!==2+(1===this[e(481)]?2:6*this.operation_point_count)+9)n[e(1608)](e(1391),e(1181)+this[e(1558)]+e(1369)),this.data=t.readUint8Array(this[e(486)]-2);else{if(1===this[e(481)])this[e(1378)]=t[e(1592)]();else{this[e(1378)]=[],this.available_bitrate=[];for(var s=0;s<this[e(481)];s++)this[e(490)][s]=t[e(1600)](),this[e(1378)][s]=t.readUint16()}this[e(714)]=t[e(1600)](),this[e(847)]=t[e(1600)](),this[e(882)]=t[e(522)]()}})),l.createSampleGroupCtor(r(1663),(function(t){var e=r;this.roll_distance=t[e(1264)]()})),l[r(903)].prototype[r(1307)]=function(t){var e=r;n[e(1608)]("BoxParser",e(1215)+this.grouping_type),this[e(1524)]=t[e(864)](this.description_length)},l[r(1209)](r(1135),(function(t){var e=r;n[e(1608)](e(1391),e(1305)+this.grouping_type+e(554))})),l[r(1209)](r(1314),(function(t){var e=r;n.warn(e(1391),e(1305)+this[e(1558)]+e(554))})),l[r(1209)](r(563),(function(t){var e=r;this[e(841)]=t[e(522)]();var s=t[e(522)]();this[e(1483)]=s>>4,this[e(1541)]=15&s,this[e(669)]=t[e(522)](),this[e(812)]=t.readUint8(),this[e(844)]=l.parseHex16(t),this[e(876)]=0,this[e(783)]=0,1===this[e(669)]&&0===this[e(812)]&&(this[e(876)]=t[e(522)](),this.constant_IV=t[e(864)](this.constant_IV_size))})),l[r(1209)](r(1252),(function(t){var e=r;n[e(1608)](e(1391),e(1305)+this[e(1558)]+e(554))})),l[r(1209)](r(756),(function(t){var e=r,s=t.readUint8();this[e(837)]=63&s})),l[r(1209)](r(1511),(function(t){var e=r,s=t[e(522)]();this[e(818)]=s>>7})),l[r(1209)]("tsas",(function(t){var e=r;n[e(1608)]("BoxParser",e(1305)+this[e(1558)]+" not fully parsed")})),l[r(1209)]("tscl",(function(t){var e=r;n.warn(e(1391),e(1305)+this[e(1558)]+e(554))})),l[r(1209)](r(1535),(function(t){var e=r;n[e(1608)](e(1391),e(1305)+this[e(1558)]+" not fully parsed")})),l[r(983)](r(826),(function(t){var e=r;this[e(1558)]=t[e(1120)](4),1===this[e(735)]?this[e(840)]=t.readUint32():this.grouping_type_parameter=0,this.entries=[];for(var s=t.readUint32(),i=0;i<s;i++){var n={};this[e(1048)][e(1386)](n),n[e(736)]=t[e(1626)](),n.group_description_index=t[e(1626)]()}})),l.createFullBoxCtor(r(962),(function(t){var e=r;this[e(910)]=t[e(1120)](4),this[e(1031)]=t.readUint32(),1&this[e(488)]&&(this[e(639)]=t[e(1120)](this[e(585)]-this[e(902)]-8))})),l[r(927)](r(1453),(function(t){var e=r;this[e(790)]=t.readString(this[e(585)]-this.hdr_size)})),l.createFullBoxCtor("sdtp",(function(t){var e,s=r,i=this.size-this[s(902)];this[s(855)]=[],this[s(1520)]=[],this[s(1666)]=[],this[s(1249)]=[];for(var n=0;n<i;n++)e=t[s(522)](),this.is_leading[n]=e>>6,this[s(1520)][n]=e>>4&3,this[s(1666)][n]=e>>2&3,this[s(1249)][n]=3&e})),l[r(983)](r(586)),l[r(983)](r(1568),(function(t){var e=r;this[e(1558)]=t[e(1120)](4),n[e(1466)]("BoxParser",e(1161)+this.grouping_type),1===this.version?this[e(1531)]=t[e(1600)]():this.default_length=0,this[e(735)]>=2&&(this[e(727)]=t[e(1600)]()),this[e(1048)]=[];for(var s=t[e(1600)](),i=0;i<s;i++){var a;a=l[this[e(1558)]+"SampleGroupEntry"]?new(l[this[e(1558)]+e(903)])(this[e(1558)]):new(l[e(903)])(this[e(1558)]),this[e(1048)].push(a),1===this.version&&0===this[e(1531)]?a[e(486)]=t[e(1600)]():a[e(486)]=this[e(1531)],a.write===l.SampleGroupEntry[e(976)][e(683)]&&(n[e(1385)](e(1391),e(948)+this[e(1558)]+e(1213)),a[e(1524)]=t.readUint8Array(a[e(486)]),t[e(1417)]-=a.description_length),a.parse(t)}})),l[r(983)](r(1008),(function(t){var e=r;this[e(853)]=t[e(1600)](),this[e(1117)]=t[e(1600)](),0===this[e(735)]?(this[e(888)]=t[e(1600)](),this[e(1113)]=t.readUint32()):(this[e(888)]=t[e(1642)](),this[e(1113)]=t[e(1642)]()),t[e(1592)](),this[e(711)]=[];for(var s=t[e(1592)](),i=0;i<s;i++){var n={};this[e(711)].push(n);var a=t[e(1600)]();n[e(1089)]=a>>31&1,n.referenced_size=2147483647&a,n[e(654)]=t[e(1600)](),a=t[e(1600)](),n.starts_with_SAP=a>>31&1,n.SAP_type=a>>28&7,n[e(892)]=268435455&a}})),l[r(1002)]=function(t,e,s,i){var n=r;l[n(1354)][n(769)](this,t,e),this[n(902)]=s,this.start=i},l.SingleItemTypeReferenceBox[r(976)]=new(l[r(1354)]),l[r(1002)][r(976)].parse=function(t){var e=r;this[e(1585)]=t[e(1592)]();var s=t[e(1592)]();this.references=[];for(var i=0;i<s;i++)this[e(711)][i]=t[e(1592)]()},l[r(642)]=function(t,e,s,i){var n=r;l[n(1354)].call(this,t,e),this[n(902)]=s,this[n(988)]=i},l.SingleItemTypeReferenceBoxLarge[r(976)]=new l.Box,l[r(642)].prototype[r(1307)]=function(t){var e=r;this[e(1585)]=t[e(1600)]();var s=t[e(1592)]();this[e(711)]=[];for(var i=0;i<s;i++)this[e(711)][i]=t[e(1600)]()},l[r(983)]("SmDm",(function(t){var e=r;this[e(1147)]=t[e(1592)](),this.primaryRChromaticity_y=t[e(1592)](),this[e(1623)]=t[e(1592)](),this[e(546)]=t.readUint16(),this[e(1003)]=t.readUint16(),this[e(1270)]=t[e(1592)](),this[e(547)]=t[e(1592)](),this[e(875)]=t.readUint16(),this.luminanceMax=t[e(1600)](),this.luminanceMin=t[e(1600)]()})),l[r(983)]("smhd",(function(t){var e=r;this[e(934)]=t[e(1592)](),t[e(1592)]()})),l.createFullBoxCtor("ssix",(function(t){var e=r;this[e(1471)]=[];for(var s=t[e(1600)](),i=0;i<s;i++){var n={};this[e(1471)].push(n),n.ranges=[];for(var a=t[e(1600)](),o=0;o<a;o++){var h={};n[e(1529)][e(1386)](h),h.level=t[e(522)](),h[e(846)]=t[e(1467)]()}}})),l[r(983)]("stco",(function(t){var e,s=r;if(e=t.readUint32(),this[s(895)]=[],0===this.version)for(var i=0;i<e;i++)this.chunk_offsets[s(1386)](t[s(1600)]())})),l[r(983)]("stdp",(function(t){var e=r,s=(this.size-this[e(902)])/2;this[e(1446)]=[];for(var i=0;i<s;i++)this[e(1446)][i]=t[e(1592)]()})),l.createFullBoxCtor(r(1308)),l[r(983)](r(462),(function(t){var e=r;this[e(700)]=t[e(1592)](),this[e(1023)]=t[e(1592)](),this[e(1350)]=t[e(1600)]();var s=(this[e(585)]-this.hdr_size-8)/4;this[e(1402)]=[];for(var i=0;i<s;i++)this[e(1402)][i]=t[e(1600)]()})),l[r(983)]("stsc",(function(t){var e,s,i=r;if(e=t[i(1600)](),this[i(982)]=[],this.samples_per_chunk=[],this.sample_description_index=[],0===this[i(735)])for(s=0;s<e;s++)this.first_chunk.push(t[i(1600)]()),this.samples_per_chunk[i(1386)](t[i(1600)]()),this.sample_description_index[i(1386)](t[i(1600)]())})),l[r(983)]("stsd",(function(t){var e,s,i,a,o=r;for(this[o(1048)]=[],i=t[o(1600)](),e=1;e<=i;e++){if((s=l[o(1373)](t,!0,this.size-(t[o(1090)]()-this[o(988)])))[o(1544)]!==l.OK)return;l[s[o(1388)]+o(1631)]?((a=new(l[s.type+o(1631)])(s.size)).hdr_size=s[o(902)],a[o(988)]=s[o(988)]):(n[o(1608)]("BoxParser",o(831)+s[o(1388)]),a=new(l[o(1631)])(s.type,s[o(585)],s[o(902)],s.start)),a[o(683)]===l[o(1631)][o(976)][o(683)]&&(n[o(1385)](o(1391),o(1340)+a[o(1388)]+" box writing not yet implemented, keeping unparsed data in memory for later write"),a[o(1661)](t)),a[o(1307)](t),this[o(1048)][o(1386)](a)}})),l.createFullBoxCtor("stsg",(function(t){var e=r;this[e(1558)]=t[e(1600)]();var s=t[e(1592)]();this.group_description_index=[];for(var i=0;i<s;i++)this[e(1346)][i]=t[e(1600)]()})),l[r(983)](r(1521),(function(t){var e,s,i=r;if(e=t[i(1600)](),this.shadowed_sample_numbers=[],this[i(590)]=[],0===this[i(735)])for(s=0;s<e;s++)this.shadowed_sample_numbers[i(1386)](t.readUint32()),this[i(590)][i(1386)](t[i(1600)]())})),l[r(983)](r(1317),(function(t){var e,s,i=r;if(s=t[i(1600)](),0===this[i(735)])for(this[i(1145)]=[],e=0;e<s;e++)this[i(1145)].push(t[i(1600)]())})),l[r(983)](r(987),(function(t){var e,s=r;if(this[s(1404)]=[],0===this.version)for(this[s(971)]=t[s(1600)](),this.sample_count=t[s(1600)](),e=0;e<this[s(736)];e++)0===this.sample_size?this[s(1404)].push(t.readUint32()):this[s(1404)][e]=this.sample_size})),l[r(983)](r(1451),(function(t){var e,s,i,a=r;if(e=t.readUint32(),this.sample_counts=[],this[a(1410)]=[],0===this[a(735)])for(s=0;s<e;s++)this.sample_counts[a(1386)](t[a(1600)]()),(i=t[a(1626)]())<0&&(n[a(1608)](a(1391),a(1624)),i=1),this[a(1410)][a(1386)](i)})),l[r(983)](r(823),(function(t){var e=r,s=t[e(1600)]();this[e(1564)]=3&s,this[e(627)]=t[e(1600)]();var i,n,a=t[e(1600)]();for(this[e(1665)]=t[e(1120)](a),this[e(652)]=[];t.getPosition()<this[e(988)]+this[e(585)];){if((i=l[e(1373)](t,!1,this[e(585)]-(t[e(1090)]()-this[e(988)])))[e(1544)]!==l.OK)return;n=i[e(731)],this[e(652)][e(1386)](n),this[n.type]=n}})),l[r(927)]("styp",(function(t){var e=r;l[e(1033)][e(976)][e(1307)][e(769)](this,t)})),l[r(983)](r(834),(function(t){var e,s,i=r;if(this[i(1404)]=[],0===this.version)if(this.reserved=t[i(1467)](),this.field_size=t[i(522)](),s=t[i(1600)](),4===this[i(468)])for(e=0;e<s;e+=2){var a=t[i(522)]();this[i(1404)][e]=a>>4&15,this[i(1404)][e+1]=15&a}else if(8===this.field_size)for(e=0;e<s;e++)this[i(1404)][e]=t[i(522)]();else if(16===this.field_size)for(e=0;e<s;e++)this[i(1404)][e]=t[i(1592)]();else n[i(1243)]("BoxParser",i(1510))})),l[r(983)](r(1324),(function(t){var e,s,i,n,a=r;for(i=t.readUint32(),this[a(1048)]=[],e=0;e<i;e++){var o={};if(this.entries[e]=o,o[a(848)]=t[a(1600)](),o.subsamples=[],(n=t.readUint16())>0)for(s=0;s<n;s++){var h={};o[a(1110)][a(1386)](h),1==this[a(735)]?h[a(585)]=t.readUint32():h[a(585)]=t.readUint16(),h[a(1446)]=t[a(522)](),h.discardable=t[a(522)](),h[a(573)]=t[a(1600)]()}}})),l[r(983)](r(1387),(function(t){var e=r;if(t[e(522)](),0===this.version)t.readUint8();else{var s=t.readUint8();this[e(900)]=s>>4&15,this[e(922)]=15&s}this[e(953)]=t[e(522)](),this[e(624)]=t[e(522)](),this[e(677)]=l[e(1228)](t),1===this.default_isProtected&&0===this[e(624)]&&(this.default_constant_IV_size=t[e(522)](),this[e(1662)]=t[e(864)](this[e(1100)]))})),l[r(983)](r(950),(function(t){var e=r;1==this[e(735)]?this[e(1429)]=t[e(1642)]():this.baseMediaDecodeTime=t.readUint32()})),l[r(983)]("tfhd",(function(t){var e=r,s=0;this[e(752)]=t[e(1600)](),this[e(585)]-this[e(902)]>s&&this.flags&l[e(655)]?(this[e(830)]=t.readUint64(),s+=8):this[e(830)]=0,this[e(585)]-this[e(902)]>s&&this.flags&l[e(1057)]?(this[e(899)]=t[e(1600)](),s+=4):this.default_sample_description_index=0,this[e(585)]-this[e(902)]>s&&this.flags&l[e(634)]?(this[e(538)]=t[e(1600)](),s+=4):this[e(538)]=0,this[e(585)]-this.hdr_size>s&&this[e(488)]&l[e(567)]?(this[e(905)]=t.readUint32(),s+=4):this[e(905)]=0,this[e(585)]-this.hdr_size>s&&this.flags&l[e(851)]?(this[e(1644)]=t[e(1600)](),s+=4):this[e(1644)]=0})),l[r(983)](r(1292),(function(t){var e=r;this[e(1283)]=t.readUint32(),t[e(1467)]();var s=t.readUint8();this.length_size_of_traf_num=s>>4&3,this[e(476)]=s>>2&3,this.length_size_of_sample_num=3&s,this.entries=[];for(var i=t[e(1600)](),n=0;n<i;n++)1===this[e(735)]?(this[e(1588)]=t[e(1642)](),this.moof_offset=t[e(1642)]()):(this[e(1588)]=t[e(1600)](),this[e(1179)]=t[e(1600)]()),this[e(1620)]=t[e(1550)+8*(this[e(1415)]+1)](),this[e(544)]=t[e(1550)+8*(this[e(476)]+1)](),this[e(1046)]=t["readUint"+8*(this[e(1188)]+1)]()})),l[r(983)](r(836),(function(t){var e=r;1==this[e(735)]?(this[e(1470)]=t[e(1642)](),this.modification_time=t[e(1642)](),this[e(752)]=t.readUint32(),t.readUint32(),this[e(1039)]=t.readUint64()):(this.creation_time=t[e(1600)](),this[e(518)]=t[e(1600)](),this[e(752)]=t[e(1600)](),t.readUint32(),this[e(1039)]=t[e(1600)]()),t.readUint32Array(2),this.layer=t.readInt16(),this[e(1023)]=t[e(1264)](),this[e(933)]=t[e(1264)]()>>8,t.readUint16(),this[e(619)]=t.readInt32Array(9),this[e(898)]=t[e(1600)](),this[e(798)]=t[e(1600)]()})),l[r(927)](r(470),(function(t){var e=r;this[e(1588)]=t[e(1600)]()})),l[r(927)](r(1234),(function(t){var e=r;this[e(1588)]=t[e(1600)]()})),l[r(927)](r(514),(function(t){this[r(1081)]=t.readUint32()})),l[r(927)](r(666),(function(t){var e=r;this[e(1081)]=t[e(1600)]()})),l[r(927)](r(879),(function(t){var e=r;this.bytessent=t[e(1642)]()})),l[r(568)][r(976)].parse=function(t){var e=r;this[e(1084)](t),this[e(521)]=t.readUint32()},l[r(1590)]("msrc"),l.TrackReferenceTypeBox=function(t,e,s,i){var n=r;l[n(1354)].call(this,t,e),this[n(902)]=s,this[n(988)]=i},l.TrackReferenceTypeBox[r(976)]=new(l[r(1354)]),l[r(574)].prototype[r(1307)]=function(t){var e=r;this.track_ids=t.readUint32Array((this[e(585)]-this[e(902)])/4)},l[r(1358)][r(976)][r(1307)]=function(t){for(var e,s,i=r;t[i(1090)]()<this[i(988)]+this[i(585)];){if((e=l[i(1373)](t,!0,this[i(585)]-(t[i(1090)]()-this.start))).code!==l.OK)return;(s=new(l[i(574)])(e[i(1388)],e[i(585)],e[i(902)],e[i(988)]))[i(683)]===l[i(1354)][i(976)][i(683)]&&s.type!==i(1038)&&(n[i(1385)](i(1391),i(935)+s.type+" box writing not yet implemented, keeping unparsed data in memory for later write"),s[i(1661)](t)),s[i(1307)](t),this[i(652)][i(1386)](s)}},l[r(983)](r(751),(function(t){var e=r;for(this.track_ID=t[e(1600)](),this[e(652)]=[];t[e(1090)]()<this.start+this[e(585)];){if(ret=l[e(1373)](t,!1,this.size-(t[e(1090)]()-this[e(988)])),ret.code!==l.OK)return;box=ret.box,this[e(652)][e(1386)](box)}})),l[r(983)](r(1532),(function(t){var e=r;this[e(752)]=t[e(1600)](),this[e(899)]=t.readUint32(),this[e(538)]=t[e(1600)](),this[e(905)]=t.readUint32(),this[e(1644)]=t[e(1600)]()})),l[r(927)](r(1069),(function(t){var e=r;this[e(1081)]=t[e(1642)]()})),l[r(983)](r(621),(function(t){var e=r,s=0;if(this[e(736)]=t.readUint32(),s+=4,this[e(585)]-this[e(902)]>s&&this[e(488)]&l[e(572)]?(this.data_offset=t.readInt32(),s+=4):this[e(1503)]=0,this[e(585)]-this[e(902)]>s&&this[e(488)]&l[e(1382)]?(this.first_sample_flags=t[e(1600)](),s+=4):this[e(860)]=0,this[e(808)]=[],this.sample_size=[],this[e(1561)]=[],this[e(699)]=[],this[e(585)]-this.hdr_size>s)for(var i=0;i<this[e(736)];i++)this.flags&l[e(770)]&&(this[e(808)][i]=t[e(1600)]()),this[e(488)]&l[e(1210)]&&(this[e(971)][i]=t[e(1600)]()),this.flags&l.TRUN_FLAGS_FLAGS&&(this[e(1561)][i]=t[e(1600)]()),this[e(488)]&l[e(784)]&&(0===this[e(735)]?this.sample_composition_time_offset[i]=t[e(1600)]():this[e(699)][i]=t.readInt32())})),l[r(983)]("tsel",(function(t){var e=r;this.switch_group=t[e(1600)]();var s=(this[e(585)]-this[e(902)]-4)/4;this[e(1402)]=[];for(var i=0;i<s;i++)this[e(1402)][i]=t[e(1600)]()})),l[r(983)](r(819),(function(t){this[r(1597)]=t.readCString()})),l[r(983)](r(1416),(function(t){var e=r;1!==this.flags&&(this[e(719)]=t[e(797)]())})),l.createFullBoxCtor(r(1053),(function(t){var e=r;this[e(667)]=t[e(797)](),this[e(585)]-this[e(902)]-this[e(667)][e(1235)]-1>0&&(this[e(719)]=t[e(797)]())})),l.createUUIDBox(r(1490),!0,!1,(function(t){var e=r;this[e(1204)]=t.readString(this[e(585)]-this[e(902)])[e(1194)](/&/g,e(820)).replace(/</g,e(587))[e(1194)](/>/g,e(1595))[e(1194)](/"/g,e(1079))[e(1194)](/'/g,e(694))})),l[r(1456)](r(472),!0,!1,(function(t){var e=r;this[e(779)]=l[e(1228)](t);var s=t.readUint32();s>0&&(this[e(1524)]=t[e(864)](s))})),l.createUUIDBox("a2394f525a9b4f14a2446c427c648df4",!0,!1),l[r(1456)](r(687),!0,!1,(function(t){var e=r;this[e(1062)]=t[e(1467)](),this[e(1578)]=t[e(522)](),this[e(677)]=l.parseHex16(t)})),l.createUUIDBox("d4807ef2ca3946958e5426cb9e46a79f",!0,!1,(function(t){var e=r;this.fragment_count=t[e(522)](),this[e(1048)]=[];for(var s=0;s<this[e(960)];s++){var i={},n=0,a=0;1===this[e(735)]?(n=t[e(1642)](),a=t[e(1642)]()):(n=t[e(1600)](),a=t.readUint32()),i[e(795)]=n,i.absolute_duration=a,this[e(1048)].push(i)}})),l[r(1456)](r(1547),!0,!1,(function(t){var e=r;1===this[e(735)]?(this[e(795)]=t[e(1642)](),this[e(1039)]=t[e(1642)]()):(this[e(795)]=t[e(1600)](),this[e(1039)]=t.readUint32())})),l[r(983)](r(1549),(function(t){var e=r;this[e(778)]=t.readUint16(),this[e(1035)]=t[e(705)](3)})),l[r(983)](r(555),(function(t){var e,s=r;1===this.version?(this[s(926)]=t[s(522)](),this[s(1557)]=t[s(522)](),e=t.readUint8(),this[s(801)]=e>>4,this.chromaSubsampling=e>>1&7,this[s(1096)]=1&e,this.colourPrimaries=t[s(522)](),this.transferCharacteristics=t[s(522)](),this[s(1146)]=t[s(522)](),this[s(1274)]=t.readUint16(),this[s(1338)]=t[s(864)](this[s(1274)])):(this.profile=t.readUint8(),this[s(1557)]=t[s(522)](),e=t[s(522)](),this[s(801)]=e>>4&15,this[s(1488)]=15&e,e=t.readUint8(),this[s(775)]=e>>4&15,this[s(828)]=e>>1&7,this[s(1096)]=1&e,this.codecIntializationDataSize=t[s(1592)](),this[s(1338)]=t[s(864)](this.codecIntializationDataSize))})),l[r(927)](r(519),(function(t){var e=r;this[e(679)]=t.readString(this[e(585)]-this[e(902)])})),l.createFullBoxCtor("vvcC",(function(t){var e,s,i=r,n={held_bits:void 0,num_held_bits:0,stream_read_1_bytes:function(t){this[Ws(824)]=t.readUint8(),this.num_held_bits=8},stream_read_2_bytes:function(t){var e=Ws;this[e(824)]=t[e(1592)](),this.num_held_bits=16},extract_bits:function(t){var e=Ws,s=this[e(824)]>>this.num_held_bits-t&(1<<t)-1;return this[e(1012)]-=t,s}};if(n[i(1126)](t),n[i(1326)](5),this[i(1577)]=n.extract_bits(2),this[i(1639)]=n[i(1326)](1),this[i(1639)]){if(n[i(1311)](t),this[i(1061)]=n.extract_bits(9),this.num_sublayers=n[i(1326)](3),this[i(1632)]=n[i(1326)](2),this[i(614)]=n.extract_bits(2),n[i(1126)](t),this[i(582)]=n[i(1326)](3),n.extract_bits(5),n[i(1311)](t),n[i(1326)](2),this[i(945)]=n[i(1326)](6),this[i(1242)]=n[i(1326)](7),this[i(1390)]=n[i(1326)](1),this[i(1344)]=t[i(522)](),n[i(1126)](t),this[i(1301)]=n[i(1326)](1),this.ptl_multilayer_enabled_flag=n[i(1326)](1),this.general_constraint_info=new Uint8Array(this[i(945)]),this.num_bytes_constraint_info){for(e=0;e<this[i(945)]-1;e++){var a=n.extract_bits(6);n[i(1126)](t);var o=n[i(1326)](2);this.general_constraint_info[e]=a<<2|o}this[i(858)][this.num_bytes_constraint_info-1]=n[i(1326)](6)}else n[i(1326)](6);for(n[i(1126)](t),this[i(975)]=0,s=this.num_sublayers-2;s>=0;--s){var h=n.extract_bits(1);this[i(975)]|=h<<s}for(s=this[i(1115)];s<=8&&this[i(1115)]>1;++s)n.extract_bits(1);for(s=this[i(1115)]-2;s>=0;--s)this[i(975)]&1<<s&&(this[i(496)][s]=t[i(522)]());if(this[i(1654)]=t[i(522)](),this[i(1486)]=[],this.ptl_num_sub_profiles)for(e=0;e<this[i(1654)];e++)this.general_sub_profile_idc[i(1386)](t[i(1600)]());this[i(526)]=t[i(1592)](),this[i(1480)]=t[i(1592)](),this[i(1474)]=t[i(1592)]()}this[i(540)]=[];var c=t[i(522)]();for(e=0;e<c;e++){var u=[];this[i(540)].push(u),n.stream_read_1_bytes(t),u[i(740)]=n[i(1326)](1),n.extract_bits(2),u[i(1649)]=n[i(1326)](5);var l=1;for(13!=u[i(1649)]&&12!=u[i(1649)]&&(l=t[i(1592)]()),s=0;s<l;s++){var d=t[i(1592)]();u[i(1386)]({data:t[i(864)](d),length:d})}}})),l[r(983)](r(766),(function(t){var e=r,s=strm[e(522)]();this[e(1577)]=3&s})),l.SampleEntry[r(976)][r(1554)]=function(){return!1},l[r(1631)].prototype.isAudio=function(){return!1},l[r(1631)].prototype[r(646)]=function(){return!1},l[r(1631)].prototype[r(1141)]=function(){return!1},l[r(1631)][r(976)].isHint=function(){return!1},l.SampleEntry[r(976)].getCodec=function(){var t=r;return this.type[t(1194)](".","")},l[r(1631)][r(976)][r(746)]=function(){return""},l[r(1631)][r(976)][r(1342)]=function(){return""},l.SampleEntry[r(976)][r(1153)]=function(){return""},l[r(1631)][r(976)].getSampleRate=function(){return""},l[r(1631)].prototype[r(994)]=function(){return""},l[r(1383)].prototype[r(1554)]=function(){return!0},l.VisualSampleEntry[r(976)].getWidth=function(){return this.width},l[r(1383)][r(976)][r(1342)]=function(){return this[r(798)]},l.AudioSampleEntry.prototype[r(622)]=function(){return!0},l.AudioSampleEntry[r(976)].getChannelCount=function(){return this.channel_count},l[r(1067)][r(976)][r(821)]=function(){return this[r(651)]},l[r(1067)][r(976)].getSampleSize=function(){return this[r(584)]},l[r(815)][r(976)][r(646)]=function(){return!0},l.MetadataSampleEntry[r(976)][r(1141)]=function(){return!0},l[r(1574)]=function(t,e){var s=r,i=Number(t)[s(560)](16);for(e=typeof e===s(1083)||null===e?e=2:e;i.length<e;)i="0"+i;return i},l[r(1187)][r(976)][r(780)]=l[r(601)][r(976)][r(780)]=l[r(1481)][r(976)][r(780)]=l[r(656)][r(976)][r(780)]=function(){var t=r,e=l[t(1631)][t(976)][t(780)].call(this);return this[t(1447)]?e+"."+l[t(1574)](this[t(1447)].AVCProfileIndication)+l[t(1574)](this[t(1447)][t(796)])+l[t(1574)](this.avcC.AVCLevelIndication):e},l[r(1271)].prototype[r(780)]=l.hvc1SampleEntry.prototype.getCodec=function(){var t,e=r,s=l[e(1631)][e(976)][e(780)].call(this);if(this.hvcC){switch(s+=".",this[e(578)][e(1102)]){case 0:s+="";break;case 1:s+="A";break;case 2:s+="B";break;case 3:s+="C"}s+=this[e(578)][e(1242)],s+=".";var i=this[e(578)][e(1403)],n=0;for(t=0;t<32&&(n|=1&i,31!=t);t++)n<<=1,i>>=1;s+=l[e(1574)](n,0),s+=".",0===this.hvcC[e(1390)]?s+="L":s+="H",s+=this[e(578)][e(1344)];var a=!1,o="";for(t=5;t>=0;t--)(this.hvcC.general_constraint_indicator[t]||a)&&(o="."+l[e(1574)](this[e(578)][e(1599)][t],0)+o,a=!0);s+=o}return s},l[r(595)][r(976)][r(780)]=l[r(859)][r(976)].getCodec=function(){var t,e=r,s=l.SampleEntry[e(976)][e(780)][e(769)](this);if(this.vvcC){s+="."+this[e(583)][e(1242)],this[e(583)].general_tier_flag?s+=".H":s+=".L",s+=this.vvcC[e(1344)];var i="";if(this[e(583)][e(858)]){var n,a=[],o=0;for(o|=this.vvcC[e(1055)]<<7,o|=this[e(583)][e(1202)]<<6,t=0;t<this.vvcC[e(858)][e(1235)];++t)o|=this[e(583)][e(858)][t]>>2&63,a[e(1386)](o),o&&(n=t),o=this[e(583)][e(858)][t]>>2&3;if(void 0===n)i=".CA";else{i=".C";var h=e(1060),c=0,u=0;for(t=0;t<=n;++t)for(c=c<<8|a[t],u+=8;u>=5;){i+=h[c>>u-5&31],c&=(1<<(u-=5))-1}u&&(i+=h[31&(c<<=5-u)])}}s+=i}return s},l.mp4aSampleEntry.prototype[r(780)]=function(){var t=r,e=l[t(1631)].prototype[t(780)][t(769)](this);if(this[t(688)]&&this[t(688)][t(1017)]){var s=this[t(688)].esd[t(1327)](),i=this[t(688)][t(1017)][t(1128)]();return e+"."+l[t(1574)](s)+(i?"."+i:"")}return e},l[r(1527)].prototype[r(780)]=function(){var t=r,e=l[t(1631)][t(976)][t(780)].call(this);return this[t(1229)]?e+"."+this[t(1229)]:e},l[r(706)].prototype[r(780)]=l[r(1114)][r(976)][r(780)]=function(){var t=r,e=l[t(1631)].prototype[t(780)][t(769)](this),s=this[t(555)][t(1557)];0==s&&(s="00");var i=this[t(555)].bitDepth;return 8==i&&(i="08"),e+".0"+this[t(555)].profile+"."+s+"."+i},l[r(1159)][r(976)].getCodec=function(){var t,e=r,s=l[e(1631)][e(976)][e(780)][e(769)](this),i=this[e(923)][e(1419)];return i<10&&(i="0"+i),2===this.av1C.seq_profile&&1===this.av1C[e(672)]?t=1===this.av1C[e(849)]?"12":"10":this[e(923)].seq_profile<=2&&(t=1===this[e(923)].high_bitdepth?"10":"08"),s+"."+this[e(923)][e(649)]+"."+i+(this[e(923)][e(1485)]?"H":"M")+"."+t},l[r(1354)][r(976)].writeHeader=function(t,e){var s=r;this.size+=8,this.size>h&&(this[s(585)]+=8),this.type===s(981)&&(this[s(585)]+=16),n[s(1466)]("BoxWriter",s(1552)+this[s(1388)]+s(571)+this.size+s(1065)+t.getPosition()+(e||"")),this[s(585)]>h?t[s(1011)](1):(this.sizePosition=t[s(1090)](),t[s(1011)](this[s(585)])),t[s(1509)](this[s(1388)],null,4),this[s(1388)]===s(981)&&t[s(723)](this[s(981)]),this.size>h&&t[s(708)](this[s(585)])},l[r(916)].prototype[r(641)]=function(t){var e=r;this[e(585)]+=4,l.Box[e(976)].writeHeader[e(769)](this,t,e(914)+this[e(735)]+e(1409)+this[e(488)]),t.writeUint8(this[e(735)]),t[e(941)](this.flags)},l[r(1354)][r(976)][r(683)]=function(t){var e=r;"mdat"===this[e(1388)]?this[e(1524)]&&(this.size=this[e(1524)][e(1235)],this[e(641)](t),t.writeUint8Array(this.data)):(this[e(585)]=this[e(1524)]?this[e(1524)][e(1235)]:0,this.writeHeader(t),this[e(1524)]&&t[e(723)](this[e(1524)]))},l[r(1093)][r(976)][r(683)]=function(t){var e=r;this[e(585)]=0,this[e(641)](t);for(var s=0;s<this[e(652)][e(1235)];s++)this[e(652)][s]&&(this[e(652)][s][e(683)](t),this[e(585)]+=this[e(652)][s][e(585)]);n.debug(e(1320),"Adjusting box "+this[e(1388)]+" with new size "+this[e(585)]),t[e(1397)](this.sizePosition,this.size)},l[r(574)][r(976)][r(683)]=function(t){var e=r;this[e(585)]=4*this[e(1616)][e(1235)],this[e(641)](t),t.writeUint32Array(this.track_ids)},l[r(528)].prototype[r(683)]=function(t){var e,s=r;for(this[s(585)]=7,e=0;e<this[s(956)][s(1235)];e++)this.size+=2+this[s(956)][e][s(1235)];for(e=0;e<this[s(1224)][s(1235)];e++)this.size+=2+this[s(1224)][e][s(1235)];for(this[s(800)]&&(this[s(585)]+=this[s(800)][s(1235)]),this[s(641)](t),t[s(989)](this[s(1144)]),t[s(989)](this.AVCProfileIndication),t[s(989)](this[s(796)]),t[s(989)](this[s(1075)]),t[s(989)](this[s(1577)]+252),t[s(989)](this[s(956)].length+224),e=0;e<this.SPS[s(1235)];e++)t.writeUint16(this[s(956)][e].length),t[s(723)](this[s(956)][e][s(1553)]);for(t[s(989)](this[s(1224)][s(1235)]),e=0;e<this[s(1224)][s(1235)];e++)t.writeUint16(this[s(1224)][e][s(1235)]),t.writeUint8Array(this[s(1224)][e][s(1553)]);this.ext&&t[s(723)](this[s(800)])},l[r(1244)][r(976)][r(683)]=function(t){var e,s=r;for(this[s(735)]=0,this[s(488)]=0,this.size=4+8*this.chunk_offsets[s(1235)],this.writeHeader(t),t.writeUint32(this.chunk_offsets[s(1235)]),e=0;e<this.chunk_offsets.length;e++)t[s(708)](this[s(895)][e])},l[r(565)].prototype.write=function(t){var e=r;this[e(735)]=0,this[e(488)]=0,this[e(585)]=20,this[e(641)](t),t[e(1493)](this[e(1018)]),t[e(1493)](this[e(1063)]),t.writeInt32(this[e(1476)]),t[e(1493)](this.compositionStartTime),t[e(1493)](this[e(919)])},l[r(1399)][r(976)][r(683)]=function(t){var e,s=r;for(this.version=0,this.flags=0,this[s(585)]=4+8*this[s(1389)][s(1235)],this[s(641)](t),t[s(1011)](this[s(1389)].length),e=0;e<this[s(1389)].length;e++)t.writeUint32(this[s(1389)][e]),1===this.version?t[s(1493)](this[s(1200)][e]):t[s(1011)](this.sample_offsets[e])},l.drefBox.prototype[r(683)]=function(t){var e=r;this.version=0,this[e(488)]=0,this[e(585)]=4,this.writeHeader(t),t[e(1011)](this[e(1048)].length);for(var s=0;s<this[e(1048)][e(1235)];s++)this[e(1048)][s][e(683)](t),this.size+=this.entries[s][e(585)];n.debug(e(1320),e(776)+this[e(1388)]+" with new size "+this.size),t[e(1397)](this[e(893)],this[e(585)])},l[r(1407)][r(976)].write=function(t){var e=r;this[e(735)]=0,this[e(488)]=0,this[e(585)]=this[e(1010)].length,this[e(641)](t),t[e(1509)](this[e(1010)])},l[r(477)][r(976)][r(683)]=function(t){var e=r;this[e(735)]=0,this[e(488)]=0,this.size=4+12*this[e(1048)].length,this[e(641)](t),t[e(1011)](this.entries[e(1235)]);for(var s=0;s<this[e(1048)][e(1235)];s++){var i=this[e(1048)][s];t[e(1011)](i.segment_duration),t[e(1493)](i.media_time),t[e(1516)](i[e(1581)]),t[e(1516)](i[e(1068)])}},l[r(1251)].prototype[r(683)]=function(t){var e=r;this[e(735)]=0,this[e(488)]=0,this[e(585)]=16+this[e(610)][e(1235)]+(this[e(1556)][e(1235)]+1)+(this[e(1594)][e(1235)]+1),this[e(641)](t),t[e(885)](this[e(1556)]),t[e(885)](this[e(1594)]),t[e(1011)](this[e(1117)]),t.writeUint32(this[e(1318)]),t.writeUint32(this.event_duration),t[e(1011)](this.id),t.writeUint8Array(this.message_data)},l[r(1033)].prototype.write=function(t){var e=r;this[e(585)]=8+4*this[e(1602)][e(1235)],this[e(641)](t),t[e(1509)](this[e(929)],null,4),t.writeUint32(this[e(805)]);for(var s=0;s<this[e(1602)][e(1235)];s++)t[e(1509)](this.compatible_brands[s],null,4)},l[r(777)][r(976)][r(683)]=function(t){var e=r;this.size=20+this.name[e(1235)]+1,this[e(735)]=0,this.flags=0,this[e(641)](t),t.writeUint32(0),t.writeString(this[e(671)],null,4),t[e(1011)](0),t[e(1011)](0),t.writeUint32(0),t[e(885)](this[e(667)])},l[r(698)][r(976)].write=function(t){var e=r;this[e(735)]=0,this[e(488)]=0,this.size=this[e(1364)].length+1+(this[e(1594)][e(1235)]+1),this[e(641)](t),t[e(885)](this[e(1364)]),t[e(885)](this.value)},l[r(788)][r(976)].write=function(t){var e=r;this[e(585)]=20,this[e(488)]=0,this.version=0,this[e(641)](t),t[e(1011)](this[e(1470)]),t[e(1011)](this[e(518)]),t.writeUint32(this[e(1117)]),t.writeUint32(this[e(1039)]),t.writeUint16(this[e(1237)]),t[e(577)](0)},l[r(814)][r(976)][r(683)]=function(t){var e=r;this[e(735)]=0,this[e(488)]=0,this[e(585)]=4,this[e(641)](t),t[e(1011)](this.fragment_duration)},l[r(716)].prototype[r(683)]=function(t){var e=r;this[e(735)]=0,this.flags=0,this[e(585)]=4,this[e(641)](t),t[e(1011)](this[e(1306)])},l[r(1630)][r(976)][r(683)]=function(t){var e=r;this[e(735)]=0,this[e(488)]=0,this[e(585)]=96,this[e(641)](t),t[e(1011)](this[e(1470)]),t.writeUint32(this[e(518)]),t[e(1011)](this[e(1117)]),t[e(1011)](this[e(1039)]),t[e(1011)](this[e(974)]),t[e(577)](this[e(933)]<<8),t[e(577)](0),t.writeUint32(0),t[e(1011)](0),t[e(1137)](this[e(619)]),t[e(1011)](0),t[e(1011)](0),t[e(1011)](0),t[e(1011)](0),t[e(1011)](0),t[e(1011)](0),t[e(1011)](this.next_track_id)},l[r(1631)][r(976)].writeHeader=function(t){var e=r;this[e(585)]=8,l[e(1354)].prototype.writeHeader.call(this,t),t[e(989)](0),t[e(989)](0),t[e(989)](0),t[e(989)](0),t[e(989)](0),t[e(989)](0),t[e(577)](this[e(1223)])},l[r(1631)][r(976)][r(1143)]=function(t){for(var e=r,s=0;s<this[e(652)].length;s++)this[e(652)][s].write(t),this[e(585)]+=this[e(652)][s][e(585)];n[e(1466)]("BoxWriter",e(776)+this.type+" with new size "+this[e(585)]),t[e(1397)](this.sizePosition,this[e(585)])},l[r(1631)][r(976)].write=function(t){var e=r;this[e(641)](t),t.writeUint8Array(this[e(1524)]),this[e(585)]+=this[e(1524)][e(1235)],n[e(1466)](e(1320),"Adjusting box "+this[e(1388)]+e(1328)+this[e(585)]),t[e(1397)](this.sizePosition,this.size)},l[r(1383)][r(976)].write=function(t){var e=r;this.writeHeader(t),this.size+=70,t[e(577)](0),t[e(577)](0),t[e(1011)](0),t[e(1011)](0),t[e(1011)](0),t[e(577)](this[e(898)]),t[e(577)](this.height),t[e(1011)](this[e(1236)]),t[e(1011)](this[e(1442)]),t[e(1011)](0),t[e(577)](this.frame_count),t.writeUint8(Math.min(31,this[e(562)].length)),t.writeString(this[e(562)],null,31),t[e(577)](this.depth),t.writeInt16(-1),this[e(1143)](t)},l.AudioSampleEntry[r(976)][r(683)]=function(t){var e=r;this[e(641)](t),this[e(585)]+=20,t[e(1011)](0),t[e(1011)](0),t[e(577)](this.channel_count),t[e(577)](this[e(584)]),t[e(577)](0),t[e(577)](0),t[e(1011)](this[e(651)]<<16),this[e(1143)](t)},l.stppSampleEntry[r(976)][r(683)]=function(t){var e=r;this[e(641)](t),this.size+=this[e(1207)][e(1235)]+1+this[e(1284)].length+1+this[e(1108)][e(1235)]+1,t.writeCString(this[e(1207)]),t[e(885)](this[e(1284)]),t[e(885)](this.auxiliary_mime_types),this[e(1143)](t)},l[r(903)][r(976)][r(683)]=function(t){t[r(723)](this.data)},l.sbgpBox[r(976)][r(683)]=function(t){var e=r;this[e(735)]=1,this[e(488)]=0,this[e(585)]=12+8*this.entries[e(1235)],this[e(641)](t),t[e(1509)](this[e(1558)],null,4),t.writeUint32(this[e(840)]),t[e(1011)](this[e(1048)][e(1235)]);for(var s=0;s<this.entries.length;s++){var i=this[e(1048)][s];t.writeInt32(i[e(736)]),t[e(1493)](i[e(1346)])}},l[r(1591)][r(976)].write=function(t){var e,s,i=r;for(this.flags=0,this.size=12,e=0;e<this.entries.length;e++)s=this[i(1048)][e],1===this[i(735)]&&(0===this[i(1531)]&&(this[i(585)]+=4),this[i(585)]+=s[i(1524)][i(1235)]);for(this.writeHeader(t),t[i(1509)](this.grouping_type,null,4),1===this.version&&t[i(1011)](this[i(1531)]),this[i(735)]>=2&&t[i(1011)](this.default_sample_description_index),t[i(1011)](this.entries[i(1235)]),e=0;e<this[i(1048)][i(1235)];e++)s=this[i(1048)][e],1===this[i(735)]&&0===this[i(1531)]&&t[i(1011)](s.description_length),s[i(683)](t)},l[r(1515)][r(976)][r(683)]=function(t){var e=r;this[e(735)]=0,this[e(488)]=0,this[e(585)]=20+12*this[e(711)][e(1235)],this[e(641)](t),t[e(1011)](this[e(853)]),t[e(1011)](this[e(1117)]),t[e(1011)](this.earliest_presentation_time),t[e(1011)](this[e(1113)]),t[e(577)](0),t.writeUint16(this[e(711)][e(1235)]);for(var s=0;s<this[e(711)][e(1235)];s++){var i=this[e(711)][s];t[e(1011)](i.reference_type<<31|i[e(1457)]),t[e(1011)](i[e(654)]),t[e(1011)](i.starts_with_SAP<<31|i.SAP_type<<28|i[e(892)])}},l[r(636)].prototype[r(683)]=function(t){var e=r;this[e(735)]=0,this[e(488)]=1,this[e(585)]=4,this.writeHeader(t),t[e(577)](this[e(934)]),t[e(577)](0)},l[r(1133)][r(976)].write=function(t){var e=r;this[e(735)]=0,this[e(488)]=0,this[e(585)]=4+4*this[e(895)][e(1235)],this[e(641)](t),t[e(1011)](this[e(895)].length),t[e(1137)](this.chunk_offsets)},l[r(1180)].prototype[r(683)]=function(t){var e,s=r;for(this[s(735)]=0,this[s(488)]=0,this[s(585)]=4+12*this[s(982)][s(1235)],this.writeHeader(t),t.writeUint32(this[s(982)][s(1235)]),e=0;e<this[s(982)][s(1235)];e++)t[s(1011)](this[s(982)][e]),t[s(1011)](this[s(1265)][e]),t.writeUint32(this[s(768)][e])},l[r(1245)][r(976)].write=function(t){var e,s=r;for(this[s(735)]=0,this[s(488)]=0,this[s(585)]=0,this[s(641)](t),t.writeUint32(this[s(1048)].length),this[s(585)]+=4,e=0;e<this[s(1048)][s(1235)];e++)this[s(1048)][e][s(683)](t),this.size+=this.entries[e].size;n.debug(s(1320),"Adjusting box "+this[s(1388)]+s(1328)+this.size),t[s(1397)](this[s(893)],this[s(585)])},l[r(533)][r(976)][r(683)]=function(t){var e,s=r;for(this[s(735)]=0,this[s(488)]=0,this.size=4+8*this[s(1116)][s(1235)],this[s(641)](t),t[s(1011)](this[s(1116)].length),e=0;e<this.shadowed_sample_numbers[s(1235)];e++)t[s(1011)](this[s(1116)][e]),t.writeUint32(this[s(590)][e])},l[r(1149)][r(976)][r(683)]=function(t){var e=r;this[e(735)]=0,this.flags=0,this[e(585)]=4+4*this.sample_numbers[e(1235)],this.writeHeader(t),t.writeUint32(this.sample_numbers[e(1235)]),t[e(1137)](this[e(1145)])},l.stszBox[r(976)][r(683)]=function(t){var e,s=r,i=!0;if(this[s(735)]=0,this.flags=0,this.sample_sizes[s(1235)]>0)for(e=0;e+1<this[s(1404)].length;){if(this[s(1404)][e+1]!==this[s(1404)][0]){i=!1;break}e++}else i=!1;this[s(585)]=8,!i&&(this[s(585)]+=4*this[s(1404)][s(1235)]),this.writeHeader(t),i?t.writeUint32(this[s(1404)][0]):t[s(1011)](0),t[s(1011)](this[s(1404)][s(1235)]),!i&&t.writeUint32Array(this[s(1404)])},l[r(506)][r(976)][r(683)]=function(t){var e,s=r;for(this[s(735)]=0,this.flags=0,this[s(585)]=4+8*this[s(1389)].length,this[s(641)](t),t[s(1011)](this[s(1389)][s(1235)]),e=0;e<this[s(1389)][s(1235)];e++)t[s(1011)](this[s(1389)][e]),t[s(1011)](this[s(1410)][e])},l[r(894)][r(976)].write=function(t){var e=r,s=Math[e(1303)](2,32)-1;this[e(735)]=this.baseMediaDecodeTime>s?1:0,this[e(488)]=0,this[e(585)]=4,1===this.version&&(this[e(585)]+=4),this[e(641)](t),1===this[e(735)]?t[e(708)](this[e(1429)]):t[e(1011)](this.baseMediaDecodeTime)},l[r(1545)][r(976)][r(683)]=function(t){var e=r;this[e(735)]=0,this[e(585)]=4,this[e(488)]&l.TFHD_FLAG_BASE_DATA_OFFSET&&(this[e(585)]+=8),this[e(488)]&l[e(1057)]&&(this[e(585)]+=4),this[e(488)]&l[e(634)]&&(this[e(585)]+=4),this[e(488)]&l[e(567)]&&(this[e(585)]+=4),this[e(488)]&l[e(851)]&&(this[e(585)]+=4),this.writeHeader(t),t[e(1011)](this[e(752)]),this[e(488)]&l.TFHD_FLAG_BASE_DATA_OFFSET&&t[e(708)](this[e(830)]),this.flags&l[e(1057)]&&t[e(1011)](this[e(899)]),this[e(488)]&l[e(634)]&&t.writeUint32(this[e(538)]),this[e(488)]&l[e(567)]&&t.writeUint32(this[e(905)]),this[e(488)]&l[e(851)]&&t[e(1011)](this.default_sample_flags)},l[r(1421)][r(976)][r(683)]=function(t){var e=r;this.version=0,this.size=80,this[e(641)](t),t[e(1011)](this.creation_time),t.writeUint32(this[e(518)]),t[e(1011)](this[e(752)]),t[e(1011)](0),t.writeUint32(this[e(1039)]),t[e(1011)](0),t[e(1011)](0),t[e(1516)](this[e(1259)]),t[e(1516)](this.alternate_group),t[e(1516)](this[e(933)]<<8),t.writeUint16(0),t[e(469)](this[e(619)]),t[e(1011)](this[e(898)]),t[e(1011)](this[e(798)])},l[r(1015)][r(976)][r(683)]=function(t){var e=r;this[e(735)]=0,this.flags=0,this[e(585)]=20,this[e(641)](t),t[e(1011)](this[e(752)]),t[e(1011)](this[e(899)]),t[e(1011)](this[e(538)]),t[e(1011)](this[e(905)]),t[e(1011)](this.default_sample_flags)},l[r(1430)][r(976)][r(683)]=function(t){var e=r;this.version=0,this.size=4,this[e(488)]&l.TRUN_FLAGS_DATA_OFFSET&&(this[e(585)]+=4),this[e(488)]&l[e(1382)]&&(this[e(585)]+=4),this[e(488)]&l.TRUN_FLAGS_DURATION&&(this[e(585)]+=4*this.sample_duration[e(1235)]),this.flags&l[e(1210)]&&(this.size+=4*this[e(971)][e(1235)]),this.flags&l[e(1628)]&&(this.size+=4*this.sample_flags[e(1235)]),this[e(488)]&l.TRUN_FLAGS_CTS_OFFSET&&(this[e(585)]+=4*this[e(699)][e(1235)]),this.writeHeader(t),t[e(1011)](this.sample_count),this[e(488)]&l.TRUN_FLAGS_DATA_OFFSET&&(this[e(1250)]=t[e(1090)](),t.writeInt32(this.data_offset)),this.flags&l[e(1382)]&&t[e(1011)](this[e(860)]);for(var s=0;s<this[e(736)];s++)this.flags&l.TRUN_FLAGS_DURATION&&t[e(1011)](this[e(808)][s]),this.flags&l.TRUN_FLAGS_SIZE&&t[e(1011)](this.sample_size[s]),this[e(488)]&l[e(1628)]&&t.writeUint32(this.sample_flags[s]),this[e(488)]&l[e(784)]&&(0===this[e(735)]?t.writeUint32(this[e(699)][s]):t[e(1493)](this[e(699)][s]))},l["url Box"][r(976)][r(683)]=function(t){var e=r;this[e(735)]=0,this[e(719)]?(this[e(488)]=0,this.size=this.location[e(1235)]+1):(this.flags=1,this.size=0),this.writeHeader(t),this[e(719)]&&t[e(885)](this[e(719)])},l[r(781)][r(976)][r(683)]=function(t){var e=r;this[e(735)]=0,this.flags=0,this.size=this.name.length+1+(this[e(719)]?this[e(719)][e(1235)]+1:0),this[e(641)](t),t.writeCString(this.name),this.location&&t.writeCString(this.location)},l[r(1261)][r(976)][r(683)]=function(t){var e=r;this.version=0,this.flags=1,this.size=8,this[e(641)](t),t[e(577)](this[e(778)]),t[e(682)](this.opcolor)},l[r(1399)].prototype[r(909)]=function(t){var e,s,i,n=r;for(i=0,e=0;e<this[n(1389)][n(1235)];e++)for(s=0;s<this.sample_counts[e];s++)t[i][n(904)]=t[i][n(871)]+this[n(1200)][e],i++},l[r(506)][r(976)].unpack=function(t){var e,s,i,n=r;for(i=0,e=0;e<this[n(1389)][n(1235)];e++)for(s=0;s<this.sample_counts[e];s++)0===i?t[i][n(871)]=0:t[i].dts=t[i-1][n(871)]+this[n(1410)][e],i++},l[r(1133)].prototype[r(909)]=function(t){var e,s=r;for(e=0;e<this[s(895)][s(1235)];e++)t[e][s(985)]=this[s(895)][e]},l[r(1180)][r(976)][r(909)]=function(t){var e,s,i,n,a,o=r;for(n=0,a=0,e=0;e<this.first_chunk[o(1235)];e++)for(s=0;s<(e+1<this[o(982)].length?this.first_chunk[e+1]:1/0);s++)for(a++,i=0;i<this[o(1265)][e];i++){if(!t[n])return;t[n][o(1163)]=this[o(768)][e],t[n][o(1025)]=a,n++}},l[r(1584)][r(976)][r(909)]=function(t){var e,s=r;for(e=0;e<this[s(1404)][s(1235)];e++)t[e].size=this.sample_sizes[e]},l[r(1150)]=[r(652),"entries",r(711),r(1110),r(517),"item_infos",r(541),"associations","subsegments",r(1529),r(857),r(947),r(1017),"levels"],l[r(1469)]=[r(1602),"matrix",r(1035),"sample_counts","sample_counts",r(1410),r(982),r(1265),r(1404),r(895),r(1200),"sample_description_index",r(808)],l.boxEqualFields=function(t,e){var s,i=r;if(t&&!e)return!1;for(s in t)if(!(l.DIFF_BOXES_PROP_NAMES[i(1196)](s)>-1||t[s]instanceof l[i(1354)]||e[s]instanceof l[i(1354)]||void 0===t[s]||typeof e[s]===i(1083)||typeof t[s]===i(684)||typeof e[s]===i(684)||t[i(516)]&&t[i(516)][i(1196)](s.slice(0,4))>-1||e[i(516)]&&e[i(516)].indexOf(s[i(1514)](0,4))>-1||s===i(1524)||s===i(988)||"size"===s||s===i(1470)||"modification_time"===s||l.DIFF_PRIMITIVE_ARRAY_PROP_NAMES[i(1196)](s)>-1||t[s]===e[s]))return!1;return!0},l.boxEqual=function(t,e){var s=r;if(!l[s(1335)](t,e))return!1;for(var i=0;i<l[s(1150)].length;i++){var n=l[s(1150)][i];if(t[n]&&e[n]&&!l.boxEqual(t[n],e[n]))return!1}return!0};var d=function(){};d[r(976)][r(1525)]=function(t){var e,s,i=r,n=new a(t[i(913)]);for(e=[];!n[i(1586)]();)(s=l[i(1373)](n,!1))[i(1544)]===l.OK&&"vttc"===s[i(731)][i(1388)]&&e[i(1386)](s.box);return e},d.prototype[r(771)]=function(t,e,s){var i=r;function n(t,e,s){var i=Ws;return s=s||"0",(t+="").length>=e?t:new Array(e-t[i(1235)]+1)[i(630)](s)+t}function a(t){var e=Ws,s=Math[e(1621)](t/3600),i=Math[e(1621)]((t-3600*s)/60),r=Math.floor(t-3600*s-60*i),a=Math[e(1621)](1e3*(t-3600*s-60*i-r));return n(s,2)+":"+n(i,2)+":"+n(r,2)+"."+n(a,3)}for(var o=this[i(1525)](s),h="",c=0;c<o[i(1235)];c++){var u=o[c];h+=a(t)+i(1374)+a(e)+"\r\n",h+=u[i(799)][i(679)]}return h};var f=function(){};f.prototype[r(1525)]=function(t){var e,s=r,i={};i[s(937)]=[];var n=new a(t[s(1524)][s(913)]);if(t[s(1110)]&&0!==t[s(1110)].length){if(i[s(1174)]=n[s(1120)](t.subsamples[0].size),t[s(1110)][s(1235)]>1)for(e=1;e<t[s(1110)][s(1235)];e++)i[s(937)][e]=n[s(864)](t.subsamples[e][s(585)])}else i.documentString=n[s(1120)](t.data[s(1235)]);return typeof DOMParser!==s(1083)&&(i.document=(new DOMParser)[s(1612)](i[s(1174)],s(1268))),i};var p=function(){};p[r(976)][r(1525)]=function(t){var e=r;return new a(t.data[e(913)])[e(1120)](t[e(1524)][e(1235)])},p.prototype[r(908)]=function(t){var e=r,s=new a(t.buffer);return s.readUint32(),s[e(797)]()},r(1372)!==r(1083)&&(e[r(1433)]=f,e[r(1112)]=p);var m=function(t){var e=r;this[e(1472)]=t||new c,this[e(652)]=[],this.mdats=[],this[e(1396)]=[],this[e(1484)]=!1,this[e(946)]=!1,this[e(658)]=null,this.moovStartSent=!1,this[e(604)]=null,this[e(825)]=!1,this[e(1606)]=null,this[e(1393)]=null,this[e(1605)]=null,this[e(1617)]=!1,this[e(1333)]=[],this[e(657)]=[],this.isFragmentationInitialized=!1,this[e(1160)]=!1,this[e(884)]=0,this.itemListBuilt=!1,this[e(1177)]=null,this.sidxSent=!1};m[r(976)][r(607)]=function(t,e,s){var i=r,n=this[i(618)](t);if(n){var a={};this[i(1333)][i(1386)](a),a.id=t,a[i(1169)]=e,a[i(1513)]=n,n[i(1562)]=0,a[i(1461)]=null,a[i(1582)]=1e3,a[i(1583)]=!0,s&&(s.nbSamples&&(a[i(1582)]=s[i(613)]),s[i(1583)]&&(a[i(1583)]=s.rapAlignement))}},m[r(976)][r(1214)]=function(t){for(var e=r,s=-1,i=0;i<this[e(1333)][e(1235)];i++){this[e(1333)][i].id==t&&(s=i)}s>-1&&this.fragmentedTracks[e(1071)](s,1)},m[r(976)][r(886)]=function(t,e,s){var i=r,n=this[i(618)](t);if(n){var a={};this.extractedTracks.push(a),a.id=t,a[i(1169)]=e,a[i(1513)]=n,n.nextSample=0,a[i(1582)]=1e3,a[i(1463)]=[],s&&s[i(613)]&&(a.nb_samples=s.nbSamples)}},m.prototype.unsetExtractionOptions=function(t){for(var e=r,s=-1,i=0;i<this[e(657)].length;i++){this[e(657)][i].id==t&&(s=i)}s>-1&&this[e(657)][e(1071)](s,1)},m[r(976)][r(1307)]=function(){var t,e,s=r;if(!this[s(1452)]||this.restoreParsePosition())for(;;){if(this.hasIncompleteMdat&&this[s(773)]()){if(this[s(901)]())continue;return}if(this[s(1258)]&&this.saveParsePosition(),(t=l[s(1373)](this.stream,false))[s(1544)]===l[s(580)]){if(this.processIncompleteBox){if(this[s(685)](t))continue;return}return}var i;switch(i=(e=t[s(731)])[s(1388)]!==s(981)?e[s(1388)]:e[s(981)],this.boxes.push(e),i){case s(1038):this[s(558)][s(1386)](e);break;case s(592):this[s(1396)][s(1386)](e);break;case s(1247):this[s(946)]=!0,0===this.mdats[s(1235)]&&(this[s(1484)]=!0);default:void 0!==this[i]&&n[s(1608)](s(889),s(663)+i+s(1576)),this[i]=e}this[s(1441)]&&this[s(1441)](e,t)}},m[r(976)][r(1613)]=function(t){var e=r;if(null==t)throw e(1413);if(void 0===t[e(504)])throw e(575);return 0===t[e(1352)]?(n[e(1608)](e(889),e(626)+t[e(504)]+")"),this[e(1472)][e(1230)](),!1):(n[e(1385)](e(889),e(1121)+t[e(504)]+")"),t[e(485)]=0,this[e(1472)][e(1443)](t),this[e(1472)][e(1230)](),!!this.stream[e(809)]()||(n[e(1608)](e(889),e(497)),!1))},m[r(976)][r(1241)]=function(t,e){var s,i=r;if(this[i(1613)](t))return this[i(1307)](),this[i(946)]&&!this[i(1199)]&&(this[i(1199)]=!0,this[i(658)]&&this.onMoovStart()),this[i(1247)]?(!this[i(1617)]&&(this[i(1319)](),this[i(1617)]=!0),this[i(1077)](),this[i(604)]&&!this[i(825)]&&(this[i(825)]=!0,this.onReady(this.getInfo())),this.processSamples(e),this[i(473)]?(s=this[i(473)],this[i(473)]=void 0):s=this[i(942)],this[i(1472)][i(1438)]&&(s=this[i(1472)][i(1438)](s))):s=this[i(942)]?this[i(942)]:0,this[i(1008)]&&this.onSidx&&!this[i(729)]&&(this[i(1177)](this[i(1008)]),this[i(729)]=!0),this[i(873)]&&(this.flattenItemInfo&&!this[i(545)]&&(this.flattenItemInfo(),this[i(545)]=!0),this.processItems&&this.processItems(this[i(1254)])),this[i(1472)][i(603)]&&(n[i(1385)](i(889),i(1426)+t[i(504)]+") - next buffer to fetch should have a fileStart position of "+s),this[i(1472)].logBufferLevel(),this.stream[i(603)](),this[i(1472)].logBufferLevel(!0),n[i(1385)](i(889),i(631)+this.getAllocatedSampleDataSize())),s},m[r(976)][r(744)]=function(){var t,e,s,i,n,a,o=r,h={},c=new Date("1904-01-01T00:00:00Z")[o(1315)]();if(this[o(1247)])for(h[o(806)]=!0,h[o(1039)]=this[o(1247)].mvhd.duration,h[o(1117)]=this.moov[o(703)][o(1117)],h[o(1098)]=null!=this[o(1247)][o(782)],h[o(1098)]&&this[o(1247)][o(782)][o(1657)]&&(h[o(1192)]=this[o(1247)][o(782)][o(1657)][o(1192)]),h.isProgressive=this[o(1484)],h[o(594)]=null!=this[o(1247)][o(570)],h[o(1448)]=[],h[o(1448)][o(1386)](this[o(992)][o(929)]),h[o(1448)]=h[o(1448)][o(968)](this[o(992)][o(1602)]),h[o(721)]=new Date(c+1e3*this[o(1247)].mvhd[o(1470)]),h[o(1603)]=new Date(c+1e3*this[o(1247)].mvhd[o(518)]),h[o(615)]=[],h.audioTracks=[],h[o(936)]=[],h[o(792)]=[],h[o(1408)]=[],h[o(1379)]=[],h[o(868)]=[],t=0;t<this[o(1247)][o(494)][o(1235)];t++){if(a=(s=this[o(1247)][o(494)][t])[o(668)].minf[o(625)][o(803)][o(1048)][0],i={},h[o(615)][o(1386)](i),i.id=s[o(836)].track_id,i[o(667)]=s.mdia[o(958)][o(667)],i[o(711)]=[],s.tref)for(e=0;e<s[o(1201)][o(652)][o(1235)];e++)n={},i[o(711)][o(1386)](n),n.type=s[o(1201)][o(652)][e].type,n.track_ids=s[o(1201)][o(652)][e][o(1616)];s[o(1473)]&&(i.edits=s[o(1473)][o(1211)][o(1048)]),i[o(721)]=new Date(c+1e3*s[o(836)][o(1470)]),i.modified=new Date(c+1e3*s[o(836)][o(518)]),i[o(1334)]=s[o(836)][o(1039)],i[o(1064)]=h.timescale,i[o(1259)]=s[o(836)][o(1259)],i[o(1023)]=s[o(836)][o(1023)],i[o(933)]=s.tkhd[o(933)],i[o(619)]=s[o(836)][o(619)],i[o(1610)]=s.tkhd[o(898)]/65536,i[o(964)]=s.tkhd.height/65536,i.timescale=s[o(668)].mdhd[o(1117)],i[o(759)]=s[o(668)][o(1633)].stbl[o(1392)],i[o(1039)]=s.mdia[o(1596)][o(1039)],i[o(1101)]=s[o(1101)],i[o(1006)]=a[o(780)](),i.kind=s.udta&&s[o(1255)][o(704)].length?s[o(1255)][o(704)][0]:{schemeURI:"",value:""},i[o(1237)]=s[o(668)].elng?s[o(668)][o(1203)][o(1010)]:s[o(668)][o(1596)][o(755)],i[o(1582)]=s.samples[o(1235)],i[o(585)]=s[o(1377)],i[o(1652)]=8*i[o(585)]*i[o(1117)]/i.samples_duration,a.isAudio()?(i[o(1388)]=o(1518),h[o(1276)].push(i),i[o(1518)]={},i[o(1518)][o(552)]=a[o(821)](),i[o(1518)][o(1124)]=a[o(1153)](),i[o(1518)][o(971)]=a.getSampleSize()):a.isVideo()?(i[o(1388)]=o(1641),h[o(936)][o(1386)](i),i[o(1641)]={},i[o(1641)][o(898)]=a[o(746)](),i[o(1641)][o(798)]=a[o(1342)]()):a[o(646)]()?(i[o(1388)]=o(1190),h.subtitleTracks[o(1386)](i)):a[o(1498)]()?(i.type="metadata",h[o(1379)][o(1386)](i)):a[o(1141)]()?(i[o(1388)]=o(925),h[o(1408)][o(1386)](i)):(i[o(1388)]="metadata",h[o(868)].push(i))}else h[o(806)]=!1;if(h[o(1091)]="",h[o(806)]&&h.tracks){for(h[o(936)]&&h.videoTracks[o(1235)]>0?h.mime+=o(774):h[o(1276)]&&h.audioTracks[o(1235)]>0?h[o(1091)]+=o(1123):h[o(1091)]+='application/mp4; codecs="',t=0;t<h[o(615)][o(1235)];t++)0!==t&&(h[o(1091)]+=","),h[o(1091)]+=h.tracks[t][o(1006)];h.mime+='"; profiles="',h.mime+=this[o(992)][o(1602)][o(630)](),h[o(1091)]+='"'}return h},m[r(976)][r(930)]=function(t){var e,s,i=r;if(this.sampleProcessingStarted){if(this.isFragmentationInitialized&&null!==this[i(1606)])for(e=0;e<this[i(1333)][i(1235)];e++){var a=this.fragmentedTracks[e];for(s=a[i(1513)];s[i(1562)]<s[i(1463)].length&&this[i(1160)];){n.debug(i(889),i(1233)+a.id+i(1523)+s.nextSample);var o=this[i(1021)](a.id,s[i(1562)],a[i(1461)]);if(!o)break;if(a[i(1461)]=o,s.nextSample++,(s[i(1562)]%a[i(1582)]==0||t||s[i(1562)]>=s[i(1463)][i(1235)])&&(n.info(i(889),i(1051)+a.id+i(1507)+Math[i(1312)](0,s[i(1562)]-a[i(1582)])+","+(s[i(1562)]-1)+"]"),n[i(1385)](i(889),"Sample data size in memory: "+this[i(1533)]()),this.onSegment&&this[i(1606)](a.id,a[i(1169)],a[i(1461)][i(913)],s[i(1562)],t||s[i(1562)]>=s[i(1463)][i(1235)]),a[i(1461)]=null,a!==this[i(1333)][e]))break}}if(null!==this[i(1393)])for(e=0;e<this[i(657)][i(1235)];e++){var h=this[i(657)][e];for(s=h.trak;s[i(1562)]<s.samples[i(1235)]&&this[i(1160)];){n[i(1466)](i(889),"Exporting on track #"+h.id+i(1559)+s[i(1562)]);var c=this[i(576)](s,s[i(1562)]);if(!c)break;if(s.nextSample++,h[i(1463)][i(1386)](c),(s[i(1562)]%h.nb_samples==0||s.nextSample>=s.samples[i(1235)])&&(n[i(1466)](i(889),i(734)+h.id+i(1523)+s[i(1562)]),this.onSamples&&this[i(1393)](h.id,h[i(1169)],h[i(1463)]),h[i(1463)]=[],h!==this[i(657)][e]))break}}}},m[r(976)][r(1422)]=function(t){var e=r,s=this[e(1565)](t,!0);return s[e(1235)]?s[0]:null},m[r(976)][r(1565)]=function(t,e){var s=[];return m[r(480)].call(this,t,s,e),s},m[r(480)]=function(t,e,s){var i=r;for(var n in this[i(1388)]&&this.type==t&&e[i(1386)](this),this[i(652)]){if(e[i(1235)]&&s)return;m[i(480)][i(769)](this[i(652)][n],t,e,s)}},m[r(976)][r(1401)]=function(t){var e=r,s=this.getTrackById(t);return s?s[e(1463)]:void 0},m[r(976)][r(907)]=function(t,e){var s=r,i=this[s(618)](t);return this[s(576)](i,e)},m[r(976)][r(507)]=function(t,e){var s=r,i=0,a=this[s(618)](t);a[s(1468)]||(a[s(1468)]=0);for(var o=a[s(1468)];o<e;o++)i+=this[s(1648)](a,o);n[s(1385)]("ISOFile",s(1205)+t+s(967)+e+s(963)+i+s(1458)+this[s(997)]+")"),a[s(1468)]=e},m[r(976)][r(988)]=function(){var t=r;this.sampleProcessingStarted=!0,this[t(930)](!1)},m[r(976)][r(1645)]=function(){this[r(1160)]=!1},m.prototype[r(1660)]=function(){var t=r;n[t(1385)](t(889),t(737)),this[t(1077)](),this[t(930)](!0),this[t(1472)][t(603)](),this[t(1472)][t(1230)](!0)},m[r(976)][r(762)]=function(t,e,s){var i,a,o,h,c=r,u=0,l=0;if(0===s[c(1463)].length)return n[c(1385)](c(889),c(1287)+n.getDurationString(0,1)+c(1431)+0),{offset:0,time:0};for(i=0;i<s.samples[c(1235)];i++){if(a=s[c(1463)][i],0===i)l=0,h=a[c(1117)];else if(a[c(1152)]>t*a[c(1117)]){l=i-1;break}e&&a.is_sync&&(u=i)}for(e&&(l=u),t=s[c(1463)][l][c(1152)],s[c(1562)]=l;s[c(1463)][l][c(965)]===s.samples[l][c(585)]&&s.samples[l+1];)l++;return o=s.samples[l].offset+s[c(1463)][l].alreadyRead,n.info(c(889),"Seeking to "+(e?"RAP":"")+c(1559)+s[c(1562)]+" on track "+s[c(836)].track_id+", time "+n.getDurationString(t,h)+" and offset: "+o),{offset:o,time:t/h}},m[r(976)][r(1e3)]=function(t,e){var s,i,a,o=r,h=this[o(1247)],c={offset:1/0,time:1/0};if(this[o(1247)]){for(a=0;a<h[o(494)][o(1235)];a++)s=h.traks[a],(i=this[o(762)](t,e,s))[o(985)]<c[o(985)]&&(c[o(985)]=i.offset),i[o(1588)]<c[o(1588)]&&(c[o(1588)]=i[o(1588)]);return n.info("ISOFile",o(520)+n[o(827)](c.time,1)+" needs a buffer with a fileStart position of "+c[o(985)]),c.offset===1/0?c={offset:this[o(942)],time:0}:c[o(985)]=this[o(1472)][o(1438)](c.offset),n[o(1385)](o(889),o(1095)+c[o(985)]),c}throw o(1428)},m[r(976)][r(505)]=function(t){for(var e=r,s=0;s<this[e(652)][e(1235)]&&s<t[e(652)][e(1235)];){var i=this[e(652)][s],n=t[e(652)][s];if(!l.boxEqual(i,n))return!1;s++}return!0},r(1372)!==r(1083)&&(e[r(889)]=m),m[r(976)][r(495)]=0,m[r(976)].parsingMdat=null,m[r(976)].nextParsePosition=0,m[r(976)][r(877)]=!1,m.prototype[r(685)]=function(t){var e,s=r;return t[s(1388)]===s(1038)?(e=new(l[t.type+s(1354)])(t.size),this.parsingMdat=e,this[s(652)].push(e),this[s(558)][s(1386)](e),e[s(988)]=t[s(988)],e.hdr_size=t.hdr_size,this.stream[s(602)](e[s(902)]),this[s(495)]=e[s(988)]+e.size,this[s(1472)].seek(e[s(988)]+e.size,!1,this[s(877)])?(this[s(725)]=null,!0):(this[s(946)]?this[s(942)]=this[s(1472)][s(890)]():this[s(942)]=e[s(988)]+e.size,!1)):(t.type===s(1247)&&(this[s(946)]=!0,0===this[s(558)][s(1235)]&&(this[s(1484)]=!0)),!!this.stream.mergeNextBuffer&&this[s(1472)][s(557)]()?(this[s(942)]=this[s(1472)].getEndPosition(),!0):(t[s(1388)]?this[s(946)]?this[s(942)]=this[s(1472)][s(896)]():this.nextParsePosition=this.stream.getPosition()+t[s(585)]:this[s(942)]=this.stream[s(896)](),!1))},m[r(976)][r(773)]=function(){return null!==this[r(725)]},m[r(976)][r(901)]=function(){var t,e=r;return t=this[e(725)],this[e(1472)].seek(t.start+t.size,!1,this[e(877)])?(n[e(1466)]("ISOFile",e(701)),this[e(725)]=null,!0):(this.nextParsePosition=this[e(1472)].findEndContiguousBuf(),!1)},m[r(976)][r(1452)]=function(){var t=r;return this[t(1472)][t(1e3)](this.lastBoxStartPosition,!0,this.discardMdatData)},m.prototype[r(1258)]=function(){var t=r;this[t(495)]=this[t(1472)][t(1090)]()},m[r(976)][r(1441)]=function(t,e){var s=r;this.stream.addUsedBytes&&(t.type===s(1038)?(this[s(1472)][s(602)](t.hdr_size),this[s(877)]&&this[s(1472)][s(602)](t[s(585)]-t[s(902)])):this.stream[s(602)](t.size))},m[r(976)][r(1134)]=l[r(1354)][r(976)][r(1134)],m.prototype[r(1313)]=l[r(1354)][r(976)].addBox,m[r(976)][r(1173)]=function(t){var e=r,s=t||{};this[e(1134)]("ftyp")[e(1619)](e(929),s[e(1448)]&&s[e(1448)][0]||e(606))[e(1619)]("minor_version",0)[e(1619)](e(1602),s[e(1448)]||[e(606)]);var i=this.add(e(1247));return i[e(1134)](e(703))[e(1619)](e(1117),s[e(1117)]||600)[e(1619)](e(974),s[e(974)]||65536)[e(1619)](e(1470),0)[e(1619)](e(518),0)[e(1619)](e(1039),s[e(1039)]||0).set(e(933),s[e(898)]?0:256)[e(1619)]("matrix",[65536,0,0,0,65536,0,0,0,1073741824])[e(1619)]("next_track_id",1),i[e(1134)]("mvex"),this},m[r(976)][r(637)]=function(t){var e=r;!this[e(1247)]&&this[e(1173)](t);var s=t||{};s[e(898)]=s[e(898)]||320,s[e(798)]=s.height||320,s.id=s.id||this[e(1247)][e(703)][e(629)],s[e(1388)]=s.type||"avc1";var i=this[e(1247)].add(e(1513));this[e(1247)].mvhd[e(629)]=s.id+1,i.add(e(836))[e(1619)]("flags",l[e(1444)]|l[e(1477)]|l[e(501)])[e(1619)]("creation_time",0)[e(1619)]("modification_time",0).set(e(752),s.id)[e(1619)](e(1039),s.duration||0)[e(1619)](e(1259),s.layer||0)[e(1619)](e(1023),0)[e(1619)](e(933),1)[e(1619)](e(619),[0,0,0,0,0,0,0,0,0])[e(1619)]("width",s[e(898)]<<16)[e(1619)](e(798),s.height<<16);var n=i[e(1134)](e(668));n[e(1134)](e(1596))[e(1619)]("creation_time",0)[e(1619)](e(518),0)[e(1619)]("timescale",s[e(1117)]||1)[e(1619)](e(1039),s[e(1182)]||0)[e(1619)](e(1237),s[e(1237)]||"und"),n[e(1134)](e(958)).set("handler",s[e(958)]||"vide")[e(1619)](e(667),s[e(667)]||e(757)),n[e(1134)](e(1203)).set("extended_language",s[e(1237)]||e(969));var o=n[e(1134)]("minf");if(void 0!==l[s[e(1388)]+e(1631)]){var h=new(l[s[e(1388)]+e(1631)]);h[e(1223)]=1;var c="";for(var u in l[e(1462)])for(var d=l.sampleEntryCodes[u],f=0;f<d[e(1235)];f++)if(d[e(1196)](s[e(1388)])>-1){c=u;break}switch(c){case e(511):if(o.add(e(1549))[e(1619)](e(778),0).set("opcolor",[0,0,0]),h.set(e(898),s[e(898)])[e(1619)]("height",s[e(798)])[e(1619)]("horizresolution",72<<16)[e(1619)](e(1442),72<<16)[e(1619)](e(1106),1)[e(1619)]("compressorname",s[e(1388)]+e(1575)).set(e(802),24),s[e(484)]){var p=new(l[e(528)]),m=new a(s[e(484)]);p[e(1307)](m),h[e(1313)](p)}break;case e(1238):o[e(1134)](e(1185))[e(1619)](e(934),s.balance||0),h[e(1619)](e(1124),s[e(1124)]||2)[e(1619)](e(584),s[e(584)]||16)[e(1619)]("samplerate",s.samplerate||65536);break;case e(543):o[e(1134)](e(1119));break;case e(940):if(o[e(1134)]("sthd"),"stpp"===s.type)h.set(e(1207),s.namespace||e(1278)).set(e(1284),s.schema_location||"")[e(1619)]("auxiliary_mime_types",s[e(1108)]||"");break;case e(861):o[e(1134)]("nmhd");break;case e(1650):o.add("nmhd");break;default:o.add(e(1517))}s[e(503)]&&h[e(1313)](s[e(503)]),s.description_boxes&&s[e(739)].forEach((function(t){h.addBox(t)})),o[e(1134)](e(1526)).add(e(1299))[e(817)]((new(l[e(1536)]))[e(1619)]("flags",1));var _=o[e(1134)](e(625));return _[e(1134)](e(803))[e(817)](h),_[e(1134)](e(1451))[e(1619)]("sample_counts",[])[e(1619)]("sample_deltas",[]),_[e(1134)](e(1279))[e(1619)](e(982),[]).set("samples_per_chunk",[])[e(1619)](e(768),[]),_[e(1134)](e(1158)).set(e(895),[]),_.add(e(987))[e(1619)]("sample_sizes",[]),this[e(1247)][e(782)][e(1134)](e(1532))[e(1619)]("track_id",s.id)[e(1619)](e(899),s[e(899)]||1)[e(1619)](e(538),s.default_sample_duration||0)[e(1619)]("default_sample_size",s.default_sample_size||0)[e(1619)](e(1644),s.default_sample_flags||0),this.buildTrakSampleLists(i),s.id}},l[r(1354)].prototype[r(1109)]=function(t){var e=r,s=t||new o;s.endianness=o[e(692)],this[e(683)](s)},m[r(976)][r(1070)]=function(t,e,s){var i=r,n=s||{},a={},o=this[i(618)](t);if(null!==o){a[i(1567)]=o[i(1463)][i(1235)],a.track_id=o.tkhd[i(752)],a[i(1117)]=o[i(668)][i(1596)][i(1117)],a[i(1163)]=n[i(768)]?n[i(768)]-1:0,a[i(503)]=o[i(668)][i(1633)].stbl[i(803)].entries[a[i(1163)]],a[i(1524)]=e,a[i(585)]=e[i(1352)],a[i(965)]=a.size,a[i(1039)]=n.duration||1,a[i(1152)]=n[i(1152)]||0,a.dts=n[i(871)]||0,a[i(1148)]=n[i(1148)]||!1,a[i(855)]=n.is_leading||0,a[i(690)]=n[i(690)]||0,a[i(1321)]=n.is_depended_on||0,a[i(906)]=n[i(906)]||0,a[i(951)]=n.degradation_priority||0,a[i(985)]=0,a[i(1110)]=n.subsamples,o[i(1463)][i(1386)](a),o[i(1377)]+=a[i(585)],o[i(1101)]+=a[i(1039)],!o[i(1425)]&&(o[i(1425)]=n[i(871)]),this[i(930)]();var h=this[i(1611)](a);return this[i(1313)](h),h[i(1109)](),h.trafs[0][i(1282)][0].data_offset=h.size+8,this[i(1134)](i(1038))[i(1524)]=new Uint8Array(e),a}},m.prototype.createSingleSampleMoof=function(t){var e=r,s=0;s=t[e(1148)]?1<<25:65536;var i=new(l[e(611)]);i[e(1134)](e(661))[e(1619)](e(1306),this[e(884)]),this[e(884)]++;var n=i[e(1134)](e(529)),a=this.getTrackById(t[e(752)]);return n[e(1134)](e(1495))[e(1619)](e(752),t.track_id)[e(1619)](e(488),l[e(1217)]),n[e(1134)]("tfdt")[e(1619)](e(1429),t[e(871)]-(a[e(1425)]||0)),n[e(1134)](e(621)).set(e(488),l[e(572)]|l.TRUN_FLAGS_DURATION|l[e(1210)]|l[e(1628)]|l[e(784)])[e(1619)](e(1503),0).set(e(860),0)[e(1619)]("sample_count",1).set(e(808),[t.duration]).set(e(971),[t[e(585)]])[e(1619)](e(1561),[s])[e(1619)](e(699),[t[e(1152)]-t[e(871)]]),i},m[r(976)].lastMoofIndex=0,m[r(976)][r(997)]=0,m[r(976)].resetTables=function(){var t,e,s,i,n,a,o=r;for(this.initial_duration=this[o(1247)][o(703)][o(1039)],this[o(1247)][o(703)][o(1039)]=0,t=0;t<this[o(1247)].traks[o(1235)];t++){(e=this[o(1247)].traks[t])[o(836)][o(1039)]=0,e[o(668)][o(1596)].duration=0,(e[o(668)][o(1633)][o(625)][o(1158)]||e[o(668)][o(1633)].stbl[o(832)])[o(895)]=[],(s=e.mdia[o(1633)][o(625)].stsc)[o(982)]=[],s.samples_per_chunk=[],s[o(768)]=[],(e.mdia[o(1633)][o(625)].stsz||e[o(668)][o(1633)].stbl[o(834)])[o(1404)]=[],(i=e.mdia[o(1633)][o(625)].stts)[o(1389)]=[],i[o(1410)]=[],(n=e.mdia.minf[o(625)].ctts)&&(n[o(1389)]=[],n.sample_offsets=[]),a=e.mdia[o(1633)].stbl[o(1317)];var h=e[o(668)].minf.stbl.boxes[o(1196)](a);-1!=h&&(e.mdia[o(1633)][o(625)][o(652)][h]=null)}},m.initSampleGroups=function(t,e,s,i,n){var a,o,h,c,u=r;function l(t,e,s){var i=Ws;this[i(1558)]=t,this.grouping_type_parameter=e,this[i(826)]=s,this[i(793)]=-1,this[i(535)]=-1}for(e&&(e.sample_groups_info=[]),!t.sample_groups_info&&(t[u(842)]=[]),o=0;o<s.length;o++){for(c=s[o][u(1558)]+"/"+s[o][u(840)],h=new l(s[o][u(1558)],s[o].grouping_type_parameter,s[o]),e&&(e.sample_groups_info[c]=h),!t[u(842)][c]&&(t[u(842)][c]=h),a=0;a<i.length;a++)i[a][u(1558)]===s[o][u(1558)]&&(h[u(503)]=i[a],h[u(503)][u(1522)]=!0);if(n)for(a=0;a<n.length;a++)n[a][u(1558)]===s[o][u(1558)]&&(h.fragment_description=n[a],h.fragment_description[u(1522)]=!0,h[u(489)]=!0)}if(e){if(n)for(o=0;o<n[u(1235)];o++)!n[o].used&&n[o][u(735)]>=2&&(c=n[o][u(1558)]+"/0",(h=new l(n[o][u(1558)],0))[u(489)]=!0,!e.sample_groups_info[c]&&(e.sample_groups_info[c]=h))}else for(o=0;o<i.length;o++)!i[o].used&&i[o].version>=2&&(c=i[o][u(1558)]+"/0",h=new l(i[o][u(1558)],0),!t[u(842)][c]&&(t.sample_groups_info[c]=h))},m.setSampleGroupProperties=function(t,e,s,i){var n,a,o=r;for(n in e[o(1131)]=[],i){var h;if(e[o(1131)][n]={},e.sample_groups[n][o(1558)]=i[n].grouping_type,e[o(1131)][n][o(840)]=i[n][o(840)],s>=i[n][o(793)]&&(i[n].last_sample_in_run<0&&(i[n][o(793)]=0),i[n][o(535)]++,i[n][o(535)]<=i[n].sbgp[o(1048)].length-1&&(i[n][o(793)]+=i[n][o(826)][o(1048)][i[n].entry_index][o(736)])),i[n][o(535)]<=i[n][o(826)].entries.length-1?e[o(1131)][n][o(1346)]=i[n][o(826)][o(1048)][i[n][o(535)]][o(1346)]:e[o(1131)][n].group_description_index=-1,0!==e[o(1131)][n].group_description_index)h=i[n][o(1280)]?i[n].fragment_description:i[n][o(503)],e[o(1131)][n][o(1346)]>0?(a=e[o(1131)][n][o(1346)]>65535?(e[o(1131)][n][o(1346)]>>16)-1:e[o(1131)][n].group_description_index-1,h&&a>=0&&(e[o(1131)][n].description=h[o(1048)][a])):h&&h.version>=2&&h[o(727)]>0&&(e.sample_groups[n][o(503)]=h.entries[h[o(727)]-1])}},m[r(1231)]=function(t,e,s){var i=r;e&&(t?(e[i(855)]=t[i(855)][s],e[i(690)]=t.sample_depends_on[s],e[i(1321)]=t.sample_is_depended_on[s],e.has_redundancy=t.sample_has_redundancy[s]):(e[i(855)]=0,e[i(690)]=0,e.is_depended_on=0,e[i(906)]=0))},m[r(976)][r(1319)]=function(){var t,e,s=r;for(t=0;t<this.moov[s(494)][s(1235)];t++)e=this[s(1247)][s(494)][t],this[s(593)](e)},m.prototype[r(593)]=function(t){var e,s,i,n,a,o,h,c,u,l,d,f,p,_,g,y,v,b,I,S,w,A,T,E,k=r;if(t[k(1463)]=[],t.samples_duration=0,t[k(1377)]=0,s=t.mdia[k(1633)].stbl[k(1158)]||t[k(668)][k(1633)].stbl[k(832)],i=t[k(668)].minf[k(625)].stsc,n=t.mdia[k(1633)].stbl.stsz||t.mdia[k(1633)][k(625)].stz2,a=t[k(668)].minf[k(625)][k(1451)],o=t[k(668)].minf.stbl.ctts,h=t[k(668)].minf[k(625)].stss,c=t.mdia.minf.stbl[k(803)],u=t[k(668)][k(1633)][k(625)][k(1324)],f=t.mdia.minf[k(625)][k(1489)],l=t[k(668)].minf[k(625)][k(674)],d=t[k(668)][k(1633)][k(625)].sgpds,b=-1,I=-1,S=-1,w=-1,A=0,T=0,E=0,m.initSampleGroups(t,null,l,d),typeof n!==k(1083)){for(e=0;e<n[k(1404)][k(1235)];e++){var x={};x[k(1567)]=e,x.track_id=t[k(836)].track_id,x[k(1117)]=t[k(668)][k(1596)].timescale,x[k(965)]=0,t.samples[e]=x,x[k(585)]=n[k(1404)][e],t.samples_size+=x[k(585)],0===e?(_=1,p=0,x[k(1025)]=_,x[k(1607)]=p,v=i[k(1265)][p],y=0,g=p+1<i[k(982)][k(1235)]?i.first_chunk[p+1]-1:1/0):e<v?(x.chunk_index=_,x[k(1607)]=p):(_++,x.chunk_index=_,y=0,_<=g||(g=++p+1<i[k(982)][k(1235)]?i.first_chunk[p+1]-1:1/0),x.chunk_run_index=p,v+=i[k(1265)][p]),x[k(1163)]=i[k(768)][x[k(1607)]]-1,x[k(503)]=c[k(1048)][x[k(1163)]],x[k(985)]=s[k(895)][x.chunk_index-1]+y,y+=x[k(585)],e>b&&(I++,b<0&&(b=0),b+=a[k(1389)][I]),e>0?(t[k(1463)][e-1][k(1039)]=a[k(1410)][I],t[k(1101)]+=t[k(1463)][e-1].duration,x[k(871)]=t[k(1463)][e-1][k(871)]+t.samples[e-1].duration):x[k(871)]=0,o?(e>=S&&(w++,S<0&&(S=0),S+=o[k(1389)][w]),x[k(1152)]=t[k(1463)][e][k(871)]+o[k(1200)][w]):x[k(1152)]=x[k(871)],h?(e==h[k(1145)][A]-1?(x[k(1148)]=!0,A++):(x[k(1148)]=!1,x[k(951)]=0),u&&u[k(1048)][T].sample_delta+E==e+1&&(x[k(1110)]=u[k(1048)][T][k(1110)],E+=u.entries[T][k(848)],T++)):x[k(1148)]=!0,m.process_sdtp(t[k(668)][k(1633)][k(625)][k(863)],x,x[k(1567)]),f?x[k(951)]=f.priority[e]:x.degradation_priority=0,u&&u[k(1048)][T][k(848)]+E==e&&(x.subsamples=u[k(1048)][T][k(1110)],E+=u[k(1048)][T][k(848)]),(l[k(1235)]>0||d.length>0)&&m[k(1540)](t,x,e,t[k(842)])}e>0&&(t.samples[e-1][k(1039)]=Math.max(t[k(668)][k(1596)].duration-t.samples[e-1][k(871)],0),t[k(1101)]+=t[k(1463)][e-1][k(1039)])}},m[r(976)][r(1077)]=function(){var t,e,s,i,n,a,o,h,c,u,d,f,p,_,g,y=r;if(void 0!==this[y(1247)])for(;this.lastMoofIndex<this[y(1396)][y(1235)];)if(c=this[y(1396)][this[y(1139)]],this.lastMoofIndex++,c[y(1388)]==y(592))for(u=c,t=0;t<u[y(1183)].length;t++){for(d=u.trafs[t],f=this[y(618)](d[y(1495)][y(752)]),p=this[y(1206)](d[y(1495)][y(752)]),i=d[y(1495)][y(488)]&l[y(1057)]?d[y(1495)][y(899)]:p?p.default_sample_description_index:1,n=d[y(1495)][y(488)]&l.TFHD_FLAG_SAMPLE_DUR?d[y(1495)][y(538)]:p?p.default_sample_duration:0,a=d.tfhd[y(488)]&l.TFHD_FLAG_SAMPLE_SIZE?d.tfhd[y(905)]:p?p[y(905)]:0,o=d[y(1495)].flags&l.TFHD_FLAG_SAMPLE_FLAGS?d.tfhd[y(1644)]:p?p[y(1644)]:0,d[y(1046)]=0,d.sbgps[y(1235)]>0&&m[y(650)](f,d,d.sbgps,f.mdia[y(1633)][y(625)][y(579)],d[y(579)]),e=0;e<d[y(1282)][y(1235)];e++){var v=d[y(1282)][e];for(s=0;s<v[y(736)];s++){(_={})[y(1538)]=this.lastMoofIndex,_.number_in_traf=d[y(1046)],d.sample_number++,_[y(1567)]=f.samples.length,d[y(598)]=f[y(1463)][y(1235)],f[y(1463)][y(1386)](_),_.track_id=f.tkhd[y(752)],_[y(1117)]=f[y(668)][y(1596)][y(1117)],_[y(1163)]=i-1,_.description=f[y(668)][y(1633)][y(625)][y(803)][y(1048)][_[y(1163)]],_[y(585)]=a,v.flags&l.TRUN_FLAGS_SIZE&&(_[y(585)]=v[y(971)][s]),f[y(1377)]+=_[y(585)],_[y(1039)]=n,v.flags&l.TRUN_FLAGS_DURATION&&(_[y(1039)]=v.sample_duration[s]),f[y(1101)]+=_[y(1039)],f[y(1570)]||s>0?_[y(871)]=f[y(1463)][f[y(1463)][y(1235)]-2][y(871)]+f[y(1463)][f[y(1463)][y(1235)]-2][y(1039)]:(d[y(950)]?_[y(871)]=d[y(950)][y(1429)]:_[y(871)]=0,f.first_traf_merged=!0),_[y(1152)]=_[y(871)],v.flags&l[y(784)]&&(_[y(1152)]=_.dts+v[y(699)][s]),g=o,v[y(488)]&l[y(1628)]?g=v[y(1561)][s]:0===s&&v[y(488)]&l[y(1382)]&&(g=v[y(860)]),_[y(1148)]=!(g>>16&1),_[y(855)]=g>>26&3,_[y(690)]=g>>24&3,_[y(1321)]=g>>22&3,_[y(906)]=g>>20&3,_[y(951)]=65535&g;var b=!!(d[y(1495)][y(488)]&l[y(655)]),I=!!(d[y(1495)][y(488)]&l[y(1217)]),S=!!(v[y(488)]&l[y(572)]),w=0;w=b?d.tfhd[y(830)]:I||0===e?u[y(988)]:h,0===e&&0===s?S?_.offset=w+v[y(1503)]:_[y(985)]=w:_[y(985)]=h,h=_[y(985)]+_[y(585)],(d[y(674)].length>0||d[y(579)].length>0||f[y(668)][y(1633)].stbl[y(674)][y(1235)]>0||f[y(668)][y(1633)][y(625)][y(579)][y(1235)]>0)&&m[y(1540)](f,_,_.number_in_traf,d[y(842)])}}if(d.subs){f.has_fragment_subsamples=!0;var A=d[y(598)];for(e=0;e<d[y(1324)].entries[y(1235)];e++)A+=d[y(1324)][y(1048)][e][y(848)],(_=f.samples[A-1])[y(1110)]=d[y(1324)][y(1048)][e][y(1110)]}}},m[r(976)].getSample=function(t,e){var s,i=r,a=t.samples[e];if(!this[i(1247)])return null;if(a[i(1524)]){if(a[i(965)]==a[i(585)])return a}else a[i(1524)]=new Uint8Array(a[i(585)]),a[i(965)]=0,this[i(997)]+=a[i(585)],n.debug(i(889),i(1239)+e+i(1066)+t.tkhd[i(752)]+i(1281)+a[i(585)]+i(966)+this[i(997)]+")");for(;;){var h=this[i(1472)][i(1363)](!0,a[i(985)]+a[i(965)],!1);if(!(h>-1))return null;var c=(s=this[i(1472)][i(1178)][h])[i(1352)]-(a.offset+a[i(965)]-s[i(504)]);if(a[i(585)]-a[i(965)]<=c)return n[i(1466)](i(889),"Getting sample #"+e+i(1640)+a[i(965)]+i(749)+(a.offset+a.alreadyRead-s[i(504)])+i(531)+(a.size-a[i(965)])+i(1222)+a[i(585)]+")"),o[i(1154)](a.data[i(913)],a[i(965)],s,a[i(985)]+a.alreadyRead-s[i(504)],a[i(585)]-a[i(965)]),s.usedBytes+=a[i(585)]-a.alreadyRead,this.stream[i(1230)](),a[i(965)]=a[i(585)],a;if(0===c)return null;n[i(1466)](i(889),i(972)+e+i(794)+a[i(965)]+i(749)+(a[i(985)]+a[i(965)]-s[i(504)])+i(531)+c+i(1222)+a[i(585)]+")"),o[i(1154)](a[i(1524)][i(913)],a[i(965)],s,a[i(985)]+a.alreadyRead-s[i(504)],c),a[i(965)]+=c,s.usedBytes+=c,this[i(1472)][i(1230)]()}},m[r(976)][r(1648)]=function(t,e){var s=r,i=t[s(1463)][e];return i.data?(this[s(997)]-=i.size,i[s(1524)]=null,i[s(965)]=0,i[s(585)]):0},m[r(976)][r(1533)]=function(){return this[r(997)]},m.prototype[r(1193)]=function(){var t,e=r,s="";for(t=0;t<this.moov.traks[e(1235)];t++){t>0&&(s+=","),s+=this[e(1247)].traks[t].mdia[e(1633)][e(625)][e(803)][e(1048)][0][e(780)]()}return s},m[r(976)][r(1206)]=function(t){var e,s=r;if(!this.moov||!this[s(1247)].mvex)return null;for(e=0;e<this[s(1247)][s(782)][s(1028)][s(1235)];e++){var i=this.moov[s(782)][s(1028)][e];if(i.track_id==t)return i}return null},m.prototype[r(618)]=function(t){var e=r;if(void 0===this[e(1247)])return null;for(var s=0;s<this.moov[e(494)].length;s++){var i=this[e(1247)][e(494)][s];if(i.tkhd[e(752)]==t)return i}return null},m[r(976)].items=[],m[r(976)][r(461)]=0,m[r(976)][r(1445)]=function(){var t,e,s,i=r,a=this.items,o=this[i(873)];if(null!=o&&void 0!==o[i(958)]&&void 0!==o[i(478)]){for(t=0;t<o.iinf[i(559)][i(1235)];t++)(s={}).id=o.iinf[i(559)][t].item_ID,a[s.id]=s,s[i(959)]=[],s[i(667)]=o[i(478)][i(559)][t].item_name,o[i(478)][i(559)][t][i(1497)]>0&&(s[i(660)]=o[i(1170)][i(845)][o[i(478)][i(559)][t][i(1497)]-1]),o[i(478)][i(559)][t][i(1001)]?s[i(1388)]=o.iinf.item_infos[t][i(1001)]:s[i(1388)]="mime",s[i(1099)]=o[i(478)][i(559)][t][i(1099)],s[i(804)]=o[i(478)].item_infos[t][i(804)];if(o[i(917)])for(t=0;t<o[i(917)][i(517)][i(1235)];t++){var h=o[i(917)][i(517)][t];switch(s=a[h.item_ID],0!==h[i(1223)]&&(n[i(1608)](i(1277)),s[i(596)]=o[i(1526)].boxes[h[i(1223)]-1]),h[i(1138)]){case 0:break;case 1:n[i(1608)](i(1487));break;case 2:n[i(1608)]("Item storage with construction_method : not supported")}for(s[i(541)]=[],s[i(585)]=0,e=0;e<h[i(541)].length;e++)s.extents[e]={},s.extents[e][i(985)]=h[i(541)][e].extent_offset+h[i(955)],s.extents[e][i(1235)]=h[i(541)][e][i(680)],s[i(541)][e][i(965)]=0,s[i(585)]+=s.extents[e][i(1235)]}if(o.pitm&&(a[o[i(1248)][i(612)]].primary=!0),o.iref)for(t=0;t<o[i(760)][i(711)][i(1235)];t++){var c=o.iref[i(711)][t];for(e=0;e<c[i(711)][i(1235)];e++)a[c.from_item_ID][i(959)][i(1386)]({type:c[i(1388)],id:c.references[e]})}if(o[i(911)])for(var u=0;u<o.iprp[i(502)][i(1235)];u++){var l=o[i(911)][i(502)][u];for(t=0;t<l.associations.length;t++){var d=l[i(1341)][t];for(void 0===(s=a[d.id])[i(632)]&&(s[i(632)]={},s[i(632)][i(652)]=[]),e=0;e<d[i(648)][i(1235)];e++){var f=d[i(648)][e];if(f.property_index>0&&f[i(564)]-1<o[i(911)][i(635)][i(652)][i(1235)]){var p=o[i(911)].ipco.boxes[f[i(564)]-1];s[i(632)][p.type]=p,s.properties[i(652)][i(1386)](p)}}}}}},m[r(976)][r(1331)]=function(t){var e,s,i=r;if(!this[i(873)])return null;if(!(s=this.items[t])[i(1524)]&&s[i(585)])s[i(1524)]=new Uint8Array(s[i(585)]),s[i(965)]=0,this[i(461)]+=s[i(585)],n[i(1466)](i(889),"Allocating item #"+t+" of size "+s[i(585)]+i(966)+this[i(461)]+")");else if(s[i(965)]===s.size)return s;for(var a=0;a<s.extents[i(1235)];a++){var h=s[i(541)][a];if(h[i(965)]!==h.length){var c=this[i(1472)][i(1363)](!0,h.offset+h[i(965)],!1);if(!(c>-1))return null;var u=(e=this[i(1472)][i(1178)][c]).byteLength-(h[i(985)]+h[i(965)]-e[i(504)]);if(!(h[i(1235)]-h[i(965)]<=u))return n.debug("ISOFile","Getting item #"+t+i(1118)+a+i(794)+h[i(965)]+i(749)+(h[i(985)]+h[i(965)]-e[i(504)])+" read size: "+u+i(718)+h[i(1235)]+i(789)+s[i(585)]+")"),o[i(1154)](s[i(1524)].buffer,s.alreadyRead,e,h[i(985)]+h[i(965)]-e.fileStart,u),h.alreadyRead+=u,s[i(965)]+=u,e.usedBytes+=u,this[i(1472)][i(1230)](),null;n[i(1466)](i(889),"Getting item #"+t+i(1118)+a+i(1640)+h[i(965)]+" offset: "+(h[i(985)]+h[i(965)]-e[i(504)])+i(531)+(h.length-h[i(965)])+i(718)+h[i(1235)]+i(789)+s[i(585)]+")"),o[i(1154)](s[i(1524)][i(913)],s.alreadyRead,e,h[i(985)]+h[i(965)]-e[i(504)],h.length-h[i(965)]),e[i(485)]+=h[i(1235)]-h.alreadyRead,this.stream[i(1230)](),s.alreadyRead+=h[i(1235)]-h[i(965)],h[i(965)]=h[i(1235)]}}return s[i(965)]===s.size?s:null},m[r(976)].releaseItem=function(t){var e=r,s=this[e(517)][t];if(s[e(1524)]){this.itemsDataSize-=s[e(585)],s[e(1524)]=null,s.alreadyRead=0;for(var i=0;i<s.extents[e(1235)];i++){s.extents[i].alreadyRead=0}return s.size}return 0},m[r(976)][r(949)]=function(t){var e=r;for(var s in this[e(517)]){var i=this[e(517)][s];this[e(1331)](i.id),t&&!i[e(1078)]&&(t(i),i[e(1078)]=!0,i[e(1524)]=null)}},m[r(976)].hasItem=function(t){var e=r;for(var s in this.items){var i=this[e(517)][s];if(i.name===t)return i.id}return-1},m[r(976)][r(720)]=function(){var t=r;return this[t(873)]?this[t(873)][t(958)][t(671)]:null},m[r(976)].getPrimaryItem=function(){var t=r;return this.meta&&this[t(873)].pitm?this[t(1331)](this[t(873)][t(1248)][t(612)]):null},m[r(976)].itemToFragmentedTrackFile=function(t){var e=r,s=t||{},i=null;if(null==(i=s[e(1171)]?this[e(1331)](s[e(1171)]):this.getPrimaryItem()))return null;var n=new m;n[e(877)]=!1;var a={type:i[e(1388)],description_boxes:i[e(632)][e(652)]};i[e(632)][e(733)]&&(a.width=i.properties[e(733)][e(878)],a[e(798)]=i.properties[e(733)].image_height);var o=n.addTrack(a);return o?(n.addSample(o,i[e(1524)]),n):null},m[r(976)][r(683)]=function(t){for(var e=r,s=0;s<this[e(652)][e(1235)];s++)this[e(652)][s][e(683)](t)},m[r(976)][r(1021)]=function(t,e,s){var i=r,a=this.getTrackById(t),h=this[i(576)](a,e);if(null==h)return h=a[i(1463)][e],this[i(473)]?this[i(473)]=Math[i(1130)](h.offset+h.alreadyRead,this[i(473)]):this[i(473)]=a[i(1463)][e][i(985)]+h[i(965)],null;var c=s||new o;c[i(483)]=o.BIG_ENDIAN;var u=this[i(1611)](h);u[i(683)](c),u[i(1183)][0].truns[0].data_offset=u.size+8,n[i(1466)](i(1074),i(515)+u.trafs[0].truns[0].data_offset),c[i(1397)](u[i(1183)][0][i(1282)][0].data_offset_position,u[i(1183)][0][i(1282)][0][i(1503)]);var d=new l.mdatBox;return d.data=h[i(1524)],d[i(683)](c),c},m[r(990)]=function(t,e,s,i){var a,h=r;n[h(1466)](h(889),h(811));var c=new o;c[h(483)]=o.BIG_ENDIAN,t[h(683)](c);var u=e[h(1134)]("mvex");for(s&&u[h(1134)](h(1657))[h(1619)](h(1192),s),a=0;a<e[h(494)][h(1235)];a++)u.add(h(1532))[h(1619)](h(752),e.traks[a][h(836)][h(752)])[h(1619)](h(899),1)[h(1619)]("default_sample_duration",i).set(h(905),0).set(h(1644),65536);return e.write(c),c[h(913)]},m[r(976)][r(1406)]=function(t){var e=r,s=new o;s[e(483)]=o[e(692)],this[e(683)](s),s[e(1406)](t)},m[r(976)].getBuffer=function(){var t=r,e=new o;return e.endianness=o.BIG_ENDIAN,this[t(683)](e),e[t(913)]},m.prototype[r(1367)]=function(){var t,e,s,i,a=r;for(null===this[a(1606)]&&n[a(1608)](a(1074),"No segmentation callback set!"),!this.isFragmentationInitialized&&(this[a(1435)]=!0,this[a(884)]=0,this[a(1198)]()),e=[],t=0;t<this[a(1333)][a(1235)];t++){var o=new l.moovBox;o[a(703)]=this.moov[a(703)],o[a(652)].push(o[a(703)]),s=this[a(618)](this[a(1333)][t].id),o[a(652)][a(1386)](s),o[a(494)][a(1386)](s),(i={}).id=s[a(836)].track_id,i.user=this.fragmentedTracks[t][a(1169)],i.buffer=m.writeInitializationSegment(this[a(992)],o,this.moov[a(782)]&&this[a(1247)][a(782)][a(1657)]?this[a(1247)][a(782)][a(1657)][a(1192)]:void 0,this[a(1247)][a(494)][t].samples[a(1235)]>0?this[a(1247)][a(494)][t][a(1463)][0][a(1039)]:0),e[a(1386)](i)}return e},l[r(1354)].prototype[r(1256)]=function(t){var e=r;this[e(585)]+=8,this.size>h&&(this.size+=8),this.type===e(981)&&(this[e(585)]+=16),t[e(1384)](t[e(1636)]+e(993)+this[e(585)]),t[e(1384)](t[e(1636)]+e(1479)+this.type)},l[r(916)].prototype.printHeader=function(t){var e=r;this[e(585)]+=4,l[e(1354)][e(976)][e(1256)][e(769)](this,t),t[e(1384)](t[e(1636)]+e(712)+this[e(735)]),t[e(1384)](t[e(1636)]+e(872)+this[e(488)])},l.Box[r(976)][r(991)]=function(t){this[r(1256)](t)},l[r(1093)].prototype[r(991)]=function(t){var e=r;this[e(1256)](t);for(var s=0;s<this[e(652)][e(1235)];s++)if(this[e(652)][s]){var i=t[e(1636)];t[e(1636)]+=" ",this.boxes[s][e(991)](t),t.indent=i}},m[r(976)][r(991)]=function(t){var e=r;t[e(1636)]="";for(var s=0;s<this[e(652)][e(1235)];s++)this[e(652)][s]&&this[e(652)][s][e(991)](t)},l[r(1630)].prototype[r(991)]=function(t){var e=r;l[e(916)].prototype[e(1256)].call(this,t),t[e(1384)](t[e(1636)]+e(1293)+this[e(1470)]),t[e(1384)](t[e(1636)]+"modification_time: "+this[e(518)]),t[e(1384)](t[e(1636)]+e(1186)+this.timescale),t[e(1384)](t.indent+e(1427)+this.duration),t[e(1384)](t[e(1636)]+"rate: "+this[e(974)]),t[e(1384)](t[e(1636)]+e(924)+(this[e(933)]>>8)),t[e(1384)](t[e(1636)]+e(1037)+this[e(619)].join(", ")),t.log(t[e(1636)]+e(1225)+this[e(629)])},l.tkhdBox[r(976)][r(991)]=function(t){var e=r;l[e(916)][e(976)][e(1256)][e(769)](this,t),t[e(1384)](t[e(1636)]+e(1293)+this[e(1470)]),t[e(1384)](t[e(1636)]+e(1176)+this[e(518)]),t.log(t[e(1636)]+e(1464)+this[e(752)]),t[e(1384)](t[e(1636)]+"duration: "+this.duration),t[e(1384)](t.indent+"volume: "+(this[e(933)]>>8)),t.log(t[e(1636)]+"matrix: "+this[e(619)][e(630)](", ")),t[e(1384)](t.indent+e(1289)+this[e(1259)]),t[e(1384)](t[e(1636)]+"alternate_group: "+this.alternate_group),t.log(t[e(1636)]+e(961)+this[e(898)]),t[e(1384)](t[e(1636)]+e(499)+this.height)};var _={};_[r(1286)]=function(t,e){var s=r,i=void 0===t||t,n=new m(e);return n[s(877)]=!i,n},"undefined"!==r(1372)&&(e[r(1286)]=_.createFile)}));function Vs(){var t=["BoxParser","cslg","onSamples","fiel","aux_info_type","moofs","adjustUint32","uint16le","cttsBox","UUIDBoxes","getTrackSamplesInfo","attribute_list","general_profile_compatibility","sample_sizes","apply","save","elngBox","metadataTracks"," f=","sample_deltas","setInt16","getFloat32","Buffer must be defined and non empty","reduceBuffer","length_size_of_traf_num","url ","position","defineProperty","seq_level_idx_0","chroma_subsampling_y","tkhdBox","getBox","hev1","SEEKTABLE","first_dts","Done processing buffer (fileStart: ","duration: ","Cannot seek: moov not received!","baseMediaDecodeTime","trunBox"," and offset: ","padding_flag","XMLSubtitlein4Parser","white_point","isFragmentationInitialized","frma","av01","getEndFilePositionAfter","Unknown box type: '","_byteOffset","updateUsedBytes","vertresolution","insertBuffer","TKHD_FLAG_ENABLED","flattenItemInfo","priority","avcC","brands","ChannelMappingFamily","meco","stts","restoreParsePosition","sdp ","CoupledCount","angle","createUUIDBox","referenced_size",", remaining: ","axis","auxC","segmentStream","sampleEntryCodes","samples","track_id: ","Found ","debug","readUint24","lastValidSample","DIFF_PRIMITIVE_ARRAY_PROP_NAMES","creation_time","subsegments","stream","edts","avg_frame_rate","sample_info_size","greatestDecodeToDisplayDelta","TKHD_FLAG_IN_MOVIE","initial_delay","type:","max_picture_height","avc3SampleEntry","' did not read the entire indicated box data size (missing ","crypt_byte_block","isProgressive","seq_tier_0","general_sub_profile_idc","Item storage with construction_method : not supported","colorSpace","stdp","a5d40b30e81411ddba2f0800200c9a66","writeUCS2String","Unlimited box size not supported for type: '","writeInt32","nativeToEndian","tfhd","mapUint8Array","protection_index","isHint","CUESHEET","dependency","ES_Descriptor","dataview","data_offset","streamType","avgBitrate","CONTAINER_BOXES"," for samples [","extension_type","writeString","Error in length field in stz2 box","tele","dataView","trak","slice","sidxBox","writeInt16","nmhd","audio","6934100djCAlg","sample_depends_on","stsh","used"," for sample ","data","parseSample","dinf","stxtSampleEntry","uint32le","ranges","index_size","default_length","trex","getAllocatedSampleDataSize","ref_track_id","vipr","url Box","MPEG4DescriptorParser","moof_number","Error reading base offset size","setSampleGroupProperties","skip_byte_block","stxt","num_dep_sub","code","tfhdBox","subSequenceIdentifier","6d1d9b0542d544e680e2141daff757b2","avgRateFlag","vmhd","readUint","writeInt16Array","Writing box ","nalu","isVideo","setInt32","scheme_id_uri","level","grouping_type"," sample #","DataStream.save: Can't create object URL.","sample_flags","nextSample","Not enough bytes left in the parent box to parse a new box","single_view_allowed","getBoxes","strd","number","sgpd","avc2","first_traf_merged","sbtt","Not enough bytes left in the parent box to parse a UUID box","_realloc","decimalToHex"," Compressor",", overriding previous occurrence","lengthSizeMinusOne","default_IV_size","fromCharCodeUint8","vvc1","media_rate_integer","nb_samples","rapAlignement","stszBox","from_item_ID","isEos","layerNumber","time","PreSkip","createTrackGroupCtor","sgpdBox","readUint16","wvtt","value",">","mdhd","config","dec3","general_constraint_indicator","readUint32","9395862nAKNCk","compatible_brands","modified","hinf","onError","onSegment","chunk_run_index","warn","BYTES_PER_ELEMENT","track_width","createSingleSampleMoof","parseFromString","checkBuffer","4635364EQrKwE","flipArrayEndianness","track_ids","sampleListBuilt","AVCProfileIndication","set","traf_number","floor","Concatenating buffer for box parsing (length: ","primaryGChromaticity_x","File uses negative stts sample delta, using value 1 instead, sync may be lost!","mdcv","readInt32","packetssent","TRUN_FLAGS_FLAGS","dtrt","mvhdBox","SampleEntry","constant_frame_rate","minf","encu","ac-3","indent","encode","getUint16","ptl_present_flag"," data (alreadyRead: ","video","readUint64","oti","default_sample_flags","stop","length_size"," more bytes than the indicated box data size, seeking backwards","releaseSample","nalu_type","System","prol","bitrate","drep","ptl_num_sub_profiles","segment_duration","chroma_subsampling_x","mehd","int32le","VORBIS_COMMENT","flush","parseDataAndRewind","default_constant_IV","roll","mvif","stereo_indication_type","sample_is_depended_on","essential","itemsDataSize","stri","SAMPLE_ENTRY_TYPE_AUDIO","findDescriptor","rtp ","writeType","No more buffer in memory","field_size","writeInt32Array","tmax","mapInt8Array","d08a4f1810f34a82b6c832d8aba183d3","nextSeekPosition","bsid","split","length_size_of_trun_num","elstBox","iinf","free","_sweep","operation_point_count","bytes","endianness","avcDecoderConfigRecord","usedBytes","description_length","getInt8","flags","is_fragment","available_bitrate"," already stored in field of this type","offset_size","first_output_sample","traks","lastBoxStartPosition","sublayer_level_idc","Not ready to start parsing","Descriptor","height: ","payloadID","TKHD_FLAG_IN_PREVIEW","ipmas","description","fileStart","equal","sttsBox","releaseUsedSamples","accurateStatisticsFlag","saio","writeFloat32","Visual","ASCII","data_rate","totl","Adjusting data_offset with new value ","subBoxNames","items","modification_time","vttC","Seeking at time ","track_group_id","readUint8","body","DecoderConfigDescriptor","PADDING","max_picture_width","ICC_profile","avcCBox","traf","readUint32Array"," read size: ","Box of type ","stshBox","SAMPLE_ENTRY_TYPE_TEXT","entry_index","Buffer (fileStart: ","int32","default_sample_duration","int8","nalu_arrays","extents","_dynamicSize","Hint","trun_number","itemListBuilt","primaryGChromaticity_y","whitePointChromaticity_x","printRanges","setAttribute","bit_depth_chroma_minus8","initial_presentation_delay_present","sample_rate","uint32"," not fully parsed","vpcC","horizontal_justification","mergeNextBuffer","mdats","item_infos","toString","rap ","compressorname","seig","property_index","cslgBox","a1op","TFHD_FLAG_SAMPLE_SIZE","TrackGroupTypeBox","event_duration","iods"," of size: ","TRUN_FLAGS_DATA_OFFSET","codec_specific_parameters","TrackReferenceTypeBox","Buffer must have a fileStart property","getSample","writeUint16","hvcC","sgpds","ERR_NOT_ENOUGH_DATA","Needs an array buffer","bit_depth_minus8","vvcC","samplesize","size","senc","<","float64be","substring","sync_sample_numbers","mp4a","moof","buildTrakSampleLists","hasIOD","vvc1SampleEntry","source","bits_per_channels","first_sample_index","int16","encs","avc2SampleEntry","addUsedBytes","cleanBuffers","onReady","monochrome","iso4","setSegmentOptions","OCR_ES_ID","string","message_data","moofBox","item_id","nbSamples","chroma_format_idc","tracks","uint8","fscod","getTrackById","matrix","parseOneDescriptor","trun","isAudio","_dataView","default_Per_Sample_IV_Size","stbl","Ignoring empty buffer (fileStart: ","stereo_scheme","item_ID","next_track_id","join","Sample data size in memory: ","properties","clap","TFHD_FLAG_SAMPLE_DUR","ipco","smhdBox","addTrack"," has an invalid size ","scheme_uri","default_sample_info_size","writeHeader","SingleItemTypeReferenceBoxLarge","writeFloat64Array","charCodeAt","nump","isSubtitle","mapUint32Array","props","seq_profile","initSampleGroups","samplerate","boxes","ipma","subsegment_duration","TFHD_FLAG_BASE_DATA_OFFSET","avc4SampleEntry","extractedTracks","onMoovStart","parseRemainingDescriptors","protection","mfhd","parallelismType","Duplicate Box of type: ","aux_type","enof","tpay","name","mdia","isProtected","SLConfigDescriptor","handler","high_bitdepth","RESERVED","sbgps","fromCharCode","compositionStartTime","default_KID","vvi1","text","extent_length","max_pic_average_light_level","writeUint16Array","write","function","processIncompleteBox","idat","8974dbce7be74c5184f97148f9882554","esds","cleanApertureWidthD","depends_on","mapFloat64Array","BIG_ENDIAN","schi","'","readInt64","av1C version ","btrt","kindBox","sample_composition_time_offset","switch_group","Found 'mdat' end in buffered data"," stored buffer(s) (","mvhd","kinds","readUint16Array","vp08SampleEntry"," box writing not yet implemented, keeping unparsed data in memory for later write","writeUint64","descs","createSampleEntryCtor","references","version:","xml ","maximum_bitrate","version of iloc box not supported","mfhdBox","alst"," full extent size: ","location","getMetaHandler","created","SAMPLE_ENTRY_TYPE_SYSTEM","writeUint8Array","Repositioning parser at buffer position: ","parsingMdat","item_uri_type","default_group_description_index","3910065ePfLaO","sidxSent","vertical_justification","box","max_display_mastering_luminance","ispe","Sending samples on track #","version","sample_count","Flushing remaining samples","clli","description_boxes","completeness"," greater than its container size ","data_format","kid","getInfo","pssh","getWidth","skip","mapInt32Array"," offset: ","cleanApertureHeightD","trep","track_id","No buffer to start parsing from","writeStruct","languageString","sync","Track created with MP4Box.js","trgr","cts_shift","iref","payt","seekTrack","writeFloat64","extent_index","Found box of type '","vvnC","cleanApertureHeightN","sample_description_index","call","TRUN_FLAGS_DURATION","getText","nclx","hasIncompleteMdat",'video/mp4; codecs="',"chromaSubsampling","Adjusting box ","hdlrBox","graphicsmode","system_id","getCodec","urn Box","mvex","constant_IV","TRUN_FLAGS_CTS_OFFSET","FULL_BOXES","layer_id","msg","mdhdBox"," full item size: ","sdptext","setAllUsedBytes","subtitleTracks","last_sample_in_run"," partial data (alreadyRead: ","absolute_time","profile_compatibility","readCString","height","payl","ext","bitDepth","depth","stsd","content_encoding","minor_version","hasMoov","media_time","sample_duration","initialized"," bytes), continuous ranges: ","Generating initialization segment","Per_Sample_IV_Size","has_unparsed_data","mehdBox","SubtitleSampleEntry","MultiBufferStream","addEntry","level_independently_decodable","txtC","&","getSampleRate","' box writing not yet implemented, keeping unparsed data in memory for later write","stvi","held_bits","readySent","sbgp","getDurationString","transferFunction","The first buffer should have a fileStart of 0","base_data_offset","Unknown sample entry type: ","co64","uint16","stz2","Unknown uuid type: '","tkhd","NAL_unit_type","tapt","href","grouping_type_parameter","reserved","sample_groups_info","entry_count","KID","protections","range_size","minimum_bitrate","sample_delta","twelve_bit","u16stringbe","TFHD_FLAG_SAMPLE_FLAGS","vertOffD","reference_ID",'Not enough data in stream to parse the extended size of the "',"is_leading","configOBUs","seekLists","general_constraint_info","vvi1SampleEntry","first_sample_flags","Metadata","num_output_samples","sdtp","readUint8Array","avgBitRate","Trying to create a new buffer of size: ","URL","otherTracks","item_protection_index","createMediaSampleEntryCtor","dts","flags:","meta","av1C reserved_2 parsing problem","whitePointChromaticity_y","constant_IV_size","discardMdatData","image_width","tpyl","hvc1","imir","discard_priority","mfro","nextMoofNumber","writeCString","setExtractionOptions","clef","earliest_presentation_time","ISOFile","findEndContiguousBuf","_trimAlloc","SAP_delta_time","sizePosition","tfdtBox","chunk_offsets","getEndPosition","float32","width","default_sample_description_index","default_crypt_byte_block","processIncompleteMdat","hdr_size","SampleGroupEntry","pts","default_sample_size","has_redundancy","getTrackSample","parseConfig","unpack","scheme_type","iprp","vttc","buffer"," v=","Box of type '","FullBox","iloc","int16be","compositionEndTime","enca","end","default_skip_byte_block","av1C","volume: ","metadata","profile","createBoxCtor","min_spatial_segmentation_idc","major_brand","processSamples","padb","Descriptor ","volume","balance","TrackReference ","videoTracks","resources","forEach","bsmod","Subtitle","writeUint24","nextParsePosition","SAMPLE_ENTRY_TYPE_VISUAL","No method for reading signed 24 bits values","num_bytes_constraint_info","moovStartFound","seekPoints","SampleGroup for type ","processItems","tfdt","degradation_priority","avss","default_isProtected","readInt8","base_offset","SPS","tx3g","hdlr","ref_to","fragment_count","width: ","schm"," (released size: ","track_height","alreadyRead"," (total: "," released samples up to ","concat","fr-FR","appendChild","sample_size","Getting sample #","readInt16Array","rate","ptl_sublayer_present_mask","prototype","avgFrameRate","sample_offset","lfeon","num_channels","uuid","first_chunk","createFullBoxCtor","dmax","offset","Cannot parse extension type","stsz","start","writeUint8","writeInitializationSegment","print","ftyp","size:","getSampleSize","fieldCount"," bytes), seeking forward","samplesDataSize"," - Length: ","dependsOn_ES_ID","seek","item_type","SingleItemTypeReferenceBox","primaryBChromaticity_x","bufferSizeDB","parseFooter","codec","getInt16","sidx","_byteLength","extended_language","writeUint32","num_held_bits","pasp","], [","trexBox","Text","esd","compositionToDTSShift","num_ind_sub","image_height","createFragment","dac3","alternate_group","max_content_light_level","chunk_index","bxml","float32le","trexs","box_record","OutputGain","scheme_version","getUint32","ftypBox","byteOffset","opcolor","display_primaries","matrix: ","mdat","duration","subSeqDirectionFlag","writeInt8","mapUint16Array","mapFloat32Array","DecoderSpecificInfo","3655382irRUjK","sample_number","rash","entries","kind","horizOffD","Sending fragmented data on track #","setUint16","urn ","displayFlags","ptl_frame_only_constraint","vSpacing","TFHD_FLAG_SAMPLE_DESC","setUint8","reserved_2","ABCDEFGHIJKLMNOPQRSTUVWXYZ234567","ols_idx","default_AlgorithmID","leastDecodeToDisplayDelta","movie_timescale"," at position "," on track #","AudioSampleEntry","media_rate_fraction","trpy","addSample","splice","Appending new buffer (fileStart: ","ES_ID","MP4Box","AVCLevelIndication","setFloat64","updateSampleLists","sent",""","readFloat32Array","bytessent","nb_PPS_nalus","undefined","parseFullHeader","Expected 'infe' box, got ","bit_depth_luma_minus8","UUIDs","mehd box incorrectly uses flags set to 1, converting version to 1","reference_type","getPosition","mime","getInt32","ContainerBox","prft","Adjusted seek position (after checking data already in buffer): ","videoFullRangeFlag","Not enough data in stream to parse the entire '","isFragmented","content_type","default_constant_IV_size","samples_duration","general_profile_space","saiz","op_index","' has a size ","frame_count","1397082FXcfhi","auxiliary_mime_types","computeSize","subsamples","LITTLE_ENDIAN","Textin4Parser","first_offset","vp09SampleEntry","num_sublayers","shadowed_sample_numbers","timescale"," extent #","hmhd","readString","Processing buffer (fileStart: ","readFloat64",'audio/mp4; codecs="',"channel_count","getUint8","stream_read_1_bytes",") already appended, ignoring","getAudioConfig","arrayToNative","min","sample_groups","MP4BoxStream","stcoBox","add","scif","SAMPLE_ENTRY_TYPE_HINT","writeUint32Array","construction_method","lastMoofIndex","extent_offset","isMetadata","period","writeFooter","configurationVersion","sample_numbers","matrixCoefficients","primaryRChromaticity_x","is_sync","stssBox","DIFF_BOXES_PROP_NAMES","tag","cts","getChannelCount","memcpy","u16string","base_offset_size","uri ","stco","av01SampleEntry","sampleProcessingStarted","Found Sample Groups of type ","readInt32Array","description_index","BASIC_BOXES","Error reading extent index","num_leading_samples_known","readInt8Array","mapInt16Array","user","ipro","itemId","Removing buffer #","init","documentString","levels","modification_time: ","onSidx","buffers","moof_offset","stscBox","Mismatch in ","media_duration","trafs","nb_SPS_nalus","smhd","timescale: ","avc1SampleEntry","length_size_of_sample_num","test","subtitles","cprt","fragment_duration","getCodecs","replace","temporalIdNested","indexOf","DataStream","resetTables","moovStartSent","sample_offsets","tref","ptl_multilayer_enabled","elng","LiveServerManifest","Track #","getTrexById","namespace","item_name","createSampleGroupCtor","TRUN_FLAGS_SIZE","elst","num_leading_samples"," writing not yet implemented, keeping unparsed data in memory for later write","unsetSegmentOptions","Unknown Sample Group type: ","padbits","TFHD_FLAG_DEFAULT_BASE_IS_MOOF","irot","vvs1","Found position in existing buffer #","setInt8"," full size: ","data_reference_index","PPS","next_track_id: ","readFloat64Array","lsel","parseHex16","mime_format","logBufferLevel","process_sdtp","maxFALL","Creating media fragment on track #","tmin","length","horizresolution","language","Audio","Allocating sample #","hnti","appendBuffer","general_profile_idc","error","co64Box","stsdBox","' box","moov","pitm","sample_has_redundancy","data_offset_position","emsgBox","stsa","decode","onItem","udta","printHeader","int32be","saveParsePosition","layer","Not enough bytes in buffer","vmhdBox","SAMPLE_ENTRY_TYPE_SUBTITLE","sinf","readInt16","samples_per_chunk","960402OFGQAR","Log","application/xml","ec-3","primaryBChromaticity_y","hev1SampleEntry","parseHeader","uint16be","codecIntializationDataSize","ArrayBuffer","audioTracks","Item storage with reference to other files: not supported","nonamespace","stsc","fragment_description"," of size ","truns","track_ID","schema_location","writeFloat32Array","createFile","No sample in track, cannot seek! Using time ","layer_size","layer: ","ind_subs","colour_type","tfra","creation_time: ","avc1","createObjectURL","cleanApertureWidthN","aux_info_type_parameter","bufferIndex","dref","' read ","ptl_frame_only_constraint_flag","avc3","pow","bufferSize","Sample Group type: ","sequence_number","parse","sthd","initial_presentation_delay_minus_one"," not supported","stream_read_2_bytes","max","addBox","scnm","getTime","_buffer","stss","presentation_time_delta","buildSampleLists","BoxWriter","is_depended_on","numTemporalLayers","createContainerBoxCtor","subs","reserved_1","extract_bits","getOTI"," with new size ","strk","SAMPLE_ENTRY_TYPE_METADATA","getItem","stpp","fragmentedTracks","movie_duration","boxEqualFields","revokeObjectURL","acmod","codecIntializationData","ChannelMapping","SampleEntry ","associations","getHeight","OutputChannelCount","general_level_idc","parseLanguage","group_description_index","Error accessing position in the MultiBufferStream","Not enough data in stream to parse the type and size of the box","rICC","sub_track_id","int16le","byteLength","infe","Box","readAnyInt","prof","hSpacing","trefBox","notice",", size ","createEncryptedSampleEntryCtor","target","findPosition","schemeURI","ntp_timestamp","writeInt8Array","initializeSegmentation","durationFlag"," sample group length","maxBitrate","vp09","object","parseOneBox"," --\x3e ","colr","aux_subtype","samples_size","target_rate_share","hintTracks","dynamicSize","leva","TRUN_FLAGS_FIRST_FLAG","VisualSampleEntry","log","info","push","tenc","type","sample_counts","general_tier_flag"];return(Vs=function(){return t})()}function Ws(t,e){var s=Vs();return(Ws=function(t,e){return s[t-=460]})(t,e)}Hs[Gs(1267)],Hs[Gs(1132)],Hs[Gs(1197)],Hs[Gs(816)],Hs[Gs(1537)],Hs[Gs(1391)],Hs[Gs(1433)],Hs.Textin4Parser,Hs[Gs(889)],Hs.createFile;const js=Ys;function qs(){const t=["9201630ZJkzns","audioTrackId","4pDLGzr","config","videoTrackId","4479759uaUnbi","is_sync","mp4a.40.","buffer","calcIframeIntervalTimestamp","debugLog","isHevc","BIG_ENDIAN","video","getTrackById","_listenMp4Box","mp4Box","channel_count","seqHeader","2679483juiTch","_doDecodeByFmp4","init","codec","11380656HIylzk","timescale","TAG_NAME","onSamples() trackId error","setExtractionOptions","stbl","audioTracks","aacADTSHeader","appendBuffer","1FLvXaS","player","mp4Box onError","cts","string","onError","debugWarn","_updateStats","7041965lrxTZf","dispatch()","destroy","start","onSamples","duration","length","1976938cDsneN","debugError","Fmp4Loader","flush","byteLength","data is not object","set","fileStart","data is string","getSeqHeader","DataStream","hvcC","createFile","dispatch","bind","write","mdia","replace","minf","65065axrCTI","offset","240bEKTdc","avcC","audio","onReady","object"];return(qs=function(){return t})()}function Ys(t,e){const s=qs();return(Ys=function(t,e){return s[t-=232]})(t,e)}!function(t,e){const s=Ys,i=t();for(;;)try{if(840369===parseInt(s(295))/1*(parseInt(s(237))/2)+parseInt(s(282))/3*(parseInt(s(265))/4)+-parseInt(s(303))/5+parseInt(s(258))/6*(parseInt(s(256))/7)+-parseInt(s(286))/8+parseInt(s(268))/9+parseInt(s(263))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qs);class Ks extends ds{constructor(t){const e=Ys;super(t),this[e(288)]=e(239),this[e(296)]=t,this.mp4Box=Hs[e(249)](),this[e(257)]=0,this[e(267)]=null,this[e(264)]=null,this.isHevc=!1,this[e(278)](),t[e(273)](this[e(288)],e(284))}[js(232)](){const t=js;this.mp4Box&&(this[t(279)][t(240)](),this[t(279)]=null),this[t(257)]=0,this[t(267)]=null,this[t(264)]=null,this[t(274)]=!1,this[t(296)].debugLog(this[t(288)],"destroy")}[js(278)](){const t=js;this.mp4Box.onReady=this[t(261)][t(251)](this),this[t(279)][t(300)]=this[t(300)][t(251)](this),this[t(279)][t(234)]=this[t(234)].bind(this)}[js(261)](t){const e=js;this[e(296)][e(273)](this.TAG_NAME,e(261),t);const s=t.videoTracks[0],i=t[e(292)][0];if(s){this.videoTrackId=s.id;const t=this.getSeqHeader(s);t&&(this[e(296)][e(273)](this[e(288)],e(281),t),this._doDecodeByFmp4(t,l.video,0,!0,0)),this.mp4Box[e(290)](s.id)}if(i){this[e(264)]=i.id;const t=i[e(260)]||{},s=H.indexOf(t.sample_rate),r=i[e(285)][e(254)](e(270),"");this.mp4Box[e(290)](i.id);const n={profile:parseInt(r,10),sampleRate:s,channel:t[e(280)]},a=F(n);this[e(296)][e(273)](this.TAG_NAME,e(293),a,e(266),n),this[e(283)](a,l[e(260)],0,!1,0)}this[e(279)][e(233)]()}[js(300)](t){const e=js;this[e(296)][e(238)](this.TAG_NAME,e(297),t)}[js(234)](t,e,s){const i=js;if(t===this.videoTrackId)for(const t of s){const e=t.data,s=t[i(269)],r=1e3*t.cts/t[i(287)];t[i(235)],t[i(287)],this.player[i(302)]({vbps:e[i(241)],dts:r}),s&&this[i(272)](r);let n=null;n=this[i(274)]?Me(e,s):fe(e,s),this[i(283)](n,l[i(276)],r,s,0)}else if(t===this[i(264)])for(const t of s){const e=t.data;this[i(296)][i(302)]({abps:e[i(241)]});const s=1e3*t[i(298)]/t[i(287)];t[i(235)],t[i(287)];const r=new Uint8Array(e[i(241)]+2);r[i(243)]([175,1],0),r.set(e,2),this[i(283)](r,l.audio,s,!1,0)}else this[i(296)].debugWarn(this.TAG_NAME,i(289),t)}[js(246)](t){const e=js,s=this.mp4Box[e(277)](t.id);for(const t of s[e(253)][e(255)][e(291)].stsd.entries)if(t.avcC||t[e(248)]){const s=new(Hs[e(247)])(void 0,0,Hs[e(247)][e(275)]);let i=[];t[e(259)]?(t.avcC.write(s),i=[23,0,0,0,0]):(this[e(274)]=!0,t[e(248)][e(252)](s),i=[28,0,0,0,0]);const r=new Uint8Array(s.buffer,8),n=new Uint8Array(i[e(236)]+r.length);return n[e(243)](i,0),n[e(243)](r,i[e(236)]),n}return null}[js(250)](t){const e=js;let s=new Uint8Array(t);typeof t!==e(299)?typeof t===e(262)?(s[e(271)][e(244)]=this[e(257)],this[e(257)]+=s[e(241)],this[e(279)][e(294)](s.buffer)):this[e(296)].debugWarn(this[e(288)],e(304),e(242),t):this[e(296)][e(301)](this[e(288)],e(304),e(245),t)}}const Xs=Zs;function Js(){const t=["6692otxyDz","m7s","webTransport","nakedFlow","38340dpXGxq","6184yigdfH","572679COnZSd","3359532NLmRTM","2767794uHYwmW","41611yTPvJh","fmp4","36zOPzhB","3248360UrsYxT","_opt","flv","getLoaderFactory"];return(Js=function(){return t})()}function Zs(t,e){const s=Js();return(Zs=function(t,e){return s[t-=391]})(t,e)}!function(t,e){const s=Zs,i=t();for(;;)try{if(506946===-parseInt(s(395))/1*(-parseInt(s(397))/2)+-parseInt(s(394))/3+parseInt(s(393))/4+parseInt(s(398))/5+-parseInt(s(406))/6+-parseInt(s(402))/7*(parseInt(s(391))/8)+-parseInt(s(392))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Js);class Qs{constructor(t){return new(Qs[Zs(401)](t))(t)}static[Xs(401)](t){const e=Xs,s=t[e(399)].demuxType;return s===h[e(403)]?xs:s===h[e(400)]?As:s===h[e(404)]?Bs:s===h[e(405)]?Ms:s===h[e(396)]?Ks:zs}}function $s(t,e){var s=ti();return($s=function(t,e){return s[t-=269]})(t,e)}function ti(){var t=["14GGWqiX","1315yIRcyp","200ZzMgAM","719001HWeQjK","1293644fHrQbo","2JSEEzb","23164FrLfmb","3322840EYJqhC","10MCWcbZ","6767010ZJRMhV","3742890IBoskH"];return(ti=function(){return t})()}!function(t,e){for(var s=$s,i=t();;)try{if(671941===parseInt(s(271))/1+-parseInt(s(275))/2*(-parseInt(s(273))/3)+-parseInt(s(276))/4*(parseInt(s(272))/5)+parseInt(s(269))/6+parseInt(s(270))/7*(-parseInt(s(277))/8)+parseInt(s(279))/9+parseInt(s(278))/10*(parseInt(s(274))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ti);const ei=di;!function(t,e){const s=di,i=t();for(;;)try{if(269265===-parseInt(s(434))/1*(parseInt(s(318))/2)+-parseInt(s(437))/3*(parseInt(s(346))/4)+-parseInt(s(415))/5+-parseInt(s(306))/6*(parseInt(s(290))/7)+-parseInt(s(430))/8*(parseInt(s(305))/9)+parseInt(s(449))/10*(-parseInt(s(457))/11)+parseInt(s(297))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mi);const si=2097152,ii={FETCH:ei(329),XHR:ei(410)},ri={ARRAY_BUFFER:ei(302),TEXT:"text",JSON:ei(304)},ni={REAL_TIME_SPEED:"real_time_speed"},ai=Object[ei(447)][ei(323)];function oi(t){const e=ei;if("[object Object]"!==ai[e(395)](t))return!1;const s=Object[e(308)](t);return null===s||s===Object[e(447)]}function hi(t){const e=ei;if(!t||null===t[0]||void 0===t[0]||0===t[0]&&(null===t[1]||void 0===t[1]))return;let s=e(325)+t[0]+"-";return t[1]&&(s+=t[1]),s}function ci(t){const e=ei;return encodeURIComponent(t)[e(379)](/%3A/gi,":")[e(379)](/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")[e(379)](/%5B/gi,"[")[e(379)](/%5D/gi,"]")}function ui(t,e){const s=ei;if(!t)return;if(!e)return t;let i;const r=Object[s(273)](e)[s(343)]((t=>{const r=s;if(i=e[t],null!=i)return Array.isArray(i)?t+="[]":i=[i],i[r(343)]((e=>{const s=r;var i;return!function(t){const e=ei;return ai[e(395)](t)===e(357)}(e)?null!==(i=e)&&typeof i===ei(443)&&(e=JSON[s(337)](e)):e=e[s(436)](),ci(t)+"="+ci(e)}))[r(315)]("&")})).filter(Boolean)[s(315)]("&");if(r){const e=t[s(258)]("#");-1!==e&&(t=t[s(381)](0,e)),t+=(-1===t[s(258)]("?")?"?":"&")+r}return t}function li(t,e,s,i,r,n,a,o,h,c,u){const l=ei;r=null!=r?parseFloat(r):null,i=parseInt(i||"0",10),Number[l(369)](i)&&(i=0);return{data:t,done:e,option:{range:h,vid:c,index:o,contentLength:i,age:r,startTime:n,firstByteTime:a,endTime:Date.now(),priOptions:u},response:s}}function di(t,e){const s=mi();return(di=function(t,e){return s[t-=254]})(t,e)}function fi(t,e){return Math[ei(452)](8*t*1e3/e/1024)}class pi extends Error{[ei(330)]=0;[ei(322)]=!1;[ei(444)]=ii[ei(440)];[ei(420)]=0;endTime=0;[ei(338)]={};constructor(t,e,s,i){const r=ei;super(i),this[r(453)]=t,this[r(351)]=e,this[r(331)]=s}}function mi(){const t=["_onTimeout","function","_writeIdx","headers","TAG_NAME",",range,","_onProcessMinLen","ARRAY_BUFFER","28AMHODn","[fetch load start], index,",", done,","message","_running","shift","[fetch load end], index,","21116784RXogBI","promise","_reader","_currentTask",",len,","arraybuffer","_retryCheckFunc","json","2010429CNCvfd","535356pkNkMe",", writeIdx,","getPrototypeOf","【fetchLoader,onProgress extra end】,len,","[xhr.send->] tast,","resolve","set","_timeoutTimer","_config","join","alive","_responseType","1276PWiPQk","credentials","player","_aborted","isTimeout","toString","_loadCompleteReject","bytes=","vid",", SubRange, ","Content-Length","fetch","retryCount","response","_onCancel","string",", allRange, ","_loadChunk","removeAllListeners","stringify","options","read","【fetchLoader,onProgress extra start】,size,","catch","[xhr load done->], tast :","map","getAllResponseHeaders","endTime","329764fDwqNq","receiveLen","done","_runing","getReader","request","bad response,status:","loader","type","_internalOpen","withCredentials","[object Date]","end ",",index,","append","【xhrLoader task】, range","cancel","_transformResponse","status","_retryCount","[task request setTimeout],retry","push","now","isNaN","value","byteLength","get","number","index","_priOptions","onTimeout","target",", start","replace","[task request catch err]","slice","responseType","_processTask","forEach","statusText","destroy","include","_xhr","isSupported","responseURL","_abortController","onload","isFetch","XHR","call","JSON","_onProgress","arrayBuffer","_receivedLength","onProgress of bad response.body.getReader","_getHeaders","toLowerCase","send","_headers","body","exec","_firstRtt","finally","_url","xhr","_range","text","running","assign","778360ATvZYl","content-length","xhr.onerror.status:","transformRequest","onProgress","startTime","_response","params","GET","load","length","concat","TEXT","FetchLoader","emit","8KdwaXL","Range","_timeout","debugLog","541orpszK","then","toISOString","3ITaYUi","range","currentTarget","FETCH","_cache","_currentChunkSizeKB","object","loaderType","_withCredentials","retryCheckFunc","prototype",",receivedLength","130YuqsAs","age","undefined","round","url","priOptions","method","_loader","276617cXqqvx","_retryTimer","_vid","reject","_queue","signal","_alive",",statusText,","_request","indexOf","_method","_startTime","_loadCompleteResolve","_index","all","_loaderType","same-origin","_logger","used","onCancel","bad network response",", start,","setRequestHeader","_onReadyStatechange","keys","REAL_TIME_SPEED","abort","split","_body","open","_canceled","timeout","_startLoad"];return(mi=function(){return t})()}class _i extends i{[ei(391)]=null;[ei(313)]=null;[ei(299)]=null;[ei(421)]=null;[ei(321)]=!1;[ei(262)]=-1;[ei(411)]=null;[ei(399)]=0;[ei(294)]=!1;[ei(266)]=null;_vid="";[ei(288)]=0;[ei(332)]=null;_priOptions=null;[ei(286)]=ei(428);constructor(t){const e=ei;super(),this[e(320)]=t}[ei(424)](t){const e=ei;let{url:s,vid:i,timeout:r,responseType:n,onProgress:a,index:o,onTimeout:h,onCancel:c,range:u,transformResponse:l,request:d,params:f,logger:p,method:m,headers:_,body:g,mode:y,credentials:v,cache:b,redirect:I,referrer:S,referrerPolicy:w,onProcessMinLen:A,priOptions:T}=t;this[e(321)]=!1,this._onProcessMinLen=A,this._onCancel=c,this[e(391)]="undefined"!=typeof AbortController&&new AbortController,this._running=!0,this._index=o,this[e(411)]=u||[0,0],this[e(459)]=i||s,this._priOptions=T||{};const E={method:m,headers:_,body:g,mode:y,credentials:v,cache:b,redirect:I,referrer:S,referrerPolicy:w,signal:this[e(391)]?.[e(254)]};let k=!1;clearTimeout(this._timeoutTimer),s=ui(s,f);const x=hi(u);x&&(_=d?d[e(285)]:E[e(285)]=E[e(285)]||(Headers?new Headers:{}),Headers&&_ instanceof Headers?_[e(360)](e(431),x):_[e(431)]=x),r&&(this[e(313)]=setTimeout((()=>{const t=e;if(k=!0,this.cancel(),h){const e=new pi(s,E,null,"timeout");e[t(322)]=!0,h(e,{index:this[t(262)],range:this[t(411)],vid:this[t(459)],priOptions:this[t(375)]})}}),r));const U=Date[e(368)]();return(nt(o)||nt(u))&&this.player[e(433)](this.TAG_NAME,e(291),o,e(287),u),new Promise(((t,i)=>{const r=e;fetch(d||s,d?void 0:E)[r(435)]((async e=>{const h=r;if(clearTimeout(this[h(313)]),this._response=e,this._aborted||!this[h(294)])return;if(l&&(e=l(e,s)||e),!e.ok)throw new pi(s,E,e,h(269));const c=Date[h(368)]();let d;if(n===ri[h(427)])d=await e[h(412)](),this[h(294)]=!1;else if(n===ri[h(396)])d=await e[h(304)](),this._running=!1;else{if(a)return this.resolve=t,this.reject=i,void this._loadChunk(e,a,U,c);{d=await e[h(398)](),d=new Uint8Array(d),this[h(294)]=!1;const t=Date[h(368)]()-U,s=fi(d[h(371)],t);this[h(429)](ni[h(274)],{speed:s,len:d[h(371)],time:t,vid:this[h(459)],index:this[h(262)],range:this[h(411)],priOptions:this[h(375)]})}}(nt(o)||nt(u))&&this[h(320)][h(433)](this[h(286)],h(296),o,h(287),u),t(li(d,!0,e,e[h(285)][h(372)](h(328)),e.headers[h(372)](h(450)),U,c,o,u,this._vid,this[h(375)]))}))[r(341)]((t=>{const e=r;clearTimeout(this[e(313)]),this[e(294)]=!1,this[e(321)]&&!k||((t=t instanceof pi?t:new pi(s,E,null,t?.[e(293)]))[e(420)]=U,t.endTime=Date.now(),t.isTimeout=k,t[e(338)]={index:this[e(262)],range:this[e(411)],vid:this[e(459)],priOptions:this[e(375)]},i(t))}))}))}async[ei(362)](){const t=ei;if(!this._aborted){if(this._aborted=!0,this[t(294)]=!1,this[t(421)]){try{this[t(299)]&&await this[t(299)][t(362)]()}catch(t){}this[t(421)]=this[t(299)]=null}if(this._abortController){try{this[t(391)][t(275)]()}catch(t){}this[t(391)]=null}this[t(332)]&&this[t(332)]({index:this[t(262)],range:this[t(411)],vid:this[t(459)],priOptions:this[t(375)]})}}[ei(335)](t,e,s,i){const r=ei;if(!t.body||!t[r(405)][r(350)]){this._running=!1;const e=new pi(t[r(453)],"",t,r(400));return e[r(338)]={index:this[r(262)],range:this[r(411)],vid:this[r(459)],priOptions:this[r(375)]},void this[r(460)](e)}this[r(288)]>0&&(this[r(441)]=new Uint8Array(si),this[r(284)]=0);const n=this[r(299)]=t[r(405)][r(350)]();let a,o,h;const c=async()=>{const u=r;o=Date[u(368)]();try{a=await n[u(339)](),h=Date[u(368)]()}catch(t){return h=Date[u(368)](),void(!this[u(321)]&&(this._running=!1,t[u(338)]={index:this[u(262)],range:this._range,vid:this[u(459)],priOptions:this[u(375)]},this[u(460)](t)))}const l=this[u(411)]?.[u(425)]>0?this[u(411)][0]:0,d=l+this[u(399)];if(this._aborted)return this[u(294)]=!1,void e(void 0,!1,{range:[d,d],vid:this[u(459)],index:this[u(262)],startTime:o,endTime:h,st:s,firstByteTime:i,priOptions:this[u(375)]},t);const f=a[u(370)]?a.value[u(371)]:0;let p;if(this[u(399)]+=f,this[u(320)][u(433)](this.TAG_NAME,"【fetchLoader,onProgress call】,task,",this[u(411)],u(270),d,", end,",l+this[u(399)],u(292),a.done),this[u(288)]>0){if(this._writeIdx+f>=this[u(288)]||a[u(348)])p=new Uint8Array(this[u(284)]+f),p[u(312)](this[u(441)][u(381)](0,this[u(284)]),0),f>0&&p[u(312)](a.value,this[u(284)]),this[u(284)]=0,this[u(320)].debugLog(this[u(286)],"【fetchLoader,onProgress enough】,done,",a[u(348)],u(301),p[u(371)],", writeIdx,",this._writeIdx);else if(f>0&&this[u(284)]+f<si)this._cache[u(312)](a.value,this[u(284)]),this[u(284)]+=f,this[u(320)][u(433)](this.TAG_NAME,"【fetchLoader,onProgress cache】,len,",f,u(307),this._writeIdx);else if(f>0){const t=new Uint8Array(this._writeIdx+f+2048);this[u(320)].debugLog(this[u(286)],u(340),this._writeIdx+f+2048,", datalen,",f,u(307),this[u(284)]),t[u(312)](this[u(441)].slice(0,this[u(284)]),0),f>0&&t[u(312)](a.value,this[u(284)]),this[u(284)]+=f,delete this[u(441)],this[u(441)]=t,this[u(320)][u(433)](this.TAG_NAME,u(309),f,", writeIdx,",this._writeIdx)}}else p=a.value;if((p&&p[u(371)]>0||a.done)&&e(p,a.done,{range:[this[u(411)][0]+this._receivedLength-(p?p[u(371)]:0),this[u(411)][0]+this._receivedLength],vid:this[u(459)],index:this._index,startTime:o,endTime:h,st:s,firstByteTime:i,priOptions:this[u(375)]},t),a[u(348)]){const e=Date.now()-s,r=fi(this[u(399)],e);this.emit(ni[u(274)],{speed:r,len:this._receivedLength,time:e,vid:this[u(459)],index:this[u(262)],range:this[u(411)],priOptions:this[u(375)]}),this[u(294)]=!1,this[u(320)][u(433)](this[u(286)],"[fetchLoader onProgress end],task,",this._range,",done,",a[u(348)]),this[u(311)](li(a,!0,t,t.headers[u(372)]("Content-Length"),t[u(285)][u(372)](u(450)),s,i,this[u(262)],this[u(411)],this[u(459)],this[u(375)]))}else c()};c()}get[ei(347)](){return this[ei(399)]}get[ei(413)](){return this[ei(294)]}set[ei(413)](t){this[ei(294)]=t}static isSupported(){return!(typeof fetch===ei(451))}}class gi{TAG_NAME="Task";constructor(t,e,s){const i=ei;this.promise=function(){const t=ei;let e,s;const i=new Promise(((t,i)=>{e=t,s=i}));return i[t(267)]=!1,i[t(311)]=function(){return i.used=!0,e(...arguments)},i[t(460)]=function(){return i[t(267)]=!0,s(...arguments)},i}(),this.alive=!!e[i(419)],this[i(264)]=t,this[i(320)]=s,this._loader=t===ii[i(440)]&&window[i(329)]?new _i(s):new yi(s),this._config=e,this[i(365)]=0,this[i(458)]=null,this[i(279)]=!1,this[i(303)]=e[i(446)]}[ei(406)](){const t=ei,{retry:e,retryDelay:s,onRetryError:i,transformError:r,...n}=this[t(314)],a=async()=>{const o=t;try{const t=await this._loader.load(n);this[o(298)][o(311)](t)}catch(t){if(this[o(456)].running=!1,this[o(320)].debugLog(this[o(286)],o(380),t),this[o(279)])return;t[o(444)]=this._loaderType,t[o(330)]=this[o(365)];let h=t;r&&(h=r(h)||h),i&&this._retryCount>0&&i(h,this[o(365)],{index:n[o(374)],vid:n.vid,range:n[o(438)],priOptions:n[o(454)]}),this[o(365)]++;let c=!0;if(this[o(303)]&&(c=this[o(303)](t)),c&&this[o(365)]<=e)return clearTimeout(this[o(458)]),this[o(320)][o(433)](this.TAG_NAME,o(366),this[o(365)],",retry range,",n[o(438)]),void(this[o(458)]=setTimeout(a,s));this[o(298)][o(460)](h)}};return a(),this[t(298)]}async[ei(362)](){const t=ei;return clearTimeout(this._retryTimer),this._canceled=!0,this[t(456)][t(413)]=!1,this[t(456)][t(362)]()}get[ei(413)](){const t=ei;return this[t(456)]&&this[t(456)][t(413)]}get[ei(353)](){return this[ei(456)]}}class yi extends i{[ei(388)]=null;_aborted=!1;_timeoutTimer=null;[ei(411)]=null;[ei(399)]=0;_url=null;_onProgress=null;[ei(262)]=-1;[ei(404)]=null;[ei(442)]=384;_timeout=null;[ei(388)]=null;_withCredentials=null;_startTime=-1;_loadCompleteResolve=null;[ei(324)]=null;[ei(349)]=!1;[ei(266)]=!1;[ei(459)]="";_responseType;_credentials;[ei(259)];[ei(363)];_firstRtt;[ei(332)]=null;_priOptions=null;[ei(286)]="XhrLoader";constructor(t){const e=ei;super(),this[e(320)]=t}[ei(424)](t){const e=ei;clearTimeout(this[e(313)]),this[e(411)]=t[e(438)],this._onProgress=t[e(419)],this[e(262)]=t[e(374)],this[e(404)]=t[e(285)],this[e(445)]=t[e(319)]===e(387)||t[e(319)]===e(265),this[e(277)]=t.body||null,t[e(455)]&&(this[e(259)]=t[e(455)]),this[e(432)]=t[e(280)]||null,this[e(349)]=!0,this[e(459)]=t[e(326)]||t[e(453)],this._responseType=t[e(382)],this[e(407)]=-1,this[e(282)]=t[e(376)],this[e(332)]=t[e(268)],this[e(257)]=t[e(351)],this[e(375)]=t.priOptions||{},this.player[e(433)](this.TAG_NAME,e(361),this._range),this[e(409)]=ui(t[e(453)],t.params);const s=Date[e(368)]();return new Promise(((t,s)=>{const i=e;this[i(261)]=t,this[i(324)]=s,this[i(281)]()}))[e(341)]((t=>{const i=e;if(clearTimeout(this[i(313)]),this[i(349)]=!1,!this[i(321)])throw(t=t instanceof pi?t:new pi(this._url,this._request))[i(420)]=s,t[i(345)]=Date[i(368)](),t[i(338)]={index:this[i(262)],vid:this[i(459)],priOptions:this[i(375)]},t}))}_startLoad(){const t=ei;let e=null;if(this[t(317)]===ri[t(289)]&&this._range&&this[t(411)][t(425)]>1)if(this[t(397)]){this._firstRtt=-1;const s=1024*this._currentChunkSizeKB,i=this[t(411)][0]+this[t(399)];let r=this._range[1];s<this[t(411)][1]-i&&(r=i+s),e=[i,r],this[t(320)][t(433)](this[t(286)],"[xhr_loader->],tast :",this._range,t(327),e)}else e=this[t(411)],this[t(320)][t(433)](this[t(286)],"[xhr_loader->],tast :",this[t(411)],t(334),e);this[t(355)](e)}[ei(355)](t){const e=ei;try{this[e(260)]=Date[e(368)]();const s=this[e(388)]=new XMLHttpRequest;s[e(278)](this[e(259)]||e(423),this[e(409)],!0),s[e(382)]=this[e(317)],this[e(432)]&&(s[e(280)]=this[e(432)]),s[e(356)]=this[e(445)],s[e(392)]=this._onLoad.bind(this),s.onreadystatechange=this[e(272)].bind(this),s.onerror=t=>{const s=e;this._running=!1;const i=new pi(this._url,this[s(257)],t?.[s(439)]?.[s(331)],s(417)+t?.[s(439)]?.[s(364)]+s(256)+t?.[s(439)]?.[s(385)]);i.options={index:this._index,range:this[s(411)],vid:this[s(459)],priOptions:this[s(375)]},this[s(324)](i)},s.ontimeout=t=>{const s=e;this[s(362)]();const i=new pi(this[s(409)],this[s(257)],{status:408},"timeout");this[s(282)]&&(i[s(322)]=!0,this[s(282)](i,{index:this[s(262)],range:this[s(411)],vid:this[s(459)],priOptions:this[s(375)]})),i.options={index:this._index,range:this[s(411)],vid:this[s(459)],priOptions:this[s(375)]},this[s(324)](i)};const i=this[e(404)]||{},r=hi(t);r&&(i[e(431)]=r),i&&Object[e(273)](i)[e(384)]((t=>{s[e(271)](t,i[t])})),this[e(320)].debugLog(this.TAG_NAME,e(310),this[e(411)],",load sub range, ",t),s[e(403)](this[e(277)])}catch(s){s.options={index:this._index,range:t,vid:this[e(459)],priOptions:this[e(375)]},this[e(324)](s)}}[ei(272)](t){const e=ei;2===t[e(377)].readyState&&this[e(407)]<0&&(this._firstRtt=Date.now())}_onLoad(t){const e=ei,s=t[e(377)][e(364)];if(s<200||s>299){const i=new pi(this[e(409)],null,{...t[e(377)][e(331)],status:s},e(352)+s);return i[e(338)]={index:this[e(262)],range:this[e(411)],vid:this[e(459)],priOptions:this._priOptions},this._loadCompleteReject(i)}let i,r=null,n=!1;const a=this._range?.length>0?this[e(411)][0]:0;if(this[e(317)]===ri[e(289)]){const s=new Uint8Array(t[e(377)][e(331)]);if(i=a+this[e(399)],s&&s[e(371)]>0){this[e(399)]+=s[e(371)];const t=Date[e(368)]()-this._startTime,r=fi(this._receivedLength,t);this[e(429)](ni.REAL_TIME_SPEED,{speed:r,len:this[e(399)],time:t,vid:this._vid,index:this._index,range:[i,a+this[e(399)]],priOptions:this[e(375)]})}r=s,n=!(this[e(411)]?.[e(425)]>1&&this[e(411)][1]&&this[e(399)]<this._range[1]-this[e(411)][0]),this[e(320)][e(433)](this[e(286)],e(342),this[e(411)],e(378),i,e(358),a+this[e(399)],",dataLen,",s?s.byteLength:0,e(448),this[e(399)],e(359),this[e(262)],e(292),n)}else n=!0,r=t[e(377)][e(331)];let o={ok:s>=200&&s<300,status:s,statusText:this._xhr[e(385)],url:this[e(388)][e(390)],headers:this[e(401)](this[e(388)]),body:this[e(388)][e(331)]};this[e(363)]&&(o=this[e(363)](o,this[e(409)])||o),this._onProgress&&this[e(397)](r,n,{index:this[e(262)],vid:this[e(459)],range:[i,a+this._receivedLength],startTime:this[e(260)],endTime:Date.now(),priOptions:this._priOptions},o),n?(this._runing=!1,this[e(261)]&&this[e(261)](li(this._onProgress?null:r,n,o,o.headers[e(416)],o[e(285)][e(450)],this[e(260)],this[e(407)],this[e(262)],this[e(411)],this[e(459)],this._priOptions))):this[e(281)]()}[ei(362)](){const t=ei;if(!this[t(321)])return this[t(321)]=!0,this[t(349)]=!1,super[t(336)](),this._onCancel&&this._onCancel({index:this[t(262)],range:this[t(411)],vid:this[t(459)],priOptions:this[t(375)]}),this[t(388)]?this[t(388)][t(275)]():void 0}static[ei(389)](){return typeof XMLHttpRequest!==ei(451)}get receiveLen(){return this[ei(399)]}get[ei(413)](){return this[ei(294)]}set[ei(413)](t){this._running=t}_getHeaders(t){const e=ei,s=t[e(344)]().trim()[e(276)]("\r\n"),i={};for(const t of s){const s=t[e(276)](": ");i[s[0][e(402)]()]=s.slice(1)[e(315)](": ")}return i}}class vi extends i{[ei(354)]=ii[ei(440)];[ei(461)]=[];[ei(255)]=[];_currentTask=null;[ei(314)];constructor(t,e){const s=ei;super(),this[s(320)]=e,this[s(314)]=function(t){const e=ei;return{loaderType:ii[e(440)],retry:0,retryDelay:0,timeout:0,request:null,onTimeout:void 0,onProgress:void 0,onRetryError:void 0,transformRequest:void 0,transformResponse:void 0,transformError:void 0,responseType:ri[e(427)],range:void 0,url:"",params:void 0,method:e(423),headers:{},body:void 0,mode:void 0,credentials:void 0,cache:void 0,redirect:void 0,referrer:void 0,referrerPolicy:void 0,integrity:void 0,onProcessMinLen:0,...t}}(t),(this._config[s(444)]===ii[s(394)]||!_i[s(389)]())&&(this[s(354)]=ii[s(394)])}[ei(386)](){const t=ei;this[t(461)]=[],this[t(255)]=[],this[t(300)]=null}[ei(393)](){return this[ei(354)]===ii.FETCH}static isFetchSupport(){return _i[ei(389)]()}[ei(424)](t){const e=ei;let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};typeof t!==e(333)&&t?s=t:s[e(453)]=t||s[e(453)]||this._config[e(453)],s=Object[e(414)]({},this[e(314)],s),s.params&&(s[e(422)]=Object[e(414)]({},s[e(422)])),s.headers&&oi(s.headers)&&(s.headers=Object.assign({},s.headers)),s[e(405)]&&oi(s[e(405)])&&(s[e(405)]=Object.assign({},s[e(405)])),s[e(418)]&&(s=s[e(418)](s)||s);const i=new gi(this[e(354)],s,this[e(320)]);return i.loader.on(ni.REAL_TIME_SPEED,(t=>{const s=e;this.emit(ni[s(274)],t)})),this[e(461)][e(367)](i),1===this._queue[e(425)]&&(!this[e(300)]||!this[e(300)][e(413)])&&this[e(383)](),i[e(298)]}async cancel(){const t=ei,e=this[t(461)][t(343)]((e=>e[t(362)]()))[t(426)](this[t(255)][t(343)]((t=>t.cancel())));this[t(300)]&&e[t(367)](this[t(300)][t(362)]()),this._queue=[],this._alive=[],await Promise[t(263)](e),await function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Promise((e=>setTimeout(e,t)))}()}[ei(383)](){const t=ei;if(this._currentTask=this[t(461)][t(295)](),!this._currentTask)return;this[t(300)][t(316)]&&this[t(255)][t(367)](this._currentTask);const e=this[t(300)][t(406)]()[t(341)]((t=>{}));e&&typeof e[t(408)]===t(283)&&e.finally((()=>{const e=t;this[e(300)]?.[e(316)]&&this[e(255)]?.[e(425)]>0&&(this[e(255)]=this[e(255)].filter((t=>t&&t!==this[e(300)]))),this[e(383)]()}))}}const bi=Ii;function Ii(t,e){const s=Ai();return(Ii=function(t,e){return s[t-=208]})(t,e)}!function(t,e){const s=Ii,i=t();for(;;)try{if(411731===-parseInt(s(227))/1*(parseInt(s(224))/2)+-parseInt(s(210))/3*(-parseInt(s(232))/4)+-parseInt(s(212))/5+-parseInt(s(231))/6*(parseInt(s(211))/7)+-parseInt(s(222))/8*(parseInt(s(223))/9)+parseInt(s(208))/10*(parseInt(s(215))/11)+parseInt(s(209))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ai);const Si={NETWORK:bi(230),NETWORK_TIMEOUT:bi(216),NETWORK_FORBIDDEN:"network_forbidden",OTHER:bi(218),MANIFEST:bi(219),HLS:bi(228),DEMUX:"demux"};class wi extends Error{constructor(t,e,s,i,r){const n=bi;super(r||s?.[n(235)]),this.errorType=t===Si[n(234)]?Si[n(221)]:t,this.originError=s,this[n(213)]=i,this[n(217)]=this[n(235)]}static[bi(226)](t,e,s,i,r){return t instanceof wi?t:(t instanceof Error&&(s=t,t=""),t||(t=Si[bi(220)]),new wi(t,e,s,i,r))}static[bi(230)](t){const e=bi;return new wi(t?.[e(229)]?Si[e(234)]:Si[e(221)],null,t instanceof Error?t:null,{url:t?.[e(225)],response:t?.[e(214)],httpCode:t?.[e(214)]?.[e(233)]})}}function Ai(){const t=["NETWORK","144TZIeUK","290412gnsZYS","16yGlESO","url","create","21641DMsMoN","hls","isTimeout","network","15216jatkIU","20WWgmAB","status","NETWORK_TIMEOUT","message","481870QkYAKF","22394364yJREQv","136632OgTgIe","2114CRojcq","3462095IFavcn","ext","response","121zuBJVD","network_timeout","errorMessage","other","manifest","OTHER"];return(Ai=function(){return t})()}const Ti=Ei;function Ei(t,e){const s=Di();return(Ei=function(t,e){return s[t-=275]})(t,e)}!function(t,e){const s=Ei,i=t();for(;;)try{if(745867===parseInt(s(378))/1+parseInt(s(347))/2*(-parseInt(s(355))/3)+-parseInt(s(351))/4+parseInt(s(336))/5+-parseInt(s(364))/6*(parseInt(s(314))/7)+-parseInt(s(338))/8*(parseInt(s(352))/9)+parseInt(s(342))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Di);const ki=/^#(EXT[^:]*)(?::(.*))?$/,xi=/([^=]+)=(?:"([^"]*)"|([^",]*))(?:,|$)/g,Ui=/^(?:[a-zA-Z0-9+\-.]+:)?\/\//,Li=/^((?:[a-zA-Z0-9+\-.]+:)?\/\/[^/?#]*)?([^?#]*\/)?/;function Di(){const t=["textCodec","DISCONTINUITY-SEQUENCE","METHOD","endCC","2GVrHWV","setTrackExist","audio","isMediaPlaylist","2375600Eeafil","5553fjqInS","duration","BYTERANGE","3519561ISVVuD","BANDWIDTH","clone","autoSelect","#EXTINF:","videoCodec","video","initSegment","type","226920SBLeGL","Invalid m3u8 file","segments","replace","STREAM-INF","isMaster","KEYFORMATVERSIONS","channels","DEFAULT","isNaN","AVERAGE-BANDWIDTH","group","exec","SubTitle","850986junDlx","setIVFromSN","AUDIO","audioStreams","RESOLUTION","AUTOSELECT","targetDuration","audioGroup","DISCONTINUITY","name","SUBTITLES","startCC","includes","subtitleGroup","ENDLIST","ClosedCaptions","subtitleStreams","slice","YES","keyFormat","CODECS","byteRange","toUpperCase","#EXTM3U","VIDEO","key","default","mediaType","MAP","GROUP-ID","height","MEDIA-SEQUENCE","text","TYPE","CHANNELS","filter","push","SUBTITLE","length","number","hasVideo","keyFormatVersions","isInitSegment","audioCodec","KEY","lang","closedCaptionsStream","encrypt ","#EXT-X-TARGETDURATION:","test","217KmiuUK","identity","live","VERSION","CLOSED-CAPTIONS","Video","parse","split","NAME","start","endSN","forEach","setByteRange","streams","URI","method","AES-128","LANGUAGE","version","Audio","KEYFORMAT","TARGETDURATION","2792570EdKAjy","bitrate","13576kICdki","EXT-X-","url","MEDIA","33229230JFgbGV"];return(Di=function(){return t})()}function Bi(t){const e=Ei,s=t.match(ki);if(s&&s[1])return[s[1][e(367)](e(339),""),s[2]]}function Ci(t){const e=Ei,s={};let i=xi[e(376)](t);for(;i;)s[i[1]]=i[2]||i[3],i=xi[e(376)](t);return s}function Ri(t,e){const s=Ei;if(!e||!t||Ui[s(313)](t))return t;const i=Li[s(376)](e);return i?"/"===t[0]?i[1]+t:i[1]+i[2]+t:t}const Pi={audio:[/^mp4a/,/^vorbis$/,/^opus$/,/^flac$/,/^[ae]c-3$/],video:[/^avc/,/^hev/,/^hvc/,/^vp0?[89]/,/^av1$/],text:[/^vtt$/,/^wvtt/,/^stpp/]};function Mi(t,e){const s=Ei,i=Pi[t];if(i&&e&&e[s(302)])for(let t=0;t<i[s(302)];t++)for(let r=0;r<e.length;r++)if(i[t][s(313)](e[r]))return e[r]}class Fi{constructor(){const t=Ei;this[t(332)]=0,this[t(327)]=[],this[t(369)]=!0}}const Ni={Audio:"AUDIO",Video:Ti(288),SubTitle:Ti(301),ClosedCaptions:Ti(318)};class Oi{id=0;url="";[Ti(290)]=!1;[Ti(358)]=!1;forced=!1;[Ti(375)]="";[Ti(387)]="";[Ti(309)]="";[Ti(366)]=[];[Ti(324)]=0}class zi extends Oi{[Ti(291)]=Ni[Ti(333)];[Ti(371)]=0}Ti(291);class Gi extends Oi{mediaType=Ni[Ti(377)]}class Hi{id=0;bitrate=0;width=0;[Ti(294)]=0;[Ti(387)]="";url="";[Ti(307)]="";[Ti(360)]="";[Ti(343)]="";audioGroup="";[Ti(381)]=[];[Ti(280)]=[];[Ti(310)]=[]}class Vi{[Ti(332)]=0;[Ti(340)]="";type="";startCC=0;[Ti(346)]=0;startSN=0;[Ti(324)]=0;totalDuration=0;[Ti(384)]=0;[Ti(316)]=!0;[Ti(366)]=[]}class Wi{sn=0;cc=0;url="";title="";start=0;[Ti(353)]=0;key=null;byteRange=null;[Ti(306)]=!1;initSegment=null;isLast=!1;hasAudio=!1;hasVideo=!1;get end(){const t=Ti;return this[t(323)]+this[t(353)]}[Ti(348)](t,e){this[Ti(304)]=t,this.hasAudio=e}[Ti(326)](t,e){const s=Ti;this[s(285)]=[0];const i=t.split("@");1===i[s(302)]&&e&&e.byteRange?(this.byteRange[0]=e[s(285)][1]||0,this[s(285)][0]&&(this.byteRange[0]+=1)):this.byteRange[0]=parseInt(i[1]),this[s(285)][1]=this[s(285)][0]+parseInt(i[0])-1}}class ji{[Ti(329)]="";[Ti(340)]="";iv=null;keyFormat="";[Ti(305)]="";constructor(t){const e=Ti;t instanceof ji&&(this.method=t[e(329)],this[e(340)]=t[e(340)],this[e(283)]=t[e(283)],this[e(305)]=t[e(305)],t.iv&&(this.iv=new Uint8Array(t.iv)))}clone(t){const e=Ti,s=new ji(this);return null!=t&&s[e(379)](t),s}setIVFromSN(t){const e=Ti;if(!this.iv&&this.method===e(330)&&typeof t===e(303)&&this[e(340)]){this.iv=new Uint8Array(16);for(let e=12;e<16;e++)this.iv[e]=t>>8*(15-e)&255}}}class qi{static[Ti(320)](){const t=Ti;let e=arguments[t(302)]>0&&void 0!==arguments[0]?arguments[0]:"",s=arguments[t(302)]>1?arguments[1]:void 0;if(!e.includes(t(287)))throw new Error(t(365));const i=function(t){const e=Ei;return t.split(/[\r\n]/).map((t=>t.trim()))[e(299)](Boolean)}(e);return qi[t(350)](e)?function(t,e){const s=Ti,i=new Vi;i.url=e;let r,n=new Wi,a=null,o=null,h=0,c=0,u=0,l=0,d=!1;for(;(r=t[l++])&&!d;){if("#"!==r[0]){n.sn=c,n.cc=u,n[s(340)]=Ri(r,e),o&&(n.key=o[s(357)](c)),a&&(n[s(362)]=a),i[s(366)][s(300)](n),n=new Wi,c++;continue}const t=Bi(r);if(!t)continue;const[l,f]=t;switch(l){case"VERSION":i[s(332)]=parseInt(f);break;case"PLAYLIST-TYPE":i[s(363)]=f?.[s(286)]();break;case s(335):i[s(384)]=parseFloat(f);break;case s(278):{const t=i.segments[i[s(366)].length-1];t&&(t.isLast=!0),i[s(316)]=!1,d=!0}break;case s(295):c=i.startSN=parseInt(f);break;case s(344):u=i[s(275)]=parseInt(f);break;case s(386):u++;break;case s(354):n.setByteRange(f,i[s(366)][i[s(366)][s(302)]-1]);break;case"EXTINF":{const[t,e]=f[s(321)](",");n[s(323)]=h,n.duration=parseFloat(t),h+=n[s(353)],n.title=e}break;case s(308):{const t=Ci(f);if("NONE"===t[s(345)]){o=null;break}if("AES-128"!==t[s(345)])throw new Error(s(311)+t[s(345)]+"/"+t[s(334)]+" is not supported");if(o=new ji,o[s(329)]=t[s(345)],o.url=/^blob:/[s(313)](t[s(328)])?t[s(328)]:Ri(t[s(328)],e),o.keyFormat=t[s(334)]||s(315),o[s(305)]=t[s(370)],t.IV){let e=t.IV[s(281)](2);e=(1&e[s(302)]?"0":"")+e,o.iv=new Uint8Array(e[s(302)]/2);for(let t=0,i=e.length/2;t<i;t++)o.iv[t]=parseInt(e[s(281)](2*t,2*t+2),16)}}break;case s(292):{const t=Ci(f);n[s(340)]=Ri(t.URI,e),t.BYTERANGE&&n.setByteRange(t[s(354)]),n[s(306)]=!0,n.sn=0,o&&(n[s(289)]=o[s(357)](0)),a=n,n=new Wi}}}const f=i[s(366)][i[s(366)][s(302)]-1];return f&&(i.endSN=f.sn),i.totalDuration=h,i[s(346)]=u,i}(i,s):function(t,e){const s=Ti,i=new Fi;let r,n=0;const a=[],o=[];for(;r=t[n++];){const h=Bi(r);if(!h)continue;const[c,u]=h;if(c===s(317))i[s(332)]=parseInt(u);else if(c===s(341)&&u){const t=Ci(u);let i;switch(t.TYPE){case s(380):i=new zi;break;case s(388):i=new Gi;break;default:i=new Oi}i[s(340)]=Ri(t[s(328)],e),i[s(290)]=t[s(372)]===s(282),i.autoSelect=t[s(383)]===s(282),i[s(375)]=t[s(293)],i.name=t[s(322)],i[s(309)]=t[s(331)],t[s(298)]&&(i[s(371)]=Number(t[s(298)][s(321)]("/")[0]),Number[s(373)](i.channels)&&(i[s(371)]=0)),t[s(297)]===s(380)&&t[s(328)]&&a[s(300)](i),t[s(297)]===s(388)&&o[s(300)](i)}else if(c===s(368)&&u){const r=new Hi,a=Ci(u);if(r[s(337)]=parseInt(a[s(374)]||a[s(356)]),r[s(387)]=a[s(322)],r[s(340)]=Ri(t[n++],e),a[s(382)]){const[t,e]=a[s(382)][s(321)]("x");r.width=parseInt(t),r.height=parseInt(e)}if(a[s(284)]){const t=a.CODECS[s(321)](/[ ,]+/)[s(299)](Boolean);r[s(360)]=Mi(s(361),t),r.audioCodec=Mi(s(349),t),r.textCodec=Mi(s(296),t)}r.audioGroup=a.AUDIO,r[s(277)]=a.SUBTITLES,i.streams[s(300)](r)}}return i[s(327)].forEach(((t,e)=>{t.id=e})),a[s(302)]&&(a[s(325)](((t,e)=>{t.id=e})),i[s(327)][s(325)]((t=>{const e=s;t[e(385)]&&(t.audioStreams=a[e(299)]((s=>s[e(375)]===t[e(385)])))}))),o[s(302)]&&(o[s(325)](((t,e)=>{t.id=e})),i.streams[s(325)]((t=>{const e=s;t.subtitleGroup&&(t[e(280)]=o.filter((s=>s[e(375)]===t[e(277)])))}))),i}(i,s)}static[Ti(350)](t){const e=Ti;return t[e(276)](e(359))||t[e(276)](e(312))}}const Yi=Xi;function Ki(){const t=["_audioLoader","802148HhgWKm","empty segments list","cancel","HLS_LEVEL_LOADED","469026UIjCko","222028vmyNAj","destroy","live","load","data","network","_subtitleLoader","stopPoll","debugLog","text","length","_onLoaderRetry","poll","segments","push","pollRetryCount","LOAD_RETRY","load()","player","5kjuaYU","1479128WwWTwM","config","HlsManifestLoader","_loader","_timer","emit","1198245jHSURm","MANIFEST","722608JMcqBj","hls","isMaster","2857015tykHsk","parse"];return(Ki=function(){return t})()}function Xi(t,e){const s=Ki();return(Xi=function(t,e){return s[t-=314]})(t,e)}!function(t,e){const s=Xi,i=t();for(;;)try{if(246577===parseInt(s(351))/1+-parseInt(s(346))/2+parseInt(s(338))/3+-parseInt(s(332))/4+parseInt(s(331))/5*(parseInt(s(350))/6)+parseInt(s(343))/7+-parseInt(s(340))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Ji{constructor(t){const e=Xi;this[e(341)]=t,this.player=t[e(330)],this.TAG_NAME=e(334),this._timer=null;const{retryCount:s,retryDelay:i,loadTimeout:r,fetchOptions:n}=this.hls[e(333)];this._loader=new vi({...n,responseType:e(321),retry:s,retryDelay:i,timeout:r,onRetryError:this._onLoaderRetry},this[e(330)]),this[e(345)]=new vi({...n,responseType:"text",retry:s,retryDelay:i,timeout:r,onRetryError:this._onLoaderRetry},this[e(330)]),this._subtitleLoader=new vi({...n,responseType:e(321),retry:s,retryDelay:i,timeout:r,onRetryError:this[e(323)]},this[e(330)])}async destroy(){const t=Xi;await this[t(319)](),this[t(345)]&&(this[t(345)][t(352)](),this[t(345)]=null),this[t(318)]&&(this[t(318)][t(352)](),this[t(318)]=null),this._loader&&(this[t(335)][t(352)](),this[t(335)]=null)}async[Yi(315)](t,e,s){const i=Yi;this[i(330)][i(320)](this.TAG_NAME,i(329),t,e,s);const r=[this[i(335)][i(315)](t)];let n,a,o,h,c,u;e&&r[i(326)](this[i(345)][i(315)](e)),s&&r[i(326)](this[i(318)][i(315)](s));try{const[t,s,h]=await Promise.all(r);if(!t)return[];n=t.data,e?(a=s?.[i(316)],o=h?.[i(316)]):o=s?.data}catch(t){throw wi[i(317)](t)}try{if(h=qi[i(344)](n,t),!1===h?.[i(314)]&&h[i(325)]&&!h[i(325)][i(322)])throw new Error(i(347));a&&(c=qi[i(344)](a,e)),o&&(u=qi[i(344)](o,s))}catch(t){throw new wi(Si[i(339)],Si.HLS,t)}return h&&(h[i(342)]?this[i(341)][i(337)](C.HLS_MANIFEST_LOADED,{playlist:h}):this[i(341)][i(337)](C[i(349)],{playlist:h})),[h,c,u]}[Yi(324)](t,e,s,i,r,n){const a=Yi;clearTimeout(this[a(336)]),n=n||3e3;let o=this[a(341)].config[a(327)];const h=async()=>{const c=a;clearTimeout(this[c(336)]);try{const r=await this[c(315)](t,e,s);if(!r[0])return;o=this[c(341)][c(333)][c(327)],i(r[0],r[1],r[2])}catch(t){o--,o<=0&&r(t)}this[c(336)]=setTimeout(h,n)};this._timer=setTimeout(h,n)}stopPoll(){const t=Yi;return clearTimeout(this[t(336)]),this[t(348)]()}[Yi(348)](){const t=Yi;return Promise.all([this[t(335)][t(348)](),this[t(345)][t(348)]()])}[Yi(323)]=(t,e)=>{const s=Yi;this[s(341)][s(337)](C[s(328)],{error:wi[s(317)](t),retryTime:e})}}var Zi=$i;function Qi(){var t=["7344VUiUTu","reduce","addChunkRecord","length","2300POqBen","slice","getLatestSpeed","_chunkSpeeds","32066kehEOa","5178nZHody","16781248zvnHHF","reset","push","548CyEANh","18FRDIoL","11431MHyhsv","138iXJPyV","addRecord","1102855LnCHxi","_speeds","2012464IMNkQI","getAvgSpeed"];return(Qi=function(){return t})()}function $i(t,e){var s=Qi();return($i=function(t,e){return s[t-=195]})(t,e)}!function(t,e){for(var s=$i,i=t();;)try{if(303144===parseInt(s(209))/1*(-parseInt(s(215))/2)+parseInt(s(210))/3*(-parseInt(s(214))/4)+-parseInt(s(197))/5+parseInt(s(195))/6*(-parseInt(s(216))/7)+-parseInt(s(199))/8+parseInt(s(201))/9*(-parseInt(s(205))/10)+parseInt(s(211))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qi);class tr{[Zi(208)]=[];[Zi(198)]=[];[Zi(196)](t,e){var s=Zi;t&&e&&(this[s(198)].push(8e3*t/e),this[s(198)]=this[s(198)].slice(-3))}[Zi(203)](t,e){var s=Zi;t&&e&&(this[s(208)][s(213)](8e3*t/e),this._chunkSpeeds=this._chunkSpeeds[s(206)](-100))}[Zi(200)](){var t=Zi;return this[t(208)].length||this._speeds[t(204)]?this[t(198)][t(204)]?this._speeds[t(202)](((t,e)=>t+e))/this[t(198)][t(204)]:this[t(208)][t(202)](((t,e)=>t+e))/this._chunkSpeeds[t(204)]:0}[Zi(207)](){var t=Zi;return this[t(208)][t(204)]||this[t(198)][t(204)]?this[t(198)][t(204)]?this[t(198)][this._speeds[t(204)]-1]:this._chunkSpeeds[this[t(208)][t(204)]-1]:0}[Zi(212)](){var t=Zi;this[t(208)]=[],this[t(198)]=[]}}const er=sr;function sr(t,e){const s=rr();return(sr=function(t,e){return s[t-=273]})(t,e)}!function(t,e){const s=sr,i=t();for(;;)try{if(676606===parseInt(s(314))/1*(-parseInt(s(312))/2)+parseInt(s(287))/3*(-parseInt(s(273))/4)+parseInt(s(305))/5*(parseInt(s(288))/6)+parseInt(s(310))/7*(-parseInt(s(277))/8)+-parseInt(s(280))/9+parseInt(s(316))/10*(-parseInt(s(315))/11)+parseInt(s(276))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rr);class ir{constructor(t){const e=sr;this[e(304)]=t,this[e(297)]=t[e(297)],this._bandwidthService=new tr;const{retryCount:s,retryDelay:i,loadTimeout:r,fetchOptions:n}=this[e(304)][e(275)];this[e(299)]=new vi({...n,responseType:e(298),retry:s,retryDelay:i,timeout:r,onRetryError:this[e(319)]},this[e(297)]),this[e(311)]=new vi({...n,responseType:e(298),retry:s,retryDelay:i,timeout:r,onRetryError:this[e(319)]},this[e(297)]),this._keyLoader=new vi({...n,responseType:e(298),retry:s,retryDelay:i,timeout:r,onRetryError:this[e(319)]},this[e(297)])}[er(306)](){const t=er;this.reset(),this[t(286)]&&(this[t(286)][t(306)](),this._keyLoader=null),this._audioSegmentLoader&&(this._audioSegmentLoader[t(306)](),this[t(311)]=null),this[t(299)]&&(this[t(299)][t(306)](),this[t(299)]=null)}[er(307)](){const t=er;return{speed:this[t(293)].getLatestSpeed(),avgSpeed:this[t(293)][t(291)]()}}[er(274)](t,e,s){const i=er;let r=arguments[i(284)]>3&&void 0!==arguments[3]?arguments[3]:s;const n=[];return t&&(n[0]=this.loadVideoSegment(t,s)),e&&(n[1]=this[i(322)](e,r)),Promise[i(318)](n)}[er(283)](t,e){const s=er;return this._loadSegment(this[s(299)],t,e)}[er(322)](t,e){const s=er;return this[s(282)](this[s(311)],t,e)}async[er(282)](t,e,s){const i=er;let r,n,a,o,h;const c=[];if(this[i(304)][i(292)](C[i(278)],{url:e[i(296)]}),c[0]=t[i(274)](e[i(296)]),s&&e[i(281)]){const s=e.initSegment[i(296)];r=this[i(300)][s],!r&&(this[i(304)][i(292)](C.LOAD_START,{url:s}),c[1]=t.load(s)[i(308)]((t=>{const e=i;if(t){Object[e(279)](this[e(300)])>30&&(this[e(300)]={}),r=this._mapCache[s]=t[e(285)],this._emitOnLoaded(t,s)}})));const n=e[i(281)].key?.url;n&&(h=e[i(281)][i(290)].iv,o=this[i(301)][n],!o&&(this[i(304)][i(292)](C[i(278)],{url:n}),c[2]=this[i(286)][i(274)](n)[i(308)]((t=>{const e=i;t&&(o=this[e(301)][n]=t[e(285)],this[e(309)](t,n))}))))}const u=e[i(290)]?.url;u&&(a=e.key.iv,n=this[i(301)][u],!n&&(this[i(304)].emit(C.LOAD_START,{url:u}),c[3]=this[i(286)].load(u)[i(308)]((t=>{t&&(n=this._keyCache[u]=t.data,this._emitOnLoaded(t,u))}))));const[l]=await Promise.all(c);if(!l)return;const d=l[i(285)];return this[i(309)](l,e[i(296)]),{data:d,map:r,key:n,mapKey:o,keyIv:a,mapKeyIv:h}}[er(313)](){const t=er;this.error=null,this[t(300)]={},this[t(301)]={},this[t(293)][t(313)]()}async[er(295)](){const t=er;await Promise[t(318)]([this[t(286)][t(295)](),this[t(299)][t(295)](),this[t(311)][t(295)]()])}[er(309)]=(t,e)=>{const s=er,{data:i,response:r,option:n}=t,{firstByteTime:a,startTime:o,endTime:h,contentLength:c}=n||{},u=h-o;this[s(293)][s(302)](c||i[s(321)],u),this[s(304)].emit(C.SPEED,{time:u,byteLength:c,url:e}),this[s(304)][s(292)](C.LOAD_COMPLETE,{url:e,elapsed:u||0}),this[s(304)].emit(C[s(317)],{url:e,responseUrl:r[s(296)],elapsed:a-o}),this[s(304)][s(292)](C[s(294)],{headers:r[s(289)]})};[er(319)]=(t,e)=>{const s=er;this[s(304)][s(292)](C[s(320)],{error:wi[s(303)](t),retryTime:e})}}function rr(){const t=["5779782xzqauL","initSegment","_loadSegment","loadVideoSegment","length","data","_keyLoader","3wNnBCh","12VLEXom","headers","key","getAvgSpeed","emit","_bandwidthService","LOAD_RESPONSE_HEADERS","cancel","url","player","arraybuffer","_segmentLoader","_mapCache","_keyCache","addRecord","network","hls","2664820lVXmbu","destroy","speedInfo","then","_emitOnLoaded","21WLuHbK","_audioSegmentLoader","8746LXepYh","reset","277lUlYDs","172953BcbThu","290WImaXo","TTFB","all","_onLoaderRetry","LOAD_RETRY","byteLength","loadAudioSegment","5146412OsFmSX","load","config","41574972zBmvQu","687504datKwC","LOAD_START","keys"];return(rr=function(){return t})()}const nr=or;!function(t,e){const s=or,i=t();for(;;)try{if(914243===parseInt(s(265))/1+-parseInt(s(274))/2+-parseInt(s(306))/3*(parseInt(s(272))/4)+-parseInt(s(284))/5+parseInt(s(294))/6+-parseInt(s(262))/7+parseInt(s(289))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(hr);class ar{constructor(t,e,s){const i=or;this[i(311)]=void 0,this.id=0,this[i(308)]=0,this[i(271)]=0,this[i(270)]=0,this[i(281)]="",this[i(297)]="",this.audioCodec="",this.videoCodec="",this[i(293)]="",this[i(283)]=0,this.endCC=0,this[i(264)]=0,this[i(282)]=-1,this.totalDuration=0,this.targetDuration=0,this[i(266)]=null,this[i(263)]=[],this[i(273)]=[],this[i(314)]=[],this[i(307)]=[],this[i(280)]=null,this[i(303)]=null,this.TAG_NAME=i(295),this.update(t,e,s)}get[nr(310)](){const t=nr;return this[t(263)][t(276)]?this[t(263)][this[t(263)][t(276)]-1]:null}get[nr(290)](){return this[nr(275)]||this.segments[0]?.duration||0}get[nr(291)](){return this[nr(288)]}get[nr(288)](){const t=nr;return this[t(310)]?.end||0}get[nr(277)](){return this.currentSubtitleStream?.endSN||0}[nr(269)](t,e){return this[nr(285)](t,e)}getAudioSegment(t){const e=nr;if(!t||!this[e(280)])return;const s=t.sn-this[e(266)];return this.currentAudioStream[e(263)][e(287)]((t=>t.sn===s))}[nr(268)](t,e){const s=nr;this.url=t[s(297)],Array[s(292)](t[s(263)])?((null===this[s(311)]||void 0===this[s(311)])&&(this[s(311)]=t[s(311)]),this[s(267)](t,this),this[s(283)]=t[s(283)],this[s(298)]=t[s(298)],this.startSN=t[s(264)],this[s(282)]=t[s(282)]||-1,this[s(302)]=t[s(302)],this[s(275)]=t[s(275)],this[s(311)]=t[s(311)],e&&this.currentAudioStream&&Array[s(292)](e.segments)&&(this._updateSegments(e,this[s(280)]),(null===this[s(266)]||void 0===this[s(266)])&&t[s(263)][s(276)]&&e[s(263)][s(276)]&&(this[s(266)]=t[s(263)][0].sn-e[s(263)][0].sn))):(this.id=t.id,this.bitrate=t.bitrate,this[s(271)]=t[s(271)],this.height=t[s(270)],this[s(281)]=t[s(281)],this[s(300)]=t[s(300)],this[s(304)]=t.videoCodec,this[s(293)]=t[s(293)],this[s(273)]=t[s(273)],this[s(314)]=t[s(314)],!this.currentAudioStream&&this.audioStreams.length&&(this[s(280)]=this[s(273)][s(287)]((t=>t[s(313)]))||this[s(273)][0]),!this.currentSubtitleStream&&this[s(314)][s(276)]&&(this.currentSubtitleStream=this[s(314)][s(287)]((t=>t[s(313)]))||this[s(314)][0]))}[nr(301)](t){const e=nr;if(!(t&&this.currentSubtitleStream&&Array[e(292)](t[e(263)])))return;const s=this._updateSegments(t,this[e(303)]),i=this[e(303)][e(263)];return i.length>100&&(this[e(303)][e(263)]=i.slice(100)),s?s[e(299)]((t=>{const s=e;return{sn:t.sn,url:t[s(297)],duration:t[s(309)],start:t[s(296)],end:t[s(261)],lang:this[s(303)][s(279)]}})):void 0}switchSubtitle(t){const e=nr,s=this.subtitleStreams[e(287)]((s=>s[e(279)]===t)),i=this[e(303)];s&&(this[e(303)]=s,i[e(263)]=[])}[nr(285)](t,e){const s=nr;let i=0;const r=this[s(263)];for(let e=0,n=r[s(276)];e<n;e++)if(r[e].end>=t){i=e;break}return i>e&&(i=e),i&&(this.segments=this[s(263)][s(305)](i),this[s(280)]&&(this.currentAudioStream.segments=this[s(280)][s(263)][s(305)](i))),e-i}[nr(267)](t,e){const s=nr,i=e[s(263)];if(this[s(311)]){const r=i[i.length-1],n=r?.sn||-1;if(n<t[s(282)]&&t.segments[s(276)]){const a=t[s(263)][s(312)]((t=>t.sn===n)),o=a<0?t.segments:t[s(263)][s(305)](a+1);if(i[s(276)]&&o[s(276)]){let t=r[s(261)];o[s(286)]((e=>{const i=s;e[i(296)]=t,t=e[i(261)]}));const e=r?.cc||-1;e>o[0].cc&&o[s(286)]((t=>t.cc+=e))}return e.endSN=t.endSN,e[s(263)]=i[s(278)](o),o}}else e[s(263)]=t[s(263)]}}function or(t,e){const s=hr();return(or=function(t,e){return s[t-=261]})(t,e)}function hr(){const t=["updateSubtitle","totalDuration","currentSubtitleStream","videoCodec","slice","308049drlyeM","closedCaptions","bitrate","duration","lastSegment","live","findIndex","default","subtitleStreams","end","3833585SEYFeg","segments","startSN","967142vmqIHJ","snDiff","_updateSegments","update","clearOldSegment","height","width","28xJBtcA","audioStreams","1086754ookmkk","targetDuration","length","currentSubtitleEndSn","concat","lang","currentAudioStream","name","endSN","startCC","7490960TBQgLM","_clearSegments","forEach","find","endTime","23430640otNgIo","segmentDuration","liveEdge","isArray","textCodec","1957656cWzIKr","HlsStream","start","url","endCC","map","audioCodec"];return(hr=function(){return t})()}function cr(){const t=["isArray","1231623RqFaTg","start","upsertPlaylist","clearOldSegment() stream.endTime:","TAG_NAME","updateSubtitle","segments","currentSubtitleStream","filter","findSegmentIndexByTime","abs","moveSegmentPointer()","clearOldSegment","2977149QGoXij","26ECyWEC","streams","reset","update","hasAudio","clearOldSegment() update _segmentPointer:","setNextSegmentByIndex","isEmpty","lastSegment","upsertPlaylist() playlist is null","currentSegment","7331988JyBGaI","totalDuration","destroy","player","HlsPlaylist","isLive"," startTime <= 0","SUBTITLE_SEGMENTS","getSegmentByIndex","_segmentPointer","currentStream","getAudioSegment","currentSegments"," <= maxPlaylistSize:","emit","377913MmZdAR","dvrWindow",", this.dvrWindow:","forEach","switchSubtitle","isMaster","36308mwTErH","end","currentSubtitleEndSn","hasVideo","hls","length","6803715KMnsUj","debugLog","152goFhmL","debugWarn","endTime","699936Hckgut"];return(cr=function(){return t})()}function ur(t,e){const s=cr();return(ur=function(t,e){return s[t-=332]})(t,e)}const lr=ur;!function(t,e){const s=ur,i=t();for(;;)try{if(887200===parseInt(s(360))/1+parseInt(s(387))/2*(-parseInt(s(354))/3)+parseInt(s(371))/4+parseInt(s(366))/5+-parseInt(s(339))/6+-parseInt(s(386))/7+-parseInt(s(368))/8*(-parseInt(s(373))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cr);class dr{constructor(t){const e=ur;this[e(364)]=t,this[e(342)]=t.player,this[e(388)]=[],this[e(349)]=null,this.dvrWindow=0,this[e(348)]=-1,this[e(377)]=e(343)}[lr(341)](){this[lr(389)]()}get[lr(336)](){const t=lr;return this[t(349)]?.[t(336)]}get[lr(338)](){const t=lr;return this[t(351)]?.[this[t(348)]]}get nextSegment(){const t=lr;return this[t(351)]?.[this[t(348)]+1]}get currentSegments(){const t=lr;return this[t(349)]?.[t(379)]}get[lr(362)](){const t=lr;return this[t(349)]?.[t(362)]}get liveEdge(){const t=lr;return this[t(349)]?.liveEdge}get[lr(340)](){const t=lr;return this.currentStream?.[t(340)]||0}get seekRange(){const t=lr,e=this.currentSegments;if(e&&e[t(365)])return[e[0].start,e[e[t(365)]-1].end]}get[lr(335)](){const t=lr;return!this.currentSegments?.[t(365)]}get[lr(344)](){const t=lr;return this[t(349)]?.live}get hasSubtitle(){const t=lr;return!!this[t(349)]?.[t(380)]}[lr(350)](t){const e=lr;return this[e(349)]?.[e(350)](t)}moveSegmentPointer(t){const e=lr;null==t&&(t=this[e(348)]+1),this[e(348)]=function(t,e,s){const i=ht;return Math[i(618)](Math[i(552)](t,Math.max(e,s)),Math[i(552)](e,s))}(t,-1,this[e(351)]?.[e(365)]),this[e(342)][e(367)](this[e(377)],e(384),t,this._segmentPointer)}[lr(389)](){const t=lr;this[t(388)]=[],this.currentStream=null,this.dvrWindow=0,this[t(348)]=-1}[lr(347)](t){const e=lr;return this[e(351)]?.[t]}[lr(334)](){const t=lr;let e=arguments[t(365)]>0&&void 0!==arguments[0]?arguments[0]:0;this[t(348)]=e-1,this[t(342)][t(367)](this[t(377)],"setNextSegmentByIndex()",e,this[t(348)])}[lr(382)](t){const e=lr,s=this[e(351)];if(s){for(let i,r=0,n=s[e(365)];r<n;r++)if(i=s[r],t>=i[e(374)]&&t<i[e(361)])return r;const i=s[s[e(365)]-1];if(Math[e(383)](t-i.end)<.2)return s[e(365)]-1}}[lr(375)](t,e,s){const i=lr;if(!t)return void this[i(342)][i(369)](this.TAG_NAME,i(337));if(t[i(359)])this[i(388)][i(365)]=t[i(388)].length,t.streams[i(381)]((t=>t.url))[i(357)](((t,e)=>{const s=i;this[s(388)][e]?this.streams[e][s(390)](t):this[s(388)][e]=new ar(t)})),this[i(349)]=this[i(388)][0];else if(Array[i(372)](t[i(379)])){const r=this[i(349)];if(r){r.update(t,e,s);const n=r[i(378)](s);n&&this[i(364)][i(353)](C[i(346)],{list:n})}else this.reset(),this[i(349)]=this[i(388)][0]=new ar(t,e,s)}this.currentStream&&this[i(364)][i(344)]&&!this[i(355)]&&(this[i(355)]=this[i(351)].reduce(((t,e)=>t+=e.duration),0))}[lr(358)](t){const e=lr;this.currentStream?.[e(358)](t)}[lr(385)](){const t=lr;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:50;const s=this[t(349)];if(!this[t(355)]||!s)return;const i=s[t(370)]-this[t(355)];if(i<=0)return void this[t(342)][t(367)](this[t(377)],t(376)+s[t(370)]+t(356)+this.dvrWindow+t(345));const r=s.segments;if(r.length<=e)return void this.player[t(367)](this[t(377)],"clearOldSegment() segments.length:"+r.length+t(352)+e);const n=this[t(348)];this._segmentPointer=s.clearOldSegment(i,n),this[t(342)][t(367)](this[t(377)],t(333),n,this[t(348)]),this[t(342)][t(367)](this.TAG_NAME,t(351),this[t(351)])}checkSegmentTrackChange(t,e){const s=lr,i=this[s(382)](t),r=this.getSegmentByIndex(i);if(!r)return;if(!r[s(332)]&&!r[s(363)])return;if(2!==e&&r[s(332)]&&r[s(363)])return r;if(r[s(361)]-t>.3)return;const n=this[s(347)](i+1);return n&&(n[s(332)]||n.hasVideo)&&(n.hasAudio!==r[s(332)]||n[s(363)]!==r[s(363)])?n:void 0}}function fr(t,e){var s=mr();return(fr=function(t,e){return s[t-=425]})(t,e)}function pr(){for(var t=fr,e=arguments.length,s=new Array(e),i=0;i<e;i++)s[i]=arguments[i];if((s=s.filter(Boolean))[t(427)]<2)return s[0];const r=new Uint8Array(s.reduce(((t,e)=>t+e.byteLength),0));let n=0;return s[t(431)]((e=>{r[t(437)](e,n),n+=e.byteLength})),r}function mr(){var t=["496977FzkkiC","372cQBYls","6335400aYwMyp","899120JXTYIN","36070nUfrDm","set","2667175iqzCIi","195974ajDdfO","length","16igLmtW","5207517URkdBo","16SwQyxU","forEach"];return(mr=function(){return t})()}function _r(){const t=["externalDecryptor","importKey","data","decrypt","subtle","encrypt","4315743jSTEVK","_decryptSegment","13342600ECMblG","42lLrcPN","2404612kaPgAZ","AES-CBC","1013340wbLqOX","18zqRMsT","all","keyIv","5firiJv","8242904FsvDhY","key","721692pLPBEE","crypto is not defined","_decryptData","webkitSubtle","map","raw","33643kzIRQn"];return(_r=function(){return t})()}!function(t,e){for(var s=fr,i=t();;)try{if(406215===parseInt(s(426))/1+-parseInt(s(435))/2+-parseInt(s(432))/3*(-parseInt(s(428))/4)+-parseInt(s(436))/5*(-parseInt(s(433))/6)+-parseInt(s(425))/7*(-parseInt(s(430))/8)+-parseInt(s(429))/9+-parseInt(s(434))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mr);const gr=yr;function yr(t,e){const s=_r();return(yr=function(t,e){return s[t-=332]})(t,e)}!function(t,e){const s=yr,i=t();for(;;)try{if(542703===-parseInt(s(332))/1*(parseInt(s(342))/2)+parseInt(s(346))/3*(-parseInt(s(352))/4)+-parseInt(s(349))/5*(parseInt(s(345))/6)+-parseInt(s(343))/7+parseInt(s(350))/8+parseInt(s(339))/9+parseInt(s(341))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_r);class vr{constructor(){const t=yr,e=window.crypto||window.msCrypto;this[t(337)]=e&&(e[t(337)]||e[t(355)]),this.externalDecryptor=null}[gr(336)](t,e){const s=gr;if(!t&&!e)return;const i=[];return t&&(i[0]=this[s(340)](t)),e&&(i[1]=this._decryptSegment(e)),Promise[s(347)](i)}async[gr(340)](t){const e=gr;let s=t[e(335)];return t[e(351)]&&(s=await this[e(354)](t.data,t[e(351)],t[e(348)])),t[e(356)]?pr(t[e(356)],s):s}async _decryptData(t,e,s){const i=gr;if(this[i(333)])return await this.externalDecryptor[i(336)](t,e,s);{if(!this.subtle)throw new Error(i(353));const r=await this[i(337)][i(334)](i(357),e,{name:i(344)},!1,[i(338),"decrypt"]);return new Uint8Array(await this[i(337)][i(336)]({name:i(344),iv:s},r,t))}}}const br=Sr;function Ir(){const t=["_gopId","floor","\n pts is "," ,\n ref Sample DurationInt is ","videoTrack","max","warn","sps","_videoNextDts","workerClearTimeout","terminate","toString","_pmtId","buffer","425772YUdxwi","_audioPesData","duration",",\n originPts is ","subarray","_videoPesData","TS packet did not start with 0x47","isIFrame","_calcSampleList","samplingFrequencyIndex","_parsePES","TsLoader","126YyQaFF","pps","_codecType","originalPts",",\n ref sample duration is ","URL","_videoPid",",\n origin dts is ",",\n detect is: ","_audioCodecType","baseDts","initVideoTrack","Cannot parse video pes","payload","audio overlap detected,\n pts is ","19088HlHYdJ","demuxAndFix","data","videoListLength","_baseDtsInited","_hasVideo","_lastAudioExceptionLargeGapDot","h265","_isSendAACSeqHeader","loopWorker",",\n next dts is ","_parseAudioData","updateBaseFps","_createVideoSample","set","sample","decodeAudio","onmessage","codec","_opt","52fvWlcb",",\n next dts is ","_updateStats","_hasCalcFps","baseFps","JbPro:[TsLoader LoopWorker] loop interval is ","_tempSampleTsList","audioTrack","h264","postMessage","AAC","formatTimescale","seqHeader","_videoTimestampBreak","_audioLastSample","_demux","text/javascript","pushSample","debugLog","_fix","debugWarn","vps","initAudioTrack","_lastAudioExceptionOverlapDot","\n ref sample duration is ","_baseFpsInterval","log","createObjectURL","large audio gap detected,\n time is ","_parseVideoData","getSampleListLength","_stopDecodeLoopInterval","_baseDts","_doFixAudioInternal","forEach","_basefps","TAG_NAME","getBuferredDuration","cmd",", update base fps is ","type",",\n audio pts: ","_calcDecodeFps() video fps is ","calcIframeIntervalTimestamp","buferredDuration","large video gap between chunk,\n next dts is ","allSampleList","_resetBaseDtsWhenStreamBreaked","sampleRate",", pid: ","timescale","_doDecodeAudio","fpsInterval","shift","_startInterval","pts","_initLoopWorker","aac seq header not send","Cannot parse audio pes","_videoLastSample","player","hasAudio",",\n base dts: ","2XukLAa","getTime","byteLength","large video gap between frames,\n time is ","channelCount",",\n nextPts is ","destroy","sort",",sampleRateIndex: ","concat","map","probe","_fixAudio","ceil","preLoopTimestamp","496440HyjkNR","_calcDecodeFps","101735YKtjNe","aac parseADTS error","decodeVideo","startBpsTime","loop worker is not init, can not post message",",\n sample Duration is ","_audioNextPts","_loop","cts","tempSampleListInfo","abs",",\n first dts is ","isFinite","_sps","_hasAudio",",\n count is ","video",",\n nextPts is ",",\n sample duration is ","_audioPid","sampleListInfo","workerUrl","min","_clearInterval","_vps","_calculateBaseDts","objectType","_doDecodeByHls","isHevc","20oHvJeQ","_doDecodeVideo","_remainingPacketData","large av first frame gap,\n video pts: ",",\n originPts is ","push","2193264ihzXbf","length","_postMessageToLoopWorker","init","round","sampleDuration","Unknown pid: ",", sampleRate:","audio","170870wgPptk","_fixVideo","originalDts","_lastAudioExceptionGapDot","dts","aac seq header"," * 2ms","samples","1855711HpPZRJ",",\n duration is ",", channel: ","_audioTimestampBreak","profile: "];return(Ir=function(){return t})()}function Sr(t,e){const s=Ir();return(Sr=function(t,e){return s[t-=321]})(t,e)}!function(t,e){const s=Sr,i=t();for(;;)try{if(137531===-parseInt(s(455))/1*(-parseInt(s(394))/2)+parseInt(s(409))/3+-parseInt(s(331))/4*(parseInt(s(411))/5)+-parseInt(s(482))/6+-parseInt(s(494))/7*(-parseInt(s(509))/8)+-parseInt(s(446))/9+-parseInt(s(440))/10*(-parseInt(s(463))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ir);const wr=9e4,Ar=45e4,Tr=9e4;class Er extends ds{constructor(t){const e=Sr;super(t),this[e(391)]=t,this[e(480)]=-1,this[e(442)]=null,this._videoPesData=[],this._audioPesData=[],this[e(468)]=0,this[e(500)]=-1,this[e(430)]=-1,this[e(496)]=v[e(339)],this._audioCodecType=I[e(341)],this[e(435)]=null,this[e(424)]=null,this._pps=null,this[e(367)]=e(493),this.videoTrack=Er[e(505)](),this[e(338)]=Er[e(353)](),this[e(363)]=-1,this._baseDtsInited=!1,this[e(366)]=25,this[e(356)]=null,this[e(337)]=[],this[e(425)]=!1,this[e(514)]=!1,this[e(417)]=void 0,this[e(476)]=void 0,this[e(466)]=!1,this[e(344)]=!1,this[e(458)]=0,this._lastAudioExceptionOverlapDot=0,this._lastAudioExceptionLargeGapDot=0,this[e(517)]=!1,this.workerClearTimeout=null,this[e(432)]=null,this[e(518)]=null,this[e(420)]={},this[e(387)](),this.player.debugLog(this[e(367)],e(449))}destroy(){const t=Sr;super[t(400)](),this[t(432)]&&(URL.revokeObjectURL(this[t(432)]),this[t(432)]=null),this.workerClearTimeout&&(clearTimeout(this[t(477)]),this.workerClearTimeout=null),this[t(518)]&&(this[t(518)][t(340)]({cmd:"destroy"}),this[t(518)][t(478)](),this.loopWorker=null),this[t(362)](),this[t(472)]=null,this[t(338)]=null,this[t(420)]={},this[t(363)]=-1,this[t(513)]=!1,this[t(366)]=50,this._hasCalcFps=!1,this[t(417)]=void 0,this[t(476)]=void 0,this[t(466)]=!1,this[t(344)]=!1,this[t(458)]=0,this[t(354)]=0,this._lastAudioExceptionLargeGapDot=0,this._isSendAACSeqHeader=!1,this[t(391)][t(349)](this[t(367)],t(400))}static initVideoTrack(){return{samples:[]}}static[br(353)](){return{samples:[]}}static[br(405)](t){return!!t[br(447)]&&(71===t[0]&&71===t[188]&&71===t[376])}static[br(492)](t){const e=br,s=t[8];if(null==s||t[e(447)]<s+9)return;if(1!==(t[0]<<16|t[1]<<8|t[2]))return;const i=(t[4]<<8)+t[5];if(i&&i>t.length-6)return;let r,n;const a=t[7];return 192&a&&(r=536870912*(14&t[9])+4194304*(255&t[10])+16384*(254&t[11])+128*(255&t[12])+(254&t[13])/2,64&a?(n=536870912*(14&t[14])+4194304*(255&t[15])+16384*(254&t[16])+128*(255&t[17])+(254&t[18])/2,r-n>54e5&&(r=n)):n=r),{data:t[e(486)](9+s),pts:r,dts:n,originalPts:r,originalDts:n}}[br(346)](t){const e=br;let s=arguments[e(447)]>1&&void 0!==arguments[1]&&arguments[1],i=!(arguments[e(447)]>2&&void 0!==arguments[2])||arguments[2];s&&(this[e(480)]=-1,this[e(472)]=Er[e(505)](),this.audioTrack=Er[e(353)]()),!i||s?(this[e(442)]=null,this._videoPesData=[],this[e(483)]=[]):(this[e(472)][e(462)]=[],this[e(338)][e(462)]=[],this._remainingPacketData&&(t=pr(this[e(442)],t),this._remainingPacketData=null));let r=t[e(447)];const n=r%188;n&&(this[e(442)]=t[e(486)](r-n),r-=n);for(let s=0;s<r;s+=188){if(71!==t[s])throw new Error(e(488));const i=!!(64&t[s+1]),r=((31&t[s+1])<<8)+t[s+2];let n;if((48&t[s+3])>>4>1){if(n=s+5+t[s+4],n===s+188)continue}else n=s+4;switch(r){case 0:i&&(n+=t[n]+1),this[e(480)]=(31&t[n+10])<<8|t[n+11];break;case this[e(480)]:{i&&(n+=t[n]+1);const s=n+3+((15&t[n+1])<<8|t[n+2])-4;for(n+=12+((15&t[n+10])<<8|t[n+11]);n<s;){const s=(31&t[n+1])<<8|t[n+2];switch(t[n]){case 15:this[e(430)]=s,this[e(503)]=I[e(341)];break;case 27:this._videoPid=s,this._codecType=v.h264;break;case 36:this._videoPid=s,this[e(496)]=v[e(516)];break;default:console[e(474)]("Unsupported stream. type: "+t[n]+e(380)+s)}n+=5+((15&t[n+3])<<8|t[n+4])}}break;case this[e(500)]:i&&this[e(487)][e(447)]&&this[e(360)](),this._videoPesData[e(445)](t[e(486)](n,s+188));break;case this._audioPid:i&&this._audioPesData[e(447)]&&this._parseAudioData(),this[e(483)][e(445)](t[e(486)](n,s+188));break;case 17:case 8191:break;default:console[e(474)](e(452)+r)}}this[e(360)](),this[e(322)](),this[e(338)].formatTimescale=this[e(472)][e(342)]=this[e(472)][e(381)]=9e4,this.audioTrack.timescale=this[e(338)][e(379)]||0}[br(510)](t,e,s,i){this[br(346)](t,e,s,i),this._fix(i,e,s)}[br(360)](){const t=br;if(!this._videoPesData[t(447)])return void console[t(357)](t(360),"no video pes data");const e=Er[t(492)](pr(...this[t(487)]));if(!e)return void console[t(474)](t(506),this[t(487)]);this[t(391)][t(333)]({vbps:e.data[t(396)]});const s=function(t){const e=Le,s=t[e(354)];let i=2,r=0;for(;null!==t[i]&&void 0!==t[i]&&1!==t[i];)i++;if(i++,r=i+2,r>=s)return[];const n=[];for(;r<s;)switch(t[r]){case 0:if(0!==t[r-1]){r+=2;break}if(0!==t[r-2]){r++;break}i!==r-2&&n[e(359)](t[e(368)](i,r-2));do{r++}while(1!==t[r]&&r<s);i=r+1,r=i+2;break;case 1:if(0!==t[r-1]||0!==t[r-2]){r+=3;break}i!==r-2&&n[e(359)](t[e(368)](i,r-2)),i=r+1,r=i+2;break;default:r+=3}return i<s&&n.push(t.subarray(i)),n}(e[t(511)]);s?this[t(324)](s,e[t(386)],e.dts):this[t(391)][t(351)](this[t(367)],"Cannot parse avc units",e),this[t(487)]=[]}[br(324)](t,e,s){const i=br;if(!t.length)return;const r=this[i(496)]===v.h265,n={isIFrame:!1,type:l.video,isHevc:r,vps:null,sps:null,pps:null,pts:e,dts:s,payload:null};t.forEach((t=>{const e=i,s=r?t[0]>>>1&63:31&t[0];switch(s){case 5:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:if(!r&&5!==s||r&&5===s)break;n[e(489)]=!0,this[e(468)]++;break;case 6:case 39:case 40:if(!r&&6!==s||r&&6===s)break;return void function(t,e){const s=Le,i=t[s(354)];let r=e?2:1,n=0,a=0,o="";for(;255===t[r];)n+=255,r++;for(n+=t[r++];255===t[r];)a+=255,r++;if(a+=t[r++],5===n&&i>r+16)for(let e=0;e<16;e++)o+=t[r].toString(16),r++;t[s(368)](r)}(function(t){const e=Le,s=t[e(356)],i=[];let r=1;for(;r<s-2;)0===t[r]&&0===t[r+1]&&3===t[r+2]?(i.push(r+2),r+=2):r++;if(!i[e(354)])return t;const n=s-i[e(354)],a=new Uint8Array(n);let o=0;for(r=0;r<n;o++,r++)o===i[0]&&(o++,i[e(357)]()),a[r]=t[o];return a}(t),r);case 32:if(!r)break;!n[e(352)]&&(n[e(352)]=t);break;case 7:case 33:if(!r&&7!==s||r&&7===s)break;!n[e(475)]&&(n[e(475)]=t);break;case 8:case 34:if(!r&&8!==s||r&&8===s)break;!n[e(495)]&&(n[e(495)]=t)}if(r&&Ne(s)||!r&&ge(s)){const s=De(t);if(n[e(507)]){const t=new Uint8Array(n.payload[e(396)]+s[e(396)]);t.set(n[e(507)],0),t[e(325)](s,n[e(507)][e(396)]),n[e(507)]=t}else n[e(507)]=s}}));let a=null;r?n[i(475)]&&n.vps&&n[i(495)]&&(a=Re({vps:n[i(352)],sps:n.sps,pps:n[i(495)]})):n[i(475)]&&n[i(495)]&&(a=le({sps:n[i(475)],pps:n[i(495)]})),a&&(this.player[i(349)](this.TAG_NAME,i(324),i(343)),this[i(438)](a,l.video,n.pts,!0,0)),n[i(489)]&&this[i(374)](n[i(459)]/90),this[i(472)][i(462)]=this[i(472)][i(462)][i(403)](n)}_parseAudioData(){const t=br;if(!this[t(483)][t(447)])return;const e=Er[t(492)](pr(...this._audioPesData));if(e){if(this[t(391)][t(330)][t(392)]){if(this[t(391)]._updateStats({abps:e[t(511)][t(396)]}),this[t(503)]===I[t(341)]){const s=function(t,e){const s=O,i=t[s(290)];let r=0;for(;r+2<i&&(255!==t[r]||240!=(246&t[r+1]));)r++;if(r>=i)return;const n=r,a=[],o=(60&t[r+2])>>>2,h=G[o];if(!h)throw new Error("Invalid sampling index: "+o);const c=1+((192&t[r+2])>>>6),u=(1&t[r+2])<<2|(192&t[r+3])>>>6;let l,d,f=0;const p=W(h);for(;r+7<i;)if(255===t[r]&&240==(246&t[r+1])){if(d=(3&t[r+3])<<11|t[r+4]<<3|(224&t[r+5])>>5,i-r<d)break;l=2*(1&~t[r+1]),a[s(317)]({pts:e+f*p,data:t[s(279)](r+7+l,r+d)}),f++,r+=d}else r++;return{skip:n,remaining:r>=i?void 0:t[s(279)](r),frames:a,samplingFrequencyIndex:o,sampleRate:h,objectType:c,channelCount:u,originCodec:s(310)+c}}(e[t(511)],e[t(497)]);if(s){if(this[t(338)].codec=s[t(329)],this[t(338)][t(379)]=s[t(379)],this[t(338)].channelCount=s.channelCount,!this[t(517)]){const e=F({profile:s[t(437)],sampleRate:s[t(491)],channel:s[t(398)]});this[t(517)]=!0,this.player[t(349)](this.TAG_NAME,t(460),t(467)+s.objectType+t(453)+s[t(379)]+t(402)+s[t(491)]+t(465)+s[t(398)]),this._doDecodeByHls(e,l[t(454)],0,!1,0)}if(this[t(517)]){const e=[];s.frames.forEach((s=>{const i=t,r=s[i(386)],n=new Uint8Array(s.data.length+2);n[i(325)]([175,1],0),n[i(325)](s[i(511)],2);const a={type:l.audio,pts:r,dts:r,payload:n};e[i(445)](a)})),this[t(338)][t(462)]=this.audioTrack.samples[t(403)](e)}else this.player[t(351)](this.TAG_NAME,t(388))}else this.player.debugWarn(this.TAG_NAME,t(412))}this[t(483)]=[]}}else console[t(474)](t(389),this[t(483)])}[br(350)](){const t=br;let e=arguments[t(447)]>0&&void 0!==arguments[0]?arguments[0]:0,s=arguments[t(447)]>1&&void 0!==arguments[1]&&arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];e=Math[t(450)](9e4*e);const r=this[t(472)],n=this[t(338)],a=r[t(462)],o=n.samples;if(!a.length&&!o[t(447)])return;const h=a[0],c=o[0];let u=0;if(a[t(447)]&&o[t(447)]&&(u=h.dts-c[t(386)]),!this[t(513)]&&this[t(436)](),s&&(this[t(436)](),this._baseDts-=e),!i){this._videoNextDts=u>0?e+u:e,this._audioNextPts=u>0?e:e-u;const s=h?h[t(459)]-this[t(363)]-this._videoNextDts:0,i=c?c[t(386)]-this[t(363)]-this._audioNextPts:0;Math[t(421)](s||i)>Tr&&(this[t(436)](this[t(338)],this[t(472)]),this[t(363)]-=e)}this[t(378)](),this[t(406)](n),this._fixVideo(r);let l=r.samples.concat(n[t(462)]);l=l[t(404)]((e=>{const s=t;return e[s(459)]=e[s(459)]/90,e.pts=e[s(386)]/90,e[s(419)]=e[s(386)]-e.dts,e}))[t(401)](((e,s)=>{const i=t;return e[i(459)]-s[i(459)]})),l[t(365)]((e=>{const s=t,i=new Uint8Array(e.payload);delete e[s(507)],this.loopWorker[s(340)]({...e,payload:i,cmd:s(326)},[i[s(481)]])})),dt(this[t(334)])&&(this[t(334)]=!0,this[t(410)](l))}_calculateBaseDts(){const t=br,e=this[t(338)],s=this.videoTrack,i=e.samples,r=s.samples;if(!i[t(447)]&&!r[t(447)])return!1;let n=1/0,a=1/0;i[t(447)]&&(e[t(504)]=n=i[0][t(386)]),r[t(447)]&&(s[t(504)]=a=r[0][t(459)]),this[t(363)]=Math[t(433)](n,a);const o=a-n;return Number[t(423)](o)&&Math[t(421)](o)>45e3&&this[t(391)].debugWarn(this[t(367)],t(443)+a+t(372)+n+t(393)+this[t(363)]+t(502)+o),this._baseDtsInited=!0,!0}[br(378)](){const t=br;if(this._baseDtsInited&&this[t(344)]&&this[t(466)]){if(!this[t(436)](this[t(338)],this.videoTrack))return;this[t(363)]-=Math[t(433)](this._audioNextPts,this._videoNextDts),this[t(345)]=null,this[t(390)]=null,this._videoTimestampBreak=!1,this._audioTimestampBreak=!1}}_fixAudio(t){const e=br,s=t[e(462)];s[e(447)]&&(s[e(365)]((t=>{const s=e;t[s(386)]-=this[s(363)],t[s(459)]=t.pts})),this[e(364)](t,s,9e4))}[br(456)](t){const e=br,s=t[e(462)];if(!s.length)return;if(s[e(365)]((t=>{const s=e;t.dts-=this._baseDts,t[s(386)]-=this[s(363)]})),void 0===this[e(476)]){const t=s[0];this[e(476)]=t[e(459)]}const i=s[e(447)];let r=0;const n=s[0],a=s[1],o=this[e(476)]-n[e(459)];let h;Math[e(421)](o)>45e3&&(n[e(459)]+=o,n[e(386)]+=o,this[e(391)][e(351)](this[e(367)],e(376)+this[e(476)]+e(422)+n[e(459)]+e(321)+a[e(459)]+e(464)+o),a&&Math.abs(a[e(459)]-n.dts)>Tr&&(this[e(344)]=!0,s[e(365)](((t,s)=>{const i=e;0!==s&&(t[i(459)]+=o,t[i(386)]+=o)}))));const c=t[e(462)][0],u=t.samples[i-1];h=1===i?9e3:Math[e(469)]((u.dts-c[e(459)])/(i-1));for(let n=0;n<i;n++){const a=s[n][e(459)],o=s[n+1];if(r=n<i-1?o.dts-a:s[n-1]?Math.min(a-s[n-1][e(459)],h):h,r>Tr||r<0){this._videoTimestampBreak=!0,r=this._audioTimestampBreak?h:Math[e(473)](r,2700);const i=this[e(417)]||0;o&&o[e(459)]>i&&(r=h),this[e(391)][e(351)](this[e(367)],e(397)+a/t.timescale+",\n dts is "+a+e(501)+s[n][e(457)]+e(332)+this[e(476)]+e(416)+r+e(471)+h)}s[n][e(484)]=r,this._videoNextDts+=r}}_doFixAudioInternal(t,e,s){const i=br;!t[i(451)]&&(t.sampleDuration=W(t[i(381)],s));const r=t[i(451)];if(void 0===this[i(417)]){const t=e[0];this[i(417)]=t.pts}for(let s=0;s<e[i(447)];s++){const n=this[i(417)],a=e[s],o=a[i(386)]-n;if(!this[i(466)]&&o>=3*r&&o<=wr&&!et()){V(t[i(329)],t[i(398)])||e[0][i(511)][i(486)]();const h=Math[i(469)](o/r);Math[i(421)](a.pts-this[i(458)])>Ar&&(this[i(458)]=a[i(386)]),this[i(391)][i(351)](this.TAG_NAME,"audio gap detected,\n pts is "+e.pts+i(444)+e[i(497)]+i(426)+h+",\n nextPts is "+n+i(498)+r);for(let t=0;t<h;t++)this[i(417)]+=r,s++;s--}else o<=-3*r&&o>=-9e4?(Math[i(421)](a[i(386)]-this[i(354)])>Ar&&(this[i(354)]=a[i(386)],this[i(391)][i(351)](this.TAG_NAME,i(508)+a[i(386)]+i(485)+a[i(497)]+i(428)+n+",\n ref sample duration is "+r)),e.splice(s,1),s--):(Math[i(421)](o)>=wr&&(this._audioTimestampBreak=!0,Math[i(421)](a[i(386)]-this[i(515)])>Ar&&(this[i(515)]=a[i(386)],this.player.debugWarn(this[i(367)],i(359)+a[i(386)]/1e3+i(470)+a[i(386)]+",\n originPts is "+a.originalPts+i(399)+n+i(429)+o+i(355)+r))),a[i(459)]=a[i(386)]=n,this[i(417)]+=r)}}[br(410)](t){const e=br,s=function(t,e){const s=J;e&&(t=t[s(664)]((t=>t[s(587)]===e)));let i=t[0],r=null,n=1;if(t[s(523)]>0){let e=t[1];e&&e.ts-i.ts>1e5&&(i=e,n=2)}if(i)for(let a=n;a<t[s(523)];a++){let n=t[a];e&&n[s(587)]!==e&&(n=null),n&&n.ts-i.ts>=1e3&&t[a-1].ts-i.ts<1e3&&(r=a+1)}return r}(t.map((t=>{const e=Sr;return{ts:t.dts||t[e(386)],type:t[e(371)]}})),l[e(427)]);s&&(this[e(366)]=s,this._postMessageToLoopWorker(e(323),{baseFps:this[e(366)]}),this[e(391)].debugLog(this[e(367)],e(373)+s+e(370)+this[e(366)]))}_initLoopWorker(){const t=br;const e=ft(function(){const t=Sr,e={audio:1,video:2};class s{constructor(){const t=Sr;this[t(335)]=0,this[t(383)]=null,this.preLoopTimestamp=null,this[t(414)]=null,this.allSampleList=[]}[t(400)](){const e=t;this[e(434)](),this[e(335)]=0,this[e(377)]=[],this.preLoopTimestamp=null,this.startBpsTime=null}[t(323)](e){const s=t;this[s(335)]=e,this._clearInterval(),this[s(385)]()}[t(348)](e){const s=t;delete e.cmd,this[s(377)][s(445)](e)}_startInterval(){const e=t,s=Math[e(407)](1e3/this[e(335)]);this.fpsInterval=setInterval((()=>{const t=e;let i=(new Date)[t(395)]();!this.preLoopTimestamp&&(this[t(408)]=i),!this.startBpsTime&&(this[t(414)]=i);const r=i-this.preLoopTimestamp;if(r>2*s&&console[t(474)](t(336)+r+"ms, more than "+s+t(461)),this[t(418)](),this[t(408)]=(new Date)[t(395)](),this[t(414)]){i-this[t(414)]>=1e3&&(this[t(490)](),this[t(414)]=i)}}),s)}[t(434)](){const e=t;this[e(383)]&&(clearInterval(this[e(383)]),this[e(383)]=null)}[t(490)](){const s=t,i={buferredDuration:0,allListLength:this.allSampleList[s(447)],audioListLength:0,videoListLength:0};this[s(377)][s(365)]((t=>{const r=s;t[r(371)]===e[r(427)]?(i[r(512)]++,t[r(484)]&&(i[r(375)]+=t[r(484)]/90)):t[r(371)]===e[r(454)]&&i.audioListLength++})),postMessage({cmd:s(431),...i})}_loop(){const s=t;let i=null;if(this.allSampleList[s(447)])if(i=this[s(377)].shift(),i[s(371)]===e[s(427)]){postMessage({cmd:s(413),...i},[i.payload[s(481)]]);let t=this.allSampleList[0];for(;t&&t[s(371)]===e[s(454)];)i=this[s(377)][s(384)](),postMessage({cmd:s(327),...i},[i[s(507)][s(481)]]),t=this[s(377)][0]}else i[s(371)]===e[s(454)]&&(postMessage({cmd:s(327),...i},[i.payload[s(481)]]),this.allSampleList.length&&this[s(377)][0][s(371)]===e.video&&(i=this[s(377)][s(384)](),postMessage({cmd:s(413),...i},[i[s(507)].buffer])))}}let i=new s;self[t(328)]=e=>{const s=t,r=e[s(511)];switch(r[s(369)]){case s(323):i.updateBaseFps(r[s(335)]);break;case s(326):i.pushSample(r);break;case"destroy":i[s(400)](),i=null}}}[t(479)]()),s=new Blob([e],{type:t(347)}),i=URL[t(358)](s);let r=new Worker(i);this.workerUrl=i,this[t(477)]=setTimeout((()=>{window[t(499)].revokeObjectURL(this.workerUrl),this.workerUrl=null,this.workerClearTimeout=null}),1e4),r[t(328)]=e=>{const s=t,i=e[s(511)];switch(i[s(369)]){case s(413):this[s(441)](i);break;case s(327):this[s(382)](i);break;case s(431):this[s(420)]=i}},this[t(518)]=r}[br(448)](t,e){const s=br;this[s(518)]?this[s(518)][s(340)]({cmd:t,...e}):this[s(391)].debugWarn(this[s(367)],s(415))}[br(382)](t){const e=br,s=new Uint8Array(t[e(507)]);this[e(438)](s,l[e(454)],t.dts,!1,0)}[br(441)](t){const e=br,s=new Uint8Array(t[e(507)]);let i=null;i=t[e(439)]?Me(s,t[e(489)]):fe(s,t[e(489)]),this[e(391)][e(333)]({dts:t[e(459)]});const r=t[e(386)]-t[e(459)];this[e(438)](i,l.video,t[e(459)],t[e(489)],r)}_stopDecodeLoopInterval(){const t=br;this[t(356)]&&(clearInterval(this[t(356)]),this._baseFpsInterval=null)}[br(368)](){const t=br;return this[t(420)][t(375)]||0}[br(361)](){return this.tempSampleListInfo.allListLength||0}getSampleAudioListLength(){return this[br(420)].audioListLength||0}getSampleVideoListLength(){const t=br;return this[t(420)][t(512)]||0}}const kr=xr;function xr(t,e){const s=Ur();return(xr=function(t,e){return s[t-=445]})(t,e)}function Ur(){const t=["videoListLength","getSampleVideoListLength","isHevc","onReady","replace","onSamples: audio","onSamples","1299980raXcen","allListLength","TAG_NAME","debugWarn","onError","codec","data","debugLog","init","getTrackById","stbl","9194800OHAcJB","tempSampleListInfo","channel_count","set","player","buferredDuration","onSamples: video","setExtractionOptions","getSampleListLength","createFile","aacADTSHeader","mdia","videoTracks","35IfIgmE","getSeqHeader","start","cts","buffer","_doDecodeByFmp4","mp4Box onError","minf","videoTrackId","byteLength","timestamp","length","audioTrackId","604676kTWlpR","3444228sejzpv","isInitAudio","duration","8653337qVNjcn","68486229NCDLIg","seqHeader","write","stsd","entries","BIG_ENDIAN","video","getBuferredDuration","dispatch","avcC","sample_rate","3khSGDP","updateStats","1456734fZdxlZ","hvcC","mp4a.40.","getSampleAudioListLength","config","destroy","timescale","isInitVideo","appendBuffer","audio"];return(Ur=function(){return t})()}!function(t,e){const s=xr,i=t();for(;;)try{if(900974===-parseInt(s(479))/1+parseInt(s(445))/2*(-parseInt(s(460))/3)+parseInt(s(516))/4*(-parseInt(s(503))/5)+-parseInt(s(462))/6+-parseInt(s(448))/7+-parseInt(s(490))/8+parseInt(s(449))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ur);class Lr extends ds{constructor(t){const e=xr;super(t),this[e(494)]=t,this[e(481)]="HlsFmp4Loader",this[e(491)]={},this[e(469)]=!1,this[e(446)]=!1,t[e(486)](this[e(481)],e(487))}[kr(467)](){const t=kr;super[t(467)](),this[t(469)]=!1,this[t(446)]=!1,this[t(494)][t(486)](this.TAG_NAME,"destroy")}[kr(457)](t){const e=kr;let s=Hs[e(499)]();s[e(475)]=t=>{const i=e,r=t[i(502)][0],n=t.audioTracks[0];if(r&&dt(this[i(469)])){this[i(511)]=r.id;const t=this[i(504)](s,r);t&&(this[i(494)][i(486)](this[i(481)],i(450),t),this[i(508)](t,l[i(455)],0,!0,0),this[i(469)]=!0),s.setExtractionOptions(r.id)}if(n&&dt(this[i(446)])){this[i(515)]=n.id;const t=n[i(471)]||{},e=H.indexOf(t[i(459)]),r=n[i(484)][i(476)](i(464),"");s[i(497)](n.id);const a={profile:parseInt(r,10),sampleRate:e,channel:t[i(492)]},o=F(a);this.player[i(486)](this[i(481)],i(500),o,i(466),a),this[i(508)](o,l[i(471)],0,!1,0),this[i(446)]=!0}s[i(505)]()},s[e(483)]=t=>{const s=e;this[s(494)].debugError(this[s(481)],s(509),t)},s[e(478)]=(t,s,i)=>{const r=e;if(t===this.videoTrackId)for(const t of i){const e=t[r(485)],s=t.is_sync,i=1e3*t[r(506)]/t[r(468)];t[r(447)],t[r(468)],this.player[r(461)]({vbps:e[r(512)],dts:i}),s&&this.calcIframeIntervalTimestamp(i);let n=null;n=this[r(474)]?Me(e,s):fe(e,s),this[r(494)][r(486)](this[r(481)],r(496),"timestamp",i),this._doDecodeByFmp4(n,l.video,i,s,0)}else if(t===this[r(515)])for(const t of i){const e=t[r(485)];this[r(494)].updateStats({abps:e.byteLength});const s=1e3*t[r(506)]/t[r(468)],i=1e3*t[r(447)]/t[r(468)],n=new Uint8Array(e[r(512)]+2);n[r(493)]([175,1],0),n.set(e,2),this[r(494)][r(486)](this[r(481)],r(477),r(513),s,"duration",i),this._doDecodeByFmp4(n,l[r(471)],s,!1,0)}else this[r(494)][r(482)](this[r(481)],"onSamples() trackId error",t)};let i=new Uint8Array(t);i[e(507)].fileStart=0,s[e(470)](i[e(507)]),s.flush()}getSeqHeader(t,e){const s=kr;if(t){const i=t[s(488)](e.id);for(const t of i[s(501)][s(510)][s(489)][s(452)][s(453)])if(t[s(458)]||t[s(463)]){const e=new Hs.DataStream(void 0,0,Hs.DataStream[s(454)]);let i=[];t[s(458)]?(t[s(458)].write(e),i=[23,0,0,0,0]):(this[s(474)]=!0,t[s(463)][s(451)](e),i=[28,0,0,0,0]);const r=new Uint8Array(e.buffer,8),n=new Uint8Array(i.length+r.length);return n[s(493)](i,0),n[s(493)](r,i[s(514)]),n}}return null}[kr(456)](){const t=kr;return this[t(491)][t(495)]||0}[kr(498)](){const t=kr;return this[t(491)][t(480)]||0}[kr(465)](){return this.tempSampleListInfo.audioListLength||0}[kr(473)](){const t=kr;return this[t(491)][t(472)]||0}}const Dr=Br;function Br(t,e){const s=Rr();return(Br=function(t,e){return s[t-=129]})(t,e)}!function(t,e){const s=Br,i=t();for(;;)try{if(111550===-parseInt(s(153))/1+-parseInt(s(129))/2*(parseInt(s(132))/3)+parseInt(s(145))/4*(parseInt(s(141))/5)+parseInt(s(155))/6*(-parseInt(s(143))/7)+-parseInt(s(140))/8*(parseInt(s(135))/9)+-parseInt(s(142))/10+parseInt(s(150))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rr);class Cr{constructor(t,e){const s=Br;this[s(147)]=t,this[s(154)]=this[s(147)].player,this.isMP4=e,this[s(139)]="",this[s(144)]="HlsTransmuxer",this.hlsV2Mp4NotSupport=!1,this[s(131)]=e?new Lr(this.hls[s(154)]):new Er(this.hls.player)}[Dr(148)](){const t=Dr;this[t(151)]=!1,this[t(131)]&&(this[t(131)][t(148)](),this[t(131)]=null)}transmux(t,e,s,i,r,n){const a=Dr;this[a(154)][a(137)](this.TAG_NAME,"transmux videoChunk:"+(t&&t[a(138)])+", audioChunk:"+(e&&e.byteLength)+a(130)+s+", contiguous:"+i+a(133)+r+", needInit:"+n);const o=this[a(131)];try{if(this[a(134)]){if(this[a(151)])return;this[a(154)][a(136)](this[a(144)],a(152)),this[a(154)][a(149)](m[a(151)]),this[a(151)]=!0}else o[a(156)](pr(t,e),s,i,r)}catch(t){throw new wi(Si.DEMUX,Si[a(146)],t)}}}function Rr(){const t=["5UsaRpn","324290nhwMCF","1185884dFSvis","TAG_NAME","622140uzepts","HLS","hls","destroy","_emitError","4483171nWZSul","hlsV2Mp4NotSupport","transmuxer isMP4","15767uOdisS","player","6wuZhZF","demuxAndFix","2oyNIVj",", discontinuity:","_demuxer","318018eCqNrr",", startTime:","isMP4","18YzRyNg","debugWarn","debugLog","byteLength","_initSegmentId","511728MMoIxL"];return(Rr=function(){return t})()}const Pr=Mr;function Mr(t,e){const s=Fr();return(Mr=function(t,e){return s[t-=156]})(t,e)}function Fr(){const t=["120wnasMn","findBox","1442871HiaJzo","push","503691AiJijy","apply","length","probe","2859135xagIzp","pow","1669676wbYrgm","1079655ikHPKs","subarray","2296820lkkRYA","726012MLIiSA","21wqAsCa","ftyp"];return(Fr=function(){return t})()}function Nr(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(t[e]<<24>>>0)+(t[e+1]<<16)+(t[e+2]<<8)+(t[e+3]||0)}function Or(t){const e=Mr;let s=arguments[e(158)]>1&&void 0!==arguments[1]?arguments[1]:0;const i=Math[e(161)](2,32);return Nr(t,s)*i+Nr(t,s+4)}!function(t,e){const s=Mr,i=t();for(;;)try{if(645503===parseInt(s(156))/1+-parseInt(s(165))/2+-parseInt(s(160))/3+parseInt(s(162))/4+-parseInt(s(163))/5+-parseInt(s(166))/6*(parseInt(s(167))/7)+parseInt(s(169))/8*(parseInt(s(171))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fr);class zr{static[Pr(159)](t){const e=Pr;return!!zr[e(170)](t,[e(168)])}static[Pr(170)](t,e){const s=Pr;let i=arguments[s(158)]>2&&void 0!==arguments[2]?arguments[2]:0;const r=[];if(!t)return r;let n=0,a="",o=0;for(;t.length>7;){if(n=Nr(t),a=String.fromCharCode[s(157)](null,t[s(164)](4,8)),o=8,1===n?(n=Or(t,8),o+=8):!n&&(n=t[s(158)]),!e[0]||a===e[0]){const h=t[s(164)](0,n);if(!(e[s(158)]<2))return zr.findBox(h[s(164)](o),e.slice(1),i+o);r[s(172)]({start:i,size:n,headerSize:o,type:a,data:h})}i+=n,t=t[s(164)](n)}return r}}function Gr(t,e){const s=Vr();return(Gr=function(t,e){return s[t-=141]})(t,e)}const Hr=Gr;function Vr(){const t=["_decryptor","55xGtqTL","decryptBuffer","getBufferedSegments","transmux","nbSb","clearAllBuffer","314802uBrnbV","baseDts","9KYkply","1563660aRYHTY","2012580JsNIJE","probe","getBufferedAudioSegments","_needInitSegment","184VmsLkc","306676ZXrIKM","player","debugLog","753770YPObgr","TAG_NAME","34844Gqfbjm","length","getBuferredDuration","3prHVEF","createSource","updateDuration()","getSampleAudioListLength","_sourceCreated","_directAppend","createSource error: chunk is not ts","_mse","_transmuxer","66962olXRGv","hls","getSampleListLength","setLiveSeekableRange","decrypt","updateDuration","endOfStream","_demuxer","reset","destroy","_softVideo"];return(Vr=function(){return t})()}!function(t,e){const s=Gr,i=t();for(;;)try{if(127038===-parseInt(s(170))/1*(parseInt(s(167))/2)+parseInt(s(155))/3*(-parseInt(s(162))/4)+-parseInt(s(165))/5+-parseInt(s(153))/6+-parseInt(s(179))/7*(parseInt(s(161))/8)+-parseInt(s(156))/9+-parseInt(s(157))/10*(-parseInt(s(147))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vr);class Wr{constructor(t){const e=Gr;this[e(180)]=t,this[e(163)]=t[e(163)],this[e(146)]=new vr,this._transmuxer=null,this[e(177)]=null,this[e(145)]=null,this[e(174)]=!1,this[e(160)]=!0,this[e(175)]=!1,this[e(166)]="HlsBufferService"}async[Hr(144)](){const t=Hr;this[t(145)]=null,this[t(178)]&&(this[t(178)][t(144)](),this[t(178)]=null)}get[Hr(154)](){const t=Hr;return this[t(178)]?.[t(142)]?._baseDts}get[Hr(151)](){return 0}async[Hr(184)](t){const e=Hr;this[e(163)][e(164)](this[e(166)],e(172),t)}[Hr(169)](){const t=Hr;return this[t(178)]?.[t(142)]?.[t(169)]()}[Hr(149)](){const t=Hr;return this[t(178)]?._demuxer?.[t(181)]()}[Hr(159)](){const t=Hr;return this[t(178)]?.[t(142)]?.[t(173)]()}getBufferedVideoSegments(){const t=Hr;return this[t(178)]?.[t(142)]?.getSampleVideoListLength()}[Hr(171)](t,e,s,i){const r=Hr;if(this[r(174)])return;const n=t||e;n&&(Er.probe(n)?!this[r(178)]&&(this[r(178)]=new Cr(this.hls,!1)):zr[r(158)](n)?!this[r(178)]&&(this[r(178)]=new Cr(this.hls,!0)):this[r(163)].debugError(this[r(166)],r(176)))}async appendBuffer(t,e,s,i,r,n,a){const o=Hr;if(s?.[o(168)]||i?.[o(168)])return this[o(160)],this[o(178)][o(150)](s,i,r,n,a,this[o(160)]||r),!0}async[Hr(152)](){const t=Hr;this[t(163)][t(164)](this[t(166)],t(152))}[Hr(148)](t,e){const s=Hr;return this[s(146)][s(183)](t,e)}async[Hr(143)](){const t=Hr;t(168),this[t(178)]=null,this[t(160)]=!0,this._directAppend=!1}async[Hr(141)](){const t=Hr;this._softVideo&&this._softVideo[t(141)]()}async[Hr(182)](t,e){}seamlessSwitch(){this[Hr(160)]=!0}}function jr(t,e){const s=Yr();return(jr=function(t,e){return s[t-=262]})(t,e)}const qr=jr;function Yr(){const t=["614dGTirs","forEach","throw","444824heXSbj","466330CyYZpo","66ScmNGM","30qiaIuF","_seiSet","time","reset","201sEnBJb","1551HsDcRU","push","1348533hxzkxD","add","SEI","36420DNjCTH","4038120hoiKAU","clear","4OcHzgw","151081siYyIC","emit","emitter","delete"];return(Yr=function(){return t})()}!function(t,e){const s=jr,i=t();for(;;)try{if(271745===parseInt(s(272))/1+parseInt(s(269))/2*(-parseInt(s(279))/3)+-parseInt(s(264))/4*(-parseInt(s(273))/5)+parseInt(s(274))/6*(parseInt(s(265))/7)+-parseInt(s(262))/8+-parseInt(s(282))/9*(-parseInt(s(275))/10)+parseInt(s(280))/11*(-parseInt(s(285))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yr);class Kr{constructor(t){const e=jr;this[e(267)]=t,this[e(276)]=new Set,t.on(C[e(284)],(t=>{const s=e;t&&this[s(276)][s(283)](t)}))}[qr(271)](t){const e=qr;if(null==t||!this._seiSet.size)return;const s=t-.2,i=t+.2,r=[];this._seiSet[e(270)]((t=>{const n=e;t[n(277)]>=s&&t[n(277)]<=i&&r[n(281)](t)})),r[e(270)]((t=>{const s=e;this[s(276)][s(268)](t),this[s(267)][s(266)](C.SEI_IN_TIME,t)}))}[qr(278)](){const t=qr;this[t(276)][t(263)]()}}const Xr=$r;function Jr(){const t=["fpsNum","METADATA_PARSED","updateBitrate","setEncodeType","slice","reset","8992760YGzSkp","_timescale","gop","696825TYAktw","onMetaData","round","setAudioMeta","50066tHXFHo","height","487494UpvRbw","_core","setDomain","units","length","samplerate","encodeType","5943245BIJEer","domain","duration","speedInfo","DEMUXED_TRACK","10aRsSXX","bitrate","4GBfaro","sampleRate","_bitsAccumulateDuration","12rTLXJT","audioCodec","media","setVideoMeta","reduce","video","channelCount","fpsDen","type","videoCodec","19681046SOqdLg","TTFB","gopId","1254680jOnaxy","avgSpeed","fps","setFpsFromScriptData","codec","remaining","getStats","_bindEvents","split","speed","track","8HbJPid","width","_stats","_bitsAccumulateSize","framerate","bufferInfo","samples","_samples"];return(Jr=function(){return t})()}!function(t,e){const s=$r,i=t();for(;;)try{if(596512===parseInt(s(342))/1*(parseInt(s(356))/2)+parseInt(s(338))/3+-parseInt(s(358))/4*(parseInt(s(351))/5)+-parseInt(s(361))/6*(-parseInt(s(374))/7)+-parseInt(s(385))/8*(-parseInt(s(344))/9)+-parseInt(s(335))/10+parseInt(s(371))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Zr{constructor(t){const e=$r;this[e(336)]=t,this[e(350)]="",this.audioCodec="",this[e(370)]="",this.domain="",this[e(376)]=0,this[e(357)]=0,this[e(386)]=0,this[e(343)]=0,this[e(349)]=0,this.channelCount=0,this[e(337)]=0,this._bitsAccumulateSize=0,this[e(360)]=0}[Xr(380)](){const t=Xr;return{encodeType:this[t(350)],audioCodec:this[t(362)],videoCodec:this[t(370)],domain:this[t(352)],fps:this[t(376)],bitrate:this[t(357)],width:this.width,height:this[t(343)],samplerate:this[t(349)],channelCount:this.channelCount,gop:this.gop}}[Xr(396)](t){this[Xr(350)]=t}[Xr(377)](t){const e=Xr;let{data:s}=t;const i=s?.[e(339)]?.[e(389)];i&&i>0&&i<100&&(this.fps=i)}[Xr(364)](t){const e=Xr;if(this[e(386)]=t[e(386)],this.height=t[e(343)],this[e(370)]=t[e(378)],this[e(350)]=t.codecType,t[e(393)]&&t[e(368)]){const s=t.fpsNum/t[e(368)];s>0&&s<100&&(this[e(376)]=s)}}[Xr(341)](t){const e=Xr;this[e(362)]=t[e(378)],this[e(349)]=t[e(359)],this[e(367)]=t[e(367)]}[Xr(346)](t){const e=Xr;this.domain=t[e(382)]("/")[e(333)](2,3)[0]}updateBitrate(t){const e=Xr;if((!this[e(376)]||this[e(376)]>=100)&&t[e(348)]){const s=t[e(365)](((t,e)=>t+e.duration),0)/t[e(348)];this.fps=Math[e(340)](this[e(336)]/s)}t.forEach((t=>{const s=e;1===t[s(373)]&&this[s(337)]++,this[s(360)]+=t[s(353)]/(this[s(336)]/1e3),this[s(388)]+=t[s(347)][s(365)](((t,e)=>t+e[s(348)]),0),this[s(360)]>=1e3&&(this[s(357)]=8*this[s(388)],this[s(360)]=0,this[s(388)]=0)}))}}class Qr{_core=null;[Xr(392)]=[];constructor(t){const e=Xr;let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3;this[e(345)]=t,this[e(336)]=s,this[e(387)]=new Zr(s),this._bindEvents()}[Xr(380)](){const t=Xr,{currentTime:e=0,decodeFps:s=0}=this[t(345)]?.[t(363)]||{};return{...this[t(387)][t(380)](),downloadSpeed:this[t(345)]?.[t(354)]?.()[t(383)]||0,avgSpeed:this._core?.[t(354)]?.()[t(375)]||0,currentTime:e,bufferEnd:this[t(345)]?.[t(390)]()?.[t(379)]||0,decodeFps:s}}[Xr(381)](){const t=Xr;this[t(345)].on(C[t(355)],(e=>this._stats[t(395)](e[t(391)]))),this._core.on(C.FLV_SCRIPT_DATA,(t=>{this._stats.setFpsFromScriptData(t)})),this._core.on(C[t(394)],(e=>{const s=t;e[s(369)]===s(366)?this[s(387)][s(364)](e.track):this[s(387)][s(341)](e[s(384)])})),this[t(345)].on(C[t(372)],(e=>{const s=t;this[s(387)][s(346)](e.responseUrl)}))}[Xr(334)](){const t=Xr;this[t(392)]=[],this[t(387)]=new Zr(this[t(336)])}}function $r(t,e){const s=Jr();return($r=function(t,e){return s[t-=333]})(t,e)}function tn(){const t=["push","info","210645GxqZnz","24ozwHyA","361921qSeVSn","buffers","77268qwSnwI","198154sLfXqo","18PcJKlq","start","102156VbMngb","reduce","132AxvRSe","2wqSXec","totalLength","end","buffered","46600iHYzLu","126tGauUp","length","1578060FfmjIr"];return(tn=function(){return t})()}const en=sn;function sn(t,e){const s=tn();return(sn=function(t,e){return s[t-=330]})(t,e)}!function(t,e){const s=sn,i=t();for(;;)try{if(100656===-parseInt(s(342))/1*(parseInt(s(336))/2)+parseInt(s(332))/3*(parseInt(s(335))/4)+-parseInt(s(331))/5+parseInt(s(337))/6*(-parseInt(s(333))/7)+-parseInt(s(346))/8*(-parseInt(s(347))/9)+parseInt(s(349))/10+parseInt(s(341))/11*(parseInt(s(339))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tn);en(338),en(344),en(330);const rn=an;function nn(){const t=["_bufferService","subtitleStreams","_prevSegSn","warn","totalDuration","getDemuxAudioBufferedListLength","_startTick","_tickInterval","_switchUrlOpts","_urlSwitching","then","_loadSegmentDirect()","loadSource() ","stopPoll","4347301XaXHHe","lastSegment","getAudioSegment","create","config","_emitError","_prevSegCc","audio seg","load m3u8: ","poll","bitrate","_manifestLoader","_loadM3U8() playlist is empty","createSource","getStats","error","upsertPlaylist","isLast","emit","destroy","fatal","_loadSegment()","STREAM_PARSED","_tickTimer","75650FjEAYp","appendBuffer","debugLog","loadSource","all","_loadData","SUBTITLE_PLAYLIST","m3u8 url is missing","SWITCH_URL_SUCCESS","_reloadOnPlay","_segmentLoader","clear buffer from ","nextSeg","targetLatency","paused","video seg","isMaster","decryptBuffer","currentStream","isEmpty","load","reset","catch","2765496vDOnMk","currentAudioStream","trim","is vod and totalDuration is ","url","_loadSegment","_disconnectTimer","start","nextSegment","80FKeBNh","moveSegmentPointer","_refreshM3U8","debugWarn","currentSegment","baseDts","220644QqhTVX","destroy()","getBufferedAudioSegments","getDemuxBufferedListLength","getDemuxVideoBufferedListLength","_reqAndBufferSegment","length","maxLatency","cancel","_segmentProcessing","ERROR","_seiService","and next _loadSegment()","_clear()","_stats","getBufferedSegments","27tqAGDw","_end","startTime","66304rMWOST","setLiveSeekableRange","_refreshM3U8() mediaPlaylist is empty","originError","_loadM3U8() is not master playlist","_loadSegmentDirect() not appended","_pollM3U8","table","_playlist","destroy end","_loadSegmentDirect","_clear","3277840OahHlZ","1718397WAQKMe","getSegmentByIndex","init","duration","speedInfo","isLive","OTHER","player","_loadM3U8","_reset()","_segmentProcessing is ture and return","seg.isLast","findSegmentIndexByTime","hasSubtitle","TAG_NAME","currentTime","_reset","videoCodec","getBuferredDuration","_stopTick","decryptBuffer return null","_end()","nextSeg is null and return","m3u8 url is not defined"];return(nn=function(){return t})()}function an(t,e){const s=nn();return(an=function(t,e){return s[t-=148]})(t,e)}!function(t,e){const s=an,i=t();for(;;)try{if(367144===parseInt(s(215))/1+-parseInt(s(272))/2+-parseInt(s(269))/3*(-parseInt(s(253))/4)+parseInt(s(152))/5+parseInt(s(238))/6+parseInt(s(191))/7+parseInt(s(247))/8*(-parseInt(s(153))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nn);class on extends i{constructor(t){const e=an;let s=arguments[e(259)]>1&&void 0!==arguments[1]?arguments[1]:{};var i;super(),this[e(160)]=t,this[e(195)]=null,this[e(202)]=null,this[e(225)]=null,this[e(148)]=null,this[e(177)]=null,this[e(264)]=null,this[e(267)]=null,this[e(179)]=null,this._prevSegCc=null,this[e(214)]=null,this[e(184)]=500,this[e(262)]=!1,this._reloadOnPlay=!1,this[e(185)]=null,this[e(244)]=null,this[e(167)]="Hls256",this[e(195)]=(i=s,s={isLive:!0,maxPlaylistSize:50,retryCount:3,retryDelay:1e3,pollRetryCount:2,loadTimeout:1e4,preloadTime:30,softDecode:!1,bufferBehind:10,maxJumpDistance:3,startTime:0,targetLatency:10,maxLatency:20,allowedStreamTrackChange:!0,...i}),this[e(202)]=new Ji(this),this[e(225)]=new ir(this),this[e(148)]=new dr(this),this[e(177)]=new Wr(this),this[e(264)]=new Kr(this),this[e(267)]=new Qr(this,9e4),this[e(160)][e(217)](this[e(167)],e(155))}async[rn(210)](){const t=rn;this[t(160)][t(217)](this[t(167)],t(254)),this[t(148)][t(236)](),this[t(225)].reset(),this[t(264)][t(236)](),await Promise[t(219)]([this[t(151)](),this._bufferService.destroy()]),this[t(202)]&&(await this[t(202)][t(210)](),this[t(202)]=null),this[t(225)]&&(this[t(225)][t(210)](),this[t(225)]=null),this[t(148)]&&(this[t(148)][t(210)](),this[t(148)]=null),this[t(160)][t(217)](this[t(167)],t(149))}_startTick(){const t=rn;this._stopTick(),this._tickTimer=setTimeout((()=>{this._tick()}),this[t(184)])}_stopTick(){const t=rn;this._tickTimer&&clearTimeout(this[t(214)]),this[t(214)]=null}_tick(){this._startTick(),this._loadSegment()}get[rn(158)](){const t=rn;return this[t(148)][t(158)]}get streams(){return this._playlist.streams}get[rn(233)](){const t=rn;return this._playlist[t(233)]}get[rn(166)](){return this[rn(148)].hasSubtitle}get[rn(252)](){const t=rn;return this._bufferService?.[t(252)]}[rn(157)](){const t=rn;return this[t(225)][t(157)]()}[rn(205)](){const t=rn;return this[t(267)][t(205)]()}async[rn(218)](t){const e=rn;return this[e(160)][e(217)](this[e(167)],e(189)+t),await this[e(169)](),await this[e(220)](t),this[e(183)](),!0}async[rn(220)](t){const e=rn;this.player.debugLog(this[e(167)],"_loadData() "+t);try{t&&(t=t[e(240)]())}catch(t){}if(!t)throw this[e(196)](new wi(Si[e(159)],Si[e(159)],null,null,e(222)));const s=await this[e(161)](t),{currentStream:i}=this[e(148)];if(this[e(186)]){0===i[e(201)]&&this[e(185)]?.[e(201)]&&(i[e(201)]=this[e(185)]?.[e(201)]);const t=this._getSeamlessSwitchPoint();this[e(195)][e(271)]=t;const s=this[e(148)][e(165)](t),r=this[e(148)][e(154)](s+1);if(r){const t=r[e(245)];this[e(160)][e(250)](this[e(167)],e(226)+t)}}s&&(this[e(158)]?(this[e(160)][e(217)](this.TAG_NAME,"is live"),this[e(177)][e(273)](0,4294967295),this[e(195)].targetLatency<this[e(148)][e(181)]&&(this[e(195)][e(228)]=this[e(148)].totalDuration,this[e(195)][e(260)]=1.5*this[e(195)][e(228)]),!s[e(231)]&&this._pollM3U8(t)):(this.player[e(217)](this[e(167)],e(241)+i[e(181)]+" s"),await this[e(177)].updateDuration(i.totalDuration))),await this[e(243)]()}async _loadM3U8(t){const e=rn;let s;this[e(160)].debugLog(this[e(167)],e(199)+t);try{[s]=await this._manifestLoader[e(235)](t)}catch(t){throw this[e(196)](wi[e(194)](t))}if(s)return this[e(148)][e(207)](s),s[e(231)]?(this._playlist[e(233)].subtitleStreams?.[e(259)]&&this[e(209)](C[e(221)],{list:this[e(148)][e(233)][e(178)]}),await this[e(249)]()):this.player[e(250)](this[e(167)],e(276)),this[e(209)](C[e(213)]),s;this[e(160)].debugWarn(this[e(167)],e(203))}[rn(249)](){const t=rn;this[t(160)].debugLog(this.TAG_NAME,"_refreshM3U8()");const e=this[t(148)][t(233)];if(!e||!e[t(242)])throw this[t(196)](wi[t(194)](null,null,new Error(t(176))));const s=e[t(242)],i=e[t(239)]?.[t(242)],r=e.currentSubtitleStream?.[t(242)];return this[t(202)][t(235)](s,i,r)[t(187)]((e=>{const n=t;let[a,o,h]=e;a?(this[n(148)][n(207)](a,o,h),this[n(158)]&&this[n(278)](s,i,r)):this[n(160)][n(250)](this[n(167)],n(274))}))[t(237)]((e=>{const s=t;throw this._emitError(wi[s(194)](e))}))}[rn(278)](t,e,s){const i=rn;let r=this[i(148)][i(234)];this[i(202)][i(200)](t,e,s,((t,e,s)=>{const n=i;this._playlist[n(207)](t,e,s),this[n(148)].clearOldSegment(),t&&r&&!this[n(148)][n(234)]&&this[n(243)](),r&&(r=this[n(148)].isEmpty)}),(t=>{const e=i;this[e(196)](wi[e(194)](t))}),1e3*(this[i(148)][i(192)]?.[i(156)]||0))}_loadSegment=async()=>{const t=rn;if(this[t(160)][t(217)](this[t(167)],t(212),t(262),this[t(262)]),this[t(262)])return void this[t(160)][t(250)](t(212),t(163));const e=this[t(148)][t(251)],s=this._playlist[t(246)];if(this[t(160)][t(217)](this.TAG_NAME,t(212),"curSeg",e,t(227),s),s)return this[t(150)]();this[t(160)].debugLog(this[t(167)],t(175))};async[rn(150)](){const t=rn;this.player[t(217)](this[t(167)],t(188));const e=this[t(148)].nextSegment;if(!e)return void this.player[t(217)](this[t(167)],"_loadSegmentDirect() !seg");let s=!1,i=null;try{this[t(262)]=!0,s=await this[t(258)](e,this[t(148)][t(193)](e))}catch(t){i=t}finally{this._segmentProcessing=!1}return i?this[t(196)](wi[t(194)](i)):(s?(this[t(186)]&&(this._urlSwitching=!1,this[t(209)](C[t(223)],{url:this.config[t(242)]})),this[t(148)][t(248)](),this.player[t(217)](this[t(167)],t(188),t(164),e[t(208)]),e.isLast?(this.player[t(217)](this[t(167)],t(188),t(164)),this[t(270)]()):(this.player[t(217)](this.TAG_NAME,t(188),t(265)),this[t(243)]())):this.player.debugLog(this[t(167)],t(277)),s)}async _reqAndBufferSegment(t,e){const s=rn;this.player[s(217)](this[s(167)],s(230),t&&t[s(242)],s(198),e&&e.url);const i=t?t.cc:e.cc,r=this._prevSegCc!==i;let n=[];try{n=await this._segmentLoader[s(235)](t,e,r)}catch(t){throw t[s(211)]=!1,this[s(225)][s(206)]=t,t}if(!n[0])return;const a=await this[s(177)][s(232)](...n);if(!a)return void this.player[s(217)](this[s(167)],s(173));const o=t?t.sn:e.sn,h=t?t[s(245)]:e.start,c=this._playlist[s(233)];return this[s(177)][s(204)](a[0],a[1],c?.[s(170)],c?.audioCodec),await this[s(177)][s(216)](t,e,a[0],a[1],r,this[s(179)]===o-1,h),this[s(197)]=i,this[s(179)]=o,!0}async[rn(151)](){const t=rn;this[t(160)][t(217)](this[t(167)],t(266)),clearTimeout(this[t(244)]),this._stopTick(),await Promise[t(219)]([this[t(225)][t(261)](),this[t(202)][t(190)]()]),this[t(262)]=!1}async _reset(){const t=rn;let e=arguments[t(259)]>0&&void 0!==arguments[0]&&arguments[0];return this[t(160)][t(217)](this.TAG_NAME,t(162)),this[t(224)]=!1,this[t(179)]=null,this[t(197)]=null,this[t(185)]=null,this[t(148)][t(236)](),this._segmentLoader.reset(),this[t(264)][t(236)](),this._stats[t(236)](),await this[t(151)](),this[t(177)].reset(e)}[rn(270)](){const t=rn;this[t(160)][t(217)](this[t(167)],t(174)),this[t(151)]()}[rn(196)](t){const e=rn;let s=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!1===t[e(275)]?.[e(211)]?console[e(180)](t):(console[e(279)](t),console[e(206)](t),console.error(this.media?.[e(206)]),this[e(172)](),this[e(186)]&&(this[e(186)]=!1,this[e(209)](C.SWITCH_URL_FAILED,t)),s&&this[e(270)](),this._seiService[e(236)](),this.emit(C[e(263)],t)),t}_getSeamlessSwitchPoint(){const t=rn,{media:e}=this;let s=e[t(168)];if(!e[t(229)]){const i=this[t(148)][t(165)](e[t(168)]),r=this._playlist[t(154)](i),n=this[t(267)]?.[t(205)]().downloadSpeed;if(n&&r){s+=r[t(156)]*this[t(148)].currentStream[t(201)]/n+1}else s+=5}return s}getDemuxBuferredDuration(){const t=rn;return this[t(177)][t(171)]()||0}[rn(256)](){const t=rn;return this[t(177)][t(268)]()||0}[rn(182)](){const t=rn;return this[t(177)][t(255)]()||0}[rn(257)](){return this._bufferService.getBufferedVideoSegments()||0}}const hn=cn;function cn(t,e){const s=ln();return(cn=function(t,e){return s[t-=155]})(t,e)}!function(t,e){const s=cn,i=t();for(;;)try{if(714602===parseInt(s(179))/1+-parseInt(s(185))/2+parseInt(s(191))/3*(parseInt(s(162))/4)+-parseInt(s(168))/5*(-parseInt(s(180))/6)+-parseInt(s(163))/7+parseInt(s(171))/8+-parseInt(s(181))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ln);class un extends i{constructor(t){const e=cn;super(),this.TAG_NAME=e(157),this[e(177)]=t,this[e(160)]=!1,this[e(174)]=null,this[e(159)]=[],this[e(184)]=null,this.hls=new on(t),this[e(155)]()}async destroy(){const t=cn;return this[t(165)](),this[t(174)]&&(await this[t(174)][t(189)](),this.hls=null),this[t(159)][t(176)]&&(this[t(159)][t(170)]((t=>t())),this[t(159)]=[]),this.player[t(158)](this.TAG_NAME,t(189)),!0}[hn(155)](){const t=hn;this[t(174)].on(C.ERROR,(e=>{const s=t;this[s(177)][s(167)](m[s(161)],e)})),this[t(166)]()}_startBandwidthEstimateInterval(){const t=hn;this[t(165)](),this.bandwidthEstimateInterval=setInterval((()=>{const e=t,s=this[e(174)][e(172)]();this.player[e(164)](p[e(156)],(s[e(173)]/1024/8)[e(190)](2))}),1e3)}_stopBandwidthEstimateInterval(){const t=hn;this[t(184)]&&(clearInterval(this[t(184)]),this[t(184)]=null)}async[hn(183)](t){const e=hn;return this[e(177)][e(158)](this[e(169)],"loadSource() "+t),this[e(182)]=t,await this[e(174)][e(183)](t),!0}[hn(186)](){const t=hn;let e=0;return this[t(174)]&&(e=this.hls[t(187)]()),e}[hn(178)](){const t=hn;let e=0;return this[t(174)]&&(e=this[t(174)][t(178)]()),e}[hn(175)](){const t=hn;let e=0;return this[t(174)]&&(e=this.hls[t(175)]()),e}[hn(188)](){const t=hn;let e=0;return this[t(174)]&&(e=this.hls[t(188)]()),e}}function ln(){const t=["url","loadSource","bandwidthEstimateInterval","228376cNliOp","checkHlsBufferedDelay","getDemuxBuferredDuration","getDemuxVideoBufferedListLength","destroy","toFixed","761775ERGeNG","_bindEvents","kBps","Hls256Decoder","debugLog","eventsDestroy","canVideoPlay","hlsError","16FvXCHf","7501774UzWuOT","emit","_stopBandwidthEstimateInterval","_startBandwidthEstimateInterval","_emitError","85BomARu","TAG_NAME","forEach","10282232RCVIiq","speedInfo","avgSpeed","hls","getDemuxAudioBufferedListLength","length","player","getDemuxBufferedListLength","483005rHbvBs","230754aLkFFf","13835835VWaZve"];return(ln=function(){return t})()}const dn=fn;function fn(t,e){const s=pn();return(fn=function(t,e){return s[t-=482]})(t,e)}function pn(){const t=["assign","1498221OUJRnS","websocket","_handleFetchError","_hasVideoAndAudioInit","380RolGZG","stream",".fmp4","1577328sYuWAA","ERROR","record create error","debugLog","mp4","finally",".h265","events","debugWarn","flv","hls","JbProRecorder version is ","error","abps","57ZXIkJN","play protocol is ","warn","vbps","stream end and stop record","_resetStats","recorder","JbProRecorder","isFlv","_startBpsTime","hasVideo","startRecord","playing","stats","streamEnd",".flv","isRecordTypeMp4","emit","fetch error","url is required","playOptions","audio","cancelRecord","fetch",", demuxType is ","fmp4","nakedFlow","_stats","_emitError",", must be ","18078aTyxFF","hasAudio","forEach","log","_initDebug","player event error","keys","_destroyed",'JbPro option "',"594909AASnHz","stream end and stop record error","timeout"," or ","debug","stream success and start play","4934PApwdm","_resetDemuxType","playFailedAndPaused","_checkLoadingTimeout","getToTalByteLength","_updateOption","debugError","loading","playToRenderTimes","video","playbackTimestamp","url","_updateStats","stringify","WebPlayerProRecorder","_handleStreamEnd","includes","hasInit","231836lYSHlv","destroy","recordCreateError","_opt","_init","downloadBlob type is ","indexOf","fetchError","loadingTimeout","catch","fetchStream","init success and version is ","_startCheckStatsInterval","debugUuid","bind","isFmp4","webTransport","player events","clear","EVENTS","hlsDecoder","isHls","_stopCheckStatsInterval","m7s","JessibucaProRecorder","20WrXyDj","once","_checkStatsInterval","then","619851qOvoIO","resetInit","stopRecordAndSave","flvMetaData","wt:","demux","recordType","isNakedFlow","isRecordTypeFlv","length","stop","TAG_NAME"];return(pn=function(){return t})()}!function(t,e){const s=fn,i=t();for(;;)try{if(160470===parseInt(s(596))/1*(-parseInt(s(515))/2)+-parseInt(s(562))/3+parseInt(s(533))/4+-parseInt(s(579))/5*(-parseInt(s(500))/6)+parseInt(s(509))/7+-parseInt(s(582))/8+-parseInt(s(575))/9*(-parseInt(s(558))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pn);class mn extends i{constructor(t){const e=fn;super(),this[e(536)]={},this[e(573)]=e(603),Object[e(506)](t)[e(502)]((s=>{const i=e;if(void 0===t[s])throw new Error(i(508)+s+'" can not be undefined')}));const s=ut();let i=Object[e(574)]({},s,t);nt(i[e(511)])&&(rt(i[e(541)])&&(i.loadingTimeout=i.timeout),rt(i.heartTimeout)&&(i.heartTimeout=i[e(511)])),i[e(546)]=function(){const t=J;return"xxxx"[t(736)](/[xy]/g,(function(e){var s=16*Math[t(531)]()|0;return("x"==e?s:3&s|8).toString(16)}))}(),this[e(536)]=i,this[e(507)]=!1,this._loadingTimeoutReplayTimes=0,this[e(513)]=new _t(this),this[e(589)]=new bt(this),this[e(491)]=new xt(this),this[e(524)]=new At(this),this.recorder=null,this[e(580)]=null,this.demux=null,this.hlsDecoder=null,this[e(497)]={},this[e(504)](),this[e(585)](this[e(573)],e(544)+tt),console.log(e(593)+tt+":"+P+" ")}[dn(534)](){return new Promise(((t,e)=>{const s=fn;this.stop().then((()=>{const e=fn;this[e(491)]&&(this[e(491)].destroy(),this[e(491)]=null),this[e(524)]&&(this[e(524)][e(534)](),this.video=null),t()}))[s(542)]((t=>{e(t)}))}))}_init(){return new Promise(((t,e)=>{const s=fn;!this[s(580)]&&(this[s(580)]=new Xt(this)),!this[s(567)]&&(this.demux=new Qs(this)),!this.recorder&&(this[s(602)]=new hs(this)),this[s(536)].isHls&&!this[s(553)]&&(this[s(553)]=new un(this)),t()}))}[dn(504)](){const t=dn;if(this[t(536)][t(513)]){const e=[],s=[p[t(483)],p.playbackStats,p[t(525)],p[t(565)],p[t(523)]];Object.keys(p)[t(502)]((t=>{this.on(p[t],(i=>{const r=fn;e[r(531)](t)||(s[r(531)](t)&&(i=JSON[r(528)](i)),this[r(585)](r(550),p[t],i))}))})),Object[t(506)](m)[t(502)]((t=>{this.on(m[t],(e=>{const s=fn;this[s(590)](s(505),m[t],e)}))}))}}[dn(518)](){}[dn(545)](){this[dn(560)]=setInterval((()=>{this._updateStats()}),1e3)}[dn(555)](){const t=dn;this[t(560)]&&(clearInterval(this[t(560)]),this._checkStatsInterval=null)}[dn(527)](){const t=dn;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this[t(605)]&&(this._startBpsTime=Z()),nt(e.ts)){const s=parseInt(e.ts,10);this[t(497)].ts=s}e.abps&&(this[t(497)].abps+=e[t(595)]),e[t(599)]&&(this[t(497)][t(599)]+=e[t(599)]);const s=Z();if(s-this[t(605)]<1e3)return;const i=this[t(602)].getTotalDuration(),r=this[t(602)][t(519)]();this.emit(p[t(483)],{...this[t(497)],duration:i,durationShow:at(i),size:r,sizeShow:st(r)}),this._stats.abps=0,this._stats[t(599)]=0,this[t(605)]=s}[dn(601)](){this[dn(497)]={abps:0,vbps:0,ts:0}}[dn(516)](t){const e=dn;this[e(536)][e(604)]=!1,this[e(536)].isFmp4=!1,this[e(536)][e(569)]=!1,this[e(536)][e(554)]=!1,t&&(this[e(536)][t]=!0)}[dn(520)](){const t=dn;let e=arguments[t(571)]>0&&void 0!==arguments[0]?arguments[0]:{};this[t(536)]=Object[t(574)]({},this[t(536)],e)}[dn(607)](t){const e=dn;let s=arguments[e(571)]>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(((i,r)=>{const a=e;if(!t)return r(a(489));this[a(522)]=!0,this[a(482)]=!1,this._opt[a(526)]=t,this._opt[a(490)]=s;const o=0===t.indexOf("http"),c=0===t[a(539)](a(566)),u=-1!==t[a(539)](".m3u8"),l=-1!==t[a(539)](a(485)),d=-1!==t[a(539)](a(581))||-1!==t[a(539)](".mp4"),f=-1!==t.indexOf(".h264")||-1!==t[a(539)](a(588));let _=null,g=null;if(l&&!this[a(536)][a(604)]&&this[a(516)](a(604)),d&&!this._opt.isFmp4&&this[a(516)]("isFmp4"),f&&!this[a(536)][a(569)]&&this[a(516)](a(569)),_=o?u?n[a(592)]:n[a(493)]:c?n.webTransport:n[a(576)],g=this._opt[a(569)]?h[a(496)]:this._opt[a(548)]?h[a(495)]:o&&!u||l||this._opt[a(604)]?h.flv:u?h[a(592)]:c?h[a(549)]:h[a(556)],!_||!g)return r(a(597)+_+a(494)+g);this[a(585)](this.TAG_NAME,"start record protocol is "+_+a(494)+g),this[a(520)]({protocol:_,demuxType:g,isHls:u}),this[a(537)]()[a(561)]((()=>{const e=a;this[e(518)](),this.on(p.recordCreateError,this._handleRecordCreateError.bind(this)),this[e(580)]&&(this.stream[e(559)](p.streamSuccess,(()=>{const t=e;i(),this._startCheckStatsInterval(),this[t(585)](this.TAG_NAME,t(514))})),this[e(580)][e(559)](p[e(484)],this[e(530)].bind(this)),this[e(580)].once(m[e(540)],this[e(577)][e(547)](this)),this[e(580)][e(543)](t))}))}))}[dn(564)](t,e){return new Promise(((s,i)=>{const r=fn;this.recorder[r(564)](t,e)[r(561)]((t=>{setTimeout((()=>{s(t)}),0)}))[r(542)]((t=>{i(t)}))[r(587)]((()=>{this.stop()}))}))}[dn(492)](){return new Promise(((t,e)=>{const s=fn;this.recorder[s(492)]()[s(561)]((()=>{t()})).catch((t=>{e(t)}))[s(587)]((()=>{this.stop()}))}))}async[dn(572)](){const t=dn;this[t(555)](),this[t(553)]&&(await this.hlsDecoder[t(534)](),this[t(553)]=null),this[t(580)]&&(this[t(580)][t(534)](),this.stream=null),this[t(602)]&&(this[t(602)][t(534)](),this[t(602)]=null),this[t(567)]&&(this[t(567)].destroy(),this[t(567)]=null),this[t(491)]&&this.audio[t(563)](),this[t(524)]&&this.video[t(563)]()}async[dn(551)](){const t=dn;await this[t(572)]()}[dn(570)](){const t=dn;return this[t(602)]&&this[t(536)].recordType===o.flv}[dn(486)](){const t=dn;return this[t(602)]&&this[t(536)][t(568)]===o[t(586)]}[dn(578)](){const t=dn;let e=dt(this[t(536)][t(606)]),s=dt(this[t(536)][t(501)]);return lt(this[t(536)][t(606)])&&this[t(524)]&&this[t(524)][t(532)]()&&(e=!0),lt(this[t(536)][t(501)])&&this[t(491)]&&this[t(491)][t(532)]()&&(s=!0),e&&s}[dn(498)](t){const e=dn;let s=arguments[e(571)]>1&&void 0!==arguments[1]?arguments[1]:"";this[e(487)](p[e(594)],t,s),this.emit(t,s)}downloadBlob(t,e,s){const i=dn;if(![o.mp4,o[i(591)]][i(531)](s))throw new Error(i(538)+s+i(499)+o[i(586)]+i(512)+o.flv);it((e||Z())+"."+s,t)}_handleRecordCreateError(){const t=dn;this[t(572)]()[t(561)]((()=>{const e=t;this[e(585)](this[e(573)],e(584))}))[t(587)]((()=>{const e=t;this[e(487)](p[e(517)],p[e(535)])}))}_handleStreamEnd(){const t=dn;this.stopRecordAndSave(g.download,Z())[t(561)]((()=>{const e=t;this[e(585)](this[e(573)],e(600))}))[t(542)]((e=>{const s=t;this[s(521)](this.TAG_NAME,s(510),e)}))[t(587)]((()=>{const e=t;this.emit(p[e(517)],p[e(484)])}))}_handleFetchError(t){const e=dn;this.stop()[e(561)]((()=>{const s=e;this[s(521)](this.TAG_NAME,s(488),t)}))[e(587)]((()=>{const t=e;this[t(487)](p.playFailedAndPaused,m[t(540)])}))}[dn(585)](t){const e=dn;if(this[e(536)][e(513)]&&this.debug){for(var s=arguments[e(571)],i=new Array(s>1?s-1:0),r=1;r<s;r++)i[r-1]=arguments[r];this[e(513)][e(503)](t,...i)}}debugWarn(t){const e=dn;if(this[e(536)][e(513)]&&this[e(513)]){for(var s=arguments[e(571)],i=new Array(s>1?s-1:0),r=1;r<s;r++)i[r-1]=arguments[r];this.debug[e(598)](t,...i)}}[dn(521)](t){const e=dn;if(this[e(513)]){for(var s=arguments[e(571)],i=new Array(s>1?s-1:0),r=1;r<s;r++)i[r-1]=arguments[r];this[e(513)][e(594)](t,...i)}}}return mn[dn(583)]=m,mn[dn(552)]=p,window[dn(557)]=mn,window[dn(529)]=mn,mn}));