de60a29a8dba034a1dcf76dc7a807e8030f0390b056ad85238bde06b9f941a65

Source Code:

function debugInfo(e,t,n,r,i,o,a,s){function l(){var e=G.innerText+"\n"+z.innerText+"\n"+Y.innerText;o.copy(e)}function c(){y(),L(H,"active")}function u(){B(H,"active"),clearInterval(M)}function d(){N.innerHTML="×",f(),A(),h(),w=C(U.adaptiveInfo),g(V),v();var e;x&&(e=C(".mhp1138_resetTime"),e.innerHTML=S)}function p(e,t){t&&(e.innerHTML=P.html.compile(t))}function f(){var e={'titleInfo[html="Player Version"]':null,'.html5Div[html="HTML5 : "] > span.html5Player':null};E()&&(e['.hlsVersionDiv[html="HLS Version : "] > span.hlsVersion']=null),p(G,e)}function A(){var e=G.getElementsByClassName("mhp1138_html5Player");if(e[0].innerHTML=MHP1138.core.version,E()){var t=G.getElementsByClassName("mhp1138_hlsVersion");t[0].innerHTML=Hls.version}}function h(){var e={'titleInfo[html="Streaming Info"]':null,'.methodDiv[html="Method : "] > span.streamingMethod':null,'.qualityDiv[html="Quality : "] > span.streamingQuality':null,".adaptiveDetails":{'subTitleInfo[html="Current chunk"]':null,'.chunkIdDiv[html="Chunk ID : "] > span.chunkID':null,'.chunkSizeDiv[html="Chunk Size : "] > span.chunkSize':null,'.connectionSpeedDiv[html="Download Time : "] > span.downloadTime':null,'.connectionSpeedDiv[html="Download Speed : "] > span.downloadSpeed':null}};p(z,e)}function g(t,n,r){var i=C(".mhp1138_streamingMethod"),o=C(".mhp1138_chunkID"),a=C(".mhp1138_chunkSize"),s=C(".mhp1138_streamingQuality"),l=C(".mhp1138_downloadSpeed"),c=C(".mhp1138_downloadTime"),u=e.isAdaptive;if(u){if(!I.isUndefined(n)&&""!=n)var d=String(n).toUpperCase();i.innerHTML="Adaptive"+(d?" ("+d+")":""),I.isUndefined(r)||(o.innerHTML=r.id,a.innerHTML=(r.size/1024).toFixed(2)+" KB",l.innerHTML=parseInt(r.bandwidth/1024,10)+" Kbps",c.innerHTML=r.downloadTime+" ms"),L(w,"active")}else B(w,"active"),i.innerHTML="Progressive",s.innerHTML=t}function m(e){var t=e.height?e.height:"",n=C(".mhp1138_streamingQuality"),r=e.auto;n.innerHTML=t+"p"+(r?"(auto)":"(forced)")}function v(){var t,n=!1,r=[],i=R.get("preroll")||{},o=[];_=0,T="00:00",P.each(e.campaignCandidates,function(e,t){r[e.campaign]=[],r[e.campaign].push(e)});var a=I.keys(r);if(r.length>0)if(n=!0,I.isEmpty(i.time)){var s;P.each(a,function(e,t){P.each(r[e],function(e,t){(e.onNth<=s||I.isUndefined(s))&&(s=e.onNth,o=e)})})}else{var l,c;P.each(i.time,function(e,t){r[t]&&(c=r[t][0],(c.forgetUserAfter<=l||I.isUndefined(l))&&(l=c.forgetUserAfter,T=e,o=c))})}if(_=o.forgetUserAfter,Q&&(i.views+=1),t=i.views%o.onNth==0?o.onNth:i.views%o.onNth,S=P.string.toTime(_),x=n,n)var u={'titleInfo[html="Preroll Info"]':null,".activeDiv":'span[html="Active : '+n+'"]',".countDiv":'span[html="Count : '+t+'"]',".nthDiv":'span[html="Show on : '+o.onNth+'"]','.resetDiv[html="Reset after : "] > span.resetTime':null,'.timeDiv[html="Time remaining : "] > span.timeRemaining':null,".xmlDiv":'span[html="XML : '+!!o.vastParser+'"]'};else var u={'titleInfo[html="Preroll Info"]':null,".activeDiv":'span[html="Active : '+n+'"]'};p(Y,u)}function y(){var e=new Date(1e3*_+T),t=new Date,n=0,r=C(".mhp1138_timeRemaining");if(e>t){var i=e-t;n=Math.floor(new Date(i).getTime()/1e3)}r&&(r.innerHTML=P.secondToTime(n),M=setInterval(function(){n>=0&&(r.innerHTML=P.secondToTime(n--))},1e3))}function b(){D("onAdaptiveQualityChange",function(e,t,n){"audio"!==n.quality.mediaType&&m(n.quality)}),D("onQualityChange",function(e,t,n){g(n.resolution,n.format,k)}),D("showPreRoll",function(){Q=!0}),D("hidePreRoll",function(){Q=!1})}function E(){return window.Hls&&MHP1138.HlsPlayer}var w,T,S,x,_,M,k,P=window.MHP1138.utils,R=P.storage,C=P.html.query,L=P.css.add,B=P.css.remove,I=P.underscore,D=i.subscribe,O=r.versionsInfo,U=O.playerVersions,H=C(O.container),N=C(O.copyCloseDiv.hideVersionMenu),F=C(O.copyCloseDiv.copyMenu),G=(C(U.container),C(U.versionInfo)),z=C(U.streamingInfo),Y=C(U.prerollInfo),V=n.sourceModel.getCurrent().quality,Q=!1;return o.supported?(s&&s.initElement(F,"Copy"),F.addEventListener("click",function(){l()})):F.parentNode.removeChild(F),d(),b(),s&&s.initElement(N,"Close"),N.addEventListener("click",function(){u()}),{show:c}}function mgp_imagePlayer(){return{settings:{},playerCreated:!1,playerType:"imagePlayer",playerId:"",playerContainerElement:null,isReady:!1,initPlayer:function(e,t){this.settings=t,this.playerId=e,this.loadSkin(),this.createInstanceOfSkin(),this.createPlayer()},loadSkin:function(){if(this.skinName=this.settings.htmlSettings.skin,!document.getElementById("skin")){var e=document.createElement("div"),t=document.head,n=document.body;if(e.id="skin",e.style.display="none",!MHP1138.skinsMarkup.css)return;var r=document.createElement("style");if(r.innerHTML=MHP1138.skinsMarkup.css,t.appendChild(r),!MHP1138.skinsMarkup.html)return;e.innerHTML=MHP1138.skinsMarkup.html,n.insertBefore(e,n.firstChild)}},createInstanceOfSkin:function(){this.skin=window.skin(),this.skin.elements=__.addPrefixToSkinElements(this.skin.elements,"mhp1138",this.playerId)},initContainer:function(){var e=document.getElementById(this.playerId),t=(this.settings,null);MHP1138.detector.generateClassList(e),__.addClass(e,"container"),this.settings.embeds.enabled===!0&&__.addClass(e,"embedded"),t=document.getElementById("mhp1138_"+this.skinName+"_skinTemplate").innerHTML,e.innerHTML+=t,this.playerContainerElement=e},initSkin:function(){this.skin.scripts.init(this,function(){})},createPlayer:function(){var e=this.settings;new Date(parseInt(e.mainRoll.duration,10));this.playerContainerElement=document.getElementById(this.playerId),this.initContainer(),this.initSkin(),MHP1138.player.fireEvent("onReady",this.playerId,{playerType:this.playerType,element:this.playerContainerElement}),this.isReady=!0,this.playerCreated=!0},isPlaying:function(){return!!this.isReady&&!this.playerElement.paused},isReady:function(){return this.isReady}}}!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return i(n||e)},u,u.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){"use strict";var r,i=e(24),o=e(2);r=function(){var e=new Uint8Array,t=0;r.prototype.init.call(this),this.setTimestamp=function(e){t=e},this.push=function(n){var r,i,a,s,l=0,c=0;for(e.length?(s=e.length,e=new Uint8Array(n.byteLength+s),e.set(e.subarray(0,s)),e.set(n,s)):e=n;e.length-c>=3;)if(e[c]!=="I".charCodeAt(0)||e[c+1]!=="D".charCodeAt(0)||e[c+2]!=="3".charCodeAt(0))if(255!=(255&e[c])||240!=(240&e[c+1]))c++;else{if(e.length-c<7)break;if(l=o.parseAdtsSize(e,c),c+l>e.length)break;a={type:"audio",data:e.subarray(c,c+l),pts:t,dts:t},this.trigger("data",a),c+=l}else{if(e.length-c<10)break;if(l=o.parseId3TagSize(e,c),c+l>e.length)break;i={type:"timed-metadata",data:e.subarray(c,c+l)},this.trigger("data",i),c+=l}r=e.length-c,e=r>0?e.subarray(c):new Uint8Array}},r.prototype=new i,t.exports=r},{}],2:[function(e,t,n){"use strict";var r=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],i=function(e){return e[0]==="I".charCodeAt(0)&&e[1]==="D".charCodeAt(0)&&e[2]==="3".charCodeAt(0)},o=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},a=function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i},s=function(e,t,n){return unescape(a(e,t,n))},l=function(e,t){var n=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&e[t+5])>>4?n+20:n+10},c=function(e,t){var n=(224&e[t+5])>>5,r=e[t+4]<<3;return 6144&e[t+3]|r|n},u=function(e,t){return e[t]==="I".charCodeAt(0)&&e[t+1]==="D".charCodeAt(0)&&e[t+2]==="3".charCodeAt(0)?"timed-metadata":!0&e[t]&&240==(240&e[t+1])?"audio":null},d=function(e){for(var t=0;t+5<e.length;){if(255===e[t]&&240==(246&e[t+1]))return r[(60&e[t+2])>>>2];t++}return null},p=function(e){var t,n,r;t=10,64&e[5]&&(t+=4,t+=o(e.subarray(10,14)));do{if((n=o(e.subarray(t+4,t+8)))<1)return null;if("PRIV"===String.fromCharCode(e[t],e[t+1],e[t+2],e[t+3])){r=e.subarray(t+10,t+n+10);for(var i=0;i<r.byteLength;i++)if(0===r[i]){var a=s(r,0,i);if("com.apple.streaming.transportStreamTimestamp"===a){var l=r.subarray(i+1),c=(1&l[3])<<30|l[4]<<22|l[5]<<14|l[6]<<6|l[7]>>>2;return c*=4,c+=3&l[7]}break}}t+=10,t+=n}while(t<e.byteLength);return null};t.exports={isLikelyAacData:i,parseId3TagSize:l,parseAdtsSize:c,parseType:u,parseSampleRate:d,parseAacTimestamp:p}},{}],3:[function(e,t,n){"use strict";var r,i=e(24),o=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];r=function(){var e;r.prototype.init.call(this),this.push=function(t){var n,r,i,a,s,l,c=0,u=0;if("audio"===t.type)for(e?(a=e,e=new Uint8Array(a.byteLength+t.data.byteLength),e.set(a),e.set(t.data,a.byteLength)):e=t.data;c+5<e.length;)if(255===e[c]&&240==(246&e[c+1])){if(r=2*(1&~e[c+1]),n=(3&e[c+3])<<11|e[c+4]<<3|(224&e[c+5])>>5,s=1024*(1+(3&e[c+6])),l=9e4*s/o[(60&e[c+2])>>>2],i=c+n,e.byteLength<i)return;if(this.trigger("data",{pts:t.pts+u*l,dts:t.dts+u*l,sampleCount:s,audioobjecttype:1+(e[c+2]>>>6&3),channelcount:(1&e[c+2])<<2|(192&e[c+3])>>>6,samplerate:o[(60&e[c+2])>>>2],samplingfrequencyindex:(60&e[c+2])>>>2,samplesize:16,data:e.subarray(c+7+r,i)}),e.byteLength===i)return void(e=void 0);u++,e=e.subarray(i)}else c++},this.flush=function(){this.trigger("done")}},r.prototype=new i,t.exports=r},{}],4:[function(e,t,n){"use strict";var r,i,o,a=e(24),s=e(23);i=function(){var e,t,n=0;i.prototype.init.call(this),this.push=function(r){var i;for(t?(i=new Uint8Array(t.byteLength+r.data.byteLength),i.set(t),i.set(r.data,t.byteLength),t=i):t=r.data;n<t.byteLength-3;n++)if(1===t[n+2]){e=n+5;break}for(;e<t.byteLength;)switch(t[e]){case 0:if(0!==t[e-1]){e+=2;break}if(0!==t[e-2]){e++;break}n+3!==e-2&&this.trigger("data",t.subarray(n+3,e-2));do e++;while(1!==t[e]&&e<t.length);n=e-2,e+=3;break;case 1:if(0!==t[e-1]||0!==t[e-2]){e+=3;break}this.trigger("data",t.subarray(n+3,e-2)),n=e-2,e+=3;break;default:e+=3}t=t.subarray(n),e-=n,n=0},this.flush=function(){t&&t.byteLength>3&&this.trigger("data",t.subarray(n+3)),t=null,n=0,this.trigger("done")}},i.prototype=new a,o={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},r=function(){var e,t,n,a,l,c,u,d=new i;r.prototype.init.call(this),e=this,this.push=function(e){"video"===e.type&&(t=e.trackId,n=e.pts,a=e.dts,d.push(e))},d.on("data",function(r){var i={trackId:t,pts:n,dts:a,data:r};switch(31&r[0]){case 5:i.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:i.nalUnitType="sei_rbsp",i.escapedRBSP=l(r.subarray(1));break;case 7:i.nalUnitType="seq_parameter_set_rbsp",i.escapedRBSP=l(r.subarray(1)),i.config=c(i.escapedRBSP);break;case 8:i.nalUnitType="pic_parameter_set_rbsp";break;case 9:i.nalUnitType="access_unit_delimiter_rbsp"}e.trigger("data",i)}),d.on("done",function(){e.trigger("done")}),this.flush=function(){d.flush()},u=function(e,t){var n,r,i=8,o=8;for(n=0;n<e;n++)0!==o&&(r=t.readExpGolomb(),o=(i+r+256)%256),i=0===o?i:o},l=function(e){for(var t,n,r=e.byteLength,i=[],o=1;o<r-2;)0===e[o]&&0===e[o+1]&&3===e[o+2]?(i.push(o+2),o+=2):o++;if(0===i.length)return e;t=r-i.length,n=new Uint8Array(t);var a=0;for(o=0;o<t;a++,o++)a===i[0]&&(a++,i.shift()),n[o]=e[a];return n},c=function(e){var t,n,r,i,a,l,c,d,p,f,A,h,g,m=0,v=0,y=0,b=0,E=1;if(t=new s(e),n=t.readUnsignedByte(),i=t.readUnsignedByte(),r=t.readUnsignedByte(),t.skipUnsignedExpGolomb(),o[n]&&(a=t.readUnsignedExpGolomb(),3===a&&t.skipBits(1),t.skipUnsignedExpGolomb(),t.skipUnsignedExpGolomb(),t.skipBits(1),t.readBoolean()))for(A=3!==a?8:12,g=0;g<A;g++)t.readBoolean()&&(g<6?u(16,t):u(64,t));if(t.skipUnsignedExpGolomb(),0===(l=t.readUnsignedExpGolomb()))t.readUnsignedExpGolomb();else if(1===l)for(t.skipBits(1),t.skipExpGolomb(),t.skipExpGolomb(),c=t.readUnsignedExpGolomb(),g=0;g<c;g++)t.skipExpGolomb();if(t.skipUnsignedExpGolomb(),t.skipBits(1),d=t.readUnsignedExpGolomb(),p=t.readUnsignedExpGolomb(),f=t.readBits(1),0===f&&t.skipBits(1),t.skipBits(1),t.readBoolean()&&(m=t.readUnsignedExpGolomb(),v=t.readUnsignedExpGolomb(),y=t.readUnsignedExpGolomb(),b=t.readUnsignedExpGolomb()),t.readBoolean()&&t.readBoolean()){switch(t.readUnsignedByte()){case 1:h=[1,1];break;case 2:h=[12,11];break;case 3:h=[10,11];break;case 4:h=[16,11];break;case 5:h=[40,33];break;case 6:h=[24,11];break;case 7:h=[20,11];break;case 8:h=[32,11];break;case 9:h=[80,33];break;case 10:h=[18,11];break;case 11:h=[15,11];break;case 12:h=[64,33];break;case 13:h=[160,99];break;case 14:h=[4,3];break;case 15:h=[3,2];break;case 16:h=[2,1];break;case 255:h=[t.readUnsignedByte()<<8|t.readUnsignedByte(),t.readUnsignedByte()<<8|t.readUnsignedByte()]}h&&(E=h[0]/h[1])}return{profileIdc:n,levelIdc:r,profileCompatibility:i,width:Math.ceil((16*(d+1)-2*m-2*v)*E),height:(2-f)*(p+1)*16-2*y-2*b}}},r.prototype=new a,t.exports={H264Stream:r,NalByteStream:i}},{}],5:[function(e,t,n){var r=[33,16,5,32,164,27],i=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],o=function(e){for(var t=[];e--;)t.push(0);return t},a={96e3:[r,[227,64],o(154),[56]],88200:[r,[231],o(170),[56]],64e3:[r,[248,192],o(240),[56]],48e3:[r,[255,192],o(268),[55,148,128],o(54),[112]],44100:[r,[255,192],o(268),[55,163,128],o(84),[112]],32e3:[r,[255,192],o(268),[55,234],o(226),[112]],24e3:[r,[255,192],o(268),[55,255,128],o(268),[111,112],o(126),[224]],16e3:[r,[255,192],o(268),[55,255,128],o(268),[111,255],o(269),[223,108],o(195),[1,192]],12e3:[i,o(268),[3,127,248],o(268),[6,255,240],o(268),[13,255,224],o(268),[27,253,128],o(259),[56]],11025:[i,o(268),[3,127,248],o(268),[6,255,240],o(268),[13,255,224],o(268),[27,255,192],o(268),[55,175,128],o(108),[112]],8e3:[i,o(268),[3,121,16],o(47),[7]]};t.exports=function(e){return Object.keys(e).reduce(function(t,n){return t[n]=new Uint8Array(e[n].reduce(function(e,t){return e.concat(t)},[])),t},{})}(a)},{}],6:[function(e,t,n){"use strict";var r=e(24),i=e(19),o=function(){o.prototype.init.call(this),this.captionPackets_=[],this.ccStreams_=[new u(0,0),new u(0,1),new u(1,0),new u(1,1)],this.reset(),this.ccStreams_.forEach(function(e){e.on("data",this.trigger.bind(this,"data")),e.on("done",this.trigger.bind(this,"done"))},this)};o.prototype=new r,o.prototype.push=function(e){var t,n,r;if("sei_rbsp"===e.nalUnitType&&(t=i.parseSei(e.escapedRBSP),t.payloadType===i.USER_DATA_REGISTERED_ITU_T_T35&&(n=i.parseUserData(t)))){if(e.dts<this.latestDts_)return void(this.ignoreNextEqualDts_=!0);if(e.dts===this.latestDts_&&this.ignoreNextEqualDts_)return void(--this.numSameDts_||(this.ignoreNextEqualDts_=!1));r=i.parseCaptionPackets(e.pts,n),this.captionPackets_=this.captionPackets_.concat(r),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},o.prototype.flush=function(){return this.captionPackets_.length?(this.captionPackets_.forEach(function(e,t){e.presortIndex=t}),this.captionPackets_.sort(function(e,t){return e.pts===t.pts?e.presortIndex-t.presortIndex:e.pts-t.pts}),this.captionPackets_.forEach(function(e){e.type<2&&this.dispatchCea608Packet(e)},this),this.captionPackets_.length=0,this.ccStreams_.forEach(function(e){e.flush()},this),void 0):void this.ccStreams_.forEach(function(e){e.flush()},this)},o.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach(function(e){e.reset()})},o.prototype.dispatchCea608Packet=function(e){this.setsChannel1Active(e)?this.activeCea608Channel_[e.type]=0:this.setsChannel2Active(e)&&(this.activeCea608Channel_[e.type]=1),null!==this.activeCea608Channel_[e.type]&&this.ccStreams_[(e.type<<1)+this.activeCea608Channel_[e.type]].push(e)},o.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},o.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)};var a={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},s=function(e){return null===e?"":(e=a[e]||e,String.fromCharCode(e))},l=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],c=function(){for(var e=[],t=15;t--;)e.push("");return e},u=function(e,t){u.prototype.init.call(this),this.field_=e||0,this.dataChannel_=t||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var t,n,r,i,o;if((t=32639&e.ccData)===this.lastControlCode_)return void(this.lastControlCode_=null);if(4096==(61440&t)?this.lastControlCode_=t:t!==this.PADDING_&&(this.lastControlCode_=null),r=t>>>8,i=255&t,t!==this.PADDING_)if(t===this.RESUME_CAPTION_LOADING_)this.mode_="popOn";else if(t===this.END_OF_CAPTION_)this.mode_="popOn",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),n=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=n,this.startPts_=e.pts;else if(t===this.ROLL_UP_2_ROWS_)this.rollUpRows_=2,this.setRollUp(e.pts);else if(t===this.ROLL_UP_3_ROWS_)this.rollUpRows_=3,this.setRollUp(e.pts);else if(t===this.ROLL_UP_4_ROWS_)this.rollUpRows_=4,this.setRollUp(e.pts);else if(t===this.CARRIAGE_RETURN_)this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts;else if(t===this.BACKSPACE_)"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1);else if(t===this.ERASE_DISPLAYED_MEMORY_)this.flushDisplayed(e.pts),this.displayed_=c();else if(t===this.ERASE_NON_DISPLAYED_MEMORY_)this.nonDisplayed_=c();else if(t===this.RESUME_DIRECT_CAPTIONING_)"paintOn"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=c()),this.mode_="paintOn",this.startPts_=e.pts;else if(this.isSpecialCharacter(r,i))r=(3&r)<<8,o=s(r|i),this[this.mode_](e.pts,o),this.column_++;else if(this.isExtCharacter(r,i))"popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),r=(3&r)<<8,o=s(r|i),this[this.mode_](e.pts,o),this.column_++;else if(this.isMidRowCode(r,i))this.clearFormatting(e.pts),this[this.mode_](e.pts," "),this.column_++,14==(14&i)&&this.addFormatting(e.pts,["i"]),1==(1&i)&&this.addFormatting(e.pts,["u"]);else if(this.isOffsetControlCode(r,i))this.column_+=3&i;else if(this.isPAC(r,i)){var a=l.indexOf(7968&t);"rollUp"===this.mode_&&(a-this.rollUpRows_+1<0&&(a=this.rollUpRows_-1),this.setRollUp(e.pts,a)),a!==this.row_&&(this.clearFormatting(e.pts),this.row_=a),1&i&&-1===this.formatting_.indexOf("u")&&this.addFormatting(e.pts,["u"]),16==(16&t)&&(this.column_=4*((14&t)>>1)),this.isColorPAC(i)&&14==(14&i)&&this.addFormatting(e.pts,["i"])}else this.isNormalChar(r)&&(0===i&&(i=null),o=s(r),o+=s(i),this[this.mode_](e.pts,o),this.column_+=o.length)}};u.prototype=new r,u.prototype.flushDisplayed=function(e){var t=this.displayed_.map(function(e){try{return e.trim()}catch(e){return console.error("Skipping malformed caption."),""}}).join("\n").replace(/^\n+|\n+$/g,"");t.length&&this.trigger("data",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},u.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=c(),this.nonDisplayed_=c(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},u.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},u.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&t>=48&&t<=63},u.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&t>=32&&t<=63},u.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&t>=32&&t<=47},u.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&t>=33&&t<=35},u.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&t>=64&&t<=127},u.prototype.isColorPAC=function(e){return e>=64&&e<=79||e>=96&&e<=127},u.prototype.isNormalChar=function(e){return e>=32&&e<=127},u.prototype.setRollUp=function(e,t){if("rollUp"!==this.mode_&&(this.row_=14,this.mode_="rollUp",this.flushDisplayed(e),this.nonDisplayed_=c(),this.displayed_=c()),void 0!==t&&t!==this.row_)for(var n=0;n<this.rollUpRows_;n++)this.displayed_[t-n]=this.displayed_[this.row_-n],this.displayed_[this.row_-n]="";void 0===t&&(t=this.row_),this.topRow_=t-this.rollUpRows_+1},u.prototype.addFormatting=function(e,t){this.formatting_=this.formatting_.concat(t);var n=t.reduce(function(e,t){return e+"<"+t+">"},"");this[this.mode_](e,n)},u.prototype.clearFormatting=function(e){if(this.formatting_.length){var t=this.formatting_.reverse().reduce(function(e,t){return e+"</"+t+">"},"");this.formatting_=[],this[this.mode_](e,t)}},u.prototype.popOn=function(e,t){var n=this.nonDisplayed_[this.row_];n+=t,this.nonDisplayed_[this.row_]=n},u.prototype.rollUp=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},u.prototype.shiftRowsUp_=function(){var e;for(e=0;e<this.topRow_;e++)this.displayed_[e]="";for(e=this.row_+1;e<15;e++)this.displayed_[e]="";for(e=this.topRow_;e<this.row_;e++)this.displayed_[e]=this.displayed_[e+1];this.displayed_[this.row_]=""},u.prototype.paintOn=function(e,t){var n=this.displayed_[this.row_];n+=t,this.displayed_[this.row_]=n},t.exports={CaptionStream:o,Cea608Stream:u}},{}],7:[function(e,t,n){"use strict";var r,i,o,a=e(24),s=e(6),l=e(9),c=e(10).TimestampRolloverStream,u=e(9);r=function(){var e=new Uint8Array(188),t=0;r.prototype.init.call(this),this.push=function(n){var r,i=0,o=188;for(t?(r=new Uint8Array(n.byteLength+t),r.set(e.subarray(0,t)),r.set(n,t),t=0):r=n;o<r.byteLength;)71!==r[i]||71!==r[o]?(i++,o++):(this.trigger("data",r.subarray(i,o)),i+=188,o+=188);i<r.byteLength&&(e.set(r.subarray(i),0),t=r.byteLength-i)},this.flush=function(){188===t&&71===e[0]&&(this.trigger("data",e),t=0),this.trigger("done")}},r.prototype=new a,i=function(){var e,t,n,r;i.prototype.init.call(this),r=this,this.packetsWaitingForPmt=[],this.programMapTable=void 0,e=function(e,r){var i=0;r.payloadUnitStartIndicator&&(i+=e[i]+1),"pat"===r.type?t(e.subarray(i),r):n(e.subarray(i),r)},t=function(e,t){t.section_number=e[7],t.last_section_number=e[8],r.pmtPid=(31&e[10])<<8|e[11],t.pmtPid=r.pmtPid},n=function(e,t){var n,i,o,a;if(1&e[5]){for(r.programMapTable={video:null,audio:null,"timed-metadata":{}},n=(15&e[1])<<8|e[2],i=3+n-4,o=(15&e[10])<<8|e[11],a=12+o;a<i;){var s=e[a],c=(31&e[a+1])<<8|e[a+2];s===l.H264_STREAM_TYPE&&null===r.programMapTable.video?r.programMapTable.video=c:s===l.ADTS_STREAM_TYPE&&null===r.programMapTable.audio?r.programMapTable.audio=c:s===l.METADATA_STREAM_TYPE&&(r.programMapTable["timed-metadata"][c]=s),a+=5+((15&e[a+3])<<8|e[a+4])}t.programMapTable=r.programMapTable}},this.push=function(t){var n={},r=4;if(n.payloadUnitStartIndicator=!!(64&t[1]),n.pid=31&t[1],n.pid<<=8,n.pid|=t[2],(48&t[3])>>>4>1&&(r+=t[r]+1),0===n.pid)n.type="pat",e(t.subarray(r),n),this.trigger("data",n);else if(n.pid===this.pmtPid)for(n.type="pmt",e(t.subarray(r),n),this.trigger("data",n);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([t,r,n]):this.processPes_(t,r,n)},this.processPes_=function(e,t,n){n.pid===this.programMapTable.video?n.streamType=l.H264_STREAM_TYPE:n.pid===this.programMapTable.audio?n.streamType=l.ADTS_STREAM_TYPE:n.streamType=this.programMapTable["timed-metadata"][n.pid],n.type="pes",n.data=e.subarray(t),this.trigger("data",n)}},i.prototype=new a,i.STREAM_TYPES={h264:27,adts:15},o=function(){var e=this,t={data:[],size:0},n={data:[],size:0},r={data:[],size:0},i=function(e,t){var n;t.packetLength=6+(e[4]<<8|e[5]),t.dataAlignmentIndicator=0!=(4&e[6]),n=e[7],192&n&&(t.pts=(14&e[9])<<27|(255&e[10])<<20|(254&e[11])<<12|(255&e[12])<<5|(254&e[13])>>>3,t.pts*=4,t.pts+=(6&e[13])>>>1,t.dts=t.pts,64&n&&(t.dts=(14&e[14])<<27|(255&e[15])<<20|(254&e[16])<<12|(255&e[17])<<5|(254&e[18])>>>3,t.dts*=4,t.dts+=(6&e[18])>>>1)),t.data=e.subarray(9+e[8])},a=function(t,n,r){var o,a=new Uint8Array(t.size),s={type:n},l=0,c=0,u=!1;if(t.data.length&&!(t.size<9)){for(s.trackId=t.data[0].pid,l=0;l<t.data.length;l++)o=t.data[l],a.set(o.data,c),c+=o.data.byteLength;i(a,s),u="video"===n||s.packetLength<=t.size,(r||u)&&(t.size=0,t.data.length=0),u&&e.trigger("data",s)}};o.prototype.init.call(this),this.push=function(i){({pat:function(){},pes:function(){var e,o;switch(i.streamType){case l.H264_STREAM_TYPE:case u.H264_STREAM_TYPE:e=t,o="video";break;case l.ADTS_STREAM_TYPE:e=n,o="audio";break;case l.METADATA_STREAM_TYPE:e=r,o="timed-metadata";break;default:return}i.payloadUnitStartIndicator&&a(e,o,!0),e.data.push(i),e.size+=i.data.byteLength},pmt:function(){var t={type:"metadata",tracks:[]},n=i.programMapTable;null!==n.video&&t.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+n.video,codec:"avc",type:"video"}),null!==n.audio&&t.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+n.audio,codec:"adts",type:"audio"}),e.trigger("data",t)}})[i.type]()},this.flush=function(){a(t,"video"),a(n,"audio"),a(r,"timed-metadata"),this.trigger("done")}},o.prototype=new a;var d={PAT_PID:0,MP2T_PACKET_LENGTH:188,TransportPacketStream:r,TransportParseStream:i,ElementaryStream:o,TimestampRolloverStream:c,CaptionStream:s.CaptionStream,Cea608Stream:s.Cea608Stream,MetadataStream:e(8)};for(var p in l)l.hasOwnProperty(p)&&(d[p]=l[p]);t.exports=d},{}],8:[function(e,t,n){"use strict";var r,i=e(24),o=e(9),a=function(e,t,n){var r,i="";for(r=t;r<n;r++)i+="%"+("00"+e[r].toString(16)).slice(-2);return i},s=function(e,t,n){return decodeURIComponent(a(e,t,n))},l=function(e,t,n){return unescape(a(e,t,n))},c=function(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]},u={TXXX:function(e){var t;if(3===e.data[0]){for(t=1;t<e.data.length;t++)if(0===e.data[t]){e.description=s(e.data,1,t),e.value=s(e.data,t+1,e.data.length).replace(/\0*$/,"");break}e.data=e.value}},WXXX:function(e){var t;if(3===e.data[0])for(t=1;t<e.data.length;t++)if(0===e.data[t]){e.description=s(e.data,1,t),e.url=s(e.data,t+1,e.data.length);break}},PRIV:function(e){var t;for(t=0;t<e.data.length;t++)if(0===e.data[t]){e.owner=l(e.data,0,t);break}e.privateData=e.data.subarray(t+1),e.data=e.privateData}};r=function(e){var t,n={debug:!(!e||!e.debug),descriptor:e&&e.descriptor},i=0,a=[],s=0;if(r.prototype.init.call(this),this.dispatchType=o.METADATA_STREAM_TYPE.toString(16),n.descriptor)for(t=0;t<n.descriptor.length;t++)this.dispatchType+=("00"+n.descriptor[t].toString(16)).slice(-2);this.push=function(e){var t,r,o,l,d,p;if("timed-metadata"===e.type){if(e.dataAlignmentIndicator&&(s=0,a.length=0),0===a.length&&(e.data.length<10||e.data[0]!=="I".charCodeAt(0)||e.data[1]!=="D".charCodeAt(0)||e.data[2]!=="3".charCodeAt(0)))return void(n.debug&&console.log("Skipping unrecognized metadata packet"));if(a.push(e),s+=e.data.byteLength,1===a.length&&(i=c(e.data.subarray(6,10)),i+=10),!(s<i)){for(t={data:new Uint8Array(i),frames:[],pts:a[0].pts,dts:a[0].dts},d=0;d<i;)t.data.set(a[0].data.subarray(0,i-d),d),d+=a[0].data.byteLength,s-=a[0].data.byteLength,a.shift();r=10,64&t.data[5]&&(r+=4,r+=c(t.data.subarray(10,14)),i-=c(t.data.subarray(16,20)));do{if((o=c(t.data.subarray(r+4,r+8)))<1)return console.log("Malformed ID3 frame encountered. Skipping metadata parsing.");if(p=String.fromCharCode(t.data[r],t.data[r+1],t.data[r+2],t.data[r+3]),l={id:p,data:t.data.subarray(r+10,r+o+10)},l.key=l.id,u[l.id]&&(u[l.id](l),"com.apple.streaming.transportStreamTimestamp"===l.owner)){var f=l.data,A=(1&f[3])<<30|f[4]<<22|f[5]<<14|f[6]<<6|f[7]>>>2;A*=4,A+=3&f[7],l.timeStamp=A,void 0===t.pts&&void 0===t.dts&&(t.pts=l.timeStamp,t.dts=l.timeStamp),this.trigger("timestamp",l)}t.frames.push(l),r+=10,r+=o}while(r<i);this.trigger("data",t)}}}},r.prototype=new i,t.exports=r},{}],9:[function(e,t,n){"use strict";t.exports={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21}},{}],10:[function(e,t,n){"use strict";var r=e(24),i=function(e,t){var n=1;for(e>t&&(n=-1);Math.abs(t-e)>4294967296;)e+=8589934592*n;return e},o=function(e){var t,n;o.prototype.init.call(this),this.type_=e,this.push=function(e){e.type===this.type_&&(void 0===n&&(n=e.dts),e.dts=i(e.dts,n),e.pts=i(e.pts,n),t=e.dts,this.trigger("data",e))},this.flush=function(){n=t,this.trigger("done")},this.discontinuity=function(){n=void 0,t=void 0}};o.prototype=new r,t.exports={TimestampRolloverStream:o,handleRollover:i}},{}],11:[function(e,t,n){var r=e(5),i=e(22),o=function(e){var t,n,r=0;for(t=0;t<e.length;t++)n=e[t],r+=n.data.byteLength;return r},a=function(e,t,n,o){var a,s,l,c=0,u=0,d=0,p=0;if(t.length&&(a=i.audioTsToVideoTs(e.baseMediaDecodeTime,e.samplerate),c=Math.ceil(9e4/(e.samplerate/1024)),n&&o&&(u=a-Math.max(n,o),d=Math.floor(u/c),p=d*c),!(d<1||p>45e3))){for(s=r[e.samplerate],s||(s=t[0].data),l=0;l<d;l++)t.splice(l,0,{data:s});e.baseMediaDecodeTime-=Math.floor(i.videoTsToAudioTs(p,e.samplerate))}},s=function(e,t,n){return t.minSegmentDts>=n?e:(t.minSegmentDts=1/0,e.filter(function(e){return e.dts>=n&&(t.minSegmentDts=Math.min(t.minSegmentDts,e.dts),t.minSegmentPts=t.minSegmentDts,!0)}))},l=function(e){var t,n,r=[];for(t=0;t<e.length;t++)n=e[t],r.push({size:n.data.byteLength,duration:1024});return r},c=function(e){var t,n,r=0,i=new Uint8Array(o(e));for(t=0;t<e.length;t++)n=e[t],i.set(n.data,r),r+=n.data.byteLength;return i};t.exports={prefixWithSilence:a,trimAdtsFramesByEarliestDts:s,generateSampleTable:l,concatenateFrameData:c}},{}],12:[function(e,t,n){"use strict";var r=e(19).discardEmulationPreventionBytes,i=e(6).CaptionStream,o=e(16),a=e(20),s=function(e,t){for(var n=e,r=0;r<t.length;r++){var i=t[r];if(n<i.size)return i;n-=i.size}return null},l=function(e,t,n){var i,o,a,l,c=new DataView(e.buffer,e.byteOffset,e.byteLength),u=[];for(o=0;o+4<e.length;o+=a)if(a=c.getUint32(o),o+=4,!(a<=0))switch(31&e[o]){case 6:var d=e.subarray(o+1,o+1+a),p=s(o,t);i={nalUnitType:"sei_rbsp",size:a,data:d,escapedRBSP:r(d),trackId:n},p?(i.pts=p.pts,i.dts=p.dts,l=p):(i.pts=l.pts,i.dts=l.dts),u.push(i)}return u},c=function(e,t,n){var r=t,i=n.defaultSampleDuration||0,o=n.defaultSampleSize||0,s=n.trackId,l=[];return e.forEach(function(e){var t=a.parseTrun(e),n=t.samples;n.forEach(function(e){void 0===e.duration&&(e.duration=i),void 0===e.size&&(e.size=o),e.trackId=s,e.dts=r,void 0===e.compositionTimeOffset&&(e.compositionTimeOffset=0),e.pts=r+e.compositionTimeOffset,r+=e.duration}),l=l.concat(n)}),l},u=function(e,t){var n=o.findBox(e,["moof","traf"]),r=o.findBox(e,["mdat"]),i={},s=[];return r.forEach(function(e,t){var r=n[t];s.push({mdat:e,traf:r})}),s.forEach(function(e){var n,r,s=e.mdat,u=e.traf,d=o.findBox(u,["tfhd"]),p=a.parseTfhd(d[0]),f=p.trackId,A=o.findBox(u,["tfdt"]),h=A.length>0?a.parseTfdt(A[0]).baseMediaDecodeTime:0,g=o.findBox(u,["trun"]);t===f&&g.length>0&&(n=c(g,h,p),r=l(s,n,f),i[f]||(i[f]=[]),i[f]=i[f].concat(r))}),i},d=function(e,t,n){var r;return t?(r=u(e,t),
{seiNals:r[t],timescale:n}):null},p=function(){var e,t,n,r,o,a=!1;this.isInitialized=function(){return a},this.init=function(){e=new i,a=!0,e.on("data",function(e){e.startTime=e.startPts/r,e.endTime=e.endPts/r,o.captions.push(e),o.captionStreams[e.stream]=!0})},this.isNewInit=function(e,t){return!(e&&0===e.length||t&&"object"==typeof t&&0===Object.keys(t).length||n===e[0]&&r===t[n])},this.parse=function(e,i,a){var s;if(!this.isInitialized())return null;if(!i||!a)return null;if(this.isNewInit(i,a))n=i[0],r=a[n];else if(!n||!r)return t.push(e),null;for(;t.length>0;){var l=t.shift();this.parse(l,i,a)}return null!==(s=d(e,n,r))&&s.seiNals?(this.pushNals(s.seiNals),this.flushStream(),o):null},this.pushNals=function(t){return this.isInitialized()&&t&&0!==t.length?void t.forEach(function(t){e.push(t)}):null},this.flushStream=function(){return this.isInitialized()?void e.flush():null},this.clearParsedCaptions=function(){o.captions=[],o.captionStreams={}},this.resetCaptionStream=function(){return this.isInitialized()?void e.reset():null},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){t=[],n=null,r=null,o?this.clearParsedCaptions():o={captions:[],captionStreams:{}},this.resetCaptionStream()},this.reset()};t.exports=p},{}],13:[function(e,t,n){var r=function(e){var t,n,r=[],i=[];for(r.byteLength=0,t=0;t<e.length;t++)n=e[t],"access_unit_delimiter_rbsp"===n.nalUnitType?(r.length&&(r.duration=n.dts-r.dts,i.push(r)),r=[n],r.byteLength=n.data.byteLength,r.pts=n.pts,r.dts=n.dts):("slice_layer_without_partitioning_rbsp_idr"===n.nalUnitType&&(r.keyFrame=!0),r.duration=n.dts-r.dts,r.byteLength+=n.data.byteLength,r.push(n));return i.length&&(!r.duration||r.duration<=0)&&(r.duration=i[i.length-1].duration),i.push(r),i},i=function(e){var t,n,r=[],i=[];for(r.byteLength=0,r.nalCount=0,r.duration=0,r.pts=e[0].pts,r.dts=e[0].dts,i.byteLength=0,i.nalCount=0,i.duration=0,i.pts=e[0].pts,i.dts=e[0].dts,t=0;t<e.length;t++)n=e[t],n.keyFrame?(r.length&&(i.push(r),i.byteLength+=r.byteLength,i.nalCount+=r.nalCount,i.duration+=r.duration),r=[n],r.nalCount=n.length,r.byteLength=n.byteLength,r.pts=n.pts,r.dts=n.dts,r.duration=n.duration):(r.duration+=n.duration,r.nalCount+=n.length,r.byteLength+=n.byteLength,r.push(n));return i.length&&r.duration<=0&&(r.duration=i[i.length-1].duration),i.byteLength+=r.byteLength,i.nalCount+=r.nalCount,i.duration+=r.duration,i.push(r),i},o=function(e){var t;return!e[0][0].keyFrame&&e.length>1&&(t=e.shift(),e.byteLength-=t.byteLength,e.nalCount-=t.nalCount,e[0][0].dts=t.dts,e[0][0].pts=t.pts,e[0][0].duration+=t.duration),e},a=function(){return{size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}}},s=function(e,t){var n=a();return n.dataOffset=t,n.compositionTimeOffset=e.pts-e.dts,n.duration=e.duration,n.size=4*e.length,n.size+=e.byteLength,e.keyFrame&&(n.flags.dependsOn=2,n.flags.isNonSyncSample=0),n},l=function(e,t){var n,r,i,o,a,l=t||0,c=[];for(n=0;n<e.length;n++)for(o=e[n],r=0;r<o.length;r++)a=o[r],i=s(a,l),l+=i.size,c.push(i);return c},c=function(e){var t,n,r,i,o,a,s=0,l=e.byteLength,c=e.nalCount,u=l+4*c,d=new Uint8Array(u),p=new DataView(d.buffer);for(t=0;t<e.length;t++)for(i=e[t],n=0;n<i.length;n++)for(o=i[n],r=0;r<o.length;r++)a=o[r],p.setUint32(s,a.data.byteLength),s+=4,d.set(a.data,s),s+=a.data.byteLength;return d};t.exports={groupNalsIntoFrames:r,groupFramesIntoGops:i,extendFirstKeyFrame:o,generateSampleTable:l,concatenateNalData:c}},{}],14:[function(e,t,n){t.exports={generator:e(15),probe:e(16),Transmuxer:e(18).Transmuxer,AudioSegmentStream:e(18).AudioSegmentStream,VideoSegmentStream:e(18).VideoSegmentStream,CaptionParser:e(12)}},{}],15:[function(e,t,n){"use strict";var r,i,o,a,s,l,c,u,d,p,f,A,h,g,m,v,y,b,E,w,T,S,x,_,M,k,P,R,C,L,B,I,D,O,U,H,N=Math.pow(2,32)-1;!function(){var e;if(x={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},"undefined"!=typeof Uint8Array){for(e in x)x.hasOwnProperty(e)&&(x[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);_=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),k=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),M=new Uint8Array([0,0,0,1]),P=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),R=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),C={video:P,audio:R},I=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),B=new Uint8Array([0,0,0,0,0,0,0,0]),D=new Uint8Array([0,0,0,0,0,0,0,0]),O=D,U=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),H=D,L=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),r=function(e){var t,n,r,i=[],o=0;for(t=1;t<arguments.length;t++)i.push(arguments[t]);for(t=i.length;t--;)o+=i[t].byteLength;for(n=new Uint8Array(o+8),r=new DataView(n.buffer,n.byteOffset,n.byteLength),r.setUint32(0,n.byteLength),n.set(e,4),t=0,o=8;t<i.length;t++)n.set(i[t],o),o+=i[t].byteLength;return n},i=function(){return r(x.dinf,r(x.dref,I))},o=function(e){return r(x.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,e.audioobjecttype<<3|e.samplingfrequencyindex>>>1,e.samplingfrequencyindex<<7|e.channelcount<<3,6,1,2]))},a=function(){return r(x.ftyp,_,M,_,k)},v=function(e){return r(x.hdlr,C[e])},s=function(e){return r(x.mdat,e)},m=function(e){var t=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,e.duration>>>24&255,e.duration>>>16&255,e.duration>>>8&255,255&e.duration,85,196,0,0]);return e.samplerate&&(t[12]=e.samplerate>>>24&255,t[13]=e.samplerate>>>16&255,t[14]=e.samplerate>>>8&255,t[15]=255&e.samplerate),r(x.mdhd,t)},g=function(e){return r(x.mdia,m(e),v(e.type),c(e))},l=function(e){return r(x.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},c=function(e){return r(x.minf,"video"===e.type?r(x.vmhd,L):r(x.smhd,B),i(),b(e))},u=function(e,t){for(var n=[],i=t.length;i--;)n[i]=w(t[i]);return r.apply(null,[x.moof,l(e)].concat(n))},d=function(e){for(var t=e.length,n=[];t--;)n[t]=A(e[t]);return r.apply(null,[x.moov,f(4294967295)].concat(n).concat(p(e)))},p=function(e){for(var t=e.length,n=[];t--;)n[t]=T(e[t]);return r.apply(null,[x.mvex].concat(n))},f=function(e){var t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return r(x.mvhd,t)},y=function(e){var t,n,i=e.samples||[],o=new Uint8Array(4+i.length);for(n=0;n<i.length;n++)t=i[n].flags,o[n+4]=t.dependsOn<<4|t.isDependedOn<<2|t.hasRedundancy;return r(x.sdtp,o)},b=function(e){return r(x.stbl,E(e),r(x.stts,H),r(x.stsc,O),r(x.stsz,U),r(x.stco,D))},function(){var e,t;E=function(n){return r(x.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),"video"===n.type?e(n):t(n))},e=function(e){var t,n=e.sps||[],i=e.pps||[],o=[],a=[];for(t=0;t<n.length;t++)o.push((65280&n[t].byteLength)>>>8),o.push(255&n[t].byteLength),o=o.concat(Array.prototype.slice.call(n[t]));for(t=0;t<i.length;t++)a.push((65280&i[t].byteLength)>>>8),a.push(255&i[t].byteLength),a=a.concat(Array.prototype.slice.call(i[t]));return r(x.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&e.width)>>8,255&e.width,(65280&e.height)>>8,255&e.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),r(x.avcC,new Uint8Array([1,e.profileIdc,e.profileCompatibility,e.levelIdc,255].concat([n.length]).concat(o).concat([i.length]).concat(a))),r(x.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])))},t=function(e){return r(x.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&e.channelcount)>>8,255&e.channelcount,(65280&e.samplesize)>>8,255&e.samplesize,0,0,0,0,(65280&e.samplerate)>>8,255&e.samplerate,0,0]),o(e))}}(),h=function(e){var t=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,0,(4278190080&e.duration)>>24,(16711680&e.duration)>>16,(65280&e.duration)>>8,255&e.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&e.width)>>8,255&e.width,0,0,(65280&e.height)>>8,255&e.height,0,0]);return r(x.tkhd,t)},w=function(e){var t,n,i,o,a,s,l;return t=r(x.tfhd,new Uint8Array([0,0,0,58,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),s=Math.floor(e.baseMediaDecodeTime/(N+1)),l=Math.floor(e.baseMediaDecodeTime%(N+1)),n=r(x.tfdt,new Uint8Array([1,0,0,0,s>>>24&255,s>>>16&255,s>>>8&255,255&s,l>>>24&255,l>>>16&255,l>>>8&255,255&l])),a=92,"audio"===e.type?(i=S(e,a),r(x.traf,t,n,i)):(o=y(e),i=S(e,o.length+a),r(x.traf,t,n,i,o))},A=function(e){return e.duration=e.duration||4294967295,r(x.trak,h(e),g(e))},T=function(e){var t=new Uint8Array([0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==e.type&&(t[t.length-1]=0),r(x.trex,t)},function(){var e,t,n;n=function(e,t){var n=0,r=0,i=0,o=0;return e.length&&(void 0!==e[0].duration&&(n=1),void 0!==e[0].size&&(r=2),void 0!==e[0].flags&&(i=4),void 0!==e[0].compositionTimeOffset&&(o=8)),[0,0,n|r|i|o,1,(4278190080&e.length)>>>24,(16711680&e.length)>>>16,(65280&e.length)>>>8,255&e.length,(4278190080&t)>>>24,(16711680&t)>>>16,(65280&t)>>>8,255&t]},t=function(e,t){var i,o,a,s;for(o=e.samples||[],t+=20+16*o.length,i=n(o,t),s=0;s<o.length;s++)a=o[s],i=i.concat([(4278190080&a.duration)>>>24,(16711680&a.duration)>>>16,(65280&a.duration)>>>8,255&a.duration,(4278190080&a.size)>>>24,(16711680&a.size)>>>16,(65280&a.size)>>>8,255&a.size,a.flags.isLeading<<2|a.flags.dependsOn,a.flags.isDependedOn<<6|a.flags.hasRedundancy<<4|a.flags.paddingValue<<1|a.flags.isNonSyncSample,61440&a.flags.degradationPriority,15&a.flags.degradationPriority,(4278190080&a.compositionTimeOffset)>>>24,(16711680&a.compositionTimeOffset)>>>16,(65280&a.compositionTimeOffset)>>>8,255&a.compositionTimeOffset]);return r(x.trun,new Uint8Array(i))},e=function(e,t){var i,o,a,s;for(o=e.samples||[],t+=20+8*o.length,i=n(o,t),s=0;s<o.length;s++)a=o[s],i=i.concat([(4278190080&a.duration)>>>24,(16711680&a.duration)>>>16,(65280&a.duration)>>>8,255&a.duration,(4278190080&a.size)>>>24,(16711680&a.size)>>>16,(65280&a.size)>>>8,255&a.size]);return r(x.trun,new Uint8Array(i))},S=function(n,r){return"audio"===n.type?e(n,r):t(n,r)}}(),t.exports={ftyp:a,mdat:s,moof:u,moov:d,initSegment:function(e){var t,n=a(),r=d(e);return t=new Uint8Array(n.byteLength+r.byteLength),t.set(n),t.set(r,n.byteLength),t}}},{}],16:[function(e,t,n){"use strict";var r,i,o,a,s,l=e(21).toUnsigned;r=function(e,t){var n,o,a,s,c,u=[];if(!t.length)return null;for(n=0;n<e.byteLength;)o=l(e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3]),a=i(e.subarray(n+4,n+8)),s=o>1?n+o:e.byteLength,a===t[0]&&(1===t.length?u.push(e.subarray(n+8,s)):(c=r(e.subarray(n+8,s),t.slice(1)),c.length&&(u=u.concat(c)))),n=s;return u},i=function(e){var t="";return t+=String.fromCharCode(e[0]),t+=String.fromCharCode(e[1]),t+=String.fromCharCode(e[2]),t+=String.fromCharCode(e[3])},o=function(e){var t={};return r(e,["moov","trak"]).reduce(function(e,t){var n,i,o,a,s;return(n=r(t,["tkhd"])[0])?(i=n[0],o=0===i?12:20,a=l(n[o]<<24|n[o+1]<<16|n[o+2]<<8|n[o+3]),(s=r(t,["mdia","mdhd"])[0])?(i=s[0],o=0===i?12:20,e[a]=l(s[o]<<24|s[o+1]<<16|s[o+2]<<8|s[o+3]),e):null):null},t)},a=function(e,t){var n,i,o;return n=r(t,["moof","traf"]),i=[].concat.apply([],n.map(function(t){return r(t,["tfhd"]).map(function(n){var i,o,a;return i=l(n[4]<<24|n[5]<<16|n[6]<<8|n[7]),o=e[i]||9e4,a=r(t,["tfdt"]).map(function(e){var t,n;return t=e[0],n=l(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),1===t&&(n*=Math.pow(2,32),n+=l(e[8]<<24|e[9]<<16|e[10]<<8|e[11])),n})[0],(a=a||1/0)/o})})),o=Math.min.apply(null,i),isFinite(o)?o:0},s=function(e){var t=r(e,["moov","trak"]),n=[];return t.forEach(function(e){var t=r(e,["mdia","hdlr"]),o=r(e,["tkhd"]);t.forEach(function(e,t){var r,a,s,l=i(e.subarray(8,12)),c=o[t];"vide"===l&&(r=new DataView(c.buffer,c.byteOffset,c.byteLength),a=r.getUint8(0),s=0===a?r.getUint32(12):r.getUint32(20),n.push(s))})}),n},t.exports={findBox:r,parseType:i,timescale:o,startTime:a,videoTrackIds:s}},{}],17:[function(e,t,n){var r=function(e,t){"number"==typeof t.pts&&(void 0===e.timelineStartInfo.pts&&(e.timelineStartInfo.pts=t.pts),void 0===e.minSegmentPts?e.minSegmentPts=t.pts:e.minSegmentPts=Math.min(e.minSegmentPts,t.pts),void 0===e.maxSegmentPts?e.maxSegmentPts=t.pts:e.maxSegmentPts=Math.max(e.maxSegmentPts,t.pts)),"number"==typeof t.dts&&(void 0===e.timelineStartInfo.dts&&(e.timelineStartInfo.dts=t.dts),void 0===e.minSegmentDts?e.minSegmentDts=t.dts:e.minSegmentDts=Math.min(e.minSegmentDts,t.dts),void 0===e.maxSegmentDts?e.maxSegmentDts=t.dts:e.maxSegmentDts=Math.max(e.maxSegmentDts,t.dts))},i=function(e){delete e.minSegmentDts,delete e.maxSegmentDts,delete e.minSegmentPts,delete e.maxSegmentPts},o=function(e,t){var n,r,i=e.minSegmentDts;return t||(i-=e.timelineStartInfo.dts),n=e.timelineStartInfo.baseMediaDecodeTime,n+=i,n=Math.max(0,n),"audio"===e.type&&(r=e.samplerate/9e4,n*=r,n=Math.floor(n)),n};t.exports={clearDtsInfo:i,calculateTrackBaseMediaDecodeTime:o,collectDtsInfo:r}},{}],18:[function(e,t,n){"use strict";var r,i,o,a,s=e(24),l=e(15),c=e(13),u=e(11),d=e(17),p=e(7),f=e(3),A=e(4).H264Stream,h=e(1),g=e(2).isLikelyAacData,m=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],v=["width","height","profileIdc","levelIdc","profileCompatibility"],y=function(e,t){var n;if(e.length!==t.length)return!1;for(n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0},b=function(e,t,n,r,i){return{start:{dts:e,pts:t},end:{dts:n,pts:r},prependedContentDuration:i}};i=function(e,t){var n=[],r=0,o=0,a=0,s=1/0;t=t||{},i.prototype.init.call(this),this.push=function(t){d.collectDtsInfo(e,t),e&&m.forEach(function(n){e[n]=t[n]}),n.push(t)},this.setEarliestDts=function(t){o=t-e.timelineStartInfo.baseMediaDecodeTime},this.setVideoBaseMediaDecodeTime=function(e){s=e},this.setAudioAppendStart=function(e){a=e},this.flush=function(){var i,c,p,f;return 0===n.length?void this.trigger("done","AudioSegmentStream"):(i=u.trimAdtsFramesByEarliestDts(n,e,o),e.baseMediaDecodeTime=d.calculateTrackBaseMediaDecodeTime(e,t.keepOriginalTimestamps),u.prefixWithSilence(e,i,a,s),e.samples=u.generateSampleTable(i),p=l.mdat(u.concatenateFrameData(i)),n=[],c=l.moof(r,[e]),f=new Uint8Array(c.byteLength+p.byteLength),r++,f.set(c),f.set(p,c.byteLength),d.clearDtsInfo(e),this.trigger("data",{track:e,boxes:f}),this.trigger("done","AudioSegmentStream"),void 0)}},i.prototype=new s,r=function(e,t){var n,i,o=0,a=[],s=[];t=t||{},r.prototype.init.call(this),delete e.minPTS,this.gopCache_=[],this.push=function(t){d.collectDtsInfo(e,t),"seq_parameter_set_rbsp"!==t.nalUnitType||n||(n=t.config,e.sps=[t.data],v.forEach(function(t){e[t]=n[t]},this)),"pic_parameter_set_rbsp"!==t.nalUnitType||i||(i=t.data,e.pps=[t.data]),a.push(t)},this.flush=function(){for(var n,r,i,u,p,f,A,h,g=0;a.length&&"access_unit_delimiter_rbsp"!==a[0].nalUnitType;)a.shift();if(0===a.length)return this.resetStream_(),void this.trigger("done","VideoSegmentStream");if(n=c.groupNalsIntoFrames(a),i=c.groupFramesIntoGops(n),i[0][0].keyFrame||(r=this.getGopForFusion_(a[0],e),r?(g=r.duration,i.unshift(r),i.byteLength+=r.byteLength,i.nalCount+=r.nalCount,i.pts=r.pts,i.dts=r.dts,i.duration+=r.duration):i=c.extendFirstKeyFrame(i)),s.length){var m;if(!(m=t.alignGopsAtEnd?this.alignGopsAtEnd_(i):this.alignGopsAtStart_(i)))return this.gopCache_.unshift({gop:i.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),a=[],this.resetStream_(),void this.trigger("done","VideoSegmentStream");d.clearDtsInfo(e),i=m}d.collectDtsInfo(e,i),e.samples=c.generateSampleTable(i),p=l.mdat(c.concatenateNalData(i)),e.baseMediaDecodeTime=d.calculateTrackBaseMediaDecodeTime(e,t.keepOriginalTimestamps),this.trigger("processedGopsInfo",i.map(function(e){return{pts:e.pts,dts:e.dts,byteLength:e.byteLength}})),A=i[0],h=i[i.length-1],this.trigger("segmentTimingInfo",b(A.dts,A.pts,h.dts+h.duration,h.pts+h.duration,g)),this.gopCache_.unshift({gop:i.pop(),pps:e.pps,sps:e.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),a=[],this.trigger("baseMediaDecodeTime",e.baseMediaDecodeTime),this.trigger("timelineStartInfo",e.timelineStartInfo),u=l.moof(o,[e]),f=new Uint8Array(u.byteLength+p.byteLength),o++,f.set(u),f.set(p,u.byteLength),this.trigger("data",{track:e,boxes:f}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.resetStream_=function(){d.clearDtsInfo(e),n=void 0,i=void 0},this.getGopForFusion_=function(t){var n,r,i,o,a,s=1/0;for(a=0;a<this.gopCache_.length;a++)o=this.gopCache_[a],i=o.gop,e.pps&&y(e.pps[0],o.pps[0])&&e.sps&&y(e.sps[0],o.sps[0])&&(i.dts<e.timelineStartInfo.dts||(n=t.dts-i.dts-i.duration)>=-1e4&&n<=45e3&&(!r||s>n)&&(r=o,s=n));return r?r.gop:null},this.alignGopsAtStart_=function(e){var t,n,r,i,o,a,l,c;for(o=e.byteLength,a=e.nalCount,l=e.duration,t=n=0;t<s.length&&n<e.length&&(r=s[t],i=e[n],r.pts!==i.pts);)i.pts>r.pts?t++:(n++,o-=i.byteLength,a-=i.nalCount,l-=i.duration);return 0===n?e:n===e.length?null:(c=e.slice(n),c.byteLength=o,c.duration=l,c.nalCount=a,c.pts=c[0].pts,c.dts=c[0].dts,c)},this.alignGopsAtEnd_=function(e){var t,n,r,i,o,a;for(t=s.length-1,n=e.length-1,o=null,a=!1;t>=0&&n>=0;){if(r=s[t],i=e[n],r.pts===i.pts){a=!0;break}r.pts>i.pts?t--:(t===s.length-1&&(o=n),n--)}if(!a&&null===o)return null;var l;if(0===(l=a?n:o))return e;var c=e.slice(l),u=c.reduce(function(e,t){return e.byteLength+=t.byteLength,e.duration+=t.duration,e.nalCount+=t.nalCount,e},{byteLength:0,duration:0,nalCount:0});return c.byteLength=u.byteLength,c.duration=u.duration,c.nalCount=u.nalCount,c.pts=c[0].pts,c.dts=c[0].dts,c},this.alignGopsWith=function(e){s=e}},r.prototype=new s,a=function(e,t){this.numberOfTracks=0,this.metadataStream=t,e=e||{},void 0!==e.remux?this.remuxTracks=!!e.remux:this.remuxTracks=!0,"boolean"==typeof e.keepOriginalTimestamps&&(this.keepOriginalTimestamps=e.keepOriginalTimestamps),this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,a.prototype.init.call(this),this.push=function(e){return e.text?this.pendingCaptions.push(e):e.frames?this.pendingMetadata.push(e):(this.pendingTracks.push(e.track),this.pendingBoxes.push(e.boxes),this.pendingBytes+=e.boxes.byteLength,"video"===e.track.type&&(this.videoTrack=e.track),void("audio"===e.track.type&&(this.audioTrack=e.track)))}},a.prototype=new s,a.prototype.flush=function(e){var t,n,r,i,o=0,a={captions:[],captionStreams:{},metadata:[],info:{}},s=0;if(this.pendingTracks.length<this.numberOfTracks){if("VideoSegmentStream"!==e&&"AudioSegmentStream"!==e)return;if(this.remuxTracks)return;if(0===this.pendingTracks.length)return void(++this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0))}for(this.videoTrack?(s=this.videoTrack.timelineStartInfo.pts,v.forEach(function(e){a.info[e]=this.videoTrack[e]},this)):this.audioTrack&&(s=this.audioTrack.timelineStartInfo.pts,m.forEach(function(e){a.info[e]=this.audioTrack[e]},this)),1===this.pendingTracks.length?a.type=this.pendingTracks[0].type:a.type="combined",this.emittedTracks+=this.pendingTracks.length,r=l.initSegment(this.pendingTracks),a.initSegment=new Uint8Array(r.byteLength),a.initSegment.set(r),a.data=new Uint8Array(this.pendingBytes),i=0;i<this.pendingBoxes.length;i++)a.data.set(this.pendingBoxes[i],o),o+=this.pendingBoxes[i].byteLength;for(i=0;i<this.pendingCaptions.length;i++)t=this.pendingCaptions[i],t.startTime=t.startPts,this.keepOriginalTimestamps||(t.startTime-=s),t.startTime/=9e4,t.endTime=t.endPts,this.keepOriginalTimestamps||(t.endTime-=s),t.endTime/=9e4,a.captionStreams[t.stream]=!0,a.captions.push(t);for(i=0;i<this.pendingMetadata.length;i++)n=this.pendingMetadata[i],n.cueTime=n.pts,this.keepOriginalTimestamps||(n.cueTime-=s),n.cueTime/=9e4,a.metadata.push(n);a.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",a),this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},o=function(e){var t,n,s=this,l=!0;o.prototype.init.call(this),e=e||{},this.baseMediaDecodeTime=e.baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var t={};this.transmuxPipeline_=t,t.type="aac",t.metadataStream=new p.MetadataStream,t.aacStream=new h,t.audioTimestampRolloverStream=new p.TimestampRolloverStream("audio"),t.timedMetadataTimestampRolloverStream=new p.TimestampRolloverStream("timed-metadata"),t.adtsStream=new f,t.coalesceStream=new a(e,t.metadataStream),t.headOfPipeline=t.aacStream,t.aacStream.pipe(t.audioTimestampRolloverStream).pipe(t.adtsStream),t.aacStream.pipe(t.timedMetadataTimestampRolloverStream).pipe(t.metadataStream).pipe(t.coalesceStream),t.metadataStream.on("timestamp",function(e){t.aacStream.setTimestamp(e.timeStamp)}),t.aacStream.on("data",function(r){"timed-metadata"!==r.type||t.audioSegmentStream||(n=n||{timelineStartInfo:{baseMediaDecodeTime:s.baseMediaDecodeTime},codec:"adts",type:"audio"},t.coalesceStream.numberOfTracks++,t.audioSegmentStream=new i(n,e),t.adtsStream.pipe(t.audioSegmentStream).pipe(t.coalesceStream))}),t.coalesceStream.on("data",this.trigger.bind(this,"data")),t.coalesceStream.on("done",this.trigger.bind(this,"done"))},this.setupTsPipeline=function(){var o={};this.transmuxPipeline_=o,o.type="ts",o.metadataStream=new p.MetadataStream,o.packetStream=new p.TransportPacketStream,o.parseStream=new p.TransportParseStream,o.elementaryStream=new p.ElementaryStream,o.videoTimestampRolloverStream=new p.TimestampRolloverStream("video"),o.audioTimestampRolloverStream=new p.TimestampRolloverStream("audio"),o.timedMetadataTimestampRolloverStream=new p.TimestampRolloverStream("timed-metadata"),o.adtsStream=new f,o.h264Stream=new A,o.captionStream=new p.CaptionStream,o.coalesceStream=new a(e,o.metadataStream),o.headOfPipeline=o.packetStream,o.packetStream.pipe(o.parseStream).pipe(o.elementaryStream),o.elementaryStream.pipe(o.videoTimestampRolloverStream).pipe(o.h264Stream),o.elementaryStream.pipe(o.audioTimestampRolloverStream).pipe(o.adtsStream),o.elementaryStream.pipe(o.timedMetadataTimestampRolloverStream).pipe(o.metadataStream).pipe(o.coalesceStream),o.h264Stream.pipe(o.captionStream).pipe(o.coalesceStream),o.elementaryStream.on("data",function(a){var l;if("metadata"===a.type){for(l=a.tracks.length;l--;)t||"video"!==a.tracks[l].type?n||"audio"!==a.tracks[l].type||(n=a.tracks[l],n.timelineStartInfo.baseMediaDecodeTime=s.baseMediaDecodeTime):(t=a.tracks[l],t.timelineStartInfo.baseMediaDecodeTime=s.baseMediaDecodeTime);t&&!o.videoSegmentStream&&(o.coalesceStream.numberOfTracks++,o.videoSegmentStream=new r(t,e),o.videoSegmentStream.on("timelineStartInfo",function(e){n&&(n.timelineStartInfo=e,o.audioSegmentStream.setEarliestDts(e.dts))}),o.videoSegmentStream.on("processedGopsInfo",s.trigger.bind(s,"gopInfo")),o.videoSegmentStream.on("segmentTimingInfo",s.trigger.bind(s,"videoSegmentTimingInfo")),o.videoSegmentStream.on("baseMediaDecodeTime",function(e){n&&o.audioSegmentStream.setVideoBaseMediaDecodeTime(e)}),o.h264Stream.pipe(o.videoSegmentStream).pipe(o.coalesceStream)),n&&!o.audioSegmentStream&&(o.coalesceStream.numberOfTracks++,o.audioSegmentStream=new i(n,e),o.adtsStream.pipe(o.audioSegmentStream).pipe(o.coalesceStream))}}),o.coalesceStream.on("data",this.trigger.bind(this,"data")),o.coalesceStream.on("done",this.trigger.bind(this,"done"))},this.setBaseMediaDecodeTime=function(r){var i=this.transmuxPipeline_;e.keepOriginalTimestamps||(this.baseMediaDecodeTime=r),n&&(n.timelineStartInfo.dts=void 0,n.timelineStartInfo.pts=void 0,d.clearDtsInfo(n),e.keepOriginalTimestamps||(n.timelineStartInfo.baseMediaDecodeTime=r),i.audioTimestampRolloverStream&&i.audioTimestampRolloverStream.discontinuity()),t&&(i.videoSegmentStream&&(i.videoSegmentStream.gopCache_=[],i.videoTimestampRolloverStream.discontinuity()),t.timelineStartInfo.dts=void 0,t.timelineStartInfo.pts=void 0,d.clearDtsInfo(t),i.captionStream.reset(),e.keepOriginalTimestamps||(t.timelineStartInfo.baseMediaDecodeTime=r)),i.timedMetadataTimestampRolloverStream&&i.timedMetadataTimestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(e){n&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(e)},this.alignGopsWith=function(e){t&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(e)},this.push=function(e){if(l){var t=g(e);t&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():t||"ts"===this.transmuxPipeline_.type||this.setupTsPipeline(),l=!1}this.transmuxPipeline_.headOfPipeline.push(e)},this.flush=function(){l=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}},o.prototype=new s,t.exports={Transmuxer:o,VideoSegmentStream:r,AudioSegmentStream:i,AUDIO_PROPERTIES:m,VIDEO_PROPERTIES:v,generateVideoSegmentTimingInfo:b}},{}],19:[function(e,t,n){"use strict";var r=function(e){for(var t=0,n={payloadType:-1,payloadSize:0},r=0,i=0;t<e.byteLength&&128!==e[t];){for(;255===e[t];)r+=255,t++;for(r+=e[t++];255===e[t];)i+=255,t++;if(i+=e[t++],!n.payload&&4===r){n.payloadType=r,n.payloadSize=i,n.payload=e.subarray(t,t+i);break}t+=i,r=0,i=0}return n},i=function(e){return 181!==e.payload[0]?null:49!=(e.payload[1]<<8|e.payload[2])?null:"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])?null:3!==e.payload[7]?null:e.payload.subarray(8,e.payload.length-1)},o=function(e,t){var n,r,i,o,a=[];if(!(64&t[0]))return a;for(r=31&t[0],n=0;n<r;n++)i=3*n,o={type:3&t[i+2],pts:e},4&t[i+2]&&(o.ccData=t[i+3]<<8|t[i+4],a.push(o));return a},a=function(e){for(var t,n,r=e.byteLength,i=[],o=1;o<r-2;)0===e[o]&&0===e[o+1]&&3===e[o+2]?(i.push(o+2),o+=2):o++;if(0===i.length)return e;t=r-i.length,n=new Uint8Array(t);var a=0;for(o=0;o<t;a++,o++)a===i[0]&&(a++,i.shift()),n[o]=e[a];return n};t.exports={parseSei:r,parseUserData:i,parseCaptionPackets:o,discardEmulationPreventionBytes:a,USER_DATA_REGISTERED_ITU_T_T35:4}},{}],20:[function(e,t,n){"use strict";var r,i,o=e(16).parseType,a=function(e){return new Date(1e3*e-20828448e5)},s=function(e){return{isLeading:(12&e[0])>>>2,dependsOn:3&e[0],isDependedOn:(192&e[1])>>>6,hasRedundancy:(48&e[1])>>>4,paddingValue:(14&e[1])>>>1,isNonSyncSample:1&e[1],degradationPriority:e[2]<<8|e[3]}},l=function(e){var t,n,r=new DataView(e.buffer,e.byteOffset,e.byteLength),i=[];for(t=0;t+4<e.length;t+=n)if(n=r.getUint32(t),t+=4,n<=0)i.push("<span style='color:red;'>MALFORMED DATA</span>");else switch(31&e[t]){case 1:i.push("slice_layer_without_partitioning_rbsp");break;case 5:i.push("slice_layer_without_partitioning_rbsp_idr");break;case 6:i.push("sei_rbsp");break;case 7:i.push("seq_parameter_set_rbsp");break;case 8:i.push("pic_parameter_set_rbsp");break;case 9:i.push("access_unit_delimiter_rbsp");break;default:i.push("UNKNOWN NAL - "+e[t]&31)}return i},c={avc1:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{dataReferenceIndex:t.getUint16(6),width:t.getUint16(24),height:t.getUint16(26),horizresolution:t.getUint16(28)+t.getUint16(30)/16,vertresolution:t.getUint16(32)+t.getUint16(34)/16,frameCount:t.getUint16(40),depth:t.getUint16(74),config:r(e.subarray(78,e.byteLength))}},avcC:function(e){var t,n,r,i,o=new DataView(e.buffer,e.byteOffset,e.byteLength),a={configurationVersion:e[0],avcProfileIndication:e[1],profileCompatibility:e[2],avcLevelIndication:e[3],lengthSizeMinusOne:3&e[4],sps:[],pps:[]},s=31&e[5];for(r=6,i=0;i<s;i++)n=o.getUint16(r),r+=2,a.sps.push(new Uint8Array(e.subarray(r,r+n))),r+=n;for(t=e[r],r++,i=0;i<t;i++)n=o.getUint16(r),r+=2,a.pps.push(new Uint8Array(e.subarray(r,r+n))),r+=n;return a},btrt:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{bufferSizeDB:t.getUint32(0),maxBitrate:t.getUint32(4),avgBitrate:t.getUint32(8)}},esds:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),esId:e[6]<<8|e[7],streamPriority:31&e[8],decoderConfig:{objectProfileIndication:e[11],streamType:e[12]>>>2&63,bufferSize:e[13]<<16|e[14]<<8|e[15],maxBitrate:e[16]<<24|e[17]<<16|e[18]<<8|e[19],avgBitrate:e[20]<<24|e[21]<<16|e[22]<<8|e[23],decoderConfigDescriptor:{tag:e[24],length:e[25],audioObjectType:e[26]>>>3&31,samplingFrequencyIndex:(7&e[26])<<1|e[27]>>>7&1,channelConfiguration:e[27]>>>3&15}}}},ftyp:function(e){for(var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n={majorBrand:o(e.subarray(0,4)),minorVersion:t.getUint32(4),compatibleBrands:[]},r=8;r<e.byteLength;)n.compatibleBrands.push(o(e.subarray(r,r+4))),r+=4;return n},dinf:function(e){return{boxes:r(e)}},dref:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),dataReferences:r(e.subarray(8))}},hdlr:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n={version:t.getUint8(0),flags:new Uint8Array(e.subarray(1,4)),handlerType:o(e.subarray(8,12)),name:""},r=8;for(r=24;r<e.byteLength;r++){if(0===e[r]){r++;break}n.name+=String.fromCharCode(e[r])}return n.name=decodeURIComponent(escape(n.name)),n},mdat:function(e){return{byteLength:e.byteLength,nals:l(e)}},mdhd:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r=4,i={version:n.getUint8(0),flags:new Uint8Array(e.subarray(1,4)),language:""};return 1===i.version?(r+=4,i.creationTime=a(n.getUint32(r)),r+=8,i.modificationTime=a(n.getUint32(r)),r+=4,i.timescale=n.getUint32(r),r+=8,i.duration=n.getUint32(r)):(i.creationTime=a(n.getUint32(r)),r+=4,i.modificationTime=a(n.getUint32(r)),r+=4,i.timescale=n.getUint32(r),r+=4,i.duration=n.getUint32(r)),r+=4,t=n.getUint16(r),i.language+=String.fromCharCode(96+(t>>10)),i.language+=String.fromCharCode(96+((992&t)>>5)),i.language+=String.fromCharCode(96+(31&t)),i},mdia:function(e){return{boxes:r(e)}},mfhd:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),sequenceNumber:e[4]<<24|e[5]<<16|e[6]<<8|e[7]}},minf:function(e){return{boxes:r(e)}},mp4a:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n={dataReferenceIndex:t.getUint16(6),channelcount:t.getUint16(16),samplesize:t.getUint16(18),samplerate:t.getUint16(24)+t.getUint16(26)/65536};return e.byteLength>28&&(n.streamDescriptor=r(e.subarray(28))[0]),n},moof:function(e){return{boxes:r(e)}},moov:function(e){return{boxes:r(e)}},mvex:function(e){return{boxes:r(e)}},mvhd:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=4,r={version:t.getUint8(0),flags:new Uint8Array(e.subarray(1,4))};return 1===r.version?(n+=4,r.creationTime=a(t.getUint32(n)),n+=8,r.modificationTime=a(t.getUint32(n)),n+=4,r.timescale=t.getUint32(n),n+=8,r.duration=t.getUint32(n)):(r.creationTime=a(t.getUint32(n)),n+=4,r.modificationTime=a(t.getUint32(n)),n+=4,r.timescale=t.getUint32(n),n+=4,r.duration=t.getUint32(n)),n+=4,r.rate=t.getUint16(n)+t.getUint16(n+2)/16,n+=4,r.volume=t.getUint8(n)+t.getUint8(n+1)/8,n+=2,n+=2,n+=8,r.matrix=new Uint32Array(e.subarray(n,n+36)),n+=36,n+=24,r.nextTrackId=t.getUint32(n),r},pdin:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{version:t.getUint8(0),flags:new Uint8Array(e.subarray(1,4)),rate:t.getUint32(4),initialDelay:t.getUint32(8)}},sdtp:function(e){var t,n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),
samples:[]};for(t=4;t<e.byteLength;t++)n.samples.push({dependsOn:(48&e[t])>>4,isDependedOn:(12&e[t])>>2,hasRedundancy:3&e[t]});return n},sidx:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),references:[],referenceId:n.getUint32(4),timescale:n.getUint32(8),earliestPresentationTime:n.getUint32(12),firstOffset:n.getUint32(16)},i=n.getUint16(22);for(t=24;i;t+=12,i--)r.references.push({referenceType:(128&e[t])>>>7,referencedSize:2147483647&n.getUint32(t),subsegmentDuration:n.getUint32(t+4),startsWithSap:!!(128&e[t+8]),sapType:(112&e[t+8])>>>4,sapDeltaTime:268435455&n.getUint32(t+8)});return r},smhd:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),balance:e[4]+e[5]/256}},stbl:function(e){return{boxes:r(e)}},stco:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),chunkOffsets:[]},i=n.getUint32(4);for(t=8;i;t+=4,i--)r.chunkOffsets.push(n.getUint32(t));return r},stsc:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r=n.getUint32(4),i={version:e[0],flags:new Uint8Array(e.subarray(1,4)),sampleToChunks:[]};for(t=8;r;t+=12,r--)i.sampleToChunks.push({firstChunk:n.getUint32(t),samplesPerChunk:n.getUint32(t+4),sampleDescriptionIndex:n.getUint32(t+8)});return i},stsd:function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),sampleDescriptions:r(e.subarray(8))}},stsz:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),sampleSize:n.getUint32(4),entries:[]};for(t=12;t<e.byteLength;t+=4)r.entries.push(n.getUint32(t));return r},stts:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),timeToSamples:[]},i=n.getUint32(4);for(t=8;i;t+=8,i--)r.timeToSamples.push({sampleCount:n.getUint32(t),sampleDelta:n.getUint32(t+4)});return r},styp:function(e){return c.ftyp(e)},tfdt:function(e){var t={version:e[0],flags:new Uint8Array(e.subarray(1,4)),baseMediaDecodeTime:e[4]<<24|e[5]<<16|e[6]<<8|e[7]};return 1===t.version&&(t.baseMediaDecodeTime*=Math.pow(2,32),t.baseMediaDecodeTime+=e[8]<<24|e[9]<<16|e[10]<<8|e[11]),t},tfhd:function(e){var t,n=new DataView(e.buffer,e.byteOffset,e.byteLength),r={version:e[0],flags:new Uint8Array(e.subarray(1,4)),trackId:n.getUint32(4)},i=1&r.flags[2],o=2&r.flags[2],a=8&r.flags[2],s=16&r.flags[2],l=32&r.flags[2],c=65536&r.flags[0],u=131072&r.flags[0];return t=8,i&&(t+=4,r.baseDataOffset=n.getUint32(12),t+=4),o&&(r.sampleDescriptionIndex=n.getUint32(t),t+=4),a&&(r.defaultSampleDuration=n.getUint32(t),t+=4),s&&(r.defaultSampleSize=n.getUint32(t),t+=4),l&&(r.defaultSampleFlags=n.getUint32(t)),c&&(r.durationIsEmpty=!0),!i&&u&&(r.baseDataOffsetIsMoof=!0),r},tkhd:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),n=4,r={version:t.getUint8(0),flags:new Uint8Array(e.subarray(1,4))};return 1===r.version?(n+=4,r.creationTime=a(t.getUint32(n)),n+=8,r.modificationTime=a(t.getUint32(n)),n+=4,r.trackId=t.getUint32(n),n+=4,n+=8,r.duration=t.getUint32(n)):(r.creationTime=a(t.getUint32(n)),n+=4,r.modificationTime=a(t.getUint32(n)),n+=4,r.trackId=t.getUint32(n),n+=4,n+=4,r.duration=t.getUint32(n)),n+=4,n+=8,r.layer=t.getUint16(n),n+=2,r.alternateGroup=t.getUint16(n),n+=2,r.volume=t.getUint8(n)+t.getUint8(n+1)/8,n+=2,n+=2,r.matrix=new Uint32Array(e.subarray(n,n+36)),n+=36,r.width=t.getUint16(n)+t.getUint16(n+2)/16,n+=4,r.height=t.getUint16(n)+t.getUint16(n+2)/16,r},traf:function(e){return{boxes:r(e)}},trak:function(e){return{boxes:r(e)}},trex:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),trackId:t.getUint32(4),defaultSampleDescriptionIndex:t.getUint32(8),defaultSampleDuration:t.getUint32(12),defaultSampleSize:t.getUint32(16),sampleDependsOn:3&e[20],sampleIsDependedOn:(192&e[21])>>6,sampleHasRedundancy:(48&e[21])>>4,samplePaddingValue:(14&e[21])>>1,sampleIsDifferenceSample:!!(1&e[21]),sampleDegradationPriority:t.getUint16(22)}},trun:function(e){var t,n={version:e[0],flags:new Uint8Array(e.subarray(1,4)),samples:[]},r=new DataView(e.buffer,e.byteOffset,e.byteLength),i=1&n.flags[2],o=4&n.flags[2],a=1&n.flags[1],l=2&n.flags[1],c=4&n.flags[1],u=8&n.flags[1],d=r.getUint32(4),p=8;for(i&&(n.dataOffset=r.getInt32(p),p+=4),o&&d&&(t={flags:s(e.subarray(p,p+4))},p+=4,a&&(t.duration=r.getUint32(p),p+=4),l&&(t.size=r.getUint32(p),p+=4),u&&(t.compositionTimeOffset=r.getUint32(p),p+=4),n.samples.push(t),d--);d--;)t={},a&&(t.duration=r.getUint32(p),p+=4),l&&(t.size=r.getUint32(p),p+=4),c&&(t.flags=s(e.subarray(p,p+4)),p+=4),u&&(t.compositionTimeOffset=r.getUint32(p),p+=4),n.samples.push(t);return n},"url ":function(e){return{version:e[0],flags:new Uint8Array(e.subarray(1,4))}},vmhd:function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength);return{version:e[0],flags:new Uint8Array(e.subarray(1,4)),graphicsmode:t.getUint16(4),opcolor:new Uint16Array([t.getUint16(6),t.getUint16(8),t.getUint16(10)])}}};r=function(e){for(var t,n,r,i,a,s=0,l=[],u=new ArrayBuffer(e.length),d=new Uint8Array(u),p=0;p<e.length;++p)d[p]=e[p];for(t=new DataView(u);s<e.byteLength;)n=t.getUint32(s),r=o(e.subarray(s+4,s+8)),i=n>1?s+n:e.byteLength,a=(c[r]||function(e){return{data:e}})(e.subarray(s+8,i)),a.size=n,a.type=r,l.push(a),s=i;return l},i=function(e,t){var n;return t=t||0,n=new Array(2*t+1).join(" "),e.map(function(e,r){return n+e.type+"\n"+Object.keys(e).filter(function(e){return"type"!==e&&"boxes"!==e}).map(function(t){var r=n+"  "+t+": ",i=e[t];if(i instanceof Uint8Array||i instanceof Uint32Array){var o=Array.prototype.slice.call(new Uint8Array(i.buffer,i.byteOffset,i.byteLength)).map(function(e){return" "+("00"+e.toString(16)).slice(-2)}).join("").match(/.{1,24}/g);return o?1===o.length?r+"<"+o.join("").slice(1)+">":r+"<\n"+o.map(function(e){return n+"  "+e}).join("\n")+"\n"+n+"  >":r+"<>"}return r+JSON.stringify(i,null,2).split("\n").map(function(e,t){return 0===t?e:n+"  "+e}).join("\n")}).join("\n")+(e.boxes?"\n"+i(e.boxes,t+1):"")}).join("\n")},t.exports={inspect:r,textify:i,parseTfdt:c.tfdt,parseHdlr:c.hdlr,parseTfhd:c.tfhd,parseTrun:c.trun,parseSidx:c.sidx}},{}],21:[function(e,t,n){var r=function(e){return e>>>0};t.exports={toUnsigned:r}},{}],22:[function(e,t,n){var r,i,o,a,s,l;r=function(e){return 9e4*e},i=function(e,t){return e*t},o=function(e){return e/9e4},a=function(e,t){return e/t},s=function(e,t){return r(a(e,t))},l=function(e,t){return i(o(e),t)},t.exports={secondsToVideoTs:r,secondsToAudioTs:i,videoTsToSeconds:o,audioTsToSeconds:a,audioTsToVideoTs:s,videoTsToAudioTs:l}},{}],23:[function(e,t,n){"use strict";var r;r=function(e){var t=e.byteLength,n=0,r=0;this.length=function(){return 8*t},this.bitsAvailable=function(){return 8*t+r},this.loadWord=function(){var i=e.byteLength-t,o=new Uint8Array(4),a=Math.min(4,t);if(0===a)throw new Error("no bytes available");o.set(e.subarray(i,i+a)),n=new DataView(o.buffer).getUint32(0),r=8*a,t-=a},this.skipBits=function(e){var i;r>e?(n<<=e,r-=e):(e-=r,i=Math.floor(e/8),e-=8*i,t-=i,this.loadWord(),n<<=e,r-=e)},this.readBits=function(e){var i=Math.min(r,e),o=n>>>32-i;return r-=i,r>0?n<<=i:t>0&&this.loadWord(),i=e-i,i>0?o<<i|this.readBits(i):o},this.skipLeadingZeros=function(){var e;for(e=0;e<r;++e)if(0!=(n&2147483648>>>e))return n<<=e,r-=e,e;return this.loadWord(),e+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var e=this.skipLeadingZeros();return this.readBits(e+1)-1},this.readExpGolomb=function(){var e=this.readUnsignedExpGolomb();return 1&e?1+e>>>1:-1*(e>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()},t.exports=r},{}],24:[function(e,t,n){"use strict";var r=function(){this.init=function(){var e={};this.on=function(t,n){e[t]||(e[t]=[]),e[t]=e[t].concat(n)},this.off=function(t,n){var r;return!!e[t]&&(r=e[t].indexOf(n),e[t]=e[t].slice(),e[t].splice(r,1),r>-1)},this.trigger=function(t){var n,r,i,o;if(n=e[t])if(2===arguments.length)for(i=n.length,r=0;r<i;++r)n[r].call(this,arguments[1]);else{for(o=[],r=arguments.length,r=1;r<arguments.length;++r)o.push(arguments[r]);for(i=n.length,r=0;r<i;++r)n[r].apply(this,o)}},this.dispose=function(){e={}}}};r.prototype.pipe=function(e){return this.on("data",function(t){e.push(t)}),this.on("done",function(t){e.flush(t)}),e},r.prototype.push=function(e){this.trigger("data",e)},r.prototype.flush=function(e){this.trigger("done",e)},t.exports=r},{}]},{},[14]),"undefined"!=typeof window&&function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Hls=t():e.Hls=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(r,i,function(t){return e[t]}.bind(null,i));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=24)}([function(e,t,n){"use strict";function r(){}function i(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];t.forEach(function(t){s[t]=e[t]?e[t].bind(e):function(e){var t=l.console[e];return t?function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];n[0]&&(n[0]=function(e,t){return t="["+e+"] > "+t}(e,n[0])),t.apply(l.console,n)}:r}(t)})}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a={trace:r,debug:r,log:r,warn:r,info:r,error:r},s=a,l=o.getSelfScope();t.enableLogs=function(e){if(!0===e||"object"==typeof e){i(e,"debug","log","info","warn","error");try{s.log()}catch(e){s=a}}else s=a},t.logger=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={MEDIA_ATTACHING:"hlsMediaAttaching",MEDIA_ATTACHED:"hlsMediaAttached",MEDIA_DETACHING:"hlsMediaDetaching",MEDIA_DETACHED:"hlsMediaDetached",BUFFER_RESET:"hlsBufferReset",BUFFER_CODECS:"hlsBufferCodecs",BUFFER_CREATED:"hlsBufferCreated",BUFFER_APPENDING:"hlsBufferAppending",BUFFER_APPENDED:"hlsBufferAppended",BUFFER_EOS:"hlsBufferEos",BUFFER_FLUSHING:"hlsBufferFlushing",BUFFER_FLUSHED:"hlsBufferFlushed",MANIFEST_LOADING:"hlsManifestLoading",MANIFEST_LOADED:"hlsManifestLoaded",MANIFEST_PARSED:"hlsManifestParsed",LEVEL_SWITCHING:"hlsLevelSwitching",LEVEL_SWITCHED:"hlsLevelSwitched",LEVEL_LOADING:"hlsLevelLoading",LEVEL_LOADED:"hlsLevelLoaded",LEVEL_UPDATED:"hlsLevelUpdated",LEVEL_PTS_UPDATED:"hlsLevelPtsUpdated",AUDIO_TRACKS_UPDATED:"hlsAudioTracksUpdated",AUDIO_TRACK_SWITCHING:"hlsAudioTrackSwitching",AUDIO_TRACK_SWITCHED:"hlsAudioTrackSwitched",AUDIO_TRACK_LOADING:"hlsAudioTrackLoading",AUDIO_TRACK_LOADED:"hlsAudioTrackLoaded",SUBTITLE_TRACKS_UPDATED:"hlsSubtitleTracksUpdated",SUBTITLE_TRACK_SWITCH:"hlsSubtitleTrackSwitch",SUBTITLE_TRACK_LOADING:"hlsSubtitleTrackLoading",SUBTITLE_TRACK_LOADED:"hlsSubtitleTrackLoaded",SUBTITLE_FRAG_PROCESSED:"hlsSubtitleFragProcessed",INIT_PTS_FOUND:"hlsInitPtsFound",FRAG_LOADING:"hlsFragLoading",FRAG_LOAD_PROGRESS:"hlsFragLoadProgress",FRAG_LOAD_EMERGENCY_ABORTED:"hlsFragLoadEmergencyAborted",FRAG_LOADED:"hlsFragLoaded",FRAG_DECRYPTED:"hlsFragDecrypted",FRAG_PARSING_INIT_SEGMENT:"hlsFragParsingInitSegment",FRAG_PARSING_USERDATA:"hlsFragParsingUserdata",FRAG_PARSING_METADATA:"hlsFragParsingMetadata",FRAG_PARSING_DATA:"hlsFragParsingData",FRAG_PARSED:"hlsFragParsed",FRAG_BUFFERED:"hlsFragBuffered",FRAG_CHANGED:"hlsFragChanged",FPS_DROP:"hlsFpsDrop",FPS_DROP_LEVEL_CAPPING:"hlsFpsDropLevelCapping",ERROR:"hlsError",DESTROYING:"hlsDestroying",KEY_LOADING:"hlsKeyLoading",KEY_LOADED:"hlsKeyLoaded",STREAM_STATE_TRANSITION:"hlsStreamStateTransition"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6).getSelfScope().Number;t.Number=r,r.isFinite=r.isFinite||function(e){return"number"==typeof e&&isFinite(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorTypes={NETWORK_ERROR:"networkError",MEDIA_ERROR:"mediaError",KEY_SYSTEM_ERROR:"keySystemError",MUX_ERROR:"muxError",OTHER_ERROR:"otherError"},t.ErrorDetails={KEY_SYSTEM_NO_KEYS:"keySystemNoKeys",KEY_SYSTEM_NO_ACCESS:"keySystemNoAccess",KEY_SYSTEM_NO_SESSION:"keySystemNoSession",KEY_SYSTEM_LICENSE_REQUEST_FAILED:"keySystemLicenseRequestFailed",MANIFEST_LOAD_ERROR:"manifestLoadError",MANIFEST_LOAD_TIMEOUT:"manifestLoadTimeOut",MANIFEST_PARSING_ERROR:"manifestParsingError",MANIFEST_INCOMPATIBLE_CODECS_ERROR:"manifestIncompatibleCodecsError",LEVEL_LOAD_ERROR:"levelLoadError",LEVEL_LOAD_TIMEOUT:"levelLoadTimeOut",LEVEL_SWITCH_ERROR:"levelSwitchError",AUDIO_TRACK_LOAD_ERROR:"audioTrackLoadError",AUDIO_TRACK_LOAD_TIMEOUT:"audioTrackLoadTimeOut",FRAG_LOAD_ERROR:"fragLoadError",FRAG_LOAD_TIMEOUT:"fragLoadTimeOut",FRAG_DECRYPT_ERROR:"fragDecryptError",FRAG_PARSING_ERROR:"fragParsingError",REMUX_ALLOC_ERROR:"remuxAllocError",KEY_LOAD_ERROR:"keyLoadError",KEY_LOAD_TIMEOUT:"keyLoadTimeOut",BUFFER_ADD_CODEC_ERROR:"bufferAddCodecError",BUFFER_APPEND_ERROR:"bufferAppendError",BUFFER_APPENDING_ERROR:"bufferAppendingError",BUFFER_STALLED_ERROR:"bufferStalledError",BUFFER_FULL_ERROR:"bufferFullError",BUFFER_SEEK_OVER_HOLE:"bufferSeekOverHole",BUFFER_NUDGE_ON_STALL:"bufferNudgeOnStall",INTERNAL_EXCEPTION:"internalException"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(3),o=n(1),a={hlsEventGeneric:!0,hlsHandlerDestroying:!0,hlsHandlerDestroyed:!0},s=function(){function e(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.hls=e,this.onEvent=this.onEvent.bind(this),this.handledEvents=t,this.useGenericHandler=!0,this.registerListeners()}return e.prototype.destroy=function(){this.onHandlerDestroying(),this.unregisterListeners(),this.onHandlerDestroyed()},e.prototype.onHandlerDestroying=function(){},e.prototype.onHandlerDestroyed=function(){},e.prototype.isEventHandler=function(){return"object"==typeof this.handledEvents&&this.handledEvents.length&&"function"==typeof this.onEvent},e.prototype.registerListeners=function(){this.isEventHandler()&&this.handledEvents.forEach(function(e){if(a[e])throw new Error("Forbidden event-name: "+e);this.hls.on(e,this.onEvent)},this)},e.prototype.unregisterListeners=function(){this.isEventHandler()&&this.handledEvents.forEach(function(e){this.hls.off(e,this.onEvent)},this)},e.prototype.onEvent=function(e,t){this.onEventGeneric(e,t)},e.prototype.onEventGeneric=function(e,t){try{(function(e,t){var n="on"+e.replace("hls","");if("function"!=typeof this[n])throw new Error("Event "+e+" has no generic handler in this "+this.constructor.name+" class (tried "+n+")");return this[n].bind(this,t)}).call(this,e,t).call()}catch(t){r.logger.error("An internal error happened while handling event "+e+'. Error message: "'+t.message+'". Here is a stacktrace:',t),this.hls.trigger(o["default"].ERROR,{type:i.ErrorTypes.OTHER_ERROR,details:i.ErrorDetails.INTERNAL_EXCEPTION,fatal:!1,event:e,err:t})}},e}();t["default"]=s},function(e,t){e.exports=void 0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSelfScope=function(){return"undefined"==typeof window?self:window}},function(e,t,n){!function(t){var n=/^((?:[a-zA-Z0-9+\-.]+:)?)(\/\/[^\/?#]*)?((?:[^\/\?#]*\/)*.*?)??(;.*?)?(\?.*?)?(#.*?)?$/,r=/^([^\/?#]*)(.*)$/,i=/(?:\/|^)\.(?=\/)/g,o=/(?:\/|^)\.\.\/(?!\.\.\/).*?(?=\/)/g,a={buildAbsoluteURL:function(e,t,n){if(n=n||{},e=e.trim(),!(t=t.trim())){if(!n.alwaysNormalize)return e;var i=a.parseURL(e);if(!i)throw new Error("Error trying to parse base URL.");return i.path=a.normalizePath(i.path),a.buildURLFromParts(i)}var o=a.parseURL(t);if(!o)throw new Error("Error trying to parse relative URL.");if(o.scheme)return n.alwaysNormalize?(o.path=a.normalizePath(o.path),a.buildURLFromParts(o)):t;var s=a.parseURL(e);if(!s)throw new Error("Error trying to parse base URL.");if(!s.netLoc&&s.path&&"/"!==s.path[0]){var l=r.exec(s.path);s.netLoc=l[1],s.path=l[2]}s.netLoc&&!s.path&&(s.path="/");var c={scheme:s.scheme,netLoc:o.netLoc,path:null,params:o.params,query:o.query,fragment:o.fragment};if(!o.netLoc&&(c.netLoc=s.netLoc,"/"!==o.path[0]))if(o.path){var u=s.path,d=u.substring(0,u.lastIndexOf("/")+1)+o.path;c.path=a.normalizePath(d)}else c.path=s.path,o.params||(c.params=s.params,o.query||(c.query=s.query));return null===c.path&&(c.path=n.alwaysNormalize?a.normalizePath(o.path):o.path),a.buildURLFromParts(c)},parseURL:function(e){var t=n.exec(e);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(i,"");e.length!==(e=e.replace(o,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}};e.exports=a}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.isBuffered=function(e,t){try{if(e)for(var n=e.buffered,r=0;r<n.length;r++)if(t>=n.start(r)&&t<=n.end(r))return!0}catch(e){}return!1},e.bufferInfo=function(e,t,n){try{if(e){var r=e.buffered,i=[],o=void 0;for(o=0;o<r.length;o++)i.push({start:r.start(o),end:r.end(o)});return this.bufferedInfo(i,t,n)}}catch(e){}return{len:0,start:t,end:t,nextStart:void 0}},e.bufferedInfo=function(e,t,n){var r,i,o,a,s,l=[];for(e.sort(function(e,t){var n=e.start-t.start;return n||t.end-e.end}),s=0;s<e.length;s++){var c=l.length;if(c){var u=l[c-1].end;e[s].start-u<n?e[s].end>u&&(l[c-1].end=e[s].end):l.push(e[s])}else l.push(e[s])}for(s=0,r=0,i=o=t;s<l.length;s++){var d=l[s].start,p=l[s].end;if(t+n>=d&&t<p)i=d,r=(o=p)-t;else if(t+n<d){a=d;break}}return{len:r,start:i,end:o,nextStart:a}},e}();t.BufferHelper=r},function(e,t,n){"use strict";(function(e){var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(4),o=n(1);t.FragmentState={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};var a=function(n){function a(e){var t=n.call(this,e,o["default"].BUFFER_APPENDED,o["default"].FRAG_BUFFERED,o["default"].FRAG_LOADED)||this;return t.bufferPadding=.2,t.fragments=Object.create(null),t.timeRanges=Object.create(null),t.config=e.config,t}return r(a,n),a.prototype.destroy=function(){this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.config=null,i["default"].prototype.destroy.call(this),n.prototype.destroy.call(this)},a.prototype.getBufferedFrag=function(e,t){var n=this.fragments,r=Object.keys(n).filter(function(r){var i=n[r];if(i.body.type!==t)return!1;if(!i.buffered)return!1;var o=i.body;return o.startPTS<=e&&e<=o.endPTS});if(0===r.length)return null;var i=r.pop();return n[i].body},a.prototype.detectEvictedFragments=function(e,t){var n,r,i=this;Object.keys(this.fragments).forEach(function(o){var a=i.fragments[o];if(!0===a.buffered){var s=a.range[e];if(s){n=s.time;for(var l=0;l<n.length;l++)if(r=n[l],!1===i.isTimeBuffered(r.startPTS,r.endPTS,t)){i.removeFragment(a.body);break}}}})},a.prototype.detectPartialFragments=function(e){var t=this,n=this.getFragmentKey(e),r=this.fragments[n];r&&(r.buffered=!0,Object.keys(this.timeRanges).forEach(function(n){if(e.hasElementaryStream(n)){var i=t.timeRanges[n];r.range[n]=t.getBufferedTimes(e.startPTS,e.endPTS,i)}}))},a.prototype.getBufferedTimes=function(e,t,n){for(var r,i,o=[],a=!1,s=0;s<n.length;s++){if(r=n.start(s)-this.bufferPadding,i=n.end(s)+this.bufferPadding,e>=r&&t<=i){o.push({startPTS:Math.max(e,n.start(s)),endPTS:Math.min(t,n.end(s))});break}if(e<i&&t>r)o.push({startPTS:Math.max(e,n.start(s)),endPTS:Math.min(t,n.end(s))}),a=!0;else if(t<=r)break}return{time:o,partial:a}},a.prototype.getFragmentKey=function(e){return e.type+"_"+e.level+"_"+e.urlId+"_"+e.sn},a.prototype.getPartialFragment=function(e){var t,n,r,i=this,o=null,a=0;return Object.keys(this.fragments).forEach(function(s){var l=i.fragments[s];i.isPartial(l)&&(n=l.body.startPTS-i.bufferPadding,r=l.body.endPTS+i.bufferPadding,e>=n&&e<=r&&(t=Math.min(e-n,r-e),a<=t&&(o=l.body,a=t)))}),o},a.prototype.getState=function(e){var n=this.getFragmentKey(e),r=this.fragments[n],i=t.FragmentState.NOT_LOADED;return void 0!==r&&(i=r.buffered?!0===this.isPartial(r)?t.FragmentState.PARTIAL:t.FragmentState.OK:t.FragmentState.APPENDING),i},a.prototype.isPartial=function(e){return!0===e.buffered&&(void 0!==e.range.video&&!0===e.range.video.partial||void 0!==e.range.audio&&!0===e.range.audio.partial)},a.prototype.isTimeBuffered=function(e,t,n){for(var r,i,o=0;o<n.length;o++){if(r=n.start(o)-this.bufferPadding,i=n.end(o)+this.bufferPadding,e>=r&&t<=i)return!0;if(t<=r)return!1}return!1},a.prototype.onFragLoaded=function(t){var n=t.frag;e.isFinite(n.sn)&&!n.bitrateTest&&(this.fragments[this.getFragmentKey(n)]={body:n,range:Object.create(null),buffered:!1})},a.prototype.onBufferAppended=function(e){var t=this;this.timeRanges=e.timeRanges,Object.keys(this.timeRanges).forEach(function(e){var n=t.timeRanges[e];t.detectEvictedFragments(e,n)})},a.prototype.onFragBuffered=function(e){this.detectPartialFragments(e.frag)},a.prototype.hasFragment=function(e){var t=this.getFragmentKey(e);return void 0!==this.fragments[t]},a.prototype.removeFragment=function(e){var t=this.getFragmentKey(e);delete this.fragments[t]},a.prototype.removeAllFragments=function(){this.fragments=Object.create(null)},a}(i["default"]);t.FragmentTracker=a}).call(this,n(2).Number)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={search:function(e,t){for(var n=0,r=e.length-1,i=null,o=null;n<=r;){var a=t(o=e[i=(n+r)/2|0]);if(a>0)n=i+1;else{if(!(a<0))return o;r=i-1}}return null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.isHeader=function(e,t){return t+10<=e.length&&73===e[t]&&68===e[t+1]&&51===e[t+2]&&e[t+3]<255&&e[t+4]<255&&e[t+6]<128&&e[t+7]<128&&e[t+8]<128&&e[t+9]<128},e.isFooter=function(e,t){return t+10<=e.length&&51===e[t]&&68===e[t+1]&&73===e[t+2]&&e[t+3]<255&&e[t+4]<255&&e[t+6]<128&&e[t+7]<128&&e[t+8]<128&&e[t+9]<128},e.getID3Data=function(t,n){for(var r=n,i=0;e.isHeader(t,n);)i+=10,i+=e._readSize(t,n+6),e.isFooter(t,n+10)&&(i+=10),n+=i;if(i>0)return t.subarray(r,r+i)},e._readSize=function(e,t){var n=0;return n=(127&e[t])<<21,n|=(127&e[t+1])<<14,n|=(127&e[t+2])<<7,n|=127&e[t+3]},e.getTimeStamp=function(t){for(var n=e.getID3Frames(t),r=0;r<n.length;r++){var i=n[r];if(e.isTimeStampFrame(i))return e._readTimeStamp(i)}},e.isTimeStampFrame=function(e){return e&&"PRIV"===e.key&&"com.apple.streaming.transportStreamTimestamp"===e.info},e._getFrameData=function(t){var n=String.fromCharCode(t[0],t[1],t[2],t[3]),r=e._readSize(t,4);return{type:n,size:r,data:t.subarray(10,10+r)}},e.getID3Frames=function(t){for(var n=0,r=[];e.isHeader(t,n);){for(var i=e._readSize(t,n+6),o=(n+=10)+i;n+8<o;){var a=e._getFrameData(t.subarray(n)),s=e._decodeFrame(a);s&&r.push(s),n+=a.size+10}e.isFooter(t,n)&&(n+=10)}return r},e._decodeFrame=function(t){return"PRIV"===t.type?e._decodePrivFrame(t):"T"===t.type[0]?e._decodeTextFrame(t):"W"===t.type[0]?e._decodeURLFrame(t):void 0},e._readTimeStamp=function(e){if(8===e.data.byteLength){var t=new Uint8Array(e.data),n=1&t[3],r=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return r/=45,n&&(r+=47721858.84),Math.round(r)}},e._decodePrivFrame=function(t){if(!(t.size<2)){var n=e._utf8ArrayToStr(t.data,!0),r=new Uint8Array(t.data.subarray(n.length+1));return{key:t.type,info:n,data:r.buffer}}},e._decodeTextFrame=function(t){if(!(t.size<2)){if("TXXX"===t.type){var n=1,r=e._utf8ArrayToStr(t.data.subarray(n));n+=r.length+1;var i=e._utf8ArrayToStr(t.data.subarray(n));return{key:t.type,info:r,data:i}}var o=e._utf8ArrayToStr(t.data.subarray(1));return{key:t.type,data:o}}},e._decodeURLFrame=function(t){if("WXXX"===t.type){if(t.size<2)return;var n=1,r=e._utf8ArrayToStr(t.data.subarray(n));n+=r.length+1;var i=e._utf8ArrayToStr(t.data.subarray(n));return{key:t.type,info:r,data:i}}var o=e._utf8ArrayToStr(t.data);return{key:t.type,data:o}},e._utf8ArrayToStr=function(e,t){void 0===t&&(t=!1);for(var n,r,i,o=e.length,a="",s=0;s<o;){if(0===(n=e[s++])&&t)return a;if(0!==n&&3!==n)switch(n>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:a+=String.fromCharCode(n);break;case 12:case 13:r=e[s++],a+=String.fromCharCode((31&n)<<6|63&r);break;case 14:r=e[s++],i=e[s++],a+=String.fromCharCode((15&n)<<12|(63&r)<<6|(63&i)<<0)}}return a},e}(),i=r._utf8ArrayToStr;t.utf8ArrayToStr=i,t["default"]=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMediaSource=function(){if("undefined"!=typeof window)return window.MediaSource||window.WebKitMediaSource}},function(e,t,n){"use strict";(function(e){var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(4),a=n(3),s=n(0),l=n(14),c=n(25),u=window.performance,d={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},p={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"},f=function(t){function n(e){var n=t.call(this,e,i["default"].MANIFEST_LOADING,i["default"].LEVEL_LOADING,i["default"].AUDIO_TRACK_LOADING,i["default"].SUBTITLE_TRACK_LOADING)||this;return n.loaders={},n}return r(n,t),Object.defineProperty(n,"ContextType",{get:function(){return d},enumerable:!0,configurable:!0}),Object.defineProperty(n,"LevelType",{get:function(){return p},enumerable:!0,configurable:!0}),n.canHaveQualityLevels=function(e){return e!==d.AUDIO_TRACK&&e!==d.SUBTITLE_TRACK},n.mapContextToLevelType=function(e){switch(e.type){case d.AUDIO_TRACK:return p.AUDIO;case d.SUBTITLE_TRACK:return p.SUBTITLE;default:return p.MAIN}},n.getResponseUrl=function(e,t){var n=e.url;return void 0!==n&&0!==n.indexOf("data:")||(n=t.url),n},n.prototype.createInternalLoader=function(e){var t=this.hls.config,n=t.pLoader,r=t.loader,i=new(n||r)(t);return e.loader=i,this.loaders[e.type]=i,i},n.prototype.getInternalLoader=function(e){return this.loaders[e.type]},n.prototype.resetInternalLoader=function(e){this.loaders[e]&&delete this.loaders[e]},n.prototype.destroyInternalLoaders=function(){for(var e in this.loaders){var t=this.loaders[e];t&&t.destroy(),this.resetInternalLoader(e)}},n.prototype.destroy=function(){this.destroyInternalLoaders(),t.prototype.destroy.call(this)},n.prototype.onManifestLoading=function(e){this.load(e.url,{type:d.MANIFEST,level:0,id:null})},n.prototype.onLevelLoading=function(e){this.load(e.url,{type:d.LEVEL,level:e.level,id:e.id})},n.prototype.onAudioTrackLoading=function(e){this.load(e.url,{type:d.AUDIO_TRACK,level:null,id:e.id})},n.prototype.onSubtitleTrackLoading=function(e){this.load(e.url,{type:d.SUBTITLE_TRACK,level:null,id:e.id})},n.prototype.load=function(e,t){var n=this.hls.config;s.logger.debug("Loading playlist of type "+t.type+", level: "+t.level+", id: "+t.id);var r,i,o,a,l=this.getInternalLoader(t);if(l){var c=l.context;if(c&&c.url===e)return s.logger.trace("playlist request ongoing"),!1;s.logger.warn("aborting previous loader for type: "+t.type),l.abort()}switch(t.type){case d.MANIFEST:r=n.manifestLoadingMaxRetry,i=n.manifestLoadingTimeOut,o=n.manifestLoadingRetryDelay,a=n.manifestLoadingMaxRetryTimeout;break;case d.LEVEL:r=0,i=n.levelLoadingTimeOut;break;default:r=n.levelLoadingMaxRetry,i=n.levelLoadingTimeOut,o=n.levelLoadingRetryDelay,a=n.levelLoadingMaxRetryTimeout}l=this.createInternalLoader(t),t.url=e,t.responseType=t.responseType||"";var u={timeout:i,maxRetry:r,retryDelay:o,maxRetryDelay:a},p={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)};return s.logger.debug("Calling internal loader delegate for URL: "+e),l.load(t,u,p),!0},n.prototype.loadsuccess=function(e,t,n,r){if(void 0===r&&(r=null),n.isSidxRequest)return this._handleSidxRequest(e,n),void this._handlePlaylistLoaded(e,t,n,r);this.resetInternalLoader(n.type);var i=e.data;t.tload=u.now(),0===i.indexOf("#EXTM3U")?i.indexOf("#EXTINF:")>0||i.indexOf("#EXT-X-TARGETDURATION:")>0?this._handleTrackOrLevelPlaylist(e,t,n,r):this._handleMasterPlaylist(e,t,n,r):this._handleManifestParsingError(e,n,"no EXTM3U delimiter",r)},n.prototype.loaderror=function(e,t,n){void 0===n&&(n=null),this._handleNetworkError(t,n,!1,e)},n.prototype.loadtimeout=function(e,t,n){void 0===n&&(n=null),this._handleNetworkError(t,n,!0)},n.prototype._handleMasterPlaylist=function(e,t,r,o){var a=this.hls,l=e.data,u=n.getResponseUrl(e,r),d=c["default"].parseMasterPlaylist(l,u);if(d.length){var p=d.map(function(e){return{id:e.attrs.AUDIO,codec:e.audioCodec}}),f=c["default"].parseMasterPlaylistMedia(l,u,"AUDIO",p),A=c["default"].parseMasterPlaylistMedia(l,u,"SUBTITLES");if(f.length){var h=!1;f.forEach(function(e){e.url||(h=!0)}),!1===h&&d[0].audioCodec&&!d[0].attrs.AUDIO&&(s.logger.log("audio codec signaled in quality level, but no embedded audio track signaled, create one"),f.unshift({type:"main",name:"main"}))}a.trigger(i["default"].MANIFEST_LOADED,{levels:d,audioTracks:f,subtitles:A,url:u,stats:t,networkDetails:o})}else this._handleManifestParsingError(e,r,"no level found in manifest",o)},n.prototype._handleTrackOrLevelPlaylist=function(t,r,o,a){var s=this.hls,l=o.id,p=o.level,f=o.type,A=n.getResponseUrl(t,o),h=e.isFinite(l)?l:0,g=e.isFinite(p)?p:h,m=n.mapContextToLevelType(o),v=c["default"].parseLevelPlaylist(t.data,A,g,m,h);if(v.tload=r.tload,f===d.MANIFEST){var y={url:A,details:v};s.trigger(i["default"].MANIFEST_LOADED,{levels:[y],audioTracks:[],url:A,stats:r,networkDetails:a})}if(r.tparsed=u.now(),v.needSidxRanges){var b=v.initSegment.url;this.load(b,{isSidxRequest:!0,type:f,level:p,levelDetails:v,id:l,rangeStart:0,rangeEnd:2048,responseType:"arraybuffer"})}else o.levelDetails=v,this._handlePlaylistLoaded(t,r,o,a)},n.prototype._handleSidxRequest=function(e,t){var n=l["default"].parseSegmentIndex(new Uint8Array(e.data));if(n){var r=n.references,i=t.levelDetails;r.forEach(function(e,t){var n=e.info,r=i.fragments[t];0===r.byteRange.length&&(r.rawByteRange=String(1+n.end-n.start)+"@"+String(n.start))}),i.initSegment.rawByteRange=String(n.moovEndOffset)+"@0"}},n.prototype._handleManifestParsingError=function(e,t,n,r){this.hls.trigger(i["default"].ERROR,{type:a.ErrorTypes.NETWORK_ERROR,details:a.ErrorDetails.MANIFEST_PARSING_ERROR,fatal:!0,url:e.url,reason:n,networkDetails:r})},n.prototype._handleNetworkError=function(e,t,n,r){var o,l;void 0===n&&(n=!1),void 0===r&&(r=null),s.logger.info("A network error occured while loading a "+e.type+"-type playlist");var c=this.getInternalLoader(e);switch(e.type){case d.MANIFEST:o=n?a.ErrorDetails.MANIFEST_LOAD_TIMEOUT:a.ErrorDetails.MANIFEST_LOAD_ERROR,
l=!0;break;case d.LEVEL:o=n?a.ErrorDetails.LEVEL_LOAD_TIMEOUT:a.ErrorDetails.LEVEL_LOAD_ERROR,l=!1;break;case d.AUDIO_TRACK:o=n?a.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:a.ErrorDetails.AUDIO_TRACK_LOAD_ERROR,l=!1;break;default:l=!1}c&&(c.abort(),this.resetInternalLoader(e.type));var u={type:a.ErrorTypes.NETWORK_ERROR,details:o,fatal:l,url:c.url,loader:c,context:e,networkDetails:t};r&&(u.response=r),this.hls.trigger(i["default"].ERROR,u)},n.prototype._handlePlaylistLoaded=function(e,t,r,o){var a=r.type,s=r.level,l=r.id,c=r.levelDetails;if(c.targetduration)if(n.canHaveQualityLevels(r.type))this.hls.trigger(i["default"].LEVEL_LOADED,{details:c,level:s||0,id:l||0,stats:t,networkDetails:o});else switch(a){case d.AUDIO_TRACK:this.hls.trigger(i["default"].AUDIO_TRACK_LOADED,{details:c,id:l,stats:t,networkDetails:o});break;case d.SUBTITLE_TRACK:this.hls.trigger(i["default"].SUBTITLE_TRACK_LOADED,{details:c,id:l,stats:t,networkDetails:o})}else this._handleManifestParsingError(e,r,"invalid target duration",o)},n}(o["default"]);t["default"]=f}).call(this,n(2).Number)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=Math.pow(2,32)-1,a=function(){function e(e,t){this.observer=e,this.remuxer=t}return e.prototype.resetTimeStamp=function(e){this.initPTS=e},e.prototype.resetInitSegment=function(t,n,r,o){if(t&&t.byteLength){var a=this.initData=e.parseInitSegment(t);null==n&&(n="mp4a.40.5"),null==r&&(r="avc1.42e01e");var s={};a.audio&&a.video?s.audiovideo={container:"video/mp4",codec:n+","+r,initSegment:o?t:null}:(a.audio&&(s.audio={container:"audio/mp4",codec:n,initSegment:o?t:null}),a.video&&(s.video={container:"video/mp4",codec:r,initSegment:o?t:null})),this.observer.trigger(i["default"].FRAG_PARSING_INIT_SEGMENT,{tracks:s})}else n&&(this.audioCodec=n),r&&(this.videoCodec=r)},e.probe=function(t){return e.findBox({data:t,start:0,end:Math.min(t.length,16384)},["moof"]).length>0},e.bin2str=function(e){return String.fromCharCode.apply(null,e)},e.readUint16=function(e,t){e.data&&(t+=e.start,e=e.data);var n=e[t]<<8|e[t+1];return n<0?65536+n:n},e.readUint32=function(e,t){e.data&&(t+=e.start,e=e.data);var n=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3];return n<0?4294967296+n:n},e.writeUint32=function(e,t,n){e.data&&(t+=e.start,e=e.data),e[t]=n>>24,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=255&n},e.findBox=function(t,n){var r,i,o,a,s,l,c,u=[];if(t.data?(l=t.start,a=t.end,t=t.data):(l=0,a=t.byteLength),!n.length)return null;for(r=l;r<a;)i=e.readUint32(t,r),o=e.bin2str(t.subarray(r+4,r+8)),c=i>1?r+i:a,o===n[0]&&(1===n.length?u.push({data:t,start:r+8,end:c}):(s=e.findBox({data:t,start:r+8,end:c},n.slice(1))).length&&(u=u.concat(s))),r=c;return u},e.parseSegmentIndex=function(t){var n,r=e.findBox(t,["moov"])[0],i=r?r.end:null,o=0,a=e.findBox(t,["sidx"]);if(!a||!a[0])return null;n=[];var s=(a=a[0]).data[0];o=0===s?8:16;var l=e.readUint32(a,o);o+=4,o+=0===s?8:16,o+=2;var c=a.end+0,u=e.readUint16(a,o);o+=2;for(var d=0;d<u;d++){var p=o,f=e.readUint32(a,p);p+=4;var A=2147483647&f;if(1===(2147483648&f)>>>31)return void console.warn("SIDX has hierarchical references (not supported)");var h=e.readUint32(a,p);p+=4,n.push({referenceSize:A,subsegmentDuration:h,info:{duration:h/l,start:c,end:c+A-1}}),c+=A,o=p+=4}return{earliestPresentationTime:0,timescale:l,version:s,referencesCount:u,references:n,moovEndOffset:i}},e.parseInitSegment=function(t){var n=[];return e.findBox(t,["moov","trak"]).forEach(function(t){var i=e.findBox(t,["tkhd"])[0];if(i){var o=i.data[i.start],a=0===o?12:20,s=e.readUint32(i,a),l=e.findBox(t,["mdia","mdhd"])[0];if(l){a=0===(o=l.data[l.start])?12:20;var c=e.readUint32(l,a),u=e.findBox(t,["mdia","hdlr"])[0];if(u){var d={soun:"audio",vide:"video"}[e.bin2str(u.data.subarray(u.start+8,u.start+12))];if(d){var p=e.findBox(t,["mdia","minf","stbl","stsd"]);if(p.length){p=p[0];var f=e.bin2str(p.data.subarray(p.start+12,p.start+16));r.logger.log("MP4Demuxer:"+d+":"+f+" found")}n[s]={timescale:c,type:d},n[d]={timescale:c,id:s}}}}}}),n},e.getStartDTS=function(t,n){var r,i,o;return r=e.findBox(n,["moof","traf"]),i=[].concat.apply([],r.map(function(n){return e.findBox(n,["tfhd"]).map(function(r){var i,o;return i=e.readUint32(r,4),o=t[i].timescale||9e4,e.findBox(n,["tfdt"]).map(function(t){var n,r;return n=t.data[t.start],r=e.readUint32(t,4),1===n&&(r*=Math.pow(2,32),r+=e.readUint32(t,8)),r})[0]/o})})),o=Math.min.apply(null,i),isFinite(o)?o:0},e.offsetStartDTS=function(t,n,r){e.findBox(n,["moof","traf"]).map(function(n){return e.findBox(n,["tfhd"]).map(function(i){var a=e.readUint32(i,4),s=t[a].timescale||9e4;e.findBox(n,["tfdt"]).map(function(t){var n=t.data[t.start],i=e.readUint32(t,4);if(0===n)e.writeUint32(t,4,i-r*s);else{i*=Math.pow(2,32),i+=e.readUint32(t,8),i-=r*s,i=Math.max(i,0);var a=Math.floor(i/(o+1)),l=Math.floor(i%(o+1));e.writeUint32(t,4,a),e.writeUint32(t,8,l)}})})})},e.prototype.append=function(t,n,r,o){var a=this.initData;a||(this.resetInitSegment(t,this.audioCodec,this.videoCodec,!1),a=this.initData);var s,l=this.initPTS;if(void 0===l){var c=e.getStartDTS(a,t);this.initPTS=l=c-n,this.observer.trigger(i["default"].INIT_PTS_FOUND,{initPTS:l})}e.offsetStartDTS(a,t,l),s=e.getStartDTS(a,t),this.remuxer.remux(a.audio,a.video,null,null,s,r,o,t)},e.prototype.destroy=function(){},e}();t["default"]=a},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),i=n(16),o=function(){function t(){var e;this._url=null,this._byteRange=null,this._decryptdata=null,this.tagList=[],this.programDateTime=null,this.rawProgramDateTime=null,this._elementaryStreams=((e={})[t.ElementaryStreamTypes.AUDIO]=!1,e[t.ElementaryStreamTypes.VIDEO]=!1,e)}return Object.defineProperty(t,"ElementaryStreamTypes",{get:function(){return{AUDIO:"audio",VIDEO:"video"}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return!this._url&&this.relurl&&(this._url=r.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url},set:function(e){this._url=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"byteRange",{get:function(){if(!this._byteRange&&!this.rawByteRange)return[];if(this._byteRange)return this._byteRange;var e=[];if(this.rawByteRange){var t=this.rawByteRange.split("@",2);if(1===t.length){var n=this.lastByteRangeEndOffset;e[0]=n||0}else e[0]=parseInt(t[1]);e[1]=parseInt(t[0])+e[0],this._byteRange=e}return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"byteRangeStartOffset",{get:function(){return this.byteRange[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"byteRangeEndOffset",{get:function(){return this.byteRange[1]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"decryptdata",{get:function(){return this._decryptdata||(this._decryptdata=this.fragmentDecryptdataFromLevelkey(this.levelkey,this.sn)),this._decryptdata},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endProgramDateTime",{get:function(){if(!e.isFinite(this.programDateTime))return null;var t=e.isFinite(this.duration)?this.duration:0;return this.programDateTime+1e3*t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"encrypted",{get:function(){return!(!this.decryptdata||null===this.decryptdata.uri||null!==this.decryptdata.key)},enumerable:!0,configurable:!0}),t.prototype.addElementaryStream=function(e){this._elementaryStreams[e]=!0},t.prototype.hasElementaryStream=function(e){return!0===this._elementaryStreams[e]},t.prototype.createInitializationVector=function(e){for(var t=new Uint8Array(16),n=12;n<16;n++)t[n]=e>>8*(15-n)&255;return t},t.prototype.fragmentDecryptdataFromLevelkey=function(e,t){var n=e;return e&&e.method&&e.uri&&!e.iv&&((n=new i["default"]).method=e.method,n.baseuri=e.baseuri,n.reluri=e.reluri,n.iv=this.createInitializationVector(t)),n},t}();t["default"]=o}).call(this,n(2).Number)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),i=function(){function e(){this.method=null,this.key=null,this.iv=null,this._uri=null}return Object.defineProperty(e.prototype,"uri",{get:function(){return!this._uri&&this.reluri&&(this._uri=r.buildAbsoluteURL(this.baseuri,this.reluri,{alwaysNormalize:!0})),this._uri},enumerable:!0,configurable:!0}),e}();t["default"]=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={audio:{a3ds:!0,"ac-3":!0,"ac-4":!0,alac:!0,alaw:!0,dra1:!0,"dts+":!0,"dts-":!0,dtsc:!0,dtse:!0,dtsh:!0,"ec-3":!0,enca:!0,g719:!0,g726:!0,m4ae:!0,mha1:!0,mha2:!0,mhm1:!0,mhm2:!0,mlpa:!0,mp4a:!0,"raw ":!0,Opus:!0,samr:!0,sawb:!0,sawp:!0,sevc:!0,sqcp:!0,ssmv:!0,twos:!0,ulaw:!0},video:{avc1:!0,avc2:!0,avc3:!0,avc4:!0,avcp:!0,drac:!0,dvav:!0,dvhe:!0,encv:!0,hev1:!0,hvc1:!0,mjp2:!0,mp4v:!0,mvc1:!0,mvc2:!0,mvc3:!0,mvc4:!0,resv:!0,rv60:!0,s263:!0,svc1:!0,svc2:!0,"vc-1":!0,vp08:!0,vp09:!0}};t.isCodecType=function(e,t){var n=r[t];return!!n&&!0===n[e.slice(0,4)]},t.isCodecSupportedInMp4=function(e,t){return window.MediaSource.isTypeSupported((t||"video")+'/mp4;codecs="'+e+'"')}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(1),o=n(3),a=n(19),s=n(36),l=n(14),c=n(37),u=n(40),d=n(41),p=n(44),f=n(6),A=n(0),h=f.getSelfScope();try{r=h.performance.now.bind(h.performance)}catch(e){A.logger.debug("Unable to use Performance API on this environment"),r=h.Date.now}var g=function(){function e(e,t,n,r){this.observer=e,this.typeSupported=t,this.config=n,this.vendor=r}return e.prototype.destroy=function(){var e=this.demuxer;e&&e.destroy()},e.prototype.push=function(e,t,n,o,s,l,c,u,d,p,f,A){var h=this;if(e.byteLength>0&&null!=t&&null!=t.key&&"AES-128"===t.method){var g=this.decrypter;null==g&&(g=this.decrypter=new a["default"](this.observer,this.config));var m=r();g.decrypt(e,t.key.buffer,t.iv.buffer,function(e){var a=r();h.observer.trigger(i["default"].FRAG_DECRYPTED,{stats:{tstart:m,tdecrypt:a}}),h.pushDecrypted(new Uint8Array(e),t,new Uint8Array(n),o,s,l,c,u,d,p,f,A)})}else this.pushDecrypted(new Uint8Array(e),t,new Uint8Array(n),o,s,l,c,u,d,p,f,A)},e.prototype.pushDecrypted=function(e,t,n,r,a,f,A,h,g,m,v,y){var b=this.demuxer;if(!b||(A||h)&&!this.probe(e)){for(var E=this.observer,w=this.typeSupported,T=this.config,S=[{demux:c["default"],remux:d["default"]},{demux:l["default"],remux:p["default"]},{demux:s["default"],remux:d["default"]},{demux:u["default"],remux:d["default"]}],x=0,_=S.length;x<_;x++){var M=S[x],k=M.demux.probe;if(k(e)){var P=this.remuxer=new M.remux(E,T,w,this.vendor);b=new M.demux(E,P,T,w),this.probe=k;break}}if(!b)return void E.trigger(i["default"].ERROR,{type:o.ErrorTypes.MEDIA_ERROR,details:o.ErrorDetails.FRAG_PARSING_ERROR,fatal:!0,reason:"no demux matching with content found"});this.demuxer=b}var R=this.remuxer;(A||h)&&(b.resetInitSegment(n,r,a,m),R.resetInitSegment()),A&&(b.resetTimeStamp(y),R.resetTimeStamp(y)),"function"==typeof b.setDecryptData&&b.setDecryptData(t),b.append(e,f,g,v)},e}();t["default"]=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(33),i=n(34),o=n(35),a=n(3),s=n(0),l=n(1),c=n(6).getSelfScope(),u=function(){function e(e,t,n){var r=(void 0===n?{}:n).removePKCS7Padding,i=void 0===r||r;if(this.logEnabled=!0,this.observer=e,this.config=t,this.removePKCS7Padding=i,i)try{var o=c.crypto;o&&(this.subtle=o.subtle||o.webkitSubtle)}catch(e){}this.disableWebCrypto=!this.subtle}return e.prototype.isSync=function(){return this.disableWebCrypto&&this.config.enableSoftwareAES},e.prototype.decrypt=function(e,t,n,a){var l=this;if(this.disableWebCrypto&&this.config.enableSoftwareAES){this.logEnabled&&(s.logger.log("JS AES decrypt"),this.logEnabled=!1);var c=this.decryptor;c||(this.decryptor=c=new o["default"]),c.expandKey(t),a(c.decrypt(e,0,n,this.removePKCS7Padding))}else{this.logEnabled&&(s.logger.log("WebCrypto AES decrypt"),this.logEnabled=!1);var u=this.subtle;this.key!==t&&(this.key=t,this.fastAesKey=new i["default"](u,t)),this.fastAesKey.expandKey().then(function(i){new r["default"](u,n).decrypt(e,i)["catch"](function(r){l.onWebCryptoError(r,e,t,n,a)}).then(function(e){a(e)})})["catch"](function(r){l.onWebCryptoError(r,e,t,n,a)})}},e.prototype.onWebCryptoError=function(e,t,n,r,i){this.config.enableSoftwareAES?(s.logger.log("WebCrypto Error, disable WebCrypto API"),this.disableWebCrypto=!0,this.logEnabled=!0,this.decrypt(t,n,r,i)):(s.logger.error("decrypting error : "+e.message),this.observer.trigger(l["default"].ERROR,{type:a.ErrorTypes.MEDIA_ERROR,details:a.ErrorDetails.FRAG_DECRYPT_ERROR,fatal:!0,reason:e.message}))},e.prototype.destroy=function(){var e=this.decryptor;e&&(e.destroy(),this.decryptor=void 0)},e}();t["default"]=u},function(e,t,n){"use strict";function r(e,t,n,r){var i,o,a,s,l,p=navigator.userAgent.toLowerCase(),f=r,A=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];return i=1+((192&t[n+2])>>>6),(o=(60&t[n+2])>>>2)>A.length-1?void e.trigger(d["default"].ERROR,{type:u.ErrorTypes.MEDIA_ERROR,details:u.ErrorDetails.FRAG_PARSING_ERROR,fatal:!0,reason:"invalid ADTS sampling index:"+o}):(s=(1&t[n+2])<<2,s|=(192&t[n+3])>>>6,c.logger.log("manifest codec:"+r+",ADTS data:type:"+i+",sampleingIndex:"+o+"["+A[o]+"Hz],channelConfig:"+s),/firefox/i.test(p)?o>=6?(i=5,l=new Array(4),a=o-3):(i=2,l=new Array(2),a=o):-1!==p.indexOf("android")?(i=2,l=new Array(2),a=o):(i=5,l=new Array(4),r&&(-1!==r.indexOf("mp4a.40.29")||-1!==r.indexOf("mp4a.40.5"))||!r&&o>=6?a=o-3:((r&&-1!==r.indexOf("mp4a.40.2")&&(o>=6&&1===s||/vivaldi/i.test(p))||!r&&1===s)&&(i=2,l=new Array(2)),a=o)),l[0]=i<<3,l[0]|=(14&o)>>1,l[1]|=(1&o)<<7,l[1]|=s<<3,5===i&&(l[1]|=(14&a)>>1,l[2]=(1&a)<<7,l[2]|=8,l[3]=0),{config:l,samplerate:A[o],channelCount:s,codec:"mp4a.40."+i,manifestCodec:f})}function i(e,t){return 255===e[t]&&240==(246&e[t+1])}function o(e,t){return 1&e[t+1]?7:9}function a(e,t){return(3&e[t+3])<<11|e[t+4]<<3|(224&e[t+5])>>>5}function s(e){return 9216e4/e}function l(e,t,n,r,i){var s,l,c=e.length;if(s=o(e,t),l=a(e,t),(l-=s)>0&&t+s+l<=c)return{headerLength:s,frameLength:l,stamp:n+r*i}}Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),u=n(3),d=n(1);t.getAudioConfig=r,t.isHeaderPattern=i,t.getHeaderLength=o,t.getFullFrameLength=a,t.isHeader=function(e,t){return!!(t+1<e.length&&i(e,t))},t.probe=function(e,t){if(t+1<e.length&&i(e,t)){var n=o(e,t);t+5<e.length&&(n=a(e,t));var r=t+n;if(r===e.length||r+1<e.length&&i(e,r))return!0}return!1},t.initTrackConfig=function(e,t,n,i,o){if(!e.samplerate){var a=r(t,n,i,o);e.config=a.config,e.samplerate=a.samplerate,e.channelCount=a.channelCount,e.codec=a.codec,e.manifestCodec=a.manifestCodec,c.logger.log("parsed codec:"+e.codec+",rate:"+a.samplerate+",nb channel:"+a.channelCount)}},t.getFrameDuration=s,t.parseFrameHeader=l,t.appendFrame=function(e,t,n,r,i){var o=l(t,n,r,i,s(e.samplerate));if(o){var a=o.stamp,c=o.headerLength,u=o.frameLength,d={unit:t.subarray(n+c,n+c+u),pts:a,dts:a};return e.samples.push(d),e.len+=u,{sample:d,length:u+c}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={BitratesMap:[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],SamplingRateMap:[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],SamplesCoefficients:[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],BytesInSlot:[0,1,1,4],appendFrame:function(e,t,n,r,i){if(!(n+24>t.length)){var o=this.parseHeader(t,n);if(o&&n+o.frameLength<=t.length){var a=r+i*(9e4*o.samplesPerFrame/o.sampleRate),s={unit:t.subarray(n,n+o.frameLength),pts:a,dts:a};return e.config=[],e.channelCount=o.channelCount,e.samplerate=o.sampleRate,e.samples.push(s),e.len+=o.frameLength,{sample:s,length:o.frameLength}}}},parseHeader:function(e,t){var n=e[t+1]>>3&3,i=e[t+1]>>1&3,o=e[t+2]>>4&15,a=e[t+2]>>2&3,s=e[t+2]>>1&1;if(1!==n&&0!==o&&15!==o&&3!==a){var l=3===n?3-i:3===i?3:4,c=1e3*r.BitratesMap[14*l+o-1],u=3===n?0:2===n?1:2,d=r.SamplingRateMap[3*u+a],p=e[t+3]>>6==3?1:2,f=r.SamplesCoefficients[n][i],A=r.BytesInSlot[i],h=8*f*A;return{sampleRate:d,channelCount:p,frameLength:parseInt(f*c/d+s,10)*A,samplesPerFrame:h}}},isHeaderPattern:function(e,t){return 255===e[t]&&224==(224&e[t+1])&&0!=(6&e[t+1])},isHeader:function(e,t){return!!(t+1<e.length&&this.isHeaderPattern(e,t))},probe:function(e,t){if(t+1<e.length&&this.isHeaderPattern(e,t)){var n=this.parseHeader(e,t),r=4;n&&n.frameLength&&(r=n.frameLength);var i=t+r;if(i===e.length||i+1<e.length&&this.isHeaderPattern(e,i))return!0}return!1}};t["default"]=r},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];this.emit.apply(this,[e,e].concat(t))},t}(n(45).EventEmitter);t.Observer=i},function(e,t,n){"use strict";(function(e){function r(t,n,r){var i=t[n],o=t[r],a=o.startPTS;e.isFinite(a)?r>n?(i.duration=a-i.start,i.duration<0&&s.logger.warn("negative duration computed for frag "+i.sn+",level "+i.level+", there should be some duration drift between playlist and fragment!")):(o.duration=i.start-a,o.duration<0&&s.logger.warn("negative duration computed for frag "+o.sn+",level "+o.level+", there should be some duration drift between playlist and fragment!")):o.start=r>n?i.start+i.duration:Math.max(i.start-o.duration,0)}function i(t,n,i,o,a,s){var l=i;if(e.isFinite(n.startPTS)){var c=Math.abs(n.startPTS-i);e.isFinite(n.deltaPTS)?n.deltaPTS=Math.max(c,n.deltaPTS):n.deltaPTS=c,l=Math.max(i,n.startPTS),i=Math.min(i,n.startPTS),o=Math.max(o,n.endPTS),a=Math.min(a,n.startDTS),s=Math.max(s,n.endDTS)}var u=i-n.start;n.start=n.startPTS=i,n.maxStartPTS=l,n.endPTS=o,n.startDTS=a,n.endDTS=s,n.duration=o-i;var d,p,f,A=n.sn;if(!t||A<t.startSN||A>t.endSN)return 0;for(d=A-t.startSN,(p=t.fragments)[d]=n,f=d;f>0;f--)r(p,f,f-1);for(f=d;f<p.length-1;f++)r(p,f,f+1);return t.PTSKnown=!0,u}function o(e,t,n){if(e&&t)for(var r=Math.max(e.startSN,t.startSN)-t.startSN,i=Math.min(e.endSN,t.endSN)-t.startSN,o=t.startSN-e.startSN,a=r;a<=i;a++){var s=e.fragments[o+a],l=t.fragments[a];if(!s||!l)break;n(s,l,a)}}function a(e,t){var n=t.startSN-e.startSN,r=e.fragments,i=t.fragments;if(!(n<0||n>r.length))for(var o=0;o<i.length;o++)i[o].start+=r[n].start}Object.defineProperty(t,"__esModule",{value:!0});var s=n(0);t.addGroupId=function(e,t,n){switch(t){case"audio":e.audioGroupIds||(e.audioGroupIds=[]),e.audioGroupIds.push(n);break;case"text":e.textGroupIds||(e.textGroupIds=[]),e.textGroupIds.push(n)}},t.updatePTS=r,t.updateFragPTSDTS=i,t.mergeDetails=function(t,n){n.initSegment&&t.initSegment&&(n.initSegment=t.initSegment);var r,l=0;if(o(t,n,function(t,i){l=t.cc-i.cc,e.isFinite(t.startPTS)&&(i.start=i.startPTS=t.startPTS,i.endPTS=t.endPTS,i.duration=t.duration,i.backtracked=t.backtracked,i.dropped=t.dropped,r=i),n.PTSKnown=!0}),n.PTSKnown){if(l){s.logger.log("discontinuity sliding from playlist, take drift into account");for(var c=n.fragments,u=0;u<c.length;u++)c[u].cc+=l}r?i(n,r,r.startPTS,r.endPTS,r.startDTS,r.endDTS):a(t,n),n.PTSKnown=t.PTSKnown}},t.mergeSubtitlePlaylists=function(e,t,n){void 0===n&&(n=0);var r=-1;o(e,t,function(e,t,n){t.start=e.start,r=n});var i=t.fragments;if(r<0)i.forEach(function(e){e.start+=n});else for(var a=r+1;a<i.length;a++)i[a].start=i[a-1].start+i[a-1].duration},t.mapFragmentIntersection=o,t.adjustSliding=a,t.computeReloadInterval=function(e,t,n){var r=1e3*(t.averagetargetduration?t.averagetargetduration:t.targetduration),i=r/2;return e&&t.endSN===e.endSN&&(r=i),n&&(r=Math.max(i,r-(window.performance.now()-n))),Math.round(r)}}).call(this,n(2).Number)},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),o=n(3),a=n(13),s=n(28),l=n(29),c=n(9),u=n(30),d=n(54),p=n(55),f=n(57),A=n(0),h=n(58),g=n(1),m=function(e){function t(n){void 0===n&&(n={});var r=e.call(this)||this,i=t.DefaultConfig;if((n.liveSyncDurationCount||n.liveMaxLatencyDurationCount)&&(n.liveSyncDuration||n.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");for(var o in i)o in n||(n[o]=i[o]);if(void 0!==n.liveMaxLatencyDurationCount&&n.liveMaxLatencyDurationCount<=n.liveSyncDurationCount)throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be gt "liveSyncDurationCount"');if(void 0!==n.liveMaxLatencyDuration&&(n.liveMaxLatencyDuration<=n.liveSyncDuration||void 0===n.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be gt "liveSyncDuration"');A.enableLogs(n.debug),r.config=n,r._autoLevelCapping=-1;var f=r.abrController=new n.abrController(r),h=new n.bufferController(r),g=new n.capLevelController(r),m=new n.fpsController(r),v=new a["default"](r),y=new s["default"](r),b=new l["default"](r),E=new p["default"](r),w=r.levelController=new d["default"](r),T=new c.FragmentTracker(r),S=[w,r.streamController=new u["default"](r,T)],x=n.audioStreamController;x&&S.push(new x(r,T)),r.networkControllers=S;var _=[v,y,b,f,h,g,m,E,T];if(x=n.audioTrackController){var M=new x(r);r.audioTrackController=M,_.push(M)}if(x=n.subtitleTrackController){var k=new x(r);r.subtitleTrackController=k,S.push(k)}if(x=n.emeController){var P=new x(r);r.emeController=P,_.push(P)}return(x=n.subtitleStreamController)&&S.push(new x(r,T)),(x=n.timelineController)&&_.push(new x(r)),r.coreComponents=_,r}return r(t,e),Object.defineProperty(t,"version",{get:function(){return"0.12.4"},enumerable:!0,configurable:!0}),t.isSupported=function(){return f.isSupported()},Object.defineProperty(t,"Events",{get:function(){return g["default"]},enumerable:!0,configurable:!0}),Object.defineProperty(t,"ErrorTypes",{get:function(){return o.ErrorTypes},enumerable:!0,configurable:!0}),Object.defineProperty(t,"ErrorDetails",{get:function(){return o.ErrorDetails},enumerable:!0,configurable:!0}),Object.defineProperty(t,"DefaultConfig",{get:function(){return t.defaultConfig?t.defaultConfig:h.hlsDefaultConfig},set:function(e){t.defaultConfig=e},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){A.logger.log("destroy"),this.trigger(g["default"].DESTROYING),this.detachMedia(),this.coreComponents.concat(this.networkControllers).forEach(function(e){e.destroy()}),this.url=null,this.removeAllListeners(),this._autoLevelCapping=-1},t.prototype.attachMedia=function(e){A.logger.log("attachMedia"),this.media=e,this.trigger(g["default"].MEDIA_ATTACHING,{media:e})},t.prototype.detachMedia=function(){A.logger.log("detachMedia"),this.trigger(g["default"].MEDIA_DETACHING),this.media=null},t.prototype.loadSource=function(e){e=i.buildAbsoluteURL(window.location.href,e,{alwaysNormalize:!0}),A.logger.log("loadSource:"+e),this.url=e,this.trigger(g["default"].MANIFEST_LOADING,{url:e})},t.prototype.startLoad=function(e){void 0===e&&(e=-1),A.logger.log("startLoad("+e+")"),this.networkControllers.forEach(function(t){t.startLoad(e)})},t.prototype.stopLoad=function(){A.logger.log("stopLoad"),this.networkControllers.forEach(function(e){e.stopLoad()})},t.prototype.swapAudioCodec=function(){A.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()},t.prototype.recoverMediaError=function(){A.logger.log("recoverMediaError");var e=this.media;this.detachMedia(),this.attachMedia(e)},Object.defineProperty(t.prototype,"levels",{get:function(){return this.levelController.levels},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentLevel",{get:function(){return this.streamController.currentLevel},set:function(e){A.logger.log("set currentLevel:"+e),this.loadLevel=e,this.streamController.immediateLevelSwitch()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextLevel",{get:function(){return this.streamController.nextLevel},set:function(e){A.logger.log("set nextLevel:"+e),this.levelController.manualLevel=e,this.streamController.nextLevelSwitch()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"loadLevel",{get:function(){return this.levelController.level},set:function(e){A.logger.log("set loadLevel:"+e),this.levelController.manualLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextLoadLevel",{get:function(){return this.levelController.nextLoadLevel},set:function(e){this.levelController.nextLoadLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstLevel",{get:function(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)},set:function(e){A.logger.log("set firstLevel:"+e),this.levelController.firstLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startLevel",{get:function(){return this.levelController.startLevel},set:function(e){A.logger.log("set startLevel:"+e),-1!==e&&(e=Math.max(e,this.minAutoLevel)),this.levelController.startLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoLevelCapping",{get:function(){return this._autoLevelCapping},set:function(e){A.logger.log("set autoLevelCapping:"+e),this._autoLevelCapping=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoLevelEnabled",{get:function(){return-1===this.levelController.manualLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"manualLevel",{get:function(){return this.levelController.manualLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minAutoLevel",{get:function(){for(var e=this.levels,t=this.config.minAutoBitrate,n=e?e.length:0,r=0;r<n;r++)if((e[r].realBitrate?Math.max(e[r].realBitrate,e[r].bitrate):e[r].bitrate)>t)return r;return 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxAutoLevel",{get:function(){var e=this.levels,t=this.autoLevelCapping;return-1===t&&e&&e.length?e.length-1:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextAutoLevel",{get:function(){return Math.min(Math.max(this.abrController.nextAutoLevel,this.minAutoLevel),this.maxAutoLevel)},set:function(e){this.abrController.nextAutoLevel=Math.max(this.minAutoLevel,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"audioTracks",{get:function(){var e=this.audioTrackController;return e?e.audioTracks:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"audioTrack",{get:function(){var e=this.audioTrackController;return e?e.audioTrack:-1},set:function(e){var t=this.audioTrackController;t&&(t.audioTrack=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"liveSyncPosition",{get:function(){return this.streamController.liveSyncPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"subtitleTracks",{get:function(){var e=this.subtitleTrackController;return e?e.subtitleTracks:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"subtitleTrack",{get:function(){var e=this.subtitleTrackController;return e?e.subtitleTrack:-1},set:function(e){var t=this.subtitleTrackController;t&&(t.subtitleTrack=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"subtitleDisplay",{get:function(){var e=this.subtitleTrackController;return!!e&&e.subtitleDisplay},set:function(e){var t=this.subtitleTrackController;t&&(t.subtitleDisplay=e)},enumerable:!0,configurable:!0}),t}(n(22).Observer);t["default"]=m},function(e,t,n){"use strict";(function(e){function r(t,n){t.rawProgramDateTime?t.programDateTime=Date.parse(t.rawProgramDateTime):n&&n.programDateTime&&(t.programDateTime=n.endProgramDateTime),e.isFinite(t.programDateTime)||(t.programDateTime=null,t.rawProgramDateTime=null)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),o=n(15),a=n(26),s=n(16),l=n(27),c=n(0),u=n(17),d=/#EXT-X-STREAM-INF:([^\n\r]*)[\r\n]+([^\r\n]+)/g,p=/#EXT-X-MEDIA:(.*)/g,f=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/|(?!#)([\S+ ?]+)/.source,/|#EXT-X-BYTERANGE:*(.+)/.source,/|#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/|#.*/.source].join(""),"g"),A=/(?:(?:#(EXTM3U))|(?:#EXT-X-(PLAYLIST-TYPE):(.+))|(?:#EXT-X-(MEDIA-SEQUENCE): *(\d+))|(?:#EXT-X-(TARGETDURATION): *(\d+))|(?:#EXT-X-(KEY):(.+))|(?:#EXT-X-(START):(.+))|(?:#EXT-X-(ENDLIST))|(?:#EXT-X-(DISCONTINUITY-SEQ)UENCE:(\d+))|(?:#EXT-X-(DIS)CONTINUITY))|(?:#EXT-X-(VERSION):(\d+))|(?:#EXT-X-(MAP):(.+))|(?:(#)([^:]*):(.*))|(?:(#)(.*))(?:.*)\r?\n?/,h=/\.(mp4|m4s|m4v|m4a)$/i,g=function(){function t(){}return t.findGroup=function(e,t){if(!e)return null;for(var n=null,r=0;r<e.length;r++){var i=e[r];i.id===t&&(n=i)}return n},t.convertAVC1ToAVCOTI=function(e){var t,n=e.split(".");return n.length>2?(t=n.shift()+".",t+=parseInt(n.shift()).toString(16),t+=("000"+parseInt(n.shift()).toString(16)).substr(-4)):t=e,t},t.resolve=function(e,t){return i.buildAbsoluteURL(t,e,{alwaysNormalize:!0})},t.parseMasterPlaylist=function(e,n){function r(e,t){["video","audio"].forEach(function(n){var r=e.filter(function(e){return u.isCodecType(e,n)});if(r.length){var i=r.filter(function(e){return 0===e.lastIndexOf("avc1",0)||0===e.lastIndexOf("mp4a",0)});t[n+"Codec"]=i.length>0?i[0]:r[0],e=e.filter(function(e){return-1===r.indexOf(e)})}}),t.unknownCodecs=e}var i,o=[];for(d.lastIndex=0;null!=(i=d.exec(e));){var a={},s=a.attrs=new l["default"](i[1]);a.url=t.resolve(i[2],n);var c=s.decimalResolution("RESOLUTION");c&&(a.width=c.width,a.height=c.height),a.bitrate=s.decimalInteger("AVERAGE-BANDWIDTH")||s.decimalInteger("BANDWIDTH"),a.name=s.NAME,r([].concat((s.CODECS||"").split(/[ ,]+/)),a),a.videoCodec&&-1!==a.videoCodec.indexOf("avc1")&&(a.videoCodec=t.convertAVC1ToAVCOTI(a.videoCodec)),o.push(a)}return o},t.parseMasterPlaylistMedia=function(e,n,r,i){var o;void 0===i&&(i=[]);var a=[],s=0;for(p.lastIndex=0;null!==(o=p.exec(e));){var c={},u=new l["default"](o[1]);if(u.TYPE===r){if(c.groupId=u["GROUP-ID"],c.name=u.NAME,c.type=r,c["default"]="YES"===u.DEFAULT,c.autoselect="YES"===u.AUTOSELECT,c.forced="YES"===u.FORCED,u.URI&&(c.url=t.resolve(u.URI,n)),c.lang=u.LANGUAGE,c.name||(c.name=c.lang),i.length){var d=t.findGroup(i,c.groupId);c.audioCodec=d?d.codec:i[0].codec}c.id=s++,a.push(c)}}return a},t.parseLevelPlaylist=function(t,n,i,u,d){var p,g,m=0,v=0,y=new a["default"](n),b=new s["default"],E=0,w=null,T=new o["default"],S=null;for(f.lastIndex=0;null!==(p=f.exec(t));){var x=p[1];if(x){T.duration=parseFloat(x);var _=(" "+p[2]).slice(1);T.title=_||null,T.tagList.push(_?["INF",x,_]:["INF",x])}else if(p[3]){if(e.isFinite(T.duration)){var M=m++;T.type=u,T.start=v,T.levelkey=b,T.sn=M,T.level=i,T.cc=E,T.urlId=d,T.baseurl=n,T.relurl=(" "+p[3]).slice(1),r(T,w),y.fragments.push(T),w=T,v+=T.duration,T=new o["default"]}}else if(p[4]){if(T.rawByteRange=(" "+p[4]).slice(1),w){var k=w.byteRangeEndOffset;k&&(T.lastByteRangeEndOffset=k)}}else if(p[5])T.rawProgramDateTime=(" "+p[5]).slice(1),T.tagList.push(["PROGRAM-DATE-TIME",T.rawProgramDateTime]),null===S&&(S=y.fragments.length);else{for(p=p[0].match(A),g=1;g<p.length&&void 0===p[g];g++);var P=(" "+p[g+1]).slice(1),R=(" "+p[g+2]).slice(1);switch(p[g]){case"#":T.tagList.push(R?[P,R]:[P]);break;case"PLAYLIST-TYPE":y.type=P.toUpperCase();break;case"MEDIA-SEQUENCE":m=y.startSN=parseInt(P);break;case"TARGETDURATION":y.targetduration=parseFloat(P);break;case"VERSION":y.version=parseInt(P);
break;case"EXTM3U":break;case"ENDLIST":y.live=!1;break;case"DIS":E++,T.tagList.push(["DIS"]);break;case"DISCONTINUITY-SEQ":E=parseInt(P);break;case"KEY":var C=P,L=new l["default"](C),B=L.enumeratedString("METHOD"),I=L.URI,D=L.hexadecimalInteger("IV");B&&(b=new s["default"],I&&["AES-128","SAMPLE-AES","SAMPLE-AES-CENC"].indexOf(B)>=0&&(b.method=B,b.baseuri=n,b.reluri=I,b.key=null,b.iv=D));break;case"START":var O=P,U=new l["default"](O).decimalFloatingPoint("TIME-OFFSET");e.isFinite(U)&&(y.startTimeOffset=U);break;case"MAP":var H=new l["default"](P);T.relurl=H.URI,T.rawByteRange=H.BYTERANGE,T.baseurl=n,T.level=i,T.type=u,T.sn="initSegment",y.initSegment=T,(T=new o["default"]).rawProgramDateTime=y.initSegment.rawProgramDateTime;break;default:c.logger.warn("line parsed but not handled: "+p)}}}return(T=w)&&!T.relurl&&(y.fragments.pop(),v-=T.duration),y.totalduration=v,y.averagetargetduration=v/y.fragments.length,y.endSN=m-1,y.startCC=y.fragments[0]?y.fragments[0].cc:0,y.endCC=E,!y.initSegment&&y.fragments.length&&y.fragments.every(function(e){return h.test(e.relurl)})&&(c.logger.warn("MP4 fragments found but no init segment (probably no MAP, incomplete M3U8), trying to fetch SIDX"),(T=new o["default"]).relurl=y.fragments[0].relurl,T.baseurl=n,T.level=i,T.type=u,T.sn="initSegment",y.initSegment=T,y.needSidxRanges=!0),S&&function(e,t){for(var n=e[t],r=t-1;r>=0;r--){var i=e[r];i.programDateTime=n.programDateTime-1e3*i.duration,n=i}}(y.fragments,S),y},t}();t["default"]=g}).call(this,n(2).Number)},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function t(e){this.endCC=0,this.endSN=0,this.fragments=[],this.initSegment=null,this.live=!0,this.needSidxRanges=!1,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=e,this.version=null}return Object.defineProperty(t.prototype,"hasProgramDateTime",{get:function(){return!(!this.fragments[0]||!e.isFinite(this.fragments[0].programDateTime))},enumerable:!0,configurable:!0}),t}();t["default"]=n}).call(this,n(2).Number)},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=/^(\d+)x(\d+)$/,r=/\s*(.+?)\s*=((?:\".*?\")|.*?)(?:,|$)/g,i=function(){function t(e){for(var n in"string"==typeof e&&(e=t.parseAttrList(e)),e)e.hasOwnProperty(n)&&(this[n]=e[n])}return t.prototype.decimalInteger=function(t){var n=parseInt(this[t],10);return n>e.MAX_SAFE_INTEGER?1/0:n},t.prototype.hexadecimalInteger=function(e){if(this[e]){var t=(this[e]||"0x").slice(2);t=(1&t.length?"0":"")+t;for(var n=new Uint8Array(t.length/2),r=0;r<t.length/2;r++)n[r]=parseInt(t.slice(2*r,2*r+2),16);return n}return null},t.prototype.hexadecimalIntegerAsNumber=function(t){var n=parseInt(this[t],16);return n>e.MAX_SAFE_INTEGER?1/0:n},t.prototype.decimalFloatingPoint=function(e){return parseFloat(this[e])},t.prototype.enumeratedString=function(e){return this[e]},t.prototype.decimalResolution=function(e){var t=n.exec(this[e]);if(null!==t)return{width:parseInt(t[1],10),height:parseInt(t[2],10)}},t.parseAttrList=function(e){var t,n={};for(r.lastIndex=0;null!==(t=r.exec(e));){var i=t[2];0===i.indexOf('"')&&i.lastIndexOf('"')===i.length-1&&(i=i.slice(1,-1)),n[t[1]]=i}return n},t}();t["default"]=i}).call(this,n(2).Number)},function(e,t,n){"use strict";(function(e){var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(4),a=n(3),s=n(0),l=function(t){function n(e){var n=t.call(this,e,i["default"].FRAG_LOADING)||this;return n.loaders={},n}return r(n,t),n.prototype.destroy=function(){var e=this.loaders;for(var n in e){var r=e[n];r&&r.destroy()}this.loaders={},t.prototype.destroy.call(this)},n.prototype.onFragLoading=function(t){var n=t.frag,r=n.type,i=this.loaders,o=this.hls.config,a=o.fLoader,l=o.loader;n.loaded=0;var c,u,d,p=i[r];p&&(s.logger.warn("abort previous fragment loader for type: "+r),p.abort()),p=i[r]=n.loader=o.fLoader?new a(o):new l(o),c={url:n.url,frag:n,responseType:"arraybuffer",progressData:!1};var f=n.byteRangeStartOffset,A=n.byteRangeEndOffset;e.isFinite(f)&&e.isFinite(A)&&(c.rangeStart=f,c.rangeEnd=A),u={timeout:o.fragLoadingTimeOut,maxRetry:0,retryDelay:0,maxRetryDelay:o.fragLoadingMaxRetryTimeout},d={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this),onProgress:this.loadprogress.bind(this)},p.load(c,u,d)},n.prototype.loadsuccess=function(e,t,n,r){void 0===r&&(r=null);var o=e.data,a=n.frag;a.loader=void 0,this.loaders[a.type]=void 0,this.hls.trigger(i["default"].FRAG_LOADED,{payload:o,frag:a,stats:t,networkDetails:r})},n.prototype.loaderror=function(e,t,n){void 0===n&&(n=null);var r=t.frag,o=r.loader;o&&o.abort(),this.loaders[r.type]=void 0,this.hls.trigger(i["default"].ERROR,{type:a.ErrorTypes.NETWORK_ERROR,details:a.ErrorDetails.FRAG_LOAD_ERROR,fatal:!1,frag:t.frag,response:e,networkDetails:n})},n.prototype.loadtimeout=function(e,t,n){void 0===n&&(n=null);var r=t.frag,o=r.loader;o&&o.abort(),this.loaders[r.type]=void 0,this.hls.trigger(i["default"].ERROR,{type:a.ErrorTypes.NETWORK_ERROR,details:a.ErrorDetails.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t.frag,networkDetails:n})},n.prototype.loadprogress=function(e,t,n,r){void 0===r&&(r=null);var o=t.frag;o.loaded=e.loaded,this.hls.trigger(i["default"].FRAG_LOAD_PROGRESS,{frag:o,stats:e,networkDetails:r})},n}(o["default"]);t["default"]=l}).call(this,n(2).Number)},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(4),a=n(3),s=n(0),l=function(e){function t(t){var n=e.call(this,t,i["default"].KEY_LOADING)||this;return n.loaders={},n.decryptkey=null,n.decrypturl=null,n}return r(t,e),t.prototype.destroy=function(){for(var e in this.loaders){var t=this.loaders[e];t&&t.destroy()}this.loaders={},o["default"].prototype.destroy.call(this)},t.prototype.onKeyLoading=function(e){var t=e.frag,n=t.type,r=this.loaders[n],o=t.decryptdata,a=o.uri;if(a!==this.decrypturl||null===this.decryptkey){var l=this.hls.config;r&&(s.logger.warn("abort previous key loader for type:"+n),r.abort()),t.loader=this.loaders[n]=new l.loader(l),this.decrypturl=a,this.decryptkey=null;var c,u,d;c={url:a,frag:t,responseType:"arraybuffer"},u={timeout:l.fragLoadingTimeOut,maxRetry:0,retryDelay:l.fragLoadingRetryDelay,maxRetryDelay:l.fragLoadingMaxRetryTimeout},d={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)},t.loader.load(c,u,d)}else this.decryptkey&&(o.key=this.decryptkey,this.hls.trigger(i["default"].KEY_LOADED,{frag:t}))},t.prototype.loadsuccess=function(e,t,n){var r=n.frag;this.decryptkey=r.decryptdata.key=new Uint8Array(e.data),r.loader=void 0,this.loaders[r.type]=void 0,this.hls.trigger(i["default"].KEY_LOADED,{frag:r})},t.prototype.loaderror=function(e,t){var n=t.frag,r=n.loader;r&&r.abort(),this.loaders[t.type]=void 0,this.hls.trigger(i["default"].ERROR,{type:a.ErrorTypes.NETWORK_ERROR,details:a.ErrorDetails.KEY_LOAD_ERROR,fatal:!1,frag:n,response:e})},t.prototype.loadtimeout=function(e,t){var n=t.frag,r=n.loader;r&&r.abort(),this.loaders[t.type]=void 0,this.hls.trigger(i["default"].ERROR,{type:a.ErrorTypes.NETWORK_ERROR,details:a.ErrorDetails.KEY_LOAD_TIMEOUT,fatal:!1,frag:n})},t}(o["default"]);t["default"]=l},function(e,t,n){"use strict";(function(e){var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(10),o=n(8),a=n(31),s=n(1),l=n(9),c=n(15),u=n(13),d=n(23),p=n(48),f=n(3),A=n(0),h=n(49),g=n(50),m=n(51),v=n(52),y=function(t){function n(e,n){var r=t.call(this,e,s["default"].MEDIA_ATTACHED,s["default"].MEDIA_DETACHING,s["default"].MANIFEST_LOADING,s["default"].MANIFEST_PARSED,s["default"].LEVEL_LOADED,s["default"].KEY_LOADED,s["default"].FRAG_LOADED,s["default"].FRAG_LOAD_EMERGENCY_ABORTED,s["default"].FRAG_PARSING_INIT_SEGMENT,s["default"].FRAG_PARSING_DATA,s["default"].FRAG_PARSED,s["default"].ERROR,s["default"].AUDIO_TRACK_SWITCHING,s["default"].AUDIO_TRACK_SWITCHED,s["default"].BUFFER_CREATED,s["default"].BUFFER_APPENDED,s["default"].BUFFER_FLUSHED)||this;return r.fragmentTracker=n,r.config=e.config,r.audioCodecSwap=!1,r._state=v.State.STOPPED,r.stallReported=!1,r.gapController=null,r}return r(n,t),n.prototype.startLoad=function(e){if(this.levels){var t=this.lastCurrentTime,n=this.hls;if(this.stopLoad(),this.setInterval(100),this.level=-1,this.fragLoadError=0,!this.startFragRequested){var r=n.startLevel;-1===r&&(r=0,this.bitrateTest=!0),this.level=n.nextLoadLevel=r,this.loadedmetadata=!1}t>0&&-1===e&&(A.logger.log("override startPosition with lastCurrentTime @"+t.toFixed(3)),e=t),this.state=v.State.IDLE,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}else this.forceStartLoad=!0,this.state=v.State.STOPPED},n.prototype.stopLoad=function(){this.forceStartLoad=!1,t.prototype.stopLoad.call(this)},n.prototype.doTick=function(){switch(this.state){case v.State.BUFFER_FLUSHING:this.fragLoadError=0;break;case v.State.IDLE:this._doTickIdle();break;case v.State.WAITING_LEVEL:var e=this.levels[this.level];e&&e.details&&(this.state=v.State.IDLE);break;case v.State.FRAG_LOADING_WAITING_RETRY:var t=window.performance.now(),n=this.retryDate;(!n||t>=n||this.media&&this.media.seeking)&&(A.logger.log("mediaController: retryDate reached, switch back to IDLE state"),this.state=v.State.IDLE);break;case v.State.ERROR:case v.State.STOPPED:case v.State.FRAG_LOADING:case v.State.PARSING:case v.State.PARSED:case v.State.ENDED:}this._checkBuffer(),this._checkFragmentChanged()},n.prototype._doTickIdle=function(){var e=this.hls,t=e.config,n=this.media;if(void 0!==this.levelLastLoaded&&(n||!this.startFragRequested&&t.startFragPrefetch)){var r;r=this.loadedmetadata?n.currentTime:this.nextLoadPosition;var i=e.nextLoadLevel,a=this.levels[i];if(a){var l,c=a.bitrate;l=c?Math.max(8*t.maxBufferSize/c,t.maxBufferLength):t.maxBufferLength,l=Math.min(l,t.maxMaxBufferLength);var u=o.BufferHelper.bufferInfo(this.mediaBuffer?this.mediaBuffer:n,r,t.maxBufferHole),d=u.len;if(!(d>=l)){A.logger.trace("buffer length of "+d.toFixed(3)+" is below max of "+l.toFixed(3)+". checking for more payload ..."),this.level=e.nextLoadLevel=i;var p=a.details;if(!p||p.live&&this.levelLastLoaded!==i)this.state=v.State.WAITING_LEVEL;else{if(this._streamEnded(u,p)){var f={};return this.altAudio&&(f.type="video"),this.hls.trigger(s["default"].BUFFER_EOS,f),void(this.state=v.State.ENDED)}this._fetchPayloadOrEos(r,u,p)}}}}},n.prototype._fetchPayloadOrEos=function(e,t,n){var r=this.fragPrevious,i=this.level,o=n.fragments,a=o.length;if(0!==a){var s,l=o[0].start,c=o[a-1].start+o[a-1].duration,u=t.end;if(n.initSegment&&!n.initSegment.data)s=n.initSegment;else if(n.live){var d=this.config.initialLiveManifestSize;if(a<d)return void A.logger.warn("Can not start playback of a level, reason: not enough fragments "+a+" < "+d);if(null===(s=this._ensureFragmentAtLivePoint(n,u,l,c,r,o,a)))return}else u<l&&(s=o[0]);s||(s=this._findFragment(l,r,a,o,u,c,n)),s&&(s.encrypted?(A.logger.log("Loading key for "+s.sn+" of ["+n.startSN+" ,"+n.endSN+"],level "+i),this._loadKey(s)):(A.logger.log("Loading "+s.sn+" of ["+n.startSN+" ,"+n.endSN+"],level "+i+", currentTime:"+e.toFixed(3)+",bufferEnd:"+u.toFixed(3)),this._loadFragment(s)))}},n.prototype._ensureFragmentAtLivePoint=function(e,t,n,r,o,a,s){var l,c=this.hls.config,u=this.media,d=void 0!==c.liveMaxLatencyDuration?c.liveMaxLatencyDuration:c.liveMaxLatencyDurationCount*e.targetduration;if(t<Math.max(n-c.maxFragLookUpTolerance,r-d)){var p=this.liveSyncPosition=this.computeLivePosition(n,e);A.logger.log("buffer end: "+t.toFixed(3)+" is located too far from the end of live sliding playlist, reset currentTime to : "+p.toFixed(3)),t=p,u&&u.readyState&&u.duration>p&&(u.currentTime=p),this.nextLoadPosition=p}if(e.PTSKnown&&t>r&&u&&u.readyState)return null;if(this.startFragRequested&&!e.PTSKnown){if(o)if(e.hasProgramDateTime)A.logger.log("live playlist, switching playlist, load frag with same PDT: "+o.programDateTime),l=g.findFragmentByPDT(a,o.endProgramDateTime,c.maxFragLookUpTolerance);else{var f=o.sn+1;if(f>=e.startSN&&f<=e.endSN){var h=a[f-e.startSN];o.cc===h.cc&&(l=h,A.logger.log("live playlist, switching playlist, load frag with next SN: "+l.sn))}l||(l=i["default"].search(a,function(e){return o.cc-e.cc}))&&A.logger.log("live playlist, switching playlist, load frag with same CC: "+l.sn)}l||(l=a[Math.min(s-1,Math.round(s/2))],A.logger.log("live playlist, switching playlist, unknown, load middle frag : "+l.sn))}return l},n.prototype._findFragment=function(e,t,n,r,i,o,a){var s,l=this.hls.config;if(i<o){var c=i>o-l.maxFragLookUpTolerance?0:l.maxFragLookUpTolerance;s=g.findFragmentByPTS(t,r,i,c)}else s=r[n-1];if(s){var u=s.sn-a.startSN,d=t&&s.level===t.level,p=r[u-1],f=r[u+1];if(t&&s.sn===t.sn)if(d&&!s.backtracked)if(s.sn<a.endSN){var h=t.deltaPTS;h&&h>l.maxBufferHole&&t.dropped&&u?(s=p,A.logger.warn("SN just loaded, with large PTS gap between audio and video, maybe frag is not starting with a keyframe ? load previous one to try to overcome this")):(s=f,A.logger.log("SN just loaded, load next one: "+s.sn,s))}else s=null;else s.backtracked&&(f&&f.backtracked?(A.logger.warn("Already backtracked from fragment "+f.sn+", will not backtrack to fragment "+s.sn+". Loading fragment "+f.sn),s=f):(A.logger.warn("Loaded fragment with dropped frames, backtracking 1 segment to find a keyframe"),s.dropped=0,p?(s=p).backtracked=!0:u&&(s=null)))}return s},n.prototype._loadKey=function(e){this.state=v.State.KEY_LOADING,this.hls.trigger(s["default"].KEY_LOADING,{frag:e})},n.prototype._loadFragment=function(t){var n=this.fragmentTracker.getState(t);this.fragCurrent=t,this.startFragRequested=!0,e.isFinite(t.sn)&&!t.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),t.backtracked||n===l.FragmentState.NOT_LOADED||n===l.FragmentState.PARTIAL?(t.autoLevel=this.hls.autoLevelEnabled,t.bitrateTest=this.bitrateTest,this.hls.trigger(s["default"].FRAG_LOADING,{frag:t}),this.demuxer||(this.demuxer=new a["default"](this.hls,"main")),this.state=v.State.FRAG_LOADING):n===l.FragmentState.APPENDING&&this._reduceMaxBufferLength(t.duration)&&this.fragmentTracker.removeFragment(t)},Object.defineProperty(n.prototype,"state",{get:function(){return this._state},set:function(e){if(this.state!==e){var t=this.state;this._state=e,A.logger.log("main stream:"+t+"->"+e),this.hls.trigger(s["default"].STREAM_STATE_TRANSITION,{previousState:t,nextState:e})}},enumerable:!0,configurable:!0}),n.prototype.getBufferedFrag=function(e){return this.fragmentTracker.getBufferedFrag(e,u["default"].LevelType.MAIN)},Object.defineProperty(n.prototype,"currentLevel",{get:function(){var e=this.media;if(e){var t=this.getBufferedFrag(e.currentTime);if(t)return t.level}return-1},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"nextBufferedFrag",{get:function(){var e=this.media;return e?this.followingBufferedFrag(this.getBufferedFrag(e.currentTime)):null},enumerable:!0,configurable:!0}),n.prototype.followingBufferedFrag=function(e){return e?this.getBufferedFrag(e.endPTS+.5):null},Object.defineProperty(n.prototype,"nextLevel",{get:function(){var e=this.nextBufferedFrag;return e?e.level:-1},enumerable:!0,configurable:!0}),n.prototype._checkFragmentChanged=function(){var e,t,n=this.media;if(n&&n.readyState&&!1===n.seeking&&((t=n.currentTime)>this.lastCurrentTime&&(this.lastCurrentTime=t),o.BufferHelper.isBuffered(n,t)?e=this.getBufferedFrag(t):o.BufferHelper.isBuffered(n,t+.1)&&(e=this.getBufferedFrag(t+.1)),e)){var r=e;if(r!==this.fragPlaying){this.hls.trigger(s["default"].FRAG_CHANGED,{frag:r});var i=r.level;this.fragPlaying&&this.fragPlaying.level===i||this.hls.trigger(s["default"].LEVEL_SWITCHED,{level:i}),this.fragPlaying=r}}},n.prototype.immediateLevelSwitch=function(){if(A.logger.log("immediateLevelSwitch"),!this.immediateSwitch){this.immediateSwitch=!0;var t=this.media,n=void 0;t?(n=t.paused,t.pause()):n=!0,this.previouslyPaused=n}var r=this.fragCurrent;r&&r.loader&&r.loader.abort(),this.fragCurrent=null,this.flushMainBuffer(0,e.POSITIVE_INFINITY)},n.prototype.immediateLevelSwitchEnd=function(){var e=this.media;e&&e.buffered.length&&(this.immediateSwitch=!1,o.BufferHelper.isBuffered(e,e.currentTime)&&(e.currentTime-=1e-4),this.previouslyPaused||e.play())},n.prototype.nextLevelSwitch=function(){var t=this.media;if(t&&t.readyState){var n,r=void 0,i=void 0;if((n=this.getBufferedFrag(t.currentTime))&&n.startPTS>1&&this.flushMainBuffer(0,n.startPTS-1),t.paused)r=0;else{var o=this.hls.nextLoadLevel,a=this.levels[o],s=this.fragLastKbps;r=s&&this.fragCurrent?this.fragCurrent.duration*a.bitrate/(1e3*s)+1:0}if((i=this.getBufferedFrag(t.currentTime+r))&&(i=this.followingBufferedFrag(i))){var l=this.fragCurrent;l&&l.loader&&l.loader.abort(),this.fragCurrent=null,this.flushMainBuffer(i.maxStartPTS,e.POSITIVE_INFINITY)}}},n.prototype.flushMainBuffer=function(e,t){this.state=v.State.BUFFER_FLUSHING;var n={startOffset:e,endOffset:t};this.altAudio&&(n.type="video"),this.hls.trigger(s["default"].BUFFER_FLUSHING,n)},n.prototype.onMediaAttached=function(e){var t=this.media=this.mediaBuffer=e.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),this.onvended=this.onMediaEnded.bind(this),t.addEventListener("seeking",this.onvseeking),t.addEventListener("seeked",this.onvseeked),t.addEventListener("ended",this.onvended);var n=this.config;this.levels&&n.autoStartLoad&&this.hls.startLoad(n.startPosition),this.gapController=new m["default"](n,t,this.fragmentTracker,this.hls)},n.prototype.onMediaDetaching=function(){var e=this.media;e&&e.ended&&(A.logger.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0);var t=this.levels;t&&t.forEach(function(e){e.details&&e.details.fragments.forEach(function(e){e.backtracked=void 0})}),e&&(e.removeEventListener("seeking",this.onvseeking),e.removeEventListener("seeked",this.onvseeked),e.removeEventListener("ended",this.onvended),this.onvseeking=this.onvseeked=this.onvended=null),this.media=this.mediaBuffer=null,this.loadedmetadata=!1,this.stopLoad()},n.prototype.onMediaSeeked=function(){var t=this.media,n=t?t.currentTime:void 0;e.isFinite(n)&&A.logger.log("media seeked to "+n.toFixed(3)),this.tick()},n.prototype.onManifestLoading=function(){A.logger.log("trigger BUFFER_RESET"),this.hls.trigger(s["default"].BUFFER_RESET),this.fragmentTracker.removeAllFragments(),this.stalled=!1,this.startPosition=this.lastCurrentTime=0},n.prototype.onManifestParsed=function(e){var t,n=!1,r=!1;e.levels.forEach(function(e){(t=e.audioCodec)&&(-1!==t.indexOf("mp4a.40.2")&&(n=!0),-1!==t.indexOf("mp4a.40.5")&&(r=!0))}),this.audioCodecSwitch=n&&r,this.audioCodecSwitch&&A.logger.log("both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=e.levels,this.startFragRequested=!1;var i=this.config;(i.autoStartLoad||this.forceStartLoad)&&this.hls.startLoad(i.startPosition)},n.prototype.onLevelLoaded=function(t){var n=t.details,r=t.level,i=this.levels[this.levelLastLoaded],o=this.levels[r],a=n.totalduration,l=0;if(A.logger.log("level "+r+" loaded ["+n.startSN+","+n.endSN+"],duration:"+a),n.live){var c=o.details;c&&n.fragments.length>0?(d.mergeDetails(c,n),l=n.fragments[0].start,this.liveSyncPosition=this.computeLivePosition(l,c),n.PTSKnown&&e.isFinite(l)?A.logger.log("live playlist sliding:"+l.toFixed(3)):(A.logger.log("live playlist - outdated PTS, unknown sliding"),h.alignStream(this.fragPrevious,i,n))):(A.logger.log("live playlist - first load, unknown sliding"),n.PTSKnown=!1,h.alignStream(this.fragPrevious,i,n))}else n.PTSKnown=!1;if(o.details=n,this.levelLastLoaded=r,this.hls.trigger(s["default"].LEVEL_UPDATED,{details:n,level:r}),!1===this.startFragRequested){if(-1===this.startPosition||-1===this.lastCurrentTime){var u=n.startTimeOffset;e.isFinite(u)?(u<0&&(A.logger.log("negative start time offset "+u+", count from end of last fragment"),u=l+a+u),A.logger.log("start time offset found in playlist, adjust startPosition to "+u),this.startPosition=u):n.live?(this.startPosition=this.computeLivePosition(l,n),A.logger.log("configure startPosition to "+this.startPosition)):this.startPosition=0,this.lastCurrentTime=this.startPosition}this.nextLoadPosition=this.startPosition}this.state===v.State.WAITING_LEVEL&&(this.state=v.State.IDLE),this.tick()},n.prototype.onKeyLoaded=function(){this.state===v.State.KEY_LOADING&&(this.state=v.State.IDLE,this.tick())},n.prototype.onFragLoaded=function(e){var t=this.fragCurrent,n=this.hls,r=this.levels,i=this.media,o=e.frag;if(this.state===v.State.FRAG_LOADING&&t&&"main"===o.type&&o.level===t.level&&o.sn===t.sn){var l=e.stats,c=r[t.level],u=c.details;if(this.bitrateTest=!1,this.stats=l,A.logger.log("Loaded "+t.sn+" of ["+u.startSN+" ,"+u.endSN+"],level "+t.level),o.bitrateTest&&n.nextLoadLevel)this.state=v.State.IDLE,this.startFragRequested=!1,l.tparsed=l.tbuffered=window.performance.now(),n.trigger(s["default"].FRAG_BUFFERED,{stats:l,frag:t,id:"main"}),this.tick();else if("initSegment"===o.sn)this.state=v.State.IDLE,l.tparsed=l.tbuffered=window.performance.now(),u.initSegment.data=e.payload,n.trigger(s["default"].FRAG_BUFFERED,{stats:l,frag:t,id:"main"}),this.tick();else{A.logger.log("Parsing "+t.sn+" of ["+u.startSN+" ,"+u.endSN+"],level "+t.level+", cc "+t.cc),this.state=v.State.PARSING,this.pendingBuffering=!0,this.appended=!1,o.bitrateTest&&(o.bitrateTest=!1,this.fragmentTracker.onFragLoaded({frag:o}));var d=!(i&&i.seeking)&&(u.PTSKnown||!u.live),p=u.initSegment?u.initSegment.data:[],f=this._getAudioCodec(c);(this.demuxer=this.demuxer||new a["default"](this.hls,"main")).push(e.payload,p,f,c.videoCodec,t,u.totalduration,d)}}this.fragLoadError=0},n.prototype.onFragParsingInitSegment=function(e){var t=this.fragCurrent,n=e.frag;if(t&&"main"===e.id&&n.sn===t.sn&&n.level===t.level&&this.state===v.State.PARSING){var r=e.tracks,i=void 0,o=void 0;if(r.audio&&this.altAudio&&delete r.audio,o=r.audio){var a=this.levels[this.level].audioCodec,l=navigator.userAgent.toLowerCase();a&&this.audioCodecSwap&&(A.logger.log("swapping playlist audio codec"),a=-1!==a.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5"),this.audioCodecSwitch&&1!==o.metadata.channelCount&&-1===l.indexOf("firefox")&&(a="mp4a.40.5"),-1!==l.indexOf("android")&&"audio/mpeg"!==o.container&&(a="mp4a.40.2",A.logger.log("Android: force audio codec to "+a)),o.levelCodec=a,o.id=e.id}for(i in(o=r.video)&&(o.levelCodec=this.levels[this.level].videoCodec,o.id=e.id),this.hls.trigger(s["default"].BUFFER_CODECS,r),r){o=r[i],A.logger.log("main track:"+i+",container:"+o.container+",codecs[level/parsed]=["+o.levelCodec+"/"+o.codec+"]");var c=o.initSegment;c&&(this.appended=!0,this.pendingBuffering=!0,this.hls.trigger(s["default"].BUFFER_APPENDING,{type:i,data:c,parent:"main",content:"initSegment"}))}this.tick()}},n.prototype.onFragParsingData=function(t){var n=this,r=this.fragCurrent,i=t.frag;if(r&&"main"===t.id&&i.sn===r.sn&&i.level===r.level&&("audio"!==t.type||!this.altAudio)&&this.state===v.State.PARSING){var o=this.levels[this.level],a=r;if(e.isFinite(t.endPTS)||(t.endPTS=t.startPTS+r.duration,t.endDTS=t.startDTS+r.duration),!0===t.hasAudio&&a.addElementaryStream(c["default"].ElementaryStreamTypes.AUDIO),!0===t.hasVideo&&a.addElementaryStream(c["default"].ElementaryStreamTypes.VIDEO),A.logger.log("Parsed "+t.type+",PTS:["+t.startPTS.toFixed(3)+","+t.endPTS.toFixed(3)+"],DTS:["+t.startDTS.toFixed(3)+"/"+t.endDTS.toFixed(3)+"],nb:"+t.nb+",dropped:"+(t.dropped||0)),"video"===t.type)if(a.dropped=t.dropped,a.dropped)if(a.backtracked)A.logger.warn("Already backtracked on this fragment, appending with the gap",a.sn);else{var l=o.details;if(!l||a.sn!==l.startSN)return A.logger.warn("missing video frame(s), backtracking fragment",a.sn),this.fragmentTracker.removeFragment(a),a.backtracked=!0,this.nextLoadPosition=t.startPTS,this.state=v.State.IDLE,this.fragPrevious=a,void this.tick();A.logger.warn("missing video frame(s) on first frag, appending with gap",a.sn)}else a.backtracked=!1;var u=d.updateFragPTSDTS(o.details,a,t.startPTS,t.endPTS,t.startDTS,t.endDTS),p=this.hls;p.trigger(s["default"].LEVEL_PTS_UPDATED,{details:o.details,level:this.level,drift:u,type:t.type,start:t.startPTS,end:t.endPTS}),[t.data1,t.data2].forEach(function(e){e&&e.length&&n.state===v.State.PARSING&&(n.appended=!0,n.pendingBuffering=!0,p.trigger(s["default"].BUFFER_APPENDING,{type:t.type,data:e,parent:"main",content:"data"}))}),this.tick()}},n.prototype.onFragParsed=function(e){var t=this.fragCurrent,n=e.frag;t&&"main"===e.id&&n.sn===t.sn&&n.level===t.level&&this.state===v.State.PARSING&&(this.stats.tparsed=window.performance.now(),this.state=v.State.PARSED,this._checkAppendedParsed())},n.prototype.onAudioTrackSwitching=function(t){var n=!!t.url,r=t.id;if(!n){if(this.mediaBuffer!==this.media){A.logger.log("switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;var i=this.fragCurrent;i.loader&&(A.logger.log("switching to main audio track, cancel main fragment load"),i.loader.abort()),this.fragCurrent=null,this.fragPrevious=null,this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.state=v.State.IDLE}var o=this.hls;o.trigger(s["default"].BUFFER_FLUSHING,{startOffset:0,endOffset:e.POSITIVE_INFINITY,type:"audio"}),o.trigger(s["default"].AUDIO_TRACK_SWITCHED,{id:r}),this.altAudio=!1}},n.prototype.onAudioTrackSwitched=function(e){var t=e.id,n=!!this.hls.audioTracks[t].url;if(n){var r=this.videoBuffer;r&&this.mediaBuffer!==r&&(A.logger.log("switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=r)}this.altAudio=n,this.tick()},n.prototype.onBufferCreated=function(e){var t,n,r=e.tracks,i=!1;for(var o in r){var a=r[o];"main"===a.id?(n=o,t=a,"video"===o&&(this.videoBuffer=r[o].buffer)):i=!0}i&&t?(A.logger.log("alternate track found, use "+n+".buffered to schedule main fragment loading"),this.mediaBuffer=t.buffer):this.mediaBuffer=this.media},n.prototype.onBufferAppended=function(e){if("main"===e.parent){var t=this.state;t!==v.State.PARSING&&t!==v.State.PARSED||(this.pendingBuffering=e.pending>0,this._checkAppendedParsed())}},n.prototype._checkAppendedParsed=function(){if(!(this.state!==v.State.PARSED||this.appended&&this.pendingBuffering)){var e=this.fragCurrent;if(e){var t=this.mediaBuffer?this.mediaBuffer:this.media;A.logger.log("main buffered : "+p["default"].toString(t.buffered)),this.fragPrevious=e;var n=this.stats;n.tbuffered=window.performance.now(),this.fragLastKbps=Math.round(8*n.total/(n.tbuffered-n.tfirst)),this.hls.trigger(s["default"].FRAG_BUFFERED,{stats:n,frag:e,id:"main"}),this.state=v.State.IDLE}this.tick()}},n.prototype.onError=function(t){var n=t.frag||this.fragCurrent;if(!n||"main"===n.type){var r=!!this.media&&o.BufferHelper.isBuffered(this.media,this.media.currentTime)&&o.BufferHelper.isBuffered(this.media,this.media.currentTime+.5);switch(t.details){case f.ErrorDetails.FRAG_LOAD_ERROR:case f.ErrorDetails.FRAG_LOAD_TIMEOUT:case f.ErrorDetails.KEY_LOAD_ERROR:case f.ErrorDetails.KEY_LOAD_TIMEOUT:if(!t.fatal)if(this.fragLoadError+1<=this.config.fragLoadingMaxRetry){var i=Math.min(Math.pow(2,this.fragLoadError)*this.config.fragLoadingRetryDelay,this.config.fragLoadingMaxRetryTimeout);A.logger.warn("mediaController: frag loading failed, retry in "+i+" ms"),this.retryDate=window.performance.now()+i,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.fragLoadError++,this.state=v.State.FRAG_LOADING_WAITING_RETRY}else A.logger.error("mediaController: "+t.details+" reaches max retry, redispatch as fatal ..."),t.fatal=!0,this.state=v.State.ERROR;break;case f.ErrorDetails.LEVEL_LOAD_ERROR:case f.ErrorDetails.LEVEL_LOAD_TIMEOUT:this.state!==v.State.ERROR&&(t.fatal?(this.state=v.State.ERROR,A.logger.warn("streamController: "+t.details+",switch to "+this.state+" state ...")):t.levelRetry||this.state!==v.State.WAITING_LEVEL||(this.state=v.State.IDLE));break;case f.ErrorDetails.BUFFER_FULL_ERROR:"main"!==t.parent||this.state!==v.State.PARSING&&this.state!==v.State.PARSED||(r?(this._reduceMaxBufferLength(this.config.maxBufferLength),this.state=v.State.IDLE):(A.logger.warn("buffer full error also media.currentTime is not buffered, flush everything"),this.fragCurrent=null,this.flushMainBuffer(0,e.POSITIVE_INFINITY)))}}},n.prototype._reduceMaxBufferLength=function(e){var t=this.config;return t.maxMaxBufferLength>=e&&(t.maxMaxBufferLength/=2,A.logger.warn("main:reduce max buffer length to "+t.maxMaxBufferLength+"s"),!0)},n.prototype._checkBuffer=function(){var e=this.media;if(e&&0!==e.readyState){var t=(this.mediaBuffer?this.mediaBuffer:e).buffered;!this.loadedmetadata&&t.length?(this.loadedmetadata=!0,this._seekToStartPos()):this.immediateSwitch?this.immediateLevelSwitchEnd():this.gapController.poll(this.lastCurrentTime,t)}},n.prototype.onFragLoadEmergencyAborted=function(){this.state=v.State.IDLE,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tick()},n.prototype.onBufferFlushed=function(){var e=this.mediaBuffer?this.mediaBuffer:this.media;e&&this.fragmentTracker.detectEvictedFragments(c["default"].ElementaryStreamTypes.VIDEO,e.buffered),this.state=v.State.IDLE,this.fragPrevious=null},n.prototype.swapAudioCodec=function(){this.audioCodecSwap=!this.audioCodecSwap},n.prototype.computeLivePosition=function(e,t){var n=void 0!==this.config.liveSyncDuration?this.config.liveSyncDuration:this.config.liveSyncDurationCount*t.targetduration;return e+Math.max(0,t.totalduration-n)},n.prototype._seekToStartPos=function(){var e=this.media,t=e.currentTime,n=e.seeking?t:this.startPosition;t!==n&&(A.logger.log("target start position not buffered, seek to buffered.start(0) "+n+" from current time "+t+" "),e.currentTime=n)},n.prototype._getAudioCodec=function(e){var t=this.config.defaultAudioCodec||e.audioCodec;return this.audioCodecSwap&&(A.logger.log("swapping playlist audio codec"),t&&(t=-1!==t.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5")),t},Object.defineProperty(n.prototype,"liveSyncPosition",{get:function(){return this._liveSyncPosition},set:function(e){this._liveSyncPosition=e},enumerable:!0,configurable:!0}),n}(v["default"]);t["default"]=y}).call(this,n(2).Number)},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=n(32),i=n(1),o=n(18),a=n(0),s=n(3),l=n(12),c=n(6),u=n(22),d=c.getSelfScope(),p=l.getMediaSource(),f=function(){function t(e,t){var n=this;this.hls=e,this.id=t;var l=this.observer=new u.Observer,c=e.config,f=function(t,r){(r=r||{}).frag=n.frag,r.id=n.id,e.trigger(t,r)};l.on(i["default"].FRAG_DECRYPTED,f),l.on(i["default"].FRAG_PARSING_INIT_SEGMENT,f),l.on(i["default"].FRAG_PARSING_DATA,f),l.on(i["default"].FRAG_PARSED,f),l.on(i["default"].ERROR,f),l.on(i["default"].FRAG_PARSING_METADATA,f),l.on(i["default"].FRAG_PARSING_USERDATA,f),l.on(i["default"].INIT_PTS_FOUND,f);var A={mp4:p.isTypeSupported("video/mp4"),mpeg:p.isTypeSupported("audio/mpeg"),mp3:p.isTypeSupported('audio/mp4; codecs="mp3"')
},h=navigator.vendor;if(c.enableWorker&&"undefined"!=typeof Worker){a.logger.log("demuxing in webworker");var g=void 0;try{g=this.w=r(46),this.onwmsg=this.onWorkerMessage.bind(this),g.addEventListener("message",this.onwmsg),g.onerror=function(t){e.trigger(i["default"].ERROR,{type:s.ErrorTypes.OTHER_ERROR,details:s.ErrorDetails.INTERNAL_EXCEPTION,fatal:!0,event:"demuxerWorker",err:{message:t.message+" ("+t.filename+":"+t.lineno+")"}})},g.postMessage({cmd:"init",typeSupported:A,vendor:h,id:t,config:JSON.stringify(c)})}catch(e){a.logger.warn("Error in worker:",e),a.logger.error("Error while initializing DemuxerWorker, fallback on DemuxerInline"),g&&d.URL.revokeObjectURL(g.objectURL),this.demuxer=new o["default"](l,A,c,h),this.w=void 0}}else this.demuxer=new o["default"](l,A,c,h)}return t.prototype.destroy=function(){var e=this.w;if(e)e.removeEventListener("message",this.onwmsg),e.terminate(),this.w=null;else{var t=this.demuxer;t&&(t.destroy(),this.demuxer=null)}var n=this.observer;n&&(n.removeAllListeners(),this.observer=null)},t.prototype.push=function(t,n,r,i,o,s,l,c){var u=this.w,d=e.isFinite(o.startPTS)?o.startPTS:o.start,p=o.decryptdata,f=this.frag,A=!(f&&o.cc===f.cc),h=!(f&&o.level===f.level),g=f&&o.sn===f.sn+1,m=!h&&g;if(A&&a.logger.log(this.id+":discontinuity detected"),h&&a.logger.log(this.id+":switch detected"),this.frag=o,u)u.postMessage({cmd:"demux",data:t,decryptdata:p,initSegment:n,audioCodec:r,videoCodec:i,timeOffset:d,discontinuity:A,trackSwitch:h,contiguous:m,duration:s,accurateTimeOffset:l,defaultInitPTS:c},t instanceof ArrayBuffer?[t]:[]);else{var v=this.demuxer;v&&v.push(t,p,n,r,i,d,A,h,m,s,l,c)}},t.prototype.onWorkerMessage=function(e){var t=e.data,n=this.hls;switch(t.event){case"init":d.URL.revokeObjectURL(this.w.objectURL);break;case i["default"].FRAG_PARSING_DATA:t.data.data1=new Uint8Array(t.data1),t.data2&&(t.data.data2=new Uint8Array(t.data2));default:t.data=t.data||{},t.data.frag=this.frag,t.data.id=this.id,n.trigger(t.event,t.data)}},t}();t["default"]=f}).call(this,n(2).Number)},function(e,t,n){function r(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t.oe=function(e){throw console.error(e),e};var r=t(t.s=ENTRY_MODULE);return r["default"]||r}function i(e){return(e+"").replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function o(e){return!isNaN(1*e)}function a(e,t,r){var a={};a[r]=[];var s=t.toString(),u=s.match(/^function\s?\(\w+,\s*\w+,\s*(\w+)\)/);if(!u)return a;for(var d,p=u[1],f=new RegExp("(\\\\n|\\W)"+i(p)+c,"g");d=f.exec(s);)"dll-reference"!==d[3]&&a[r].push(d[3]);for(f=new RegExp("\\("+i(p)+'\\("(dll-reference\\s('+l+'))"\\)\\)'+c,"g");d=f.exec(s);)e[d[2]]||(a[r].push(d[1]),e[d[2]]=n(d[1]).m),a[d[2]]=a[d[2]]||[],a[d[2]].push(d[4]);for(var A=Object.keys(a),h=0;h<A.length;h++)for(var g=0;g<a[A[h]].length;g++)o(a[A[h]][g])&&(a[A[h]][g]=1*a[A[h]][g]);return a}function s(e){return Object.keys(e).reduce(function(t,n){return t||e[n].length>0},!1)}var l="[\\.|\\-|\\+|\\w|/|@]+",c="\\((/\\*.*?\\*/)?s?.*?("+l+").*?\\)";e.exports=function(e,t){t=t||{};var i={main:n.m},o=t.all?{main:Object.keys(i.main)}:function(e,t){for(var n={main:[t]},r={main:[]},i={main:{}};s(n);)for(var o=Object.keys(n),l=0;l<o.length;l++){var c=o[l],u=n[c].pop();if(i[c]=i[c]||{},!i[c][u]&&e[c][u]){i[c][u]=!0,r[c]=r[c]||[],r[c].push(u);for(var d=a(e,e[c][u],c),p=Object.keys(d),f=0;f<p.length;f++)n[p[f]]=n[p[f]]||[],n[p[f]]=n[p[f]].concat(d[p[f]])}}return r}(i,e),l="";Object.keys(o).filter(function(e){return"main"!==e}).forEach(function(e){for(var t=0;o[e][t];)t++;o[e].push(t),i[e][t]="(function(module, exports, __webpack_require__) { module.exports = __webpack_require__; })",l=l+"var "+e+" = ("+r.toString().replace("ENTRY_MODULE",JSON.stringify(t))+")({"+o[e].map(function(t){return JSON.stringify(t)+": "+i[e][t].toString()}).join(",")+"});\n"}),l=l+"new (("+r.toString().replace("ENTRY_MODULE",JSON.stringify(e))+")({"+o.main.map(function(e){return JSON.stringify(e)+": "+i.main[e].toString()}).join(",")+"}))(self);";var c=new window.Blob([l],{type:"text/javascript"});if(t.bare)return c;var u=(window.URL||window.webkitURL||window.mozURL||window.msURL).createObjectURL(c),d=new window.Worker(u);return d.objectURL=u,d}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){this.subtle=e,this.aesIV=t}return e.prototype.decrypt=function(e,t){return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},t,e)},e}();t["default"]=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){this.subtle=e,this.key=t}return e.prototype.expandKey=function(){return this.subtle.importKey("raw",this.key,{name:"AES-CBC"},!1,["encrypt","decrypt"])},e}();t["default"]=r},function(e,t,n){"use strict";function r(e){var t=e.byteLength,n=t&&new DataView(e).getUint8(t-1);return n?e.slice(0,t-n):e}Object.defineProperty(t,"__esModule",{value:!0}),t.removePadding=r;var i=function(){function e(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.initTable()}return e.prototype.uint8ArrayToUint32Array_=function(e){for(var t=new DataView(e),n=new Uint32Array(4),r=0;r<4;r++)n[r]=t.getUint32(4*r);return n},e.prototype.initTable=function(){var e=this.sBox,t=this.invSBox,n=this.subMix,r=n[0],i=n[1],o=n[2],a=n[3],s=this.invSubMix,l=s[0],c=s[1],u=s[2],d=s[3],p=new Uint32Array(256),f=0,A=0,h=0;for(h=0;h<256;h++)p[h]=h<128?h<<1:h<<1^283;for(h=0;h<256;h++){var g=A^A<<1^A<<2^A<<3^A<<4;g=g>>>8^255&g^99,e[f]=g,t[g]=f;var m=p[f],v=p[m],y=p[v],b=257*p[g]^16843008*g;r[f]=b<<24|b>>>8,i[f]=b<<16|b>>>16,o[f]=b<<8|b>>>24,a[f]=b,b=16843009*y^65537*v^257*m^16843008*f,l[g]=b<<24|b>>>8,c[g]=b<<16|b>>>16,u[g]=b<<8|b>>>24,d[g]=b,f?(f=m^p[p[p[y^m]]],A^=p[p[A]]):f=A=1}},e.prototype.expandKey=function(e){for(var t=this.uint8ArrayToUint32Array_(e),n=!0,r=0;r<t.length&&n;)n=t[r]===this.key[r],r++;if(!n){this.key=t;var i=this.keySize=t.length;if(4!==i&&6!==i&&8!==i)throw new Error("Invalid aes key size="+i);var o,a,s,l,c=this.ksRows=4*(i+6+1),u=this.keySchedule=new Uint32Array(c),d=this.invKeySchedule=new Uint32Array(c),p=this.sBox,f=this.rcon,A=this.invSubMix,h=A[0],g=A[1],m=A[2],v=A[3];for(o=0;o<c;o++)o<i?s=u[o]=t[o]:(l=s,o%i==0?(l=p[(l=l<<8|l>>>24)>>>24]<<24|p[l>>>16&255]<<16|p[l>>>8&255]<<8|p[255&l],l^=f[o/i|0]<<24):i>6&&o%i==4&&(l=p[l>>>24]<<24|p[l>>>16&255]<<16|p[l>>>8&255]<<8|p[255&l]),u[o]=s=(u[o-i]^l)>>>0);for(a=0;a<c;a++)o=c-a,l=3&a?u[o]:u[o-4],d[a]=a<4||o<=4?l:h[p[l>>>24]]^g[p[l>>>16&255]]^m[p[l>>>8&255]]^v[p[255&l]],d[a]=d[a]>>>0}},e.prototype.networkToHostOrderSwap=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},e.prototype.decrypt=function(e,t,n,i){for(var o,a,s,l,c,u,d,p,f,A,h,g,m,v,y=this.keySize+6,b=this.invKeySchedule,E=this.invSBox,w=this.invSubMix,T=w[0],S=w[1],x=w[2],_=w[3],M=this.uint8ArrayToUint32Array_(n),k=M[0],P=M[1],R=M[2],C=M[3],L=new Int32Array(e),B=new Int32Array(L.length),I=this.networkToHostOrderSwap;t<L.length;){for(f=I(L[t]),A=I(L[t+1]),h=I(L[t+2]),g=I(L[t+3]),c=f^b[0],u=g^b[1],d=h^b[2],p=A^b[3],m=4,v=1;v<y;v++)o=T[c>>>24]^S[u>>16&255]^x[d>>8&255]^_[255&p]^b[m],a=T[u>>>24]^S[d>>16&255]^x[p>>8&255]^_[255&c]^b[m+1],s=T[d>>>24]^S[p>>16&255]^x[c>>8&255]^_[255&u]^b[m+2],l=T[p>>>24]^S[c>>16&255]^x[u>>8&255]^_[255&d]^b[m+3],c=o,u=a,d=s,p=l,m+=4;o=E[c>>>24]<<24^E[u>>16&255]<<16^E[d>>8&255]<<8^E[255&p]^b[m],a=E[u>>>24]<<24^E[d>>16&255]<<16^E[p>>8&255]<<8^E[255&c]^b[m+1],s=E[d>>>24]<<24^E[p>>16&255]<<16^E[c>>8&255]<<8^E[255&u]^b[m+2],l=E[p>>>24]<<24^E[c>>16&255]<<16^E[u>>8&255]<<8^E[255&d]^b[m+3],m+=3,B[t]=I(o^k),B[t+1]=I(l^P),B[t+2]=I(s^R),B[t+3]=I(a^C),k=f,P=A,R=h,C=g,t+=4}return i?r(B.buffer):B.buffer},e.prototype.destroy=function(){this.key=void 0,this.keySize=void 0,this.ksRows=void 0,this.sBox=void 0,this.invSBox=void 0,this.subMix=void 0,this.invSubMix=void 0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.rcon=void 0},e}();t["default"]=i},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=n(20),i=n(0),o=n(11),a=function(){function t(e,t,n){this.observer=e,this.config=n,this.remuxer=t}return t.prototype.resetInitSegment=function(e,t,n,r){this._audioTrack={container:"audio/adts",type:"audio",id:0,sequenceNumber:0,isAAC:!0,samples:[],len:0,manifestCodec:t,duration:r,inputTimeScale:9e4}},t.prototype.resetTimeStamp=function(){},t.probe=function(e){if(!e)return!1;for(var t=(o["default"].getID3Data(e,0)||[]).length,n=e.length;t<n;t++)if(r.probe(e,t))return i.logger.log("ADTS sync word found !"),!0;return!1},t.prototype.append=function(t,n,a,s){for(var l=this._audioTrack,c=o["default"].getID3Data(t,0)||[],u=o["default"].getTimeStamp(c),d=e.isFinite(u)?90*u:9e4*n,p=0,f=d,A=t.length,h=c.length,g=[{pts:f,dts:f,data:c}];h<A-1;)if(r.isHeader(t,h)&&h+5<A){r.initTrackConfig(l,this.observer,t,h,l.manifestCodec);var m=r.appendFrame(l,t,h,d,p);if(!m){i.logger.log("Unable to parse AAC frame");break}h+=m.length,f=m.sample.pts,p++}else o["default"].isHeader(t,h)?(c=o["default"].getID3Data(t,h),g.push({pts:f,dts:f,data:c}),h+=c.length):h++;this.remuxer.remux(l,{samples:[]},{samples:g,inputTimeScale:9e4},{samples:[]},n,a,s)},t.prototype.destroy=function(){},t}();t["default"]=a}).call(this,n(2).Number)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20),i=n(21),o=n(1),a=n(38),s=n(39),l=n(0),c=n(3),u={video:1,audio:2,id3:3,text:4},d=function(){function e(e,t,n,r){this.observer=e,this.config=n,this.typeSupported=r,this.remuxer=t,this.sampleAes=null}return e.prototype.setDecryptData=function(e){null!=e&&null!=e.key&&"SAMPLE-AES"===e.method?this.sampleAes=new s["default"](this.observer,this.config,e,this.discardEPB):this.sampleAes=null},e.probe=function(t){var n=e._syncOffset(t);return!(n<0||(n&&l.logger.warn("MPEG2-TS detected but first sync word found @ offset "+n+", junk ahead ?"),0))},e._syncOffset=function(e){for(var t=Math.min(1e3,e.length-564),n=0;n<t;){if(71===e[n]&&71===e[n+188]&&71===e[n+376])return n;n++}return-1},e.createTrack=function(e,t){return{container:"video"===e||"audio"===e?"video/mp2t":void 0,type:e,id:u[e],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],len:0,dropped:"video"===e?0:void 0,isAAC:"audio"===e||void 0,duration:"audio"===e?t:void 0}},e.prototype.resetInitSegment=function(t,n,r,i){this.pmtParsed=!1,this._pmtId=-1,this._avcTrack=e.createTrack("video",i),this._audioTrack=e.createTrack("audio",i),this._id3Track=e.createTrack("id3",i),this._txtTrack=e.createTrack("text",i),this.aacOverFlow=null,this.aacLastPTS=null,this.avcSample=null,this.audioCodec=n,this.videoCodec=r,this._duration=i},e.prototype.resetTimeStamp=function(){},e.prototype.append=function(t,n,r,i){var a,s,u,d,p,f=t.length,A=!1;this.contiguous=r;var h=this.pmtParsed,g=this._avcTrack,m=this._audioTrack,v=this._id3Track,y=g.pid,b=m.pid,E=v.pid,w=this._pmtId,T=g.pesData,S=m.pesData,x=v.pesData,_=this._parsePAT,M=this._parsePMT,k=this._parsePES,P=this._parseAVCPES.bind(this),R=this._parseAACPES.bind(this),C=this._parseMPEGPES.bind(this),L=this._parseID3PES.bind(this),B=e._syncOffset(t);for(f-=(f+B)%188,a=B;a<f;a+=188)if(71===t[a]){if(s=!!(64&t[a+1]),u=((31&t[a+1])<<8)+t[a+2],(48&t[a+3])>>4>1){if((d=a+5+t[a+4])===a+188)continue}else d=a+4;switch(u){case y:s&&(T&&(p=k(T))&&void 0!==p.pts&&P(p,!1),T={data:[],size:0}),T&&(T.data.push(t.subarray(d,a+188)),T.size+=a+188-d);break;case b:s&&(S&&(p=k(S))&&void 0!==p.pts&&(m.isAAC?R(p):C(p)),S={data:[],size:0}),S&&(S.data.push(t.subarray(d,a+188)),S.size+=a+188-d);break;case E:s&&(x&&(p=k(x))&&void 0!==p.pts&&L(p),x={data:[],size:0}),x&&(x.data.push(t.subarray(d,a+188)),x.size+=a+188-d);break;case 0:s&&(d+=t[d]+1),w=this._pmtId=_(t,d);break;case w:s&&(d+=t[d]+1);var I=M(t,d,!0===this.typeSupported.mpeg||!0===this.typeSupported.mp3,null!=this.sampleAes);(y=I.avc)>0&&(g.pid=y),(b=I.audio)>0&&(m.pid=b,m.isAAC=I.isAAC),(E=I.id3)>0&&(v.pid=E),A&&!h&&(l.logger.log("reparse from beginning"),A=!1,a=B-188),h=this.pmtParsed=!0;break;case 17:case 8191:break;default:A=!0}}else this.observer.trigger(o["default"].ERROR,{type:c.ErrorTypes.MEDIA_ERROR,details:c.ErrorDetails.FRAG_PARSING_ERROR,fatal:!1,reason:"TS packet did not start with 0x47"});T&&(p=k(T))&&void 0!==p.pts?(P(p,!0),g.pesData=null):g.pesData=T,S&&(p=k(S))&&void 0!==p.pts?(m.isAAC?R(p):C(p),m.pesData=null):(S&&S.size&&l.logger.log("last AAC PES packet truncated,might overlap between fragments"),m.pesData=S),x&&(p=k(x))&&void 0!==p.pts?(L(p),v.pesData=null):v.pesData=x,null==this.sampleAes?this.remuxer.remux(m,g,v,this._txtTrack,n,r,i):this.decryptAndRemux(m,g,v,this._txtTrack,n,r,i)},e.prototype.decryptAndRemux=function(e,t,n,r,i,o,a){if(e.samples&&e.isAAC){var s=this;this.sampleAes.decryptAacSamples(e.samples,0,function(){s.decryptAndRemuxAvc(e,t,n,r,i,o,a)})}else this.decryptAndRemuxAvc(e,t,n,r,i,o,a)},e.prototype.decryptAndRemuxAvc=function(e,t,n,r,i,o,a){if(t.samples){var s=this;this.sampleAes.decryptAvcSamples(t.samples,0,0,function(){s.remuxer.remux(e,t,n,r,i,o,a)})}else this.remuxer.remux(e,t,n,r,i,o,a)},e.prototype.destroy=function(){this._initPTS=this._initDTS=void 0,this._duration=0},e.prototype._parsePAT=function(e,t){return(31&e[t+10])<<8|e[t+11]},e.prototype._parsePMT=function(e,t,n,r){var i,o,a={audio:-1,avc:-1,id3:-1,isAAC:!0};for(i=t+3+((15&e[t+1])<<8|e[t+2])-4,t+=12+((15&e[t+10])<<8|e[t+11]);t<i;){switch(o=(31&e[t+1])<<8|e[t+2],e[t]){case 207:if(!r){l.logger.log("unkown stream type:"+e[t]);break}case 15:-1===a.audio&&(a.audio=o);break;case 21:-1===a.id3&&(a.id3=o);break;case 219:if(!r){l.logger.log("unkown stream type:"+e[t]);break}case 27:-1===a.avc&&(a.avc=o);break;case 3:case 4:n?-1===a.audio&&(a.audio=o,a.isAAC=!1):l.logger.log("MPEG audio found, not supported in this browser for now");break;case 36:l.logger.warn("HEVC stream type found, not supported for now");break;default:l.logger.log("unkown stream type:"+e[t])}t+=5+((15&e[t+3])<<8|e[t+4])}return a},e.prototype._parsePES=function(e){var t,n,r,i,o,a,s,c,u=0,d=e.data;if(!e||0===e.size)return null;for(;d[0].length<19&&d.length>1;){var p=new Uint8Array(d[0].length+d[1].length);p.set(d[0]),p.set(d[1],d[0].length),d[0]=p,d.splice(1,1)}if(1===((t=d[0])[0]<<16)+(t[1]<<8)+t[2]){if((r=(t[4]<<8)+t[5])&&r>e.size-6)return null;192&(n=t[7])&&((a=536870912*(14&t[9])+4194304*(255&t[10])+16384*(254&t[11])+128*(255&t[12])+(254&t[13])/2)>4294967295&&(a-=8589934592),64&n?((s=536870912*(14&t[14])+4194304*(255&t[15])+16384*(254&t[16])+128*(255&t[17])+(254&t[18])/2)>4294967295&&(s-=8589934592),a-s>54e5&&(l.logger.warn(Math.round((a-s)/9e4)+"s delta between PTS and DTS, align them"),a=s)):s=a),c=(i=t[8])+9,e.size-=c,o=new Uint8Array(e.size);for(var f=0,A=d.length;f<A;f++){var h=(t=d[f]).byteLength;if(c){if(c>h){c-=h;continue}t=t.subarray(c),h-=c,c=0}o.set(t,u),u+=h}return r&&(r-=i+3),{data:o,pts:a,dts:s,len:r}}return null},e.prototype.pushAccesUnit=function(e,t){if(e.units.length&&e.frame){var n=t.samples,r=n.length;!this.config.forceKeyFrameOnDiscontinuity||!0===e.key||t.sps&&(r||this.contiguous)?(e.id=r,n.push(e)):t.dropped++}e.debug.length&&l.logger.log(e.pts+"/"+e.dts+":"+e.debug)},e.prototype._parseAVCPES=function(e,t){var n,r,i,o=this,s=this._avcTrack,l=this._parseAVCNALu(e.data),c=this.avcSample,u=!1,d=this.pushAccesUnit.bind(this),p=function(e,t,n,r){return{key:e,pts:t,dts:n,units:[],debug:r}};e.data=null,c&&l.length&&!s.audFound&&(d(c,s),c=this.avcSample=p(!1,e.pts,e.dts,"")),l.forEach(function(t){switch(t.type){case 1:r=!0,c||(c=o.avcSample=p(!0,e.pts,e.dts,"")),c.frame=!0;var l=t.data;if(u&&l.length>4){var f=new a["default"](l).readSliceType();2!==f&&4!==f&&7!==f&&9!==f||(c.key=!0)}break;case 5:r=!0,c||(c=o.avcSample=p(!0,e.pts,e.dts,"")),c.key=!0,c.frame=!0;break;case 6:r=!0,(n=new a["default"](o.discardEPB(t.data))).readUByte();for(var A=0,h=0,g=!1,m=0;!g&&n.bytesAvailable>1;){A=0;do A+=m=n.readUByte();while(255===m);h=0;do h+=m=n.readUByte();while(255===m);if(4===A&&0!==n.bytesAvailable){if(g=!0,181===n.readUByte()&&49===n.readUShort()&&1195456820===n.readUInt()&&3===n.readUByte()){var v=n.readUByte(),y=31&v,b=[v,n.readUByte()];for(i=0;i<y;i++)b.push(n.readUByte()),b.push(n.readUByte()),b.push(n.readUByte());o._insertSampleInOrder(o._txtTrack.samples,{type:3,pts:e.pts,bytes:b})}}else if(h<n.bytesAvailable)for(i=0;i<h;i++)n.readUByte()}break;case 7:if(r=!0,u=!0,!s.sps){var E=(n=new a["default"](t.data)).readSPS();s.width=E.width,s.height=E.height,s.pixelRatio=E.pixelRatio,s.sps=[t.data],s.duration=o._duration;var w=t.data.subarray(1,4),T="avc1.";for(i=0;i<3;i++){var S=w[i].toString(16);S.length<2&&(S="0"+S),T+=S}s.codec=T}break;case 8:r=!0,s.pps||(s.pps=[t.data]);break;case 9:r=!1,s.audFound=!0,c&&d(c,s),c=o.avcSample=p(!1,e.pts,e.dts,"");break;case 12:r=!1;break;default:r=!1,c&&(c.debug+="unknown NAL "+t.type+" ")}c&&r&&c.units.push(t)}),t&&c&&(d(c,s),this.avcSample=null)},e.prototype._insertSampleInOrder=function(e,t){var n=e.length;if(n>0){if(t.pts>=e[n-1].pts)e.push(t);else for(var r=n-1;r>=0;r--)if(t.pts<e[r].pts){e.splice(r,0,t);break}}else e.push(t)},e.prototype._getLastNalUnit=function(){var e,t=this.avcSample;if(!t||0===t.units.length){var n=this._avcTrack.samples;t=n[n.length-1]}if(t){var r=t.units;e=r[r.length-1]}return e},e.prototype._parseAVCNALu=function(e){var t,n,r,i,o=0,a=e.byteLength,s=this._avcTrack,l=s.naluState||0,c=l,u=[],d=-1;for(-1===l&&(d=0,i=31&e[0],l=0,o=1);o<a;)if(t=e[o++],l)if(1!==l)if(t)if(1===t){var p,f;d>=0?(r={data:e.subarray(d,o-l-1),type:i},u.push(r)):(p=this._getLastNalUnit())&&(c&&o<=4-c&&p.state&&(p.data=p.data.subarray(0,p.data.byteLength-c)),(n=o-l-1)>0&&((f=new Uint8Array(p.data.byteLength+n)).set(p.data,0),f.set(e.subarray(0,n),p.data.byteLength),p.data=f)),o<a?(d=o,i=31&e[o],l=0):l=-1}else l=0;else l=3;else l=t?0:2;else l=t?0:1;return d>=0&&l>=0&&(r={data:e.subarray(d,a),type:i,state:l},u.push(r)),0===u.length&&(p=this._getLastNalUnit())&&((f=new Uint8Array(p.data.byteLength+e.byteLength)).set(p.data,0),f.set(e,p.data.byteLength),p.data=f),s.naluState=l,u},e.prototype.discardEPB=function(e){for(var t,n,r=e.byteLength,i=[],o=1;o<r-2;)0===e[o]&&0===e[o+1]&&3===e[o+2]?(i.push(o+2),o+=2):o++;if(0===i.length)return e;t=r-i.length,n=new Uint8Array(t);var a=0;for(o=0;o<t;a++,o++)a===i[0]&&(a++,i.shift()),n[o]=e[a];return n},e.prototype._parseAACPES=function(e){var t,n,i,a,s,u=this._audioTrack,d=e.data,p=e.pts,f=this.aacOverFlow,A=this.aacLastPTS;if(f){var h=new Uint8Array(f.byteLength+d.byteLength);h.set(f,0),h.set(d,f.byteLength),d=h}for(i=0,s=d.length;i<s-1&&!r.isHeader(d,i);i++);if(i){var g=void 0,m=void 0;if(i<s-1?(g="AAC PES did not start with ADTS header,offset:"+i,m=!1):(g="no ADTS header found in AAC PES",m=!0),l.logger.warn("parsing error:"+g),this.observer.trigger(o["default"].ERROR,{type:c.ErrorTypes.MEDIA_ERROR,details:c.ErrorDetails.FRAG_PARSING_ERROR,fatal:m,reason:g}),m)return}if(r.initTrackConfig(u,this.observer,d,i,this.audioCodec),n=0,t=r.getFrameDuration(u.samplerate),f&&A){var v=A+t;Math.abs(v-p)>1&&(l.logger.log("AAC: align PTS for overlapping frames by "+Math.round((v-p)/90)),p=v)}for(;i<s;)if(r.isHeader(d,i)&&i+5<s){var y=r.appendFrame(u,d,i,p,n);if(!y)break;i+=y.length,a=y.sample.pts,n++}else i++;f=i<s?d.subarray(i,s):null,this.aacOverFlow=f,this.aacLastPTS=a},e.prototype._parseMPEGPES=function(e){for(var t=e.data,n=t.length,r=0,o=0,a=e.pts;o<n;)if(i["default"].isHeader(t,o)){var s=i["default"].appendFrame(this._audioTrack,t,o,a,r);if(!s)break;o+=s.length,r++}else o++},e.prototype._parseID3PES=function(e){this._id3Track.samples.push(e)},e}();t["default"]=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=function(){function e(e){this.data=e,this.bytesAvailable=e.byteLength,this.word=0,this.bitsAvailable=0}return e.prototype.loadWord=function(){var e=this.data,t=this.bytesAvailable,n=e.byteLength-t,r=new Uint8Array(4),i=Math.min(4,t);if(0===i)throw new Error("no bytes available");r.set(e.subarray(n,n+i)),this.word=new DataView(r.buffer).getUint32(0),this.bitsAvailable=8*i,this.bytesAvailable-=i},e.prototype.skipBits=function(e){var t;this.bitsAvailable>e?(this.word<<=e,this.bitsAvailable-=e):(e-=this.bitsAvailable,e-=(t=e>>3)>>3,this.bytesAvailable-=t,this.loadWord(),this.word<<=e,this.bitsAvailable-=e)},e.prototype.readBits=function(e){var t=Math.min(this.bitsAvailable,e),n=this.word>>>32-t;return e>32&&r.logger.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=t,this.bitsAvailable>0?this.word<<=t:this.bytesAvailable>0&&this.loadWord(),(t=e-t)>0&&this.bitsAvailable?n<<t|this.readBits(t):n},e.prototype.skipLZ=function(){var e;for(e=0;e<this.bitsAvailable;++e)if(0!=(this.word&2147483648>>>e))return this.word<<=e,this.bitsAvailable-=e,e;return this.loadWord(),e+this.skipLZ()},e.prototype.skipUEG=function(){this.skipBits(1+this.skipLZ())},e.prototype.skipEG=function(){this.skipBits(1+this.skipLZ())},e.prototype.readUEG=function(){var e=this.skipLZ();return this.readBits(e+1)-1},e.prototype.readEG=function(){var e=this.readUEG();return 1&e?1+e>>>1:-1*(e>>>1)},e.prototype.readBoolean=function(){return 1===this.readBits(1)},e.prototype.readUByte=function(){return this.readBits(8)},e.prototype.readUShort=function(){return this.readBits(16)},e.prototype.readUInt=function(){return this.readBits(32)},e.prototype.skipScalingList=function(e){var t,n=8,r=8;for(t=0;t<e;t++)0!==r&&(r=(n+this.readEG()+256)%256),n=0===r?n:r},e.prototype.readSPS=function(){var e,t,n,r,i,o,a,s=0,l=0,c=0,u=0,d=this.readUByte.bind(this),p=this.readBits.bind(this),f=this.readUEG.bind(this),A=this.readBoolean.bind(this),h=this.skipBits.bind(this),g=this.skipEG.bind(this),m=this.skipUEG.bind(this),v=this.skipScalingList.bind(this);if(d(),e=d(),p(5),h(3),d(),m(),100===e||110===e||122===e||244===e||44===e||83===e||86===e||118===e||128===e){var y=f();if(3===y&&h(1),m(),m(),h(1),A())for(o=3!==y?8:12,a=0;a<o;a++)A()&&v(a<6?16:64)}m();var b=f();if(0===b)f();else if(1===b)for(h(1),g(),g(),t=f(),a=0;a<t;a++)g();m(),h(1),n=f(),r=f(),0===(i=p(1))&&h(1),h(1),A()&&(s=f(),l=f(),c=f(),u=f());var E=[1,1];if(A()&&A())switch(d()){case 1:E=[1,1];break;case 2:E=[12,11];break;case 3:E=[10,11];break;case 4:E=[16,11];break;case 5:E=[40,33];break;case 6:E=[24,11];break;case 7:E=[20,11];break;case 8:E=[32,11];break;case 9:E=[80,33];break;case 10:E=[18,11];break;case 11:E=[15,11];break;case 12:E=[64,33];break;case 13:E=[160,99];break;case 14:E=[4,3];break;case 15:E=[3,2];break;case 16:E=[2,1];break;case 255:E=[d()<<8|d(),d()<<8|d()]}return{width:Math.ceil(16*(n+1)-2*s-2*l),height:(2-i)*(r+1)*16-(i?2:4)*(c+u),pixelRatio:E}},e.prototype.readSliceType=function(){return this.readUByte(),this.readUEG(),this.readUEG()},e}();t["default"]=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),i=function(){function e(e,t,n,i){this.decryptdata=n,this.discardEPB=i,this.decrypter=new r["default"](e,t,{removePKCS7Padding:!1})}return e.prototype.decryptBuffer=function(e,t){this.decrypter.decrypt(e,this.decryptdata.key.buffer,this.decryptdata.iv.buffer,t)},e.prototype.decryptAacSample=function(e,t,n,r){var i=e[t].unit,o=i.subarray(16,i.length-i.length%16),a=o.buffer.slice(o.byteOffset,o.byteOffset+o.length),s=this;this.decryptBuffer(a,function(o){o=new Uint8Array(o),i.set(o,16),r||s.decryptAacSamples(e,t+1,n)})},e.prototype.decryptAacSamples=function(e,t,n){for(;;t++){if(t>=e.length)return void n();if(!(e[t].unit.length<32)){var r=this.decrypter.isSync();if(this.decryptAacSample(e,t,n,r),!r)return}}},e.prototype.getAvcEncryptedData=function(e){for(var t=16*Math.floor((e.length-48)/160)+16,n=new Int8Array(t),r=0,i=32;i<=e.length-16;i+=160,r+=16)n.set(e.subarray(i,i+16),r);return n},e.prototype.getAvcDecryptedUnit=function(e,t){t=new Uint8Array(t);for(var n=0,r=32;r<=e.length-16;r+=160,n+=16)e.set(t.subarray(n,n+16),r);return e},e.prototype.decryptAvcSample=function(e,t,n,r,i,o){var a=this.discardEPB(i.data),s=this.getAvcEncryptedData(a),l=this;this.decryptBuffer(s.buffer,function(s){i.data=l.getAvcDecryptedUnit(a,s),o||l.decryptAvcSamples(e,t,n+1,r)})},e.prototype.decryptAvcSamples=function(e,t,n,r){for(;;t++,n=0){if(t>=e.length)return void r();for(var i=e[t].units;!(n>=i.length);n++){var o=i[n];if(!(o.length<=48||1!==o.type&&5!==o.type)){var a=this.decrypter.isSync();if(this.decryptAvcSample(e,t,n,r,o,a),!a)return}}}},e}();t["default"]=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11),i=n(0),o=n(21),a=function(){function e(e,t,n){this.observer=e,this.config=n,this.remuxer=t}return e.prototype.resetInitSegment=function(e,t,n,r){this._audioTrack={container:"audio/mpeg",type:"audio",id:-1,sequenceNumber:0,isAAC:!1,samples:[],len:0,manifestCodec:t,duration:r,inputTimeScale:9e4}},e.prototype.resetTimeStamp=function(){},e.probe=function(e){var t,n,a=r["default"].getID3Data(e,0);if(a&&void 0!==r["default"].getTimeStamp(a))for(t=a.length,n=Math.min(e.length-1,t+100);t<n;t++)if(o["default"].probe(e,t))return i.logger.log("MPEG Audio sync word found !"),!0;return!1},e.prototype.append=function(e,t,n,i){for(var a=r["default"].getID3Data(e,0),s=r["default"].getTimeStamp(a),l=s?90*s:9e4*t,c=a.length,u=e.length,d=0,p=0,f=this._audioTrack,A=[{pts:l,dts:l,data:a}];c<u;)if(o["default"].isHeader(e,c)){var h=o["default"].appendFrame(f,e,c,l,d);if(!h)break;c+=h.length,p=h.sample.pts,d++}else r["default"].isHeader(e,c)?(a=r["default"].getID3Data(e,c),A.push({pts:p,dts:p,data:a}),c+=a.length):c++;this.remuxer.remux(f,{samples:[]},{samples:A,inputTimeScale:9e4},{samples:[]},t,n,i)},e.prototype.destroy=function(){},e}();t["default"]=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(42),i=n(43),o=n(1),a=n(3),s=n(0),l=function(){function e(e,t,n,r){this.observer=e,this.config=t,this.typeSupported=n;var i=navigator.userAgent;this.isSafari=r&&r.indexOf("Apple")>-1&&i&&!i.match("CriOS"),this.ISGenerated=!1}return e.prototype.destroy=function(){},e.prototype.resetTimeStamp=function(e){this._initPTS=this._initDTS=e},e.prototype.resetInitSegment=function(){this.ISGenerated=!1},e.prototype.remux=function(e,t,n,r,i,a,l){if(this.ISGenerated||this.generateIS(e,t,i),this.ISGenerated){var c=e.samples.length,u=t.samples.length,d=i,p=i;if(c&&u){var f=(e.samples[0].pts-t.samples[0].pts)/t.inputTimeScale;d+=Math.max(0,f),p+=Math.max(0,-f)}if(c){e.timescale||(s.logger.warn("regenerate InitSegment as audio detected"),this.generateIS(e,t,i));var A=this.remuxAudio(e,d,a,l);if(u){var h=void 0;A&&(h=A.endPTS-A.startPTS),t.timescale||(s.logger.warn("regenerate InitSegment as video detected"),this.generateIS(e,t,i)),this.remuxVideo(t,p,a,h,l)}}else if(u){var g=this.remuxVideo(t,p,a,0,l);g&&e.codec&&this.remuxEmptyAudio(e,d,a,g)}}n.samples.length&&this.remuxID3(n,i),r.samples.length&&this.remuxText(r,i),this.observer.trigger(o["default"].FRAG_PARSED)},e.prototype.generateIS=function(e,t,n){var r,l,c=this.observer,u=e.samples,d=t.samples,p=this.typeSupported,f="audio/mp4",A={},h={tracks:A},g=void 0===this._initPTS;if(g&&(r=l=1/0),e.config&&u.length&&(e.timescale=e.samplerate,s.logger.log("audio sampling rate : "+e.samplerate),e.isAAC||(p.mpeg?(f="audio/mpeg",e.codec=""):p.mp3&&(e.codec="mp3")),A.audio={container:f,codec:e.codec,initSegment:!e.isAAC&&p.mpeg?new Uint8Array:i["default"].initSegment([e]),metadata:{channelCount:e.channelCount}},g&&(r=l=u[0].pts-e.inputTimeScale*n)),t.sps&&t.pps&&d.length){var m=t.inputTimeScale;t.timescale=m,A.video={container:"video/mp4",codec:t.codec,initSegment:i["default"].initSegment([t]),metadata:{width:t.width,height:t.height}},g&&(r=Math.min(r,d[0].pts-m*n),l=Math.min(l,d[0].dts-m*n),this.observer.trigger(o["default"].INIT_PTS_FOUND,{initPTS:r}))}Object.keys(A).length?(c.trigger(o["default"].FRAG_PARSING_INIT_SEGMENT,h),this.ISGenerated=!0,g&&(this._initPTS=r,this._initDTS=l)):c.trigger(o["default"].ERROR,{type:a.ErrorTypes.MEDIA_ERROR,details:a.ErrorDetails.FRAG_PARSING_ERROR,fatal:!1,reason:"no audio/video samples found"})},e.prototype.remuxVideo=function(e,t,n,r,l){var c,u,d,p,f,A,h,g=8,m=e.timescale,v=e.samples,y=[],b=v.length,E=this._PTSNormalize,w=this._initPTS,T=this.nextAvcDts,S=this.isSafari;if(0!==b){S&&(n|=v.length&&T&&(l&&Math.abs(t-T/m)<.1||Math.abs(v[0].pts-T-w)<m/5)),n||(T=t*m),v.forEach(function(e){e.pts=E(e.pts-w,T),e.dts=E(e.dts-w,T)}),v.sort(function(e,t){var n=e.dts-t.dts,r=e.pts-t.pts;return n||r||e.id-t.id});var x=v.reduce(function(e,t){return Math.max(Math.min(e,t.pts-t.dts),-18e3)},0);if(x<0){s.logger.warn("PTS < DTS detected in video samples, shifting DTS by "+Math.round(x/90)+" ms to overcome this issue");for(var _=0;_<v.length;_++)v[_].dts+=x}var M=v[0];f=Math.max(M.dts,0),p=Math.max(M.pts,0);var k=Math.round((f-T)/90);n&&k&&(k>1?s.logger.log("AVC:"+k+" ms hole between fragments detected,filling it"):k<-1&&s.logger.log("AVC:"+-k+" ms overlapping between fragments detected"),f=T,v[0].dts=f,p=Math.max(p-k,T),v[0].pts=p,s.logger.log("Video/PTS/DTS adjusted: "+Math.round(p/90)+"/"+Math.round(f/90)+",delta:"+k+" ms")),M=v[v.length-1],h=Math.max(M.dts,0),A=Math.max(M.pts,0,h),S&&(c=Math.round((h-f)/(v.length-1)));var P=0,R=0;for(_=0;_<b;_++){for(var C=v[_],L=C.units,B=L.length,I=0,D=0;D<B;D++)I+=L[D].data.length;R+=I,P+=B,C.length=I,C.dts=S?f+_*c:Math.max(C.dts,f),C.pts=Math.max(C.pts,C.dts)}var O=R+4*P+8;try{u=new Uint8Array(O)}catch(e){return void this.observer.trigger(o["default"].ERROR,{type:a.ErrorTypes.MUX_ERROR,details:a.ErrorDetails.REMUX_ALLOC_ERROR,fatal:!1,bytes:O,reason:"fail allocating video mdat "+O})}var U=new DataView(u.buffer);for(U.setUint32(0,O),u.set(i["default"].types.mdat,4),_=0;_<b;_++){var H=v[_],N=H.units,F=0,G=void 0;for(D=0,B=N.length;D<B;D++){var z=N[D],Y=z.data,V=z.data.byteLength;U.setUint32(g,V),g+=4,u.set(Y,g),g+=V,F+=4+V}if(S)G=Math.max(0,c*Math.round((H.pts-H.dts)/c));else{if(_<b-1)c=v[_+1].dts-H.dts;else{var Q=this.config,K=H.dts-v[_>0?_-1:_].dts;if(Q.stretchShortVideoTrack){var j=Q.maxBufferHole,q=Math.floor(j*m),W=(r?p+r*m:this.nextAudioPts)-H.pts;W>q?((c=W-K)<0&&(c=K),s.logger.log("It is approximately "+W/90+" ms to the next segment; using duration "+c/90+" ms for the last video frame.")):c=K}else c=K}G=Math.round(H.pts-H.dts)}y.push({size:F,duration:c,cts:G,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:H.key?2:1,isNonSync:H.key?0:1}})}this.nextAvcDts=h+c;var J=e.dropped;if(e.len=0,e.nbNalu=0,e.dropped=0,y.length&&navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var X=y[0].flags;X.dependsOn=2,X.isNonSync=0}e.samples=y,d=i["default"].moof(e.sequenceNumber++,f,e),e.samples=[];var Z={data1:d,data2:u,startPTS:p/m,endPTS:(A+c)/m,startDTS:f/m,endDTS:this.nextAvcDts/m,type:"video",hasAudio:!1,hasVideo:!0,nb:y.length,dropped:J};return this.observer.trigger(o["default"].FRAG_PARSING_DATA,Z),Z}},e.prototype.remuxAudio=function(e,t,n,l){var c,u,d,p,f,A,h,g=e.inputTimeScale,m=e.timescale,v=g/m,y=(e.isAAC?1024:1152)*v,b=this._PTSNormalize,E=this._initPTS,w=!e.isAAC&&this.typeSupported.mpeg,T=e.samples,S=[],x=this.nextAudioPts;if(n|=T.length&&x&&(l&&Math.abs(t-x/g)<.1||Math.abs(T[0].pts-x-E)<20*y),T.forEach(function(e){e.pts=e.dts=b(e.pts-E,t*g)}),0!==(T=T.filter(function(e){return e.pts>=0})).length){if(n||(x=l?t*g:T[0].pts),e.isAAC)for(var _=this.config.maxAudioFramesDrift,M=0,k=x;M<T.length;){var P,R=T[M];P=(H=R.pts)-k;
var C=Math.abs(1e3*P/g);if(P<=-_*y)s.logger.warn("Dropping 1 audio frame @ "+(k/g).toFixed(3)+"s due to "+Math.round(C)+" ms overlap."),T.splice(M,1),e.len-=R.unit.length;else if(P>=_*y&&C<1e4&&k){var L=Math.round(P/y);s.logger.warn("Injecting "+L+" audio frame @ "+(k/g).toFixed(3)+"s due to "+Math.round(1e3*P/g)+" ms gap.");for(var B=0;B<L;B++){var I=Math.max(k,0);(d=r["default"].getSilentFrame(e.manifestCodec||e.codec,e.channelCount))||(s.logger.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),d=R.unit.subarray()),T.splice(M,0,{unit:d,pts:I,dts:I}),e.len+=d.length,k+=y,M++}R.pts=R.dts=k,k+=y,M++}else Math.abs(P),R.pts=R.dts=k,k+=y,M++}B=0;for(var D=T.length;B<D;B++){var O=T[B],U=O.unit,H=O.pts;if(void 0!==h)u.duration=Math.round((H-h)/v);else{var N=Math.round(1e3*(H-x)/g),F=0;if(n&&e.isAAC&&N){if(N>0&&N<1e4)F=Math.round((H-x)/y),s.logger.log(N+" ms hole between AAC samples detected,filling it"),F>0&&((d=r["default"].getSilentFrame(e.manifestCodec||e.codec,e.channelCount))||(d=U.subarray()),e.len+=F*d.length);else if(N<-12){s.logger.log("drop overlapping AAC sample, expected/parsed/delta:"+(x/g).toFixed(3)+"s/"+(H/g).toFixed(3)+"s/"+-N+"ms"),e.len-=U.byteLength;continue}H=x}if(A=H,!(e.len>0))return;var G=w?e.len:e.len+8;c=w?0:8;try{p=new Uint8Array(G)}catch(e){return void this.observer.trigger(o["default"].ERROR,{type:a.ErrorTypes.MUX_ERROR,details:a.ErrorDetails.REMUX_ALLOC_ERROR,fatal:!1,bytes:G,reason:"fail allocating audio mdat "+G})}for(w||(new DataView(p.buffer).setUint32(0,G),p.set(i["default"].types.mdat,4)),M=0;M<F;M++)(d=r["default"].getSilentFrame(e.manifestCodec||e.codec,e.channelCount))||(s.logger.log("Unable to get silent frame for given audio codec; duplicating this frame instead."),d=U.subarray()),p.set(d,c),c+=d.byteLength,u={size:d.byteLength,cts:0,duration:1024,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},S.push(u)}p.set(U,c);var z=U.byteLength;c+=z,u={size:z,cts:0,duration:0,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},S.push(u),h=H}var Y=0,V=S.length;if(V>=2&&(Y=S[V-2].duration,u.duration=Y),V){this.nextAudioPts=x=h+v*Y,e.len=0,e.samples=S,f=w?new Uint8Array:i["default"].moof(e.sequenceNumber++,A/v,e),e.samples=[];var Q=A/g,K=x/g,j={data1:f,data2:p,startPTS:Q,endPTS:K,startDTS:Q,endDTS:K,type:"audio",hasAudio:!0,hasVideo:!1,nb:V};return this.observer.trigger(o["default"].FRAG_PARSING_DATA,j),j}return null}},e.prototype.remuxEmptyAudio=function(e,t,n,i){var o=e.inputTimeScale,a=o/(e.samplerate?e.samplerate:o),l=this.nextAudioPts,c=(void 0!==l?l:i.startDTS*o)+this._initDTS,u=i.endDTS*o+this._initDTS,d=1024*a,p=Math.ceil((u-c)/d),f=r["default"].getSilentFrame(e.manifestCodec||e.codec,e.channelCount);if(s.logger.warn("remux empty Audio"),f){for(var A=[],h=0;h<p;h++){var g=c+h*d;A.push({unit:f,pts:g,dts:g}),e.len+=f.length}e.samples=A,this.remuxAudio(e,t,n)}else s.logger.trace("Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec!")},e.prototype.remuxID3=function(e){var t,n=e.samples.length,r=e.inputTimeScale,i=this._initPTS,a=this._initDTS;if(n){for(var s=0;s<n;s++)(t=e.samples[s]).pts=(t.pts-i)/r,t.dts=(t.dts-a)/r;this.observer.trigger(o["default"].FRAG_PARSING_METADATA,{samples:e.samples})}e.samples=[]},e.prototype.remuxText=function(e){e.samples.sort(function(e,t){return e.pts-t.pts});var t,n=e.samples.length,r=e.inputTimeScale,i=this._initPTS;if(n){for(var a=0;a<n;a++)(t=e.samples[a]).pts=(t.pts-i)/r;this.observer.trigger(o["default"].FRAG_PARSING_USERDATA,{samples:e.samples})}e.samples=[]},e.prototype._PTSNormalize=function(e,t){var n;if(void 0===t)return e;for(n=t<e?-8589934592:8589934592;Math.abs(e-t)>4294967296;)e+=n;return e},e}();t["default"]=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.getSilentFrame=function(e,t){switch(e){case"mp4a.40.2":if(1===t)return new Uint8Array([0,200,0,128,35,128]);if(2===t)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===t)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===t)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]);break;default:if(1===t)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===t)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===t)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])}return null},e}();t["default"]=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Math.pow(2,32)-1,i=function(){function e(){}return e.init=function(){var t;for(t in e.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]},e.types)e.types.hasOwnProperty(t)&&(e.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);var n=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),r=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);e.HDLR_TYPES={video:n,audio:r};var i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),o=new Uint8Array([0,0,0,0,0,0,0,0]);e.STTS=e.STSC=e.STCO=o,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);var a=new Uint8Array([105,115,111,109]),s=new Uint8Array([97,118,99,49]),l=new Uint8Array([0,0,0,1]);e.FTYP=e.box(e.types.ftyp,a,l,a,s),e.DINF=e.box(e.types.dinf,e.box(e.types.dref,i))},e.box=function(e){for(var t,n=Array.prototype.slice.call(arguments,1),r=8,i=n.length,o=i;i--;)r+=n[i].byteLength;for((t=new Uint8Array(r))[0]=r>>24&255,t[1]=r>>16&255,t[2]=r>>8&255,t[3]=255&r,t.set(e,4),i=0,r=8;i<o;i++)t.set(n[i],r),r+=n[i].byteLength;return t},e.hdlr=function(t){return e.box(e.types.hdlr,e.HDLR_TYPES[t])},e.mdat=function(t){return e.box(e.types.mdat,t)},e.mdhd=function(t,n){n*=t;var i=Math.floor(n/(r+1)),o=Math.floor(n%(r+1));return e.box(e.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,255&t,i>>24,i>>16&255,i>>8&255,255&i,o>>24,o>>16&255,o>>8&255,255&o,85,196,0,0]))},e.mdia=function(t){return e.box(e.types.mdia,e.mdhd(t.timescale,t.duration),e.hdlr(t.type),e.minf(t))},e.mfhd=function(t){return e.box(e.types.mfhd,new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,255&t]))},e.minf=function(t){return"audio"===t.type?e.box(e.types.minf,e.box(e.types.smhd,e.SMHD),e.DINF,e.stbl(t)):e.box(e.types.minf,e.box(e.types.vmhd,e.VMHD),e.DINF,e.stbl(t))},e.moof=function(t,n,r){return e.box(e.types.moof,e.mfhd(t),e.traf(r,n))},e.moov=function(t){for(var n=t.length,r=[];n--;)r[n]=e.trak(t[n]);return e.box.apply(null,[e.types.moov,e.mvhd(t[0].timescale,t[0].duration)].concat(r).concat(e.mvex(t)))},e.mvex=function(t){for(var n=t.length,r=[];n--;)r[n]=e.trex(t[n]);return e.box.apply(null,[e.types.mvex].concat(r))},e.mvhd=function(t,n){n*=t;var i=Math.floor(n/(r+1)),o=Math.floor(n%(r+1)),a=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,255&t,i>>24,i>>16&255,i>>8&255,255&i,o>>24,o>>16&255,o>>8&255,255&o,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return e.box(e.types.mvhd,a)},e.sdtp=function(t){var n,r,i=t.samples||[],o=new Uint8Array(4+i.length);for(r=0;r<i.length;r++)n=i[r].flags,o[r+4]=n.dependsOn<<4|n.isDependedOn<<2|n.hasRedundancy;return e.box(e.types.sdtp,o)},e.stbl=function(t){return e.box(e.types.stbl,e.stsd(t),e.box(e.types.stts,e.STTS),e.box(e.types.stsc,e.STSC),e.box(e.types.stsz,e.STSZ),e.box(e.types.stco,e.STCO))},e.avc1=function(t){var n,r,i,o=[],a=[];for(n=0;n<t.sps.length;n++)i=(r=t.sps[n]).byteLength,o.push(i>>>8&255),o.push(255&i),o=o.concat(Array.prototype.slice.call(r));for(n=0;n<t.pps.length;n++)i=(r=t.pps[n]).byteLength,a.push(i>>>8&255),a.push(255&i),a=a.concat(Array.prototype.slice.call(r));var s=e.box(e.types.avcC,new Uint8Array([1,o[3],o[4],o[5],255,224|t.sps.length].concat(o).concat([t.pps.length]).concat(a))),l=t.width,c=t.height,u=t.pixelRatio[0],d=t.pixelRatio[1];return e.box(e.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,l>>8&255,255&l,c>>8&255,255&c,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),s,e.box(e.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),e.box(e.types.pasp,new Uint8Array([u>>24,u>>16&255,u>>8&255,255&u,d>>24,d>>16&255,d>>8&255,255&d])))},e.esds=function(e){var t=e.config.length;return new Uint8Array([0,0,0,0,3,23+t,0,1,0,4,15+t,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([t]).concat(e.config).concat([6,1,2]))},e.mp4a=function(t){var n=t.samplerate;return e.box(e.types.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t.channelCount,0,16,0,0,0,0,n>>8&255,255&n,0,0]),e.box(e.types.esds,e.esds(t)))},e.mp3=function(t){var n=t.samplerate;return e.box(e.types[".mp3"],new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t.channelCount,0,16,0,0,0,0,n>>8&255,255&n,0,0]))},e.stsd=function(t){return"audio"===t.type?t.isAAC||"mp3"!==t.codec?e.box(e.types.stsd,e.STSD,e.mp4a(t)):e.box(e.types.stsd,e.STSD,e.mp3(t)):e.box(e.types.stsd,e.STSD,e.avc1(t))},e.tkhd=function(t){var n=t.id,i=t.duration*t.timescale,o=t.width,a=t.height,s=Math.floor(i/(r+1)),l=Math.floor(i%(r+1));return e.box(e.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,n>>24&255,n>>16&255,n>>8&255,255&n,0,0,0,0,s>>24,s>>16&255,s>>8&255,255&s,l>>24,l>>16&255,l>>8&255,255&l,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,o>>8&255,255&o,0,0,a>>8&255,255&a,0,0]))},e.traf=function(t,n){var i=e.sdtp(t),o=t.id,a=Math.floor(n/(r+1)),s=Math.floor(n%(r+1));return e.box(e.types.traf,e.box(e.types.tfhd,new Uint8Array([0,0,0,0,o>>24,o>>16&255,o>>8&255,255&o])),e.box(e.types.tfdt,new Uint8Array([1,0,0,0,a>>24,a>>16&255,a>>8&255,255&a,s>>24,s>>16&255,s>>8&255,255&s])),e.trun(t,i.length+16+20+8+16+8+8),i)},e.trak=function(t){return t.duration=t.duration||4294967295,e.box(e.types.trak,e.tkhd(t),e.mdia(t))},e.trex=function(t){var n=t.id;return e.box(e.types.trex,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,255&n,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))},e.trun=function(t,n){var r,i,o,a,s,l,c=t.samples||[],u=c.length,d=12+16*u,p=new Uint8Array(d);for(n+=8+d,p.set([0,0,15,1,u>>>24&255,u>>>16&255,u>>>8&255,255&u,n>>>24&255,n>>>16&255,n>>>8&255,255&n],0),r=0;r<u;r++)o=(i=c[r]).duration,a=i.size,s=i.flags,l=i.cts,p.set([o>>>24&255,o>>>16&255,o>>>8&255,255&o,a>>>24&255,a>>>16&255,a>>>8&255,255&a,s.isLeading<<2|s.dependsOn,s.isDependedOn<<6|s.hasRedundancy<<4|s.paddingValue<<1|s.isNonSync,61440&s.degradPrio,15&s.degradPrio,l>>>24&255,l>>>16&255,l>>>8&255,255&l],12+16*r);return e.box(e.types.trun,p)},e.initSegment=function(t){e.types||e.init();var n,r=e.moov(t);return(n=new Uint8Array(e.FTYP.byteLength+r.byteLength)).set(e.FTYP),n.set(r,e.FTYP.byteLength),n},e}();t["default"]=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e){this.observer=e}return e.prototype.destroy=function(){},e.prototype.resetTimeStamp=function(){},e.prototype.resetInitSegment=function(){},e.prototype.remux=function(e,t,n,i,o,a,s,l){var c=this.observer,u="";e&&(u+="audio"),t&&(u+="video"),c.trigger(r["default"].FRAG_PARSING_DATA,{data1:l,startPTS:o,startDTS:o,type:u,hasAudio:!!e,hasVideo:!!t,nb:1,dropped:0}),c.trigger(r["default"].FRAG_PARSED)},e}();t["default"]=i},function(e,t,n){"use strict";function r(){}function i(e,t,n,r,i){if("function"!=typeof n)throw new TypeError("The listener must be a function");var o=new function(e,t,n){this.fn=e,this.context=t,this.once=n||!1}(n,r||e,i),a=l?l+t:t;return e._events[a]?e._events[a].fn?e._events[a]=[e._events[a],o]:e._events[a].push(o):(e._events[a]=o,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function a(){this._events=new r,this._eventsCount=0}var s=Object.prototype.hasOwnProperty,l="~";Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(l=!1)),a.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)s.call(e,t)&&n.push(l?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},a.prototype.listeners=function(e){var t=l?l+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,i=n.length,o=new Array(i);r<i;r++)o[r]=n[r].fn;return o},a.prototype.listenerCount=function(e){var t=l?l+e:e,n=this._events[t];return n?n.fn?1:n.length:0},a.prototype.emit=function(e,t,n,r,i,o){var a=l?l+e:e;if(!this._events[a])return!1;var s,c,u=this._events[a],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,r),!0;case 5:return u.fn.call(u.context,t,n,r,i),!0;case 6:return u.fn.call(u.context,t,n,r,i,o),!0}for(c=1,s=new Array(d-1);c<d;c++)s[c-1]=arguments[c];u.fn.apply(u.context,s)}else{var p,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,r);break;default:if(!s)for(p=1,s=new Array(d-1);p<d;p++)s[p-1]=arguments[p];u[c].fn.apply(u[c].context,s)}}return!0},a.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},a.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},a.prototype.removeListener=function(e,t,n,r){var i=l?l+e:e;if(!this._events[i])return this;if(!t)return o(this,i),this;var a=this._events[i];if(a.fn)a.fn!==t||r&&!a.once||n&&a.context!==n||o(this,i);else{for(var s=0,c=[],u=a.length;s<u;s++)(a[s].fn!==t||r&&!a[s].once||n&&a[s].context!==n)&&c.push(a[s]);c.length?this._events[i]=1===c.length?c[0]:c:o(this,i)}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=l?l+e:e,this._events[t]&&o(this,t)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=l,a.EventEmitter=a,e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),i=n(1),o=n(0),a=n(47);t["default"]=function(e){var t=new a.EventEmitter;t.trigger=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];t.emit.apply(t,[e,e].concat(n))},t.off=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];t.removeListener.apply(t,[e].concat(n))};var n=function(t,n){e.postMessage({event:t,data:n})};e.addEventListener("message",function(i){var a=i.data;switch(a.cmd){case"init":var s=JSON.parse(a.config);e.demuxer=new r["default"](t,a.typeSupported,s,a.vendor),o.enableLogs(s.debug),n("init",null);break;case"demux":e.demuxer.push(a.data,a.decryptdata,a.initSegment,a.audioCodec,a.videoCodec,a.timeOffset,a.discontinuity,a.trackSwitch,a.contiguous,a.duration,a.accurateTimeOffset,a.defaultInitPTS)}}),t.on(i["default"].FRAG_DECRYPTED,n),t.on(i["default"].FRAG_PARSING_INIT_SEGMENT,n),t.on(i["default"].FRAG_PARSED,n),t.on(i["default"].ERROR,n),t.on(i["default"].FRAG_PARSING_METADATA,n),t.on(i["default"].FRAG_PARSING_USERDATA,n),t.on(i["default"].INIT_PTS_FOUND,n),t.on(i["default"].FRAG_PARSING_DATA,function(t,n){var r=[],i={event:t,data:n};n.data1&&(i.data1=n.data1.buffer,r.push(n.data1.buffer),delete n.data1),n.data2&&(i.data2=n.data2.buffer,r.push(n.data2.buffer),delete n.data2),e.postMessage(i,r)})}},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function i(e){return"object"==typeof e&&null!==e}function o(e){return void 0===e}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!function(e){return"number"==typeof e}(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,n,a,s,l,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var u=new Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}if(o(n=this._events[e]))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(i(n))for(s=Array.prototype.slice.call(arguments,1),a=(c=n.slice()).length,l=0;l<a;l++)c[l].apply(this,s);return!0},n.prototype.addListener=function(e,t){var a;if(!r(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(t.listener)?t.listener:t),this._events[e]?i(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,i(this._events[e])&&!this._events[e].warned&&(a=o(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&a>0&&this._events[e].length>a&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),i||(i=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var i=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,o,a,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(n=this._events[e]).length,o=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(n)){for(s=a;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){o=s;break}if(o<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(o,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={toString:function(e){for(var t="",n=e.length,r=0;r<n;r++)t+="["+e.start(r).toFixed(3)+","+e.end(r).toFixed(3)+"]";return t}}},function(e,t,n){"use strict";(function(e){function r(e,t){for(var n=null,r=0;r<e.length;r+=1){var i=e[r];if(i&&i.cc===t){n=i;break}}return n}function i(e,t,n){var r=!1;return t&&t.details&&n&&(n.endCC>n.startCC||e&&e.cc<n.startCC)&&(r=!0),r}function o(e,t){var n=e.fragments,i=t.fragments;if(i.length&&n.length){var o=r(n,i[0].cc);if(o&&(!o||o.startPTS))return o;u.logger.log("No frag in previous level to align on")}else u.logger.log("No fragments to align")}function a(e,t){t.fragments.forEach(function(t){if(t){var n=t.start+e;t.start=t.startPTS=n,t.endPTS=n+t.duration}}),t.PTSKnown=!0}function s(e,t,n){if(i(e,n,t)){var r=o(n.details,t);r&&(u.logger.log("Adjusting PTS using last level due to CC increase within current level"),a(r.start,t))}}function l(t,n){if(n&&n.fragments.length){if(!t.hasProgramDateTime||!n.hasProgramDateTime)return;var r=n.fragments[0].programDateTime,i=(t.fragments[0].programDateTime-r)/1e3+n.fragments[0].start;e.isFinite(i)&&(u.logger.log("adjusting PTS using programDateTime delta, sliding:"+i.toFixed(3)),a(i,t))}}Object.defineProperty(t,"__esModule",{value:!0});var c=n(10),u=n(0);t.findFirstFragWithCC=r,t.findFragWithCC=function(e,t){return c["default"].search(e,function(e){return e.cc<t?1:e.cc>t?-1:0})},t.shouldAlignOnDiscontinuities=i,t.findDiscontinuousReferenceFrag=o,t.adjustPts=a,t.alignStream=function(e,t,n){s(e,n,t),!n.PTSKnown&&t&&l(n,t.details)},t.alignDiscontinuities=s,t.alignPDT=l}).call(this,n(2).Number)},function(e,t,n){"use strict";(function(e){function r(e,t,n){void 0===e&&(e=0),void 0===t&&(t=0);var r=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-r<=e?1:n.start-r>e&&n.start?-1:0}function i(e,t,n){var r=1e3*Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.endProgramDateTime-r>e}Object.defineProperty(t,"__esModule",{value:!0});var o=n(10);t.findFragmentByPDT=function(t,n,r){if(!Array.isArray(t)||!t.length||!e.isFinite(n))return null;if(n<t[0].programDateTime)return null;if(n>=t[t.length-1].endProgramDateTime)return null;r=r||0;for(var o=0;o<t.length;++o){var a=t[o];if(i(n,r,a))return a}return null},t.findFragmentByPTS=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=0);var a=e?t[e.sn-t[0].sn+1]:null;return a&&!r(n,i,a)?a:o["default"].search(t,r.bind(null,n,i))},t.fragmentWithinToleranceTest=r,t.pdtWithinToleranceTest=i}).call(this,n(2).Number)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8),i=n(3),o=n(1),a=n(0),s=function(){function e(e,t,n,r){this.config=e,this.media=t,this.fragmentTracker=n,this.hls=r,this.stallReported=!1}return e.prototype.poll=function(e,t){var n=this.config,i=this.media,o=i.currentTime,s=window.performance.now();if(o!==e)return this.stallReported&&(a.logger.warn("playback not stuck anymore @"+o+", after "+Math.round(s-this.stalled)+"ms"),this.stallReported=!1),this.stalled=null,void(this.nudgeRetry=0);if(!(i.ended||!i.buffered.length||i.readyState>2||i.seeking&&r.BufferHelper.isBuffered(i,o))){var l=s-this.stalled,c=r.BufferHelper.bufferInfo(i,o,n.maxBufferHole);this.stalled?(l>=1e3&&this._reportStall(c.len),this._tryFixBufferStall(c,l)):this.stalled=s}},e.prototype._tryFixBufferStall=function(e,t){var n=this.config,r=this.fragmentTracker,i=this.media.currentTime,o=r.getPartialFragment(i);o&&this._trySkipBufferHole(o),e.len>.5&&t>1e3*n.highBufferWatchdogPeriod&&(this.stalled=null,this._tryNudgeBuffer())},e.prototype._reportStall=function(e){var t=this.hls,n=this.media;this.stallReported||(this.stallReported=!0,a.logger.warn("Playback stalling at @"+n.currentTime+" due to low buffer"),t.trigger(o["default"].ERROR,{type:i.ErrorTypes.MEDIA_ERROR,details:i.ErrorDetails.BUFFER_STALLED_ERROR,fatal:!1,buffer:e}))},e.prototype._trySkipBufferHole=function(e){for(var t=this.hls,n=this.media,r=n.currentTime,s=0,l=0;l<n.buffered.length;l++){var c=n.buffered.start(l);if(r>=s&&r<c)return n.currentTime=Math.max(c,n.currentTime+.1),a.logger.warn("skipping hole, adjusting currentTime from "+r+" to "+n.currentTime),this.stalled=null,void t.trigger(o["default"].ERROR,{type:i.ErrorTypes.MEDIA_ERROR,details:i.ErrorDetails.BUFFER_SEEK_OVER_HOLE,fatal:!1,reason:"fragment loaded with buffer holes, seeking from "+r+" to "+n.currentTime,frag:e});s=n.buffered.end(l)}},e.prototype._tryNudgeBuffer=function(){var e=this.config,t=this.hls,n=this.media,r=n.currentTime,s=(this.nudgeRetry||0)+1;if(this.nudgeRetry=s,s<e.nudgeMaxRetry){var l=r+s*e.nudgeOffset;a.logger.log("adjust currentTime from "+r+" to "+l),n.currentTime=l,t.trigger(o["default"].ERROR,{type:i.ErrorTypes.MEDIA_ERROR,details:i.ErrorDetails.BUFFER_NUDGE_ON_STALL,fatal:!1})}else a.logger.error("still stuck in high buffer @"+r+" after "+e.nudgeMaxRetry+", raise fatal error"),t.trigger(o["default"].ERROR,{type:i.ErrorTypes.MEDIA_ERROR,details:i.ErrorDetails.BUFFER_STALLED_ERROR,fatal:!0})},e}();t["default"]=s},function(e,t,n){"use strict";(function(e){var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(53),o=n(9),a=n(8),s=n(0);t.State={STOPPED:"STOPPED",STARTING:"STARTING",IDLE:"IDLE",PAUSED:"PAUSED",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_TRACK:"WAITING_TRACK",PARSING:"PARSING",PARSED:"PARSED",BUFFER_FLUSHING:"BUFFER_FLUSHING",ENDED:"ENDED",ERROR:"ERROR",WAITING_INIT_PTS:"WAITING_INIT_PTS",WAITING_LEVEL:"WAITING_LEVEL"};var l=function(n){function i(){return null!==n&&n.apply(this,arguments)||this}return r(i,n),i.prototype.doTick=function(){},i.prototype.startLoad=function(){},i.prototype.stopLoad=function(){var e=this.fragCurrent;e&&(e.loader&&e.loader.abort(),this.fragmentTracker.removeFragment(e)),this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=t.State.STOPPED},i.prototype._streamEnded=function(e,t){var n=this.fragCurrent,r=this.fragmentTracker;if(!t.live&&n&&!n.backtracked&&n.sn===t.endSN&&!e.nextStart){var i=r.getState(n);return i===o.FragmentState.PARTIAL||i===o.FragmentState.OK}return!1},i.prototype.onMediaSeeking=function(){var n=this.config,r=this.media,i=this.mediaBuffer,o=this.state,l=r?r.currentTime:null,c=a.BufferHelper.bufferInfo(i||r,l,this.config.maxBufferHole);if(e.isFinite(l)&&s.logger.log("media seeking to "+l.toFixed(3)),o===t.State.FRAG_LOADING){var u=this.fragCurrent;if(0===c.len&&u){var d=n.maxFragLookUpTolerance,p=u.start-d,f=u.start+u.duration+d;l<p||l>f?(u.loader&&(s.logger.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),u.loader.abort()),this.fragCurrent=null,this.fragPrevious=null,this.state=t.State.IDLE):s.logger.log("seeking outside of buffer but within currently loaded fragment range")}}else o===t.State.ENDED&&(0===c.len&&(this.fragPrevious=null,this.fragCurrent=null),this.state=t.State.IDLE);r&&(this.lastCurrentTime=l),this.loadedmetadata||(this.nextLoadPosition=this.startPosition=l),this.tick()},i.prototype.onMediaEnded=function(){this.startPosition=this.lastCurrentTime=0},i.prototype.onHandlerDestroying=function(){this.stopLoad(),n.prototype.onHandlerDestroying.call(this)},i.prototype.onHandlerDestroyed=function(){this.state=t.State.STOPPED,this.fragmentTracker=null},i}(i["default"]);t["default"]=l}).call(this,n(2).Number)},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i=e.apply(this,[t].concat(n))||this;return i._tickInterval=null,i._tickTimer=null,i._tickCallCount=0,i._boundTick=i.tick.bind(i),i}return r(t,e),t.prototype.onHandlerDestroying=function(){this.clearNextTick(),this.clearInterval()},t.prototype.hasInterval=function(){return!!this._tickInterval},t.prototype.hasNextTick=function(){return!!this._tickTimer},t.prototype.setInterval=function(e){return!this._tickInterval&&(this._tickInterval=setInterval(this._boundTick,e),!0)},t.prototype.clearInterval=function(){return!!this._tickInterval&&(clearInterval(this._tickInterval),this._tickInterval=null,!0)},t.prototype.clearNextTick=function(){return!!this._tickTimer&&(clearTimeout(this._tickTimer),this._tickTimer=null,!0)},t.prototype.tick=function(){this._tickCallCount++,1===this._tickCallCount&&(this.doTick(),this._tickCallCount>1&&(this.clearNextTick(),this._tickTimer=setTimeout(this._boundTick,0)),this._tickCallCount=0)},t.prototype.doTick=function(){},t}(n(4)["default"]);t["default"]=i},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i,o=n(1),a=n(4),s=n(0),l=n(3),c=n(17),u=n(23),d=(window.performance,function(e){function t(t){var n=e.call(this,t,o["default"].MANIFEST_LOADED,o["default"].LEVEL_LOADED,o["default"].AUDIO_TRACK_SWITCHED,o["default"].FRAG_LOADED,o["default"].ERROR)||this;return n.canload=!1,n.currentLevelIndex=null,n.manualLevelIndex=-1,n.timer=null,i=/chrome|firefox/.test(navigator.userAgent.toLowerCase()),n}return r(t,e),t.prototype.onHandlerDestroying=function(){this.clearTimer(),this.manualLevelIndex=-1},t.prototype.clearTimer=function(){null!==this.timer&&(clearTimeout(this.timer),this.timer=null)},t.prototype.startLoad=function(){var e=this._levels;this.canload=!0,this.levelRetryCount=0,e&&e.forEach(function(e){e.loadError=0;var t=e.details;t&&t.live&&(e.details=void 0)}),null!==this.timer&&this.loadLevel()},t.prototype.stopLoad=function(){this.canload=!1},t.prototype.onManifestLoaded=function(e){var t,n=[],r=[],a={},d=null,p=!1,f=!1;if(e.levels.forEach(function(e){var t=e.attrs;e.loadError=0,e.fragmentError=!1,p=p||!!e.videoCodec,f=f||!!e.audioCodec,i&&e.audioCodec&&-1!==e.audioCodec.indexOf("mp4a.40.34")&&(e.audioCodec=void 0),(d=a[e.bitrate])?d.url.push(e.url):(e.url=[e.url],e.urlId=0,a[e.bitrate]=e,n.push(e)),t&&(t.AUDIO&&(f=!0,u.addGroupId(d||e,"audio",t.AUDIO)),t.SUBTITLES&&u.addGroupId(d||e,"text",t.SUBTITLES))}),p&&f&&(n=n.filter(function(e){return!!e.videoCodec})),n=n.filter(function(e){var t=e.audioCodec,n=e.videoCodec;return(!t||c.isCodecSupportedInMp4(t,"audio"))&&(!n||c.isCodecSupportedInMp4(n,"video"))}),e.audioTracks&&(r=e.audioTracks.filter(function(e){return!e.audioCodec||c.isCodecSupportedInMp4(e.audioCodec,"audio")})).forEach(function(e,t){e.id=t}),n.length>0){t=n[0].bitrate,n.sort(function(e,t){return e.bitrate-t.bitrate}),this._levels=n;for(var A=0;A<n.length;A++)if(n[A].bitrate===t){this._firstLevel=A,s.logger.log("manifest loaded,"+n.length+" level(s) found, first bitrate:"+t);break}this.hls.trigger(o["default"].MANIFEST_PARSED,{levels:n,audioTracks:r,firstLevel:this._firstLevel,
stats:e.stats,audio:f,video:p,altAudio:r.some(function(e){return!!e.url})})}else this.hls.trigger(o["default"].ERROR,{type:l.ErrorTypes.MEDIA_ERROR,details:l.ErrorDetails.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:this.hls.url,reason:"no level with compatible codecs found in manifest"})},Object.defineProperty(t.prototype,"levels",{get:function(){return this._levels},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"level",{get:function(){return this.currentLevelIndex},set:function(e){var t=this._levels;t&&(e=Math.min(e,t.length-1),this.currentLevelIndex===e&&t[e].details||this.setLevelInternal(e))},enumerable:!0,configurable:!0}),t.prototype.setLevelInternal=function(e){var t=this._levels,n=this.hls;if(e>=0&&e<t.length){if(this.clearTimer(),this.currentLevelIndex!==e){s.logger.log("switching to level "+e),this.currentLevelIndex=e;var r=t[e];r.level=e,n.trigger(o["default"].LEVEL_SWITCHING,r)}var i=t[e],a=i.details;if(!a||a.live){var c=i.urlId;n.trigger(o["default"].LEVEL_LOADING,{url:i.url[c],level:e,id:c})}}else n.trigger(o["default"].ERROR,{type:l.ErrorTypes.OTHER_ERROR,details:l.ErrorDetails.LEVEL_SWITCH_ERROR,level:e,fatal:!1,reason:"invalid level idx"})},Object.defineProperty(t.prototype,"manualLevel",{get:function(){return this.manualLevelIndex},set:function(e){this.manualLevelIndex=e,void 0===this._startLevel&&(this._startLevel=e),-1!==e&&(this.level=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstLevel",{get:function(){return this._firstLevel},set:function(e){this._firstLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startLevel",{get:function(){if(void 0===this._startLevel){var e=this.hls.config.startLevel;return void 0!==e?e:this._firstLevel}return this._startLevel},set:function(e){this._startLevel=e},enumerable:!0,configurable:!0}),t.prototype.onError=function(e){if(e.fatal)e.type===l.ErrorTypes.NETWORK_ERROR&&this.clearTimer();else{var t,n=!1,r=!1;switch(e.details){case l.ErrorDetails.FRAG_LOAD_ERROR:case l.ErrorDetails.FRAG_LOAD_TIMEOUT:case l.ErrorDetails.KEY_LOAD_ERROR:case l.ErrorDetails.KEY_LOAD_TIMEOUT:t=e.frag.level,r=!0;break;case l.ErrorDetails.LEVEL_LOAD_ERROR:case l.ErrorDetails.LEVEL_LOAD_TIMEOUT:t=e.context.level,n=!0;break;case l.ErrorDetails.REMUX_ALLOC_ERROR:t=e.level,n=!0}void 0!==t&&this.recoverLevel(e,t,n,r)}},t.prototype.recoverLevel=function(e,t,n,r){var i,o,a,l=this,c=this.hls.config,u=e.details,d=this._levels[t];if(d.loadError++,d.fragmentError=r,n){if(!(this.levelRetryCount+1<=c.levelLoadingMaxRetry))return s.logger.error("level controller, cannot recover from "+u+" error"),this.currentLevelIndex=null,this.clearTimer(),void(e.fatal=!0);o=Math.min(Math.pow(2,this.levelRetryCount)*c.levelLoadingRetryDelay,c.levelLoadingMaxRetryTimeout),this.timer=setTimeout(function(){return l.loadLevel()},o),e.levelRetry=!0,this.levelRetryCount++,s.logger.warn("level controller, "+u+", retry in "+o+" ms, current retry count is "+this.levelRetryCount)}(n||r)&&((i=d.url.length)>1&&d.loadError<i?(d.urlId=(d.urlId+1)%i,d.details=void 0,s.logger.warn("level controller, "+u+" for level "+t+": switching to redundant URL-id "+d.urlId)):-1===this.manualLevelIndex?(a=0===t?this._levels.length-1:t-1,s.logger.warn("level controller, "+u+": switch to "+a),this.hls.nextAutoLevel=this.currentLevelIndex=a):r&&(s.logger.warn("level controller, "+u+": reload a fragment"),this.currentLevelIndex=null))},t.prototype.onFragLoaded=function(e){var t=e.frag;if(void 0!==t&&"main"===t.type){var n=this._levels[t.level];void 0!==n&&(n.fragmentError=!1,n.loadError=0,this.levelRetryCount=0)}},t.prototype.onLevelLoaded=function(e){var t=this,n=e.level,r=e.details;if(n===this.currentLevelIndex){var i=this._levels[n];if(i.fragmentError||(i.loadError=0,this.levelRetryCount=0),r.live){var o=u.computeReloadInterval(i.details,r,e.stats.trequest);s.logger.log("live playlist, reload in "+Math.round(o)+" ms"),this.timer=setTimeout(function(){return t.loadLevel()},o)}else this.clearTimer()}},t.prototype.onAudioTrackSwitched=function(e){var t=this.hls.audioTracks[e.id].groupId,n=this.hls.levels[this.currentLevelIndex];if(n&&n.audioGroupIds){for(var r=-1,i=0;i<n.audioGroupIds.length;i++)if(n.audioGroupIds[i]===t){r=i;break}r!==n.urlId&&(n.urlId=r,this.startLoad())}},t.prototype.loadLevel=function(){if(s.logger.debug("call to loadLevel"),null!==this.currentLevelIndex&&this.canload){var e=this._levels[this.currentLevelIndex];if("object"==typeof e&&e.url.length>0){var t=this.currentLevelIndex,n=e.urlId,r=e.url[n];s.logger.log("Attempt loading level index "+t+" with URL-id "+n),this.hls.trigger(o["default"].LEVEL_LOADING,{url:r,level:t,id:n})}}},Object.defineProperty(t.prototype,"nextLoadLevel",{get:function(){return-1!==this.manualLevelIndex?this.manualLevelIndex:this.hls.nextAutoLevel},set:function(e){this.level=e,-1===this.manualLevelIndex&&(this.hls.nextAutoLevel=e)},enumerable:!0,configurable:!0}),t}(a["default"]));t["default"]=d},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(4),a=n(11),s=n(56),l=function(e){function t(t){var n=e.call(this,t,i["default"].MEDIA_ATTACHED,i["default"].MEDIA_DETACHING,i["default"].FRAG_PARSING_METADATA)||this;return n.id3Track=void 0,n.media=void 0,n}return r(t,e),t.prototype.destroy=function(){o["default"].prototype.destroy.call(this)},t.prototype.onMediaAttached=function(e){this.media=e.media,this.media},t.prototype.onMediaDetaching=function(){s.clearCurrentCues(this.id3Track),this.id3Track=void 0,this.media=void 0},t.prototype.getID3Track=function(e){for(var t=0;t<e.length;t++){var n=e[t];if("metadata"===n.kind&&"id3"===n.label)return s.sendAddTrackEvent(n,this.media),n}return this.media.addTextTrack("metadata","id3")},t.prototype.onFragParsingMetadata=function(e){var t=e.frag,n=e.samples;this.id3Track||(this.id3Track=this.getID3Track(this.media.textTracks),this.id3Track.mode="hidden");for(var r=window.WebKitDataCue||window.VTTCue||window.TextTrackCue,i=0;i<n.length;i++){var o=a["default"].getID3Frames(n[i].data);if(o){var s=n[i].pts,l=i<n.length-1?n[i+1].pts:t.endPTS;s===l&&(l+=1e-4);for(var c=0;c<o.length;c++){var u=o[c];if(!a["default"].isTimeStampFrame(u)){var d=new r(s,l,"");d.value=u,this.id3Track.addCue(d)}}}}},t}(o["default"]);t["default"]=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendAddTrackEvent=function(e,t){var n=null;try{n=new window.Event("addtrack")}catch(e){(n=document.createEvent("Event")).initEvent("addtrack",!1,!1)}n.track=e,t.dispatchEvent(n)},t.clearCurrentCues=function(e){if(e&&e.cues)for(;e.cues.length>0;)e.removeCue(e.cues[0])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12);t.isSupported=function(){var e=r.getMediaSource(),t=window.SourceBuffer||window.WebKitSourceBuffer,n=e&&"function"==typeof e.isTypeSupported&&e.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),i=!t||t.prototype&&"function"==typeof t.prototype.appendBuffer&&"function"==typeof t.prototype.remove;return!!n&&!!i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(59),i=n(62),o=n(63),a=n(64),s=n(65),l=(n(5),n(5),n(5),n(5),n(5),n(5),n(5),n(66));t.hlsDefaultConfig={autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,initialLiveManifestSize:1,maxBufferLength:30,maxBufferSize:6e7,maxBufferHole:.5,lowBufferWatchdogPeriod:.5,highBufferWatchdogPeriod:3,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,liveDurationInfinity:!1,liveBackBufferLength:1/0,maxMaxBufferLength:600,enableWorker:!0,enableSoftwareAES:!0,manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,startLevel:void 0,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:s["default"],fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,abrController:r["default"],bufferController:i["default"],capLevelController:o["default"],fpsController:a["default"],stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,requestMediaKeySystemAccessFunc:l.requestMediaKeySystemAccess}},function(e,t,n){"use strict";(function(e){var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(4),a=n(8),s=n(3),l=n(0),c=n(60),u=window.performance,d=function(t){function n(e){var n=t.call(this,e,i["default"].FRAG_LOADING,i["default"].FRAG_LOADED,i["default"].FRAG_BUFFERED,i["default"].ERROR)||this;return n.lastLoadedFragLevel=0,n._nextAutoLevel=-1,n.hls=e,n.timer=null,n._bwEstimator=null,n.onCheck=n._abandonRulesCheck.bind(n),n}return r(n,t),n.prototype.destroy=function(){this.clearTimer(),o["default"].prototype.destroy.call(this)},n.prototype.onFragLoading=function(e){var t=e.frag;if("main"===t.type&&(this.timer||(this.fragCurrent=t,this.timer=setInterval(this.onCheck,100)),!this._bwEstimator)){var n=this.hls,r=n.config,i=t.level,o=void 0,a=void 0;n.levels[i].details.live?(o=r.abrEwmaFastLive,a=r.abrEwmaSlowLive):(o=r.abrEwmaFastVoD,a=r.abrEwmaSlowVoD),this._bwEstimator=new c["default"](n,a,o,r.abrEwmaDefaultEstimate)}},n.prototype._abandonRulesCheck=function(){var e=this.hls,t=e.media,n=this.fragCurrent;if(n){var r=n.loader,o=e.minAutoLevel;if(!r||r.stats&&r.stats.aborted)return l.logger.warn("frag loader destroy or aborted, disarm abandonRules"),this.clearTimer(),void(this._nextAutoLevel=-1);var s=r.stats;if(t&&s&&(!t.paused&&0!==t.playbackRate||!t.readyState)&&n.autoLevel&&n.level){var c=u.now()-s.trequest,d=Math.abs(t.playbackRate);if(c>500*n.duration/d){var p=e.levels,f=Math.max(1,s.bw?s.bw/8:1e3*s.loaded/c),A=p[n.level],h=A.realBitrate?Math.max(A.realBitrate,A.bitrate):A.bitrate,g=s.total?s.total:Math.max(s.loaded,Math.round(n.duration*h/8)),m=t.currentTime,v=(g-s.loaded)/f,y=(a.BufferHelper.bufferInfo(t,m,e.config.maxBufferHole).end-m)/d;if(y<2*n.duration/d&&v>y){var b=void 0,E=void 0;for(E=n.level-1;E>o;E--){var w=p[E].realBitrate?Math.max(p[E].realBitrate,p[E].bitrate):p[E].bitrate;if((b=n.duration*w/(6.4*f))<y)break}b<v&&(l.logger.warn("loading too slow, abort fragment loading and switch to level "+E+":fragLoadedDelay["+E+"]<fragLoadedDelay["+(n.level-1)+"];bufferStarvationDelay:"+b.toFixed(1)+"<"+v.toFixed(1)+":"+y.toFixed(1)),e.nextLoadLevel=E,this._bwEstimator.sample(c,s.loaded),r.abort(),this.clearTimer(),e.trigger(i["default"].FRAG_LOAD_EMERGENCY_ABORTED,{frag:n,stats:s}))}}}}},n.prototype.onFragLoaded=function(t){var n=t.frag;if("main"===n.type&&e.isFinite(n.sn)){if(this.clearTimer(),this.lastLoadedFragLevel=n.level,this._nextAutoLevel=-1,this.hls.config.abrMaxWithRealBitrate){var r=this.hls.levels[n.level],i=(r.loaded?r.loaded.bytes:0)+t.stats.loaded,o=(r.loaded?r.loaded.duration:0)+t.frag.duration;r.loaded={bytes:i,duration:o},r.realBitrate=Math.round(8*i/o)}if(t.frag.bitrateTest){var a=t.stats;a.tparsed=a.tbuffered=a.tload,this.onFragBuffered(t)}}},n.prototype.onFragBuffered=function(t){var n=t.stats,r=t.frag;if(!0!==n.aborted&&"main"===r.type&&e.isFinite(r.sn)&&(!r.bitrateTest||n.tload===n.tbuffered)){var i=n.tparsed-n.trequest;l.logger.log("latency/loading/parsing/append/kbps:"+Math.round(n.tfirst-n.trequest)+"/"+Math.round(n.tload-n.tfirst)+"/"+Math.round(n.tparsed-n.tload)+"/"+Math.round(n.tbuffered-n.tparsed)+"/"+Math.round(8*n.loaded/(n.tbuffered-n.trequest))),this._bwEstimator.sample(i,n.loaded),n.bwEstimate=this._bwEstimator.getEstimate(),r.bitrateTest?this.bitrateTestDelay=i/1e3:this.bitrateTestDelay=0}},n.prototype.onError=function(e){switch(e.details){case s.ErrorDetails.FRAG_LOAD_ERROR:case s.ErrorDetails.FRAG_LOAD_TIMEOUT:this.clearTimer()}},n.prototype.clearTimer=function(){clearInterval(this.timer),this.timer=null},Object.defineProperty(n.prototype,"nextAutoLevel",{get:function(){var e=this._nextAutoLevel,t=this._bwEstimator;if(!(-1===e||t&&t.canEstimate()))return e;var n=this._nextABRAutoLevel;return-1!==e&&(n=Math.min(e,n)),n},set:function(e){this._nextAutoLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_nextABRAutoLevel",{get:function(){var e=this.hls,t=e.maxAutoLevel,n=e.levels,r=e.config,i=e.minAutoLevel,o=e.media,s=this.lastLoadedFragLevel,c=this.fragCurrent?this.fragCurrent.duration:0,u=o?o.currentTime:0,d=o&&0!==o.playbackRate?Math.abs(o.playbackRate):1,p=this._bwEstimator?this._bwEstimator.getEstimate():r.abrEwmaDefaultEstimate,f=(a.BufferHelper.bufferInfo(o,u,r.maxBufferHole).end-u)/d,A=this._findBestLevel(s,c,p,i,t,f,r.abrBandWidthFactor,r.abrBandWidthUpFactor,n);if(A>=0)return A;l.logger.trace("rebuffering expected to happen, lets try to find a quality level minimizing the rebuffering");var h=c?Math.min(c,r.maxStarvationDelay):r.maxStarvationDelay,g=r.abrBandWidthFactor,m=r.abrBandWidthUpFactor;if(0===f){var v=this.bitrateTestDelay;v&&(h=(c?Math.min(c,r.maxLoadingDelay):r.maxLoadingDelay)-v,l.logger.trace("bitrate test took "+Math.round(1e3*v)+"ms, set first fragment max fetchDuration to "+Math.round(1e3*h)+" ms"),g=m=1)}return A=this._findBestLevel(s,c,p,i,t,f+h,g,m,n),Math.max(A,0)},enumerable:!0,configurable:!0}),n.prototype._findBestLevel=function(e,t,n,r,i,o,a,s,c){for(var u=i;u>=r;u--){var d=c[u];if(d){var p=d.details,f=p?p.totalduration/p.fragments.length:t,A=!!p&&p.live,h=void 0;h=u<=e?a*n:s*n;var g=c[u].realBitrate?Math.max(c[u].realBitrate,c[u].bitrate):c[u].bitrate,m=g*f/h;if(l.logger.trace("level/adjustedbw/bitrate/avgDuration/maxFetchDuration/fetchDuration: "+u+"/"+Math.round(h)+"/"+g+"/"+f+"/"+o+"/"+m),h>g&&(!m||A&&!this.bitrateTestDelay||m<o))return u}}return-1},n}(o["default"]);t["default"]=d}).call(this,n(2).Number)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(61),i=function(){function e(e,t,n,i){this.hls=e,this.defaultEstimate_=i,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new r["default"](t),this.fast_=new r["default"](n)}return e.prototype.sample=function(e,t){var n=8e3*t/(e=Math.max(e,this.minDelayMs_)),r=e/1e3;this.fast_.sample(r,n),this.slow_.sample(r,n)},e.prototype.canEstimate=function(){var e=this.fast_;return e&&e.getTotalWeight()>=this.minWeight_},e.prototype.getEstimate=function(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_},e.prototype.destroy=function(){},e}();t["default"]=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this.alpha_=e?Math.exp(Math.log(.5)/e):0,this.estimate_=0,this.totalWeight_=0}return e.prototype.sample=function(e,t){var n=Math.pow(this.alpha_,e);this.estimate_=t*(1-n)+n*this.estimate_,this.totalWeight_+=e},e.prototype.getTotalWeight=function(){return this.totalWeight_},e.prototype.getEstimate=function(){if(this.alpha_){var e=1-Math.pow(this.alpha_,this.totalWeight_);return this.estimate_/e}return this.estimate_},e}();t["default"]=r},function(e,t,n){"use strict";(function(e){var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(4),a=n(0),s=n(3),l=n(12).getMediaSource(),c=function(t){function n(e){var n=t.call(this,e,i["default"].MEDIA_ATTACHING,i["default"].MEDIA_DETACHING,i["default"].MANIFEST_PARSED,i["default"].BUFFER_RESET,i["default"].BUFFER_APPENDING,i["default"].BUFFER_CODECS,i["default"].BUFFER_EOS,i["default"].BUFFER_FLUSHING,i["default"].LEVEL_PTS_UPDATED,i["default"].LEVEL_UPDATED)||this;return n._msDuration=null,n._levelDuration=null,n._levelTargetDuration=10,n._live=null,n._objectUrl=null,n.bufferCodecEventsExpected=0,n.onsbue=n.onSBUpdateEnd.bind(n),n.onsbe=n.onSBUpdateError.bind(n),n.pendingTracks={},n.tracks={},n}return r(n,t),n.prototype.destroy=function(){o["default"].prototype.destroy.call(this)},n.prototype.onLevelPtsUpdated=function(e){var t=e.type,n=this.tracks.audio;if("audio"===t&&n&&"audio/mpeg"===n.container){var r=this.sourceBuffer.audio;if(Math.abs(r.timestampOffset-e.start)>.1){var i=r.updating;try{r.abort()}catch(e){a.logger.warn("can not abort audio buffer: "+e)}i?this.audioTimestampOffset=e.start:(a.logger.warn("change mpeg audio timestamp offset from "+r.timestampOffset+" to "+e.start),r.timestampOffset=e.start)}}},n.prototype.onManifestParsed=function(e){this.bufferCodecEventsExpected=e.altAudio?2:1,a.logger.log(this.bufferCodecEventsExpected+" bufferCodec event(s) expected")},n.prototype.onMediaAttaching=function(e){var t=this.media=e.media;if(t){var n=this.mediaSource=new l;this.onmso=this.onMediaSourceOpen.bind(this),this.onmse=this.onMediaSourceEnded.bind(this),this.onmsc=this.onMediaSourceClose.bind(this),n.addEventListener("sourceopen",this.onmso),n.addEventListener("sourceended",this.onmse),n.addEventListener("sourceclose",this.onmsc),t.src=window.URL.createObjectURL(n),this._objectUrl=t.src}},n.prototype.onMediaDetaching=function(){a.logger.log("media source detaching");var e=this.mediaSource;if(e){if("open"===e.readyState)try{e.endOfStream()}catch(e){a.logger.warn("onMediaDetaching:"+e.message+" while calling endOfStream")}e.removeEventListener("sourceopen",this.onmso),e.removeEventListener("sourceended",this.onmse),e.removeEventListener("sourceclose",this.onmsc),this.media&&(window.URL.revokeObjectURL(this._objectUrl),this.media.src===this._objectUrl?(this.media.removeAttribute("src"),this.media.load()):a.logger.warn("media.src was changed by a third party - skip cleanup")),this.mediaSource=null,this.media=null,this._objectUrl=null,this.pendingTracks={},this.tracks={},this.sourceBuffer={},this.flushRange=[],this.segments=[],this.appended=0}this.onmso=this.onmse=this.onmsc=null,this.hls.trigger(i["default"].MEDIA_DETACHED)},n.prototype.onMediaSourceOpen=function(){a.logger.log("media source opened"),this.hls.trigger(i["default"].MEDIA_ATTACHED,{media:this.media});var e=this.mediaSource;e&&e.removeEventListener("sourceopen",this.onmso),this.checkPendingTracks()},n.prototype.checkPendingTracks=function(){var e=this.bufferCodecEventsExpected,t=this.pendingTracks,n=Object.keys(t).length;(n&&!e||2===n)&&(this.createSourceBuffers(t),this.pendingTracks={},this.doAppending())},n.prototype.onMediaSourceClose=function(){a.logger.log("media source closed")},n.prototype.onMediaSourceEnded=function(){a.logger.log("media source ended")},n.prototype.onSBUpdateEnd=function(){if(this.audioTimestampOffset){var e=this.sourceBuffer.audio;a.logger.warn("change mpeg audio timestamp offset from "+e.timestampOffset+" to "+this.audioTimestampOffset),e.timestampOffset=this.audioTimestampOffset,delete this.audioTimestampOffset}this._needsFlush&&this.doFlush(),this._needsEos&&this.checkEos(),this.appending=!1;var t=this.parent,n=this.segments.reduce(function(e,n){return n.parent===t?e+1:e},0),r={},o=this.sourceBuffer;for(var s in o)r[s]=o[s].buffered;this.hls.trigger(i["default"].BUFFER_APPENDED,{parent:t,pending:n,timeRanges:r}),this._needsFlush||this.doAppending(),this.updateMediaElementDuration(),0===n&&this.flushLiveBackBuffer()},n.prototype.onSBUpdateError=function(e){a.logger.error("sourceBuffer error:",e),this.hls.trigger(i["default"].ERROR,{type:s.ErrorTypes.MEDIA_ERROR,details:s.ErrorDetails.BUFFER_APPENDING_ERROR,fatal:!1})},n.prototype.onBufferReset=function(){var e=this.sourceBuffer;for(var t in e){var n=e[t];try{this.mediaSource.removeSourceBuffer(n),n.removeEventListener("updateend",this.onsbue),n.removeEventListener("error",this.onsbe)}catch(e){}}this.sourceBuffer={},this.flushRange=[],this.segments=[],this.appended=0},n.prototype.onBufferCodecs=function(e){var t=this;if(!Object.keys(this.sourceBuffer).length){Object.keys(e).forEach(function(n){t.pendingTracks[n]=e[n]});var n=this.mediaSource;this.bufferCodecEventsExpected=Math.max(this.bufferCodecEventsExpected-1,0),n&&"open"===n.readyState&&this.checkPendingTracks()}},n.prototype.createSourceBuffers=function(e){var t=this.sourceBuffer,n=this.mediaSource;for(var r in e)if(!t[r]){var o=e[r],l=o.levelCodec||o.codec,c=o.container+";codecs="+l;a.logger.log("creating sourceBuffer("+c+")");try{var u=t[r]=n.addSourceBuffer(c);u.addEventListener("updateend",this.onsbue),u.addEventListener("error",this.onsbe),this.tracks[r]={codec:l,container:o.container},o.buffer=u}catch(e){a.logger.error("error while trying to add sourceBuffer:"+e.message),this.hls.trigger(i["default"].ERROR,{type:s.ErrorTypes.MEDIA_ERROR,details:s.ErrorDetails.BUFFER_ADD_CODEC_ERROR,fatal:!1,err:e,mimeType:c})}}this.hls.trigger(i["default"].BUFFER_CREATED,{tracks:e})},n.prototype.onBufferAppending=function(e){this._needsFlush||(this.segments?this.segments.push(e):this.segments=[e],this.doAppending())},n.prototype.onBufferAppendFail=function(e){a.logger.error("sourceBuffer error:",e.event),this.hls.trigger(i["default"].ERROR,{type:s.ErrorTypes.MEDIA_ERROR,details:s.ErrorDetails.BUFFER_APPENDING_ERROR,fatal:!1})},n.prototype.onBufferEos=function(e){var t=this.sourceBuffer,n=e.type;for(var r in t)n&&r!==n||t[r].ended||(t[r].ended=!0,a.logger.log(r+" sourceBuffer now EOS"));this.checkEos()},n.prototype.checkEos=function(){var e=this.sourceBuffer,t=this.mediaSource;if(t&&"open"===t.readyState){for(var n in e){var r=e[n];if(!r.ended)return;if(r.updating)return void(this._needsEos=!0)}a.logger.log("all media data are available, signal endOfStream() to MediaSource and stop loading fragment");try{t.endOfStream()}catch(e){a.logger.warn("exception while calling mediaSource.endOfStream()")}this._needsEos=!1}else this._needsEos=!1},n.prototype.onBufferFlushing=function(e){this.flushRange.push({start:e.startOffset,end:e.endOffset,type:e.type}),this.flushBufferCounter=0,this.doFlush()},n.prototype.flushLiveBackBuffer=function(){if(this._live){var e=this.hls.config.liveBackBufferLength;if(isFinite(e)&&!(e<0))for(var t=this.media.currentTime,n=this.sourceBuffer,r=Object.keys(n),i=t-Math.max(e,this._levelTargetDuration),o=r.length-1;o>=0;o--){var a=r[o],s=n[a].buffered;s.length>0&&i>s.start(0)&&this.removeBufferRange(a,n[a],0,i)}}},n.prototype.onLevelUpdated=function(e){var t=e.details;t.fragments.length>0&&(this._levelDuration=t.totalduration+t.fragments[0].start,this._levelTargetDuration=t.averagetargetduration||t.targetduration||10,this._live=t.live,this.updateMediaElementDuration())},n.prototype.updateMediaElementDuration=function(){var t,n=this.hls.config;if(null!==this._levelDuration&&this.media&&this.mediaSource&&this.sourceBuffer&&0!==this.media.readyState&&"open"===this.mediaSource.readyState){for(var r in this.sourceBuffer)if(!0===this.sourceBuffer[r].updating)return;t=this.media.duration,null===this._msDuration&&(this._msDuration=this.mediaSource.duration),!0===this._live&&!0===n.liveDurationInfinity?(a.logger.log("Media Source duration is set to Infinity"),this._msDuration=this.mediaSource.duration=1/0):(this._levelDuration>this._msDuration&&this._levelDuration>t||!e.isFinite(t))&&(a.logger.log("Updating Media Source duration to "+this._levelDuration.toFixed(3)),this._msDuration=this.mediaSource.duration=this._levelDuration)}},n.prototype.doFlush=function(){for(;this.flushRange.length;){var e=this.flushRange[0];if(!this.flushBuffer(e.start,e.end,e.type))return void(this._needsFlush=!0);this.flushRange.shift(),this.flushBufferCounter=0}if(0===this.flushRange.length){this._needsFlush=!1;var t=0,n=this.sourceBuffer;try{for(var r in n)t+=n[r].buffered.length}catch(e){a.logger.error("error while accessing sourceBuffer.buffered")}this.appended=t,this.hls.trigger(i["default"].BUFFER_FLUSHED)}},n.prototype.doAppending=function(){var e=this.hls,t=this.segments,n=this.sourceBuffer;if(Object.keys(n).length){if(this.media.error)return this.segments=[],void a.logger.error("trying to append although a media error occured, flush segment and abort");if(this.appending)return;if(t&&t.length){var r=t.shift();try{var o=n[r.type];o?o.updating?t.unshift(r):(o.ended=!1,this.parent=r.parent,o.appendBuffer(r.data),this.appendError=0,this.appended++,this.appending=!0):this.onSBUpdateEnd()}catch(n){a.logger.error("error while trying to append buffer:"+n.message),t.unshift(r);var l={type:s.ErrorTypes.MEDIA_ERROR,parent:r.parent};22!==n.code?(this.appendError?this.appendError++:this.appendError=1,l.details=s.ErrorDetails.BUFFER_APPEND_ERROR,this.appendError>e.config.appendErrorMaxRetry?(a.logger.log("fail "+e.config.appendErrorMaxRetry+" times to append segment in sourceBuffer"),this.segments=[],l.fatal=!0,e.trigger(i["default"].ERROR,l)):(l.fatal=!1,e.trigger(i["default"].ERROR,l))):(this.segments=[],l.details=s.ErrorDetails.BUFFER_FULL_ERROR,l.fatal=!1,e.trigger(i["default"].ERROR,l))}}}},n.prototype.flushBuffer=function(e,t,n){var r,i=this.sourceBuffer;if(Object.keys(i).length){if(a.logger.log("flushBuffer,pos/start/end: "+this.media.currentTime.toFixed(3)+"/"+e+"/"+t),this.flushBufferCounter<this.appended){for(var o in i)if(!n||o===n){if((r=i[o]).ended=!1,r.updating)return a.logger.warn("cannot flush, sb updating in progress"),!1;if(this.removeBufferRange(o,r,e,t))return this.flushBufferCounter++,!1}}else a.logger.warn("abort flushing too many retries");a.logger.log("buffer flushed")}return!0},n.prototype.removeBufferRange=function(e,t,n,r){try{for(var i=0;i<t.buffered.length;i++){var o=t.buffered.start(i),s=t.buffered.end(i),l=Math.max(o,n),c=Math.min(s,r);if(Math.min(c,s)-l>.5)return a.logger.log("sb remove "+e+" ["+l+","+c+"], of ["+o+","+s+"], pos:"+this.media.currentTime),t.remove(l,c),!0}}catch(e){a.logger.warn("removeBufferRange failed",e)}return!1},n}(o["default"]);t["default"]=c}).call(this,n(2).Number)},function(e,t,n){"use strict";(function(e){var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=function(t){function n(n){var r=t.call(this,n,i["default"].FPS_DROP_LEVEL_CAPPING,i["default"].MEDIA_ATTACHING,i["default"].MANIFEST_PARSED,i["default"].BUFFER_CODECS,i["default"].MEDIA_DETACHING)||this;return r.autoLevelCapping=e.POSITIVE_INFINITY,r.firstLevel=null,r.levels=[],r.media=null,r.restrictedLevels=[],r.timer=null,r}return r(n,t),n.prototype.destroy=function(){this.hls.config.capLevelToPlayerSize&&(this.media=null,this._stopCapping())},n.prototype.onFpsDropLevelCapping=function(e){n.isLevelAllowed(e.droppedLevel,this.restrictedLevels)&&this.restrictedLevels.push(e.droppedLevel)},n.prototype.onMediaAttaching=function(e){this.media=e.media instanceof window.HTMLVideoElement?e.media:null},n.prototype.onManifestParsed=function(e){var t=this.hls;this.restrictedLevels=[],this.levels=e.levels,this.firstLevel=e.firstLevel,t.config.capLevelToPlayerSize&&e.video&&this._startCapping()},n.prototype.onBufferCodecs=function(e){this.hls.config.capLevelToPlayerSize&&e.video&&this._startCapping()},n.prototype.onLevelsUpdated=function(e){this.levels=e.levels},n.prototype.onMediaDetaching=function(){this._stopCapping()},n.prototype.detectPlayerSize=function(){if(this.media){var e=this.levels?this.levels.length:0;if(e){var t=this.hls;t.autoLevelCapping=this.getMaxLevel(e-1),t.autoLevelCapping>this.autoLevelCapping&&t.streamController.nextLevelSwitch(),this.autoLevelCapping=t.autoLevelCapping}}},n.prototype.getMaxLevel=function(e){var t=this;if(!this.levels)return-1;var r=this.levels.filter(function(r,i){return n.isLevelAllowed(i,t.restrictedLevels)&&i<=e});return n.getMaxLevelByMediaSize(r,this.mediaWidth,this.mediaHeight)},n.prototype._startCapping=function(){this.timer||(this.autoLevelCapping=e.POSITIVE_INFINITY,this.hls.firstLevel=this.getMaxLevel(this.firstLevel),clearInterval(this.timer),this.timer=setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())},n.prototype._stopCapping=function(){this.restrictedLevels=[],this.firstLevel=null,this.autoLevelCapping=e.POSITIVE_INFINITY,this.timer&&(this.timer=clearInterval(this.timer),this.timer=null)},Object.defineProperty(n.prototype,"mediaWidth",{get:function(){var e,t=this.media;return t&&(e=t.width||t.clientWidth||t.offsetWidth,e*=n.contentScaleFactor),e},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"mediaHeight",{get:function(){var e,t=this.media;return t&&(e=t.height||t.clientHeight||t.offsetHeight,e*=n.contentScaleFactor),e},enumerable:!0,configurable:!0}),Object.defineProperty(n,"contentScaleFactor",{get:function(){var e=1;try{e=window.devicePixelRatio}catch(e){}return e},enumerable:!0,configurable:!0}),n.isLevelAllowed=function(e,t){return void 0===t&&(t=[]),-1===t.indexOf(e)},n.getMaxLevelByMediaSize=function(e,t,n){if(!e||e&&!e.length)return-1;for(var r=function(e,t){return!t||e.width!==t.width||e.height!==t.height},i=e.length-1,o=0;o<e.length;o+=1){var a=e[o];if((a.width>=t||a.height>=n)&&r(a,e[o+1])){i=o;break}}return i},n}(n(4)["default"]);t["default"]=o}).call(this,n(2).Number)},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(4),a=n(0),s=window.performance,l=function(e){function t(t){return e.call(this,t,i["default"].MEDIA_ATTACHING)||this}return r(t,e),t.prototype.destroy=function(){this.timer&&clearInterval(this.timer),this.isVideoPlaybackQualityAvailable=!1},t.prototype.onMediaAttaching=function(e){var t=this.hls.config;t.capLevelOnFPSDrop&&("function"==typeof(this.video=e.media instanceof window.HTMLVideoElement?e.media:null).getVideoPlaybackQuality&&(this.isVideoPlaybackQualityAvailable=!0),clearInterval(this.timer),this.timer=setInterval(this.checkFPSInterval.bind(this),t.fpsDroppedMonitoringPeriod))},t.prototype.checkFPS=function(e,t,n){var r=s.now();if(t){if(this.lastTime){var o=r-this.lastTime,l=n-this.lastDroppedFrames,c=t-this.lastDecodedFrames,u=1e3*l/o,d=this.hls;if(d.trigger(i["default"].FPS_DROP,{currentDropped:l,currentDecoded:c,totalDroppedFrames:n}),u>0&&l>d.config.fpsDroppedMonitoringThreshold*c){var p=d.currentLevel;a.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+p),p>0&&(-1===d.autoLevelCapping||d.autoLevelCapping>=p)&&(p-=1,d.trigger(i["default"].FPS_DROP_LEVEL_CAPPING,{level:p,
droppedLevel:d.currentLevel}),d.autoLevelCapping=p,d.streamController.nextLevelSwitch())}}this.lastTime=r,this.lastDroppedFrames=n,this.lastDecodedFrames=t}},t.prototype.checkFPSInterval=function(){var e=this.video;if(e)if(this.isVideoPlaybackQualityAvailable){var t=e.getVideoPlaybackQuality();this.checkFPS(e,t.totalVideoFrames,t.droppedVideoFrames)}else this.checkFPS(e,e.webkitDecodedFrameCount,e.webkitDroppedFrameCount)},t}(o["default"]);t["default"]=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=window.performance,o=window.XMLHttpRequest,a=function(){function e(e){e&&e.xhrSetup&&(this.xhrSetup=e.xhrSetup)}return e.prototype.destroy=function(){this.abort(),this.loader=null},e.prototype.abort=function(){var e=this.loader;e&&4!==e.readyState&&(this.stats.aborted=!0,e.abort()),window.clearTimeout(this.requestTimeout),this.requestTimeout=null,window.clearTimeout(this.retryTimeout),this.retryTimeout=null},e.prototype.load=function(e,t,n){this.context=e,this.config=t,this.callbacks=n,this.stats={trequest:i.now(),retry:0},this.retryDelay=t.retryDelay,this.loadInternal()},e.prototype.loadInternal=function(){var e,t=this.context;e=this.loader=new o;var n=this.stats;n.tfirst=0,n.loaded=0;var r=this.xhrSetup;try{if(r)try{r(e,t.url)}catch(n){e.open("GET",t.url,!0),r(e,t.url)}e.readyState||e.open("GET",t.url,!0)}catch(n){return void this.callbacks.onError({code:e.status,text:n.message},t,e)}t.rangeEnd&&e.setRequestHeader("Range","bytes="+t.rangeStart+"-"+(t.rangeEnd-1)),e.onreadystatechange=this.readystatechange.bind(this),e.onprogress=this.loadprogress.bind(this),e.responseType=t.responseType,this.requestTimeout=window.setTimeout(this.loadtimeout.bind(this),this.config.timeout),e.send()},e.prototype.readystatechange=function(e){var t=e.currentTarget,n=t.readyState,o=this.stats,a=this.context,s=this.config;if(!o.aborted&&n>=2)if(window.clearTimeout(this.requestTimeout),0===o.tfirst&&(o.tfirst=Math.max(i.now(),o.trequest)),4===n){var l=t.status;if(l>=200&&l<300){o.tload=Math.max(o.tfirst,i.now());var c=void 0,u=void 0;u="arraybuffer"===a.responseType?(c=t.response).byteLength:(c=t.responseText).length,o.loaded=o.total=u;var d={url:t.responseURL,data:c};this.callbacks.onSuccess(d,o,a,t)}else o.retry>=s.maxRetry||l>=400&&l<499?(r.logger.error(l+" while loading "+a.url),this.callbacks.onError({code:l,text:t.statusText},a,t)):(r.logger.warn(l+" while loading "+a.url+", retrying in "+this.retryDelay+"..."),this.destroy(),this.retryTimeout=window.setTimeout(this.loadInternal.bind(this),this.retryDelay),this.retryDelay=Math.min(2*this.retryDelay,s.maxRetryDelay),o.retry++)}else this.requestTimeout=window.setTimeout(this.loadtimeout.bind(this),s.timeout)},e.prototype.loadtimeout=function(){r.logger.warn("timeout while loading "+this.context.url),this.callbacks.onTimeout(this.stats,this.context,null)},e.prototype.loadprogress=function(e){var t=e.currentTarget,n=this.stats;n.loaded=e.loaded,e.lengthComputable&&(n.total=e.total);var r=this.callbacks.onProgress;r&&r(n,this.context,null,t)},e}();t["default"]=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="undefined"!=typeof window&&window.navigator&&window.navigator.requestMediaKeySystemAccess?window.navigator.requestMediaKeySystemAccess.bind(window.navigator):null;t.requestMediaKeySystemAccess=r}])["default"]});var MHP1138={appVersion:"4.1.5",buildNumber:"200506332",minified:!0,core:{coreName:"HTML5Player",version:"4.1.5"},cores:{},skins:{desktop:{},mobile:{},basic:{},image:{},shared:{}},players:{},setDefaults:function(e){this.defaults=this.utils.deepExtend({},this.defaults,e)},createPlayer:function(e,t){var n=this.utils.deepExtend({},this.defaults,t);return this.utils.eventsDispatcher.subscribePlayerEvents(e,n.events),this.detector.init(this.utils,n),this.utils.url.getParameter("forceSkin")&&(n.forceSkin=this.utils.url.getParameter("forceSkin")),"undefined"!=typeof n.forceSkin&&"basic"==n.forceSkin&&(this.detector.bestSkin=n.forceSkin),"image"==this.detector.bestSkin&&(n.forceSkin="image"),this.players[e]="basic"==this.detector.bestSkin||"image"==this.detector.bestSkin?new this.cores.basicPlayer:new this.cores[this.core.coreName],this.players[e].init(e,n)},destroyPlayer:function(e,t){var n=this;this.players[e]&&(this.utils.eventsDispatcher.destroy(e),this.players[e].destroy(function(){delete n.players[e],t&&t()}))},inspect:function(e){var t={};if(e)t[e]=r[e].settings();else{var n=Object.keys(this.players),r=this.players;this.utils.each(n,function(e){t[e]=r[e].settings()})}return t},getPlayerIds:function(){return Object.keys(this.players)},log:function(e){this.outputConsoleLog("mhp1138: "+e,"log")},warn:function(e){this.outputConsoleLog("mhp1138: "+e,"warn")},error:function(e){this.outputConsoleLog("mhp1138: v.4.1.5 -- o_O --> "+e,"error")},outputConsoleLog:function(e,t){this.isOldIE||this.minified||console[t](e)}};(function(){function e(e){return function(t,n,r){n=h(n,r);for(var i=null!=t&&t.length,o=e>0?0:i-1;o>=0&&o<i;o+=e)if(n(t[o],o,t))return o;return-1}}function t(e,t){var n=E.length,r=e.constructor,i=f.isFunction(r)&&r.prototype||o,a="constructor";for(f.has(e,a)&&!f.contains(t,a)&&t.push(a);n--;)a=E[n],a in e&&e[a]!==i[a]&&!f.contains(t,a)&&t.push(a)}var n=this,r=n._,i=Array.prototype,o=Object.prototype,a=Function.prototype,s=i.push,l=i.slice,c=(i.concat,o.toString),u=o.hasOwnProperty,d=Array.isArray,p=Object.keys,f=(a.bind,Object.create,function(e){return e instanceof f?e:this instanceof f?void(this._wrapped=e):new f(e)});"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=f),exports._=f):n._=f,f.VERSION="1.8.2";var A=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)}}return function(){return e.apply(t,arguments)}},h=function(e,t,n){return null==e?f.identity:f.isFunction(e)?A(e,t,n):f.isObject(e)?f.matcher(e):f.property(e)};f.iteratee=function(e,t){return h(e,t,1/0)};var g=function(e,t){return function(n){var r=arguments.length;if(r<2||null==n)return n;for(var i=1;i<r;i++)for(var o=arguments[i],a=e(o),s=a.length,l=0;l<s;l++){var c=a[l];t&&void 0!==n[c]||(n[c]=o[c])}return n}},m=Math.pow(2,53)-1,v=function(e){var t=e&&e.length;return"number"==typeof t&&t>=0&&t<=m};f.each=f.forEach=function(e,t,n){t=A(t,n);var r,i;if(v(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var o=f.keys(e);for(r=0,i=o.length;r<i;r++)t(e[o[r]],o[r],e)}return e},f.map=f.collect=function(e,t,n){t=h(t,n);for(var r=!v(e)&&f.keys(e),i=(r||e).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=t(e[s],s,e)}return o},f.find=f.detect=function(e,t,n){var r;if(r=v(e)?f.findIndex(e,t,n):f.findKey(e,t,n),void 0!==r&&r!==-1)return e[r]},f.filter=f.select=function(e,t,n){var r=[];return t=h(t,n),f.each(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r},f.reject=function(e,t,n){return f.filter(e,f.negate(h(t)),n)},f.every=f.all=function(e,t,n){t=h(t,n);for(var r=!v(e)&&f.keys(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(!t(e[a],a,e))return!1}return!0},f.some=f.any=function(e,t,n){t=h(t,n);for(var r=!v(e)&&f.keys(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(t(e[a],a,e))return!0}return!1},f.contains=f.includes=f.include=function(e,t,n){return v(e)||(e=f.values(e)),f.indexOf(e,t,"number"==typeof n&&n)>=0},f.pluck=function(e,t){return f.map(e,f.property(t))},f.max=function(e,t,n){var r,i,o=-(1/0),a=-(1/0);if(null==t&&null!=e){e=v(e)?e:f.values(e);for(var s=0,l=e.length;s<l;s++)r=e[s],r>o&&(o=r)}else t=h(t,n),f.each(e,function(e,n,r){i=t(e,n,r),(i>a||i===-(1/0)&&o===-(1/0))&&(o=e,a=i)});return o},f.sortBy=function(e,t,n){return t=h(t,n),f.pluck(f.map(e,function(e,n,r){return{value:e,index:n,criteria:t(e,n,r)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")},f.size=function(e){return null==e?0:v(e)?e.length:f.keys(e).length};var y=function(e,t,n,r){for(var i=[],o=0,a=r||0,s=e&&e.length;a<s;a++){var l=e[a];if(v(l)&&(f.isArray(l)||f.isArguments(l))){t||(l=y(l,t,n));var c=0,u=l.length;for(i.length+=u;c<u;)i[o++]=l[c++]}else n||(i[o++]=l)}return i};f.flatten=function(e,t){return y(e,t,!1)},f.object=function(e,t){for(var n={},r=0,i=e&&e.length;r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n},f.indexOf=function(e,t,n){var r=0,i=e&&e.length;if("number"==typeof n)r=n<0?Math.max(0,i+n):n;else if(n&&i)return r=f.sortedIndex(e,t),e[r]===t?r:-1;if(t!==t)return f.findIndex(l.call(e,r),f.isNaN);for(;r<i;r++)if(e[r]===t)return r;return-1},f.findIndex=e(1),f.findLastIndex=e(-1);f.debounce=function(e,t,n){var r,i,o,a,s,l=function(){var c=f.now()-a;c<t&&c>=0?r=setTimeout(l,t-c):(r=null,n||(s=e.apply(o,i),r||(o=i=null)))};return function(){o=this,i=arguments,a=f.now();var c=n&&!r;return r||(r=setTimeout(l,t)),c&&(s=e.apply(o,i),o=i=null),s}},f.wrap=function(e,t){return f.partial(t,e)},f.negate=function(e){return function(){return!e.apply(this,arguments)}};var b=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];f.keys=function(e){if(!f.isObject(e))return[];if(p)return p(e);var n=[];for(var r in e)f.has(e,r)&&n.push(r);return b&&t(e,n),n},f.allKeys=function(e){if(!f.isObject(e))return[];var n=[];for(var r in e)n.push(r);return b&&t(e,n),n},f.invert=function(e){for(var t={},n=f.keys(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t},f.functions=f.methods=function(e){var t=[];for(var n in e)f.isFunction(e[n])&&t.push(n);return t.sort()},f.extend=g(f.allKeys),f.extendOwn=f.assign=g(f.keys),f.findKey=function(e,t,n){t=h(t,n);for(var r,i=f.keys(e),o=0,a=i.length;o<a;o++)if(r=i[o],t(e[r],r,e))return r},f.pick=function(e,t,n){var r,i,o={},a=e;if(null==a)return o;f.isFunction(t)?(i=f.allKeys(a),r=A(t,n)):(i=y(arguments,!1,!1,1),r=function(e,t,n){return t in n},a=Object(a));for(var s=0,l=i.length;s<l;s++){var c=i[s],u=a[c];r(u,c,a)&&(o[c]=u)}return o},f.omit=function(e,t,n){if(f.isFunction(t))t=f.negate(t);else{var r=f.map(y(arguments,!1,!1,1),String);t=function(e,t){return!f.contains(r,t)}}return f.pick(e,t,n)},f.defaults=g(f.allKeys,!0),f.clone=function(e){return f.isObject(e)?f.isArray(e)?e.slice():f.extend({},e):e},f.isEmpty=function(e){return null==e||(v(e)&&(f.isArray(e)||f.isString(e)||f.isArguments(e))?0===e.length:0===f.keys(e).length)},f.isElement=function(e){return!(!e||1!==e.nodeType)},f.isArray=d||function(e){return"[object Array]"===c.call(e)},f.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},f.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(e){f["is"+e]=function(t){return c.call(t)==="[object "+e+"]"}}),f.isArguments(arguments)||(f.isArguments=function(e){return f.has(e,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(f.isFunction=function(e){return"function"==typeof e||!1}),f.isNaN=function(e){return f.isNumber(e)&&e!==+e},f.isBoolean=function(e){return e===!0||e===!1||"[object Boolean]"===c.call(e)},f.isNull=function(e){return null===e},f.isUndefined=function(e){return void 0===e},f.has=function(e,t){return null!=e&&u.call(e,t)},f.noConflict=function(){return n._=r,this},f.property=function(e){return function(t){return null==t?void 0:t[e]}},f.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},f.now=Date.now||function(){return(new Date).getTime()};var w={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},T=f.invert(w),S=function(e){var t=function(t){return e[t]},n="(?:"+f.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};f.escape=S(w),f.unescape=S(T);var x=0;f.uniqueId=function(e){var t=++x+"";return e?e+t:t},f.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var _=/(.)^/,M={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},k=/\\|'|\r|\n|\u2028|\u2029/g,P=function(e){return"\\"+M[e]};f.template=function(e,t,n){!t&&n&&(t=n),t=f.defaults({},t,f.templateSettings);var r=RegExp([(t.escape||_).source,(t.interpolate||_).source,(t.evaluate||_).source].join("|")+"|$","g"),i=0,o="__p+='";e.replace(r,function(t,n,r,a,s){return o+=e.slice(i,s).replace(k,P),i=s+t.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),t}),o+="';\n",t.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var a=new Function(t.variable||"obj","_",o)}catch(s){throw s.source=o,s}var l=function(e){return a.call(this,e,f)},c=t.variable||"obj";return l.source="function("+c+"){\n"+o+"}",l},f.chain=function(e){var t=f(e);return t._chain=!0,t};var R=function(e,t){return e._chain?f(t).chain():t};f.mixin=function(e){f.each(f.functions(e),function(t){var n=f[t]=e[t];f.prototype[t]=function(){var e=[this._wrapped];return s.apply(e,arguments),R(this,n.apply(f,e))}})},f.mixin(f),f.prototype.value=function(){return this._wrapped},f.prototype.valueOf=f.prototype.toJSON=f.prototype.value,f.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return f})}).call(this),__=_.noConflict(),function(e){var t=e();window.satisfy=t}(function(){function e(e,t){for(var n,r,a,s=i.TAG.exec(e),u=o.createElement(s&&"*"!==s[1]?s[1]:"div"),d=o.createDocumentFragment(),p=l.length;p--;)if(r=i[l[p]],a=c[l[p]],r.global)for(;null!==(n=r.exec(e));)a(n,u);else(n=r.exec(e))&&a(n,u);for(;t--;)d.appendChild(u.cloneNode(!0));return d}function t(e,t){e=e.childNodes;for(var n,r=e.length;r--;)n=e[r],"table"===n.nodeName.toLowerCase()&&n.appendChild(n=o.createElement("tbody")),n.appendChild(t.cloneNode(!0))}function n(n,s){if(n in a)return a[n].cloneNode(!0).childNodes;u=__.isUndefined(s)?"":s;for(var l,c,d,p,f,A=[],h=o.createDocumentFragment(),g=1,m=0,v=!1;null!==(f=r.exec(n));)++m,A.push(f[1]);for(;m--;)d=A[m],i.COMBINATOR.test(d)?v="~"===d||"+"===d:(g=(p=d.match(i.CLONE))?~~p[1]:1,c=l,l=e(d,g),c&&(v?(l.appendChild(c),v=!1):t(l,c)));return h.appendChild(l),a[n]=h.cloneNode(!0),h.childNodes}var r=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,i={ID:/[^"]#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?![^[\]]+])(?:(?!\]))/g,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/g,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CLONE:/\:(\d+)(?=$|[:[])/,COMBINATOR:/^[>~+]$/},o=document,a={},s={"for":"htmlFor","class":"className",html:"innerHTML"},l=["ID","CLASS","NAME","ATTR"],c={ID:function(e,t){t.id=u+e[1]},CLASS:function(e,t){var n=t.className.replace(/^\s+$/,"");t.className=n?n+" "+u+e[1]:u+e[1]},NAME:function(e,t){t.name=e[1]},ATTR:function(e,t){var n=e[1],r=e[4]||!0;r===!0||"innerHTML"===n||s.hasOwnProperty(n)?t[s[n]||n]=r:t.setAttribute(n,r)}},u="";return n.cache=a,n}),function(){var e=this,t=this.document,n=this.zest,r=function(){return t.compareDocumentPosition?function(e,t){return e.compareDocumentPosition(t)}:function(e,t){for(var n=e.ownerDocument.getElementsByTagName("*"),r=n.length;r--;){if(n[r]===e)return 2;if(n[r]===t)return 4}return 1}}(),i=function(e,t){return 2&r(e,t)?1:-1},o=function(e){for(;(e=e.nextSibling)&&1!==e.nodeType;);return e},a=function(e){for(;(e=e.previousSibling)&&1!==e.nodeType;);return e},s=function(e){if(e=e.firstChild)for(;1!==e.nodeType&&(e=e.nextSibling););return e},l=function(e){if(e=e.lastChild)for(;1!==e.nodeType&&(e=e.previousSibling););return e},c=function(e){if(!e)return e;var t=e[0];return'"'===t||"'"===t?e.slice(1,-1):e},u=function(){return Array.prototype.indexOf?Array.prototype.indexOf:function(e,t){for(var n=this.length;n--;)if(this[n]===t)return n;return-1}}(),d=function(e,t){var n=y.inside.source.replace(/</g,e).replace(/>/g,t);return new RegExp(n)},p=function(e,t,n){return e=e.source,e=e.replace(t,n.source||n),new RegExp(e)},f=function(e,t){return e.replace(/^(?:\w+:\/\/|\/+)/,"").replace(/(?:\/+|\/*#.*?)$/,"").split("/",t).join("/")},A=function(e,t){var n,e=e.replace(/\s+/g,"");return"even"===e?e="2n+0":"odd"===e?e="2n+1":~e.indexOf("n")||(e="0n"+e),n=/^([+-])?(\d+)?n([+-])?(\d+)?$/.exec(e),{group:"-"===n[1]?-(n[2]||1):+(n[2]||1),offset:n[4]?"-"===n[3]?-n[4]:+n[4]:0}},h=function(e,t,n){var e=A(e),r=e.group,i=e.offset,c=n?l:s,u=n?a:o;return function(e){if(1===e.parentNode.nodeType)for(var n=c(e.parentNode),o=0;n;){if(t(n,e)&&o++,n===e)return o-=i,r&&o?!(o%r)&&o<0==r<0:!o;n=u(n)}}},g={"*":function(){return function(){var e=t.createElement("div");return e.appendChild(t.createComment("")),!!e.getElementsByTagName("*")[0]}()?function(e){if(1===e.nodeType)return!0}:function(){return!0}}(),type:function(e){return e=e.toLowerCase(),function(t){return t.nodeName.toLowerCase()===e}},attr:function(e,t,n,r){return t=m[t],function(i){var o;switch(e){case"for":o=i.htmlFor;break;case"class":o=i.className,""===o&&null==i.getAttribute("class")&&(o=null);break;case"href":o=i.getAttribute("href",2);break;case"title":o=i.getAttribute("title")||null;break;case"id":if(i.getAttribute){o=i.getAttribute("id");break}default:o=null!=i[e]?i[e]:i.getAttribute&&i.getAttribute(e)}if(null!=o)return o+="",r&&(o=o.toLowerCase(),n=n.toLowerCase()),t(o,n)}},":first-child":function(e){return!a(e)&&1===e.parentNode.nodeType},":last-child":function(e){return!o(e)&&1===e.parentNode.nodeType},":only-child":function(e){return!a(e)&&!o(e)&&1===e.parentNode.nodeType},":nth-child":function(e,t){return h(e,function(){return!0},t)},":nth-last-child":function(e){return g[":nth-child"](e,!0)},":root":function(e){return e.ownerDocument.documentElement===e},":empty":function(e){return!e.firstChild},":not":function(e){var t=x(e);return function(e){return!t(e)}},":first-of-type":function(e){if(1===e.parentNode.nodeType){for(var t=e.nodeName;e=a(e);)if(e.nodeName===t)return;return!0}},":last-of-type":function(e){if(1===e.parentNode.nodeType){for(var t=e.nodeName;e=o(e);)if(e.nodeName===t)return;return!0}},":only-of-type":function(e){return g[":first-of-type"](e)&&g[":last-of-type"](e)},":nth-of-type":function(e,t){return h(e,function(e,t){return e.nodeName===t.nodeName},t)},":nth-last-of-type":function(e){return g[":nth-of-type"](e,!0)},":checked":function(e){return!(!e.checked&&!e.selected)},":indeterminate":function(e){return!g[":checked"](e)},":enabled":function(e){return!e.disabled&&"hidden"!==e.type},":disabled":function(e){return!!e.disabled},":target":function(t){return t.id===e.location.hash.substring(1)},":focus":function(e){return e===e.ownerDocument.activeElement},":matches":function(e){return x(e)},":nth-match":function(e,t){var n=e.split(/\s*,\s*/),r=n.shift(),i=x(n.join(","));return h(r,i,t)},":nth-last-match":function(e){return g[":nth-match"](e,!0)},":links-here":function(t){return t+""==e.location+""},":lang":function(e){return function(t){for(;t;){if(t.lang)return 0===t.lang.indexOf(e);t=t.parentNode}}},":dir":function(e){return function(t){for(;t;){if(t.dir)return t.dir===e;t=t.parentNode}}},":scope":function(e,t){var n=t||e.ownerDocument;return 9===n.nodeType?e===n.documentElement:e===n},":any-link":function(e){return"string"==typeof e.href},":local-link":function(t){if(t.nodeName)return t.href&&t.host===e.location.host;var n=+t+1;return function(t){if(t.href){var r=e.location+"",i=t+"";return f(r,n)===f(i,n)}}},":default":function(e){return!!e.defaultSelected},":valid":function(e){return e.willValidate||e.validity&&e.validity.valid},":invalid":function(e){return!g[":valid"](e)},":in-range":function(e){return e.value>e.min&&e.value<=e.max},":out-of-range":function(e){return!g[":in-range"](e)},":required":function(e){return!!e.required},":optional":function(e){return!e.required},":read-only":function(e){if(e.readOnly)return!0;var t=e.getAttribute("contenteditable"),n=e.contentEditable,r=e.nodeName.toLowerCase();return r="input"!==r&&"textarea"!==r,(r||e.disabled)&&null==t&&"true"!==n},":read-write":function(e){return!g[":read-only"](e)},":hover":function(){throw new Error(":hover is not supported.")},":active":function(){throw new Error(":active is not supported.")},":link":function(){throw new Error(":link is not supported.")},":visited":function(){throw new Error(":visited is not supported.")},":column":function(){throw new Error(":column is not supported.")},":nth-column":function(){throw new Error(":nth-column is not supported.")},":nth-last-column":function(){throw new Error(":nth-last-column is not supported.")},":current":function(){throw new Error(":current is not supported.")},":past":function(){throw new Error(":past is not supported.")},":future":function(){throw new Error(":future is not supported.")},":contains":function(e){return function(t){var n=t.innerText||t.textContent||t.value||"";return!!~n.indexOf(e)}},":has":function(e){return function(t){return k(e,t).length>0}}},m={"-":function(){return!0},"=":function(e,t){return e===t},"*=":function(e,t){return e.indexOf(t)!==-1},"~=":function(e,t){var n,r,i=e.indexOf(t);if(i!==-1)return n=e[i-1],r=e[i+t.length],!(n&&" "!==n||r&&" "!==r)},"|=":function(e,t){var n,r=e.indexOf(t);if(0===r)return n=e[r+t.length],"-"===n||!n},"^=":function(e,t){return 0===e.indexOf(t)},"$=":function(e,t){return e.indexOf(t)+t.length===e.length},"!=":function(e,t){return e!==t}},v={" ":function(e){return function(t){for(;t=t.parentNode;)if(e(t))return t}},">":function(e){return function(t){return e(t=t.parentNode)&&t}},"+":function(e){return function(t){return e(t=a(t))&&t}},"~":function(e){return function(t){for(;t=a(t);)if(e(t))return t}},noop:function(e){return function(t){return e(t)&&t}},ref:function(e,t){function n(e){for(var t=e.ownerDocument,i=t.getElementsByTagName("*"),o=i.length;o--;)if(r=i[o],n.test(e))return r=null,!0;r=null}var r;return n.combinator=function(n){if(r&&r.getAttribute){var i=r.getAttribute(t)||"";return"#"===i[0]&&(i=i.substring(1)),i===n.id&&e(r)?r:void 0}},n}},y={qname:/^ *([\w\-]+|\*)/,simple:/^(?:([.#][\w\-]+)|pseudo|attr)/,ref:/^ *\/([\w\-]+)\/ */,combinator:/^(?: +([^ \w*]) +|( )+|([^ \w*]))(?! *$)/,attr:/^\[([\w\-]+)(?:([^\w]?=)(inside))?\]/,pseudo:/^(:[\w\-]+)(?:\((inside)\))?/,inside:/(?:"(?:\\"|[^"])*"|'(?:\\'|[^'])*'|<[^"'>]*>|\\["'>]|[^"'>])*/};y.inside=p(y.inside,"[^\"'>]*",y.inside),y.attr=p(y.attr,"inside",d("\\[","\\]")),y.pseudo=p(y.pseudo,"inside",d("\\(","\\)")),y.simple=p(y.simple,"pseudo",y.pseudo),y.simple=p(y.simple,"attr",y.attr);var b=function(e){for(var t,n,r,i,o,a,e=e.replace(/^\s+|\s+$/g,""),s=[],l=[];e;){if(i=y.qname.exec(e))e=e.substring(i[0].length),r=i[1],l.push(E(r,!0));else{if(!(i=y.simple.exec(e)))throw new Error("Invalid selector.");e=e.substring(i[0].length),r="*",l.push(E(r,!0)),l.push(E(i))}for(;i=y.simple.exec(e);)e=e.substring(i[0].length),l.push(E(i));if("!"===e[0]&&(e=e.substring(1),n=S(),n.qname=r,l.push(n.simple)),i=y.ref.exec(e))e=e.substring(i[0].length),a=v.ref(w(l),i[1]),s.push(a.combinator),l=[];else{if(i=y.combinator.exec(e)){if(e=e.substring(i[0].length),o=i[1]||i[2]||i[3],","===o){s.push(v.noop(w(l)));break}}else o="noop";s.push(v[o](w(l))),l=[]}}return t=T(s),t.qname=r,t.sel=e,n&&(n.lname=t.qname,n.test=t,n.qname=n.qname,n.sel=t.sel,t=n),a&&(a.test=t,a.qname=t.qname,a.sel=t.sel,t=a),t},E=function(e,t){if(t)return"*"===e?g["*"]:g.type(e);if(e[1])return"."===e[1][0]?g.attr("class","~=",e[1].substring(1)):g.attr("id","=",e[1].substring(1));if(e[2])return e[3]?g[e[2]](c(e[3])):g[e[2]];if(e[4]){var n;return e[6]&&(n=e[6].length,e[6]=e[6].replace(/ +i$/,""),n=n>e[6].length),g.attr(e[4],e[5]||"-",c(e[6]),n)}throw new Error("Unknown Selector.")},w=function(e){var t,n=e.length;return n<2?e[0]:function(r){if(r){for(t=0;t<n;t++)if(!e[t](r))return;return!0}}},T=function(e){return e.length<2?function(t){return!!e[0](t)}:function(t){for(var n=e.length;n--;)if(!(t=e[n](t)))return;return!0}},S=function(){function e(n){for(var r=n.ownerDocument,i=r.getElementsByTagName(e.lname),o=i.length;o--;)if(e.test(i[o])&&t===n)return t=null,!0;t=null}var t;return e.simple=function(e){return t=e,!0},e},x=function(e){for(var t=b(e),n=[t];t.sel;)t=b(t.sel),n.push(t);return n.length<2?t:function(e){for(var t=n.length,r=0;r<t;r++)if(n[r](e))return!0}},_=function(e,t){for(var n,r=[],o=b(e),a=t.getElementsByTagName(o.qname),s=0;n=a[s++];)o(n)&&r.push(n);if(o.sel){for(;o.sel;)for(o=b(o.sel),a=t.getElementsByTagName(o.qname),s=0;n=a[s++];)o(n)&&!~u.call(r,n)&&r.push(n);r.sort(i)}return r},M=function(){var e=function(){try{return Array.prototype.slice.call(t.getElementsByTagName("zest")),Array.prototype.slice}catch(e){return e=null,function(){for(var e=[],t=0,n=this.length;t<n;t++)e.push(this[t]);return e}}}();return t.querySelectorAll?function(t,n){try{return e.call(n.querySelectorAll(t))}catch(r){return _(t,n)}}:function(t,n){try{if("#"===t[0]&&/^#[\w\-]+$/.test(t))return[n.getElementById(t.substring(1))];if("."===t[0]&&/^\.[\w\-]+$/.test(t))return t=n.getElementsByClassName(t.substring(1)),e.call(t);if(/^[\w\-]+$/.test(t))return e.call(n.getElementsByTagName(t))}catch(r){}return _(t,n)}}(),k=function(n,r){try{n=M(n,r||t)}catch(i){e.ZEST_DEBUG&&console.log(i.stack||i+""),n=[]}return n};k.selectors=g,k.operators=m,k.combinators=v,k.compile=x,k.matches=function(e,t){return!!x(t)(e)},k.cache=function(){if(!b.raw){var e=b,t={};b=function(n){return t[n]||(t[n]=e(n))},b.raw=e,k._cache=t}},k.noCache=function(){b.raw&&(b=b.raw,delete k._cache)},k.noConflict=function(){return e.zest=n,k},k.noNative=function(){M=_},"undefined"!=typeof module?module.exports=k:this.zest=k,e.ZEST_DEBUG?k.noNative():k.cache()}.call(function(){return this||("undefined"!=typeof window?window:global)}()),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t():"function"==typeof define&&define.amd?define(t):t()}(0,function(){"use strict";function e(e){var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){return t.reject(n)})})}function t(){}function n(e){if(!(this instanceof n))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],s(e,this)}function r(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,n._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(a){return void o(t.promise,a)}i(t.promise,r)}else(1===e._state?i:o)(t.promise,e._value)})):e._deferreds.push(t)}function i(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var r=t.then;if(t instanceof n)return e._state=3,e._value=t,void a(e);if("function"==typeof r)return void s(function(e,t){return function(){e.apply(t,arguments)}}(r,t),e)}e._state=1,e._value=t,a(e)}catch(i){o(e,i)}}function o(e,t){e._state=2,e._value=t,a(e)}function a(e){2===e._state&&0===e._deferreds.length&&n._immediateFn(function(){e._handled||n._unhandledRejectionFn(e._value)});for(var t=0,i=e._deferreds.length;i>t;t++)r(e,e._deferreds[t]);e._deferreds=null}function s(e,t){var n=!1;try{e(function(e){n||(n=!0,i(t,e))},function(e){n||(n=!0,o(t,e))})}catch(r){if(n)return;n=!0,o(t,r)}}var l=setTimeout;n.prototype["catch"]=function(e){return this.then(null,e)},n.prototype.then=function(e,n){var i=new this.constructor(t);return r(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,n,i)),i},n.prototype["finally"]=e,n.all=function(e){return new n(function(t,n){function r(e,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(t){r(e,t)},n)}i[e]=a,0==--o&&t(i)}catch(l){n(l)}}if(!e||"undefined"==typeof e.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var o=i.length,a=0;i.length>a;a++)r(a,i[a])})},n.resolve=function(e){return e&&"object"==typeof e&&e.constructor===n?e:new n(function(t){t(e)})},n.reject=function(e){return new n(function(t,n){n(e)})},n.race=function(e){return new n(function(t,n){for(var r=0,i=e.length;i>r;r++)e[r].then(t,n)})},n._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){l(e,0)},n._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var c=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();"Promise"in c?c.Promise.prototype["finally"]||(c.Promise.prototype["finally"]=e):c.Promise=n}),function(e,t){"use strict";function n(t){var r=/#{\s*?_\s*?}/,i=Array.prototype.slice;return e.each(i.call(arguments,1),function(i){for(var o in i)if(e.isUndefined(t[o])||e.isFunction(t[o])||e.isNull(i[o])||e.isDate(i[o]))t[o]=i[o];else if(e.isString(i[o])&&r.test(i[o]))e.isString(t[o])&&(t[o]=i[o].replace(r,t[o]));else if(e.isArray(t[o])||e.isArray(i[o])){if(!e.isArray(t[o])||!e.isArray(i[o]))throw new Error("Trying to combine an array with a non-array ("+o+")");t[o]=e.reject(n(e.clone(t[o]),i[o]),function(t){return e.isNull(t)})}else if(e.isObject(t[o])||e.isObject(i[o])){if(!e.isObject(t[o])||!e.isObject(i[o]))throw new Error("Trying to combine an object with a non-object ("+o+")");t[o]=n(e.clone(t[o]),i[o])}else t[o]=i[o]}),t}MHP1138=MHP1138||{},MHP1138.utils={prefix:"mhp1138",site:t.location.hostname,network:{},html:{},css:{},string:{},url:{},events:{},timers:{},media:{},underscore:e,_:e,deepExtend:n,each:e.each,init:function(e,t){return this.string.initLocalizer(t),this.url.initUtm(t),this}}}(__,window),function(e,t){"use strict";function n(e,t){e=String(e).replace(/[^0-9a-f]/gi,""),e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),t=t||0;var n,r,i="#";for(r=0;r<3;r++)n=parseInt(e.substr(2*r,2),16),n=Math.round(Math.min(Math.max(0,n+n*t),255)).toString(16),i+=("00"+n).substr(n.length);return i}function r(e,t){var n={};return a(e,function(e,i){o.isObject(e)?n[i]=r(e,t):n[i]="#"+t+" "+e.replace(/\./g,"."+s)}),n}function i(e,t,r){var i=/\.-?[_a-zA-Z]+[_a-zA-Z0-9-]*(?=[^}]*\{)(?!.*\*\/)/g,l=[];return a(e,function(e,r){var e=e.replace(i,function(e){return"."+s+e.substring(1)});e=e.replace(/themeColor(\(([\d-\.]+)\))?/,function(){return o.isUndefined(arguments[2])||o.isNaN(arguments[2])?t:n(t,arguments[2])}),l.push(e)}),l}var o=e.underscore,a=o.each,s="mhp1138_";e.css={prefixesToObject:r,prefixesToArray:i,add:function(e,t){return e&&e.classList?(t.indexOf(s)==-1&&(t=s+t),void e.classList.add(t)):void console.log("addClass: broken CSS selector",e,t)},remove:function(e,t){return e&&e.classList?(t.indexOf(s)==-1&&(t=s+t),void e.classList.remove(t)):void console.log("removeClass: broken CSS selector",e,t)},has:function(e,t){return e&&e.classList?(t.indexOf(s)==-1&&(t=s+t),e.classList.contains(t)):void console.log("hasClass: broken CSS selector",e,t)},toggle:function(e,t){return e&&e.classList?(t.indexOf(s)==-1&&(t=s+t),void e.classList.toggle(t)):void console.log("toggleClass: broken CSS selector",e,t)}}}(window.MHP1138.utils,window),function(e,t){"use strict";var n=e.underscore.each;e.eventsDispatcher={events:{},playerId:null,subscribe:function(e,t,n,r){var i={playerId:t,callback:n,fireOnce:r};this.events[e]?this.events[e].push(i):this.events[e]=[i]},unsubscribe:function(e,t,n){for(var r=this.events[e].length;r--;)this.events[e][r].playerId==t&&(this.events[e].splice(r,1),n&&n(e,t))},fire:function(e,t,r){var i=this,o=[];n(this.events[e],function(n,a){
if(n.playerId==t){try{n.callback(t,e,r)}catch(s){console.log("FireEvent error handler ",s)}n.fireOnce&&o.push(a),i.playerId=t}}),o.length&&n(o,function(t){i.events[e].splice(t,1)})},subscribePlayerEvents:function(e,t){var r=this;n(t,function(t,n){r.subscribe(n,e,t)})},destroy:function(e){var t=this;n(this.events,function(n,r){t.unsubscribe(r,e)})}}}(window.MHP1138.utils,window),function(e,t){"use strict";e.createEventsHelper=function(t,n){function r(t,n,r,i){return r||(r=a),e.eventsDispatcher.subscribe(t,r,n,i)}function i(t,n,r){return r||(r=a),e.eventsDispatcher.unsubscribe(t,r,n)}function o(n,r,i){i||(i=a);var o={playerType:t.type,element:t.container};return e.underscore.extend(o,r),e.eventsDispatcher.fire(n,i,o)}var a=t.id,s=this,l=s._,c=(s.log,{playerId:a,subscribe:r,unsubscribe:i,fire:o,addClick:function(e,r){var i,o,a;e.addEventListener("touchstart",function(e){i=e.touches[0].screenX,o=e.touches[0].screenY,a=!1}),e.addEventListener("touchmove",function(e){(Math.abs(i-e.touches[0].screenX)>10||Math.abs(o-e.touches[0].screenY)>10)&&(a=!0)});var s;e.addEventListener("touchend",function(e){n.isMacos()&&!n.isIos()&&"tablet"!=n.getPlatform()&&n.setPlatform("tablet"),s=e.target,a!==!0&&r.call(t,e)}),e.addEventListener("mouseup",function(e){n.isMacos()&&e.target==s||(r.call(t,e),s=!1)})},addSwipe:function(e,n,r){if(l.isElement(e)&&"function"==typeof n){var i,o,a,c,u,d,p={buffer:10,lockAxes:!1},f=s.deepExtend(p,r||{});e.addEventListener("touchstart",function(e){i=e.touches[0].screenX,o=e.touches[0].screenY,d=!1}),e.addEventListener("touchmove",l.debounce(function(e){a=e.touches[0].screenX-i-f.buffer>0,c=i-e.touches[0].screenX-f.buffer>0,u=o-e.touches[0].screenY+f.buffer<0,d=o-e.touches[0].screenY-f.buffer>0},100,!0)),e.addEventListener("touchend",function(e){var r;r=!f.lockAxes&&(a||c||u||d)?{right:a,left:c,down:u,up:d}:!c&&!a||d||u?!d&&!u||c||a?null:{up:d,down:u}:{right:a,left:c},r&&n.call(t,r)})}}});return e.events.fire=c.fire,e.events.subscribe=c.subscribe,e.events.unsubscribe=c.unsubscribe,e.events.addClick=c.addClick,e.events.addSwipe=c.addSwipe,e.fireEvent=c.fire,e.subscribeToEvent=c.subscribe,e.unsubscribeFromEvent=c.unsubscribe,e.addClickEvent=c.addClick,e.addSwipeEvent=c.addSwipe,c}}(window.MHP1138.utils,window),function(e,t,n){"use strict";function r(t){return t=t.replace(/\.(\S+?)/g,"."+e.prefix+"_$1"),n(t)}function i(e){return r(e)[0]}function o(t){var a="";return s.each(t,function(t,l){if(s.isObject(t)){var c=t._attributes||"";delete t._attributes,a+=n("."+l+c+"[html="+o(t)+"]",e.prefix+"_")[0].outerHTML}else{var u="";s.isNull(t)||s.each(r(t),function(e){u+=e.outerHTML}),a+=i("."+l+(u.length?"[html="+u+"]":"")).outerHTML}}),a}function a(t){return t.replace(/\./g,"."+e.prefix+"_")}var s=e.underscore;e.html={create:i,compile:o,addPrefix:a,queryAll:t,query:function(n){if(!n)return!1;n.indexOf("."+e.prefix)==-1&&(n=a(n));var r=t(n);return!!r.length&&r[0]}}}(window.MHP1138.utils,window.zest,window.satisfy),function(e,t){"use strict";var n=function(e,n){var r="en",i=function(){var e=navigator.userLanguage||navigator.language;return e.substr(0,2)}();return n&&"auto"!==n||(n=i),{defaultLanguage:r,systemLanguage:i,language:n,localize:function(i,o){var a=n;o&&(a=o.substr(0,2));var s=i.match(/(%\S+%)/g);return t.each(s,function(t){var n;e[a]&&e[a][t]&&(n=e[a][t].replace(new RegExp("(')","g"),"’")),n||(n=e[r][t]),n&&(i=i.replace(t,n))}),i}}};e.MHP1138=e.MHP1138||{},e.MHP1138.L10n=n}(window,__),function(e,t){"use strict";function n(n){var r={beautify:!0,type:"warn"};if("object"!=typeof n)return r;var i=e.deepExtend(r,n);return i.type=i.type in t.console?i.type:r.type,i}function r(e,t){if("string"!=typeof e)return!1;var r=n(t),i="\n\n";if(r.beautify)var o=i+"**************** TUBS PLAYER mhp1138: v.4.1.5 ****************"+i,a=i+"**************************************************************",e=o+e+a}e.log=r}(window.MHP1138.utils,window),function(e){"use strict";function t(e){var t={ogg:'video/ogg; codecs="theora"',h264:'video/mp4; codecs="avc1.42E01E"',webm:'video/webm; codecs="vp8, vorbis"',vp9:'video/webm; codecs="vp9"',hls:'application/x-mpegURL; codecs="avc1.42E01E"'},r=document.createElement("video"),i=!1,o=n.find(t,function(t,n){return n==e});if(o)try{(i=!!r.canPlayType)&&(i=r.canPlayType(o).replace(/^no$/,""))}catch(a){}return!!i}var n=e.underscore;e.media={isSupported:t}}(window.MHP1138.utils),function(e,t,n){"use strict";function r(t,n,r,i,o){var s;if(n=n||!1,o=o||!1,s=new XMLHttpRequest,a.isFunction(r)&&(s.onreadystatechange=function(){s.readyState==XMLHttpRequest.DONE&&(200==s.status&&r(s.responseText,s.responseXML,t),a.isFunction(i)&&(500!=s.status&&404!=s.status||i(new Error("XMLHttpRequest returned status: "+s.status))))}),e.string.isPath(t))try{s.open("GET",t),s.withCredentials=o,n&&a.each(n,function(e,t){s.setRequestHeader(t,e)}),s.send()}catch(l){console.log("AjaxLoader error",l)}}function i(e){return e.replace(/^.*[\\\/]/,"")}function o(e,t,n){var r,o=document,a=o.getElementsByTagName("head")[0];if("js"==t)r=o.createElement("script"),r.src=e,r.type="text/javascript";else{if("css"!=t)return MHP1138.error("Invalid file format passed to scriptLoader function."),!1;r=o.createElement("link"),r.rel="stylesheet",r.type="text/css",r.href=e}r.async=!0,r.onload=r.onreadystatechange=function(o){r.readyState&&!/loaded|complete/.test(r.readyState)||(r.onload=r.onreadystatechange=null,r.parentNode&&"css"!==t&&r.parentNode.removeChild(r),r=null,n&&n(200,"success",i(e),t))},a.insertBefore(r,a.firstChild)}var a=e.underscore;e.network={ajax:r,request:function(e,t,n){n=n||!1;var i=new Promise(function(i,o){r(e,t,function(e,t,n){i(e)},function(){o()},n)});return i},track:function(n,i){var o=n,a="unknown";t.isDesktop()?a="desktop":t.isTablet()?a="tablet":t.isMobile()&&(a="mobile"),o=o.replace("%ACTION%",i.action||"").replace("%SITE%",e.site).replace("%SITENAME%",i.siteName||"").replace("%PLATFORM%",a),r(o)},redirect:function(t,r,i,o){var s="_blank";arguments.length>=3&&(o&&(t=e.url.addTime(t,o)),t=e.url.addUtm(t,r,i)),e.events.fire("onRedirect"),!a.isUndefined(r)&&a.isBoolean(r)&&r===!0&&(s="_self");var l=n.open(t,s);l||(n.location=t)},scriptLoader:o}}(window.MHP1138.utils,window.MHP1138.detector,window),function(e,t){function n(e,t,n){try{var r=t?decodeURIComponent(e):e;return JSON.parse(r)}catch(i){return n||S("Unable to convert the following string to an object:\n"+e,{trace:i}),e}}function r(e,t,n){if(b.isObject(e))try{var r=JSON.stringify(e);return t?encodeURIComponent(r):r}catch(i){return n||S("Unable to convert object to a JSON string.",{trace:i}),e}}function i(e){if("string"!=typeof e)return null;var t=e.replace(/[^\w\s]/gi,"");return t}function o(e,t,n){if(!i(e)||"string"!=typeof t)return S("Please provide a valid name/value pair for the cookie."),!1;var r,o;return n?(r=new Date,r.setTime(r.getTime()+24*n*60*60*1e3)+";",o=";expires="+r.toGMTString()+";"):o="",document.cookie=e+"="+t+o+T,!0}function a(e){var t=i(e);if(!t)return S("Please provide a valid cookie name."),null;t+="=";var n,r,o=document.cookie.split(";");for(n=0;n<o.length;n++)if(r=o[n].trim(),0==r.indexOf(t))return r.substring(t.length,r.length);return null}function s(){var e,t={};return b.each(document.cookie.split(";"),function(r){e=r.split("="),t[e[0]]=n(e[1],!0,!0)}),r(t)}function l(e){var t=i(e);return t?(document.cookie=t+"=;"+w,!0):(S("Please provide a valid cookie name."),!1)}function c(e,t){var n=e||v;return E?t?r(g):g.getItem(n):t?s():a(n)}function u(e,t){e=i(e)||v;try{return E?g.setItem(e,r(t)):o(e,r(t,!A),365),!0}catch(n){return console.log("There was an error storing the data. See below error trace for more details.",{trace:n}),!1}}function d(e,t,n){t=i(t)||v,E?g[Object.keys(e).length&&!n?"setItem":"removeItem"](v,r(e)):Object.keys(e).length&&!n?u(e):l(t)}function p(){var e,t="player_",r=n(c("",!0),!E),i=!1;if(r)return e=Object.keys(r).filter(function(e){return e===v&&(i=c(e).indexOf(t)>-1),e.indexOf(t)>-1}),{update:i,keys:e}}function f(){function e(){var e=m.keys;if(e.length||m.update)try{var n="Initializing storage migration...\n";b.each(e,function(e){legacyStored=r("",e),i(e,legacyStored,v),E?g.removeItem(e):l(e),n+='\n*** successfully migrated "'+e+'" storage key.'}),m.update&&t(),S(n+="\nStorage migration completed!")}catch(o){S("Storage migration failed. See below error trace for more details.",{trace:o})}}function t(){var e,t,n,o,s={autoplay:{flatten:!0},cc_options:{newName:"closedCaptions",subProp:"options"},cc:{newName:"closedCaptions",subProp:"state"},hotspots:{flatten:!0},quality:{flatten:!0},playbackRate:{flatten:!0}},l=r(),c="player_";b.each(Object.keys(l),function(r){r.indexOf(c)>-1&&(n=r.replace(c,""),e=t=l[r],o=s[n],o&&(o.flatten&&"object"==typeof e&&(t=e[Object.keys(e)[0]]),o.newName&&(n=o.newName),o.subProp&&(t={},t[o.subProp]=e)),a(r),i(n,t))})}function r(e,t){var r=c(t);if(r){var i=n(r,!A),o=i&&i[e];return o?o:!e&&i?i:o}}function i(e,t,n){if(!t&&t!==!1)return S('Please provide a valid value for storing "'+e+'" within "'+(n||v)+'".'),!1;var i=r()||{},o=i[e];return i[e]="object"==typeof o?y.deepExtend(o,t):t,u(n,i),!0}function o(e,t){return e?!!r(e,t):(S("Please provide a valid property name to validate against storage."),!1)}function a(e,t){if(!e)return S("Please provide a valid property name to remove from storage."),!1;var n=r();return!(!n||!n.hasOwnProperty(e))&&(delete n[e],d(n,t),!0)}return m&&e(),{get:r,set:i,has:o,remove:a}}function A(){var e=!1;try{g=t.localStorage,testKey=v+"_test",g.setItem(testKey,"Player is testing local storage."),g.removeItem(testKey),e=!0}catch(n){console.log("Web Storage API is not supported on this device.\nPlayer will be using cookies as a fallback to store all required functional data.")}return e}function h(){m=p(),e.storage=new f}var g,m,v="mhp1138_player",y=e,b=y._,E=A(),w="expires=Thu, 01 Jan 1970 00:00:00 GMT;",T="path=/;",S=function(t){e.log("Player Storage: "+t)};h()}(window.MHP1138.utils,window),function(e,t,n){"use strict";var r=function(e){return console.log("Localization is not avalable",e),e};e.string={initLocalizer:function(n){var i=MHP1138.skins[n.skin].locales;n.extendedLocales&&e.deepExtend(i,n.extendedLocales),r=new t(i,n.locale).localize,e.string.l=r,e.string.localize=r},isPath:function(e){return/.*(\/.*|\..*)+/.test(e)},isURL:function(e){var t=/^(?:(?:https?|ftp):\/\/)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/;return!!t.test(e)},toTime:function(e,t,n){t=t||":";var r=n===!0?"":"0",i=Math.floor(e/3600);e-=3600*i;var o=Math.floor(e/60),a=Math.floor(e%60);return i=i>0&&i<10?r+i:i,o=o<10?r+o:o,a=a<10?"0"+a:a,(i?i+t:"")+o+t+a},checkColors:function(t){var n=new RegExp("^([\\w-]*?\\.)*("+t.colors().join("")+")$","gi");return null!==e.site.match(n)},sanitize:function(e,t){if("string"!=typeof e||!e.length)return e;t=t||!1,n.unescape=n.unescape||n.decodeURIComponent,e=n.unescape(e);var r=/[<>"']/gi,i={'"':""","'":"'","<":"<",">":">"};return t&&(r=/[&<>"'\/]/gi,i={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"}),e.replace(r,function(e){return i[e]})},capitalize:function(e,t){e=""+e;var n=t?e.slice(1).toLowerCase():e.slice(1);return e.charAt(0).toUpperCase()+n},hash:function(e){var t=0;if(0===e.length)return t;for(var n=0,r=e.length;n<r;n++){var i=e.charCodeAt(n);t=(t<<5)-t+i,t&=t}return Math.abs(t)},l:r,localize:r}}(window.MHP1138.utils,window.MHP1138.L10n,window),function(e,t){"use strict";var n;e.url={initUtm:function(e){n=e},addUtm:function(e,t,r){return e+=(e.indexOf("?")<0?"?":"&")+"utm_source="+n.referrerUrl+"&utm_medium="+t+"&utm_campaign="+r},addTime:function(e,t){return e=e||"",t&&(e=e.replace(/[?&]t=\d+/,""),e+=(e.indexOf("?")<0?"?":"&")+"t="+Math.floor(t)),e},getParameter:function(e){var n=RegExp("[#&]"+e+"=([^&]*)").exec(t.location.hash);if(null==n)var n=RegExp("[?&]"+e+"=([^&]*)").exec(t.location.search);return null!=n&&decodeURIComponent(n[1].replace(/\+/g," "))}}}(window.MHP1138.utils,window),function(e){"use strict";var t=function(t,n){function r(e){return e.env=e.env||e.quickSetup||"undefined",n.isMobile()&&(n.isIos()?e.mainRoll.mediaPriority="hls":n.isAndroid()&&parseInt(d.osVersion,10)<=4&&(e.mainRoll.mediaPriority="mp4")),e}function i(e){return e.embeds.enabled&&p(e,{hotspots:{enabled:!1},features:{ignorePreferences:!0,topBar:!0,share:!1,cinema:!1,options:!1,hotspots:!1,chromecast:!1,logo:!0}}),e}function o(e){return n.isTablet()&&p(e,{features:{ignorePreferences:!0,cinema:!1,tooltips:!1,volume:!1,mute:!1},videoPreload:"none"}),e}function a(e){return n.isMobile()&&p(e,{features:{ignorePreferences:!0},mainRoll:{adaptive:{defaultBandwidthEstimate:75e4}},seekPreview:{blur:1},videoPreload:"none"}),e}function s(e){return n.isDesktop()&&n.isSafari()&&(p(e,{videoPreload:"none"}),parseInt(d.version,10)>=11&&p(e,{autoplay:!1,features:{autoplay:!1}})),e}function l(e){return e.mainRoll.title=u.string.sanitize(e.mainRoll.title),e}function c(e){var t=e.mainRoll.overlayTextAd;return t&&t.displayText.length&&(f.extend(t,{label:t.displayText,time:t.showDelay,duration:t.displayDuration,bottom:"60px",fontScale:"3%",hCentered:!0}),e.mainRoll.overlays.push(t)),e}var u=e.MHP1138.utils,d=n.getBrowser(),p=u.deepExtend,f=u.underscore;f.each;return t=r(t),t=i(t),t=o(t),t=a(t),t=c(t),t=s(t),t=l(t),"tablet"==t.forceSkin&&(t.deviceType="tablet",t.forceSkin=!1),t.skin=t.forceSkin||n.bestSkin,t};e.MHP1138=e.MHP1138||{},e.MHP1138.SettingsModel=t}(window),function(e){"use strict";var t=function(t){function n(){if(K)return!1;var e=N.get("quality");return!(!e||!X[e]||"upsell"===X[e].format)&&e}function r(e){return!K&&void N.set("quality",e)}function i(e){return"number"==typeof e?e:parseInt(e.replace(/[^0-9]+/g,""),10)}function o(){if(!O.length)return null;var e,t,n=z(O,function(n){return e=!0,t=n.rules,Object.keys(t).every(function(n){return e=!V[n]||(new RegExp(/version/i).test(n)?parseInt(V[n],10)<=parseInt(t[n],10):t[n]===V[n])}),e});return n.length?n[0].max:null}function a(e){var t=o();if(!t)return e;var n=[];return G(e,function(e){F.isArray(e.quality)?(e.quality=e.quality.filter(function(e){return i(e)<=t}),n.push(e)):(i(e.quality)<=t||"upsell"===e.format)&&n.push(e)}),n}function s(e){return e=z(e,function(e){return Y(e.videoUrl)||"upsell"==e.format}),G(e,function(e){e.format||(e.format="mp4")}),e}function l(t,n){var r=!1,i=!1,o=H.isIos()&&H.isTablet(),a=H.isIos();return t=z(t,function(t){return"dash"!=t.format&&(!!("hls"!=t.format||e.Hls&&e.Hls.isSupported()||H.isIos())&&("hls"==t.format&&(r=!0,t.quality.length&&(i=!0)),!0))}),t=z(t,function(e){return!(i&&"hls"==e.format&&"string"==typeof e.quality&&!a&&!o)&&("mp4"!=n||"hls"!=e.format)})}function c(e){return e=F.sortBy(e,function(e){return"hls"==e.format&&"hls"==e.quality?9999:-parseFloat(String(e.quality).replace(/[_p]/gi,"."))-("upsell"==e.format?1e4:0)-("hls"==e.format?.5:0)})}function u(e){return G(e,function(t){if("hls"==t.format&&"object"==typeof t.quality&&t.quality.length&&Y(t.videoUrl)){if("hls"==t.format&&H.isIos())return void(t.quality=t.format);G(t.quality,function(n){e.push({quality:String(n),format:t.format,videoUrl:t.videoUrl,params:t.params||!1})}),t.quality=t.format}}),e}function d(e){var t=!1,n=!1;return G(e,function(e){"mp4"==e.format&&(n=!0),"hls"==e.format&&(t=!0)}),n&&t}function p(e){var t=[];return G(e,function(e){"mp4"!=e.format&&"upsell"!=e.format||t.push(e)}),t}function f(e){return e=z(e,function(e){return!(!e.format||"mp4"==e.format)})}function A(e){return e=z(e,function(e){return!(!e.format||"mp4"!==e.format)})}function h(e){return"object"==typeof e[e.length-1].quality&&e.pop(),e}function g(e,t){return e=s(e),e=a(e),e=l(e,t),e=u(e),e=c(e)}function m(e){var t={};return G(e,function(e){t[e.quality]=e}),t}function v(e){var t=[];return G(e,function(e){t.push(e.quality)}),t}function y(e){var t,n;return G(e,function(r){"hls"==r.format&&(n=r.format),r.defaultQuality&&(t="hls"==r.format&&e[r.defaultQuality]?r.defaultQuality:r.quality)}),t||(t=n?n:F.max(e,function(e){return parseFloat(String(e.quality).replace(/[_p]/gi,".")*("upsell"==e.format?-1:1))}).quality,e[t].defaultQuality=!0),t}function b(e){var t=X[e];return!!t&&(ne=t,te=e,t.getUrlWithParams=_.bind(null,t),t.getParams=M.bind(null,t.params),t)}function E(e){var t=!1;return!!J.length&&(G(J,function(n){parseInt(n.quality,10)==parseInt(e,10)&&(t=n)}),t)}function w(){return b(te)}function T(){return b(n()||$)}function S(){return x("object"==typeof T().quality?T().format:T().quality)}function x(e){return b(e).videoUrl||""}function _(e){var t=e.videoUrl||"",n=M(e.params);return n.length&&(t.indexOf("?")==-1?t=t+"?"+n.substring(1):t+=n),t}function M(e){var t="";return e&&("string"==typeof e?t="&"+e:G(e,function(e,n){t+="&"+n+"="+e})),t}function k(e){var t=b(e);return t||(G(Z,function(t){parseInt(e,10)==parseInt(t,10)&&(e=t)}),t=b(e)),!!t&&(ne=t,te=t.quality,r(e),t)}function P(){if(q=g(J,"mp4"),X=m(q),Z=v(q),!te||Z.indexOf(te)==-1){for(var e=0;X[Z[e]]&&"upsell"==X[Z[e]].format;)e++;ne=X[Z[e]],te=Z[e]}}function R(){return Z}function C(){return X}function L(){return q}function B(e){return e||(e=ne),"hls"==e.format}function I(e){return e||(e=ne),"dash"==e.format}function D(e){return e||(e=ne),B(e)||I(e)}var O=[{rules:{name:"ie"},max:1080},{rules:{name:"edge"},max:1080},{rules:{os:"ios",osVersion:"9"},max:1080}],U=MHP1138.utils,H=MHP1138.detector,N=U.storage,F=U.underscore,G=F.each,z=F.filter,Y=U.string.isPath,V=H.getBrowser(),Q=t.mainRoll,K=t.embeds.enabled,j=t.features.removeProgressive,q=g(Q.mediaDefinition,Q.mediaPriority),W=d(q),J=W?p(q):[];W&&(q=j?f(q):h(q));var X=m(q),Z=v(q),$=y(X),ee=b($),te=(ee.format,$),ne=ee;return{getResolutions:R,getQualities:R,array:L,getSources:C,isDash:I,isHls:B,isAdaptive:D,get:b,getSource:b,getProgressiveSource:E,getCurrent:w,getDefault:T,getDefaultUrl:S,getUrl:x,fallback:P,removeAdaptive:A,setQuality:k,getVideoQualityCap:o}};e.MHP1138=e.MHP1138||{},e.MHP1138.SourceModel=t}(window),function(e){"use strict";var t=function(t,n){function r(){return!t.features.autoplay||(t.autoplay===!1||t.embeds.enabled)}function i(){if(r())return!1;var e=a.get("autoplay");return"undefined"!=typeof e?e:s}function o(e){return!r()&&i()!=e&&(a.set("autoplay",e),void n.fire("onAutoplayChange",{autoplay:e}))}var a=e.MHP1138.utils.storage,s=!0;return{get:i,set:o,enabled:function(){return!r()},disabled:r}};e.MHP1138=e.MHP1138||{},e.MHP1138.AutoplayController=t}(window),function(e){"use strict";var t=function(t,n,r,i,o){function a(){var e=y.documentElement;(e.requestFullScreen||e.mozRequestFullScreen||e.webkitRequestFullScreen||e.msRequestFullscreen||t.webkitEnterFullscreen)&&(T._enabled=!0,f())}function s(e){T._enabled&&(k=e?e:"",A())}function l(e){T._enabled&&(k=e?e:"",y.cancelFullScreen?y.cancelFullScreen():y.mozCancelFullScreen?y.mozCancelFullScreen():y.webkitCancelFullScreen?y.webkitCancelFullScreen():y.msExitFullscreen&&y.msExitFullscreen())}function c(e){T._enabled&&(k=e?e:"",T._active?l(e):s(e))}function u(){var e=y.fullscreenElement||y.webkitFullscreenElement||y.mozFullScreenElement||y.msFullscreenElement||!1;e?e.id==n&&d():p()}function d(){T._active||(T._active=!0,_("onFullscreen",{fullscreen:!0,event:k}),b.css.add(t,"fullscreen"),k="")}function p(){T._active&&(T._active=!1,k||(k="esc"),t&&b.css.remove(t,"fullscreen"),_("onFullscreen",{fullscreen:!1,event:k}))}function f(){w(x,function(e){y.addEventListener(e,u)}),E.isIos()&&w(x,function(e){t.addEventListener(e,u)}),w(S,function(e){M(e,l)}),t.addEventListener("webkitendfullscreen",function(){T._active=!0,u(),_("showPauseRoll")}),t.addEventListener("webkitbeginfullscreen",function(){_("onFullscreen",{fullscreen:!0,event:""})})}function A(){var e=function(){r.features.iosFullscreen&&t.webkitSupportsFullscreen?t.webkitEnterFullscreen():t.requestFullScreen?t.requestFullScreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullScreen?t.webkitRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen()};m||!E.isIos()&&!E.isTablet()?e():E.isFirefox()?(e(),o.play()):(v=!0,o.play())}function h(){M("onPlay",function(e,t,n){m=!0,v&&(A(),v=!1)})}function g(){h(),a()}var m,v,y=e.document,b=e.MHP1138.utils,E=e.MHP1138.detector,w=b.underscore.each,T=(b.html.query,{_enabled:!1,_active:!1}),S=["collapsePlayer","expandPlayer","onShare","onRedirect"],x=["webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange","fullscreenchange"],_=i.fire,M=i.subscribe,k="";return g(),{element:t,enabled:T._enabled,enter:s,exit:l,toggle:c}};e.MHP1138=e.MHP1138||{},e.MHP1138.FullscreenController=t}(window),function(e){"use strict";var t=function(t,n){function r(){return!l}function i(){if(r())return!1;var e=a.get("hotspots");return"undefined"!=typeof e?e:s}function o(e){return!r()&&(a.set("hotspots",e),void n.fire("onHotspotsChange",{hotspots:e}))}var a=e.MHP1138.utils.storage,s=!0,l=!1;return!t.embeds.enabled&&t.hotspots&&t.hotspots.enabled&&t.hotspots.data&&t.hotspots.data.length&&t.features.hotspots&&(l=!0),n.subscribe("hidePreRoll",function(){l=i()}),n.subscribe("showPreRoll",function(){l=!1}),{get:i,set:o,enabled:function(){return l},disabled:r}};e.MHP1138=e.MHP1138||{},e.MHP1138.HotspotsController=t}(window),function(e){"use strict";var t=function(t,n,r,i){function o(){s(t)&&(l?c||n.enter("landscape"):n.enter("landscape"))}function a(){n.exit("portrait")}function s(t){var n=t.getBoundingClientRect(),r=t.clientHeight/2,i=e.innerHeight||document.documentElement.clientHeight,o=parseInt(n.top,10)+r>=0&&parseInt(n.bottom,10)>=0,a=parseInt(n.top,10)-r<=i&&parseInt(n.bottom,10)<=i+r;return o&&a}var l,c,u=e.MHP1138.detector,d=i.subscribe;if(!r.embeds.enabled&&!u.isDesktop()&&!u.isTablet())return"orientation"in e.screen&&r.features.autoFullscreen?e.screen.orientation.addEventListener("change",function(t){"landscape-primary"===e.screen.orientation.type||"landscape-secondary"===e.screen.orientation.type?o():a(),t.preventDefault(),t.stopPropagation()}):"orientation"in e&&r.features.iosAutoFullscreen&&(l=!0,e.addEventListener("orientationchange",function(t){var n=Math.abs(e.orientation);n>0&&n<180?o():a(),t.preventDefault(),t.stopPropagation()})),d("showPreRoll",function(){c=!0}),d("hidePreRoll",function(){c=!1}),{}};e.MHP1138=e.MHP1138||{},e.MHP1138.OrientationController=t}(window),function(e){"use strict";var t=function(t,n,r,i,o,a){function s(){if(!A)return!1;var e=function(){f.isIos()&&0==t.readyState&&t.load(),!h&&o.get("deferredStartSeek")&&d(n.startOffset,!0),t.play()};if(a.onBeforePlay){if(!a.onBeforePlay())return!1;setTimeout(function(){e(),g=!0,player.ads.enabled()===!1&&a.onPlay&&a.onPlay()},0)}}function l(){}function c(){}function u(){}function d(){}function p(){g?l():s()}var f=e.MHP1138.detector,A=(e.MHP1138.utils,!0),h=!1,g=!1;return{play:s,pause:l,toggle:p,looped:c,loop:u,seek:d}};e.MHP1138=e.MHP1138||{},e.MHP1138.PlaybackController=t}(window),function(e){"use strict";var t=function(e,t,n,r,i){function o(e){}function a(e){t.src=e}function s(){}var l=MHP1138.utils,c=(l.storage,new MHP1138.SourceModel(n,i));c.getDefault(),c.getDefaultUrl();return{model:c,setQuality:o,setSource:a,getSource:s}};e.MHP1138=e.MHP1138||{},e.MHP1138.SourceController=t}(window),function(e){"use strict";var t=function(t,n,r){function i(){return!n.features.speed||n.embeds.enabled}function o(){if(i())return!1;var e=l.get("playbackRate");return"undefined"!=typeof e?e:c}function a(e){return!i()&&l.get("playbackRate")!==e&&(u?t.playbackRate=c:t.playbackRate=e,l.set("playbackRate",e),void r.fire("onPlaybackRateChange",{playbackRate:e}))}function s(){a(.5==o()?1:.5)}var l=e.MHP1138.utils.storage,c=1,u=!1,d=!1;return r.subscribe("onReady",function(){a(o())}),r.subscribe("onPlay",function(){d||(d=!0,a(o()))}),r.subscribe("hidePreRoll",function(){u=!1,a(o())}),r.subscribe("showPreRoll",function(){u=!0,a(o())}),{get:o,set:a,enabled:function(){return!i()},disabled:i,toggle:s}};e.MHP1138=e.MHP1138||{},e.MHP1138.SpeedController=t}(window),function(e){"use strict";var t=function(t,n,r,i){function o(){return n.features.ignorePreferences||!n.features.volume}function a(){var e={volume:w,muted:T};if(o())return v?v:e;var t=b.get("volume");return"undefined"!=typeof t?t:e}function s(e){p(e,d())}function l(){return a().volume}function c(){p(l(),!0)}function u(){p(l(),!1)}function d(){return a().muted}function p(e,n){e>100&&(e=100),e<0&&(e=0),t.volume=e/100,t.muted=n,f(e,n)}function f(e,t){return v={volume:e,muted:t},r.fire("onVolumeChange",v),!o()&&void b.set("volume",v)}function A(){p(l()+S,!1)}function h(){p(l()-S,!1)}function g(){E("onVideoReady",function(){p(y.volume,y.muted)},null,!0)}function m(){y=a(),i?g():p(y.volume,y.muted)}var v,y,b=e.MHP1138.utils.storage,E=r.subscribe,w=100,T=!1,S=10;return t.onvolumechange=function(){f(100*this.volume,d())},m(),{get:l,set:s,increase:A,decrease:h,mute:c,unmute:u,muted:d,toggle:function(){d()?u():c()},enabled:function(){return!o()},disabled:o}};e.MHP1138=e.MHP1138||{},e.MHP1138.VolumeController=t}(window),function(e){"use strict";var t=function(t,n,r,i,o){function a(e,t){v("onWaiting"),x.loadSource(e),M=t}function s(){n.get("videoStarted")?(v(S.paused?"onPause":"onPlay"),n.set("playing",!S.paused)):v("onVideoReady")}function l(e){var t=!1;m(x.levels,function(n,r){(!t&&n.height==e||!t&&n.height<e+20&&n.height>e-20)&&(t=!0,h=!1,b.levelsLoaded&&(_.height!=n.height?x.nextLevel=r:v("onAdaptiveQualityChange",{quality:g.deepExtend(_,{auto:h})})),x.loadLevel=r,p(n),s())})}function c(){h=!0,_&&b.levelsLoaded&&v("onAdaptiveQualityChange",{quality:g.deepExtend(_,{auto:h})}),x.nextLevel=-1,x.loadLevel=-1,s()}function u(){}function d(){u(),x.destroy()}function p(e){r.set("adaptive",{hlsLevel:e.level})}function f(){y("onPlay",function(){L&&(R.maxBufferLength=L,R.maxMaxBufferLength=B,L=!1)}),x.on(Hls.Events.MANIFEST_LOADED,function(e,t){M&&"hls"!=M?l(parseInt(M,10)):c(),x.startLoad(-1),b.levelsLoaded=!0}),x.on(Hls.Events.MANIFEST_PARSED,function(e,t){var n=i.getVideoQualityCap();if(n&&t.levels){var r=t.levels.map(function(e,t){return e.height&&e.height<=n?t:0});this.autoLevelCapping=Math.max.apply(Math,r)}}),x.on(Hls.Events.ERROR,function(e,r){if("otherError"==r.type)return!1;console.log("Hls: error",e,r);var i=(new Date).getTime(),o=t.element.currentTime;if(r.fatal)switch(r.type){case Hls.ErrorTypes.MEDIA_ERROR:x.recoverMediaError();break;case Hls.ErrorTypes.NETWORK_ERROR:default:b.error=!0,v("onMediaError",{e:e,data:r,isAdaptive:!0,source:"Hls PLayer"}),v("onProgressiveFallback",{currentTime:o,wasPlaying:!0,e:e,data:r})}else"mediaError"!=r.type||n.get("seeking")||(b.lastErrorTime>0&&i-b.lastErrorTime>500?(v("onMediaError",{e:e,data:r,isAdaptive:!0,source:"Hls PLayer"}),v("onProgressiveFallback",{currentTime:o,wasPlaying:!0,e:e,data:r})):n.get("videoStarted")&&(t.pause(),t.seek(o+5,!0)),b.lastErrorTime=i)}),x.on(Hls.Events.LEVEL_SWITCHING,function(e,t){var n=x.levels[t.level];_=n,p(n),v("onAdaptiveQualityChange",{quality:g.deepExtend(n,{auto:h})})}),x.on(Hls.Events.FRAG_CHANGED,function(e,t){var n=E[t.frag.sn]||{begin:0,end:0};v("fragmentChanged",{quality:x.levels[t.frag.level].height,id:t.frag.sn,size:t.frag.loaded,isAuto:t.frag.autoLevel,downloadTime:n.end-n.begin,bandwidth:8*t.frag.loaded/(n.end-n.begin)*1e3})}),x.on(Hls.Events.FRAG_LOADING,function(e,t){var n=new Date;E[t.frag.sn]={begin:n.getTime(),end:0}}),x.on(Hls.Events.FRAG_LOADED,function(e,t){var n=new Date;E[t.frag.sn].end=n.getTime()})}function A(){var e=r.get("adaptive");e&&e.hlsLevel}var h,g=e.MHP1138.utils,m=(g.underscore,g.underscore.each),v=o.fire,y=o.subscribe,b={videoStarted:!1,error:!1,lastErrorTime:0,levelsLoaded:!1},E={},w=i.getCurrent(),T=w.getParams(),S=t.element;if(!e.Hls)return!1;var x,_,M,k={autoStartLoad:!1,maxInitialBufferLength:1,maxBufferLength:60,maxMaxBufferLength:60,maxBufferSize:3e7,xhrSetup:function(e,t){if(T&&T.length){var n=t;n+=n.indexOf("?")==-1?"?"+T.slice(1):T,e.open("GET",n,!0)}}},P=t.hlsConfig||{},R=g.deepExtend(k,P),C=parseInt(R.maxInitialBufferLength,10),L=R.maxBufferLength,B=R.maxMaxBufferLength;return e.Hls.isSupported()?(A(),(!C||C<1)&&(C=1),C>60&&(C=60),C!=L&&(R.maxBufferLength=C,R.maxMaxBufferLength=C),x=new e.Hls(R),x.attachMedia(S),"undefined"!=typeof R.autoLevelCapping&&R.autoLevelCapping>0&&(x.autoLevelCapping=R.autoLevelCapping),f(),{name:"hls",player:x,engine:!1,setAutoQuality:c,setQuality:l,getQuality:function(){return _&&_.height},load:a,unload:u,destroy:d}):(console.error("Hls: browser not supported!"),!1)};e.MHP1138=e.MHP1138||{},e.MHP1138.HlsPlayer=t}(window),function(e){"use strict";var t=function(t,n,r,i,o,a){function s(e,t){y("onWaiting"),M.load(e).then(function(){t&&"dash"!=t&&"hls"!=t?c(parseInt(t,10)):u(),M.trickPlay(_)})["catch"](function(e){console.log(e),w.error=!0,y("onMediaError",{e:e,isAdaptive:!0})})}function l(){n.get("videoStarted")?(y(x.paused?"onPause":"onPlay"),n.set("playing",!x.paused)):y("onVideoReady")}function c(e){var t=!1;v(M.getVariantTracks(),function(r){(!t&&r.height==e||!t&&r.height<e+20&&r.height>e-20)&&(M.configure({abr:{enabled:!1}}),t=!0,P.height==r.height?l():(n.get("videoStarted")&&(m.isEdge()||m.isIe()||m.isMacos())&&(L=!0),M.selectVariantTrack(r,!0),f(r),l()),P=r)})}function u(){C&&(C.height==P.height?l():(n.get("videoStarted")&&(m.isEdge()||m.isIe()||m.isMacos())&&(L=!0),M.selectVariantTrack(C,!0),f(C),l(),R=-1)),M.configure({abr:{enabled:!0}})}function d(){M.unload()}function p(){d(),M.destroy()}function f(e){var t=Math.round((e.bandwidth+128e3)/E.bandwidthDowngradeTarget);r.set("adaptive",{bandwidth:t})}function A(){var e;k.registerRequestFilter(function(t,n){if((t==shaka.net.NetworkingEngine.RequestType.SEGMENT||t==shaka.net.NetworkingEngine.RequestType.MANIFEST)&&S&&S.length)for(var r=0;r<n.uris.length;r++)e=n.uris[r],e+=e.indexOf("?")==-1?"?"+S.slice(1):S,n.uris[r]=e}),M.addEventListener("adaptation",function(e){v(M.getVariantTracks(),function(e){e.active&&R!=e.id&&(P=e,R=e.id,C=e,f(e),y("onAdaptiveQualityChange",{quality:e}))})}),M.addEventListener("error",function(e){y("onMediaError",{e:e,isAdaptive:!0})}),M.addEventListener("loading",function(e){}),M.addEventListener("buffering",function(e){n.get("videoStarted")&&(m.isEdge()||m.isIe()||m.isMacos())&&(L=!0)}),M.addEventListener("trackschanged",function(e){}),b("onPlay",function(){w.videoStarted||w.error||(M.configure({streaming:{bufferingGoal:E.prebufferGoal,rebufferingGoal:1}}),w.videoStarted=!0)}),b("onWaiting",function(){n.get("videoStarted")&&(m.isEdge()||m.isIe()||m.isMacos())&&(L=!0)}),b("onTimeChange",function(e,r,i){L&&(t.playing=!t.element.paused,t.playing&&(n.set("playing",!t.element.paused),y("onPlay")),L=!1)}),b("onPlaybackRateChange",function(e,t,n){_!==n.playbackRate&&(_=n.playbackRate)}),b("onMediaError",function(e,t,n){"dash"!=w.get("selectedFormat")&&"hls"!=w.get("selectedFormat")||"function"==typeof a&&a(n)})}function h(){var e=r.get("adaptive"),t=E.defaultBandwidthEstimate;e&&(t=e.bandwidth),M.configure({playRangeStart:0,abr:{defaultBandwidthEstimate:t,bandwidthDowngradeTarget:E.bandwidthDowngradeTarget,bandwidthUpgradeTarget:E.bandwidthUpgradeTarget,enabled:!1,switchInterval:E.switchInterval},streaming:{bufferingGoal:1,rebufferingGoal:0,bufferBehind:120,durationBackoff:1,jumpLargeGaps:!1,smallGapLimit:.5,ignoreTextStreamFailures:!0,retryParameters:{timeout:0,maxAttempts:5,baseDelay:300,backoffFactor:1,fuzzFactor:.5}}})}var g=e.MHP1138.utils,m=e.MHP1138.detector,v=g.underscore.each,y=o.fire,b=o.subscribe,E=t.mainRoll.adaptive,w={videoStarted:!1,error:!1},T=i.getCurrent(),S=T.getParams(),x=t.element,_=1;if(!e.shaka)return!1;var M,k,P,R,C,L=!1;return e.shaka.polyfill.installAll(),e.shaka.Player.isBrowserSupported()?(M=new e.shaka.Player(x),k=M.getNetworkingEngine(),A(),h(),{name:"shaka",player:M,engine:k,setAutoQuality:u,setQuality:c,load:s,unload:d,destroy:p}):(console.error("Shaka: browser not supported!"),
!1)};e.MHP1138=e.MHP1138||{},e.MHP1138.ShakaPlayer=t}(window),function(e,t){"use strict";var n=e.MHP1138.utils,r=n.storage,i=n._.each,o=function(e,o){function a(){return new Promise(function(e){l(),c(),e(A())})}function s(e){for(var t=null,n=1,r=p();null==t;)i(e,function(e,i){null==t&&(r.views+n)%(e.rollSettings.onNth+1)==0&&(t=r.views+n)}),n+=1;return t-1}function l(){if(e.vast&&t.isArray(e.vast)&&e.vast.length){var r,a=p();r=y?s(e.vast):a.views,i(e.vast,function(i){var s=new MHP1138.VastParser(e.defaultRollObject,i.xml,i.vastSkipDelay,o,e.htmlSettings.adsTrackUrl),l=(new Date).getTime(),c="c"+n.string.hash(i.rollSettings.campaignName).toString();if("parsed"==s.getState("status")&&s.rolls.length){g=g.concat(s.rolls),v=!0;var u=1e3*i.rollSettings.forgetUserAfter;t.isUndefined(a.time[c])&&(a.time[c]=0),l-a.commonTime>u&&l-a.time[c]>u&&(r+1)%(i.rollSettings.onNth+1)==0&&(m[c]=n.deepExtend({},b,i.rollSettings),m[c].rolls=s.rolls)}else if("error"==s.getState("status"))return!1})}}function c(){var e,t=[],n=0;p();if(!h){if(i(m,function(e){n+=e.campaignWeight}),n>100&&i(m,function(e){e.campaignWeight=Math.ceil(e.campaignWeight/(n/100))}),i(m,function(e,n){for(var r=0;r<e.campaignWeight;r++)t.push(n)}),n<100)for(var r=0;r<100-n;r++)t.push(0);e=u(t),e?(h=e,t=[],i(m[h].rolls,function(e,n){for(var r=0;r<e.weight;r++)t.push(n)}),m[h].roll=m[h].rolls[u(t)]):h=!1}}function u(e){return e.sort(function(){return.5-Math.random()}),e[t.random(e.length-1)]}function d(e){var t=p(),n=(new Date).getTime();e=e||!1,t.views+=1,e&&(t.commonTime=n,h&&(t.time[h]=n)),f(t)}function p(){var e=r.get("preroll");return e||(e=n.deepExtend({},E,e)),e}function f(e){r.set("preroll",e)}function A(){return!!h&&m[h]}var h,g=[],m={},v=!1,y=e.embeds.enabled||!1,b={campaignName:"",forgetUserAfter:86400,onNth:1,siteName:"",skipDelay:0,skippable:!1,clickableAreas:{video:!1,link:!0},campaignWeight:1,rolls:[]},E={views:0,commonTime:0,time:{}};return{rolls:g,campaigns:m,isAvailable:function(){return v},multiMode:y,requestData:a,incrementViews:d,getCookie:p,set:function(e,n){if(h)return t.isUndefined(m[h][e])?t.isUndefined(m[h].roll[e])?void 0:m[h].roll[e]:m[h][e]=n},getCampaign:A,getRoll:function(){return!!h&&m[h].roll}}};e.MHP1138=e.MHP1138||{},e.MHP1138.AdsRollModelCMS=o}(window,__),function(e,t){"use strict";var n=e.MHP1138.utils,r=n.storage,i=function(i,o,a){function s(e){for(var t=null,n=1,r=d();null==t;)null==t&&(r.views+n)%(e.onNth+1)==0&&(t=r.views+n),n+=1;return t-1}function l(){var r,o,l,v=(new Date).getTime(),w=d(),T=!1;return i.preroll&&!t.isUndefined(i.preroll.onNth)&&i.preroll.vast&&(A=!0,o=i.preroll,o.delay&&!t.isArray(o.delay)&&(o.delay=[o.delay]),r=1e3*o.forgetUserAfter,l=h?s(o):w.views,T=v-w.commonTime>r&&(l+1)%(o.onNth+1)==0),new Promise(function(r){if(!T)return void r(f);var s,l,d,h;if(f=n.deepExtend({},g,o),f.delay||(f.delay=m),w.timeouts=c(o.forgetUserAfter),l=f.delay[w.timeouts.attempt],w.timeouts.limitExceeded)return r(f);E("onVastParserError",function(t,r,o){if(y.parserError=!0,"function"==typeof e.btoa&&Math.random()<.1){var a=i.vastParserErrorReportURL+e.btoa(o.xml);n.network.ajax(a)}}),d=o.json?o.json:o.vast;var S=n.network.request(d,{"Accept-Language":i.preroll.user_accept_language},!0);setTimeout(function(){t.isUndefined(s)&&(s=!0,A=!1,w.timeouts.time=v,w.timeouts.report&&(y.timeout=l,y.tier=w.timeouts.attempt+1,b("onPreRollTimeout",{timeout:l,tier:y.tier})),w.timeouts.attempt==f.delay.length-1&&(w.timeouts.report=!1),w.timeouts.attempt=w.timeouts.attempt+1>=f.delay.length?f.delay.length:w.timeouts.attempt+1,w.timeouts.attempt===f.delay.length&&(w.timeouts.limitExceeded=!0),p(w),r(f))},l),S.then(function(e){if(s!==!0){if(s=!1,"frequencyCap"===e)return u(!0),A=!1,void b("onFrequencyCap");h=o.json?new MHP1138.JSONParser(i.defaultRollObject,e,a,i.htmlSettings.adsTrackUrl):new MHP1138.VastParser(i.defaultRollObject,e,f.vastSkipDelay,a,i.htmlSettings.adsTrackUrl),"parsed"==h.getState("status")&&h.rolls.length?f.roll=h.rolls[0]:(A=!1,y.noAdsFound=!0,b("onPreRollNoAdsFound"))}})["catch"](function(e){})["finally"](function(){r(f)})})}function c(e){var t=d(),n=(new Date).getTime(),r=1e3*e;return t.timeouts||(t.timeouts=v.timeouts),n-t.timeouts.time>r&&(t.timeouts.attempt=0,t.timeouts.report=!0),(t.timeouts.attempt<0||t.timeouts.attempt>=f.delay.length)&&(t.timeouts.attempt=f.delay.length-1),t.timeouts}function u(e){var t=d(),n=(new Date).getTime();e=e||!1,t.views+=1,e&&(t.commonTime=n),p(t)}function d(){var e=r.get("preroll");return e||(e=n.deepExtend({},v,e)),e}function p(e){r.set("preroll",e)}var f={},A=!1,h=i.embeds.enabled||!1,g={campaignName:"TJ campaign",forgetUserAfter:86400,onNth:1,skipDelay:0,skippable:!1,xml:""},m=[900,2e3,3e3],v={views:0,commonTime:0,time:{},timeouts:{attempt:0,time:0,report:!0}},y={timeout:!1,parserError:!1,noAdsFound:!1,tier:0},b=o.fire,E=o.subscribe;return{errors:y,rolls:[f.roll],campaigns:[f],requestData:l,isAvailable:function(){return A},multiMode:h,incrementViews:u,getCookie:d,set:function(e,n){f.roll&&(t.isUndefined(f[e])?t.isUndefined(f.roll[e])||(f.roll[e]=n):f[e]=n)},getCampaign:function(){return!!f.roll&&f},getRoll:function(){return!!f.roll&&f.roll}}};e.MHP1138=e.MHP1138||{},e.MHP1138.AdsRollModelTJ=i}(window,__),function(e,t){"use strict";var n=function(n,r,i,o,a){function s(){if(R._muted=i.get("muted"),T)R._enabled=!0,r.adsCampaign=T,l(),c(),i.get("autoplay")||(R._deferred=!0);else if(n.isAvailable())_("onPlay",function(e,t,r){R._played||(n.incrementViews(),R._played=!0)});else{if(n.getCookie().timeouts&&n.getCookie().timeouts.limitExceeded){var t={timeout_ms:n.errors.timeout,timeout_tier:n.errors.tier,videoUrl:e.location.href,playerVersion:MHP1138.core.version};A("timeoutLimit",t)}n.errors.parserError&&A("parserError"),n.errors.noAdsFound&&A("noAdsFound")}}function l(){T.skippable&&(T.roll.skipMessage||(T.roll.skipMessage=S.string.l(r.htmlSettings.skipMessage)),T.roll.skipDelayMessage||(T.roll.skipDelayMessage=S.string.l(r.htmlSettings.skipDelayMessage)))}function c(){_("showPreRoll",function(){E.onended=function(){R._ended=!0,R._active&&(R._deferred=!1,A("finish"),v("complete"),f())},p()}),_("onReady",function(){R._enabled&&(E=o.get(),w=o.getSource(),M("showPreRoll"))}),_("onPlay",function(e,t,r){if(R._enabled){var i=(new Date).getTime(),o=n.getCookie();if(!R._active&&i-o.commonTime<1e3*T.forgetUserAfter||!R._active&&(o.views+1)%(T.onNth+1)!=0)return n.incrementViews(),void f();if(!R._played){var a=o&&o.timeouts&&o.timeouts.attempt||0,s={timeout_tier:a+1};A("play",s),v("start"),R._played=!0,E.playbackRate=1}R._enabled&&!R._active&&(R._deferred=!1,R._active=!0,n.incrementViews(!0)),R._playerPaused&&v("resume"),R._playerPaused=!1,R._timer=setInterval(function(){R._time+=.1,u()},100)}}),_("onPause",function(){R._enabled&&(R._playerPaused=!0,parseInt(R._time,10)<parseInt(E.duration,10)&&v("pause"),clearInterval(R._timer))}),_("onWaiting",function(){R._enabled&&clearInterval(R._timer)}),_("hidePreRollUI",function(){clearInterval(R._timer)}),_("onFullscreen",function(e,t,n){R._enabled&&1==R._played&&n.fullscreen&&(v("fullscreen"),A("fullscreen"))}),_("onVolumeChange",function(e,t,n){R._enabled&&1==R._played&&R._muted!=n.muted&&(R._muted=n.muted,v(n.muted?"mute":"unmute"))})}function u(){R._time>25*E.duration/100&&!R._firstQuartile&&(v("firstQuartile"),R._firstQuartile=!0),R._time>50*E.duration/100&&!R._midpoint&&(v("midpoint"),R._midpoint=!0),R._time>75*E.duration/100&&!R._thirdQuartile&&(v("thirdQuartile"),R._thirdQuartile=!0)}function d(){return!(!R._enabled||!k(T.roll.videoUrl))&&T.roll.videoUrl}function p(){R._enabled&&(E.preload="auto",k(T.roll.videoUrl)&&(E.src=T.roll.videoUrl,P.isIos()&&E.load()))}function f(){R._timer&&clearTimeout(R._timer),E.removeAttribute("src"),R._active=!1,R._enabled=!1,R._deferred=!1,M("hidePreRoll"),M("hidePreRollUI")}function A(e,t){var n,i=function(e){if("object"!=typeof t)return e;var n=e;return S.each(t,function(e,t){n+="&"+t+"="+e}),n};T?(n=T.roll.trackUrl,R._enabled&&(n="play"==e&&T.roll.impressionUrl?T.roll.impressionUrl:"click"==e&&T.roll.clickTrackUrl?T.roll.clickTrackUrl:[r.htmlSettings.adsTrackUrl])):n=[r.htmlSettings.adsTrackUrl];for(var o=0,a=n.length;o<a;o++)if(k(n[o])){var s=n[o];if(s.indexOf("etahub.com")>-1&&(s=i(s)),s=h(e,s),T&&T.roll.vastParser)s=g(e,s);else if("play"!=e&&s.indexOf("etahub.com")==-1)continue;x(s)}}function h(e,t){var n,o,a,s,l=encodeURIComponent(r.env||r.mainRoll.siteName||r.quickSetup||"undefined"),c=P.isDesktop()?"PC":"Mobile";T?(n=T.roll.appId,o=encodeURIComponent(T.roll.clickUrl),a=encodeURIComponent(T.roll.title?T.roll.title:"undefined"),s=encodeURIComponent(T.campaignName)):(n=r.defaultRollObject.appId,o="",a="undefined",s=encodeURIComponent("TJ campaign"));var u=t.replace("%APPID%",n).replace("%ACTION%",e).replace("%SITE%",o).replace("%CAMPAIGN%",s).replace("%PLAYER%",i.get("playerType")).replace("%PLATFORM%",c).replace("%ADTITLE%",a);return l.length>0&&(u=u.replace("%SITENAME%",l)),u}function g(e,t){var n=t;return n}function m(e){R._enabled&&(__.isArray(e)||(e=[e]),S.each(e,function(e){x(e)}))}function v(e){T.roll.tracking&&T.roll.tracking[e]&&m(T.roll.tracking[e])}function y(){if(R._enabled){var e=o.get();e.paused?e.play():e.pause()}}function b(e){var t="_"+e;return!!R[t]&&R[t]}var E,w,T=n.getCampaign(),S=e.MHP1138.utils,x=S.network.ajax,_=a.subscribe,M=a.fire,k=S.string.isPath,P=MHP1138.detector,R={_enabled:!1,_active:!1,_played:!1,_deferred:!1,_muted:!1,_timer:null,_time:0,_playerPaused:!1,_firstQuartile:!1,_midpoint:!1,_thirdQuartile:!1,_startOffset:0,_ended:!1};return s(),{model:n,getSourceUrl:d,track:A,trackThirdParty:m,callTrackingEvent:v,hide:f,getState:b,enabled:function(){return b("enabled")},active:function(){return b("active")},deferred:function(){return b("deferred")},getRollProp:function(e){return t.isUndefined(T[e])?!t.isUndefined(T.roll[e])&&T.roll[e]:T[e]},togglePlay:y}};e.MHP1138=e.MHP1138||{},e.MHP1138.AdsRollControllerTJ=n}(window,__),function(e,t){"use strict";var n=function(n,r,i,o,a){function s(){E=n.getCampaign(),C._muted=i.get("muted"),E?(C._enabled=!0,r.adsCampaign=E,l(),c(),i.get("autoplay")||(C._deferred=!0)):n.isAvailable()&&M("onPlay",function(e,t,r){C._played||(n.incrementViews(),C._played=!0)})}function l(){E.skippable&&(E.roll.skipMessage||(E.roll.skipMessage=_(r.htmlSettings.skipMessage)),E.roll.skipDelayMessage||(E.roll.skipDelayMessage=_(r.htmlSettings.skipDelayMessage)))}function c(){M("showPreRoll",function(){w.onended=function(){C._active&&(C._deferred=!1,A("finish"),v("complete"),f())},p()}),M("onReady",function(e,t,n){C._enabled&&(w=o.get(),T=o.getSource(),k("showPreRoll"))}),M("onPlay",function(e,t,r){if(C._enabled){var i=(new Date).getTime(),o=n.getCookie();if(!C._active&&i-o.commonTime<1e3*E.forgetUserAfter||!C._active&&(o.views+1)%(E.onNth+1)!=0)return n.incrementViews(),void f();C._played||(A("play"),v("start"),C._played=!0),C._enabled&&!C._active&&(C._deferred=!1,C._active=!0,n.incrementViews(!0)),C._playerPaused&&v("resume"),C._playerPaused=!1,C._timer=setInterval(function(){C._time+=.1,u()},100)}}),M("onPause",function(){C._enabled&&(C._playerPaused=!0,C._time<E.roll.duration&&v("pause"),clearInterval(C._timer))}),M("onWaiting",function(){C._enabled&&clearInterval(C._timer)}),M("hidePreRollUI",function(){clearInterval(C._timer)}),M("onFullscreen",function(e,t,n){C._enabled&&n.fullscreen&&(v("fullscreen"),A("fullscreen"))}),M("onVolumeChange",function(e,t,n){C._enabled&&C._muted!=n.muted&&(C._muted=n.muted,v(n.muted?"mute":"unmute"))})}function u(){C._time>25*E.roll.duration/100&&!C._firstQuartile&&(v("firstQuartile"),C._firstQuartile=!0),C._time>50*E.roll.duration/100&&!C._midpoint&&(v("midpoint"),C._midpoint=!0),C._time>75*E.roll.duration/100&&!C._thirdQuartile&&(v("thirdQuartile"),C._thirdQuartile=!0)}function d(){return!(!C._enabled||!P(E.roll.videoUrl))&&E.roll.videoUrl}function p(){C._enabled&&(w.preload="auto",w.playbackRate=1,P(E.roll.videoUrl)&&(T.src=E.roll.videoUrl,R.isIos()&&w.load()))}function f(){C._timer&&clearTimeout(C._timer),C._active=!1,C._enabled=!1,C._deferred=!1,k("hidePreRoll"),k("hidePreRollUI")}function A(e){var t=E.roll.trackUrl;t=C._enabled?"play"==e&&E.roll.impressionUrl?E.roll.impressionUrl:"click"==e&&E.roll.clickTrackUrl?E.roll.clickTrackUrl:[r.htmlSettings.adsTrackUrl]:E.roll.trackUrl;for(var n=0,i=t.length;n<i;n++){var o="";if(P(t[n])){if(o=h(e,t[n]),E.roll.vastParser)o=g(e,o);else if("play"!=e&&o.indexOf("etahub.com")==-1)continue;x(o)}}}function h(e,t){var n=E.roll.appId,o=encodeURIComponent(E.roll.clickUrl),a=encodeURIComponent(r.env||r.mainRoll.siteName||r.quickSetup||"undefined"),s=encodeURIComponent(E.roll.title?E.roll.title:"undefined"),l=encodeURIComponent(E.campaignName),c=R.isDesktop()?"PC":"Mobile",u=t.replace("%APPID%",n).replace("%ACTION%",e).replace("%SITE%",o).replace("%CAMPAIGN%",l).replace("%PLAYER%",i.get("playerType")).replace("%PLATFORM%",c).replace("%ADTITLE%",s);return a.length>0&&(u=u.replace("%SITENAME%",a)),u}function g(e,t){var n=t;return n}function m(e){C._enabled&&(S.isArray(e)||(e=[e]),S.each(e,function(e){x(e)}))}function v(e){E.roll.tracking&&E.roll.tracking[e]&&m(E.roll.tracking[e])}function y(){if(C._enabled){var e=o.get();e.paused?e.play():e.pause()}}function b(e){var t="_"+e;return!!C[t]&&C[t]}var E,w,T,S=e.MHP1138.utils,x=S.network.ajax,_=S.l,M=a.subscribe,k=a.fire,P=S.isPath,R=MHP1138.detector,C={_enabled:!1,_active:!1,_played:!1,_deferred:!1,_muted:!1,_timer:null,_time:0,_playerPaused:!1,_firstQuartile:!1,_midpoint:!1,_thirdQuartile:!1};return s(),{roll:E.roll,model:n,getSourceUrl:d,track:A,trackThirdParty:m,callTrackingEvent:v,hide:f,getState:b,enabled:function(){return b("enabled")},active:function(){return b("active")},deferred:function(){return b("deferred")},getRollProp:function(e){return t.isUndefined(E[e])?!t.isUndefined(E.roll[e])&&E.roll[e]:E[e]},togglePlay:y}};e.MHP1138=e.MHP1138||{},e.MHP1138.AdsRollControllerCMS=n}(window,__),function(e,t){"use strict";var n=function(){function n(e){var t,n,e,r=0,i=0,o=e.split(":");for(t=o.length-1,n=0;t>=0;t--,n++)i=Math.pow(60,n),e=parseFloat(o[t].replace(",",".")),r+=e*i;return r}function r(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}function i(e){return e}function o(e){var t,o,a,l,c,u,e,p,f="vtt",A=[];return t=(e+"\n\n").split(/\r?\n\r?\n/gm),t.length?(t[0].toUpperCase().indexOf("WEBVTT")!=-1?(f="vtt",t=t.slice(1)):f="srt",d(t,function(t){o=t.split(/\r?\n/gm),o[0].match(/^\d+$/)&&(o=o.slice(1)),o.length>=2&&(a=o[0].match(/(\d\d*:)*(\d\d*)([\.,]\d+)?/gi),l=o[0].match(/[A-Z]:\S+/gi),e=i(o.slice(1).join("<br>\n")),a&&a.length>=2&&e.length&&(c=n(a[0]),u=n(a[1]),c<u&&(p={time:c,endTime:u,duration:r(u-c,3),label:e,hCentered:!0,closeButton:!1,border:!1,type:"cc"},A.push(p))))})):s="parseError",s="parsed",{text:e,overlays:A,format:f}}function a(e,t){function n(e,n,r){s="loaded",p=o(e),f[r]=p,u(t)&&t(p,r)}function r(){p=[],s="error",console.log("CCs error"),u(t)&&t([])}f[e]?u(t)&&t(f[e],e):c(e,!1,n,r)}var s,l=e.MHP1138.utils,c=l.network.ajax,u=t.isFunction,d=t.each,p=[],f={};return{load:a,state:s,cached:f}};e.MHP1138=e.MHP1138||{},e.MHP1138.ClosedCaptionsLoader=n}(window,__),function(e){"use strict";var t=function(t,n,r){function i(){return R}function o(){return{lang:B,visible:P}}function a(){var e=o();S("onTextTrackChange",e),b.set("closedCaptions",e)}function s(e){"string"==typeof e&&t.load(R[e].url,function(t){B=e,v=t.overlays})}function l(){k=!0,P&&u()}function c(){k=!1}function u(){k&&S("overlaysReady",{cc:v}),P=!0}function d(){S("overlaysReady",{cc:[]}),P=!1}function p(){return!!k&&(P?d():u(),a(),P)}function f(){return y.deepExtend(M,g().options||{})}function A(e,t){var n=f();n[e]=t,b.set("closedCaptions",n),S("onTextTrackStyleChange",{options:n,newStyle:e,newValue:t})}function h(){var e=g();e&&(B=e.lang||B,P=E.isUndefined(e.visible)?P:e.visible),s(B),P?u():d()}function g(){return b.get("closedCaptions")||{}}function m(){var e,t=!0;x("onPlay",function(n,r,i){e&&(c(),e=!1),t&&(P?u():d(),t=!1)}),e=!1,x("showPreRoll",function(){e=!0}),x("hidePreRoll",function(){l()})}var v,y=e.MHP1138.utils,b=y.storage,E=y.underscore,b=y.storage,w=E.each,T=E.isPath,S=r.fire,x=r.subscribe,_=n.mainRoll.closedCaptions,M=n.closedCaptionsStyle,k=!0,P=n.features.ccVisible,R={},C=0,L=[],B="en";return"string"==typeof _?(R[B]={url:_,label:"English"},C=1):w(_,function(e,t){e&&e.url&&T(e.url)&&(e.label||(e.label=String(t).toUpperCase()),R[t]=e,C++)}),h(),m(),{tracks:R,count:C,elements:L,enabled:function(){return k},visible:function(){return P},enable:l,disable:c,get:o,getTracks:i,show:u,hide:d,toggle:p,getOptions:f,setOptions:A}};e.MHP1138=e.MHP1138||{},e.MHP1138.ClosedCaptions=t}(window),function(e){"use strict";var t=e.chrome,n=1e3,r={IDLE:"IDLE",LOADING:"LOADING",LOADED:"LOADED",PLAYING:"PLAYING",PAUSED:"PAUSED",STOPPED:"STOPPED",ERROR:"ERROR"},i={tube8:"1BECE818",redtube:"098BC929",youporn:"E9FCBE63",pornhub:"766FB0BA"},o=function(e,n,o,s){var l=e.settings.quickSetup;e.settings.features.chromecastSkin&&(this.receiverId=i[l]),this.player=e,this.playerState=n,this.castState=!1,this.sourceModel=o,this.fire=s.fire,this.mediaUrl="",this.seeking=!1,this.playerHandler=new a(this);var c=this;this.castAvailable=!1,this.castSession="",this.castName="",this.initialized=!1,this.castState=r.IDLE,this.remotePlayer=null,this.remotePlayerController=null,this.currentMediaTime=0,this.currentMediaDuration=-1,this.timer=null,this.incrementMediaTimeHandler=this.incrementMediaTime.bind(this),t&&MHP1138.detector.isChrome()&&this.checkCastAvailability(),s.subscribe("onAdaptiveQualityChange",function(e,t,n){c.lastAutoQuality=n.quality.height}),s.subscribe("onTimeChange",function(e,t,n){c.currentMediaTime=n.time})};o.prototype.checkCastAvailability=function(){var e=this;t.cast&&t.cast.isAvailable&&"undefined"!=typeof cast&&cast.framework?(this.castAvailable=t.cast.isAvailable,this.initializeCastPlayer(),this.initialized=!0):this.initialized||setTimeout(function(){e.checkCastAvailability()},1e3)},o.prototype.initializeCastPlayer=function(){var e={};this.receiverId?e.receiverApplicationId=this.receiverId:e.receiverApplicationId=t.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,e.autoJoinPolicy=t.cast.AutoJoinPolicy.PAGE_SCOPED,this.castContext=cast.framework.CastContext.getInstance(),this.castContext.setOptions(e),this.castContext.addEventListener(cast.framework.CastContextEventType.CAST_STATE_CHANGED,this.checkCastState.bind(this)),this.checkCastState(),this.remotePlayer=new cast.framework.RemotePlayer,this.remotePlayerController=new cast.framework.RemotePlayerController(this.remotePlayer),this.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.IS_CONNECTED_CHANGED,this.switchPlayer.bind(this))},o.prototype.checkCastState=function(){var e=this.castContext.getCastState();"NO_DEVICES_AVAILABLE"!=e?this.fire("chromecastAvailable",{available:!0}):this.fire("chromecastAvailable",{available:!1})},o.prototype.updateQuality=function(){this.stopProgressTimer(),this.fire("onWaiting"),this.playerHandler.stop(),this.playerHandler.load()},o.prototype.switchPlayer=function(){this.stopProgressTimer(),this.castState=r.IDLE;var e=cast.framework.CastContext.getInstance().getCurrentSession();if(this.castSession=e,cast&&cast.framework)return void(this.remotePlayer.isConnected&&e?this.setupRemotePlayer(e):this.stopSession())},o.prototype.setupRemotePlayer=function(e){this.castName=e.getCastDevice().friendlyName,this.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.IS_PAUSED_CHANGED,function(){this.remotePlayer.isPaused?this.playerHandler.pause():this.playerHandler.play()}.bind(this)),this.remotePlayerController.addEventListener(cast.framework.RemotePlayerEventType.IS_MUTED_CHANGED,function(){this.remotePlayer.isMuted?this.playerHandler.mute():this.playerHandler.unMute()}.bind(this));var n={};n.play=function(){this.playerState.set("playing",!0),this.remotePlayer.isPaused&&this.remotePlayerController.playOrPause()}.bind(this),n.pause=function(){this.playerState.set("playing",!1),this.remotePlayer.isPaused||this.remotePlayerController.playOrPause()}.bind(this),n.stop=function(){this.playerState.set("playing",!1),e.endSession(!0)}.bind(this),n.load=function(){var n=this.sourceModel,i=n.getCurrent();if("hls"==i.format){var o;o="hls"==i.quality?this.lastAutoQuality?this.lastAutoQuality:n.getDefault().quality:i.quality,i=n.getProgressiveSource(o)}i||(this.castState=r.ERROR,this.stopSession(),this.fire("onMediaError",{data:{response:{fatal:!0,type:"chromecast",errorDetails:"no source"}}})),this.mediaUrl=i.videoUrl;var a,s=new t.cast.media.MediaInfo(this.mediaUrl);a="hls"==i.quality?"Auto":parseInt(i.quality,10)+"p",s.metadata=new t.cast.media.GenericMediaMetadata,s.metadata.metadataType=t.cast.media.MetadataType.GENERIC,s.metadata.title=this.player.settings.mainRoll.title,s.metadata.subtitle=a,s.metadata.images=[{url:this.player.settings.mainRoll.poster}];var l=new t.cast.media.LoadRequest(s);this.fire("onWaiting"),e.loadMedia(l).then(this.playerHandler.loaded.bind(this.playerHandler),function(e){this.castState=r.ERROR;this.getErrorMessage(e)||"";this.stopSession(),this.fire("onMediaError",{data:{response:{fatal:!0,type:"chromecast",errorDetails:"cant load source"}}})}.bind(this))}.bind(this),n.getCurrentMediaTime=function(){return this.remotePlayer.currentTime}.bind(this),n.getMediaDuration=function(){return this.remotePlayer.duration}.bind(this),n.updateDisplayMessage=function(){}.bind(this),n.mute=function(){this.remotePlayer.isMuted||this.remotePlayerController.muteOrUnmute()}.bind(this),n.unMute=function(){this.remotePlayer.isMuted&&this.remotePlayerController.muteOrUnmute()}.bind(this),n.isMuted=function(){return this.remotePlayer.isMuted}.bind(this),n.seekTo=function(e){this.remotePlayer.currentTime=e,this.remotePlayerController.seek()}.bind(this),this.playerHandler.setTarget(n),this.remotePlayer.isMuted&&this.playerHandler.mute(),this.playerHandler.play()},o.prototype.setActiveState=function(e,t,n){(e||!t&&!n)&&(this.fire("onCasting",{chromecast:e,castState:t,castName:n}),this.active=e)},o.prototype.stopSession=function(){this.fire("onWaiting"),this.pause(),this.setActiveState(!1,!1),this.endPlayback(),this.playerState.set("updatingSource",!0),this.stopProgressTimer(),this.castState=r.IDLE,this.playerHandler.updateDisplayMessage(),this.playerHandler.stop(),this.player.seek(this.currentMediaTime,!1)},o.prototype.endPlayback=function(){this.player.element.load()},o.prototype.seek=function(e,t){this.seeking=!0,this.fire("onSeek"),this.playerHandler.seekTo(e),this.playerHandler.play(),setTimeout(function(){this.seeking=!1},500)},o.prototype.play=function(){this.playerHandler.play()},o.prototype.pause=function(){this.playerHandler.pause()},o.prototype.startProgressTimer=function(){this.stopProgressTimer(),this.timer=setInterval(this.incrementMediaTimeHandler,n)},o.prototype.stopProgressTimer=function(){this.timer&&(clearInterval(this.timer),this.timer=null)},o.prototype.incrementMediaTime=function(){this.currentMediaTime=this.playerHandler.getCurrentMediaTime(),this.currentMediaDuration=this.playerHandler.getMediaDuration(),this.castState===r.PLAYING&&(this.currentMediaTime<this.currentMediaDuration?(this.currentMediaTime+=1,this.fire("onTimeChange",{time:this.currentMediaTime,duration:this.currentMediaDuration})):this.stopSession())};var a=function(e){this.target={},this.setTarget=function(e){this.target=e},this.play=function(){return e.castState!==r.PLAYING&&e.castState!==r.PAUSED&&e.castState!==r.LOADED&&e.castState!==r.LOADING?void this.load():(this.target.play(),e.setActiveState(!0,r.PLAYING,e.castName),e.castState=r.PLAYING,void(this.seeking||(e.player.seeking=!1,e.player.playing=!0,e.fire("onPlay"),e.videoChange=!1,this.updateDisplayMessage())))},this.pause=function(){e.castState===r.PLAYING&&(this.seeking||this.videoChange||(e.player.playing=!1,this.target.pause(),e.fire("onPause"),e.castState=r.PAUSED,this.updateDisplayMessage()))},this.stop=function(){e.castState=r.STOPPED,this.updateDisplayMessage()},this.load=function(){e.fire("onWaiting"),e.setActiveState(!1,r.LOADING,e.castName),e.castState=r.LOADING,this.target.load(),this.updateDisplayMessage()},this.loaded=function(){e.currentMediaDuration=this.getMediaDuration(),e.castState=r.LOADED,e.currentMediaTime>0&&this.seekTo(e.currentMediaTime),this.play(),e.startProgressTimer(),this.updateDisplayMessage()},this.getCurrentMediaTime=function(){return this.target.getCurrentMediaTime()},this.getMediaDuration=function(){return this.target.getMediaDuration()},this.updateDisplayMessage=function(){},this.mute=function(){this.target.mute()},this.unMute=function(){this.target.unMute()},this.isMuted=function(){return this.target.isMuted()},this.seekTo=function(e){this.target.seekTo(e),this.updateDisplayMessage()}};o.prototype.getErrorMessage=function(e){switch(this.setActiveState(!1),e.code){case t.cast.ErrorCode.API_NOT_INITIALIZED:return"The API is not initialized."+(e.description?" :"+e.description:"");case t.cast.ErrorCode.CANCEL:return"The operation was canceled by the user"+(e.description?" :"+e.description:"");case t.cast.ErrorCode.CHANNEL_ERROR:return"A channel to the receiver is not available."+(e.description?" :"+e.description:"");case t.cast.ErrorCode.EXTENSION_MISSING:return"The Cast extension is not available."+(e.description?" :"+e.description:"");case t.cast.ErrorCode.INVALID_PARAMETER:return"The parameters to the operation were not valid."+(e.description?" :"+e.description:"");case t.cast.ErrorCode.RECEIVER_UNAVAILABLE:return"No receiver was compatible with the session request."+(e.description?" :"+e.description:"");case t.cast.ErrorCode.SESSION_ERROR:return"A session could not be created, or a session was invalid."+(e.description?" :"+e.description:"");case t.cast.ErrorCode.TIMEOUT:return"The operation timed out."+(e.description?" :"+e.description:"")}},e.MHP1138=e.MHP1138||{},e.MHP1138.CastPlayer=o}(window),function(e){"use strict";var t=function(e,t){return{}};e.MHP1138=e.MHP1138||{},e.MHP1138.DashPlayer=t}(window),function(e){"use strict";var t={urlPattern:"",format:"5x5",type:"normal",cdnType:"regular",preload:!1,progressive:!1,async:!1,samplingFrequency:"0",thumbWidth:"160",thumbHeight:"90",vertical:!1,crop:!1},n={displayDuration:45,displayText:"",linkUrl:"",showDelay:5},r={actionTags:"",appId:"10829",autoPlay:!1,campaignName:"",siteName:"",clickUrl:"",closedCaptions:"",forgetUserAfter:86400,imageHeight:0,imageUrl:"",imageWidth:0,mediaPriority:"hls",mediaDefinition:[],onNth:1,overlays:[],overlayTextAd:n,poster:"",profileAdUrl:"",skippable:!1,skipDelay:0,skipDelayMessage:"",skipMessage:"",clickableAreas:{video:!1,link:!0},cta:{image:"",title:"",subtitle:"",button:"",url:"",expand:!1,timer:!0},titleCta:{mobileText:"",pcText:"",link:"",tracking:""},adaptive:{defaultBandwidthEstimate:15e5,prebufferGoal:120,bandwidthDowngradeTarget:.75,bandwidthUpgradeTarget:.7,switchInterval:2},shownOnlyInFullScreen:!1,thumbs:t,timing:"main",title:"",trackUrl:"",type:"video",duration:0,vertical:!1,videoUnavailable:!1,videoUnavailableMessages:{"default":"This video is currently unavailable in this site.",hlsNotSupported:"No valid HLS sources are available for this video.",onerror:"There was an error loading or playing the video.",noSources:"No valid sources are available for this video.",siteDisabled:"This video is currently unavailable in this site."},videoUrl:"",watchPageUrl:"",weight:1,campaignWeight:1,user_accept_language:""},i={buildType:"desktop",skin:"desktop",forceSkin:!1,quickSetup:!1,locale:"en",autoplay:!1,autoplayAds:!0,hotspots:{enabled:!0,chartColor:"#635b58",chartHeight:"30px",data:[]},nextVideo:{thumb:"",duration:"",title:"",isHD:!1,nextUrl:"",desktop:!1,mobile:!1,chanel:"",timeout:10},seekPreview:{enabled:!0,blur:3,showInBufferedZone:!1},env:"",siteId:null,startOffset:0,productUrl:"",referrerUrl:"",videoPreload:"none",maxSeeksInProgress:2,monitorBandwidth:!0,viewedRequestTimeout:60,viewedRequestURL:"",vastParserErrorReportURL:"https://www.ezfuck.com/vast/?vast=",isVr:!1,htmlSettings:{skin:"default",notAvailableMessage:"%NOT_AVAILABLE%",videoErrorMessage:"%ERROR_OCCURED%",skipMessage:"%SKIP_AD%",skipDelayMessage:"%SKIP_TIMER%",adsTrackUrl:"https://etahub.com/events?app_id=%APPID%&splayer=%PLAYER%&eventName=%ACTION%&ssite=%SITE%&scampaign=%CAMPAIGN%&ssiteName=%SITENAME%&platform=%PLATFORM%&adTitle=%ADTITLE%",listedTrackUrl:"https://etahub.com/events?app_id=10940&eventName=%ACTION%&ssiteName=%SITENAME%&ssite=%SITE%&platform=%PLATFORM%"},eventTracking:{enabled:!0,cdn:"",videoId:"",url:"https://etahub.com/events?app_id=10896&ssiteName=%SITENAME%&platform=%PLATFORM%&featureName=%NAME%&featureValue=%VALUE%"},embeds:{enabled:!1,logoEnabled:!0,imageUrl:"",watchHD:!1,utmRedirect:{logo:!0,title:!0,relatedBtns:!0,thumbs:!0,videoArea:!0},redirect:{onFullscreen:!1,onMenu:!1,videoArea:!0,logoUrl:"",relatedUrl:"",mostViewedUrl:"",mftuUrl:"",topRatedUrl:""}},mainRoll:r,defaultRollObject:r,menu:{url:"",deferredLoad:!0,related:!0,topRated:!0,mostViewed:!0,mftu:!0,showOnPause:!1,showOnPost:!1,linkColor:null},features:{autoplay:!0,ccMenu:!0,ccVisible:!1,chromecast:!0,chromecastSkin:!0,cinema:!1,fullscreen:!0,iosFullscreen:!0,iosAutoFullscreen:!1,autoFullscreen:!0,hotspots:!0,logo:!1,mute:!0,nextVideo:!0,options:!0,share:!1,speed:!0,tooltips:!0,topBar:!1,volume:!0,grid:!1,alternativeOptionsMenu:!0,embedCode:"",themeColor:"#f6921e",ignorePreferences:!1,hideControlsTimeout:2,qualitiesPerSlide:4,doubleTapSeek:!0,removeProgressive:!0,qualityAutoWrap:!0,minIOSforPreroll:12,basicPrerolls:!1},closedCaptionsStyle:{size:"1.0",bg:"0.75",color:"white",bg_color:"black"},events:{}};e.MHP1138=e.MHP1138||{},e.MHP1138.defaults=i}(window),function(){"use strict";function e(e,r){return u=e._,d=u.each,p=e.css,A=e.string.capitalize,f=navigator.userAgent,m=r.embeds.enabled,v="video"===r.embeds.mediaType,h=r.buildType,g=r.deviceType||h,t(r),h=s(h),n(),E.bestSkin=l(h),E}function t(e){d(b.browser,function(e,t){E["is"+A(t)]=function(){return!!f.match(b.browser[t])}}),d(b.os,function(e,t){E["is"+A(t)]=function(){return!!f.match(b.os[t])}}),"tablet"==e.forceSkin&&(E.isTablet=function(){return!0}),E.isIe()&&"desktop"===h&&(E.isTablet=function(){return!1}),E.isTablet()&&(g="tablet")}function n(){d(b.platform,function(e,t){E["is"+A(t)]=function(){return h==t}}),"tablet"==g&&(E.isTablet=function(){return!0})}function r(e){return u.isUndefined(e)?e:e.replace("_",".").split(".")[0]}function i(){if(u.isEmpty(y)){var e=[],t={name:"undefined",version:""};d(b.os,function(e,n){"undefined"==t.name&&E["is"+A(n)]()&&(t={name:n,version:(f.match(e)[2]||"").replace(/\_/g,".")})}),d(b.browser,function(t,n){if(!e[0]&&E["is"+A(n)]()){var r=f.match(b.browser[n]);e="ie"==n?[n,r[2]||""]:[n,r[1]||""]}}),y={name:e[0],type:g,platform:g,version:"ios"==t.name?t.version:r(e[1]),fullVersion:e[1],os:t.name,osVersion:t.version}}return y}function o(e){d(b.platform,function(t,n){e!=n?p.remove(c,n):(p.add(c,"platformChange"),p.add(c,n),g=n)}),setTimeout(function(){p.remove(c,"platformChange")},0)}function a(e){c=e;var t=i();g&&p.add(e,g),u.isUndefined(t.name)||p.add(e,t.name),u.isUndefined(t.version)||p.add(e,t.name+t.version),u.isUndefined(t.os)||p.add(e,t.os)}function s(e){return"all-in-one"==e&&(e=E.isWindows()||E.isMacos()?"desktop":"mobile"),e}function l(e){var t=E.getBrowser().version,n=e;return E.isIos()?E.isSafari=function(){return!0}:E.isAndroid()&&E.isSafari()&&(E.isSafari=function(){return!1}),(E.isChrome()||E.isOpera()||E.isSafari())&&E.isWebkit()&&(E.isWebkit=function(){return!1}),"tablet"==e&&(n="mobile"),(E.isGameconsole()||E.isSmartTV())&&(n="basic"),!E.isIos()&&E.isChrome()&&t<36&&(n="basic"),E.isIosfirefox()&&(n="basic"),"desktop"==n&&(E.isSafari()&&t<8&&(n="basic"),E.isIe()&&t<11&&(n="basic"),E.isIe()&&t<9&&(n="image")),"mobile"==n&&(E.isIe()&&(n="basic"),(E.isOperamini()||E.isWebkit())&&(n="basic"),m&&(E.isTablet()&&E.isIos()&&t<8||!v||v&&E.isIos()&&t<8)&&(n="image")),n}var c,u,d,p,f,A,h,g,m,v,y={},b={browser:{ie:/(?:(IEM|iem)obile|MSIE|WOW64.+rv:|Edge)(\d+\.*\d*)(?!.*Firefox)/,
edge:/(?:(Edge)\/)(\d+\.\d+\.*\d*)/,chrome:/(?:CriOS\/|Chrome\/)(\d+\.\d+\.\d+\.*\d+)(?!.*OPR)/,safari:/(?:Version\/|Safari )(\d+\.\d+\.*\d*)(?!.*OPR)/,firefox:/(?:[Ff]irefox|Fennec|FxiOS)(?:\/)((\d*\.\d\.*\d*\.*\d*))/,iosfirefox:/(?:FxiOS)((\d*\.\d\.*\d*\.*\d*))/,nintendo:/(?:NintendoBrowser\/)(\d+\.\d+\.*\d*\.*\d*)/,operamini:/(?:Opera Mini(?:\s|\/))(\d+\.\d+\.*\d*\.*\d*)/,opera:/(?:OPR\/|Opera(?:\s|\/))(\d+\.\d+\.*\d*\.*\d*)/,uc:/(?:UCBrowser\/|UCWEB\/)(\d+\.\d+\.*\d*\.*\d*)/,webkit:/(?:)Linux;.+Android.+(AppleWebkit)\/(\d+\.*\d*).+Safari/i},os:{windowsPhone:/(Windows Phone) O?S?\s?(\d+\.?\d?)/,ios:/(iPhone|iPad|iPod)+.+OS (\d+)/,macos:/(Mac OS X) (\d+([\_\.]\d+){0,2})?/i,windows:/Windows/i,android:/(Android);? (\d+\.\d+)?/i,tablet:/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/i,gameconsole:/(playstation|nintendo|xbox)/i,smartTV:/TV(!.*BTV)/i,samsungNative:/(SAMSUNG|SM)/},platform:{tablet:!1,desktop:!1,mobile:!1}},E={init:e,getBrowser:i,getPlatform:function(){return g},setPlatform:o,getBestSkin:l,generateClassList:a,isEmbed:function(){return m},isWhiteListed:function(){return v}};window.MHP1138=window.MHP1138||{},window.MHP1138.detector=E}(),function(e){"use strict";var t=function(t,n,r,i,o,a){function s(e){if(!d())return!1;var t,n=e.keyCode,r=x[n];return n>=_&&n<=M&&(t=10*(n-_),r="jumpToPercent"),r&&!f(n)?(P[r](t),y("onKeyboard",{action:r}),e.stopPropagation(),e.preventDefault(),!1):void 0}function l(){return!!d()&&void(k&&(y("onKeyboard",{action:"keyboardJump"}),k=!1))}function c(){document.addEventListener("keydown",s),document.addEventListener("keyup",l)}function u(){var e=v(a.eventCatcher),r=v(a.controls.bigPlay),i=function(e){setTimeout(function(){d()||w.set(T,n)},0)};m.each([t,e,r],function(e){b(e,i)}),document.body.addEventListener("click",function(e){t.contains(e.target)||w.remove(T)})}function d(){return w.get(T)===n}function p(){E("onDurationChange",function(e,t,n){e&&n.duration&&(h=n.duration)})}function f(e){if(!e)return!1;var t={ie:[70]},n=g.getBrowser().name,r=t[n];return r&&r.indexOf(e)>-1}function A(){c(),u(),p()}var h,g=e.MHP1138.detector,m=e.MHP1138.utils,v=m.html.query,y=i.fire,b=i.addClick,E=i.subscribe,w=m.storage,T="focusedPlayer",S=o.features,x={32:"togglePlay",35:"gotoEnd",36:"gotoStart",37:"jumpBackward",38:"volumeUp",39:"jumpForward",40:"volumeDown",70:"toggleFullscreen",77:"toggleMute",83:"toggleSpeed"},_=48,M=57,k=!1,P={togglePlay:function(){r.playback.toggle()},volumeUp:function(){S.volume&&r.volume.increase()},volumeDown:function(){S.volume&&r.volume.decrease()},jumpForward:function(){k=!0},jumpBackward:function(){k=!0},jumpToPercent:function(e){h&&r.playback.seek(h/100*e,!0)},toggleFullscreen:function(){(S.fullscreen||g.isIos()&&S.iosFullscreen)&&r.fullscreen.toggle()},toggleMute:function(){S.volume&&r.volume.toggle()},toggleSpeed:function(){r.speed.enabled()&&r.speed.toggle()},gotoStart:function(){this.jumpToPercent(0)},gotoEnd:function(){this.jumpToPercent(100)}};A()};e.MHP1138=e.MHP1138||{},e.MHP1138.Keyboard=t}(window),function(e){"use strict";var t=function(){function e(){}function t(){}function n(){}function r(){}function i(){}function o(){}function a(){}function s(){}function l(){}return{bindPlayerEvents:e,filterMediaSources:t,setQuality:n,setSource:r,seek:i,play:o,pause:a,isPlaying:s,getCurrentTime:l}};e.MHP1138=e.MHP1138||{},e.MHP1138.PlaybackMain=t}(window),function(e){"use strict";var t=function(e,t){function n(){var e=p.html.compile(g.markup);e=p.string.localize(e),g.compiledMarkup=e}function r(){if(a=p.css.prefixesToObject(g.selectors,e),!document.getElementById("skin_"+h)){var r=document.createElement("div"),l=document.head,c=document.body;if(r.id="skin_"+h,r.style.display="none",g.compiledHtml=g.compiledHtml||"",!g.css)return;g.compiledCss||(g.compiledCss=g.css.join("").replace(/\.([a-zA-Z_][0-9a-zA-Z_-]+)/g,".mhp1138_$1"));var u=document.createElement("style");if(u.innerHTML=g.compiledCss,l.appendChild(u),!g.html)return;g.compiledHtml+=g.html.join(""),MHP1138.skins.shared&&MHP1138.skins.shared.html&&(g.compiledHtml+=MHP1138.skins.shared.html.join("")),g.compiledHtml.length&&(g.compiledHtml=g.compiledHtml.replace(/(class=['"]+)(.+?)(['"]+)|(class=)([a-zA-Z_][0-9a-zA-Z-_]+)/g,function(e,t,n,r,i,o){if("class="===i)return i+"mhp1138_"+o;var a=t+"mhp1138_"+n.split(" ").join(" mhp1138_")+r;return a}),r.innerHTML=g.compiledHtml),g.markup&&!g.compiledMarkup&&n(),c.insertBefore(r,c.firstChild);var d=t.features.themeColor;if(t.quickSetup&&(d=MHP1138.themeColors.get(t.quickSetup)),p.underscore.isArray(g.themeCss)){var f=p.css.prefixesToArray(g.themeCss,d,e,"mhp1138"),A=document.createElement("style"),l=document.head;A.innerHTML=f.join("\n"),l.appendChild(A)}}i(),s.innerHTML=g.compiledMarkup,o()}function i(){return s=document.getElementById(e),A.generateClassList(s),f(s,"container"),t.embeds.enabled||A.isMobile()||f(s,"hideControls"),t.embeds.enabled&&f(s,"embedded"),s}function o(){var n={disableRemotePlayback:"",preload:t.videoPreload,playsinline:""};if(l=p.html.query("#"+e+" .mhp1138_videoWrapper"),c=s.getElementsByTagName("video")[0],u=c.getElementsByTagName("source")[0],d=p.html.query("#"+e+" .mhp1138_videoPoster"),t.isVr){var r=document.createElement("canvas");r.innerHTML="This feature is not supported on your browser!",l.appendChild(r),n.style="display:none;",n.crossorigin="anonymous"}A.isIos()&&A.getBrowser().osVersion<10&&(n["x-webkit-airplay"]="deny"),p.each(n,function(e,t){c.setAttribute(t,e)})}var a,s,l,c,u,d,p=MHP1138.utils,f=p.css.add,A=(p.css.remove,MHP1138.detector),h=t.skin,g=MHP1138.skins[h]||{};return r(),{selectors:a,playerContainerElement:s,videoWrapper:l,playerElement:c,playerElementSource:u,playerPoster:d}};e.MHP1138=e.MHP1138||{},e.MHP1138.SkinLoader=t}(window),function(e){"use strict";var t=function(e,t){function n(e){return e?c[e]:l}function r(e,t){a._.isUndefined(t)?(l=e,s("onStateChanged",{state:e})):(c[e]=t,s("onStateChanged",{state:e,flag:e,value:c[e]}))}function i(){return{currentState:l,flags:c}}function o(e){return c[e]=!c[e]}var a=MHP1138.utils,s=t.fire,l="buffering",c={id:"",autoplay:!1,autoplayAvailable:!1,playing:!1,videoEnded:!1,videoStarted:!1,currentTime:0,looped:!1,updatingSource:!1,deferredPause:!1,qualityChanged:!1,playbackRate:1,onPlaylistCountdownLastTimeFired:!1,hotspots:!1,fullscreen:!1,ready:!1,playerCreated:!1,error:!1,noPauseEvent:!1,seeking:!1,deferredStartSeek:!1,seekToEnd:!1,initialSeek:!1,playAfterSeek:!1,deferredSeek:!1,viewingStart:0,viewedSeconds:0,selectedResolution:"",selectedFormat:"",volume:0,muted:null,playerType:"",listed:!0};return c=a.deepExtend({},c,e),{get:n,set:r,debug:i,toggle:o}};e.MHP1138=e.MHP1138||{},e.MHP1138.StateController=t}(window),function(){"use strict";function e(e){return e&&t[e]?t[e]:"#ffffff"}var t={pornhub:"#f6921e",redtube:"#af1820",youporn:"#ec567c",tube8:"#a70000",thumbzilla:"#1bbc9d",xtube:"#ff0102"};"undefined"!=typeof window?(window.MHP1138=window.MHP1138||{},window.MHP1138.themeColors={get:e}):this.themeColors={get:e}}.call(this),function(e,t){"use strict";var n=function(e,n,r){function i(e){var n,r=null,i=e.urlPattern,o=1,a=1,s=1;if(i.length){if(c=parseInt(e.samplingFrequency,10),"centro"==e.cdnType){if(u=parseInt(A/e.samplingFrequency,10),!u)return;o=u+1,a=1,e.thumbWidth=y}else{if(r=e.format.split("x"),o=parseInt(r[0],10),a=parseInt(r[1],10),2!=r.length||t.isNaN(o)||t.isNaN(a))return;var l=i.match(g);if(null===l)return;if(s=parseInt(l[1],10)+1,isNaN(s)||0===s)return}for(var d=0;d<s;d++)n="centro"==e.cdnType?i:i.replace(g,d),m[d]={index:d,url:n,thumbWidth:e.thumbWidth,thumbHeight:e.thumbHeight,width:e.thumbWidth*o,height:e.thumbHeight*a,cached:!1,ready:!1,loaded:!1,error:!1,cdnType:e.cdnType};for(var p=0,f=0;f<s;f++)for(var h=0;h<a;h++)for(var b=0;b<o;b++)v[p]={index:p,sheet:f,row:h,col:b,cssLeft:-1*b*e.thumbWidth+"px",cssTop:-1*h*e.thumbHeight+"px"},p++}}function o(e){for(var t=0;t<m.length;t++)if(!m[t].cached){if(!e){a(m[t],o);break}a(m[t])}}function a(e,t){var n=document.createElement("img"),r=h.format.split("x"),i=parseInt(r[0],10),o=parseInt(r[1],10);n.crossOrigin="Anonymous",n.onload=function(){e.loaded=!0,e.ready=!0,"centro"==e.cdnType||this.naturalWidth==e.width&&this.naturalHeight==e.height||(e.width=this.naturalWidth,e.height=this.naturalHeight,e.thumbWidth=this.naturalWidth/i,e.thumbHeight=this.naturalHeight/o),e.url=n.src,t&&t()},n.onerror=function(){e.error=!0,t&&t()},n.src=e.url,e.cached=!0,e.image=n,h.progressive&&t&&s(n,e,t)}function s(e,t,n){e.naturalWidth>0&&e.naturalHeight>0&&(t.ready=!0,n()),t.loaded||t.ready||t.error||setTimeout(function(){s(e,t)},100)}function l(e,t){var n,r=Math.floor(e/c),i=v[r];return i?!!(n=m[i.sheet])&&(n.error?(t&&t(!1,!1,!1,{error:"error loading spritesheet"}),!1):n.cached?!!n.ready&&(t&&t(i,n,e),{thumbnail:i,sheet:n,seconds:e}):(a(n,function(){d&&!d.checked()&&n.ready&&d.check(i,n),t&&t(i,n,e)}),!1)):(t&&t(!1,!1,!1,{error:"out of time"}),!1)}var c,u,d=new MHP1138.VerticalVideosDetector(e,r)||!1,p=r.subscribe,f=n.mainRoll,A=f.duration,h=f.thumbs,g=/{(\d+)}/,m=[],v=[],y=168;return i(h),h.preload&&p("onVideoReady",function(){o(h.async)}),{preload:o,sheets:m,thumbnails:v,get:l,settings:h,samplingFrequency:c,slides:u}};e.MHP1138=e.MHP1138||{},e.MHP1138.ThumbnailsLoader=n}(window,__),function(e,t){"use strict";var n=function(t,n,r,i){function o(){s(n)&&(p=JSON.parse(n),p.ads&&p.ads.length&&h.each(p.ads,function(e){var t=a(e);t&&(A.push(t),f.status="parsed")}))}function a(e){var n=c(e);if(!h.isPath(n))return!1;var r=h.deepExtend({},t,e);return r.videoUrl=n,r.campaign=h.hashString(r.campaignName).toString(),r=u(r),r=l(r),r.skipDelay>0&&(r.skippable=!0),r}function s(e){try{JSON.parse(e)}catch(t){return!1}return!0}function l(e){return h.isArray(e.impressionUrl)?e.impressionUrl.push(i):e.impressionUrl=[e.impressionUrl,i],e}function c(e){var t,n={},i=[];return e.medias.length?(h.each(e.medias,function(e){"video/mp4"==e.type&&"undefined"!=typeof e.quality&&(n[e.quality]=e.videoUrl)}),i=h.keys(n),i.length?(i.sort(function(e,t){return parseInt(e,10)-parseInt(t,10)}),t=parseInt(i[i.length-1],10),r=parseInt(r,10),h.each(i,function(e){e=parseInt(e,10),r-e<0&&Math.abs(r-e)<=Math.abs(r-t)&&(t=e)}),String(n[t]).trim()):(d(402),!1)):(d(403),!1)}function u(e){return h.isArray(e.clickTrackUrl)||(e.clickTrackUrl=[e.clickTrackUrl]),e.clickTrackUrl.push(i),e}function d(e){e=e||900,errorUrl&&h.network.ajax(errorUrl.replace("[ERRORCODE]",e)),f.status="error",f.error=e}var p,f={status:"empty",error:0,version:0},A=[],h=e.MHP1138.utils;return o(),{rolls:A,getState:function(e){return e?f[e]:f}}};e.MHP1138=e.MHP1138||{},e.MHP1138.JSONParser=n}(window,__),function(e,t){"use strict";var n=function(t,n,r,i,o){function a(){__.isString(n)&&n.length&&s(n)}function s(e){var t=new DOMParser,n=t.parseFromString(e,"text/xml");(new XMLSerializer).serializeToString(n).indexOf("parsererror")!=-1?w():(M.status="created",l(n))}function l(e){var t=e.documentElement;M.version=parseFloat(t.getAttribute("version"))||0,A(t),c(t),y(t),M.status="parsed"}function c(e){var t=e.getElementsByTagName("Ad"),n=[],r=[],i=[],o=[],a=[];S.each(t,function(e){b(e);var t=[].slice.call(e.getElementsByTagName("Linear")),s=[].slice.call(e.getElementsByTagName("NonLinear")),l=[].slice.call(e.getElementsByTagName("Companion")),c=[].slice.call(e.getElementsByTagName("Impression")),u=[].slice.call(e.getElementsByTagName("AdTitle")),d=m(e),p="";p=__.isArray(c)?c.map(function(e){return e.textContent}).join("|"):c[0].textContent,c.length&&S.each(t,function(e){e.setAttribute("impression",p)}),o=o.concat(u[0].textContent),n=n.concat(t),r=r.concat(s),i=i.concat(l),a=a.concat(d)}),S.each(n,function(e,t){var n=u(e);n&&(n.title=o[t],n=S.deepExtend({},n,a[t]),R.push(n))}),S.each(r,function(e){var t=d(e);t&&C.push(t)})}function u(e){var n=e.getElementsByTagName("Duration"),o=p(e.getAttribute("skipoffset")||""),a=f(e,i);if(!x(a))return!1;var s=S.deepExtend({},t);return s.vastParser=!0,s.videoUrl=a,s.campaign=S.string.hash(s.campaignName).toString(),s=g(e,s),s=h(e,s),s.tracking=v(e),r&&o>0&&(s.skipDelay=o),n.length&&(s.duration=p(String(n[0].textContent).trim())),s}function d(e){var t,n,r=e.getElementsByTagName("StaticResource"),i=e.getElementsByTagName("HTMLResource"),o=e.getElementsByTagName("IFrameResource"),a={hCentered:!0,border:!0,closeButton:!0,top:"10px",width:e.getAttribute("width")||"0px",height:e.getAttribute("height")||"0px",time:0,duration:p(e.getAttribute("minSuggestedDuration")||"24:00:00")};if(r.length)t=String(r[0].textContent).trim();else if(i.length)n=String(i[0].textContent).trim();else{if(!o.length)return!1;n=String(o[0].textContent).trim()}if(x(t))a.imageUrl=t,a=g(e,a,"NonLinear");else{if(!x(n))return!1;a.iframeUrl=n}return a}function p(e){var t=String(e).split(":"),n=0;return t.length?(n=parseInt(t[t.length-1],10),t.length>1&&(n+=60*parseInt(t[t.length-2],10)),t.length>2&&(n+=60*parseInt(t[t.length-3],10)*60)):n=parseInt(e,10),n}function f(e,t){var n=e.getElementsByTagName("MediaFile"),r=[],i=[],o=null;return n.length?(S.each(n,function(e){if("video/mp4"==e.getAttribute("type")){var t=e.getAttribute("height");r[t]=e.textContent}}),r.length?"undefined"!=typeof r[t]?String(r[t]).trim():(i=_.keys(r),o=parseInt(i[i.length-1],10),t=parseInt(t,10),S.each(i,function(e,n){e=parseInt(e,10),t-e<0&&Math.abs(t-e)<=Math.abs(t-o)&&(o=e)}),String(r[o]).trim()):(E(403),!1)):(E(403),!1)}function A(e){var t=e.getElementsByTagName("Error");t.length&&(k=t[0].textContent||"")}function h(e,t){var n=String(e.getAttribute("impression")||"").trim(),r=o;return n=n.indexOf("|")>-1?n.split("|"):n,__.isArray(n)?(t.impressionUrl=n,t.impressionUrl.push(r)):t.impressionUrl=[n,r],t}function g(e,t,n){var r=o,n=n||"",i=e.getElementsByTagName(n+"ClickThrough"),a=i.length?i[0].textContent:"",s=e.getElementsByTagName(n+"CustomClick"),l=[].slice.call(e.getElementsByTagName(n+"ClickTracking"));return(s.length||l.length)&&(a||(a="#"),t.clickTrackUrl=[],s.length&&t.clickTrackUrl.push(String(s[0].textContent).trim()),l.length&&S.each(l,function(e){t.clickTrackUrl.push(String(e.textContent).trim())}),t.clickTrackUrl.push(r)),t.clickUrl=a,t}function m(e){function t(e){var n={};return 3!=e.nodeType&&4!=e.nodeType||(n=e.nodeValue?e.nodeValue.trim():""),e.hasChildNodes()&&_.each(e.childNodes,function(e){var r=t(e);return!(!r||"object"==typeof r&&0==Object.keys(r).length)&&void("undefined"==typeof e.tagName?"string"==typeof r&&r.trim().length>0&&(n=r):i[e.tagName.toLowerCase()]?n[i[e.tagName.toLowerCase()]]=r:n[e.tagName.toLowerCase()]=r)}),n}var n=e.getElementsByTagName("Extension"),r={},i={adweight:"weight",titlecta:"titleCta",mobiletext:"mobileText",pctext:"pcText",pixeltracking:"pixelTracking",clickableareas:"clickableAreas"};return n.length>0&&S.each(n,function(e){r=S.deepExtend({},r,t(e))}),r}function v(e){var t={},n=e.getElementsByTagName("TrackingEvents");if(n[0]){var r=n[0].getElementsByTagName("Tracking");S.each(r,function(e){var n=e.getAttribute("event"),r=e.textContent;n&&x(r)&&(__.isUndefined(t[n])&&(t[n]=[]),t[n].push(r))})}return t}function y(e){e.getElementsByTagName("Wrapper").length&&T("Wrapper",300),(e.getElementsByTagName("AdVerifications").length||e.getElementsByTagName("Verification").length)&&T("AdVerifications"),(e.getElementsByTagName("CompanionAds").length||e.getElementsByTagName("Companion").length)&&T("CompanionAds",600)}function b(e){parseInt(e.getAttribute("sequence"),10)>0&&T("Ad Pods"),e.getAttribute("conditionalAd")&&T("Conditional Ads"),(e.getElementsByTagName("Icons").length||e.getElementsByTagName("Icon").length)&&T("Icon")}function E(e){e||(e=900),k&&S.network.ajax(k.replace("[ERRORCODE]",e)),P=e}function w(){MHP1138.utils.events.fire("onVastParserError",{xml:n}),console.warn('VAST Parser: error parsing XML file, player continues to work without Roll" data'),E(100),M.status="error"}function T(e,t){console.warn('VAST Parser: No "'+e+'" support yet'),t&&E(t)}var S=e.MHP1138.utils,x=S.string.isPath,_=S.underscore,M={status:"empty",version:0},k="",P=0,R=[],C=[];return a(),{rolls:R,overlays:C,getState:function(e){return e?M[e]:M}}};e.MHP1138=e.MHP1138||{},e.MHP1138.VastParser=n}(window,__),function(e){"use strict";var t=function(t,n){function r(e,n){if(i.isIe()||i.isEdge())return!1;var r=document.createElement("canvas"),s=document.createElement("img");t.appendChild(r),t.appendChild(s),s.style.position="absolute",s.style.zIndex="-1",s.style.visibility="hidden",s.width=n.width,s.height=n.height,r.style.position="absolute",r.style.zIndex="-1",r.style.visibility="hidden",r.width=n.width,r.height=n.height,s.onload=function(){function e(e){return e%2==0}var i,a,l,c,u,d,p,f,A,h,g,m,v,y,b,E,w=r.getContext("2d"),T=Math.floor(n.width/n.thumbWidth),S=Math.floor(n.height/n.thumbHeight),x=18;w.drawImage(s,0,0,n.width,n.height);var _=!0,M=!0,k=!0,P=0,R=!0;for(i=0;i<T;i++)for(a=0;a<S;a++)l=i*n.thumbWidth,c=a*n.thumbHeight,u=n.thumbWidth/n.thumbHeight,d=u>1.3&&u<1.35?Math.round(l+n.thumbWidth*(e(i)?.14:.86)):Math.round(l+n.thumbWidth*(e(i)?.3125:.6875)),p=Math.round(l+n.thumbWidth*(e(i)?.9375:.0625)),f=Math.round(c+n.thumbHeight*(e(i)?.888:.111)),A=Math.round(c+n.thumbHeight/2),h=Math.round(l+n.thumbWidth/2),_&&(g=w.getImageData(d,A,1,1).data,y=Math.round((g[0]+g[1]+g[2])/3),P++,y>x&&(_=!1,R=!1)),M&&(m=w.getImageData(p,A,1,1).data,b=Math.round((m[0]+m[1]+m[2])/3),P++,b>x&&(M=!1,_=!1,R=!1)),M||_||(k&&(v=w.getImageData(h,f,1,1).data,E=Math.round((v[0]+v[1]+v[2])/3),P++),k&&E>x&&(k=!1,R=!1));t.removeChild(r),t.removeChild(s),R||(_?o("verticalThumbnails",{text:"9x16",crop:!0,aspect:9/16}):M?o("horizontalThumbnails",{text:"4x3",crop:!0,aspect:4/3}):k&&o("horizontalThumbnails",{text:"16x9",zoom:!0,aspect:16/9}))},s.crossOrigin="Anonymous",s.src=n.url,a=!0}var i=e.MHP1138.detector,o=n.fire,a=!1;return{checked:function(){return a},check:r}};e.MHP1138=e.MHP1138||{},e.MHP1138.VerticalVideosDetector=t}(window),function(e){"use strict";var t=function(e,t,n){var r=n.mainRoll.videoUnavailableMessages,i=new MHP1138.VideoErrorView(e,t);t.subscribe("onVideoUnavailable",function(e,t,n){var o=n.message||"";o=o&&o in r?o:"default",i.show(r[o])})};e.MHP1138=e.MHP1138||{},e.MHP1138.VideoErrorController=t}(window),function(e){"use strict";var t=function(e,t){function n(){document[r]?a.playing&&(a.wasPlaying=!0,e.pause()):a.wasPlaying&&e.play()}var r,i,o=t.subscribe,a={wasPlaying:!1,playing:!1};"undefined"!=typeof document.hidden?(r="hidden",i="visibilitychange"):"undefined"!=typeof document.webkitHidden&&(r="webkitHidden",i="webkitvisibilitychange"),o("onPlay",function(){a.playing=!0}),o("onPause",function(){a.playing=!1}),o("onEnd",function(){a.playing=!1}),document.addEventListener(i,n,!1)};e.MHP1138=e.MHP1138||{},e.MHP1138.VisibilityController=t}(window),function(e){"use strict";var t=function(){function e(e){return e?i[e]:""}function t(){return n()}function n(){var e=[],t="abcdefghijklmnopqrstuvwxyz.|-1234567890";return r.each(i,function(n,i){var o=i.substr(2).match(/.{1,2}/g);r.each(o,function(n){e.push(t[parseInt(n,10)])})}),e}var r=MHP1138.utils,i={ph120602141715260214271514171307:"000000",ph200126021412271514171307200126:"003300",ph130419271514171307200115170412:"006600",ph082012260214122719072012012508:"009900",ph111100260214122715141713072001:"00cc00",ph180411040219260214122724142015:"00ff00",ph141713151704120820122602141227:"330000",ph170403192001041517041208201226:"333300",ph021412270003201119260214122717:"336600",ph040319200104260214122724142015:"339900",yp141713260214122724142015141713:"33cc00",yp060024260214122719200104362602:"33ff00",yp141227192001043626041827192001:"660000",yp043626051727231920010426021412:"663300",yp271815001310220817042602141227:"666600",yp100404251214210804182602141227:"669900",yp042319170412041920010426021412:"66cc00",yp271214051418042326021412270614:"66ff00",yp140611042602141227061414061104:"990000",yp201804170214131904131926021412:"993300",rt270017020708210426141706271208:"996600",rt021714181405191917001318110019:"999900",rt141726021412270108130609260214:"99cc00",rt122701081306260214122724001303:"99ff00",rt042326130419272013011114021018:"cc0000",rt081904182602142715171423242013:"cc3300",rt011114021004172614170627151714:"cc6600",rt232418081904260214122710151714:"cc9900",rt232426021412271819001719150006:"cccc00",rt042602141227320421041715171423:"ccff00",te242602141227070803041224001818:"ff0000",te280517040415171423242602141227:"ff3300",te151714232418081904262108030414:"ff6600"};return{getColor:e,colors:t,colorNames:n}};e.MHP1138=e.MHP1138||{},e.MHP1138.ThemeColoring=t}(window),function(e){MHP1138.skins.desktop=function(e){function t(t,k,P,R){var C=MHP1138.detector;l=t,c=l.settings;var L=c.features,B=c.embeds,I=B.enabled,D=B.redirect.logoUrl,O=M.controls;s=k,o=P,i=o.subscribe,a=o.addClick,u=l.container;var U=R.playback,H=R.fullscreen;n(U);var N=_(M.eventCatcher);if(c.isVr||(N.style.display="block",p=new MHP1138.ClickController(N,{onClick:function(e){if(!f)return I&&B.redirect.videoArea?(U.pause(),void(B.utmRedirect.videoArea?x.network.redirect(D,"embed","embed-html5",l.element.currentTime):x.network.redirect(D))):void(e&&e.type.indexOf("touch")!=-1?g.toggle(e):(U.toggle(),d.animate()))},onDoubleClick:function(e,t){H.toggle("area")}},o),I||p.enableDouble()),new MHP1138.SkinContainer(u,k,o),d=new MHP1138.PlaybackControls(O,U,o),l.element){var F=!1;new MHP1138.Keyboard(l.container,l.id,R,o,c,M);var G=new MHP1138.TimeLabels(O.time,o);L.grid&&(A=new MHP1138.GridMenuHelper(c,o,u,M.gridMenu,{open:function(e){I?x.network.redirect(e,"embed","embed-related-html5"):x.network.redirect(e)},openEmbed:function(){return!I||!B.redirect.videoArea||(B.utmRedirect.videoArea?x.network.redirect(D,"embed","embed-html5",l.element.currentTime):x.network.redirect(D),!1)}},{ads:l.ads})),L.tooltips&&(h=new MHP1138.Tooltip(u,M.tooltip,x.html.queryAll("#"+l.id+" [title]"))),g=new MHP1138.ControlBarController(u,O,c,l,o,h||!1,{onShow:function(e){m.enable(e),v.enable(),e&&e.indexOf("touch")!=-1&&y&&(C.isMacos()||y.show())},onHide:function(){m.disable(),v.disable(),y&&y.autoHide(200),h&&h.hide()}},R),m=new MHP1138.SeekBarController(u,o,O.seekBar,{onMove:function(e){b.update(e),v.update(e),E&&!E.visible()&&g.disable()},onMoveEnd:function(){v.hide(),b.deselect(),E&&!E.visible()&&g.enable()},onDragStart:function(){A&&A.disable(),s.get("videoStarted")?s.get("seeking")||(F=s.get("playing"),U.pause(!0)):F=!0,c.isVr||p.disable(),g.disable()},onUpdate:function(e){w&&w.update(e)},onDragEnd:function(e){l.ads.enabled()?(c.initialSeekOffset=e.seconds,U.play()):U.seek(e.seconds,F),c.isVr||p.enable(),g.enable(),A&&A.enable()}}),v=new MHP1138.ThumbnailsController(m.container,o,M,R.thumbnails.get,I),b=new MHP1138.ActionTagsController(o,m.buffered,_(M.thumbnails.actionTagTitle),l.mainRoll.actionTags),T=new MHP1138.BufferedRanges(m.buffered,o);var z=R.hotspots;if(z&&z.enabled()&&(w=new MHP1138.HotspotsGraph(z,M.hotspots,m.bar,l.id,c.skin,c.hotspots,o)),L.topBar&&new MHP1138.TopBarController(M.topBar,c.mainRoll.title,B,l,o,{onMouseOver:function(){g.disable()},onMouseOut:function(){g.enable()}}),L.share&&new MHP1138.ShareButton(_(M.share),B,l,o,{onMouseOver:function(){g.disable()},onMouseOut:function(){g.enable()}}),L.mute){var Y=R.volume;S=new MHP1138.VolumeMuteButton(O.volume,Y,o,h),L.volume&&Y&&(y=new MHP1138.VolumeSlider({volumeBtn:S.button,selectors:O.volume.slider,startingPosition:Y.get(),callbacks:{onDragStart:function(){m.disable(),g.disable(),p.disable()},onDragEnd:function(e){m.enable(e),g.enable(),p.enable()},onUpdate:function(e){Y.set(e)}}},o))}if(L.fullscreen){var V=!1;I&&B.redirect.onFullscreen&&(V=D);var Q;Q=S?S.button.parentNode:G.container,new MHP1138.FullscreenButton(g.bar,Q,l,H,o,V,h||!1)}L.options&&(E=new MHP1138.OptionsMenu(O.options,u,h||!1,l,R,o,c,{onShow:function(){v.disable(),g.disable()},onHide:function(){v.enable(),g.enable()}}));var K=new MHP1138.Clipboard(L.fullscreen?H.element:u),j=new debugInfo(l,s,R,e,o,K,h||!1);new MHP1138.ContextMenu(u,M.contextMenu,l.id,o,K,c.mainRoll.videoUrl,r(),L.embedCode,l.getToggleLoop(),j.show),new MHP1138.VideoOverlays(N,_(O.options.ccContainer),l,o),c.seekPreview.enabled&&!c.isVr&&R.thumbnails&&new MHP1138.CanvasScreenshots(c.seekPreview,l.element,l.wrapper,R.thumbnails,T.getBuffered||!1,o),I&&B.watchHD&&new MHP1138.WatchHDButton(u,l,o,D),I||new MHP1138.NextVideoOverlay(u,l.element,g,c.nextVideo,o)}new MHP1138.KeyboardMenu(e,o,c),setTimeout(function(){new MHP1138.EventTracking(l,o,c)},100)}function n(e){i("onReady",function(){k.playerReady=!0});var t={playPause:function(t){t=t||!1,e.toggle(),setTimeout(function(){d.animate()},50)},track:function(e){l.ads.trackThirdParty(e)},redirect:function(e){l.ads.track("click"),setTimeout(function(){x.network.redirect(e)},0)}};i("showPreRoll",function(e,n,r){new MHP1138.AdsRollUI(l.ads,u,M.preRoll,o,t)})}function r(){return function(){return l.mainRoll.videoUrl?x.url.addTime(l.mainRoll.videoUrl,s.get("currentTime")):""}}var i,o,a,s,l,c,u,d,p,f,A,h,g,m,v,y,b,E,w,T,S,x=MHP1138.utils,_=(x.string.localize,x.html.query),M=(x.css.add,e),k={playerReady:!1};return{init:t}}}(window),function(e){"use strict";var t=function(t,n,r,i){function o(){E={},w={},T=[],_=[],i&&i.length&&(M=i.split(","),R(M,function(e){if(k=e.split(":"),k.length>1){k.length<3&&(k[2]=parseFloat(k[1])+1);var t={name:k[0],startTime:parseFloat(k[1]),endTime:parseFloat(k[2]),startPos:k[1]/S*100,endPos:k[2]/S*100};if(t.endPos>100&&(t.endPos=100),t.startPos<0&&(t.startPos=0),t.startPos>100)return;t.width=t.endPos-t.startPos,T.push(t);var r=I(".actionTag[data-tag="+t.name+"]");r.style.left=t.startPos+"%",r.style.width=t.width+"%",n.appendChild(r),_.push(r),__.isUndefined(E[t.name])?E[t.name]=[r]:E[t.name].push(r),w[t.startTime]=r}}))}function a(){R(_,function(e){n.removeChild(e)}),T=[],_=[]}function s(){R(E,function(e){R(e,function(e){L(e,"hover")})})}function l(e){R(E[e],function(e){C(e,"hover")})}function c(e){e!=x&&(r.style.display="block",r.innerHTML=e.name,x=e)}function u(){x&&(r.style.display="none",x=!1)}function d(){D&&R(_,function(e){e.style.display="block"})}function p(){R(_,function(e){e.style.display="none"})}function f(){D=!0,d()}function A(){D=!1,p()}function h(e){if(!T||!T.length)return!1;for(var t,n,r,i,o=0,a=!1,d=e.range;!a&&o<T.length;)t=T[o],r=t.endPos,n=t.startPos,i=g(r,d)-g(n,d),i<4&&(r=n+m(4,d)),e.percentage>=n&&e.percentage<=r&&(a=!0),o++;a?(l(t.name),c(t)):(s(),u())}function g(e,t){return e*t/100}function m(e,t){return 100*e/t}function v(e){D&&h(e)}function y(){B("onDurationChange",function(e,t,n){S=n.duration,S>0&&(T&&T.length&&a(),o())});var e=!1,t=!1;B("showPreRoll",function(){e=!0}),B("hidePreRoll",function(){e=!1}),B("onPlay",function(){e?(t=!0,A()):(t=!1,f())})}function b(){o(),y()}var E,w,T,S,x,_,M,k,P=e.MHP1138.utils,R=(e.MHP1138.detector,P.underscore.each),C=P.css.add,L=P.css.remove,B=t.subscribe,I=P.html.create,D=!0;return b(),{show:d,hide:p,hideTitle:u,deselect:s,enable:f,disable:A,update:v,getTags:function(){return T}}};e.MHP1138=e.MHP1138||{},e.MHP1138.ActionTagsController=t}(window),function(e){"use strict";var t=function(t,n,r,i,o){function a(){s(),I&&f(I,r.cta),O.video=O.video===!0||"true"==O.video||"1"==O.video,O.link=O.link===!0||"true"==O.link||"1"==O.link,u(),d(),C("onTimeChange",function(e,n,r){t.enabled()&&t.active()&&(c(r.time),p(r.duration,r.time))}),C("onPlay",function(e,n,r){t.enabled()&&g()}),C("hidePreRollUI",b)}function s(){w||l(),c(0)}function l(){if(w=k(r.skipButton))return t.getRollProp("skippable")?void R(w.parentNode,function(e){B<=0&&(t.track("skip"),t.callTrackingEvent("skip"),t.hide()),e.stopPropagation(),e.preventDefault()}):(v(),void(w=!1))}function c(e){t.getRollProp("skippable")&&t.enabled()&&(B=Math.floor(t.getRollProp("skipDelay")-Math.floor(e)),B>0?w.innerHTML=t.getRollProp("skipDelayMessage").replace("%",B).replace("(s)",B>1?"s":""):(_(w.parentNode,"skipable"),setTimeout(function(){w.innerHTML=t.getRollProp("skipMessage")},50)))}function u(){var e=k(r.eventCatcher);A(),O.video&&_(e,"clickable"),R(e,function(e){t.enabled()&&(e.stopPropagation(),e.preventDefault(),o.playPause(O.video),O.video&&o.redirect(t.getRollProp("clickUrl")))})}function d(){T=k(r.timeElapsed)}function p(e,n){if(t.enabled()){var r=Math.floor(e-n);r>=0&&(T.innerHTML="Ad - "+x.string.toTime(r))}}function f(e,r){var i=k(r.container),a=k(r.image),s=!(!e.expand||"1"!=e.expand&&"true"!=e.expand.toLowerCase());if(e.title){var l=k(r.title);if(l.style.display="inline-block",l.innerHTML=e.title,e.subtitle){var c=k(r.subtitle);_(i,"twoLines"),c.style.display="inline-block",c.innerHTML=e.subtitle}}if(!s||L.isMobile()||L.isTablet()||_(i,"expand"),e.button){var u=k(r.button);u.style.display="inline-block",u.innerHTML=e.button}e.image&&(a.style.backgroundImage="url("+e.image+")",_(n,"ctaEnabled"),R(i,function(n){n.stopPropagation(),n.preventDefault(),o.playPause(!0),o.redirect(e.url?e.url:t.getRollProp("clickUrl")),e.clicktrack&&o.track(e.clicktrack)}))}function A(e){var n=k(r.link);if(L.isMobile()||L.isTablet())D.mobileText&&(n.innerHTML=D.mobileText);else{var i=k(r.titleText);D.pcText&&(_(i,"clickable"),i.innerHTML=D.pcText,n.parentNode.removeChild(n),n=i)}O.link?R(n,function(e){e.stopPropagation(),e.preventDefault();var n=D.link?D.link:t.getRollProp("clickUrl");o.playPause(!0),D.tracking&&o.track(D.tracking),o.redirect(n)}):n.parentNode.removeChild(n)}function h(){var e=t.getState("ended");if(e){var r=t.getRollProp("pixelTracking");r&&!S&&(S=P("img"),S.setAttribute("src",r),_(S,"pixelTracking"),n.appendChild(S))}}function g(){y(),m()}function m(){w&&(w.parentNode.style.display="block")}function v(){w&&(w.parentNode.style.display="none")}function y(){_(n,"preRollRunning"),t.multiMode&&M(n,"embedded")}function b(){h(),v(),E()}function E(){M(n,"preRollRunning"),t.multiMode&&_(n,"embedded")}var w,T,S,x=e.MHP1138.utils,_=x.css.add,M=x.css.remove,k=x.html.query,P=x.html.create,R=i.addClick,C=i.subscribe,L=e.MHP1138.detector,B=0,I=t.getRollProp("cta")||!1,D=t.getRollProp("titleCta")||!1,O=t.getRollProp("clickableAreas");return a(),{init:a}};e.MHP1138=e.MHP1138||{},e.MHP1138.AdsRollUI=t}(window),function(e){"use strict";var t=function(t,n,r,i){function o(){function n(){var e=!!t.webkitCurrentPlaybackTargetIsWireless;e?(f.add(m,"streaming"),E.state="streaming"):(f.remove(m,"streaming"),E.state="not streaming"),A("onAirplay",{state:E.state,click:E.click}),E.click=!1,a(e)}(!e.WebKitPlaybackTargetAvailabilityEvent||parseInt(p.osVersion,10)<b)&&l(),t.addEventListener("webkitplaybacktargetavailabilitychanged",function(e){var t=e.availability;"available"==t?(E.available=!0,w||!S?l():s(),E.state=t):l(),A("onAirplay",{state:E.state}),a(!1)}),g("onPlay",function(){E.available&&s()}),t.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",n),h(m,function(e){t.webkitShowPlaybackTargetPicker(),E.click=!0,e.stopPropagation(),e.preventDefault()})}function a(e){e?f.add(n,"airplay"):f.remove(n,"airplay")}function s(){m.style.display="block",f.add(v,y)}function l(){m.style.display="none",f.remove(v,y)}var c=e.MHP1138.utils,u=c.html.query,d=e.MHP1138.detector,p=d.getBrowser(),f=c.css,A=i.fire,h=i.addClick,g=i.subscribe,m=u(r.airplay.button),v=u(r.options.container||r.container),y="airplayEnabled",b=10,E={click:!1,available:!1,state:""},w=!1,T=!1,S=!1;return g("showPreRoll",function(){w=!0}),g("hidePreRoll",function(){w=!1}),g("onPlay",function(){S=!0,T=!!w}),o(),{airPlayState:E}};e.MHP1138=e.MHP1138||{},e.MHP1138.AirplayButton=t}(window),function(e){"use strict";var t=function(t,n,r,i,o){function a(){i&&i.setText(d,u("%HIDE_CC%")),c.css.add(d,"enabled")}function s(){i&&i.setText(d,p),c.css.remove(d,"enabled")}var l,c=e.MHP1138.utils,u=c.string.localize,d=c.html.create(".cc .btn[html="+u("%CC%")+"]");if(o?n.insertBefore(d,o):n.appendChild(d),i){var p=u("%SUBTITLES_CC%");i.initElement(d,p)}return t.visible()&&a(),r.addClick(d,function(e){t.toggle(),i&&i.show(d),e.preventDefault()}),r.subscribe("onTextTrackChange",function(e,t,n){n.visible?a():s()}),{button:d,list:l}};e.MHP1138=e.MHP1138||{},e.MHP1138.CCButton=t}(window),
function(e){"use strict";var t=function(t,n,r,i){function o(){S=!1}function a(){S=!0}function s(){S&&(y.style.display="block",h.add(E,w))}function l(){y.style.display="none",h.remove(E,w),u()}function c(){b.style.display="block"}function u(){b.style.display="none"}function d(e,t){c();var n=e.toLowerCase();n=n.charAt(0).toUpperCase()+n.slice(1),x.innerHTML=n+" on "+t}var p=e.MHP1138.utils,f=p.html.query,A=e.MHP1138.detector,h=p.css,g=i.addClick,m=i.subscribe,v=r.chromecast,y=f(v.button),b=f(v.overlay.container),E=f(r.options.container||r.container),w="googlecastEnabled";if(!e.chrome||A.isEdge())return l(),o(),!1;var T=!1,S=!0,x=f(v.overlay.text);return g(y,function(e){t.pause(!0),e.stopPropagation()}),m("showPreRoll",function(){o(),l()}),m("hidePreRoll",function(){a(),T&&s()}),m("chromecastAvailable",function(e,t,n){T=n.available,T&&S?(h.add(E,w),s()):(h.remove(E,w),l())}),m("onCasting",function(e,t,r){r.chromecast?(h.add(y,"active"),h.add(n,"casting"),r.castState&&r.castName&&d(r.castState,r.castName)):(h.remove(y,"active"),h.remove(n,"casting"),u())}),{enable:a,disable:o}};e.MHP1138=e.MHP1138||{},e.MHP1138.ChromecastButton=t}(window),function(e){"use strict";var t=function(t,n,r,i,o,a,s){function l(){var e=h.string.localize,r=h.html.create;w=r(".fullscreen");var i=r(".btn.maximize.icon.icon-fullscreen"),o=r(".btn.normal.icon.icon-fullscreen-exit");s&&(s.initElement(i,e("%FULL_SCREEN%")),s.initElement(o,e("%EXIT_FULL_SCREEN%"))),w.appendChild(i),w.appendChild(o),n?t.insertBefore(w,n):t.appendChild(w)}function c(){o.addClick(w,function(){a?(h.network.redirect(a,v,"embed-fullscreen-html5",r.element.currentTime),r.pause()):i.toggle("button")})}function u(){S&&g.isIos()?p():d()}function d(){h.css.remove(r.container,"fullscreenDisabled")}function p(){h.css.add(r.container,"fullscreenDisabled")}function f(e){"undefined"==typeof e&&(e=!T),e?h.css.add(w,"active"):h.css.remove(w,"active"),T=e}function A(){m("onFullscreen",function(e,t,n){f(n.fullscreen)}),m("showPreRoll",function(){S=!0,u()}),m("hidePreRoll",function(){S=!1}),m("onPlay",function(){E=!!S,b||u()})}var h=e.MHP1138.utils,g=e.MHP1138.detector,m=o.subscribe,v="embed",y=g.getBrowser();"desktop"!=y.type&&(v=v+"-"+y.type);var b,E,w,T,S=r.ads.enabled();return l(),c(),u(),A(),f(!1),{button:w,disable:p,enable:d}};e.MHP1138=e.MHP1138||{},e.MHP1138.FullscreenButton=t}(window),function(e){"use strict";var t=function(t,n,r,i){var o=e.MHP1138.utils,a=r.fire,s=o.html.create(".watchHD"),l="embed",c=MHP1138.detector.getBrowser();return"desktop"!=c.type&&(l=l+"-"+c.type),s.innerHTML=o.string.localize("%WATCH_HD%"),t.appendChild(s),r.addClick(s,function(e){e.stopPropagation(),e.preventDefault(),n.pause(),a("onWatchHd"),o.network.redirect(i,l,"embed-hd-html5",n.element.currentTime)}),s};e.MHP1138=e.MHP1138||{},e.MHP1138.WatchHDButton=t}(window),function(e){"use strict";var t=function(t,n){function r(e,n){var r,l,c,u=s.slice(),d=[];for(c=0;c<e.length;c++)r={start:100*e.start(c)/n,end:100*e.end(c)/n},(u.length<=c||u[c].start!=r.start||u[c].end!=r.end)&&(r.update=!0),d.push(r);if(d.length>u.length)l=o.html.create(".buffer"),t.appendChild(l),a.push(l);else if(u.length>d.length){for(c=0;c<u.length;c++)if(c>=d.length)try{a[c]&&t.removeChild(a[c])}catch(p){}else d[c].update=!0;a.splice(d.length)}for(i=d[d.length-1].end,c=0;c<d.length;c++)if(r=d[c],r.update&&a[c]){var f=r.end-r.start;r.end>98.5&&(f=100-r.start),a[c].style.left=r.start+"%",a[c].style.width=f+"%"}s=d}var i,o=e.MHP1138.utils,a=[],s=[];return n.subscribe("onBuffer",function(e,t,n){var i=n.buffered,o=n.duration;i.length&&!__.isNaN(o)&&r(i,o)}),{getBuffered:function(){return{zone:i,ranges:s,elements:a}}}};e.MHP1138=e.MHP1138||{},e.MHP1138.BufferedRanges=t}(window),function(e){"use strict";var t=function(t,n,r){function i(e){var n,r;s(d,function(i,o){n=e[o],s(i.items,function(e,i){r=o+"_"+i.replace(".","_"),i==n?l(t,r):c(t,r)})})}var o=e.MHP1138.utils,a=o.string.localize,s=o.underscore.each,l=o.css.add,c=o.css.remove,u=r.subscribe,d={size:{title:a("%SUBTITLES_CC_SIZE%"),items:{.5:"50%",.75:"75%","1.0":"100%",1.25:"125%",1.5:"150%"}},color:{title:a("%SUBTITLES_CC_COLOR%"),items:{white:a("%COLOR_WHITE%"),black:a("%COLOR_BLACK%"),cyan:a("%COLOR_CYAN%"),magenta:a("%COLOR_MAGENTA%"),yellow:a("%COLOR_YELLOW%")}},bg:{title:a("%SUBTITLES_CC_BG_OPACITY%"),items:{"0.0":"0%",.25:"25%",.5:"50%",.75:"75%","1.0":"100%"}},bg_color:{title:a("%SUBTITLES_CC_BG_COLOR%")}};d.bg_color.items=d.color.items,u("onTextTrackStyleChange",function(e,t,n){i(n.options)});var p=n.getOptions();return i(p),{styles:d,size:d.size,color:d.color,bg:d.bg,bg_color:d.bg_color}};e.MHP1138=e.MHP1138||{},e.MHP1138.CCStyles=t}(window),function(e){"use strict";var t=300,n=function(n,r,i){function o(){f=!0}function a(){f=!1}function s(){A=!0}function l(){A=!1}function c(e,t){r.onDoubleClick&&r.onDoubleClick(e,t)}function u(e){r.onClick&&r.onClick(e)}function d(){var e,r=0,o=0;i.addClick(n,function(n){if(f&&(!n.button||0==n.button)&&g){if(n.stopPropagation(),n.preventDefault(),!A)return void u(n);var i=(new Date).getTime(),a=i-r;clearTimeout(e),a<t&&a>0?(o++,c(n,o)):(e=setTimeout(function(){clearTimeout(e),u(n)},t),o=0),r=i}})}function p(){i.subscribe("onVideoReady",function(){g=!0}),i.subscribe("onPlay",function(){h=!0})}var f=(e.MHP1138.utils,!0),A=!0,h=!1,g=!1;return l(),d(),p(),{enable:o,disable:a,enableDouble:s,disableDouble:l}};e.MHP1138=e.MHP1138||{},e.MHP1138.ClickController=n}(window),function(e){"use strict";var t=function(t,n,r){function i(){A=!0,h=10896,M=y.getPlatform()||M,g=T.url.replace("%APPID%",h).replace("%SITENAME%",_).replace("%PLATFORM%",M),o("playerLoaded",t.playerType),l(),T.cdn.length&&T.videoId&&c()}function o(e,t){if(A&&e){var n=g.replace("%NAME%",e);n=E.isArray(t)?u(t):"boolean"==typeof t||t?n.replace("%VALUE%",t):n.replace("&featureValue=%VALUE%","");var r=[{name:"player_source",keys:["player_source","playersource","source"],value:k}];n=u(n,r),m.network.ajax(n)}}function a(){A=!1}function s(){A=!0}function l(){w("onBtnPlay",function(){o("btnPlay")}),w("onBtnBigPlay",function(){o("btnBigPlay")}),w("onBtnReplay",function(){o("btnReplay")}),w("onBtnPause",function(){o("btnPause")}),w("onForwardRewindSeek",function(e,t,n){o(n.seekDelta>0?"seekForward":"seekRewind")}),w("onQualityChange",function(e,t,n){o("QualityChange",parseInt(n.resolution,10))}),w("onAirplay",function(e,t,n){n.click&&o("airplay","streaming"==n.state)}),w("onCasting",function(e,t,n){o("chromecast",n.chromecast)}),w("expandPlayer",function(){o("largePlayer",!0)}),w("collapsePlayer",function(){o("largePlayer",!1)}),w("onNextVideo",function(){o("nextVideo")}),w("onWatchHd",function(){o("watchHd",!0)}),w("onTextTrackChange",function(e,t,n){o("closedCaptions",n.visible)}),w("onPlaybackRateChange",function(e,t,n){o("speed",n.playbackRate)}),w("onAutoplayChange",function(e,t,n){o("autoplay",n.autoplay)}),w("onHotspotsChange",function(e,t,n){o("hotspots",n.hotspots)}),w("onTextTrackStyleChange",function(e,t,n){switch(n.newStyle){case"color":o("fontColor",n.newValue);break;case"bg_color":o("BGcolor",n.newValue);break;case"bg":o("BGopacity",n.newValue);break;case"size":o("fontSize",n.newValue)}}),w("onRelatedGridClick",function(e,t,n){o("RelatedGrid","video"+parseInt(n.num,10))}),w("onFullscreen",function(e,t,n){var r="fullscreen";"landscape"==n.event||"portrait"==n.event?r="autoFullscreen":"area"==n.event?r="fullscreenArea":"button"==n.event?r="fullscreenBtn":(n.event="esc")&&(r="fullscreenEsc"),o(r,n.fullscreen)}),w("onVolumeSlider",function(){o("volumeSlider")}),w("onMute",function(){o("volumeMute")}),w("onUnmute",function(){o("volumeUnmute")}),w("onHelp",function(){o("help")}),w("copyEmbed",function(){o("CopyEmbed")}),w("onLooped",function(e,t,n){S=!S,o("looped",n.looped)}),w("showPauseRoll",function(){var e=v("#pb_template");e&&"block"===e.style.display&&e.hasChildNodes&&x.pauseRollCount++})}function c(){w("onMediaError",function(e,t,n){f(n)})}function u(e,t){if(!E.isArray(t))return e;var n;return E.each(t,function(t){t.keys&&(n=t.keys.filter(function(t){return new RegExp("%"+t+"%","i").test(e)})[0]),e=n?e.replace(new RegExp(n,"i"),t.value):[e,"&",t.name,"=",t.value].join("")}),e}function d(e){var t="unknown";if(!e||"string"!=typeof e)return t;e=e.toLowerCase();var n=[{name:"haproxy",variants:["htrn","rf","hp"]},{name:"highwinds",variants:["hw"]},{name:"edgecast",variants:["edge","cast","edgdcast"]}],r=n.filter(function(t){return t.name===e||t.variants.indexOf(e)>-1});return r.length?r[0].name:t}function p(e){var t,n=e.data,r=e.isAdaptive,i=r?"mediaError":"MEDIA_ERR_DEFAULT";if(r)t=n.response&&n.response.text?n.response.text:n.details||n.type,t="error"===t?i:t;else{var o=n.target&&n.target.error;if(o&&o.code){var t;switch(o.code){case o.MEDIA_ERR_ABORTED:t="MEDIA_ERR_ABORTED";break;case o.MEDIA_ERR_NETWORK:t="MEDIA_ERR_NETWORK";break;case o.MEDIA_ERR_DECODE:t="MEDIA_ERR_DECODE";break;case o.MEDIA_ERR_SRC_NOT_SUPPORTED:t="MEDIA_ERR_SRC_NOT_SUPPORTED";break;default:t=i}}else t=i}return t}function f(e){if("function"!=typeof VortexSimple)return!1;var t=new VortexSimple(10938,"html5-performance"),n=d(T.cdn);t.set("cdnHostname",n||""),t.set("deviceType",M||""),t.set("platform",b.os||""),t.set("streamType",e.isAdaptive?"adaptive":"progressive");var r=p(e);T.geo&&t.set("geo",T.geo),T.isp&&t.set("isp",T.isp),t.set("errorMessage",r);var i=t.generateUrl();navigator.sendBeacon(i)}var A,h,g,m=e.MHP1138.utils,v=m.html.query,y=e.MHP1138.detector,b=y.getBrowser(),E=m.underscore,w=n.subscribe,T=r.eventTracking||!1,S=!1,x={pauseRollCount:0},_=r.env||r.quickSetup||e.location.host,M="unknown",k=r.embeds&&r.embeds.enabled?"embed":"videoPage";return T&&T.enabled&&T.url&&m.string.isPath(T.url)?(i(),{disable:a,enable:s,send:o}):{}};e.MHP1138=e.MHP1138||{},e.MHP1138.EventTracking=t}(window),function(e){"use strict";var t=function(t,n,r,i,o){function a(e,t){if(k){var n,i,a=e.changedTouches[0].pageX,s=r.getBoundingClientRect();h=!0,a-s.left>s.width/2?(P++,n="fwd",i=l):(R--,n="rwd",i=c),i(P+R),u(),o.onShow&&o.onShow({percentage:M,direction:n})}}function s(e){var t=w*e;_=S+t,_<0&&(_=0),_>x&&(_=x);var n=Math.floor(S),r=Math.floor(x);return n+t<0&&(t=n*-1),t+n>r&&(t=r-n),M=_/x*100,t}function l(e){f=s(e),C.innerHTML=f+" "+v("Seconds"),y(L,"visible"),b(I,"visible"),y(r,"showFwdRwd")}function c(e){f=s(e),B.innerHTML=f+" "+v("Seconds"),y(I,"visible"),b(L,"visible"),y(r,"showFwdRwd")}function u(){clearTimeout(A),A=setTimeout(d,T)}function d(){b(L,"visible"),b(I,"visible"),b(r,"showFwdRwd"),t(_,k),P=0,R=0,i.fire("onForwardRewindSeek",{seekTo:_,seekDelta:f}),o.onHide&&o.onHide(),S=_,h=!1}function p(){return h}var f,A,h,g=e.MHP1138.utils,m=g.html.query,v=g.string.localize,y=g.css.add,b=g.css.remove,E=i.subscribe,w=10,T=300,S=0,x=0,_=0,M=0,k=!1,P=0,R=0,C=m(n.forwardText),L=m(n.fastForwardCont),B=m(n.rewindText),I=m(n.rewindCont);E("onPlay",function(){k=!0}),E("onPause",function(){h||(k=!1)}),E("onTimeChange",function(e,t,n){h||(S=n.time,x=n.duration)});var D={show:a,hide:d,isActive:p};return D};e.MHP1138=e.MHP1138||{},e.MHP1138.ForwardRewindScreen=t}(window),function(e){"use strict";var t=function(t,n,r,i,o,a){function s(){l(),u(),c(),f()}function l(){var e=n.subscribe,t=K?"onPause":"showPauseRoll";e("verticalPlayer",function(e,t,n){$=!0}),e("onPlay",function(){W._playing=!0,W._started||(W._started=!0,j.deferredLoad||d()),y()});var r=["onSeek","showActionTagsScreen"];F(r,function(t){e(t,function(){y()})}),j.showOnPause&&e(t,function(e,t,n){W._playing=!1,v(J&&!K)}),j.showOnPost&&e("onEnd",function(){W._playing=!1,v()}),e("onFullscreen",function(e,t,n){J&&(n.fullscreen?y():W._playing||v(!0))}),e("hideActionTagsScreen",function(){J&&!W._playing&&v(!0)}),e("onToggleControls",function(e,t,n){n.visible?v(!0):2!==W._visible&&y()}),e("onToggleMenu",function(e,t,n){n.visible&&y()})}function c(){if(J){var e=D(i.controls.closeButton);if(!e)return;G(D(i.controls.closeButton),function(e){e.preventDefault(),e.stopPropagation(),2===W._visible&&y(null,!0)}),z(r,function(e){1===W._visible&&e.up?v():2!==W._visible||!e.down||e.left&&!e.right||y(null,!0)},{lockAxes:!0})}}function u(){x=T(".mhp1138_gridTemplate",!0),C=document.createElement("div"),U(C,"gridMenu"),K||U(C,"gridMenuSide"),C.innerHTML=x({gridTitle:K?"":J?t.mainRoll.title:j.relatedTitle}),r.appendChild(C),P=D(i.thumbnailsGrid),R=D(i.thumbnailsContainer)}function d(e){N.isUndefined(j.relatedUrl)||(j.url=j.relatedUrl),j.data?p(j.data):j.url&&B.network.ajax(j.url,!1,function(t){p(JSON.parse(t),e)})}function p(e,t){return L=e,q=0,__.isUndefined(L)?(y(X),!1):(W._dataLoaded=!0,h(),K||W._sliderReady||J||m(),void(j.deferredLoad&&v(t)))}function f(){K&&G(C,function(){o.openEmbed()&&y(X)})}function A(e,t){if(e=e||"related",t=t||9,L[e].length>t){var n=L[e].sort(function(){return.5-Math.random()});return n.slice(0,t)}return L[e]}function h(){var e,t,n,r=q,i=$&&I.isDesktop()||K&&(I.isDesktop()||I.isTablet())?9:6,o=A("related",i),a=r*i,s=a+i,l="";for(s>o.length&&(s=o.length),n=s-a,e=a;e<s;e++)t=o[e],F(t,function(e,n){t[n]=Y(e,!0)}),k=B.media.isSupported("webm")&&t[6]&&!K?".mhp1138_gridVideoTemplate":".mhp1138_gridLinkTemplate",_=T(k,!0),M=T(".mhp1138_gridItemInfoTemplate",!0),l+=_({info:{percentage:t[3],thumbnail:t[0],time:t[2],title:t[1],url:t[4],views:w(t[5]),video:t[6]},template:M}),4==n&&e-a==1&&(l+="<br>");5!=n&&8!=n||(l+="<div class=mhp1138_gridItem></div>"),7==n&&(l+="<div class=mhp1138_gridItem></div>",l+="<div class=mhp1138_gridItem></div>"),P.innerHTML=l,g()}function g(){var e=zest(i.thumbnailsGrid+" .mhp1138_gridItem");if(j.linkColor){var t=[i.thumbnailsGrid+" .mhp1138_gridItem .mhp1138_title",i.thumbnailsGrid+" .mhp1138_grid-icon"],r=zest(t.join());F(r,function(e){e.style.color=j.linkColor})}F(e,function(e,t){"A"==e.tagName&&e.href.length&&(G(e,function(r){r.preventDefault(),r.stopPropagation(),W._visible<2||(K||n.fire("onRelatedGridClick",{num:t+1}),o.open(e.href))}),e.addEventListener("click",function(e){return e.stopPropagation(),e.preventDefault(),!1}),e.addEventListener("mousedown",function(t){2!=t.which&&3!=t.which||(t.stopPropagation(),t.preventDefault(),o.open(e.href))}))})}function m(){function t(){var e=D(i.thumbnailsItem);d=A.offsetHeight,u=(e.offsetHeight+4)*l.scrollBy,p=R.offsetHeight,p>d?f.style.display="none":(f.style.display="block",W._bouncing&&(U(f,"animated"),W._bouncing=!1)),setTimeout(function(){H(f,"animated")},4e3),c=0,n(c)}function n(e){A.style.transform="translate(0, -"+e+"px)"}function r(){H(f,"animated"),p=R.offsetHeight,c+u>d-p?c=d-p:c+=u,n(c)}function o(){p=R.offsetHeight,c-u<0?c=0:c-=u,n(c)}function a(){function e(e){e<0?r():o()}A.addEventListener("mousewheel",function(t){t.preventDefault(),t.stopPropagation();var n=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail));e(n)},!1),A.addEventListener("DOMMouseScroll",function(t){t.preventDefault(),t.stopPropagation();var n=Math.max(-1,Math.min(1,t.wheelDelta||-t.detail));e(n)},!1)}function s(){h||(h=setTimeout(function(){h=null,t()},66))}var l={scrollBy:2,minSwipeBeforeSlide:50},c=0,u=0,d=0,p=0,f=O(".gridNextBtn"),A=D(i.thumbnailsWrapper);R.appendChild(f),setTimeout(function(){t()},100),G(f,function(e){e.preventDefault(),e.stopPropagation(),r()}),a(),e.addEventListener("resize",s,!1);var h;W._sliderReady=!0}function v(e){return!(!W._enabled||2==W._visible||W._playing||Q()||J&&S()||!W._started)&&(W._dataLoaded?(W._visible=e?1:2,void(J?(H(r,e?X:Z),U(r,e?Z:X),e||(a.controls.hide(),a.click.disable())):U(r,X))):(j.deferredLoad&&d(e),!1))}function y(e,t){return!!W._visible&&(e=e?e:2===W._visible?X:Z,H(r,e),J?(2===W._visible&&(a.controls.show(),a.click.enable()),t?(W._visible=1,U(r,Z)):W._visible=0,void(P.scrollLeft=0)):void(W._visible=0))}function b(){W._enabled=!0}function E(){W._enabled=!1}function w(e){if(e=parseInt(e,10),isNaN(e)||e<1e3)return e;var t=(""+e).length,n=t>6,r=parseInt(e/(n?1e6:1e3),10)+(n?"M":"K");return r}function T(e,t){var n=D(e).innerHTML;return t&&(n=N.unescape(n)),V(n)}function S(){return a.actionTagsScreen&&a.actionTagsScreen.isOpen()}var x,_,M,k,P,R,C,L,B=e.MHP1138.utils,I=e.MHP1138.detector,D=B.html.query,O=B.html.create,U=B.css.add,H=B.css.remove,N=B.underscore,F=N.each,G=n.addClick,z=n.addSwipe,Y=B.string.sanitize,V=B.underscore.template,Q=a.ads.enabled,K=t.embeds.enabled,j=t.menu,q=0,W={_enabled:!0,_visible:0,_bouncing:!0,_activeTab:"",_dataLoaded:!1,_started:!1,_playing:!1,_sliderReady:!1},J="mobile"===t.skin&&!K,X="showGrid",Z="showGridPreview",$=!1;return s(),{enable:b,disable:E,hide:y,show:v,visible:function(){return 0!==W._visible}}};e.MHP1138=e.MHP1138||{},e.MHP1138.GridMenuHelper=t}(window),function(e){"use strict";var t=function(t,n,r,i,o,a,s){function l(e){if(c){var t=e.percentage,n=-100+t+"%",r=T?"translate("+n+",0)":"translate3d("+n+",0,0)";c.style.MozTransform=r,c.style.webkitTransform=r,c.style.transform=r,w&&(r="translate("+(10*t-1e3)+")",c.style.transition="none",c.setAttribute("transform",r))}}var c,u=e.MHP1138.utils,d=u.html.query,p=u.css.add,f=u.css.remove,A=s.subscribe,h=d("#skin_"+o+" .mhp1138_svg_hotspots"),g=null,m="",v=1e3,y=100;if(h&&a.data.length>2){var b=e.MHP1138.detector,E=b.getBrowser(),w=b.isIe()||b.isEdge(),T="safari"===E.name;a.data.splice(0,2);var S=a.data.length,x=v/(S-1),_=Math.max.apply(null,a.data)/y,M=(h.firstChild||h.content.firstChild).cloneNode(!0);M.getElementsByTagName("clipPath")[0].setAttribute("id",i+"_hotspotsClip"),M.getElementsByTagName("g")[0].setAttribute("clip-path","url(#"+i+"_hotspotsClip)"),r.appendChild(M);var g=d(n.polygon),k=d(n.container);c=d(n.progress),c.setAttribute("fill",a.chartColor),k.style.height=a.chartHeight;for(var P=0;P<S;P++){var R=parseInt(a.data[P],10),C=Math.floor(R/_);m+=x*P+","+(y-C)+" "}w&&(c.style.transition="none",c.setAttribute("transform","translate(-1000)")),m+=x*S+","+y+" 0,"+y,g.setAttribute("points",m),A("onHotspotsChange",function(e,t,n){n.hotspots?p(k,"visible"):f(k,"visible")}),t.get()&&p(k,"visible"),l({percentage:0})}return{update:l}};e.MHP1138=e.MHP1138||{},e.MHP1138.HotspotsGraph=t}(window),function(e){"use strict";var t=function(t,n,r,i){function o(){var e=k("i.icon.icon-next"),n=k("div.nextVideoOverlay");y=k("div.nextVideoCnt div.upNext[html=Up Next]"),b=k("div.nextTitle"),w=k("a.nextBtn"),T=k("a.cancel[html=Cancel]"),b.innerHTML=r.title,y.appendChild(b),""!==r.chanel&&(E=k("div.nextChanel"),E.innerHTML=r.chanel,y.appendChild(E)),w.innerHTML='<svg class="'+M.prefix+'_nextVideoTimeout" viewBox="0 0 60 60"><circle r="29" cx="30" cy="30" stroke-dashoffset="182" stroke-dasharray="182"></circle></svg>',w.appendChild(e),y.appendChild(w),y.appendChild(T),n.appendChild(y),t.appendChild(n),S=M.html.query(".nextVideoTimeout circle")}function a(){R&&C&&(i.fire("onNextVideo"),g(),e.location=r.nextUrl)}function s(){return"landscape-primary"===e.screen.orientation.type||"landscape-secondary"===e.screen.orientation.type?"horizontal":"vertical"}function l(){var t=Math.abs(e.orientation);return t>0&&t<180?"horizontal":"vertical"}function c(){return e.innerHeight||document.documentElement.clientHeight}function u(){"orientation"in e.screen?e.screen.orientation.addEventListener("change",function(e){B=s(),I=c()}):"orientation"in e&&e.addEventListener("orientationchange",function(e){B=l(),I=c()})}function d(){i.addClick(w,function(e){a(),e.preventDefault(),e.stopPropagation()}),i.addClick(T,function(e){g(),e.preventDefault(),e.stopPropagation()}),i.addClick(y,function(e){e.preventDefault(),e.stopPropagation()}),i.subscribe("onEnd",function(){R=!0,h()}),i.subscribe("onPlay",function(){g()}),P.isMobile()&&P.isIos()&&i.subscribe("onFullscreen",function(e,t,n){L=n.fullscreen,h()}),e.addEventListener("scroll",function(e){R&&(m().both?p():f())})}function p(){if(R&&!C&&!L){C=!0;var e=182,t=1e3*r.timeout/e;_=setInterval(function(){e>0&&e--,S.setAttribute("stroke-dashoffset",e)},t),x=setTimeout(function(){a(),clearInterval(_)},1e3*r.timeout)}}function f(){C&&(A(),C=!1,clearInterval(_),clearTimeout(x))}function A(){S.setAttribute("stroke-dashoffset",182)}function h(){!R||C||L||(S.style.animation="next "+r.timeout+"s linear forwards",M.css.add(t,"nextVideoMode"),n.hide(),n.disable(),m().both&&p())}function g(){C&&(M.css.remove(t,"nextVideoMode"),S.style.animation="",f(),n.enable(),n.show())}function m(){var e=t.getBoundingClientRect(),n=t.clientHeight/2,r=parseInt(e.top,10)+n>=0&&parseInt(e.bottom,10)>=0,i=parseInt(e.top,10)-n<=I&&parseInt(e.bottom,10)<=I+n;return{top:r,bottom:i,both:r&&i}}function v(){(P.isMobile()&&r.mobile||P.isDesktop()&&r.desktop)&&""!==r.nextUrl&&""!==r.title&&(o(),d(),"orientation"in e.screen?B=s():"orientation"in e&&(B=l()),I=c(),u())}var y,b,E,w,T,S,x,_,M=e.MHP1138.utils,k=M.html.create,P=MHP1138.detector,R=!1,C=!1,L=!1,B="vertical",I=0;return v(),{show:h,hide:g}};e.MHP1138=e.MHP1138||{},e.MHP1138.NextVideoOverlay=t}(window),function(e){"use strict";var t=function(t,n,r){function i(e){e?o.css.add(l,"enabled"):o.css.remove(l,"enabled")}var o=e.MHP1138.utils,a=o.string.localize,s=t.switchList,l=o.html.create(".switch.autoplay i.icon.icon-menu-autoplay");l.innerHTML=l.innerHTML+a("%AUTOPLAY%")+"<span>"+a("%OFF%")+" <div>"+a("%ON%")+"</div></span>",s.appendChild(l);var c=n.get();return i(c),r.addClick(l,function(e){c=n.get(),n.set(!c),e.stopPropagation(),e.preventDefault()}),r.subscribe("onAutoplayChange",function(e,t,n){i(n.autoplay)}),r.subscribe("onPlayPromise",function(e,t,n){n.autoplay===!1&&(l.style.display="none")}),{element:l}};e.MHP1138=e.MHP1138||{},e.MHP1138.AutoplaySwitch=t}(window),function(e){"use strict";var t=function(t,n,r,i,o,a){function s(e){u(b,function(t,n){t.key==e?(g.innerHTML=t.innerHTML,p(b[n],"active")):f(b[n],"active")})}var l,c=e.MHP1138.utils,u=c.underscore.each,d=(c.underscore.extend,c.html.create),p=c.css.add,f=c.css.remove,A=t.subSubPage,h=d(".selector.cc"),g=d(".value"),m=r[i].title,v=r[i].items,y=d("ul.optionsList.fx_"+i),b=[];h.innerHTML=m,h.appendChild(g),n.appendChild(h),h.addEventListener("mousedown",function(e){p(h,"active")}),h.addEventListener("mouseout",function(e){f(h,"active")}),a.addClick(h,function(e){t.showSubSubMenu(m,h,y),e.stopPropagation(),e.preventDefault()}),u(v,function(e,n){l=d("li"),l.innerHTML=e,l.key=n,a.addClick(l,function(e){var r=o.getOptions();r[i]!=n&&(s(n),o.setOptions(i,n),t.hideSubSubMenu()),e.preventDefault()}),b.push(l),y.appendChild(l)}),A.appendChild(y);var E=o.getOptions();return s(E[i]),{name:i,element:h,items:b}};e.MHP1138=e.MHP1138||{},e.MHP1138.CCOptionsStyle=t}(window),function(e){"use strict";var t=function(t,n,r){function i(e){var t=0;s.css.remove(A,"enabled"),l(y,function(n,r){r==e?(h.innerHTML=n.label,o=v[t],s.css.add(o,"active"),"disabled"!=e&&s.css.add(A,"enabled")):s.css.remove(v[t],"active"),t++})}var o,a,s=e.MHP1138.utils,l=s.underscore.each,c=s.underscore.extend,u=s.html.create,d=s.string.localize,p=t.switchList,f=t.subPage,A=u(".selector.cc i.icon.icon-menu-cc"),h=u(".value"),g=u("ul.optionsList.cc"),m=u("div.ccOptions"),v=[],y=c({disabled:{label:d("%CC_OFF%")}},n.getTracks());g.appendChild(m);var b=d("%SUBTITLES_CC%");A.innerHTML=A.innerHTML+b,A.appendChild(h),p.appendChild(A),A.addEventListener("mousedown",function(e){s.css.add(A,"active")}),A.addEventListener("mouseout",function(e){s.css.remove(A,"active")}),r.addClick(A,function(e){t.showSubMenu(b,A,g),e.stopPropagation(),e.preventDefault()}),l(y,function(e,i){a=u("li"),a.innerHTML=e.label,r.addClick(a,function(e){e.target!=o&&("disabled"==i?n.hide():n.set(i),t.hideWithTimer()),e.preventDefault()}),v.push(a),g.appendChild(a)}),f.appendChild(g),r.subscribe("onTextTrackChange",function(e,t,n){i(n.visible?n.lang:"disabled")});var E=n.get();return i(E.visible?E.lang:"disabled"),{element:A,container:m,list:v}};e.MHP1138=e.MHP1138||{},e.MHP1138.CCList=t}(window),function(e){"use strict";var t=function(t,n,r,i){function o(e){e?a.css.add(c,"enabled"):a.css.remove(c,"enabled")}var a=e.MHP1138.utils,s=(a.underscore.each,a.string.localize),l=t.switchList,c=a.html.create(".switch.hotspots i.icon.icon-menu-hotspots");c.innerHTML=c.innerHTML+s("%HOTSPOTS%")+"<span>"+s("%OFF%")+" <div>"+s("%ON%")+"</div></span>",l.appendChild(c);var u=a.html.create("div.icon.icon-info[tooltipPosition=top]");c.appendChild(u),r&&r.initElement(u,s("%HOTSPOTS_HOT_NOT%"));var d=n.get();return o(d),i.addClick(c,function(e){d=n.get(),n.set(!d),e.preventDefault()}),c.addEventListener("mouseover",function(){r&&r.enableAll()}),c.addEventListener("mouseleave",function(){r&&r.disableAll()}),i.subscribe("onHotspotsChange",function(e,t,n){o(n.hotspots)}),{element:c}};e.MHP1138=e.MHP1138||{},e.MHP1138.HotspotsSwitch=t}(window),function(e){"use strict";var t=function(t,n){function r(e){return e=e.replace("HD",""),e=e.replace("4K","")}var i=e.MHP1138.utils,o=i.underscore.each,a=i.html.create,s=i.string.localize,l=t.switchList,c=t.subPage,u=t.qualityList,d=a(".selector.quality i.icon.icon-menu-quality"),p=a(".value"),f=s("%QUALITY%");d.innerHTML=d.innerHTML+"<span>"+f+"</span>",d.appendChild(p),l.appendChild(d),d.addEventListener("mousedown",function(e){i.css.add(d,"active")}),d.addEventListener("mouseout",function(e){i.css.remove(d,"active")}),n.addClick(d,function(e){t.showSubMenu(f,d,u),e.stopPropagation(),e.preventDefault()}),c.appendChild(u);var A=[];return o(u.childNodes,function(e){i.css.has(e,"active")&&(p.innerHTML=r(e.innerText))}),{element:d,list:A,update:function(e){p.innerHTML=r(e)}}};e.MHP1138=e.MHP1138||{},e.MHP1138.QualityMenu=t}(window),function(e){"use strict";var t=680,n=1630,r=function(r,i,o,a,s){function l(e){h(b,"K4"),h(b,"HD"),parseInt(e,10)>=n?A(b,"K4"):parseInt(e,10)>=t&&A(b,"HD")}function c(e){var t=f("%AUTO_QUALITY%");e&&(p.isIos()||(t+=" ("+parseInt(e,10)+"p)"),a&&a(t)),u.innerHTML=t}var u,d=e.MHP1138.utils,p=e.MHP1138.detector,f=d.string.localize,A=d.css.add,h=d.css.remove,g=d.underscore.each,m=s.subscribe,v=i.getResolutions(),y=i.getSources(),b=r.button,E=r.qualityList,w=[],T=i.getCurrent().quality;g(v,function(e){var i=d.html.create("li"),p=String(e).replace("_","p");p.indexOf("p")==-1&&(p+="p"),parseInt(e,10)>=n?p+=" <b>4K</b>":parseInt(e,10)>=t&&(p+=" <b>HD</b>"),"hls"!=e&&"dash"!=e||(p=f("%AUTO_QUALITY%"),A(i,"adaptive"),u=i),i.innerHTML=p,i.rel=e,e==T&&A(i,"active"),"upsell"==y[e].format&&(A(i,"upsell"),i.innerHTML='<span class="mhp1138_icon mhp1138_icon-star"></span>'+i.innerHTML),E.appendChild(i),w.push(i),s.addClick(i,function(){var e=i.rel;e!=T&&("upsell"==y[e].format?s.fire("onQualityUpsell",{resolution:e}):o(e,function(){g(w,function(e){h(e,"active")}),A(i,"active"),a&&a(i.innerText),u&&(T&&x&&("hls"==e||"dash"==e)?c(T):c()),l(e),T=e,r.hideWithTimer()}))})});var S=!1;m("onMediaError",function(e,t,n){n.isAdaptive&&n.data&&(S=!0,E.removeChild(u),w.pop())}),m("onQualityChange",function(e,t,n){S&&(g(w,function(e){parseInt(e.rel,10)==parseInt(n.resolution,10)?(A(e,"active"),a&&a(e.innerText)):h(e,"active")}),S=!1)});var x=!1;return m("onPlay",function(){x=!0}),m("onAdaptiveQualityChange",function(e,t,n){if((!n.quality.type||"audio"!=n.quality.type)&&(!n.quality.mediaType||"audio"!=n.quality.mediaType)&&(u&&"hls"==T||"dash"==T)){var r=n.quality.height;if("dash"==T){var i=!1;g(v,function(e){e<parseInt(r,10)+20&&e>parseInt(r,10)-20&&!i&&(i=!0,r=e)})}c(r),l(r)}}),l(T),{list:w}};e.MHP1138=e.MHP1138||{},e.MHP1138.QualityList=r}(window),function(e){"use strict";var t=function(t,n,r){function i(e){E||s(g,function(t,n){t.value==e?(f.innerHTML=t.title,a.css.add(h[n],"active")):a.css.remove(h[n],"active")})}var o,a=e.MHP1138.utils,s=a.underscore.each,l=a.html.create,c=a.string.localize,u=t.switchList,d=t.subPage,p=l(".selector.speed i.icon.icon-menu-speed"),f=l(".value"),A=l("ul.optionsList.speed"),h=[],g=[{value:.5,title:"0.5"},{value:1,title:c("%SPEED_NORMAL%")},{value:1.5,title:"1.5"},{value:2,title:"2.0"}],m=g[1],v=c("%SPEED%");p.innerHTML=p.innerHTML+v,p.appendChild(f),u.appendChild(p),p.addEventListener("mousedown",function(e){a.css.add(p,"active")}),p.addEventListener("mouseout",function(e){a.css.remove(p,"active")}),r.addClick(p,function(e){t.showSubMenu(v,p,A),e.stopPropagation(),e.preventDefault()}),s(g,function(e,i){o=l("li"),o.innerHTML=e.title,r.addClick(o,function(r){y!=e.value&&(n.set(e.value),y=e.value,t.hideWithTimer()),r.preventDefault()}),h.push(o),A.appendChild(o)}),d.appendChild(A);var y=n.get();i(y),r.subscribe("onPlaybackRateChange",function(e,t,n){y=n.playbackRate,i(n.playbackRate)});var b="",E=!1;return r.subscribe("onCasting",function(e,t,n){n.chromecast?(b||(E=!0,b=f.innerHTML,f.innerHTML=m.title),a.css.add(p,"disabled")):(E=!1,a.css.remove(p,"disabled"),f.innerHTML=b,b="")}),{element:p,list:h}};e.MHP1138=e.MHP1138||{},e.MHP1138.SpeedList=t}(window),function(e){"use strict";var t=function(t,n,r,i,o,a,s,l){function c(){N.style.width="1000px",N.style.height="1000px",D.style.width="auto",D.style.height="auto",F=D.clientWidth+1,G=D.clientHeight,D.style.width=F+"px",D.style.height=G+"px"}function u(){c(),N.style.width=F+"px",N.style.height=G+"px",k(z,"active"),k(I,"visible"),C=!0,"function"==typeof l.onShow&&l.onShow(),r&&r.disableAll(),R("onToggleMenu",{visible:!0})}function d(){P(z,"active"),P(I,"visible"),C=!1,P(N,"animated"),setTimeout(function(){f()},200),"function"==typeof l.onHide&&l.onHide(),r&&r.enableAll(),R("onToggleMenu",{visible:!1})}function p(e,t,n){J=!0,w=t,K.innerHTML=e,n.style.display="block",b=n,k(N,"animated"),k(t,"active"),setTimeout(function(){N.style.width=O.clientWidth+"px",N.style.height=O.clientHeight+"px",k(I,"level2"),P(I,"level3")},0)}function f(){J&&(J=!1,N.style.width=F+"px",N.style.height=G+"px",P(I,"level3"),P(I,"level2"),P(w,"active"),setTimeout(function(){b.style.display="none",O.style.height="auto",O.style.width="auto"},200))}function A(e,t,n){T=t,q.innerHTML=e,n.style.display="block",E=n,k(N,"animated"),setTimeout(function(){N.style.width=U.clientWidth+"px",N.style.height=U.clientHeight+"px",k(t,"active"),k(I,"level3"),P(I,"level2")},0)}function h(){N.style.width=O.clientWidth+"px",N.style.height=O.clientHeight+"px",P(I,"level3"),k(I,"level2"),P(T,"active"),setTimeout(function(){E.style.display="none"},200)}function g(){setTimeout(function(){d()},200)}function m(){var e=a.addClick;e(z,function(e){C?d():u(),e.preventDefault(),e.stopPropagation()}),e(I,function(e){e.preventDefault(),e.stopPropagation()}),e(K,function(e){f(),e.preventDefault(),e.stopPropagation()}),e(q,function(e){h(),e.preventDefault(),e.stopPropagation()}),e(H,function(e){C&&(d(),e.stopPropagation(),e.preventDefault())}),e(document.body,function(e){C&&d()})}function v(e){return new MHP1138.CCOptionsStyle($,ee.container,te,e,o.cc,a)}function y(){P(z,"hidden"),k(n,"optionsMenuVisible")}var b,E,w,T,S=e.MHP1138.utils,x=S.html.create,_=S.html.query,M=S.string.localize,k=S.css.add,P=S.css.remove,R=a.fire,C=!1,L=s.embeds,B=(L.enabled,s.features),I=x(".optionsMenu"),D=x(".mainPage .header + .icon.icon-gear-clear + ul.switches + ul.quality.optionsList"),O=x(".subPage .header + .content"),U=x(".subSubPage .header + .content"),H=x(".clickHandler"),N=x(".background");N.appendChild(D),N.appendChild(O),N.appendChild(U),I.appendChild(H),I.appendChild(N),n.appendChild(I);var F,G,z=_(t.button),Y=_(t.switchList),V=_(t.qualityList),Q=!!t.mainPageHeader&&_(t.mainPageHeader),K=_(t.subPageHeader),j=_(t.subPageContent),q=_(t.subSubPageHeader),W=_(t.subSubPageContent);m();var J=!1,X=z.parentNode;X.style.display="block",Q&&(Q.innerHTML=M("%OPTIONS%")),B.alternativeOptionsMenu&&k(D,"alternative");var Z,$={element:I,switchList:Y,qualityList:V,mainPage:D,subPage:j,subSubPage:W,button:z,container:n,visible:function(){return C},show:u,showSubMenu:p,hideSubMenu:f,showSubSubMenu:A,hideSubSubMenu:h,recalc:c,hide:d,hideWithTimer:g};if(new MHP1138.QualityList($,o.sourceModel,i.setQuality,function(e){Z&&Z.update(e)},a),o.hotspots.enabled()&&new MHP1138.HotspotsSwitch($,o.hotspots,r,a),o.autoplay.enabled()&&new MHP1138.AutoplaySwitch($,o.autoplay,a),o.speed.enabled()&&new MHP1138.SpeedList($,o.speed,a),o.cc&&o.cc.enabled()&&B.ccMenu){var ee=new MHP1138.CCList($,o.cc,a),te=new MHP1138.CCStyles(_(t.ccContainer),o.cc,a);v("size"),v("color"),v("bg"),v("bg_color")}if(B.qualityMenu||B.qualityAutoWrap){
var ne=parseFloat(e.getComputedStyle(I).bottom);(B.qualityMenu||n.clientHeight-ne<D.clientHeight)&&(Z=new MHP1138.QualityMenu($,a))}return 0==Y.childNodes.length&&(Y.style.display="none"),y(),$};e.MHP1138=e.MHP1138||{},e.MHP1138.OptionsMenu=t}(window),function(e){"use strict";var t=function(t,n,r,i){function o(e){l(),A(),U=[];for(var o=0;o<e.length;o++)e[o].endTime||(e[o].endTime=e[o].time+e[o].duration),e[o].time<r.duration&&(w=o);var o,s,c=t.clientHeight||n.clientHeight;for(o=0;o<e.length&&o<=w;o++)if(s=e[o],y=k.clone(D),k.extend(y,s),("cc"!=y.type||n)&&("cc"==y.type||t)){U.push(y),b=_(".overlayText.hidden");for(var u in y)I.indexOf(u)!=-1&&(b.style[u]=y[u]);var d=_(".text");M(y.imageUrl)?(d.innerHTML='<img src="'+y.imageUrl+'">',C(b,"banner")):M(y.iframeUrl)?d.innerHTML='<iframe src="'+y.iframeUrl+'" width="'+y.width+'" height="'+y.height+'"></iframe>':d.innerHTML=y.label,b.appendChild(d),M(y.clickUrl)&&(C(b,"link"),i.addClick(d,function(e){r.pause(),x.network.redirect(y.clickUrl),y.clickTrackUrl.length&&R(y.clickTrackUrl,function(e){P(e)}),e.stopPropagation(),e.preventDefault()})),y.hCentered&&C(b,"hCentered"),y.vCentered&&C(b,"vCentered"),y.border||C(b,"noBorder"),a(c,b,y),y.closeButton&&(E=_(".closeButton[html=×]"),i.addClick(E,function(e){C(E.parentNode.parentNode,"closed"),e.stopPropagation(),e.preventDefault()}),d.appendChild(E)),"cc"==y.type?(n.appendChild(b),b.type="cc"):t.appendChild(b),O.push(b)}n&&a(c,n,{fontScale:"5.5%"})}function a(e,t,n){n.fontScale&&n.fontScale.indexOf("%")!=-1&&(t.style.fontSize=Math.round(e/100*parseFloat(n.fontScale))+"px")}function s(){l();var e=r.element.currentTime,t=(new Date).getTime(),n=!1;T=0,S=0,R(U,function(i,o){return i.time>=e&&(i.showTimer=setTimeout(function(){c(O[o]),i.visible=!0;var a=(new Date).getTime(),s=r.element.currentTime,l=a-t,u=l+Math.round(1e3*e),d=(1e3*i.time-u,Math.round(u-1e3*s));Math.round(1e3*(i.time-s));d>100&&d<500?console.log("WARN: overlays laggin "+d+"ms"):d>=500&&(console.log("WARN: overlays stuck with "+d+"ms diff!, restarting..."),n=!0)},1e3*(i.time-e)),T++,S=o),n?void setTimeout(function(){playState&&s()},0):void(i.endTime>=e&&(i.hideTimer=setTimeout(function(){u(O[o]),i.visible=!1},1e3*(i.endTime-e))))})}function l(){T>0&&(R(U,function(e,t){clearTimeout(e.showTimer),clearTimeout(e.hideTimer)}),T=0,S=0)}function c(e){L(e,"hidden")}function u(e){e&&C(e,"hidden")}function d(){R(O,function(e){u(e)})}function p(e){var t,n=r.element.currentTime;e&&(n=e),R(U,function(e,r){t=O[r],e.time<=n&&e.endTime>n?(c(t),e.visible=!0):(u(t),e.visible=!1)})}function f(){var e,r=t.clientHeight;R(U,function(t,n){e=O[n],a(r,e,t)}),n&&a(r,n,{fontScale:"5.5%"})}function A(){R(O,function(e){e.type&&"cc"==e.type?n.removeChild(e):t.removeChild(e)}),O=[]}function h(){d(),setTimeout(function(){f(),p()},400)}function g(e){for(var t,n=e.slice(0),r=0;r<n.length;r++)for(var i=0;i<n.length;i++)n[r].time<n[i].time&&(t=n[i],n[i]=n[r],n[r]=t);return n}function m(e){var t=[];return R(e,function(e){t=t.concat(e)}),g(t)}function v(){var e=i.subscribe,t=[],n=[],r=!1;e("overlaysReady",function(e,i,a){a.overlays&&(t=a.overlays),a.cc&&(n=a.cc),o(m([t,n])),r&&(p(),s())}),e("onPlay",function(){r||(p(),s()),r=!0}),e("onPause",function(){r=!1,l()}),e("onWaiting",function(){r=!1,l()}),e("onTimeChange",function(e,t,n){r||p(n.time)}),e("onSeek",function(){r=!1,l(),p()}),e("onEnd",function(){r=!1,l()}),e("collapsePlayer",function(){h()}),e("expandPlayer",function(){h()}),e("onFullscreen",function(){h()})}var y,b,E,w,T,S,x=e.MHP1138.utils,_=x.html.create,M=x.string.isPath,k=x.underscore,P=x.network.ajax,R=x.underscore.each,C=x.css.add,L=x.css.remove,B=["top","left","right","bottom","width","height","padding","margin","marginTop","marginRight","marginBottom","marginLeft"],I=B.concat(["font","fontSize","fontFamily","fontWeight","lineHeight","textAlign","color","background","backgroundImage"]),D={time:0,duration:0,label:"",iframeUrl:"",imageUrl:"",clickUrl:"",clickTrackUrl:[],closeButton:!0,border:!0,hCentered:!1,fontScale:!1},O=[],U=[];return v(),{overlays:U,elements:O,set:o}};e.MHP1138=e.MHP1138||{},e.MHP1138.VideoOverlays=t}(window),function(e){"use strict";var t=function(t,n,r,i,o,a){function s(){A.css.remove(h,"hidden")}function l(){A.css.add(h,"hidden")}function c(e){var t="";e>0&&(t="blur("+parseInt(e,10)+"px)"),g.style.filter=t,g.style.mozFilter=t,g.style.webkitFilter=t}function u(){var e=n.videoWidth/n.videoHeight,t=g.getContext("2d"),r=g.clientWidth||n.clientWidth,i=g.clientHeight||n.clientHeight,o=r/i,a=r,l=i,u=0,d=0;g.width=r,g.height=i,o<e?(l=r/e,d=(i-l)/2):(a=i*e,u=(r-a)/2),t.drawImage(n,u,d,a,l),c(0),s()}function d(e){if(i.get){var r,o,a=i.get(e);if(!a)return!1;r=a.thumbnail,o=a.sheet;var l=o.thumbWidth,u=o.thumbHeight,d=l/u,p=g.getContext("2d"),f=h.clientWidth,A=h.clientHeight,m=f/A,y=f,b=A,E=0,w=0,T=n.videoWidth/n.videoHeight,S=n.offsetWidth,x=n.offsetHeight,_=S/x;_>T&&(S=x*T),g.width=f,g.height=A,m<d?(b=f/d,w=(A-b)/2):(y=S,E=(f-y)/2);var M=parseInt(r.cssLeft,10)*-1,k=parseInt(r.cssTop,10)*-1;if(v){var d=o.thumbWidth/o.thumbHeight,P=Math.floor((l-Math.floor(u*T))/2)-1;M+=P,l=Math.floor(u*T)}p.drawImage(o.image,M,k,l,u,E,w,y,b),c(t.blur),s()}}function p(){m=!0,r.style.position="absolute",r.style.width="3000px",r.style.left="50%",r.style.top="0",r.style.transform="translateX(-50%)"}function f(){var e=a.subscribe,n=!1,i=function(){l(),n=!1};e("onPlay",i),e("onPause",i),e("onEnd",i),e("onQualityChange",function(){n=!0,u()}),e("onSeek",function(e,r,i){if(0==t.showInBufferedZone&&"function"==typeof o){var a=o();if(a&&a.zone>i.to/i.duration*100)return}n||d(i.to)}),e("verticalPlayer",function(e,t,n){"9x16"==n.text&&(p(),n.crop&&(v=!0))}),e("horizontalPlayer",function(e,t,n){"4x3"==n.text?n.crop&&A.css.add(r,"crop4x3"):"16x9"==n.text&&n.zoom&&A.css.remove(r,"zoom16x9")})}var A=e.MHP1138.utils,h=A.html.create(".screenshot"),g=document.createElement("canvas");h.appendChild(g),r.appendChild(h),l();var m=!1,v=!1;return f(),{show:s,hide:l,setBlur:c,take:u,takeFromThumbnails:d}};e.MHP1138=e.MHP1138||{},e.MHP1138.CanvasScreenshots=t}(window),function(e){"use strict";var t=function(t,n,r,i){function o(){O=!1,s()}function a(){O=!0}function s(){B(H,"hidden"),I(H,"leftSide"),I(H,"rightSide"),I(t,"thumbnailsHoverZone")}function l(){O&&I(H,"hidden")}function c(){m(!0),B(N,"noImage"),I(t,"thumbnailsHoverZone")}function u(e,n){if(B(t,"thumbnailsHoverZone"),I(N,"noImage"),G.src!=n.url){G.src=n.url,w=n.thumbWidth,z.style.width=n.thumbWidth+"px",z.style.height=n.thumbHeight+"px";var r=n.thumbWidth/n.thumbHeight;r>1.31&&r<1.35?B(H,"frame4x3"):I(H,"frame4x3")}G.style.transform="translate3D("+-1*e.col*n.thumbWidth+"px,"+-1*e.row*n.thumbHeight+"px,0)",m(!1)}function d(e){x=R.string.toTime(e),x!=_&&(Y.innerHTML=x,_=x)}function p(e){if(F&&C.isElement(F)){M||(M=F.getBoundingClientRect().width);var t=e+K-M/2;F.style.transform="translate3D("+t+"px,0,0)"}}function f(e){var t=e.position,n=t+K-w/2;n<0&&(n=0),n>e.width+2*K-w&&(n=e.width+2*K-w),N.style.transform="translate3D("+n+"px,0,0)"}function A(e){if(O&&E){P=e,d(e.seconds),p(e.position);var t=i(e.seconds,function(e,t,n,r){k&&n==P.seconds&&(t&&0==t.error?u(e,t):c(),f(P))});t?(k=!1,u(t.thumbnail,t.sheet)):(k=!0,c()),f(e),S||l()}}function h(){var e=15,t=Q.offsetLeft||V.offsetLeft;return t>e?t:e}function g(){D("onDurationChange",function(e,t,n){E=n.duration}),D("showPreRoll",function(e,t,n){y(!0),T?o():a()}),D("hidePreRoll",function(){T=!1,a()}),D("onPlay",function(){S=!!T});var e=!1;D("verticalThumbnails",function(t,n,r){"9x16"==r.text?r.crop?(B(H,"crop9x16"),I(H,"squish9x16"),e=!0):e||B(H,"squish9x16"):r.text="3x4"}),D("horizontalThumbnails",function(e,t,n){"4x3"==n.text?n.crop&&B(H,"crop4x3"):"16x9"==n.text&&n.zoom&&B(H,"zoom16x9")})}function m(e){void 0!==e&&R.css[e?"add":"remove"](H,"thumbLoading")}function v(){m(!0),g()}function y(e){e&&(T=e)}function b(e){"fwd"==e?(B(H,"leftSide"),I(H,"rightSide")):(B(H,"rightSide"),I(H,"leftSide"))}var E,w,T,S,x,_,M,k,P,R=e.MHP1138.utils,C=R._,L=R.html.query,B=R.css.add,I=R.css.remove,D=n.subscribe,O=!0,U=r.thumbnails,H=L(U.container),N=L(U.rect),F=!!U.arrow&&L(U.arrow),G=L(U.image),z=L(U.sprite),Y=L(U.selectedTime),V=L(r.controls.seekBar.container),Q=L(r.controls.bar),K=h();return v(),{show:l,hide:s,disable:o,enable:a,update:A,setSide:b}};e.MHP1138=e.MHP1138||{},e.MHP1138.ThumbnailsController=t}(window,__),function(e){"use strict";var t=function(t,n){function r(e){l.innerHTML=o.string.toTime(e)}function i(e){c.innerHTML=o.string.toTime(e)}var o=e.MHP1138.utils,a=o.html.query,s=n.subscribe,l=a(t.elapsed),c=a(t.total),u=!!t.container&&a(t.container);return u&&(u.style.minWidth=u.clientWidth+"px"),s("onTimeChange",function(e,t,n){r(n.time)}),s("onDurationChange",function(e,t,n){i(n.duration)}),{update:r,totalElement:c,elapsedElement:l,container:u}};e.MHP1138=e.MHP1138||{},e.MHP1138.TimeLabels=t}(window),function(e){"use strict";var t=function(t,n){function r(e){var r,s=i.html.compile(a);t.insertAdjacentHTML("beforeend",s),i.html.query(o.text).innerHTML=e,r=i.html.query(o.container),i.css.add(t,"videoUnavailable"),n.addClick(r,function(e){e.preventDefault(),e.stopPropagation()})}var i=e.MHP1138.utils,o={container:".videoErrorMessage",text:".videoErrorMessage p"},a={videoErrorMessage:{centered:"span.icon.icon-error + p"}};return{show:r}};e.MHP1138=e.MHP1138||{},e.MHP1138.VideoErrorView=t}(window),function(e){"use strict";var t=function(t,n){function r(){var e=d.html.query;l=e(t.button),c=e(t.normal),u=e(t.large),l.style.display="block",n.addClick(l,function(){i()}),o()}function i(){p?(n.fire("collapsePlayer"),d.css.remove(l,"active")):(n.fire("expandPlayer"),d.css.add(l,"active")),p=!p}function o(){l.style.display="block"}function a(){l.style.display="none"}function s(){return p}var l,c,u,d=e.MHP1138.utils,p=!1;return r(),{enable:o,disable:a,get:s}};e.MHP1138=e.MHP1138||{},e.MHP1138.CinemaButton=t}(window),function(e){"use strict";var t=function(t,n,r,i,o){var a=e.MHP1138.utils,s=a.html.query,l=s(t),c=s("#skin_"+i.settings.skin+" .mhp1138_logo_"+n),u=r.enabled,d=r.redirect.logoUrl;return!!c&&(l.innerHTML=c.innerHTML,l.style.display="block",void(a.string.isPath(d)&&(a.css.add(l,"isLink"),o.addClick(l,function(){i.pause(),u?a.network.redirect(d,"embed","embed-logo-html5",i.element.currentTime):a.network.redirect(a.url.addTime(d,i.element.currentTime))}))))};e.MHP1138=e.MHP1138||{},e.MHP1138.LogoButton=t}(window),function(e){"use strict";var t=function(t,n,r,i,o){function a(){(E||i.thumb&&i.title)&&i.nextUrl?(s(),l()):(C=!1,L=!1)}function s(){R.innerHTML=A(B),t.appendChild(R),i.thumb&&(k.videoEnabled?m("video").setAttribute("poster",i.thumb):m(".thumb").style.backgroundImage='url("'+i.thumb+'")'),n.insertBefore(P,r)}function l(){o.addClick(P,function(e){o.fire("onNextVideo");var t=i.nextUrl;w.string.isPath(t)&&w.network.redirect(t,!0),e.preventDefault(),e.stopPropagation()}),P.addEventListener("mouseenter",c),P.addEventListener("mouseleave",u)}function c(){C&&(S(R,"hidden"),h(!0))}function u(){T(R,"hidden"),h(!1)}function d(){u(),C=!1}function p(){C=!0}function f(e){var t=(i.video,{video:'video[loop="true"][muted="true"][preload="none"] source[type="%TYPE%"]',preloadLine:null});return k.videoEnabled&&!e?(t.video=t.video.replace("%TYPE%","video/"+y),{nextVideoWrapper:t}):null}function A(e){var t=w.html.compile(e);return t=t.replace("%TITLE%",i.title)}function h(e){var t=m("video");if(!k.videoEnabled||!t)return!1;if(!k.tooltipRendered){var n=t.querySelector("source"),r=b.isIe()||b.isEdge()?t:n;r.addEventListener("error",v),t.addEventListener("loadeddata",function(){T(R,"videoLoaded")}),t.querySelector("source").setAttribute("src",i.video),t.load(),k.tooltipRendered=!0}e?t.play()["catch"](function(){}):(t.pause(),t.currentTime=0)}function g(){var e=i.video;if(!e)return!1;var t=["webm"];return y=e.split("?")[0].split(".").pop(),t.indexOf(y)>-1&&w.media.isSupported(y)}function m(e){return e?(e=e.replace(".","."+M),R.querySelector(e)):null}function v(){MHP1138.error("There was an error playing the next video webm.\n");var e=A({thumb:f(!0).thumb}),t=R.querySelector([".",M,"thumb"].join(""));t.innerHTML=e}var y,b=e.MHP1138.detector,E=b.isTablet(),w=e.MHP1138.utils,T=w.css.add,S=w.css.remove,x=w.html.create,_=w.string.localize,M=(w.underscore,"mhp1138_"),k={videoEnabled:g(),tooltipRendered:!1};"string"==typeof i.isHD&&(i.isHD="1"===i.isHD||"true"===i.isHD);var P=x(".nextVideo .btn.icon.icon-next"),R=x(".nextVideoTooltip.hidden"),C=!0,L=!0,B={thumb:f(),text:".next[html="+_("%NEXT%").toUpperCase()+"] + .title[html=%TITLE%]"};return a(),{available:L,show:c,hide:u,disable:d,enable:p}};e.MHP1138=e.MHP1138||{},e.MHP1138.NextVideoButton=t}(window),function(e){"use strict";var t=function(t,n,r,i,o){function a(){t.style.display="block"}function s(){t.style.display="none"}var l=e.MHP1138.utils,c=l._.isPath,u=i.addClick,d=i.fire,p=n.enabled,f=n.redirect.logoUrl;return t.addEventListener("mousemove",function(e){o.onMouseOver&&o.onMouseOver(),e.stopPropagation()}),t.addEventListener("mouseout",function(e){o.onMouseOut&&o.onMouseOut()}),u(t,function(){if(p&&c(f)){var e=r.addCurrentTimeToUrl(f);e=r.addUTM(e,"embed","embed-share-html5"),r.pause(),l.network.redirect(e)}else d("onShare")}),a(),{enable:a,disable:s}};e.MHP1138=e.MHP1138||{},e.MHP1138.ShareButton=t}(window),function(e){"use strict";var t=function(t,n,r,i){function o(e){var t=["low","medium","full","mute"];t.indexOf(e)!=-1&&(p(t,function(e){c.css.remove(A,e+"Volume")}),c.css.add(A,e+"Volume"),l=e)}function a(){A.parentNode.style.display="block"}function s(){A.parentNode.style.display="none"}var l,c=e.MHP1138.utils,u=r.fire,d=c.html.query,p=c.underscore.each,f=r.addClick,A=d(t.button),h=d(t.low),g=d(t.full),m=d(t.mute);return f(h,function(){n.mute(),i&&i.show(m)}),f(g,function(){n.mute(),i&&i.show(m)}),f(m,function(){n.unmute(),u("onUnmute"),i&&i.show(g)}),r.subscribe("onVolumeChange",function(e,t,n){n.muted?(u("onMute"),o("mute")):o(n.volume<10?"low":n.volume<60?"medium":"full")}),a(),{button:A,state:l,hide:s,show:a}};e.MHP1138=e.MHP1138||{},e.MHP1138.VolumeMuteButton=t}(window),function(e){"use strict";var t=function(t){function n(){return!!e.clipboardData||!(!document.queryCommandSupported||!document.queryCommandSupported("copy"))}function r(r){if(!n())return!1;if(e.clipboardData)return e.clipboardData.setData("Text",r),!0;var i,o,a=document.createRange(),s=document.createElement("div");s.innerText=r,s.style.position="absolute",s.style.userSelect="text",s.style.webkitUserSelect="text",s.style.mozUserSelect="text",s.style.top="-1000px",s.style.left="-1000px",t.appendChild(s),a.selectNodeContents(s),i=e.getSelection(),i.removeAllRanges(),i.addRange(a);try{o=document.execCommand("copy",!1,null)}catch(l){console.warn("copy to clipboard failed",l),o=!1}return t.removeChild(s),o}var i=e.MHP1138.utils;i.underscore.each,i.string.isPath;return{supported:n(),copy:r}};e.MHP1138=e.MHP1138||{},e.MHP1138.Clipboard=t}(window),function(e){"use strict";var t=1500,n=function(n,r,i,o,a,s,l,c,u,d){function p(){B.addEventListener("contextmenu",function(e){var t=e.target;if(!t.className.indexOf||t.className.indexOf("mhp1138")!==-1){for(;!t.className.indexOf||t.className.indexOf("mhp1138_container")==-1&&"BODY"!=t.tagName;)t=t.parentNode;return t.getAttribute("id")==i?g(e):m(),e.preventDefault(),!1}m()}),B.addEventListener("click",function(){C&&m()})}function f(){var e=x.parentNode;e.removeChild(x),e.removeChild(_),e.removeChild(M)}function A(){w(x,function(){T("copyUrlVideo"),s.length&&I(s)}),w(_,function(){T("copyUrlVideoTime"),"function"==typeof l&&I(l())}),w(M,function(){T("copyEmbed"),c.length&&I(c)})}function h(){w(k,function(){if("function"==typeof u){var e=u();e?b(S,"looped"):E(S,"looped"),T("onLooped",{looped:e})}}),P&&w(P,function(){"function"==typeof d&&d()})}function g(e){var r=S.getBoundingClientRect(),i=n.getBoundingClientRect(),o=e.clientX-i.left-t,a=e.clientY-i.top-t;o+r.width-t>i.width&&(o-=r.width-2*t),a+r.height-t>i.height&&(a-=r.height-2*t),S.style.top=a+"px",S.style.left=o+"px",C=!0,E(S,"hidden")}function m(){C=!1,b(S,"hidden")}var v=e.MHP1138.utils,y=v.html.query,b=v.css.add,E=v.css.remove,w=o.addClick,T=o.fire,S=y(r.container),x=y(r.copyUrlVideo),_=y(r.copyUrlVideoTime),M=y(r.copyEmbed),k=y(r.loop),P=y(r.about),R=!1,C=!1,L=e.document,B=L.body,I=a.copy;return p(),a.supported?A():f(),h(),{menu:S,visible:C,loopState:R,clipboard:a.supported}};e.MHP1138=e.MHP1138||{},e.MHP1138.ContextMenu=n}(window),function(e){"use strict";var t=function(t,n,r,i,o,a,s,l){function c(){k||(k=!0,d(),H&&H.enable())}function u(){k&&(k=!1,p(),H&&H.disable())}function d(){k&&(p(),v=setTimeout(f,1e3*D))}function p(){v&&clearTimeout(v)}function f(){k&&M&&(x(t,"showControls"),S(t,"hideControls"),M=!1,s.onHide&&s.onHide(),a&&a.disableAll())}function A(e){k&&(d(),M||(x(t,"hideControls"),S(t,"showControls"),M=!0,s.onShow&&setTimeout(function(){a&&a.enableAll(),s.onShow(e&&e.type?e.type:null)},200)))}function h(e){M?f(e):A(e)}function g(e){return!(!y||y.x!=e.pageX||y.y!=e.pageY)||(y={x:e.pageX,y:e.pageY},!1)}function m(){O.addEventListener("mousemove",function(e){p(),e.stopPropagation(),e.preventDefault()}),O.addEventListener("mouseout",d),O.addEventListener("touchend",function(e){e.stopPropagation(),e.preventDefault()}),t.addEventListener("mousemove",function(e){g(e)||A(e)}),t.addEventListener("touchend",A)}var v,y,b=e.MHP1138.detector,E=b.getBrowser(),w=e.MHP1138.utils,T=w.html.query,S=w.css.add,x=w.css.remove,_=o.subscribe,M=!1,k=!0,P=!1,R=!1,C=!1,L=r.embeds,B=L.enabled,I=r.features,D=I.hideControlsTimeout,O=T(n.container),U=T(n.time.container);if(_("onPlay",function(){P=!0,C=!!R,b.isTablet()&&f()}),_("onPause",function(){b.isTablet()&&C&&(A(),p())}),_("showPreRoll",function(){R=!0}),_("hidePreRoll",function(){R=!1}),_("onAirplay",function(e,t,n){"streaming"==n.state?(A(),u()):c()}),_("onKeyboard",A),_("onEnd",A),m(),f(),!B){if(I.nextVideo)var H=new MHP1138.NextVideoButton(t,O,U,r.nextVideo,o);I.chromecast&&!r.isVr&&new MHP1138.ChromecastButton(i,t,n,o)}return I.logo&&new MHP1138.LogoButton(n.logo,r.quickSetup,L,i,o),I.cinema&&new MHP1138.CinemaButton(n.cinema,o),l.cc&&l.cc.enabled()&&new MHP1138.CCButton(l.cc,O,o,a,(!1)),B||(b.isMacos()||b.isIos()&&parseInt(E.osVersion,10)>=10)&&new MHP1138.AirplayButton(i.element,t,n,o),{show:A,hide:f,toggle:h,disable:u,enable:c,visible:function(){return M},bar:O}};e.MHP1138=e.MHP1138||{},e.MHP1138.ControlBarController=t}(window),function(e){"use strict";var t=function(t,n,r){function i(){var t=e.MHP1138.detector.isIe(),n=['<div class="mhp1138_playPauseContainer"><div class="mhp1138_longBtn">Space</div><span>'+c("%KEY_PLAY_PAUSE%")+"</span></div>",'<div class="mhp1138_seekContainer"><div class="mhp1138_shortBtn">←</div><div class="mhp1138_shortBtn">→</div><span>'+c("%KEY_SEEK%")+"</span></div>",'<div class="mhp1138_seekStartContainer"><div class="mhp1138_shortBtn">Home</div><span>'+c("%KEY_SEEK_START%")+"</span></div>",'<div class="mhp1138_numberSeekContainer"><div class="mhp1138_shortBtn">0</div><div class="mhp1138_shortBtn">9</div><span>'+c("%KEY_NUMBER_SEEK%")+"</span></div>",'<div class="mhp1138_seekEndContainer"><div class="mhp1138_shortBtn">End</div><span>'+c("%KEY_SEEK_END%")+"</span></div></div>"];!t&&(p.fullscreen||l.isIos()&&p.iosFullscreen)&&n.push('<div class="mhp1138_fullScreenContainer"><div class="mhp1138_shortBtn">F</div><span>'+c("%KEY_FULLSCREEN%")+"</span></div>"),p.speed&&n.push('<div class="mhp1138_motionContainer"><div class="mhp1138_shortBtn">S</div><span>'+c("%KEY_MOTIONRATE%")+"</span></div>"),p.volume&&(n.push('<div class="mhp1138_muteContainer"><div class="mhp1138_shortBtn">M</div><span>'+c("%KEY_MUTE_UNMUTE%")+"</span></div>"),n.push('<div class="mhp1138_volumeContainer"><div class="mhp1138_shortBtn">↑</div><div class="mhp1138_shortBtn">↓</div><span>'+c("%KEY_VOLUME%")+"</span></div>")),g.innerHTML=n.join(""),d(A,function(){o()}),d(h,function(){a()})}function o(){s.css.add(m,"active"),n.fire("onHelp")}function a(){s.css.remove(m,"active")}var s=e.MHP1138.utils,l=e.MHP1138.detector,c=s.string.localize,u=s.html.query,d=n.addClick,p=r.features,f=t.keyboardShortcuts,A=u(t.contextMenu.shortcuts),h=u(f.hideShortcuts),g=u(f.shortcutInfo),m=u(f.container);i()};e.MHP1138=e.MHP1138||{},e.MHP1138.KeyboardMenu=t}(window),function(e){"use strict";var t={en:{"%PLAY%":"Play","%PAUSE%":"Pause","%REPLAY%":"Replay","%NEXT%":"Next","%MUTE%":"Mute","%UNMUTE%":"Unmute","%FULL_SCREEN%":"Full screen","%EXIT_FULL_SCREEN%":"Exit full screen","%CHROMECAST%":"Stream on TV","%AIRPLAY%":"Airplay","%EXIT_CHROMECAST%":"Disable streaming","%LARGE_PLAYER%":"Large Player","%SMALL_PLAYER%":"Small Player","%QUALITY%":"Quality","%OPTIONS%":"Settings","%AUTO_QUALITY%":"Auto","%ADVERTISEMENT_TITLE%":"Advertisement: Your video will resume shortly","%ADVERTISEMENT_LINK%":"Visit advertiser","%SKIP_AD%":"Skip Ad","%SKIP_TIMER%":"Skip Ad in % second(s)","%SHARE%":"Share","%COPY_EMBED_CODE%":"Copy Embed Code","%COPY_URL_CURRENT_TIME%":"Copy Video URL From Current Time","%COPY_URL%":"Copy Video URL","%LOOP%":"Loop","%ABOUT%":"Debug Info","%AUTOPLAY%":"Autoplay","%HOTSPOTS%":"Hotspots","%SPEED%":"Speed","%SPEED_NORMAL%":"Normal","%SLOWMOTION%":"Slow Motion","%HOTSPOTS_HOT_NOT%":"See what’s hot and what’s not","%NOT_AVAILABLE%":"Video is not available at the moment.","%ERROR_OCCURED%":'An error occured, please try again later or <a href="javascript:window.location.reload()">reload</a> the page.',"%WATCH_HD%":"Watch in HD","%SUBTITLES_CC%":"Subtitles / CC","%CC_OFF%":"Off","%CC%":"CC","%HIDE_CC%":"Hide","%ON%":"On","%OFF%":"Off","%KEY_MUTE_UNMUTE%":"Mute / Unmute","%KEY_PLAY_PAUSE%":"Play / Pause","%KEY_FULLSCREEN%":"Toggles fullscreen","%KEY_VOLUME%":"Volume up / down","%KEY_MOTIONRATE%":"Slow motion on / off","%KEY_SEEK%":"Leap 5 seconds","%KEY_SEEK_START%":"Go to beginning of video","%KEY_NUMBER_SEEK%":"Go from 0% to 90% length of video","%KEY_SEEK_END%":"Go to end of video","%CLOSE%":"Close","%KEYBOARD_HELP%":"Keyboard Help","%SUBTITLES_CC_SIZE%":"Size","%SUBTITLES_CC_COLOR%":"Color","%SUBTITLES_CC_BG_OPACITY%":"BG Opacity","%SUBTITLES_CC_BG_COLOR%":"BG Color","%COLOR_WHITE%":"White","%COLOR_BLACK%":"Black","%COLOR_CYAN%":"Cyan","%COLOR_MAGENTA%":"Magenta","%COLOR_YELLOW%":"Yellow"},ru:{"%PLAY%":"Воспроизвести","%PAUSE%":"Пауза","%REPLAY%":"Повтор","%NEXT%":"Следующий","%MUTE%":"Отключить звук","%UNMUTE%":"Включить звук","%FULL_SCREEN%":"Полный экран","%EXIT_FULL_SCREEN%":"Выход из полного экрана","%CHROMECAST%":"Транслировать на ТВ","%EXIT_CHROMECAST%":"Прекратить трансляцию","%LARGE_PLAYER%":"Увеличить","%SMALL_PLAYER%":"Уменьшить","%QUALITY%":"Качество","%OPTIONS%":"Настройки","%AUTO_QUALITY%":"Авто","%ADVERTISEMENT_TITLE%":"Реклама: Ваше видео продолжится совсем скоро","%ADVERTISEMENT_LINK%":"Посетите рекламодателя","%SKIP_AD%":"Пропустить рекламу","%SKIP_TIMER%":"Вы можете пропустить это видео через % секунд","%SHARE%":"Поделиться","%COPY_EMBED_CODE%":"Копировать HTML-код","%COPY_URL_CURRENT_TIME%":"Копировать URL видео с привязкой ко времени","%COPY_URL%":"Копировать URL видео","%LOOP%":"Повторять","%ABOUT%":"Отладочная информация","%AUTOPLAY%":"Автовоспр.","%HOTSPOTS%":"Горячее","%SPEED%":"Скорость","%SPEED_NORMAL%":"Обычная","%SLOWMOTION%":"Замедленная съемка","%HOTSPOTS_HOT_NOT%":"Узнай, что стоит смотреть","%NOT_AVAILABLE%":"Видео недоступно в данный момент.","%ERROR_OCCURED%":'Произошла ошибка. Пожалуйста, попробуйте позже или <a href="javascript:window.location.reload()">перезагрузите</a> страницу.',"%SUBTITLES_CC%":"Субтитры","%CC_OFF%":"Выкл","%HIDE_CC%":"Спрятать","%ON%":"Вкл","%OFF%":"Выкл","%KEY_MUTE_UNMUTE%":"Отключить звук / Включить звук","%KEY_PLAY_PAUSE%":"Воспроизвести / Пауза","%KEY_FULLSCREEN%":"Переключает полноэкранный режим","%KEY_VOLUME%":"Увеличение / уменьшение громкости","%KEY_MOTIONRATE%":"Медленное включение / выключение","%KEY_SEEK%":"Прыжок 10 секунд","%KEY_SEEK_START%":"Перейти к началу видео","%KEY_NUMBER_SEEK%":"Переход от 0% до 90% длины видео","%KEY_SEEK_END%":"Перейти к концу видео","%CLOSE%":"Закрыть","%KEYBOARD_HELP%":"Справка по клавиатуре","%SUBTITLES_CC_SIZE%":"Размер","%SUBTITLES_CC_COLOR%":"Цвет","%SUBTITLES_CC_BG_OPACITY%":"Прозрачность фона","%SUBTITLES_CC_BG_COLOR%":"Цвет фона","%COLOR_WHITE%":"Белый","%COLOR_BLACK%":"Черный","%COLOR_CYAN%":"Циан","%COLOR_MAGENTA%":"Пурпур","%COLOR_YELLOW%":"Желтый"},fr:{"%PLAY%":"Lecture","%PAUSE%":"Pause","%REPLAY%":"Rejouer","%NEXT%":"Suivant","%MUTE%":"Muet","%UNMUTE%":"Non muet","%FULL_SCREEN%":"Écran complet","%EXIT_FULL_SCREEN%":"Sortir de l’écran complet","%CHROMECAST%":"Stream à la télé","%EXIT_CHROMECAST%":"Désactiver le streaming","%LARGE_PLAYER%":"Lecteur large","%SMALL_PLAYER%":"Petit lecteur","%QUALITY%":"Qualité","%OPTIONS%":"Paramètres","%AUTO_QUALITY%":"Auto","%ADVERTISEMENT_TITLE%":"Publicité: votre vidéo reprendra sous peu","%ADVERTISEMENT_LINK%":"Visiter l'annonceur","%SKIP_AD%":"Ignorer la publicité","%SKIP_TIMER%":"Vous pouvez ignorer cette vidéo dans % secondes","%SHARE%":"Partager","%COPY_EMBED_CODE%":"Copier le code d’intégration","%COPY_URL_CURRENT_TIME%":"Copier le lien URL de la vidéo à partir heure actuelle","%COPY_URL%":"Copier l’URL de la vidéo","%ABOUT%":"Les informations de débogage","%AUTOPLAY%":"Lecture auto","%HOTSPOTS%":"Hotspots","%SLOWMOTION%":"Ralenti","%HOTSPOTS_HOT_NOT%":"Voyez ce qui est chaud et ce qui ne l’est pas","%NOT_AVAILABLE%":"La vidéo n'est pas disponible pour le moment.","%ERROR_OCCURED%":'Une erreur est survenue, réessayez ultérieurement ou <a href="javascript:window.location.reload()">rechargez</a> la page.',"%KEY_MUTE_UNMUTE%":"Muet / Non muet","%KEY_PLAY_PAUSE%":"Lecture / Pause","%KEY_FULLSCREEN%":"Bascule en plein écran","%KEY_VOLUME%":"Volume haut / bas","%KEY_MOTIONRATE%":"Ralenti marche / arrêt","%KEY_SEEK%":"Bond 10 secondes","%KEY_SEEK_START%":"Aller au début de la vidéo","%KEY_NUMBER_SEEK%":"Passez de 0% à 90% de longueur de vidéo","%KEY_SEEK_END%":"Aller à la fin de la vidéo","%CLOSE%":"Fermer","%KEYBOARD_HELP%":"Aide du clavier"},tk:{"%PLAY%":"Oynat","%PAUSE%":"Durdur","%REPLAY%":"Tekrar","%NEXT%":"Sonraki","%MUTE%":"Sessiz","%UNMUTE%":"Sesi aç","%FULL_SCREEN%":"Tam Ekran","%EXIT_FULL_SCREEN%":"Tam Ekrandan Çık","%CHROMECAST%":"TV’de akış yapın","%EXIT_CHROMECAST%":"Akışı devre dışı bırak","%LARGE_PLAYER%":"Geniş Ekran","%SMALL_PLAYER%":"Küçük Ekran","%QUALITY%":"Kalite","%AUTO_QUALITY%":"Otomatik","%ADVERTISEMENT_TITLE%":"Reklam: Videonuz kısa bir süre sonra devam edecektir","%ADVERTISEMENT_LINK%":"Reklamvereni ziyaret edin","%SKIP_AD%":"Reklamları Geç","%SKIP_TIMER%":"Bu videoyu % saniye sonra atlayabilirsiniz","%SHARE%":"Paylaş","%COPY_EMBED_CODE%":"Gömülü Kodu Kopyala","%COPY_URL_CURRENT_TIME%":"Geçerli Saatteki Video URL’sini Kopyala","%COPY_URL%":"Video URL’sini Kopyala","%ABOUT%":"Bilgiyi Denetle","%AUTOPLAY%":"Otomatik Oynat","%HOTSPOTS%":"Popüler Noktalar","%SLOWMOTION%":"Ağır çekim","%HOTSPOTS_HOT_NOT%":"Popüler olanlar ve olmayanlar","%NOT_AVAILABLE%":"Video şu an oynatılamıyor.","%ERROR_OCCURED%":'Bir hata oluştu, lütfen sonra tekrar deneyiniz ya da <a href="javascript:window.location.reload()">yeniden yükleyiniz</a> yeniden yükleyiniz.',"%KEY_MUTE_UNMUTE%":"Sessiz / Sesi aç","%KEY_PLAY_PAUSE%":"Oynat / Durdur","%KEY_FULLSCREEN%":"Tam ekranı açar","%KEY_VOLUME%":"Ses seviyesi yukarı / aşağı","%KEY_MOTIONRATE%":"Yavaş hareket açık / kapalı","%KEY_SEEK%":"Atlama 10 saniye","%KEY_SEEK_START%":"Videonun başlangıcına git","%KEY_NUMBER_SEEK%":"% 0 -% 90 arasında video uzunluğu","%KEY_SEEK_END%":"Videonun sonuna git","%CLOSE%":"Kapat","%KEYBOARD_HELP%":"Klavye Yardımı"},pt:{"%PLAY%":"Reproduzir","%PAUSE%":"Pausar","%REPLAY%":"Repetição","%NEXT%":"Próximo","%MUTE%":"Mudo","%UNMUTE%":"Tirar do mudo","%FULL_SCREEN%":"Tela cheia","%EXIT_FULL_SCREEN%":"Sair da Tela Cheia","%CHROMECAST%":"Stream na TV","%EXIT_CHROMECAST%":"Desativar transmissão","%LARGE_PLAYER%":"Jogador Grande","%SMALL_PLAYER%":"Jogador Pequeno","%QUALITY%":"Qualidade","%OPTIONS%":"Definições","%AUTO_QUALITY%":"Auto","%ADVERTISEMENT_TITLE%":"Anúncio: seu vídeo será retomado em breve","%ADVERTISEMENT_LINK%":"Visite o anunciante","%SKIP_AD%":"Pular Anúncio","%SKIP_TIMER%":"Pode ignorar este vídeo em % segundos","%SHARE%":"Compartilhar","%COPY_EMBED_CODE%":"Copiar o Código Embutido","%COPY_URL_CURRENT_TIME%":"Copiar URL do Vídeo a Partir do Tempo Atual","%COPY_URL%":"Copiar URL do Vídeo","%ABOUT%":"Informação de depuração","%AUTOPLAY%":"Reprodução Automática","%HOTSPOTS%":"Ponto de Acesso","%SLOWMOTION%":"Câmera lenta","%HOTSPOTS_HOT_NOT%":"Veja o que é tendência e o que não é","%NOT_AVAILABLE%":"O vídeo não está disponível no momento.","%ERROR_OCCURED%":'Ocorreu um erro, tente novamente mais tarde ou <a href="javascript:window.location.reload()">recarregue</a> a página.',"%KEY_MUTE_UNMUTE%":"Mudo / Tirar do mudo","%KEY_PLAY_PAUSE%":"Reproduzir / Pausar","%KEY_FULLSCREEN%":"Alterna em tela cheia","%KEY_VOLUME%":"Volume para cima / para baixo","%KEY_MOTIONRATE%":"Ligado / desligado","%KEY_SEEK%":"Pular 10 segundos","%KEY_SEEK_START%":"Ir para o início do vídeo","%KEY_NUMBER_SEEK%":"Vá de 0% a 90% de duração do vídeo","%KEY_SEEK_END%":"Ir para o final do vídeo","%CLOSE%":"Fechar","%KEYBOARD_HELP%":"Ajuda do teclado"},pl:{"%PLAY%":"Odtwórz","%PAUSE%":"Pauza","%REPLAY%":"Powtórna rozgrywka","%NEXT%":"Następny","%MUTE%":"Wycisz","%UNMUTE%":"Włącz głos","%FULL_SCREEN%":"Pełen ekran","%EXIT_FULL_SCREEN%":"Wyłącz pełen ekran","%CHROMECAST%":"Strumień w telewizji","%EXIT_CHROMECAST%":"Wyłącz strumieniowanie","%LARGE_PLAYER%":"Duzy odtwarzacz","%SMALL_PLAYER%":"Mały odtwarzacz","%QUALITY%":"Jakość","%OPTIONS%":"Ustawienia","%AUTO_QUALITY%":"Auto","%ADVERTISEMENT_TITLE%":"Reklama: Twoj film wkrótce zostanie wyświetlony","%ADVERTISEMENT_LINK%":"Odwiedź reklamodawcę","%SKIP_AD%":"Pomiń Reklamę","%SKIP_TIMER%":"Mozesz wyłączyć ten filmik za % sekund","%SHARE%":"Uwspólnij","%COPY_EMBED_CODE%":"Skopiuj Adres Odnośnika","%COPY_URL_CURRENT_TIME%":"Skopiuj Adres URL Filmu Od Biezącego Momentu","%COPY_URL%":"Skopiuj Adres URL Filmu","%ABOUT%":"Informacje debugowania","%AUTOPLAY%":"autoodtwarzanie","%HOTSPOTS%":"Hotspoty","%SLOWMOTION%":"Zwolnione tempo","%HOTSPOTS_HOT_NOT%":"Co jest hot, a co nie","%NOT_AVAILABLE%":"Film nie jest teraz dostępny.","%ERROR_OCCURED%":'Wystąpił błąd, spróbuj ponownie później lub <a href="javascript:window.location.reload()">załaduj stronę</a> od nowa.',"%KEY_MUTE_UNMUTE%":"Wycisz / Włącz głos","%KEY_PLAY_PAUSE%":"Odtwórz / Pauza","%KEY_FULLSCREEN%":"Przełącza na pełny ekran","%KEY_VOLUME%":"Zwiększanie / zmniejszanie głośności","%KEY_MOTIONRATE%":"Zwolniony ruch włączony / wyłączony","%KEY_SEEK%":"Skacz 10 sekund","%KEY_SEEK_START%":"Idź do początku wideo","%KEY_NUMBER_SEEK%":"Przejdź od 0% do 90% długości filmu","%KEY_SEEK_END%":"Idź do końca wideo","%CLOSE%":"Blisko","%KEYBOARD_HELP%":"Pomoc Klawiatury"},nl:{"%PLAY%":"Afspelen","%PAUSE%":"Pauzeren","%REPLAY%":"Herhaling","%NEXT%":"Volgende","%MUTE%":"Dempen","%UNMUTE%":"Dempen uit","%FULL_SCREEN%":"Volledig scherm","%EXIT_FULL_SCREEN%":"Volledige scherm uit","%CHROMECAST%":"Stream op tv","%EXIT_CHROMECAST%":"Schakel streaming uit","%LARGE_PLAYER%":"Grote Afspeler","%SMALL_PLAYER%":"Kleine Afspeler","%QUALITY%":"Kwaliteit","%AUTO_QUALITY%":"Auto","%ADVERTISEMENT_TITLE%":"Advertentie: Je video zal snel hervat worden","%ADVERTISEMENT_LINK%":"Bezoek de adverteerder","%SKIP_AD%":"Advertentie Overslaan","%SKIP_TIMER%":"Je kunt deze video overslaan over % seconden","%SHARE%":"Delen","%COPY_EMBED_CODE%":"Embed Code Kopiëren","%COPY_URL_CURRENT_TIME%":"Video-URL Uit Huidige Tijd Kopiëren","%COPY_URL%":"Video-URL Kopiëren","%ABOUT%":"Debug Info","%AUTOPLAY%":"Autoplay","%HOTSPOTS%":"Hotspots","%SLOWMOTION%":"Slow Motion","%HOTSPOTS_HOT_NOT%":"Zie wat heet is en wat niet","%NOT_AVAILABLE%":"Video is niet beschikbaar op dit moment.","%ERROR_OCCURED%":'Een fout deed zich voor, probeer alstublieft later opnieuw of <a href="javascript:window.location.reload()">vernieuw</a> de pagina.',"%KEY_MUTE_UNMUTE%":"Dempen / Dempen uit",
"%KEY_PLAY_PAUSE%":"Afspelen / Pauzeren","%KEY_FULLSCREEN%":"Schakelt over op volledig scherm","%KEY_VOLUME%":"Volume hoger / lager","%KEY_MOTIONRATE%":"Slow motion aan / uit","%KEY_SEEK%":"Spring 10 seconden","%KEY_SEEK_START%":"Ga naar het begin van de video","%KEY_NUMBER_SEEK%":"Ga van 0% tot 90% video lengte","%KEY_SEEK_END%":"Ga naar het einde van de video","%CLOSE%":"Dichtbij","%KEYBOARD_HELP%":"Hulp bij het toetsenbord"},jp:{"%PLAY%":"再生","%PAUSE%":"一時停止","%REPLAY%":"リプレイ","%NEXT%":"次","%MUTE%":"ミュート","%UNMUTE%":"ミュートを解除","%FULL_SCREEN%":"フルスクリーン","%EXIT_FULL_SCREEN%":"フルスクリーンを終了","%CHROMECAST%":"テレビでストリーミング","%EXIT_CHROMECAST%":"ストリーミングを無効にする","%LARGE_PLAYER%":"大画面","%SMALL_PLAYER%":"小画面","%QUALITY%":"画質","%OPTIONS%":"設定","%AUTO_QUALITY%":"自動","%ADVERTISEMENT_TITLE%":"広告:ビデオがまもなく再生されます","%ADVERTISEMENT_LINK%":"広告主にアクセス","%SKIP_AD%":"広告をスキップ","%SKIP_TIMER%":"% 秒後にこのビデオをスキップできます","%SHARE%":"共有","%COPY_EMBED_CODE%":"埋め込みコードをコピー","%COPY_URL_CURRENT_TIME%":"現時点の動画のURLをコピー","%COPY_URL%":"ビデオURLをコピー","%ABOUT%":"バッグ情報","%AUTOPLAY%":"自動再生","%HOTSPOTS%":"人気ポイント","%SLOWMOTION%":"スローモーション","%HOTSPOTS_HOT_NOT%":"最近の流行り","%NOT_AVAILABLE%":"現在ビデオが利用できません。","%ERROR_OCCURED%":'<a href="javascript:window.location.reload()">エラーが発生しました。後でもう一度お試しになるか、ページを再読込みして下さい。</a>',"%KEY_MUTE_UNMUTE%":"ミュート / ミュートを解除","%KEY_PLAY_PAUSE%":"再生 / 一時停止","%KEY_FULLSCREEN%":"フルスクリーンを切り替えます","%KEY_VOLUME%":"ボリュームアップ/ダウン","%KEY_MOTIONRATE%":"スローモーションのオン/オフ","%KEY_SEEK%":"10秒間跳躍する","%KEY_SEEK_START%":"ビデオの先頭に移動","%KEY_NUMBER_SEEK%":"ビデオの長さを0%から90%にする","%KEY_SEEK_END%":"ビデオの終わりに行く","%CLOSE%":"閉じる","%KEYBOARD_HELP%":"キーボードヘルプ"},it:{"%PLAY%":"Riproduci","%PAUSE%":"Pausa","%REPLAY%":"Replay","%NEXT%":"Successivo","%MUTE%":"Disattiva audio","%UNMUTE%":"Attiva audio","%FULL_SCREEN%":"Schermo intero","%EXIT_FULL_SCREEN%":"Esci da schermo intero","%CHROMECAST%":"Stream in TV","%EXIT_CHROMECAST%":"Disattiva lo streaming","%LARGE_PLAYER%":"Riproduttore grande","%SMALL_PLAYER%":"Riproduttore piccolo","%QUALITY%":"Qualità","%OPTIONS%":"Impostazioni","%AUTO_QUALITY%":"Automatico","%ADVERTISEMENT_TITLE%":"Pubblicità: il tuo video riprenderà tra poco","%ADVERTISEMENT_LINK%":"Visita l'inserzionista","%SKIP_AD%":"Salta pubblicità","%SKIP_TIMER%":"Puoi saltare questo video tra % secondi","%SHARE%":"Condividi","%COPY_EMBED_CODE%":"Copia codice integrato","%COPY_URL_CURRENT_TIME%":"Copia URL del video dal tempo corrente","%COPY_URL%":"Copia URL del video","%ABOUT%":"Informazioni di debug","%AUTOPLAY%":"Riproduzione automatica","%HOTSPOTS%":"Hotspot","%SLOWMOTION%":"Rallentatore","%HOTSPOTS_HOT_NOT%":"Scopri cosa piace e cosa no","%NOT_AVAILABLE%":"Il video in questo momento non è disponibile.","%ERROR_OCCURED%":'Si è verificato un errore, riprova più tardi oppure <a href="javascript:window.location.reload()">ricarica</a>  la pagina.',"%KEY_MUTE_UNMUTE%":"Disattiva audio / Disattiva audio","%KEY_PLAY_PAUSE%":"Riproduci / Pausa","%KEY_FULLSCREEN%":"Attiva / disattiva schermo intero","%KEY_VOLUME%":"Volume su / giù","%KEY_MOTIONRATE%":"Rallentatore acceso / spento","%KEY_SEEK%":"Salta 10 secondi","%KEY_SEEK_START%":"Vai all'inizio del video","%KEY_NUMBER_SEEK%":"Passa dallo 0% al 90% della durata del video","%KEY_SEEK_END%":"Vai alla fine del video","%CLOSE%":"Vicino","%KEYBOARD_HELP%":"Guida della tastiera"},de:{"%PLAY%":"Spielen","%PAUSE%":"Pause","%REPLAY%":"Wiederholung","%NEXT%":"Weiter","%MUTE%":"Stumm","%UNMUTE%":"Stummschaltung aufheben","%FULL_SCREEN%":"Vollbild","%EXIT_FULL_SCREEN%":"Vollbildansicht verlassen","%CHROMECAST%":"Stream im Fernsehen","%EXIT_CHROMECAST%":"Deaktivieren Sie das Streaming","%LARGE_PLAYER%":"Großer Player","%SMALL_PLAYER%":"Kleiner Player","%QUALITY%":"Qualität","%OPTIONS%":"Einstellungen","%AUTO_QUALITY%":"Auto","%ADVERTISEMENT_TITLE%":"Werbung: Dein Video wird gleich fortgesetzt","%ADVERTISEMENT_LINK%":"Besuchen Sie den Werbetreibenden","%SKIP_AD%":"Werbung übergehen","%SKIP_TIMER%":"Du kannst dieses Video in % Sekunden überspringen","%SHARE%":"teilen","%COPY_EMBED_CODE%":"Eingebetteten Code kopieren","%COPY_URL_CURRENT_TIME%":"Video URL von der aktuellen Zeit kopieren","%COPY_URL%":"Video URL kopieren","%ABOUT%":"Debug-Informationen","%AUTOPLAY%":"Autoplay","%HOTSPOTS%":"Hotspots","%SLOWMOTION%":"Zeitlupe","%HOTSPOTS_HOT_NOT%":"Sieh dir an was in ist und was nicht","%NOT_AVAILABLE%":"Video ist derzeit nicht verfügbar.","%ERROR_OCCURED%":'Ein Fehler ist aufgetreten. Bitte versuche es später oder <a href="javascript:window.location.reload()">lade die</a> Seite erneut.',"%KEY_MUTE_UNMUTE%":"Stumm / Stummschaltung aufheben","%KEY_PLAY_PAUSE%":"Spielen / Pause","%KEY_FULLSCREEN%":"Schaltet den Vollbildmodus um","%KEY_VOLUME%":"Lauter / Leiser","%KEY_MOTIONRATE%":"Zeitlupe ein / aus","%KEY_SEEK%":"Springe 10 Sekunden","%KEY_SEEK_START%":"Gehe zum Anfang des Videos","%KEY_NUMBER_SEEK%":"Gehe von 0% auf 90% Länge des Videos","%KEY_SEEK_END%":"Gehe zum Ende des Videos","%CLOSE%":"Schließen","%KEYBOARD_HELP%":"Tastaturhilfe"},es:{"%PLAY%":"Reproducir","%PAUSE%":"Pausa","%REPLAY%":"Repetición","%NEXT%":"Siguiente","%MUTE%":"Silencio","%UNMUTE%":"Desactivar Silencio","%FULL_SCREEN%":"Pantalla completa","%EXIT_FULL_SCREEN%":"Salir de pantalla completa","%CHROMECAST%":"Corriente en la TV","%EXIT_CHROMECAST%":"Desactivar transmisión","%LARGE_PLAYER%":"Reproductor grande","%SMALL_PLAYER%":"Reproductor pequeño","%QUALITY%":"Calidad","%OPTIONS%":"Configuración","%AUTO_QUALITY%":"Auto","%ADVERTISEMENT_TITLE%":"Publicidad: su video continuará en unos instantes.","%ADVERTISEMENT_LINK%":"Visita anunciante","%SKIP_AD%":"Saltar publicidad","%SKIP_TIMER%":"Puede saltar este video en % segundos.","%SHARE%":"Compartir","%COPY_EMBED_CODE%":"Copiar código incrustado","%COPY_URL_CURRENT_TIME%":"Copiar la URL del video en el instante actual","%COPY_URL%":"Copiar la URL del video","%ABOUT%":"Información de depuración","%AUTOPLAY%":"Auto-reproducción","%HOTSPOTS%":"Hotspots","%SLOWMOTION%":"Camara lenta","%HOTSPOTS_HOT_NOT%":"Ver que es tendencia y que no lo es","%NOT_AVAILABLE%":"El video no está disponible en estos momentos.","%ERROR_OCCURED%":'Ocurrió un error, por favor intente de nuevo o <a href="javascript:window.location.reload()">recargue</a> la página.',"%KEY_MUTE_UNMUTE%":"Silencio / Desactivar Silencio","%KEY_PLAY_PAUSE%":"Reproducir / Pausa","%KEY_FULLSCREEN%":"Alterna pantalla completa","%KEY_VOLUME%":"Volumen arriba / abajo","%KEY_MOTIONRATE%":"Cámara lenta con./desc.","%KEY_SEEK%":"Salto 10 segundos","%KEY_SEEK_START%":"Ir al comienzo del video","%KEY_NUMBER_SEEK%":"Ir del 0% al 90% de la duración del video","%KEY_SEEK_END%":"Ir al final del video","%CLOSE%":"Cerca","%KEYBOARD_HELP%":"Teclado Ayuda"},cz:{"%PLAY%":"Přehrát","%PAUSE%":"Pozastavit","%REPLAY%":"Přehrát","%NEXT%":"Další","%MUTE%":"Ztlumit","%UNMUTE%":"Zesílit","%FULL_SCREEN%":"Celá obrazovka","%EXIT_FULL_SCREEN%":"Vypnout režim celé obrazovky","%CHROMECAST%":"Stream v televizi","%EXIT_CHROMECAST%":"Zakázání streamování","%LARGE_PLAYER%":"Velký přehrávač","%SMALL_PLAYER%":"Malý přehrávač","%QUALITY%":"Kvalita","%OPTIONS%":"Nastavení","%AUTO_QUALITY%":"Auto","%ADVERTISEMENT_TITLE%":"Reklama: Vaše video bude brzy pokračovat","%ADVERTISEMENT_LINK%":"Navštivte inzerenta","%SKIP_AD%":"Přeskočit reklamu","%SKIP_TIMER%":"Můžete přeskočit video za % sekund","%SHARE%":"Sdílet","%COPY_EMBED_CODE%":"Kopírovat embed kód","%COPY_URL_CURRENT_TIME%":"Kopírovat URL videa od aktuálního času","%COPY_URL%":"Kopírovat URL videa","%ABOUT%":"Informace o ladění","%AUTOPLAY%":"Automatické přehrávání","%HOTSPOTS%":"Hotspoty","%SLOWMOTION%":"Zpomalený pohyb","%HOTSPOTS_HOT_NOT%":"Podívejte se, co je žhavé a co ne","%NOT_AVAILABLE%":"Video není momentálně dostupné.","%ERROR_OCCURED%":'Objevila se chyba, zkuste to prosím později nebo <a href="javascript:window.location.reload()">obnovte</a> stránku.',"%KEY_MUTE_UNMUTE%":"Ztlumit / Ztlumit","%KEY_PLAY_PAUSE%":"Přehrát / Pozastavit","%KEY_FULLSCREEN%":"Přepne na celou obrazovku","%KEY_VOLUME%":"Zvýšení / snížení hlasitosti","%KEY_MOTIONRATE%":"Pomalý pohyb zapnuto / vypnuto","%KEY_SEEK%":"Skok 10 sekund","%KEY_SEEK_START%":"Přejděte na začátek videa","%KEY_NUMBER_SEEK%":"Přejít z 0% na 90% délky videa","%KEY_SEEK_END%":"Přejděte na konec videa","%CLOSE%":"Zavřít","%KEYBOARD_HELP%":"Nápověda pro klávesnici"}};MHP1138.skins.desktop.locales=t}(window),function(e){"use strict";var t='<path class="mhp1138_normal" fill="#F6921E" d="M164,661c-53-59-87-136-90-220H0c4,105,45,200,112,272L164,661z"></path><path class="mhp1138_normal" fill="#F6921E" d="M186,167c58-54,135-89,220-93V0C301,5,205,48,134,115L186,167z"></path><path class="mhp1138_normal" fill="#F6921E" d="M74,410c4-85,37-161,90-220l-52-52C45,209,4,305,0,410H74z"></path><path class="mhp1138_faded1" fill="#C16425" d="M437,0v74c86,3,164,37,224,90l52-52C640,45,543,3,437,0z"></path><path class="mhp1138_faded3" fill="#442006" d="M776,440c-4,86-39,164-94,224l52,52C803,644,846,547,850,440H776z"></path><path class="mhp1138_faded2" fill="#A04F12" d="M683,186c55,59,90,137,94,224H850c-4-107-47-203-115-276L683,186z"></path><path class="mhp1138_normal" fill="#F6921E" d="M406,776c-85-5-162-39-220-93l-52,52c72,68,167,110,272,115V776z"></path><path class="mhp1138_normal" fill="#F6921E" d="M661,686c-60,54-138,87-224,90V850c106-3,203-45,276-112L661,686z"></path>',n={controlBar:{front:{playPause:'.btn.play.icon.icon-play.test-PlayButtonOverlay[title="%PLAY%"] + .btn.pause.icon.icon-pause[title="%PAUSE%"] + .btn.replay.icon.icon-replay[title="%REPLAY%"]',time:"span.elapsed[html=00:00] + span.sep[html=/] + span.total[html=00:00]",sound:{"volume.fullVolume":'.btn.volume-low.icon.icon-volume-low[title="%MUTE%"] + .btn.volume-full.icon.icon-volume-full[title="%MUTE%"] + .btn.volume-mute.icon.icon-volume-mute[title="%UNMUTE%"]',"volumeSlider.hidden":{volumeBar:{front:".handle",background:null,extraZone:".left + .right"}}},cinema:'.btn.normal.icon.icon-size-large[title="%LARGE_PLAYER%"] + .btn.large.icon.icon-size-medium[title="%SMALL_PLAYER%"]',chromecast:'button.chromecastBtn[is="google-cast-button"][title="%CHROMECAST%"]',airplay:'.btn.airplayBtn[title="%AIRPLAY%"] > .icon.airplay-icon',options:'.btn.icon.icon-quality[title="%OPTIONS%"] + .popup.optionsPopup > div.switchers + ul',logo:null,cover:null,leftVolumeBarCover:null,rightVolumeBarCover:null},background:null,seekBar:{progressPadding:{progressOverflow:{background:null,progress:null},handle:null}}},forwardRewind:{fastForwardCont:".forwardText + button.fastForward > i.icon.icon-play + i.icon.icon-play + i.icon.icon-play",rewindCont:".rewindText + button.rewind > i.icon.icon-play + i.icon.icon-play + i.icon.icon-play"},eventCatcher:null,ccContainer:null,playerStateIcon:{play:".icon.icon-play",pause:".icon.icon-pause",buffering:"svg[viewBox=0 0 850 850] > g[html="+t+"]",background:null},castOverlay:{castText:null},preRollTitle:'div.preRollTitleText[html="%ADVERTISEMENT_TITLE%"] + div.preRollLink[html="%ADVERTISEMENT_LINK%"]',preRollSkipButton:{content:null},preRollCTA:{image:null,ctaContainer:".button + .title + .subtitle"},preRollTimeElapsed:null,preRollEventCatcher:null,share:'.btn.icon.icon-share-round[title="%SHARE%"][tooltipPosition=left]',"thumbnails.hidden":{rect:{actionTagTitle:null,crop:{sprite:"img.image",shadow:null},selectedTime:"span"},arrow:null},"tooltip.hidden":{title:null,arrow:null},videoPoster:null,topBar:{content:{title:"span"},background:null},contextMenu:{content:{'copyUrlVideo[html="%COPY_URL%"]':null,'copyUrlVideoTime[html="%COPY_URL_CURRENT_TIME%"]':null,'copyEmbed[html="%COPY_EMBED_CODE%"]':null,'loop[html="%LOOP%"]':null,'shortcuts[html="%KEYBOARD_HELP%"]':null,'about[html="%ABOUT%"]':null}},versionsInfo:{copyCloseDiv:'.title[html="Debug Info"] + .hideVersionMenu + .copyMenu .btn.icon.icon-copy',playerVersions:".playerVersionContainer.debugContainer + .streamingInfoContainer.debugContainer + .prerollInfoContainer.debugContainer"},keyboardShortcuts:{hideShortcuts:'span[html="×"]',shortcutInfo:null},videoWrapper:'video source[type="video/mp4"]'};MHP1138.skins.desktop.markup=n}(window),function(e){"use strict";var t=function(t,n,r){function i(){A&&(o.css.add(f,"animate"),setTimeout(function(){o.css.remove(f,"animate")},500))}var o=e.MHP1138.utils,a=o.html.query,s=r.fire,l=r.addClick,c=r.subscribe,u=a(t.play),d=a(t.replay),p=a(t.pause),f=a(t.bigPlay),A=!1;return l(u,function(e){n.play(),s("onBtnPlay")}),l(d,function(e){n.play(),s("onBtnReplay")}),l(p,function(e){n.pause(),s("onBtnPause")}),l(f,function(e){n.toggle(),s("onBtnBigPlay"),e.stopPropagation(),e.preventDefault()}),c("onKeyboard",function(e,t,n){"playPause"==n.action&&i()}),c("onPlay",function(e,t,n){A=!0}),{animate:i}};e.MHP1138=e.MHP1138||{},e.MHP1138.PlaybackControls=t}(window),function(e){"use strict";var t=5,n=function(n,r,i,o){function a(){j=!1,x()}function s(e){j=!0,e&&e.indexOf("touch")!=-1&&_()}function l(e,t){return 100*e/t}function c(e){var t;return t=e.touches&&e.touches.length?e.touches[0].pageX:e.changedTouches&&e.changedTouches.length?e.changedTouches[0].pageX:e.pageX}function u(e){if(!P||!e||!C)return{};var t,n,r=c(e),i=r-L,o=C.width;return i>o&&(i=o),i<0&&(i=0),t=l(i,o),n=t*P/100,{position:i,width:o,percentage:t,seconds:n}}function d(e,t){if(!$||t){var n=100*e/P,r=-100+n+"%",i=I.isSafari()?"translate("+r+",0)":"translate3d("+r+",0,0)";V.style.MozTransform=i,V.style.webkitTransform=i,V.style.msTransform=i,V.style.transform=i,Q.style.left=n+"%",o.onUpdate&&o.onUpdate({seconds:e,percentage:n})}}function p(){C=z.getBoundingClientRect(),L=C.left+e.pageXOffset,_(),ee=!0}function f(e){j&&(p(),te=!1,A(e))}function A(e,t){j&&(ee||p(),t||(t=u(e),$&&v(e,t)),Z=!0,o.onMove&&o.onMove(t))}function h(e){if(ee=!1,te=!0,Z){if($)return!1;Z=!1,e&&e.type.indexOf("touch")!=-1||x(),o.onMoveEnd&&o.onMoveEnd()}}function g(e){if(P){var t=e/100*P;F("onTimeChange",{time:t,duration:P}),S(),d(t,!0)}}function m(e){j&&P&&(0==e.button||e.touches&&e.touches.length)&&($=!0,y(),o.onDragStart&&o.onDragStart(),e.stopPropagation(),e.preventDefault(),v(e))}function v(e,t){$&&(t||(t=u(e),A(e,t)),F("onTimeChange",{time:t.seconds,duration:P}),d(t.seconds,!0),e.stopPropagation(),e.preventDefault())}function y(){U(n,"seekBarDrag"),X&&U(n,"playAfterSeek"),S()}function b(){H(n,"seekBarDrag"),T()}function E(e){if($){$=!1,("touchend"==e.type||Z&&te)&&h(e);var t=u(e);o.onDragEnd&&o.onDragEnd(t),b()}}function w(t){e.self!==e.top&&E(t,P)}function T(){U(z,"animated")}function S(){H(z,"animated")}function x(){I.isTablet()||H(z,"showHandle")}function _(){I.isTablet()||(U(z,"showHandle"),clearTimeout(B))}function M(){I.isTablet()||(clearTimeout(B),B=setTimeout(function(){$||x()},1e3))}function k(){z.addEventListener("mouseenter",f),z.addEventListener("touchstart",f),z.addEventListener("mousemove",A),z.addEventListener("mouseleave",h),z.addEventListener("mousedown",m),z.addEventListener("touchstart",m),document.addEventListener("mouseup",E),z.addEventListener("touchend",E),document.addEventListener("mousemove",v),z.addEventListener("touchmove",v),document.addEventListener("mouseleave",w)}var P,R,C,L,B,I=e.MHP1138.detector,D=e.MHP1138.utils,O=D.html.query,U=D.css.add,H=D.css.remove,N=r.subscribe,F=r.fire,G=O(i.container),z=O(i.bar),Y=O(i.buffer),V=O(i.progress),Q=O(i.handle),K=(Q.getBoundingClientRect().width,!1),j=!0,q=(!I.isTablet(),!1),W=!1,J=!1,X=!1,Z=!1,$=!1,ee=!1,te=!1;N("onTimeChange",function(e,t,n){R=n.time,$||d(n.time)}),N("onDurationChange",function(e,t,n){P=n.duration,K||(k(),K=!0),$&&($=!1,b())}),N("onQualityChange",function(){$&&($=!1,b())}),N("onSeek",function(){$&&($=!1,b())});var ne,re,ie=0;return N("onKeyboard",function(e,n,r){if(j&&J){var i=r.action;"jumpForward"==i||"jumpBackward"==i?($||($=!0,_(),S(),ne=R,o.onDragStart&&o.onDragStart()),"jumpForward"==i?ie+=t:ie-=t,re=ne+ie,re>P&&(re=P),re<0&&(re=0),F("onTimeChange",{time:re,duration:P}),d(re,!0)):"keyboardJump"==i&&($=!1,M(),T(),ie=0,R=re,o.onDragEnd&&o.onDragEnd({seconds:re}))}}),N("showPreRoll",function(){q=!0}),N("hidePreRoll",function(){q=!1,S(),d(0,!0)}),N("onPlay",function(){X=!0,J=!0,q?(a(),W=!0):(s(),W=!1)}),N("onPause",function(){$||(X=!1)}),{disable:a,enable:s,container:G,buffered:Y,move:g,bar:z}};e.MHP1138=e.MHP1138||{},e.MHP1138.SeekBarController=n}(window),function(e){"use strict";var t={controls:{bar:".controlBar",container:".controlBar .front",play:".play",pause:".pause",replay:".replay",bigPlay:".playerStateIcon",nextVideoTooltip:".nextVideoTooltip",time:{container:".time",elapsed:".elapsed",total:".total"},fullscreen:{button:".fullscreen",on:".fullscreenOn",off:".fullscreenOff"},chromecast:{button:".chromecast",overlay:{container:".castOverlay",text:".castOverlay .castText"}},airplay:{button:".airplay",icon:".airplay .icon"},cinema:{button:".cinema",normal:".cinema .normal",large:".cinema .large"},volume:{button:".volume",low:".btn.volume-low",full:".btn.volume-full",mute:".btn.volume-mute",slider:{container:".volumeSlider",zone:".volumeBar",mask:".volumeBar .front",handle:".handle",extraClickZone:".left, .right",covers:".leftVolumeBarCover, .rightVolumeBarCover"}},seekBar:{container:".seekBar",bar:".seekBar .progressPadding",buffer:".seekBar .progressOverflow",background:".seekBar .progressOverflow .background",progress:".seekBar .progressOverflow .progress",handle:".seekBar .handle"},options:{button:".options .btn",qualityList:".optionsMenu .quality",switchList:".optionsMenu .switches",subPageHeader:".optionsMenu .subPage .header",subSubPageHeader:".optionsMenu .subSubPage .header",subPageContent:".optionsMenu .subPage .content",subSubPageContent:".optionsMenu .subSubPage .content",ccContainer:".ccContainer"},logo:".controlBar .logo"},actionTag:".actionTag",preRoll:{title:".preRollTitle",titleText:".preRollTitleText",skipButton:".preRollSkipButton div",timeElapsed:".preRollTimeElapsed",link:".preRollLink",eventCatcher:".preRollEventCatcher",cta:{image:".preRollCTA .image",container:".preRollCTA .ctaContainer",title:".preRollCTA .title",subtitle:".preRollCTA .subtitle",button:".preRollCTA .button"}},eventCatcher:".eventCatcher",share:".share",thumbnails:{container:".thumbnails",rect:".thumbnails .rect",image:".thumbnails img.image",sprite:".thumbnails .sprite",arrow:".thumbnails .arrow",selectedTime:".thumbnails .selectedTime",actionTagTitle:".thumbnails .actionTagTitle"},videoErrorMessage:{container:".videoErrorMessage",text:".videoErrorMessage p"},topBar:{container:".topBar",title:".topBar .title span",share:".topBar .share"},tooltip:{container:".tooltip",title:".tooltip .title",arrow:".tooltip .arrow"},contextMenu:{container:".contextMenu",copyUrlVideo:".contextMenu .copyUrlVideo",copyUrlVideoTime:".contextMenu .copyUrlVideoTime",copyEmbed:".contextMenu .copyEmbed",loop:".contextMenu .loop",about:".contextMenu .about",shortcuts:".contextMenu .shortcuts"},versionsInfo:{container:".versionsInfo",copyCloseDiv:{container:".copyCloseDiv",hideVersionMenu:".copyCloseDiv .hideVersionMenu",copyMenu:".copyCloseDiv .copyMenu"},playerVersions:{container:".playerVersions",versionInfo:".playerVersions .playerVersionContainer",streamingInfo:".playerVersions .streamingInfoContainer",prerollInfo:".playerVersions .prerollInfoContainer",adaptiveInfo:".playerVersions .adaptiveDetails"}},keyboardShortcuts:{container:".keyboardShortcuts",hideShortcuts:".keyboardShortcuts .hideShortcuts",shortcutInfo:".keyboardShortcuts .shortcutInfo"},hotspots:{container:".seekBar .hotspots",svg:".hotspots svg",polygon:".hotspots polygon",progress:".hotspots .hotspotsFill"},bufferingWheel:".playerStateIcon .buffering",forwardRewind:{container:".forwardRewind",fastForwardCont:".forwardRewind .fastForwardCont",rewindCont:".forwardRewind .rewindCont",fastForward:".fastForwardCont .fastForward",forwardText:".fastForwardCont .forwardText",rewind:".rewindCont .rewind",rewindText:".rewindCont .rewindText"},gridMenu:{thumbnailsContainer:".gridContainer",thumbnailsGrid:".thumbnailsGrid",thumbnailsWrapper:".gridWrapper",thumbnailsItem:".thumbnailsGrid .gridItem .info",buttonContainer:".controlBar .front",controls:{button:".grid"}}};MHP1138.skins.desktop.selectors=t}(window),function(e){"use strict";var t=function(t,n,r){function i(e){var r=["ready","buffering","playing","paused","replay"];r.indexOf(e)!=-1&&(a(r,function(e){l(t,e+"State")}),s(t,e+"State"),"buffering"==e&&u?s(t,"playAfterBuffer"):l(t,"playAfterBuffer"),"buffering"==e&&d?s(t,"playAfterSeek"):"paused"!=e&&d&&(l(t,"playAfterSeek"),d=!1),n.set(e))}var o=e.MHP1138.utils,a=o.underscore.each,s=o.css.add,l=o.css.remove,c=r.subscribe,u=!1,d=!1;return c("onPlay",function(){u=!0,i("playing")}),c("onPause",function(){u=!1,i("paused")}),c("onSeek",function(e,t,n){n.playAfter&&(d=!0),i("buffering")}),c("onSeekEnd",function(){d=!1,l(t,"playAfterSeek")}),c("onWaiting",function(){i("buffering")}),c("onQualityChange",function(){i("buffering")}),c("onEnd",function(){i("replay")}),c("hidePreRoll",function(){i("buffering")}),c("onPlayPromise",function(e,t,n){n.autoplay||i("ready")}),c("onVideoReady",function(e,t,r){n.get("videoStarted")||n.get("autoplay")||i("ready")}),i("buffering"),{element:t}};e.MHP1138=e.MHP1138||{},e.MHP1138.SkinContainer=t}(window),function(e){"use strict";var t=[".seekBar .progress { background-color: themeColor; }",".volumeBar .front { background-color: themeColor; }",".progress:before{ background: themeColor; }",".buffering svg path.normal{ fill: themeColor; }",".buffering svg path.faded1{ fill: themeColor(-0.3); }",".buffering svg path.faded2{ fill: themeColor(-0.5); }",".buffering svg path.faded3{ fill: themeColor(-0.7); }",".optionsMenu ul li.upsell span.icon-star { background: themeColor; }",".controlBar .options .btn.HD:after, .controlBar .options .btn.K4:after { background: themeColor; }",".videoErrorMessage a { color: themeColor; }",".nextVideoTooltip .text .title {color: themeColor;}",".versionsInfo .playerVersions::-webkit-scrollbar-thumb {background-color: themeColor;}",".controlBar .cc.enabled .btn { background-color: themeColor;}",".optionsMenu .switch.enabled span { background-color: themeColor; }",".optionsMenu ul li.active { border-color: themeColor; }",".controlBar .chromecastBtn { --connected-color: themeColor; }",".nextVideoTooltip .preloadLine { background-color: themeColor }"];MHP1138.skins.desktop.themeCss=t}(window),function(e){"use strict";var t=function(t,n,r){function i(e,t){t||(t=e.getAttribute("title"),e.removeAttribute("title")),t&&(a(e,t),o(e))}function o(e){e.bindedEvents||(e.addEventListener("touchend",function(){setTimeout(function(){try{e.dispatchEvent(new Event("mouseleave"))}catch(t){}},b)}),e.addEventListener("mouseenter",function(){s(this)}),e.addEventListener("mousemove",function(){s(this)}),e.addEventListener("mouseleave",function(){l()}),e.addEventListener("click",function(){l()}),e.bindedEvents=!0,w.push(e))}function a(e,t){e.tooltipText=t,A=!1}function s(e){if(!e.tooltipDisabled&&!E&&A!=e){S.innerHTML=e.tooltipText;var n,r=(e.getAttribute("tooltipPosition"),e.getBoundingClientRect()),i=t.getBoundingClientRect(),o=r.left-i.left+r.width/2,a=r.top-i.top,s=T.offsetWidth,l=T.offsetHeight+x.offsetHeight-4,c=o-s/2,u=a-l;c-y<0?(c=y,n=o-y):c+s-i.width-y>0?(c=i.width-y-s,n=o-c):n=s/2,x.style.transform="translate3d("+n+"px,0,0)",T.style.transform="translate3d("+c+"px,"+u+"px,0)",v(T,"hidden"),A=e}}function l(){m(T,"hidden"),A=!1}function c(e){e.tooltipDisabled=!1}function u(e){e.tooltipDisabled=!0,l()}function d(e,t){u(e);var n=h.debounce(function(){c(e)},t);n()}function p(){T.style.visibility="hidden",E=!0}function f(){T.style.visibility="visible",E=!1}for(var A,h=e.MHP1138.utils,g=h.html.query,m=h.css.add,v=h.css.remove,y=5,b=500,E=!1,w=[],T=g(n.container),S=g(n.title),x=g(n.arrow),_=(x.getBoundingClientRect(),0);_<r.length;_++)i(r[_]);return{elements:w,initElement:i,setText:a,show:s,hide:l,enable:c,disable:u,disabled:E,delay:d,enableAll:f,disableAll:p}};e.MHP1138=e.MHP1138||{},e.MHP1138.Tooltip=t}(window),function(e){"use strict";var t=function(t,n,r,i,o,a){function s(){h.style.display="block"}function l(){h.style.display="none"}var c,u=e.MHP1138.utils,d=u.html.query,p=u.string.isPath,f=u.css.add,A=o.addClick,h=d(t.container),g=d(t.title),m=r.enabled;return c=m&&r.utmRedirect.logoUrl?r.utmRedirect.logoUrl:r.redirect.logoUrl,h.addEventListener("mousemove",function(e){a.onMouseOver&&a.onMouseOver(),e.stopPropagation()}),h.addEventListener("mouseout",function(e){a.onMouseOut&&a.onMouseOut()}),n&&(g.innerHTML=n,m&&p(c)&&r.utmRedirect.title&&(f(g,"isLink"),A(g,function(e){i.pause(),u.network.redirect(c,"embed","embed-title-html5",i.element.currentTime),e.stopPropagation(),e.preventDefault()}))),s(),{enable:s,disable:l}};e.MHP1138=e.MHP1138||{},e.MHP1138.TopBarController=t}(window),function(e){"use strict";var t=function(t,n){function r(){function e(e){(0==e.button||e.touches.length)&&(e.preventDefault(),O=!0,b=h.getBoundingClientRect(),l(e),s(),D.onDragStart&&D.onDragStart())}function t(e){return!!O&&(O=!1,s(),n||a(),D.onDragEnd&&D.onDragEnd(e&&e.type?e.type:null),R("onVolumeSlider"),void e.preventDefault())}var n=!0;document.addEventListener("mouseup",t),h.addEventListener("mousedown",e),h.addEventListener("touchstart",e),h.addEventListener("touchmove",l),h.addEventListener("touchend",t),f&&A&&(f.addEventListener("mouseenter",function(){i()}),f.addEventListener("mouseleave",function(){a()}),A.addEventListener("mouseenter",function(){clearTimeout(E),n=!0}),A.addEventListener("mouseleave",function(){a(),n=!1})),C("onKeyboard",function(e,t,n){n.action.indexOf("volume")!=-1&&(i(),a(1e3))}),C("onVolumeChange",function(e,t,n){u(n.volume),n.muted?_(A,"muted"):M(A,"muted")})}function i(){clearTimeout(E),U=!0,M(A,"hidden")}function o(){O||(U=!1,_(A,"hidden"))}function a(e){e||(e=200),clearTimeout(E),E=setTimeout(o,e)}function s(){O?(document.addEventListener("mousemove",l,!0),P(w,function(e){e.style.display="block"})):(document.removeEventListener("mousemove",l,!0),P(w,function(e){e.style.display="none"}))}function l(t){var n;n=t.touches&&t.touches.length?t.touches[0].pageX:t.changedTouches&&t.changedTouches.length?t.changedTouches[0].pageX:t.pageX;var r=n-(b[v]+e.pageXOffset),i=b[y];r>i&&(r=i),r<0&&(r=0),B=I,I=d(r,i),I!==B&&c(!0),t.stopPropagation(),t.preventDefault()}function c(e,t){b=h.getBoundingClientRect();var n=b[y];t&&(_(A,"animated"),setTimeout(function(){M(A,"animated")},200)),g.style.width=p(I,n)+"px",D.onUpdate&&e&&D.onUpdate(I)}function u(e){k.isNaN(e)||(e>100&&(e=100),e<0&&(e=0),I=e,c(!1))}function d(e,t){return Math.round(100*e/t)}function p(e,t){return Math.round(e*t/100)}var f,A,h,g,m,v,y,b,E,w,T=e.MHP1138.utils,S=T.html.query,x=T.html.queryAll,_=T.css.add,M=T.css.remove,k=T.underscore,P=T.underscore.each,R=n.fire,C=n.subscribe,L=!0,B=0,I=0,D=t.callbacks||{},O=!1,U=!0,H=t.selectors;return f=t.volumeBtn,A=S(H.container),h=S(H.zone),g=S(H.mask),w=x(H.covers),L=!0,I=t.startingPosition,m=L?"X":"Y",v=L?"left":"top",y=L?"width":"height",c(!1),r(),{show:i,hide:o,autoHide:a,setValue:u,getValue:function(){return I},dragging:function(){return O}}};e.MHP1138=e.MHP1138||{},e.MHP1138.VolumeSlider=t}(window),function(e){MHP1138.skins.basic=function(t){function n(e,n,o,s){E=o,w=e,T=n,S=w.settings,x=w.container,b=E.fire,y=E.subscribe,_=C(t.controls.qualities.container),k=new MHP1138.AutoHideControls(x,S,a.bind(this)),r(),i(),g(),l(),c(),u(),f(s.sourceModel),S.embeds.enabled&&(A(),h()),m()}function r(){I(x,"container"),S.embeds&&S.embeds.enabled&&I(x,"embedded"),U.isIos()&&H.osVersion<=7||"undefined"==H.os?N.set("viewMode","noControls"):(U.isIos()&&H.version>7||"ie"==H.name&&H.version<10)&&N.set("viewMode","minControls"),I(x,N.get("viewMode")),("ie"==H.name&&H.version<10||"undefined"==H.os)&&(N.set("noIcons",!0),I(x,"noIcons")),"android"==H.os&&H.osVersion<3&&I(x,"noSvg"),"undefined"==typeof document.body.ontouchstart&&N.set("touch",!1),N.set("noPlayer",o()),b("skinModeDetected",{viewMode:N.get("viewMode"),noIcons:N.get("noIcons"),touch:N.get("touch"),noPlayer:N.get("noPlayer")})}function i(){var e={style:"width:100%; height:100%; display: block;position: absolute; top: 0; left: 0;",preload:S.videoPreload,controls:"",playsinline:"",autobuffer:"autobuffer"};S.embeds.enabled&&(e.disablepictureinpicture="",e.nofullscreen="",e.controlsList="nodownload nofullscreen"),S.autoplay&&(e.autoplay="autoplay"),__.each(e,function(e,t){w.element.setAttribute(t,e)})}function o(){return"android"==H.os&&parseInt(H.osVersion,10)<4}function a(e,t){var n,r;N.get("touch")?(e.addEventListener("touchstart",function(e){n=e.touches[0].screenY,r=!1}),e.addEventListener("touchmove",function(e){Math.abs(n-e.changedTouches[0].screenY)>10&&(r=!0)}),e.addEventListener("touchend",function(e){r||t.call(this,e)})):(!MHP1138.detector.isMobile()||"ie"==H.name&&"windowsPhone"==H.os)&&e.addEventListener("mouseup",function(e){0===e.button&&t.call(this,e)})}function s(e,t){var n=P.url.addTime(e,w.element.currentTime);return S.embeds.utmRedirect.logo&&(n=P.url.addUtm(n,"embed",t)),n}function l(){var e=C(t.poster),n=C(t.video);e.style.backgroundImage='url("'+S.mainRoll.poster+'")',n.setAttribute("poster",S.mainRoll.poster)}function c(){var n=C(t.controls.container),r=C(t.controls.play),i=S.embeds.redirect.logoUrl;if(S.embeds.enabled&&P.string.isPath(i)&&a(n,function(e){e.preventDefault(),e.stopPropagation();var t=s(i,"embed-basic");w.isPlaying()&&w.pause(),P.network.redirect(t)}),N.get("noIcons")){var o=B("div.playBtn");r.appendChild(o)}a(r,function(t){if(t.preventDefault(),t.stopPropagation(),N.noPlayer||"function"!=typeof w.element.canPlayType)e.location=w.element.src;else{I(x,"isPlaying");var n=setTimeout(function(){w.element.paused&&w.play(),clearTimeout(n)},500)}})}function u(){var e=C(t.controls.duration);S.mainRoll.duration?e.innerHTML=P.string.toTime(S.mainRoll.duration):e.style.display="none"}function d(){I(_,"active"),k.allow(!1)}function p(){O(_,"active"),k.allow(w.isPlaying())}function f(e){var n,r=t.controls.qualities,i=C(r.current),o=e.getSources(),l=e.getResolutions(),c=e.getCurrent().quality,u=S.embeds,f=u.redirect.logoUrl,A=C(r.list);n=function(){D(_,"active")?p():d()},a(_,function(e){if(e.preventDefault(),e.stopPropagation(),S.embeds.enabled&&P.string.isPath(f)){var t=s(f,"embed-quality-basic");w.isPlaying()&&w.pause(),P.network.redirect(t)}else n()}),L(l,function(e,t){if("hls"!=e){var n=String(e).replace("_","p"),r=B("div"),a="upsell"===o[e].format;if(n.indexOf("p")==-1&&n.indexOf("k")==-1&&(n+="p"),r.setAttribute("quality",e),a){var s=D(x,"ie9");n='<span class="mhp1138_icon mhp1138_icon-star"></span>'+n,I(r,"upsell"),s&&(r.style.color=S.features.themeColor)}r.innerHTML=n+'<div class="mhp1138_radioBtn"></div>',I(r,"qualityItem"),e==c&&(i.innerHTML=n,I(r,"active")),A.appendChild(r)}});var h=P.html.queryAll(r.items);L(h,function(e){a(e,function(t){var o=e.getAttribute("quality"),a=e.firstChild.nodeValue,s=C(r.active);if(t.preventDefault(),t.stopPropagation(),o){if(D(this,"upsell"))return b("onQualityUpsell",{resolution:o}),void O(_,"active");O(s,"active"),I(this,"active"),i.firstChild.nodeValue=a,n(),w.setQuality(o)}})})}function A(){var e=t.topBar,n=S.mainRoll,r=S.embeds,i=r.redirect.logoUrl,o=C(e.title);n.title&&(o.innerHTML=n.title,r.enabled&&P.string.isPath(i)&&(I(o,"isLink"),a(o,function(e){e.preventDefault(),e.stopPropagation();var t=s(i,"embed-title-basic");w.isPlaying()&&w.pause(),P.network.redirect(t)})))}function h(){var e=C("#skin_basic .mhp1138_logo_"+S.quickSetup),n=S.embeds,r=n.redirect.logoUrl,i=C(t.topBar.logo);R.isUndefined(e)||(i.innerHTML=e.innerHTML),P.string.isPath(r)&&(I(i,"isLink"),a(i,function(e){e.preventDefault(),e.stopPropagation();var t=s(r,"embed-logo-basic");w.isPlaying()&&w.pause(),P.network.redirect(t)}))}function g(){y("onPlay",function(){N.get("playbackStarted")||(I(x,"isPlaying"),N.set("playbackStarted",!0)),N.set("playing",!0),w.ads.enabled()?k.hide():k.allow(!0)}),y("onPause",function(){N.set("playing",!1),w.ads.enabled()||(k.allow(!1),k.show())}),y("onEnd",function(){N.set("playing",!1),k.allow(!1),k.show()}),y("onQualityUpsell",function(){k.allow(!0)});var e={playPause:function(e){
e=e||!1,N.get("playing")?w.pause():e||w.play()},track:function(e){w.ads.trackThirdParty(e)},redirect:function(e){w.ads.track("click"),P.network.redirect(e)}};"ios"==H.os&&parseInt(H.osVersion,10)>=parseInt(S.features.minIOSforPreroll,10)&&(y("showPreRoll",function(n,r,i){new MHP1138.AdsRollUI(w.ads,x,t.preRoll,E,e),w.ads.enabled()&&(w.element.removeAttribute("controls"),w.element.setAttribute("playsinline",""))}),y("hidePreRoll",function(e,t,n){w.element.setAttribute("controls",""),w.element.removeAttribute("playsinline")}))}function m(){var t=S.eventTracking||!1;if(!(t&&t.enabled&&t.url&&P.string.isPath(t.url)))return!1;var n=10896,r=S.env||S.quickSetup||e.location.host,i=S.deviceType||"unknown";M=S.eventTracking.url.replace("%APPID%",n).replace("%SITENAME%",r).replace("%PLATFORM%",i),v("playerLoaded",w.type)}function v(e,t){var n=M.replace("%NAME%",e);n="boolean"==typeof t||t?n.replace("%VALUE%",t):n.replace("&featureValue=%VALUE%",""),P.network.ajax(n)}var y,b,E,w,T,S,x,_,M,k,P=e.MHP1138.utils,R=P.underscore,C=P.html.query,L=P.each,B=P.html.create,I=P.css.add,D=P.css.has,O=P.css.remove,U=MHP1138.detector,H=U.getBrowser(),N={currentState:"",viewMode:"fullControls",noIcons:!1,noPlayer:!1,touch:!0,playing:!1,playbackStarted:!1,get:function(e){return e?this[e]:currentState},set:function(e,t){"undefined"!=typeof t?(this[e]=t,b("onStateChanged",{state:e,flag:e,value:this[e]})):(this.currentState=e,b("onStateChanged",{state:e}))}};return{init:n}}}(window),function(e,t){"use strict";var n=function(t,n,r){function i(){f=!0,r(t,l),t.addEventListener("mouseover",l),t.addEventListener("mousemove",function(e){l()})}function o(e){f=e,e?s():a()}function a(){p&&clearTimeout(p)}function s(){a(),f&&(p=setTimeout(c,1e3*n.features.hideControlsTimeout))}function l(e){g(t,"hideControls"),s(),setTimeout(function(){u=!1},200),e&&(d=!0)}function c(){u||h(t,"hideControls"),u=!0,d=!1}var u,d,p,f,A=e.MHP1138.utils,h=A.css.add,g=A.css.remove;return i(),{clear:a,show:l,hide:c,start:s,allow:o}};e.MHP1138=e.MHP1138||{},e.MHP1138.AutoHideControls=n}(window,__),function(e){"use strict";var t={en:{"%QUALITY%":"Quality","%ADVERTISEMENT_TITLE%":"Your video will resume shortly","%ADVERTISEMENT_LINK%":"Visit advertiser","%SKIP_AD%":"Skip Ad","%SKIP_TIMER%":"You can skip<br>ad in %s","%NOT_AVAILABLE%":"Video is not available at the moment.","%ERROR_OCCURED%":'An error occured, please try again later or <a href="javascript:window.location.reload()">reload</a> the page.',"%WATCH_HD%":"Watch in HD"},ru:{"%QUALITY%":"Качество","%ADVERTISEMENT_TITLE%":"Реклама: Ваше видео продолжится совсем скоро","%ADVERTISEMENT_LINK%":"Посетите рекламодателя","%SKIP_AD%":"Пропустить рекламу","%SKIP_TIMER%":"Вы cможете перейти<br>к видео через %с","%NOT_AVAILABLE%":"Видео недоступно в данный момент.","%ERROR_OCCURED%":'Произошла ошибка. Пожалуйста, попробуйте позже или <a href="javascript:window.location.reload()">перезагрузите</a> страницу.'},fr:{"%QUALITY%":"Qualité","%ADVERTISEMENT_TITLE%":"Publicité: votre vidéo reprendra sous peu","%ADVERTISEMENT_LINK%":"Visiter l'annonceur","%SKIP_AD%":"Ignorer la publicité","%SKIP_TIMER%":"Vous pouvez ignorer cette vidéo dans % secondes","%NOT_AVAILABLE%":"La vidéo n'est pas disponible pour le moment.","%ERROR_OCCURED%":'Une erreur est survenue, réessayez ultérieurement ou <a href="javascript:window.location.reload()">rechargez</a> la page.'},tk:{"%QUALITY%":"Kalite","%AUTO_QUALITY%":"Otomatik","%ADVERTISEMENT_TITLE%":"Reklam: Videonuz kısa bir süre sonra devam edecektir","%ADVERTISEMENT_LINK%":"Reklamvereni ziyaret edin","%SKIP_AD%":"Reklamları Geç","%SKIP_TIMER%":"Bu videoyu % saniye sonra atlayabilirsiniz","%NOT_AVAILABLE%":"Video şu an oynatılamıyor.","%ERROR_OCCURED%":'Bir hata oluştu, lütfen sonra tekrar deneyiniz ya da <a href="javascript:window.location.reload()">yeniden yükleyiniz</a> yeniden yükleyiniz.'},pt:{"%QUALITY%":"Qualidade","%ADVERTISEMENT_TITLE%":"Anúncio: seu vídeo será retomado em breve","%ADVERTISEMENT_LINK%":"Visite o anunciante","%SKIP_AD%":"Pular Anúncio","%SKIP_TIMER%":"Pode ignorar este vídeo em % segundos","%NOT_AVAILABLE%":"O vídeo não está disponível no momento.","%ERROR_OCCURED%":'Ocorreu um erro, tente novamente mais tarde ou <a href="javascript:window.location.reload()">recarregue</a> a página.'},pl:{"%QUALITY%":"Jakość","%ADVERTISEMENT_TITLE%":"Reklama: Twoj film wkrótce zostanie wyświetlony","%ADVERTISEMENT_LINK%":"Odwiedź reklamodawcę","%SKIP_AD%":"Pomiń Reklamę","%SKIP_TIMER%":"Mozesz wyłączyć ten filmik za % sekund","%NOT_AVAILABLE%":"Film nie jest teraz dostępny.","%ERROR_OCCURED%":'Wystąpił błąd, spróbuj ponownie później lub <a href="javascript:window.location.reload()">załaduj stronę</a> od nowa.'},nl:{"%QUALITY%":"Kwaliteit","%ADVERTISEMENT_TITLE%":"Advertentie: Je video zal snel hervat worden","%ADVERTISEMENT_LINK%":"Bezoek de adverteerder","%SKIP_AD%":"Advertentie Overslaan","%SKIP_TIMER%":"Je kunt deze video overslaan over % seconden","%NOT_AVAILABLE%":"Video is niet beschikbaar op dit moment.","%ERROR_OCCURED%":'Een fout deed zich voor, probeer alstublieft later opnieuw of <a href="javascript:window.location.reload()">vernieuw</a> de pagina.'},jp:{"%QUALITY%":"画質","%ADVERTISEMENT_TITLE%":"広告:ビデオがまもなく再生されます","%ADVERTISEMENT_LINK%":"広告主にアクセス","%SKIP_AD%":"広告をスキップ","%SKIP_TIMER%":"% 秒後にこのビデオをスキップできます","%NOT_AVAILABLE%":"現在ビデオが利用できません。","%ERROR_OCCURED%":'<a href="javascript:window.location.reload()">エラーが発生しました。後でもう一度お試しになるか、ページを再読込みして下さい。</a>'},it:{"%QUALITY%":"Qualità","%ADVERTISEMENT_TITLE%":"Pubblicità: il tuo video riprenderà tra poco","%ADVERTISEMENT_LINK%":"Visita l'inserzionista","%SKIP_AD%":"Salta pubblicità","%SKIP_TIMER%":"Puoi saltare questo video tra % secondi","%NOT_AVAILABLE%":"Il video in questo momento non è disponibile.","%ERROR_OCCURED%":'Si è verificato un errore, riprova più tardi oppure <a href="javascript:window.location.reload()">ricarica</a>  la pagina.'},de:{"%QUALITY%":"Qualität","%ADVERTISEMENT_TITLE%":"Werbung: Dein Video wird gleich fortgesetzt","%ADVERTISEMENT_LINK%":"Besuchen Sie den Werbetreibenden","%SKIP_AD%":"Werbung übergehen","%SKIP_TIMER%":"Du kannst dieses Video in % Sekunden überspringen","%NOT_AVAILABLE%":"Video ist derzeit nicht verfügbar.","%ERROR_OCCURED%":'Ein Fehler ist aufgetreten. Bitte versuche es später oder <a href="javascript:window.location.reload()">lade die</a> Seite erneut.'},es:{"%QUALITY%":"Calidad","%ADVERTISEMENT_TITLE%":"Publicidad: su video continuará en unos instantes.","%ADVERTISEMENT_LINK%":"Visita anunciante","%SKIP_AD%":"Saltar publicidad","%SKIP_TIMER%":"Puede saltar este video en % segundos.","%NOT_AVAILABLE%":"El video no está disponible en estos momentos.","%ERROR_OCCURED%":'Ocurrió un error, por favor intente de nuevo o <a href="javascript:window.location.reload()">recargue</a> la página.'},cz:{"%QUALITY%":"Kvalita","%ADVERTISEMENT_TITLE%":"Reklama: Vaše video bude brzy pokračovat","%ADVERTISEMENT_LINK%":"Navštivte inzerenta","%SKIP_AD%":"Přeskočit reklamu","%SKIP_TIMER%":"Můžete přeskočit video za % sekund","%NOT_AVAILABLE%":"Video není momentálně dostupné.","%ERROR_OCCURED%":'Objevila se chyba, zkuste to prosím později nebo <a href="javascript:window.location.reload()">obnovte</a> stránku.'}};MHP1138.skins.basic.locales=t}(window),function(e){"use strict";var t={videoWrapper:"video source",videoPoster:null,controls:{qualitiesMenu:{current:"span.icon.icon-gear+span.value+span.icon.icon-arrow-down",qualityList:null},play:".icon.icon-play",duration:null},controlBar:{time_elapsed:"span[html=AD - 00:00]"},preRollTitle:'span.preRollLink[html="%ADVERTISEMENT_LINK%"]',preRollSkipButton:{content:null},preRollCTA:{image:null,ctaContainer:".button + .title + .subtitle"},preRollEventCatcher:null,topBar:{content:{title:"span",logo:null},background:null}};MHP1138.skins.basic.markup=t}(window),function(e){"use strict";var t={mainContainer:".container",poster:".videoPoster",video:"video",controls:{container:".controls",duration:".duration",play:".play",qualities:{container:".qualitiesMenu",active:".qualityItem.active",current:".qualitiesMenu .current .value",list:".qualityList",items:".qualityItem"}},time:{elapsed:".time_elapsed"},preRoll:{title:".preRollTitle",titleText:".preRollTitleText",skipButton:".preRollSkipButton div",timeElapsed:".time_elapsed",link:".preRollLink",eventCatcher:".preRollEventCatcher",cta:{image:".preRollCTA .image",container:".preRollCTA .ctaContainer",title:".preRollCTA .title",subtitle:".preRollCTA .subtitle",button:".preRollCTA .button"}},topBar:{container:".topBar",title:".topBar .title span",logo:".topBar .logo"}};MHP1138.skins.basic.selectors=t}(window),function(e){"use strict";var t=[".qualitiesMenu .qualityList .qualityItem .icon {background-color: themeColor;}"];MHP1138.skins.basic.themeCss=t}(window),function(e){MHP1138.skins.image=function(t){function n(e,t,n){d=e,p=d.settings,f=d.container,u=n,r(),i(),o(),s(),a()}function r(){var e,n=f.querySelector(t.poster);p.embeds.enabled&&h(p.embeds.imageUrl)?e=p.embeds.imageUrl:h(p.mainRoll.poster)&&(e=p.mainRoll.poster),n.style.backgroundImage='url("'+e+'")'}function i(){var e=f.querySelector(t.controls.time),n=60;p.mainRoll.duration&&(n=new Date(parseInt(p.mainRoll.duration,10)));var r=Math.floor(n/60)%60,i=Math.floor(n/60/60),o=n-60*Math.floor(n/60),a="00:00 / ",s=[i,r,o];0==i&&s.shift(),a+=s.map(function(e){return e<10?"0"+e:e}).join(":"),e.innerHTML=a}function o(){var e,n=p.embeds,r=n.redirect.logoUrl,i=t.topBar,o=f.querySelector(i.logo),a=f.querySelector(i.title);p.quickSetup&&(e=document.querySelector("#skin_image .mhp1138_logo_"+p.quickSetup)),e&&(o.innerHTML=e.innerHTML),p.mainRoll.title&&(a.innerHTML=p.mainRoll.title,g(a,"isLink")),h(r)&&n.enabled&&(c(a,function(){var e=r;n.utmRedirect.title&&(e=l(r,"title")),A.network.redirect(e)}),c(o,function(){var e=r;n.utmRedirect.logo&&(e=l(r,"logo")),A.network.redirect(e)}))}function a(){var e=p.embeds,n=e.redirect.logoUrl,r=f.querySelector(t.controls.fullscreen);e.enabled&&h(n)&&c(r,function(){A.network.redirect(l(n,"fullscreen"))})}function s(){var e=l(p.embeds.redirect.logoUrl,""),n=f.querySelector(t.link);h(e)&&c(n,function(){A.network.redirect(e)})}function l(e,t){return A.url.addUtm(e,"embed-mobile","embed-"+(t?t+"-":"")+"html5")}function c(t,n){var r;t.addEventListener("touchstart",function(e){r=e.touches[0].screenY,e.stopPropagation()}),e.navigator.msPointerEnabled&&t.addEventListener("MSPointerUp",function(e){e.preventDefault(),n(),e.stopPropagation()}),t.addEventListener("touchend",function(e){e.preventDefault(),Math.abs(r-e.changedTouches[0].screenY)<10&&n(),e.stopPropagation()})}var u,d,p,f,A=e.MHP1138.utils,h=A.string.isPath,g=A.css.add;A.underscore;return{init:n}}}(window),function(e){"use strict";var t={playerEmbedLink:{topBar:{title:"span",logo:null},videoPoster:null,bigPlayBtn:".bigPlayBtnIcon",controlBar:{playBtn:"i.icon.icon-play-clear + .playBtnIcon",seekBar:null,fullscreenBtn:"i.icon.icon-expand",time:null},videoWrapper:"video source"}};MHP1138.skins.image.markup=t}(window),function(e){"use strict";var t={link:".playerEmbedLink",poster:".videoPoster",play:{container:".bigPlayBtn",icon:".bigPlayBtnIcon"},controls:{container:".controlBar",play:".playBtn",playIcon:".playBtnIcon",seekBar:".seekBar",time:".time",fullscreen:".fullscreenBtn"},topBar:{logo:".logo",title:".title span"}};MHP1138.skins.image.selectors=t}(window),function(e){MHP1138.cores=MHP1138.cores||{},MHP1138.cores.HTML5Player=function(){function t(e,t){ve.id=e,J=W=MHP1138.detector,Z=J.getBrowser(),z=G=MHP1138.utils.init(ve,t),Y=z.createEventsHelper(ve,J),$=ee=z.storage,X=new MHP1138.ThemeColoring,q=G.log,te=W.isIos()&&W.isTablet(),re=W.isDesktop(),ie=W.isIe(),ne=W.isIos()&&("safari"==Z.name||"ios"==Z.name||"chrome"==Z.name),V=Y.fire,j=z.string.isPath,Q=z.underscore.each,K=z.deepExtend,he=ve.settings=new MHP1138.SettingsModel(t,J),ue=parseInt(he.startOffset,10),se=new MHP1138.StateController({playing:!1,videoEnded:!1,videoStarted:!1,fullscreen:!1,currentTime:0,looped:!1,ready:!1},Y),ie&&re&&ue&&(he.autoplay=!1,se.set("autoplay",!1));var r=new MHP1138.SkinLoader(e,he);ve.container=r.playerContainerElement,ve.wrapper=r.videoWrapper,ve.element=r.playerElement,ve.source=r.playerElementSource,ve.poster=r.playerPoster,le=MHP1138.skins[he.skin](r.selectors),new MHP1138.VideoErrorController(ve.container,Y,he),n()}function n(){var e,t,n=he.mainRoll,r=he.vast&&he.vast.length;ce=he.hlsConfig,ve.hlsConfig=he.hlsConfig,!he.embeds.enabled;var u=new MHP1138.SourceModel(he,J),d=u.getDefault();return t=u.getDefaultUrl(),n.videoUnavailable?(V("onVideoUnavailable"),!1):(ve.mainRoll=n,e=r?new MHP1138.AdsRollModelCMS(he,d.quality):new MHP1138.AdsRollModelTJ(he,Y,d.quality),void e.requestData().then(function(p){if(r=!1,ve.ads=new MHP1138.AdsRollControllerTJ(e,he,se,{get:function(){return ve.element},getSource:function(){return ve.source}},Y),t=ve.ads.getSourceUrl()||t,!t)return se.set("error",!0),void V("onVideoUnavailable",{message:"noSources"});ve.ads.enabled()||(W.isIos()&&"hls"==d.format?(pe=d.getUrlWithParams(),t=""):t="dash"==d.format||"hls"==d.format?"":d.getUrlWithParams()),ve.source.src=t,fe.sourceModel=u,ve.ads.enabled()||(!W.isIos()&&"hls"==d.format||"dash"==d.format)&&s(d),fe.playback={play:y,pause:b,toggle:g,seek:E};var f=J.isIos()?ve.element:ve.container;if(fe.fullscreen=new MHP1138.FullscreenController(f,ve.id,he,Y,fe.playback),fe.orientation=new MHP1138.OrientationController(ve.container,fe.fullscreen,he,Y),fe.hotspots=new MHP1138.HotspotsController(he,Y),fe.autoplay=new MHP1138.AutoplayController(he,Y),fe.speed=new MHP1138.SpeedController(ve.element,he,Y),fe.volume=new MHP1138.VolumeController(ve.element,he,Y,ve.ads.enabled),fe.thumbnails=new MHP1138.ThumbnailsLoader(ve.container,he,Y),n.closedCaptions&&(fe.cc=new MHP1138.ClosedCaptions(new MHP1138.ClosedCaptionsLoader,he,Y)),a(fe),c(),MHP1138.CastPlayer&&!he.isVr&&he.features.chromecast){var A=document.getElementsByTagName("head")[0],h=document.createElement("script");h.setAttribute("src","https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"),h.setAttribute("type","text/javascript"),h.async=!0,h.onload=h.onreadystatechange=function(e){h.readyState&&!/loaded|complete/.test(h.readyState)||(Ae=new MHP1138.CastPlayer(ve,se,u,Y),h.onload=h.onreadystatechange=null)},A.appendChild(h)}else Ae={};if(i(),se.set("ready",!0),V("onReady"),ve.ads.enabled()&&V("overlaysReady",{overlays:[]}),l(),R(he.mainRoll.poster),(ie&&re||!re)&&ue)return void se.set("deferredStartSeek",!0);if(!ve.ads.enabled()&&ue>0)fe.playback.seek(ue,fe.autoplay.get());else if(fe.autoplay.get()){if(!re&&ve.ads.enabled()&&!he.autoplayAds)return;o()}}))}function r(e,t){e=e||0,t=t||se.get("videoStarted");var n,r=fe.sourceModel.getCurrent();fe.sourceModel.fallback();var i=fe.sourceModel.getCurrent();n="hls"==r.quality&&ae?ae.getQuality():i.quality,ae&&ae.unload();try{fe.playback.pause()}catch(o){}C(),ve.isAdaptive=!1,p(n,function(){}),e&&E(e,t)}function i(){if(he.isVr){var t,n,r=ve.container.getElementsByTagName("video")[0],i=ve.container.getElementsByTagName("canvas")[0];switch(G.css.add(ve.container,"vr"),he.vrProps.projection){case 1:t=VrPlayer.PROJECTION_EQUIDISTANT_180;break;case 2:t=VrPlayer.PROJECTION_EQUIRECTANGULAR_360;break;case 3:t=VrPlayer.PROJECTION_EQUIRECTANGULAR_180;break;default:throw"Invalid projection type"}if(he.vrProps.stereoSrc)switch(he.vrProps.stereoType){case 1:n=VrPlayer.STEREO_SIDE_BY_SIDE_LR;break;case 2:n=VrPlayer.STEREO_OVER_UNDER_LR;break;case 3:n=VrPlayer.STEREO_SIDE_BY_SIDE_RL;break;case 4:n=VrPlayer.STEREO_OVER_UNDER_RL;break;default:throw"Invalid stereo type"}else n=VrPlayer.MONO;try{oe=new VrPlayer({canvas:i,video:r,projection:t,stereoType:n,stereoView:!1}),r.addEventListener("playing",function(){oe.start()}),r.addEventListener("seeked",function(){oe.start()}),e.addEventListener("resize",oe.resize)}catch(o){V("onVrError")}}}function o(){var e=ve.element;se.get("listed")||G.network.track(he.htmlSettings.listedTrackUrl,{action:"notlisted",siteName:he.env}),pe&&(ve.element.src=pe,pe=!1),setTimeout(function(){!re&&fe.autoplay.get()&&fe.volume.mute();var t=e.play(),n=!1,r=setTimeout(function(){n||(clearTimeout(r),se.set("noPauseEvent",!0),ve.element.pause(),V("onPlayPromise",{autoplay:!1}),se.set("autoplayAvailable",!1),C())},1e3);void 0!==t?t.then(function(){n=!0,se.set("autoplayAvailable",!0),V("onPlayPromise",{autoplay:!0})})["catch"](function(e){n=!0,se.set("autoplayAvailable",!1),se.set("playAfterSeek",!1),W.isMacos()?D():setTimeout(function(){C(),V("onPlayPromise",{autoplay:!1})},0),re||fe.volume.unmute()}):("ie"==Z.name&&parseInt(Z.version)>10&&se.set("autoplayAvailable",!0),D())},0)}function a(e){le.init(ve,se,Y,e)}function s(t){var n=t.videoUrl;if(se.get("videoStarted")||se.get("error")?f(n):w(n),ae)ae.unload();else{var r;MHP1138.ShakaPlayer&&e.shaka?r=MHP1138.ShakaPlayer:MHP1138.HlsPlayer&&e.Hls&&(r=MHP1138.HlsPlayer),ae=new r(ve,se,ee,fe.sourceModel,Y),he.startOffset&&se.set("deferredStartSeek",!0)}ae&&ae.load?(ae.load(n,t.quality),ve.isAdaptive=!0):ae=!1}function l(){var e=ve.mainRoll;e.duration>0&&(v(e.duration),V("overlaysReady",{overlays:e.overlays}))}function c(){var e=Z.version<=9,t=e&&(W.isSafari()||te),n=0;ve.element.ondurationchange=function(e){return ve.ads.deferred()?void(n=this.duration):void(ve.duration!=this.duration&&(v(this.duration),ve.ads.enabled()||V("overlaysReady",{overlays:he.mainRoll.overlays})))},ve.element.ontimeupdate=function(){var e;e=Ae.active?Ae.remotePlayer.currentTime:this.currentTime,V("onBuffer",{buffered:this.buffered,duration:this.duration}),se.get("updatingSource")||se.get("seeking")||m(e)},ve.element.onprogress=function(e){V("onBuffer",{buffered:this.buffered,duration:this.duration})},ve.element.onwaiting=function(){V("onWaiting"),se.set("playing",!1)},ve.element.onpause=function(){se.set("playing",!1),se.get("seeking")||se.get("noPauseEvent")||V("onPause",{time:this.currentTime}),se.set("noPauseEvent",!1)},ve.element.onplaying=function(){se.set("videoEnded",!1),se.set("error",!1),se.get("videoStarted")||(se.set("videoStarted",!0),S()),ve.ads.deferred()&&v(n),se.get("initialSeek")||se.get("seeking")||se.get("seekToEnd")||(V("onPlay",{playAfterSeek:se.get("playAfterSeek"),time:this.currentTime}),V("hideRoll")),se.set("updatingSource",!1),se.set("playing",!0),se.get("deferredPause")&&(se.set("deferredPause",!1),fe.playback.pause())},ve.element.onseeked=function(){V("onSeekEnd");var e=this.currentTime;if(ve.paused&&((se.get("updatingSource")||se.get("initialSeek")||se.get("seeking"))&&(se.set("playing",!1),se.get("seekToEnd")||V("onPause",{time:e})),se.set("updatingSource",!1)),se.set("seeking",!1),se.get("deferredSeek")){var t=se.get("deferredSeek");se.set("deferredSeek",!1),fe.playback.seek(t.offset,t.playAfter)}else se.get("deferredPause")&&!ve.paused?(se.set("playing",!0),se.set("deferredPause",!1),fe.playback.pause(),V("onPause",{time:e})):se.get("playAfterSeek")&&(setTimeout(function(){S()},200),se.get("videoStarted")?fe.playback.play():o(),V("onPlay",{playAfterSeek:se.get("playAfterSeek"),time:e}));se.get("initialSeek")&&(se.set("initialSeek",!1),se.get("videoStarted")&&(W.isIos()||"tablet"==W.getPlatform()&&W.isMacos())&&(fe.playback.play(),V("onPlay",{playAfterSeek:se.get("playAfterSeek"),time:e})),S())},ve.element.oncanplay=function(){se.get("videoStarted")||(w(ve.source.src),T()),se.get("seeking")&&se.get("playAfterSeek")&&(se.get("videoStarted")?fe.playback.play():o(),se.set("seeking",!1))};var i=function(e){if(!pe){var t=fe.sourceModel.getCurrent(),n="hls"===t.format.toLowerCase()||t.videoUrl.indexOf(".m3u8")>-1;if(se.set("error",!0),n)V("onMediaError",{e:e.type,data:e,isAdaptive:!0,source:"Video element"}),r(ve.element.currentTime);else{if(!se.get("playbackAttempted"))return;V("onMediaError",{e:e.type,data:e,isAdaptive:!1,source:"Video element"}),ve.ads.enabled()?(se.set("noPauseEvent",!0),b(),ve.ads.hide(),setTimeout(function(){C()},200)):setTimeout(function(){V("onVideoUnavailable",{message:"onerror"});var t=e.target.error;"SOURCE"==e.target.tagName&&(t=e.target.parentNode.error),F(t)},1e3)}}};ve.element.addEventListener("error",i),ve.source.addEventListener("error",i),u(),Y.subscribe("hidePreRoll",function(){m(0),v(he.mainRoll.duration),A(fe.sourceModel.getCurrent(),h.bind(self)),u()}),Y.subscribe("onProgressiveFallback",function(e,t,n){G.string.isURL(he.errorReports)&&G.network.ajax(he.errorReports+"?error=media&time="+n.currentTime+"&format="+se.get("selectedFormat")),r(n.currentTime,n.wasPlaying)}),"none"==he.videoPreload&&w(ve.source.src),!he.mainRoll.vertical||ve.ads.enabled()||ve.ads.deferred()||V("verticalPlayer",{text:"9x16",aspect:9/16}),t&&ve.element.addEventListener("seeked",function(){this.onseeked()}),se.set("playerCreated",!0)}function u(){ve.element.onended=function(){se.set("videoEnded",!0),se.set("playing",!1),se.set("deferredPause",!1),I(),V("onEnd"),se.set("seekToEnd",!1),se.get("looped")?fe.playback.play():V("showPostRoll")}}function d(){}function p(e,t){var n=fe.sourceModel.setQuality(e);if(!n)return!1;var r=n.format;return V("onQualityChange",{src:n.videoUrl,resolution:e,format:r}),t&&t(),ve.ads.enabled()?void V("onVideoReady"):(V("hideRoll"),oe&&oe.stop(),se.get("seeking")&&se.set("qualityChanged",!0),Ae.active&&Ae.castSession?void Ae.updateQuality():void("hls"==r&&W.isIos()?se.get("videoStarted")?A(n):(pe=n.videoUrl,w(n.videoUrl)):"dash"==r||"hls"==r?ae?"dash"==e||"hls"==e?ae.setAutoQuality():ae.setQuality(parseInt(e,10)):s(n):A(n)))}function f(e,t){var n=se.get("currentTime")||0,r=se.get("playing");se.set("updatingSource",!0),ve.element.oncanplay=function(i){T(),se.get("videoEnded")?(V("onEnd"),V("showPostRoll")):(w(e),!ve.ads.enabled()&&n&&se.get("updatingSource")?fe.playback.seek(n,r):fe.playback.play()),__.isFunction(t)&&t(),ve.element.oncanplay=function(){}}}function A(e,t){function n(){ve.source?ve.source.src=r:ve.element.src=r,ve.element.load(),fe.speed.set(fe.speed.get()),se.get("seeking")&&se.get("qualityChanged")&&(se.set("seeking",!1),se.set("qualityChanged",!1),se.get("initialSeek")||ve.element.play())}var r=e.videoUrl,i=e.format;return se.get("videoStarted")||se.get("error")?f(r,t):w(r),"hls"==i&&W.isIos()?void n():"dash"==i||"hls"==i?void s(e):void(ae&&"dash"!=i&&"hls"!=i?(ae.destroy(),ae=!1,setTimeout(n,0)):n())}function h(){se.set("playing",!1),fe.speed.set(fe.speed.get());var e=!se.get("error");ue>0?(se.set("initialSeek",!0),fe.playback.seek(ue,e)):se.get("error")||fe.playback.play()}function g(){se.get("playing")?b():y()}function m(e){__.isNaN(e)&&(e=0),e<0&&(e=0),e>ve.duration&&(e=ve.duration),se.set("currentTime",e),V("onTimeChange",{time:e,duration:ve.duration});var t=Math.floor(ve.duration)-Math.floor(e);t<4?(!se.get("onPlaylistCountdownLastTimeFired")&&t||t==se.get("onPlaylistCountdownLastTimeFired")-1)&&(se.set("onPlaylistCountdownLastTimeFired",t),ve.ads.enabled()||V("onPlaylistCountdown",{count:t})):se.get("onPlaylistCountdownLastTimeFired")>0&&se.set("onPlaylistCountdownLastTimeFired",0)}function v(e){__.isNaN(e)&&(e=0),ve.duration=parseFloat(e),V("onDurationChange",{duration:e})}function y(){if(!se.get("playerCreated"))return d(),!1;se.get("listed")||G.network.track(he.htmlSettings.listedTrackUrl,{action:"notlisted",siteName:he.env});var e=function(){function e(){ve.element.removeEventListener("canplay",e),ve.element.play()}Y.fire("onWaiting"),se.set("playbackAttempted",!0),(W.isIos()&&0==ve.element.readyState||se.get("error"))&&ve.element.load(),!se.get("videoStarted")&&se.get("deferredStartSeek")&&E(ue,!0),0==ve.element.readyState?(ve.element.addEventListener("canplay",e),ve.element.load()):ve.element.play()};pe?(ve.source.src=pe,pe=!1,setTimeout(function(){e()},0)):Ae.active?Ae.play():e(),se.set("deferredPause",!1),se.set("playing",!0),ve.ads.enabled()===!1&&B()}function b(e){var e=e||!1;return se.get("playerCreated")?(se.get("playing")?(Ae.active?Ae.pause():ve.element.pause(),se.get("updatingSource")||ve.ads.active()||ve.ads.enabled()||he.embeds.enabled||e||V("showPauseRoll")):(se.set("deferredSeek",!1),se.set("deferredPause",!0),se.set("playAfterSeek",!1)),void I(se.get("currentTime"))):(d(),!1)}function E(e,t){function n(){ve.element.removeEventListener("canplay",n),se.set("seeking",!0),se.set("playAfterSeek",t),ie&&fe.playback.pause(),se.set("currentTime",e),ve.element.currentTime=e,ve.duration-e<.06&&se.set("seekToEnd",!0)}if(e=parseFloat(e),__.isNaN(e))return!1;if(!se.get("playerCreated"))return d(),!1;if(ve.ads.enabled())return!1;if(Ae.active)return void Ae.seek(e,t);if(se.get("seeking")){if(!ae||!ie)return se.set("deferredSeek",{offset:e,playAfter:t}),!1;ve.element.play()}se.set("deferredStartSeek",!1),se.set("deferredPause",!1);var r=ve.element.currentTime;return ie&&e>ve.duration&&(e=ve.duration),e==ve.duration&&(e-=.05),0==ve.element.readyState?(se.set("initialSeek",!0),ve.element.addEventListener("canplay",n),void(t&&o())):(se.set("seeking",!0),se.set("playAfterSeek",t),ie&&(ve.element.pause(),se.set("playing",!1)),ve.element.currentTime=e,I(r),V("onSeek",{from:r,to:e,duration:ve.duration,playAfter:t}),void V("hideRoll"))}function w(e){e!=ve.sourceUrl&&V("onVideoReady"),ve.sourceUrl=e}function T(){if(!ve.ads.enabled()){var e,t=ve.element,n=.05,r=9/16,i=.75,o=4/3,a=t.videoWidth/t.videoHeight;a<r+n&&a>r-n?e="9x16":a<i+n&&a>i-n?e="3x4":a<o+n&&a>o-n?e="4x3":a<=1&&(e="other"),e&&(a>1?V("horizontalPlayer",{aspect:a,text:e,width:t.videoWidth,height:t.videoHeight}):V("verticalPlayer",{aspect:a,text:e,width:t.videoWidth,height:t.videoHeight}))}}function S(){ve.element.style.visibility="visible",ve.poster.style.display="none"}function x(){ve.element.style.visibility="hidden",ve.poster.style.display="block"}function _(){return se.get("videoStarted")}function M(){return!!se.get("ready")&&!ve.element.paused}function k(){return se.get("ready")}function P(){return Math.round(ve.element.currentTime)}function R(e,t){t=t||!1,!t&&(fe.autoplay.get()&&re||ue>0&&!ie&&re&&!ve.ads.enabled()||fe.autoplay.get()&&!re&&ve.ads.enabled()&&he.autoplayAds)||(j(e)?(ve.poster.setAttribute("style","background-image: url('"+e+"')"),x()):S())}function C(){se.set("playing",!1),se.set("videoEnded",!1),se.set("videoStarted",!1),se.set("currentTime",0),se.set("looped",!1),se.set("playAfterSeek",!1),R(he.mainRoll.poster,!0),x(),V("hidePreRollUI"),setTimeout(function(){"function"==typeof le.setSkinState?le.setSkinState("ready"):V("onVideoReady")},0)}function L(){return function(){return se.toggle("looped")}}function B(){var e=he.viewedRequestURL||"",t=he.viewedRequestTimeout;de=de||null,e&&(se.set("viewingStart",ve.element.currentTime),se.get("viewedSeconds")<t&&(de=setTimeout(function(){se.set("viewedSeconds",t),G.network.ajax(e)},1e3*t-1e3*se.get("viewedSeconds"))))}function I(e){if(de){e=e||ve.element.currentTime;var t=se.get("viewedSeconds")+Math.floor(e)-Math.floor(se.get("viewingStart"));se.set("viewedSeconds",t),clearTimeout(de)}}function D(){function e(){t&&clearInterval(t)}var t,n=5;t=setInterval(function(){var t=ue>0&&ve.element.currentTime==ue||0==ve.element.currentTime;(!ie&&0==ve.element.readyState||4==ve.element.readyState)&&t?(e(),V("onPlayPromise",{autoplay:!1}),fe.autoplay.set(!1),C()):(se.get("playing")&&ve.element.currentTime>0||n<=0)&&e(),n--},500)}function O(){return se.debug()}function U(e){ve.element.ondurationchange=function(){},ve.element.ontimeupdate=function(){},ve.element.onprogress=function(){},ve.element.onwaiting=function(){},ve.element.onpause=function(){},ve.element.onplaying=function(){},ve.element.onseeked=function(){},ve.element.oncanplay=function(){},ve.element.onended=function(){},ve.container.parentNode.removeChild(ve.container),e()}function H(){return{enter:fe.fullscreen.enter,exit:fe.fullscreen.exit}}function N(){return he}function F(e){var t="";switch(e||(e={code:99999}),e.code){case e.MEDIA_ERR_ABORTED:t="Video playback has been aborted by the user.";break;case e.MEDIA_ERR_NETWORK:t="Video download or playback has failed due to a network error.";break;case e.MEDIA_ERR_DECODE:t="Video source appears to be corrupted or unsupported by this browser.";break;case e.MEDIA_ERR_SRC_NOT_SUPPORTED:t="The video could not be loaded due to an unsupported video format or network failure.";break;default:t="An unknown error has occurred."}q(t,{type:"error"})}var G,z,Y,V,Q,K,j,q,W,J,X,Z,$,ee,te,ne,re,ie,oe,ae,se,le,ce,ue,de=null,pe=!1,fe={autoplay:!1,cc:!1,thumbnails:!1,hotspots:!1,volume:!1,speed:!1,fullscreen:!1,quality:!1,playback:!1},Ae={},he={},ge={},me=[],ve={id:"",type:"HTML5Player",settings:{},mainRoll:{},sourceUrl:"",videoSources:ge,videoResolutions:me,duration:0,currentTime:0,paused:!0,hlsSource:null,dashSource:null,hlsConfig:ce,isAdaptive:!1,ads:null,fullscreen:null,thumbnails:null,container:null,element:null,source:null,wrapper:null,poster:null,play:y,pause:b,seek:E,isPlaying:M,setQuality:p,updateCurrentTime:m,updateDuration:v,getToggleLoop:L};return{init:t,isVideoStarted:_,isPlaying:M,isReady:k,getCurrentState:O,getCurrentTime:P,destroy:U,play:y,pause:b,seek:E,mute:function(){fe.volume.mute()},unmute:function(){fe.volume.unmute()},fullscreen:H,settings:N,getAdaptivePlayer:function(){return ae}}}}(window),function(e){MHP1138.cores=MHP1138.cores||{},MHP1138.cores.basicPlayer=function(){function e(e,a){F.id=e,b=MHP1138.utils.init(F,a),E=b.createEventsHelper(F),w=E.fire,T=E.subscribe,x=b.html.query,S=b.deepExtend,_=b.css.add,M=b.underscore,k=b.storage,U=F.settings=new MHP1138.SettingsModel(a,C),U=t(U),U=n(U),U=r(U),U=i(U),P=new H({autoplay:U.autoplay,playing:!1,videoEnded:!1,videoStarted:!1,fullscreen:!1,currentTime:0,looped:!1,ready:!1},E),T("skinModeDetected",function(e,t,n){P.set("viewMode",n.viewMode),P.set("noIcons",n.noIcons),P.set("noPlayer",n.noPlayer),P.set("touch",n.touch),"fullControls"!=n.viewMode&&"minControls"!=n.viewMode&&(U.vast=null,U.preroll=null,U=i(U))});var s=new MHP1138.SkinLoader(e,U);F.container=s.playerContainerElement,F.wrapper=s.videoWrapper,F.element=s.playerElement,F.source=s.playerElementSource,F.poster=s.playerPoster,R=MHP1138.skins[U.skin](s.selectors),new MHP1138.VideoErrorController(F.container,E,U),o()}function t(e){return S(e,{mainRoll:{mediaPriority:"mp4"}}),e}function n(e){return B&&S(e,{autoplay:!1}),e}function r(e){return C.isMobile()&&S(e,{autoplay:!1}),("ios"!==D.os||"ios"==D.os&&O<e.features.minIOSforPreroll||!e.features.basicPrerolls)&&S(e,{vast:null,preroll:null}),e}function i(e){return C.isSmartTV()&&(P.noPlayer||S(e,{autoplay:!0})),e}function o(){var e,t,n=U.vast&&U.vast.length;F.sourceModel=new MHP1138.SourceModel(U,C),t=F.sourceModel.getDefault(),F.sourceUrl=F.sourceModel.getDefaultUrl();var r={get:function(){return F.element},getSource:function(){return F.element}};e=n?new MHP1138.AdsRollModelCMS(U,t.quality):new MHP1138.AdsRollModelTJ(U,E,t.quality),e.requestData().then(function(t){if(F.ads=new MHP1138.AdsRollControllerTJ(e,U,P,r,E),F.sourceUrl=F.ads.getSourceUrl()||F.sourceUrl,!F.sourceUrl)return P.set("error",!0),void w("onVideoUnavailable",{message:"noSources"});F.element.src=F.sourceUrl;var n=k.get("volume");n&&M.isNumber(n.volume)&&M.isBoolean(n.isMuted)&&(F.element.volume=n.volume/100,F.element.muted=n.isMuted,P.set("muted",n.isMuted)),R.init(F,P,E,{sourceModel:F.sourceModel}),s(),w("onReady",{playerType:F.type,element:F.container}),P.set("ready",!0),U.startOffset&&U.startOffset>0&&f(U.startOffset,!0),F.element.onloadeddata=function(){w("onVideoReady",{playerType:F.type,element:F.container})},P.set("created",!0),U.autoplay&&(A(),_(F.container,"isPlaying"))})}function a(e){"ie"==D.name&&D.version<=9&&M.purge(F.container),F.element.ondurationchange=function(){},F.element.ontimeupdate=function(){},F.element.onprogress=function(){},F.element.onwaiting=function(){},F.element.onpause=function(){},F.element.onplaying=function(){},F.element.onseeked=function(){},F.element.oncanplay=function(){},F.element.onended=function(){},F.container.parentNode.removeChild(F.container),e()}function s(){var e={playerType:F.type,element:F.container};F.element.ondurationchange=function(e){
F.duration!=this.duration&&u(this.duration)},F.element.onplaying=F.element.onplay=function(){F.ads.deferred()&&u(N),w("onPlay",e),w("hideRoll",e),P.set("playing",!0),P.set("playAfterSeek",!1)},F.element.onpause=function(){P.set("playing",!1),w("onPause",e),parseInt(F.element.currentTime,10)>=parseInt(F.element.duration,10)&&w("showPauseRoll",e)},F.element.onseeked=function(){P.get("playAfterSeek")&&(A(),P.set("playAfterSeek",!1))},F.element.ontimeupdate=function(){var e=F.element.currentTime,t=Math.floor(F.element.duration)-Math.floor(e);t<4?(0==P.get("onPlaylistCountdownLastTimeFired")&&0!==t||t==P.get("onPlaylistCountdownLastTimeFired")-1)&&(self.onPlaylistCountdownLastTimeFired=t,w("onPlaylistCountdown",{playerType:F.type,element:F.container,count:t})):P.get("onPlaylistCountdownLastTimeFired")>0&&P.set("onPlaylistCountdownLastTimeFired",0),w("onTimeChange",{time:e,duration:F.element.duration})},F.element.onended=function(){w("onEnd"),w("showPostRoll",e),P.set("playing",!1)},T("hidePreRoll",function(){F.element.currentTime=0,F.duration=U.mainRoll.duration,c(F.sourceModel.getCurrent()),F.element.setAttribute("playsinline",""),A()}),F.element.onvolumechange=function(){var t=Math.round(100*F.element.volume),n=F.element.muted;P.set("muted",F.element.muted),w("onVolumeChange",M.extend(e,{volume:t,muted:n})),p(t,n)},I&&d(),F.element.onerror=function(e){var t={1:"MEDIA_ERR_ABORTED",2:"MEDIA_ERR_NETWORK",3:"MEDIA_ERR_DECODE",4:"MEDIA_ERR_SRC_NOT_SUPPORTED"},n=e.message||"",r=e.code||!1;e.target&&e.target.error&&e.target.error.code&&(r=r||e.target.error.code),n=n+t[r]||"",P.set("error",!0),w("onMediaError",{e:e.type,data:e,isAdaptive:!1,message:n,code:r}),w("onVideoUnavailable",{message:"onerror"})}}function l(e,t){var n=F.sourceModel.setQuality(e);n&&(P.set("selectedResolution",e),P.set("selectedFormat",n.format),w("onQualityChange",{src:n.videoUrl,resolution:e,format:n.format}),w("hideRoll"),c(n)),M.isFunction(t)&&t()}function c(e){var t=e.videoUrl,n=F.element.currentTime,r=g();F.source.src=t,F.element.load(),n&&f(n,r)}function u(e){__.isNaN(e)&&(e=0),F.duration=parseFloat(e),w("onDurationChange",{duration:e})}function d(){var e=C.getBrowser();M.isUndefined(e.version)||e.version<=7}function p(e,t){k.set("volume",{volume:e,isMuted:t})}function f(e,t){function n(){F.element.removeEventListener("canplay",n),F.element.currentTime=e,t&&A()}if(e=parseFloat(e),e>F.duration&&(e=F.duration),M.isNaN(e))return!1;var r=F.element.currentTime;P.set("playAfterSeek",t),0==F.element.readyState&&F.element.addEventListener("canplay",n),h(),C.isIe()?F.element.removeEventListener("load",function(){F.element.currentTime=e}):F.element.currentTime=e,w("onSeek",{from:r,to:e,duration:F.duration}),w("hideRoll")}function A(){F.element.play()}function h(){F.element.pause()}function g(){return!!P.get("ready")&&!F.element.paused}function m(){return P.get("ready")}function v(e){F.element.muted=e}function y(){var e=F.element.currentTime;return Math.round(e)}var b,E,w,T,S,x,_,M,k,P,R,C=MHP1138.detector,L=C.isIos(),B=C.isTablet(),I=L&&B,D=C.getBrowser(),O=parseInt(D.osVersion,10),U={},H=function(e){function t(e){return e?a[e]:o}function n(e,t){b._.isUndefined(t)?(o=e,w("onStateChanged",{state:e})):(a[e]=t,w("onStateChanged",{state:e,flag:e,value:a[e]}))}function r(){return{currentState:o,flags:a}}function i(e){return a[e]=!a[e]}var o="",a={viewMode:"fullControls",noIcons:!1,noPlayer:!1,touch:!0,playAfterSeek:!1,volume:0,created:!1,ready:!1,muted:!1,playing:!1,autoplay:!1,playerType:"basicHTML5",onPlaylistCountdownLastTimeFired:0,bestResolution:null,selectedResolution:"",selectedFormat:""};return a=b.deepExtend({},a,e),{get:t,set:n,debug:r,toggle:i}},N=0,F={id:"",type:"basicHTML5",skin:"basic",settings:{},sourceUrl:"",duration:0,container:null,element:null,source:null,wrapper:null,poster:null,ads:null,sourceModel:null,setQuality:l,play:A,pause:h,seek:f,isPlaying:g};return{init:e,destroy:a,getCurrentState:function(){return P.debug()},mute:function(){v(!0)},unmute:function(){v(!1)},isReady:m,isPlaying:g,getCurrentTime:y,play:A,pause:h,seek:f,settings:function(){return U}}}}(window),MHP1138.skins.desktop.html=[],MHP1138.skins.basic.html=[],MHP1138.skins.image.html=[],MHP1138.skins.shared.html=[],MHP1138.skins.shared.html.push("<template class=gridTemplate><div class=gridContainer><div class=gridWrapper><% if ( gridTitle ){ %><div class=gridHeader><h3 class=gridTitle><%= gridTitle %></h3><i class='icon icon-menu-exit'></i></div><% } %><div class=thumbnailsGrid></div></div></div></template><template class=gridLinkTemplate><a href='<%= info.url %>' title='<%= info.title %>' draggable=false class=gridItem data-item-type=link><div class=gridThumb style='background-image:url('<%= info.thumbnail %>')'></div><%= template(info) %></a></template><template class=gridVideoTemplate><a href='<%= info.url %>' title='<%= info.title %>' draggable=false class=gridItem data-item-type=video><video autoplay loop muted><source src='<%= info.video %>' type=video/webm></video><%= template(info) %></a></template><template class=gridItemInfoTemplate><div class=info><div class=title><%= title %></div><div class=stats><div class=time><%= time %></div><div class=rating><i class='grid-icon grid-icon-thumb-up'></i><%= percentage %>%</div><div class=views><i class='grid-icon grid-icon-views'></i><%= views %></div></div></div></template>"),MHP1138.skins.shared.html.push("<template class=svg_hotspots><div class=hotspots><svg viewBox='0 0 1000 100' preserveAspectRatio=none><defs><clipPath id=hotspotsClip clipPathUnits=userSpaceOnUse><polygon/></clipPath></defs><g clip-path=url(#hotspotsClip)><rect class=hotspotsBg x=0 y=0 width=100% height=100% fill=rgba(33,29,27,0.58) /><rect class=hotspotsFill x=0 y=0 width=100% height=100% fill=#6d6d6d /></g></svg></div></template>"),MHP1138.skins.shared.html.push("<template class=logo_tube8><svg class=tube8 viewBox='1968 3562 2355 860'><path d='m4251 3994c0 202-164 367-367 367-202 0-367-164-367-367 0-202 164-367 367-367 202 0 367 164 367 367z' fill=#ccc /><circle cy=3994 cx=3884 r=349 fill=#fff /><path d='m4211 3994c0 180-146 327-327 327-180 0-327-146-327-327 0-180 146-327 327-327 180 0 327 146 327 327z' fill=#231F20 /><g opacity=.35><radialGradient id=a1_ gradientUnits=userSpaceOnUse cy=4736 cx=9218.8 gradientTransform='matrix(.4116 0 0 -.4116 0 588)' r=1019.6><stop stop-color=#fff offset=0 /><stop offset=.8681 /></radialGradient><path d='m4211 3994c0 180-146 327-327 327-180 0-327-146-327-327 0-180 146-327 327-327 180 0 327 146 327 327z' fill=url(#a1_) /></g><path d='m3810 4205c-114 0-206-91-206-203s92-203 206-203 206 91 206 203-92 203-206 203z' fill=#fff /><path d='m3810 3792c116 0 211 93 211 209s-94 209-211 209-211-93-211-209 95-209 211-209m0 11c-111 0-201 89-201 198s91 199 201 199 201-89 201-198-90-199-201-199z' fill=#231F20 /><path d='m1986 3816h345v91h-116v277h-114v-277h-116l1-91z' fill=#fff /><path d='m2331 3816v91h-116v277h-114v-277h-116v-91h346m0-19h-345c-10 0-19 8-19 19v91c0 10 8 19 19 19h98v258c0 10 8 19 18 19h114c10 0 19-8 19-19v-258h98c10 0 18-8 18-19v-91c-2-11-10-19-20-19z' fill=#231F20 /><path d='m2613 3816h113v219c0 22-3 42-10 61s-17 36-32 51c-14 14-30 25-45 30-22 8-49 12-79 12-18 0-37-1-58-4-21-2-39-7-53-15-14-7-27-18-39-32s-20-28-24-42c-7-23-11-44-11-62v-219h113v224c0 20 5 36 16 47s26 17 46 17 35-5 46-16 16-27 16-47l1-224z' fill=#fff /><path d='m2726 3816v219c0 22-3 42-10 61s-17 36-32 51c-14 14-30 25-45 30-22 8-49 12-79 12-18 0-37-1-58-4-21-2-39-7-53-15-14-7-27-18-39-32s-20-28-24-42c-7-23-11-44-11-62v-219h113v224c0 20 5 36 16 47s26 17 46 17 35-5 46-16 16-27 16-47v-224h114m0-19h-113c-10 0-19 8-19 19v224c0 16-4 27-11 34s-19 11-33 11c-15 0-26-4-33-12-8-8-12-19-12-34v-224c0-10-8-19-18-19h-113c-10 0-18 8-18 19v219c0 20 4 42 11 67 5 17 14 33 28 49 13 15 28 28 44 36 16 9 36 14 59 17 22 2 42 4 61 4 33 0 62-5 86-14 18-7 36-19 52-35s28-36 36-58c7-21 11-44 11-67v-219c0-9-8-17-18-17z' fill=#231F20 /><path d='m2792 3816h212c35 0 63 9 81 26 19 18 28 39 28 65 0 22-7 40-20 56-9 10-22 19-40 25 26 6 46 17 58 33s19 35 19 58c0 19-5 36-13 51-9 15-21 27-36 36-9 5-24 9-43 12-26 3-42 5-51 5h-196v-367h1zm115 144h49c18 0 30-3 37-9s10-15 10-26-3-19-10-25-19-9-36-9h-50v69zm0 144h58c19 0 33-3 41-10s12-16 12-28c0-11-4-20-12-26s-22-10-42-10h-58v74h1z' fill=#fff /><path d='m3005 3816c35 0 63 9 81 26 19 18 28 39 28 65 0 22-7 40-20 56-9 10-22 19-40 25 26 6 46 17 58 33s19 35 19 58c0 19-5 36-13 51-9 15-21 27-36 36-9 5-24 9-43 12-26 3-42 5-51 5h-196v-367h213m-98 144h49c18 0 30-3 37-9s10-15 10-26-3-19-10-25-19-9-36-9h-50v69m0 144h58c19 0 33-3 41-10s12-16 12-28c0-11-4-20-12-26s-22-10-42-10h-58v74m99-307h-212c-10 0-18 8-18 19v367c0 10 8 19 18 19h196c9 0 27-2 53-5 22-3 38-7 50-14 18-10 33-25 43-43s16-38 16-61c0-28-8-51-23-70-8-9-17-18-29-24 4-3 7-6 10-9 16-19 25-42 25-68 0-31-12-58-34-79-24-21-55-32-95-32zm-80 111h32c18 0 23 4 24 5 2 2 4 5 4 11 0 9-3 12-4 13s-6 5-25 5h-31v-34zm0 140h40c21 0 28 5 30 6 4 3 5 7 5 12 0 8-3 12-6 14-2 2-9 6-29 6h-40v-38z' fill=#231F20 /><path d='m3182 3816h304v79h-191v58h177v75h-177v72h196v83h-309v-367z' fill=#fff /><path d='m3486 3816v79h-191v58h177v75h-177v72h196v83h-309v-367h304m0-19h-304c-10 0-18 8-18 19v367c0 10 8 19 18 19h309c10 0 19-8 19-19v-83c0-10-8-19-19-19h-177v-36h158c10 0 19-8 19-18v-75c0-10-8-19-19-19h-158v-22h172c10 0 19-8 19-19v-79c0-8-8-16-19-16z' fill=#231F20 /><g fill=none><path d='m3788 4021h-3c-3 0-5 1-9 3-4 3-7 7-9 16 0 2-1 4-1 6 0 5 1 7 3 11 4 5 6 7 10 8h2c2 0 5-1 9-4 5-3 7-7 9-15 0-2 1-5 1-6 0-5-1-8-3-11-2-6-4-7-9-8z'/><path d='m3809 3917h-4c-2 0-4 0-6 2s-4 3-5 8v4c0 3 0 4 2 6s3 4 9 5h3c2 0 3 0 5-2s3-3 5-8v-4c0-3 0-4-2-6-1-2-2-4-7-5z'/></g><path d='m3734 3969c-10-8-17-17-21-26-5-12-7-24-4-37 4-22 18-38 42-48 18-7 41-9 67-4 35 7 60 19 74 35 14 17 19 35 15 56-2 12-8 22-16 31-7 7-16 12-28 18 13 9 22 21 26 33 5 13 6 26 3 40-2 13-8 25-16 35s-17 18-28 22c-10 5-22 7-35 7-14 0-28-1-43-4-28-5-49-13-62-22-14-9-23-21-28-35s-6-29-3-45c3-15 9-28 19-37 9-10 22-16 38-19zm17 67c-2 12 0 22 5 30 6 9 13 14 22 16s17 0 26-7c8-6 14-15 16-26 2-12 1-22-5-30-5-9-13-14-22-16s-18 0-26 6c-9 6-14 14-16 27zm26-113c-2 9 0 17 4 23 5 7 12 11 21 13 8 2 16 0 22-4s11-11 12-20c2-9 0-17-4-24-5-7-11-11-20-13s-16 0-23 4c-7 6-11 13-12 21z' fill=#231F20 /><path d='m4323 4203c-6-43-43-72-75-90-6-3-12-7-17-9-8-4-16-7-21-10-1 0-2-1-3-1-13 3-21 18-11 34 1 1 2 1 2 2 6 4 13 8 20 11 3 2 6 3 9 5 2 1 5 3 8 5 23 13 51 31 53 58 2 31-21 55-40 63-23 10-62 9-97 7-9-1-17-1-25-2-2 0-5 0-7-1-6-1-14-2-24-2-56-6-159-19-199-20-103-1-117 36-121 63-16-2-20-7-28-19 2 9 5 19 7 27 2 9 5 18 7 27 2 7 3 14 5 22 3 15 5 31 7 51 5-18 11-32 17-44 3-6 7-12 10-17 5-7 10-14 15-20 6-7 14-14 21-21-18 5-22 5-38 1 7-42 64-48 120-45 65 3 103 11 147 19 10 2 21 4 32 5 8 1 17 2 26 4 2 0 3 0 5 1 42 5 88 7 125-4 31-13 75-38 70-100z' fill=#981a20 /><path d='m4151 3562s13 57 4 79c0 0-3 27-67 52 0 0 25 54 72 65 0 0 38-46 32-100 0 0-3-42-41-96z' fill=#981a20 /><path d='m3614 3562s-13 57-3 79c0 0 3 27 67 52 0 0-24 55-72 66 0 0-38-46-33-100 0-1 4-43 41-97z' fill=#981a20 /></svg></template><template class=logo_youporn><svg class=youporn viewBox='0 0 300 44'><path class=st0 fill=#FFF d='M39.2.5l-15 21.8v21h-9v-21L0 .5h10.2l9.4 14L29 .4h10.2zM61 .5c13 0 22 9.8 22 21.5 0 12.7-10 21.5-22 21.5-13 0-21.8-9.7-21.8-21.5C39.2 9.8 48.8.5 61.2.5zm0 35c8 0 12.6-6.2 12.6-13.5 0-8-5.4-13.4-12.5-13.4-7.8 0-12.5 6-12.5 13.4 0 7.3 5 13.4 12.6 13.4zM127 .5v23.3c0 11-7.2 19.7-18.6 19.7-11 0-18.6-8.5-18.6-19.7V.5h9v23c0 5.7 3 11.7 9.6 11.7 6.4 0 9.6-5.6 9.6-11.8V.4h9z'/><path class=st1 fill=#EC6397 d='M153.7.5c6.3 0 11.7 5 11.7 11.6 0 6.4-5 11.7-11.7 11.7h-14.2v19.8H136V.5h17.7zm-.2 20c4.3 0 8.4-3.5 8.4-8.3C162 8 158 4 153.4 4h-14v16.4h14zM255 43.5l-11.4-19.8H231v19.8h-3.6V.5h17.8c6.3 0 11.7 5 11.7 11.6 0 5.6-3.8 10-9.4 11.4l11.7 20H255zm-24-23h14c4.2 0 8.3-3.5 8.3-8.3 0-4.3-3.7-8.2-8.4-8.2h-14v16.4zM300 .5v43h-2.5l-28-36.8v36.8H266V.5h2.4l28 36.8V.5h3.6zM196.4 43.5c-.4 0-.8 0-1-.4-9.3-7.3-24.8-22-24.8-30.2 0-3.3 1.3-6.4 3.6-8.7C176.5 2 179.6.6 183 .6c4 0 7.5 2 10 5l3.4 5 3.5-5c2.2-3 6-5 10-5 3.2 0 6.3 1.3 8.6 3.6 2.3 2.4 3.6 5.5 3.6 8.8 0 8-15.6 22.8-24.7 30.3-.4.4-.7.5-1 .5zM183 4c-2.5 0-4.7.8-6.4 2.5-1.7 1.7-2.6 4-2.6 6.3 0 5.4 11.3 17.6 22.4 26.7 11-9 22.4-21.3 22.4-26.7 0-2.4-1-4.6-2.6-6.3-1.7-1.7-4-2.6-6.3-2.6-3 0-5.6 1.2-7.3 3.6l-5 6.7c-.2.4-.7.7-1.3.7-.5 0-1-.3-1.4-.7l-5-6.7C188.5 5.3 186 4 183 4z'/></svg></template><template class=logo_redtube><svg class=redtube viewBox='0 0 2949 577'><g fill=#fff><path d='m1349 0h367v49h-157v514h-54v-514h-157v-49z'/><path d='m2127 380c0 129-62 197-187 197s-187-68-187-197v-380h54v379c0 110 49 149 134 149s134-40 134-149v-379h54v380z'/><path d='m2174 0h202c149 0 168 100 168 132 0 74-32 112-103 126v2c83 8 123 73 123 147 0 81-54 157-183 157h-208v-564zm53 237h133c82 0 130-33 130-95 0-70-41-93-125-93h-137v188zm0 277h155c92 0 128-54 128-108 0-71-52-120-147-120h-136v228z'/><path d='m2600 0h332v49h-278v199h98v49h-98v217h295v49h-349v-563z'/></g><path d='m501 0h366v98h-260v128h124v94h-124v146h281v98h-387v-564z' fill=#AE2024 /><path d='m939 0h156c195 0 277 120 277 282 0 184-89 282-257 282h-176v-564zm106 465h55c104 0 161-38 161-184 0-111-48-184-164-184h-52v368z' fill=#AE2024 /><path d='m339 336c27-10 112-40 112-166 0-99-70-170-190-170h-199l134 93h35c74 0 108 33 108 85 0 53-39 85-93 85h-52l-132 91v209h107v-207h64l109 207h123l-126-227z' fill=#AE2024 /><polygon points='0 41 195 178 0 314' fill=#AE2024 /><defs><filter id=Adobe_OpacityMaskFilter height=563 width=1372 y=0 x=0 filterUnits=userSpaceOnUse><feColorMatrix values='1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 1 0' type=matrix /></filter></defs><mask id=a1_ height=563 width=1372 y=0 x=0 maskUnits=userSpaceOnUse><g filter=url(#Adobe_OpacityMaskFilter)><radialGradient id=a2_ gradientUnits=userSpaceOnUse cy=-37.753 cx=.7542 gradientTransform='matrix(.9447 -.869 1.3413 1.4581 85.667 44.719)' r=501.25><stop stop-color=#fff offset=0 /><stop stop-color=#EFEFEF offset=.043581 /><stop stop-color=#A8A8A8 offset=.2516 /><stop stop-color=#6C6C6C offset=.4476 /><stop stop-color=#3D3D3D offset=.6259 /><stop stop-color=#1C1C1C offset=.7831 /><stop stop-color=#070707 offset=.9131 /><stop offset=1 /></radialGradient><path d='m831-545c371 404 460 926 199 1166-262 241-775 108-1146-295-371-404-460-926-199-1167 262-240 775-108 1146 296z' fill=url(#a2_) /></g></mask><g fill=#C97175 mask=url(#a1_)><polygon points='501 0 868 0 868 98 607 98 607 226 732 226 732 320 607 320 607 465 888 465 888 563 501 563'/><path d='m1095 0h-156v563h176c168 0 257-98 257-282 0-161-82-281-277-281zm5 465h-55v-367h52c115 0 164 73 164 184 0 145-57 183-161 183z'/><path d='m339 336c27-10 112-40 112-166 0-99-70-170-190-170h-199l134 93h35c74 0 108 33 108 85 0 53-39 85-93 85h-52l-132 91v209h107v-207h64l109 207h123l-126-227z'/><polygon points='0 314 195 178 0 41'/></g></svg></template><template class=logo_pornhub><svg class=pornhub viewBox='725 3310 4666 1308'><path d='m5295 3310h-1898c-59 7-92 43-97 109v1091c5 66 38 102 96 109h1899c59-7 91-43 96-109v-1092c-5-65-38-101-96-108z' fill=#f90 /><path d='m3960 3812c-15-20-35-37-63-50-25-11-54-18-84-19h-2c-63-3-145 15-184 52v-257h-151v790h151v-287c0-48 5-85 14-109s24-43 44-55 42-18 67-18c22 0 41 5 55 15 15 9 24 22 31 38s8 54 8 114v302h151v-336c0-51-2-90-8-114-5-23-15-46-29-66z'/><path d='m4455 3998c0 82-4 133-11 155-8 21-21 39-42 53-21 15-44 21-70 21-23 0-41-5-56-16s-25-25-31-43c-5-18-8-67-8-148v-263h-151v363c0 54 7 96 21 127s36 54 67 71c31 17 65 25 103 25 6 0 11 0 17-1h1c96-3 147-47 172-76v63h141v-573h-151l-2 242z'/><path d='m5190 3819c-32-36-76-58-122-69-14-4-29-6-46-7-62-5-142 19-180 50l9-256h-151v790h140v-44c32 26 85 57 164 57h9 6c67 0 123-27 170-80s70-129 70-226c-1-92-24-164-69-215zm-123 361c-24 28-52 43-86 43-44 0-78-20-105-60-18-28-28-72-28-132 0-57 12-100 36-129 24-28 54-42 90-42 37 0 67 15 91 44s36 77 36 142c2 60-10 104-34 134z'/><g fill=#fff><path d='m1194 3495c-31-8-98-12-200-12h-269v832h168v-314h109c76 0 134-4 174-12 30-6 59-20 87-40s52-47 70-82c18-34 28-78 28-129 0-66-16-120-48-162-32-41-71-69-119-81zm-24 310c-13 18-30 32-53 41-22 8-67 13-133 13h-92v-236h81c60 0 101 2 121 5 28 5 50 17 67 37 18 20 27 44 27 75 1 25-5 46-18 65z'/><path d='m1706 3698c-59 0-112 13-160 39s-85 64-111 113c-26 50-39 101-39 154 0 69 13 128 39 176s64 85 114 109c50 25 103 37 158 37 90 0 163-30 222-90s88-135 88-226c0-90-29-165-87-224s-132-88-224-88zm106 452c-28 32-63 47-105 47-41 0-77-16-105-47-28-32-43-77-43-137s15-106 43-137c28-32 63-47 105-47s76 16 105 47c28 32 42 77 42 136 0 60-14 106-42 138z'/><path d='m2356 3700c-47 6-93 44-112 68v-57h-148v602h159v-186c0-103 5-170 13-202 9-32 21-54 37-67s34-18 57-18c23 0 48 8 75 26l50-139c-34-20-69-30-105-30-9 1-17 1-26 3z'/><path d='m3116 3832c-6-25-16-47-31-67s-37-36-66-48c-29-13-61-19-96-19-63-4-168 21-198 70v-57h-148v602h159v-273c0-67 4-113 12-138s23-45 45-60 47-23 74-23c21 0 40 5 55 16s27 25 33 44c7 19 10 61 10 126v308h159v-374c0-46-2-82-8-107z'/></g></svg></template><template class=logo_thumbzilla><svg class=thumbzilla viewBox='725 3310 4666 1308'><path d='m5295 3310h-1898c-59 7-92 43-97 109v1091c5 66 38 102 96 109h1899c59-7 91-43 96-109v-1092c-5-65-38-101-96-108z' fill=#f90 /><path d='m3960 3812c-15-20-35-37-63-50-25-11-54-18-84-19h-2c-63-3-145 15-184 52v-257h-151v790h151v-287c0-48 5-85 14-109s24-43 44-55 42-18 67-18c22 0 41 5 55 15 15 9 24 22 31 38s8 54 8 114v302h151v-336c0-51-2-90-8-114-5-23-15-46-29-66z'/><path d='m4455 3998c0 82-4 133-11 155-8 21-21 39-42 53-21 15-44 21-70 21-23 0-41-5-56-16s-25-25-31-43c-5-18-8-67-8-148v-263h-151v363c0 54 7 96 21 127s36 54 67 71c31 17 65 25 103 25 6 0 11 0 17-1h1c96-3 147-47 172-76v63h141v-573h-151l-2 242z'/><path d='m5190 3819c-32-36-76-58-122-69-14-4-29-6-46-7-62-5-142 19-180 50l9-256h-151v790h140v-44c32 26 85 57 164 57h9 6c67 0 123-27 170-80s70-129 70-226c-1-92-24-164-69-215zm-123 361c-24 28-52 43-86 43-44 0-78-20-105-60-18-28-28-72-28-132 0-57 12-100 36-129 24-28 54-42 90-42 37 0 67 15 91 44s36 77 36 142c2 60-10 104-34 134z'/><g fill=#fff><path d='m1194 3495c-31-8-98-12-200-12h-269v832h168v-314h109c76 0 134-4 174-12 30-6 59-20 87-40s52-47 70-82c18-34 28-78 28-129 0-66-16-120-48-162-32-41-71-69-119-81zm-24 310c-13 18-30 32-53 41-22 8-67 13-133 13h-92v-236h81c60 0 101 2 121 5 28 5 50 17 67 37 18 20 27 44 27 75 1 25-5 46-18 65z'/><path d='m1706 3698c-59 0-112 13-160 39s-85 64-111 113c-26 50-39 101-39 154 0 69 13 128 39 176s64 85 114 109c50 25 103 37 158 37 90 0 163-30 222-90s88-135 88-226c0-90-29-165-87-224s-132-88-224-88zm106 452c-28 32-63 47-105 47-41 0-77-16-105-47-28-32-43-77-43-137s15-106 43-137c28-32 63-47 105-47s76 16 105 47c28 32 42 77 42 136 0 60-14 106-42 138z'/><path d='m2356 3700c-47 6-93 44-112 68v-57h-148v602h159v-186c0-103 5-170 13-202 9-32 21-54 37-67s34-18 57-18c23 0 48 8 75 26l50-139c-34-20-69-30-105-30-9 1-17 1-26 3z'/><path d='m3116 3832c-6-25-16-47-31-67s-37-36-66-48c-29-13-61-19-96-19-63-4-168 21-198 70v-57h-148v602h159v-273c0-67 4-113 12-138s23-45 45-60 47-23 74-23c21 0 40 5 55 16s27 25 33 44c7 19 10 61 10 126v308h159v-374c0-46-2-82-8-107z'/></g></svg></template><template class=logo_xtube><svg class=xtube viewBox='0 0 518.9 263.4'><defs><linearGradient id=a x1=193.3 x2=193.9 y1=206 y2=206 gradientTransform='matrix(1 0 0 -1 0 598)' gradientUnits=userSpaceOnUse><stop offset=0 stop-color=#e5654a /><stop offset=1 stop-color=#c1222a /></linearGradient><linearGradient id=b x1=219.1 x2=222.3 y1=213.4 y2=213.4 xlink:href=#a /><linearGradient id=c x1=161.5 x2=391.1 y1=300.5 y2=300.5 xlink:href=#a /></defs><path fill=url(#a) d='M193.3 392c.4.4.5.2.6 0s-.5-.4-1 0z' transform='translate(-161.5 -165.8)'/><path fill=url(#b) d='M219 386.6c1.2 0 3-2.7 3.4-4-1.7 0-3.2 2-3.3 4z' transform='translate(-161.5 -165.8)'/><path fill=url(#c) d='M201.7 334a2.3 2.3 0 0 1 .4-2c-1.6 1.3-3.6 3-3.2 5a.4.4 0 0 0-.5 0h.3q-.7-.4-.6.4c-1-.2-5 5.6-5.3 6.4s.3.4.8.3l-4.6 4c3.5 1 0 1 .5 1s-4.4 1-2.2 3q-3.2.8-2 3c.4-.5.7-1.4 1.4-1-1.5 3.3-4.4 2-6.4 4 .5 1 1.7 0 2.6.6s-1.7 0-2.3.8.6 0 1.2.3q-1.7 4.7-3.8 2.2c.8 1 .3 2.5-1.2 4-1-.4.7-1.4-1-1.6l-7.5 8.6a101.8 101.8 0 0 1-6.7 9.3c4 .7 5-7 9.2-7.8q-8 4-3.2 7c-2 .5-2.7 1.7-4.3 3 1.8 0 2.4-1.4 3.6-2.5 2.7 4.8-2.6 3.6 5 5.7 1.4-5 7.4 0 8.4 1.2-.6 0-.7-1-1.2-1s1 1.4 2 2.2 6.5 2 6.5 2c-4.7.8 6 5 4 0-.5.3 3.3-.3 3.2-.3s-.4 0-.5 0l9.2-8.2s.4 1 1 1.6-1-2 1-.8q4-1.5 2.2-4.5c.7.7 0 .4 0 1 6-1.6 9.7.3 14-6.7q-1.4.5-2-.4a3 3 0 0 1-.6 1.5 2.4 2.4 0 0 1 .4-2 12.6 12.6 0 0 0 3 .2l-.2-.3c.6.2 1.2-2 1.7-1-1.3 3-24.6 22-22 24.6 1.7-1.3 5.7-5.6 8-5.4v.2l.7-.3a1.8 1.8 0 0 1-1-.3 8 8 0 0 0 3-3.2l-1.5 2.8q2 .4 2.8-2c2 5 5.2-1 4.6-2s-.8 1.5-1.7 1.6c-.3-2.4 3-3.5 2-5.7-.5.3-.2 1-.7.8s1-1.8 1.5-1.6a1 1 0 0 0 .4 1s5.3-6 2.4-6.3q.6 3.6-3.4 3.6c2.4-2.8 2.6-4.4 5-6.4a2.5 2.5 0 0 1-1 3.6c.5-.2 3.5-2.3 2.5-3.4 1 .2 1.6.6 1.4 2q6.6-3.7 4-8.4-.4 2.4-3.3 3.3c-2.2-1.4 8.7-8.3 8.5-12-.4 1-1 1-1.3.5 2.6-.8 9.3-14 9.3-13.2s0 .7.4 1c0-1.6.7-4 2-4-.2.4-1.4 1.2-1 1.6s5.3-3.7 4.5-4-.4 2-1 .5a14 14 0 0 1 1.7-3.5c-.3-1-.8 1-1.2.4s17-20.7 15.7-21.4-1 1.6-1 2.2c3.3-2 8-11.8 11.6-14.8.6 6.5 16.5 22.4 19.3 25.7l-2-1c-1.5 2 2.8 3 3.2 2.6l-.3-.5c1.4 1.5 2.7 2.7 3 5-.3.3-.6-.4-1-.6s8 12.8 9 13.6-.6-1 .2-1a7.3 7.3 0 0 1 1.4 2c.5-.3 0-.6 0-1s3.7 2 2 1.3c1.3-.8-2.6-4.6-2.6-5.5s-.3-.5-.5-1l-.4.3c-.3-.4 0-1-.3-1.2v-.2a3.3 3.3 0 0 1 0-1.3c.2.2 1 1.7 1.8.2h.3a2 2 0 0 0-.5.5q.7.3.6 0c2 5 24.4 39.5 29.8 39a.4.4 0 0 1 0-.5c-.4-.8 1-.3 1-1.3s1.2 1 .6 2.4q3-2.2-2.4-5v.5l-1.7-1a6.3 6.3 0 0 0 .5 1.6c-6-.8.6-3.4 0-3 .8 2-2-4.2-2-1.6-1-2-1-2-1.5 0a16 16 0 0 1-2-2.7 4.4 4.4 0 0 1 3 0s-3.2-3-3.3-2.8a1.4 1.4 0 0 1 .6.6q-1.4 1.5-1.4-.6a1.4 1.4 0 0 0 .7 1c0-1-.7-2.5-1.5-1.8l.5.4c-.8.4-1.2-.8-1.2-1.7s.7 0 .6-.3.4 0 1 .4-.5 0-.4.5 0 1.3.7.2-12-21-15-20c0 .7.6.8.5 1.8a6 6 0 0 1-2.8-3.2c.4-.5.6.4 1 0-1.5-1-4.5-2.4-3.7-4a.3.3 0 0 0 0 .3q.5 0 .2-.3l.2.3c.4-.5 1 .3 1 .2l.2.2c0 .2-.3.5 0 .7s.3 0 0-.4l.3.3c1-1-1-3-.8-4.4a1.5 1.5 0 0 0 .2.5c.4-.4 0-.4.6 0a3.7 3.7 0 0 0 1 1l.2-.4a1 1 0 0 0 .3.5c2.6-3 1.3 0 2.4 2.8 1.4-1 .5-.8 1.3 1 .7-.4.6-.3.6-.7s0 1.5 1 .8-3 1-2.5 0a1 1 0 0 1 .8 1.3c-.4 0-.6-1-1 0 1.8 2.4 5 4 4.7 7 .7-.4-1-3.3 0-4a.8.8 0 0 1-.7-.8v-.2a2.4 2.4 0 0 0 1.4 1 1.6 1.6 0 0 0 0-.4 2.8 2.8 0 0 0 1.5 1.5c0-1.5-1.8-1.3-2-2.7a1.6 1.6 0 0 0 .3 1.2q-1.7-.7-.5-2c2.6 2.2 1.5 5.7 3.7 5.3-.3 1 .4 1 1.2 1a4 4 0 0 0 1.4 4 .5.5 0 0 0-.7-.2v.2c.4.3-1-3.3-1-1.5a.8.8 0 0 0-.4.6c.4 0-1-2.6-1-1.7s4.7 2.7 3 4.8c.2.8.7.6 1 .7a1.5 1.5 0 0 0-.2-1c.7-.4.4-.8.3-1s.6 1.3 1 1.8-.3-.6-.6-.3a10.8 10.8 0 0 0 2 6c-.3-1 .4-.7.2-2 .5 1-1.5 3 1.2 3a1 1 0 0 1 0-1c1.7 2.3 2.8 4.4 4 6l.5-.5a2 2 0 0 1 .4 1.7c.7-.3 0-.8 0-1.2l.8 1.2.5-.6a2 2 0 0 1 .3 1.8c.7-.5-.3-1 0-1.5q7.6 4 4 7c2.6-.4 2 4 1.8 4.4s.3 2 1.2 1.4a2.2 2.2 0 0 1-.4-1.5c.8-.3.5.3 1 .7-2 1 4.8 6.6 4.8 7 4.4 1.4 1-1 1.4 1q6.6-.8 8 8.7c0-.5-1-1-.8-1.6a11.6 11.6 0 0 0 2.4 2.7c-.2-.6-1-1.2-.8-1.7s.5.3.7 0q-4.8-2-2.3-4a33.5 33.5 0 0 1 3 5.5c-.2-.5-.5-.7-1-.4a2.8 2.8 0 0 1 1.3 3 .5.5 0 0 1 0-.7 3.4 3.4 0 0 1 1.6 1.6 1.4 1.4 0 0 1 0-.5c1.4 2.3 8.3 13 9 12.5v-.3c1 .3 2 2.4 3.2 3a5.7 5.7 0 0 1-.8 0c1.6 3.3 6.4 12 8.3 11 0-.7-.7-1.4-.3-2s.2.8 1 .6a5.5 5.5 0 0 0-2-4.3 2 2 0 0 0 .3 2.8c-2-1.2 1-6.7 2-8.5v-.7c.4.2 1.5 2 2 2a.5.5 0 0 1-.2-.5 1 1 0 0 1 1 1 1.6 1.6 0 0 0 2.2 0 7.7 7.7 0 0 1-1.7-3 3 3 0 0 0-.5 1.5 2.7 2.7 0 0 1-.6-2 .5.5 0 0 1-.2.5c0-.7-.6-1.4-1-2l-.5 1c.8-6.7-2.7.7.6-1.4 0-2-1.5-3.3-2.2-4.8l-.5.6a14.4 14.4 0 0 1-1-1.6v.2a5 5 0 0 1-.3-1.2c.5.2.4.8 1.2.4-1.3-2-1-2.7-2.8-4.6a3 3 0 0 1 2.2 1 3 3 0 0 1-.7-2c0 .8 1 2.3 1.6 2.4s-2.2-4-2.7-4a2.5 2.5 0 0 0-.3 2 1.6 1.6 0 0 1-.2-1.6c-.6.6-3.8-7-3.8-7s1-.7 0-1.3a2.7 2.7 0 0 0-.2 1q-.7-1 0-1c-1-1.6-3-3.2-3-4.2s-1.3-1.4-1.4-1.6a.6.6 0 0 1 1 0c.3-.6-.7-.2-.3-1s.4 0 .6.5.3-1 0-1.4l-.5-.5-.5.3-.2-.4c.5.2.3-1 .8 0a.5.5 0 0 1 .5-.2c-1.7-1.5-4.3-12.2-6.6-7.4l-1-1.6h.2a4.2 4.2 0 0 1-1-3.3 14.6 14.6 0 0 0 1.2 2c1.7-1-.3-4.7-1.7-4.2v-.2q-.3.4-.5-.2a7 7 0 0 1 .8-.2c-.6-.3-.7.2-.6-1a2 2 0 0 0-.3 1c-.3-1.2-5-6.7-5-6.7a1.8 1.8 0 0 1 0 1c-1.3-1.2 1-2.4-.3-4-.7.4.2 1-.3 1.3s-2.4-6.4-3.4-7.2-1 1-.3 0-1.6 0-2-.8.3 0 .5-.2a.5.5 0 0 1-.4-.5c0 .3-1 .4-.8 0s-1 0-.7-1l-.2.5c0-.4.8-2 .5-2s.5.5 1 .2-1.6-1.6-2.5-.2a1.4 1.4 0 0 0 0-1c.2.4.5.6 1 .3s.3-1.2-.2-2L350 347q-1-1.6.6-1.6c2-.6 0-4.2-.8-3.7l-.4-.6.5.5c0-1-1-2.4-2-3a2.5 2.5 0 0 0 0 1 4.7 4.7 0 0 0-1.4-1.8 2.5 2.5 0 0 0 0 1 2 2 0 0 0-1.2-.8c-1.6-.8-1.8-1.5-1.7-1.4s2 1.8 1.4 1-2-9-5-8c0 .3-1.5-3.2-1.6-2.5s-.8 0-1.2-1a.7.7 0 0 1 .2 1q-1.4-1 .2-1.5a2.4 2.4 0 0 1-1-1.5 13.8 13.8 0 0 1-.2 1.7c-1.5-2-1.3-2.8-5-6.7a.5.5 0 0 0 .5 0c-.5 0-2-.5-1.6-1s-.6-.4-.4-1 .6 1 1 .7-1-4.4-1.5-3.8 1 0 0 .6-1.4-2-1.5-2 .7.3.3 1c-2-2.5-5-9-7.6-12.2 2-1.2-28.7-27.6-21-31.8-3-2 4-8 5-10a2 2 0 0 1 0 .5c2.7-3.7-1.4 1 3.4-6a1.3 1.3 0 0 1-.2 1.7 2 2 0 0 1 .5-1 1 1 0 0 0 .3 1.2c.4-.5 1.6-3 1-3.8a2.8 2.8 0 0 1-.3.8c-1-1 1-1.5.6-2 0-2.6 4.4-10 6-10.3h-.3c.5-.6 1.3-2.3 2-3.3.3-.8 1.7-4 1.4-2-.2.2 2.3-3.4 2-3.5s-.2.3 0 .5a11.8 11.8 0 0 1 1-2.5v.4a1.2 1.2 0 0 1 .2-1 1.6 1.6 0 0 1 0 .5c-.5.6 2-4 2-3s0 0-.4 0 .2-.6.4 0a18 18 0 0 1 2.5-4.5 1.7 1.7 0 0 1 0 .5c.6-1 3-3.4 3.3-4.5.3 1-2 7.5-2.6 8.4.6-1 1-2 1.6-2.5s-1 1.2-.7 1.8a32.2 32.2 0 0 0 2.3-4.6c.2.3-.4.7 0 1a42 42 0 0 0 3.6-9 1.2 1.2 0 0 1-1.3.8 1.4 1.4 0 0 0 .3-.7s-1.5 1-1 1.6a2 2 0 0 1 .6-.7c0 .3-.5 1-.5 1.4a2.5 2.5 0 0 0-2 1.3c1-2.8 2.3-6 4.6-7q-.4.2-.3-.3v.3q-.5-.7.4-1c-.4-.8 5-8.8 5.6-9.6s.7 0 .7.5 2-6 3-7.5.7 1.4 2-1.5l-.6.2c-.6-.7.4-1 1-1.4v.4q-.3-3.4 2.5-3.5c-.7.7-1.5 1.6-1 2 3-3 1.7-5.2 2-7.7-18.3 7.7 4.7 11.3-5 .3-1.2.2-.2 2-1.4 3-.8-1 1.6-2 0-3 0 .5-.6.7-1.2 1a28.7 28.7 0 0 0 3.2-6.4c-.8-.2-1.3.4-2.3-.4-.3.7.8.5.7 1.3-2 1-2.5-4-3.4 5.8.5 0 .7-.6 1.3-.3a6 6 0 0 1-.3 3c-1-.6-.3-1.2 0-2s-5 2-1.8-.7c-.7-.7-.8 0-1 .3-3.7-3 8.3-7.4 2.7-10.4.2.6-.5 1 .6 1.7s-1.3-.3-1-.7-7 5.8-8.6 7.2 0-.7-.7-1l-1.6 2.8c1.4.2 1-1 1.7-1.7 1 1 0 1.6-.5 2.4q-5.5-2 1.4-7.8c1.4-1-4 4-3 .7-.5-.3-.6.6-1 .8s0-1.6 1-1.3a1.2 1.2 0 0 1-.2-1.7c-7 10.7-9 11.8-15.6 8 0 1.4-1.3 1.7-1.3 3-.7-2 1.2-3.4 2-5.5-1-.5-1 .3-1.5.4s1-1 0-1.8a1.2 1.2 0 0 1-1 1.3c-.4-.2 0-.4 0-.6a3.5 3.5 0 0 0-3 3.5q.2-1.7-1-1.3c1.2-2.4 7.8-12 5-15.3-1.6 0-2.6 1.7-3.3 3.7l.6-1q0 1 .7.7a1.4 1.4 0 0 0-.2.5h.7a.8.8 0 0 0-.3 1l-2.7 4.6c-2.5-1.7-2.3 6.2-4.3 6a2 2 0 0 0-.2-1.2c-2.3 2-1.5 3.5-1 3.8s.4.8-.2.8.5.7-.2 1.2-.5-1-.4-1.2-3 8-3.4 8.5-1.5-.5-1.7.4.6-.6 1 0-2.7 0-2.2 2c-2-1 2-1.7.8-3.3 0 .5-3 3.2-1.2 4q-1-.4-1.5 1.5 1-.3.8 1a1 1 0 0 1 1-.7c0 .7-7 2.7-4.2 4s2.4 4.4.6 4c0-.8 1-.8.7-1.6-2 .2-1.3 3-3.6 2.7 0-.5.8-.4.4-.7s-.8 1.3-.5 1.6a1 1 0 0 1 1 0c0 .2-2.3 5.5-4 3.2q3.2-.2 1.3-3.3c-1.2 2.4-2.4 3-3 5.3a1.8 1.8 0 0 0 2.6-1.4q-3.7 3 .6 3.3c-2.5 2.2-5.2 10-9.4 11a.6.6 0 0 0-.5-1.2c.3 2-6 10-6.4 10.3a2.7 2.7 0 0 1 1 0c-1.4.4-3 1.6-2.3 2.7s.4-1.4 1-1-.2 4-.7 4.4a1 1 0 0 1-.6-1q-.4.3-.5-.7a3 3 0 0 1-1.4 2.7c-.7 0-.2-.4 0-.7h.3c0-.6-.5-1.2-1-.6s-1.4.3-2.2-1.6l-4-4.4v.5c-1-.7-.2-1.7-.5-2.2s-.5 1-1 .6h.2c0-.3-3-3-2-3.5s.6 1 1 .7a7.8 7.8 0 0 0-4.8-2.6c.3-.4 1 0 1.5-1s-1.2.5-1.6 0 .3-.3.7-.5-2.5-1.5-2.3-2-1.7-2.4-2-2.6 0 .6 0 1c-1-3-4.7-5-7-7h.3l-1.7-1c1-.8 1.3.7 2.6.6-4-5-9.8-9-15-13q2.8-1-2-3.6c-.5-.7-1-1.3-1.7-1s0 1.2.4 2.2-.5-1-1-.4 3 2.6 1.6 5c-4.2.7-3.7-3.5-4.3-5.7 1.2-1 1.3.8 0-.5a2.5 2.5 0 0 1 0-.6c-.3.4-.4-1-.8-.8a9.2 9.2 0 0 1-2-2h-1.7a1 1 0 0 1 1.2-.3c-.3-.4-.5-1.5-1-.7s3 4.6.6 4a1.6 1.6 0 0 0-.3 1c-.2-1-.3-1.7-1-2a.8.8 0 0 1-1 1c.4-1-3-1.6-3.7-2s0 1 0 1.3-.5-2-1.5-2.4a9.3 9.3 0 0 1-.2 1.4 8.4 8.4 0 0 0-2.5-1c.2 6.5.5.4-1.5 2.3-.3.7 1 .6.6 1.2s-1-.4-1 .2c1 1.8 1 1.8 3 3.3q-2 0-1.5 1-9-3.2-11.2-14.2a8.4 8.4 0 0 0 0 1l-1.5-2q2.4 2 0 2.5a1.2 1.2 0 0 1 .6 2c-.5-.7-6.5-7-4.8-5.7a6.6 6.6 0 0 1 .8 1.6 14.3 14.3 0 0 0-2.3-2.5c.6.8 1.4 1.8.6 3a.8.8 0 0 0-.8-.8 9.6 9.6 0 0 1 1.4 3.7c-.4-.4-4.6-6.6-6-5.7v.3c-.6-.5-1.2-1.5-1.5-1.3 16 40 1 5.3 2 10.8a77.4 77.4 0 0 0 2 12.8c-1 0-.5-.8-1-.8l-.8 1.5c-.5-1-1-1.7-1.6-1.5 3.8 5.2-2.2-.8-1.5-1 5.4 7.6 2 21.2 2.2 25q0 2 1 1.5a3.3 3.3 0 0 0 2 3 1.7 1.7 0 0 0 0-.5c2.3 3.3 1.6.7 1.3-.4s.8 0 1.3-.3c-1.6-1.5-2-1.5-3-3.3.4-.6.6.5 1-.3s-1-.3-.5-1c2-2 1.7 4 1.5-2.3.5-.4 2.3 1.5 2.5.8a1.2 1.2 0 0 0 .7.5 1.5 1.5 0 0 0 .2-.8c.3.7.3 1.6 1.3 1.8 1.2-1.4.6-1.3 1.5 0 2-1.5.4-.7 1.5 1a1.4 1.4 0 0 0 .5-.7 2.2 2.2 0 0 0 .4 1l.6-1a9.3 9.3 0 0 0 .8 2l1-1.7c0-.4 0 3.5 1.2 2.4s3 4.8 5.8 4.3c1.5-2.5-2.2-3.4-1.5-5s.5 0 .8.4 0-1-.5-2q2.5 2 .6 2.5c5.3 4 11 8 15 13-10 1.2-4.5-9.5-10-5.6.5-1-1-.6-.5-1.4l1.2.6q-1 .6 1 1.6c.2-.8-1-.5-.8-1.3 3.6 1.5 6 5.6 7.3 8s-.4-2 1.6 1l5 5c1-.4-.4-1 .4-1.4a2 2 0 0 1 1 2.5.5.5 0 0 0 .5-.4 2.7 2.7 0 0 1 0 1.4c.2-.4 0-.7.5-1a1.4 1.4 0 0 1 1 2c1.6-1.5.6.3.6.7s1.3-.5 1.7.3-1.6 0-1.8 1.2l2.2 1.3c-1.5 1 2.4 1.4 1 0 1.3 0 .7.7.2 1.2s.4 1.2.7.8 0-.6 0-.6a4.4 4.4 0 0 0 1.3.5q-1.4 1.4 1 1.8s.7.7.8.5c-.2 0 .5 1 1.3 1.4s.2 1 .3.2v.2c-.4.6.4 1.2.7.7 8.2 9.2-11 24.4-16 33a8.2 8.2 0 0 0 1 0c-1.4 2-2.5 3-4 5.3a1 1 0 0 0 1-.7 1 1 0 0 0-.4.6 1 1 0 0 1 1 0c-.3.8-2 2-2.6 1.7a1.5 1.5 0 0 0 .5-.5c-1.5-.6-1 1-1.5 1-2.3.3-6 6.2-6.5 8a.8.8 0 0 0-.8 1c-.6.6-2.3 2-1 1.5s-1.8 2.4-2 2.4.3-.6.5-.5a6.4 6.4 0 0 0-1.5 1.4h.3a.7.7 0 0 0-.5.3h.3c.3-1-2 2.3-1.6 2s0-.3 0-.4-.4.2 0 .3a10.5 10.5 0 0 0-2.4 2.7h.2c-.4.7-1.6 3.5-2.2 3.8 1 0 1-1 2-1m-2 3.7c-.7.7-1 1.5-2 1.5a.8.8 0 0 0 0-1.2s-.2.6-.4.5 0-1.5 1-1a1 1 0 0 0-.5.4m127-110.5a1 1 0 0 1 1-1.5l-1 1.4s.3-.7 0 0zm-142.8 8c0-.3-.5-1 0-1.2s1 1 0 1.5 0-.4 0 0zm36 14.7v-.2q.2 0 0 .2zm14.7 15.4a1.4 1.4 0 0 1-1-1c.5 0 1.5 1 1 1zm-.6-52.7c0 .2-2-.5-2.4-.7 2-1.7 7.4 2 8.2 6-2-2-4.3-3.3-5.7-5.6-.3.4 1.2 2.4 0 .2zM198.6 337c0 .3-.3 0-.5 0s.6 0 .6 0zm-1.2 1a.2.2 0 0 1-.3 0zm15-19.3l8-9.4s0 .5-.4.5.4-.5.5-.3zm172 94.3a1.2 1.2 0 0 1 .3 1.3c-.5 0-.4-.7 0-1.3s-.4.5 0 0zm-1 .7zm-.3-6.4l-.5-1a2 2 0 0 1 .7 1zM376 392q.8.5.4 1t-.4-1c.2.3 0 0 0 0zm-3-6.8l-.4.6-.6-.5a3 3 0 0 1 1 0c-.2.3-.4 0 0 0zm0-2a2 2 0 0 0-.2 1 6 6 0 0 1-1-2.5l1.2 1.6c0 .3-.3-.5 0 0zm-2-.8c2 2.3.5 2.5 0 1.7a.7.7 0 0 0 .7 0q-1-1-.6-1.6c.4.7 0 0 0 0zM358 359a6.5 6.5 0 0 0 .8 1q-1.4 0-.8-1c.2.3 0 0 0 0zm-.2-.6c0 .2-.4.3 0 0zm-58-22c.6-.5 1 0 1 .7a1.5 1.5 0 0 1-1-.4c.2 0 .4.3 0 0zm29.6 20a.5.5 0 0 1 .3-.6q.4.6-.3.5s.2 0 0 0zm56.8 59.2c-.5-.7-1.4-.5-2-2q.6 1.3 1.4-.3c-.5 1 .6 2 1.2 2.6a.8.8 0 0 1-.6-.7zm.8 2c-.2-.2 0-.4.3-.6a1 1 0 0 1-.2.8zm.4-1.6a1 1 0 0 0 0 .4 1 1 0 0 1-.5-1.7q1 1 0 1.2h.3z' transform='translate(-161.5 -165.8)'/><g fill=#fff><path d='M146 53.2v21.5h29v78.8l3 3a3 3 0 0 1 1.2 1l1.4 2c3.8 5 7 10.2 11 15s5.5 8.2 8 12.6l1.4 2.6 1.5 1.6V74.8H231V53.2h-85zm123.3 0v116.3c0 10.8 5.5 14.6 14.2 14.6s14.2-3.6 14.2-14.3V53.2h26V168c0 24-14 38-41 38s-41-14-41-38V53.2h27.5zM424.7 88v5c0 15.5-5.5 25.4-17.7 30.4 14.7 5 20.5 16.4 20.5 32.3V168c0 23.3-14.2 35.7-41.7 35.7h-43.3V53H384c28.5 0 40.7 11.4 40.7 34.7zM370 74.7v39.8h10.7c10.2 0 16.5-4 16.5-16V90c0-10.7-4.2-15.4-14-15.4H370zm0 61.4v46.5h15.7c9.2 0 14.2-3.7 14.2-15v-13c0-14-5.5-18.4-18-18.4h-12zM471.4 117H509v21.5h-37.6v44H519V204h-75V53.2h75v21.5h-47.6v42z'/></g></svg></template>"),MHP1138.skins.desktop.css=[],MHP1138.skins.basic.css=[],MHP1138.skins.image.css=[],MHP1138.skins.desktop.css.push('@font-face{font-family:\'desktop-icons\';src:url(data:application/x-font-ttf;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzJDWUunAAABjAAAAFZjbWFw4cSohQAAAjwAAAKIZ2x5ZoFAJBQAAAT0AAAORGhlYWRjnq2PAAAA4AAAADZoaGVhFAYMSgAAALwAAAAkaG10eLqe//0AAAHkAAAAWGxvY2EjZB/gAAAExAAAAC5tYXhwASYBNgAAARgAAAAgbmFtZY7SrP4AABM4AAACUnBvc3RTv5T6AAAVjAAAAQUAAQAAB9AAAAAADDX////+DDUAAQAAAAAAAAAAAAAAAAAAABYAAQAAAAEAAF2xULxfDzz1AAsH0AAAAAB8JbCBAAAAAHwlsIH////vDDUH0QAAAAgAAgAAAAAAAAABAAAAFgEqAAYAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAEIewGQAAUAAAKbBXgAAAEYApsFeAAAA8AAYgIEAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAQOAB4BUH0AAAALQH0QARAAAAAQAAAAAAAAAAAAAH0AAACMT//wfQAAALOwAACzsAAAfQ//8HKQAABlkAAAbtAAAITQAACUcAAAfQAAAGnv//DDUAAAw1AAAIOQAACmoAAApqAAAKagAAB9AAAAfQAAAAAAAFAAAAAwAAACwAAAAEAAABfAABAAAAAAB2AAMAAQAAACwAAwAKAAABfAAEAEoAAAAEAAQAAQAA4BX//wAA4AH//wAAAAEABAAAAAEAAgADAAQABQAGAAcACAAJAAoACwAMAA0ADgAPABAAEQASABMAFAAVAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAEMAAAAAAAAABUAAOABAADgAQAAAAEAAOACAADgAgAAAAIAAOADAADgAwAAAAMAAOAEAADgBAAAAAQAAOAFAADgBQAAAAUAAOAGAADgBgAAAAYAAOAHAADgBwAAAAcAAOAIAADgCAAAAAgAAOAJAADgCQAAAAkAAOAKAADgCgAAAAoAAOALAADgCwAAAAsAAOAMAADgDAAAAAwAAOANAADgDQAAAA0AAOAOAADgDgAAAA4AAOAPAADgDwAAAA8AAOAQAADgEAAAABAAAOARAADgEQAAABEAAOASAADgEgAAABIAAOATAADgEwAAABMAAOAUAADgFAAAABQAAOAVAADgFQAAABUAAAAAAGYAlgC0AOQBFgGkAboB0AHeArIDCAN4A+ID9gQMBCoFcAXkBhQGxAciAAAAAwAAAAAHCQfRABMAIwBGAAABISIOARURFB4BMyEyPgE1ETQuARMUBiMhIiY1ETQ2MyEyFhUBISIOARUUFjI2NTQ2MyEyFhURFAYjIgYUFjMyPgE1ETQuAQUH/F4rSCsrSCsDoitJKitIBBwT/F4UHBwUA6ITHAE1/F4rSSogLiAcFAOiExwcExchIRcrSCsrSAZyKkkr+sorSCsrSCsFNitJKvotFBwcFAU1FBwcFAH8K0grFyAgFxQbGxT6yhQcIC4gKkkrBTYrSCsAA/////8IxgfRABEAFQAZAAAlAS4BIgYHAQYUHgEzITI+ATQlIREhNSERIQiy/C0TQ01DE/wtEyZDJgenJkIn/Cz+4gEe/uIBHtYGsiEnJyH5TiFNQiYmQk1pAR6PAjwAAQAAAAAGGwfRAA0AAAkBJiIGFREUFjI3ATY0BfX8lSVlS0tlJQNrJgRAA2slSjP5KjNKJQNrJWYAAAAABAAAAAALOwfQAAUACwARABcAACkBESERIQEhESERIQERIREhESkBESERIQnE/okC7v6J+Sr+if6JAu4ITf6J/on6of0SAXcBdwLu/on+iQF3AXcB9AF3AXf9EgF3AXcABAAAAAALOwfQAAUACwARABcAAAEhESERIQEhESERIQERIREhESkBESERIQnEAXf9EgF39jwBdwF3/RIITQF3AXf0xQLu/on+iQLu/RIBdwF3/on+iQfQ/on+iQLu/on+iQAAAAP//wAAB9AH0AAaAEgAVQAAASIHBgAHBhAXFgAXFiA3NgA3NjUxNicmACcmAwYmJyY2NzY3Njc2LgEHBgcuASc2NzY3NhcWFxYXFg8BBgcGHgE3NjcWFwYHBhMOAS4CPgIeAgYD58u5tP7sTE9PTAEUtLkBlrqzARVMTgFOTP7rs7reSHceHhYxGzggBQkNIRQyJQQUBC0xQkAtMTUlKgwNHTQ4EgwHIBc2LxENNUBa7CBQTTYNHEBRTTUOHAfQT0z+7LS5/mq6s/7rTE5OTAEVs7rLy7m0ARRMT/nMGRQpK4aBSYRMEBoeAwsgIgkkCC0hLA8MBgYZHDA4TI2VNSYoAxAlLhsZNzNIA6ocEhU4Sko3ExU5S0kAAAAAAgAAAAAHKgfQAAIABgAACQERBSERIQXc+iQHKf6zAU0D6PwYB9BT+NYAAAACAAAAAAZZB9AAAwAHAAABESERIREhEQH0/gwGWf4MB9D4MAfQ+DAH0AAAAAEAAAAABu4H0AACAAAJAREG7vkSA+j8GAfQAAACAAD//wfQB9AAFACIAAABIicmJyY0NzY3NjIXFhcWFAcGBwYlEScmJyYnLgE3Njc2PwEnBwYHBgcGJyMmJyYnJi8BIQcGBwYHDgEnJicmLwEHFxYXFhcWBgcGBwYPAREXFhcWFx4BBwYHBg8BFzc2NzY3NhcxFhcWFxYfASE3Njc2Nz4BFxYXFh8BNycmJyYnJjY3Njc2NwPoW01MLC0tLExNtk1MLC0tLExNA405QhssGh8jAgESCh8avzU+HC0kKioBKxwYEwwWFP7zExYMFBgcVikkLRw+Nr4aHwsRAQIjHxosG0I5OEIbLBseJAIBEgofGr82PhwsJCorKxwYEwwXEwENExYMFBgdVSkkLRs/Nr8bHwsRAQIjHxosG0ICmy0sTE22TUwsLS0sTE22TUwsLcYBDhMWDBQYHFYpJSwcPja/Gx8KEgECEhIeGiwbQjk6QRssGh8jAgERCx8avzU/Gy0kKlUdGBMMFhT+8xMWDBQYHFYqJC0cPTa+Gh8KEgECEhIeGysbQjk4QhssGh8kAgESCh8bvzY+HCwkKlYcGBMNFgAAAQAA//8JSAfQADEAAAEhCQEhJicmJyYjIgcOAQcGEBceARcWID8BEwcGIyInJgAnJhA3NgA3NjMyFxYXFhcWCAQBRP3R/fgBQyI8S2l9n5CEfsU1ODg1xX6EASCERb5c1ebYxb/+2lBUVFABJr/F2JeckIiAa2YE7/2sAlRiUWU4RDUzuHh8/vJ8eLgzNTUc/uYoXE9MARWzugGWurMBFUxPQTxuZ4WBAAAAAAIAAAAAB9AH0AAsAEUAAAE+ATMyHgEUDgEiLgE1JQYjIi4BND4BMzIWFyU1ND4BMh4BFA4BIyImJwUUBxMiBwYABwYQFxYAFxYgNzYANzYQJyYAJyYEah5QLTlgOTlgcmA5/nA0TjlgOTlgOSxQHwF8OWByYDk5YDkpSRr+egX1y7m0/utMT09MARW0uQGWubQBFUxPT0z+67S5AwciJDlgcmA5OWA5yC05YHJgOSIfyBk5YDk5YHJgOR0azR4PBAtPTP7rtLn+arm0/utMT09MARW0uQGWubQBFUxPAAAAAf//AAAGnwfQAEMAAAEiBgcBNjU0JwEeATMyNzY3NjQnJicmIgcGBwYVFBcBLgEjIgcGBwYUFxYXFjMyNzY3AQYVFBcWFxYyNzY3PgEnJicmBWw0Xyj9qwcIAlknXzNUR0UoKiopRkemR0UpKgf9oydbMVNHRSgqKihFR1MzMC4nAlgHKihFR6dHRSgqASooRkcCZCEeAX0cJSAnAYEeISkpRUenSEUoKiooRUdTJBz+fRweKihGR6dHRSkpEBAe/n8ZJVNHRSgqKihFR6dHRigqAAACAAAAAAw1B9AAAwAHAAAxESERASERIQw1/on2uQlHB9D4MAZZ+x4AAgAAAAAKvgZZAAMABwAAAREhEQMhESEBdwlH+vitB1MBdwTi+x4D6P0SAAABAAAAAAg6B9AACQAACQEDASUJAQUBAwQdAoqsAj79C/7Z/tj9CwI+rAGI/ngC5AHxQQK6/UZB/g/9HAADAAD/7wpbB9AABQDRASkAABEhAREBIQEzHykVFxUPLiMHIyczPy89Ai8wIycjNzMDMx8RFQ8XKwEnMz8PNSc1LxE3MwIsApf9af3UBk4OG0NZWAwMVQsMQwsWQgoeKAgKExIJJBgICAcQCAYQBwcOLREEBhIRGwkJAQYNAwIDAwYsBgQXGBQIBx0QBwgICAcJEBs3MgpLFgwLCyIYGAw8GA0MDSUODFtDDRwoARchQgoVFQsfChQKCh46LiQZCQgJDwkYBxgHEA8OCA0OBhMtBAYEBh8MFwcDCwEHAwQHAgIOBAIJAhgaBAUEBD0MBwcGBw0IHAcHEAcvIgkSBwkFLQkJCglEFAoeCwoKFQtYFQoMAQ0oDShBPhcLF0soLQgJHyIQEgoFBAELAwUSCwYGDQ4XCQkaEzMKN0klMw0bGw0PAx1FKB8bEwwGFxYUAgQLAQQEAgYCAgQBBxQaHAEHBjEIDygSTwIMBaQBvfkOAb0FpAEGDxgEAyAFBSEHCygHFCAHCBESByQbCggKEgoKFAoKFE0hCwsuMWAxZg4MT0BLDA0MDBh2DAssLB8KCigUCQoJCgkJERswJwcvDgUHBhELCQUWBwQDBQoCAxAGAt4BBwICBAEHAwUDAgoUFhIPBAYFCwUSBhEHCw4NBw0PBhc+CAcICDwbPhoKLwocHic9ChY6ChM4CQkaCT0zCQkPB1YOBwgGCA4GGwcGCwchFwQLBwQIFgMFBAQXBQMHBQECAwEJAd791gMLEQkDCScaJwkIJDIeLCQYMSUMPQsNKxYKChQSGwgJFw8hBRwbCggCAwPeCQsMDgsIBBEWGwUEGAQJDicEBxwEBQkFDRsbFgUDBBgCBgsECd8AAgAAAAAINwdhAAUAXgAAESEBEQEhATMfEhUPFysBJzM/DzUnNS8RNzMCLAKX/Wn91AYiDShBPhcLFywfKC0ICR8iEBIKBQQBCwMFEgsGBg0OFwkJGhMzCjdJJTMNGxsNDwMdRSgfGxMMBhcWFAIECwEEBAIGAgIEAQcUGhwBBwYxCA8oEk8CDAWkAb35DgG9A3gDCxEJAwkWERonCQgkMh4sJBgxJQw9Cw0rFgoKFBMaCAkXDyEFHBoKCQEEA94JCwwOCwgEERYbBQQYBAkPJgQHHAQFCQUNGxsWBQMEGAIGCwQJ3wAAAAQAAAAACR0HYQAFAAkADgASAAARIQERASElBwE3JRcBJwEXAScBAiwCl/1p/dQJArn9droB3sb9TMUCs8b9TMUCswWkAb35DgG9wscCuMcCxv1LxgK1xv1LxgK1AAAAAAYAAAAAB1wGBgAfAD0ASgBXAGgAdQAAASEiDgEVERQeATMhMjY3EzYyFxMeATMhMj4BNREuAhMUBiMhIiYnAy4BIgYHAw4BIyEiJjURNDYzITIWFQUiDgEUHgEyPgE0LgEDIi4BND4BMh4BFA4BASIOARUUFhcWMj4BNTQnLgEDIi4BND4BMh4BFA4BBrX6ViVCJydCJQGQLEYTdR1sHXUTRiwBkClFKAgwRhokHv5wEhoGdRJZZlkTbAYhE/5wGiEiGQWqGij7cj5nPDxne2g8PGg9JUInJ0JKQSckQQLOPmc8PDM1e2c8IB9pOSVBKChBSkEoKEEGBilFKPydKUUoMCwBIzs7/t0sMChFKQNjKUUo/AcbKBcTASQxOzsx/twSGCQfA2MaKCQeyD1rg2s9PWuDaz3+gClFUUUoKEVSRSgBgD1rQj1sHyE9a0E9NzVB/oApRVFFKChFUUUpAAADAAAAAAcgBd0AIAAuADwAAAEhIg4BFREUHgEzITI2NxM+ATIWFxMeATMhMjY1ETQmIwEiLgE0PgEyHgEUDgEjISIuATQ+ATIeARQOASMGuPpTGy4bGy8cAY0fMwxzD0FQQQ90CzMeAY0rPT0r+7MyVDExVGRVMTFVMgLwMlQxMVRkVTExVTIF3B0wHfyaHTAdJB4BISUuLiX+3x0lPiwDZiw+/SUzV2hXMzNXaFczM1doVzMzV2hXMwAAAAAAEADGAAEAAAAAAAEADQAAAAEAAAAAAAIABwANAAEAAAAAAAMADQAUAAEAAAAAAAQADQAhAAEAAAAAAAUACwAuAAEAAAAAAAYADQA5AAEAAAAAAAoAKwBGAAEAAAAAAAsAEwBxAAMAAQQJAAEAGgCEAAMAAQQJAAIADgCeAAMAAQQJAAMAGgCsAAMAAQQJAAQAGgDGAAMAAQQJAAUAFgDgAAMAAQQJAAYAGgD2AAMAAQQJAAoAVgEQAAMAAQQJAAsAJgFmZGVza3RvcC1pY29uc1JlZ3VsYXJkZXNrdG9wLWljb25zZGVza3RvcC1pY29uc1ZlcnNpb24gMS4wZGVza3RvcC1pY29uc0dlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAGQAZQBzAGsAdABvAHAALQBpAGMAbwBuAHMAUgBlAGcAdQBsAGEAcgBkAGUAcwBrAHQAbwBwAC0AaQBjAG8AbgBzAGQAZQBzAGsAdABvAHAALQBpAGMAbwBuAHMAVgBlAHIAcwBpAG8AbgAgADEALgAwAGQAZQBzAGsAdABvAHAALQBpAGMAbwBuAHMARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAWAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwEQAREBEgETARQBFQEWARcABGNvcHkFZXJyb3IMZmFzdC1mb3J3YXJkD2Z1bGxzY3JlZW4tZXhpdApmdWxsc2NyZWVuBGluZm8EbmV4dAVwYXVzZQRwbGF5B3F1YWxpdHkGcmVwbGF5C3NoYXJlLXJvdW5kBXNoYXJlCnNpemUtbGFyZ2ULc2l6ZS1tZWRpdW0Ec3Rhcgt2b2x1bWUtZnVsbAp2b2x1bWUtbG93C3ZvbHVtZS1tdXRlCHZyLWNsZWFyAnZyAAAAAAA=) format("truetype"),url(data:application/font-woff;base64,d09GRgABAAAAAA7QAAsAAAAAFpQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQQAAAFZDWUunY21hcAAAAYgAAAClAAACiOHEqIVnbHlmAAACMAAACcoAAA5EgUAkFGhlYWQAAAv8AAAAMwAAADZjnq2PaGhlYQAADDAAAAAeAAAAJBQGDEpobXR4AAAMUAAAAEIAAABYup7//WxvY2EAAAyUAAAALgAAAC4jZB/gbWF4cAAADMQAAAAfAAAAIAEmATZuYW1lAAAM5AAAATQAAAJSjtKs/nBvc3QAAA4YAAAAtgAAAQVTv5T6eJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYOSoZpzAwMrAwDSbtYKBgVECQjMfYEhiYgGKMrAyM2AFAWmuKQwODxgfiLJfAHK3sF9kEATSjCA5ALYoCocAAAB4nO2RyQ3DMAwER7bsHL5yqYtUkoLySrHqxOFqU0YIDAciKEEggQHog2eQIX1IKN5RTa3ec271zKv1ZNVr2ffISTnOueUuenO8OHLgyCnuTcwsrGxcuHLjzoMSrSP/mJXS/DsVTdO0+XYGuTfaU81GE6+D0Q7raJAPBvlokE8G+Wy02zoZ5Nnod3UxyKtB3gzyxSBfDfLNIN8N8sMgF0P5AjHTMKYAAAB4nLUXWYwcxbWrj6q+5u6Znp3u7Zmeq+fenZ2dmV17Z+zdZe/Ljg/YGIETwAe2IkRibIUjoDgRjmTFPwQph1BIFCRCflgT2ZbAUhQbBElkpASRCIyEIoJkZHIAstc77VR1z4IB5zM726/rvXrv1bvqVTXFUPgPCeh1KkSlqEmKAmbSC8IBxQA1c6AN6oHBCggpMGUms3jcwMRI2OVRIgONepcSwBxJqERq6yIcWrujOF3E/8zTxZlCcZrVQ2t3KLquME+HdFDHszOFRCXh4npINU3V4Yf3F2aKq6+6slwDc62WiRhXJxCsYaqaSKiKpimrryo6VoH5Md90kWKu4z/+PPYlQIWpHorKgApIQgTgujeDGTNg1vHDP79WDo0vjIfwKzueRc9kx6y1kv0uMMjzBnzetCzz6qK5MJbNji3sB8YP6REKkFhBDev3UJQAskmI/Y4MNEFjkPt47YnMPXNz92SYA1l2M3MgM1u7WqjNYjSzh4ixBEgb0QWKoyRsn0pReRDAlgDTgQQEXIrwe/sYfdk+drVgHyMjfoG8V3/eCYLD4DCZsY+REfiIQJd6M/1dzTfR70p9MuLK8wvk/dE5VzN92dVIxuiCSyEQq8fxxbVyAa8Ro6apHXiFJIIUgn41QqmRRLNBNRv1asPKUlaWgVkr22g6vwpAEFWA5SBqhPx8ACJoAEyIqHgU8oIK3aYNGjL/eO30SfuD+aWleaCcPA1+dGYFhOcXweK8fWnlzMXpw4YRqWpDCU7wmMpAhlXYcnVsc7lazxRkT+/gUFBGCbXRF/DUN3/1g8SWhYZH37x1oe7V0YWlefuDk6fte8+s2JfmFxfnQXjlzGt4NaDML139Q4+SL37/sZmj8/6YwUiJpJDmy2bJJ0PYo/cPzR9/op7NMf5MRetp1qaZZ/VgeGh2thkKD8/NkNDTzj4q4NjQFCTVEeBwqLm3VtMob6+ABeb9tSi6sO3KG+u8cBnzMhTCUXRyYwbAR7YMl20ZXbjS7z6Yza25y45eohVevhp0dTl6rl938qFQj5NsWDjmgyTIAyTGCo46zAQI0aqQUDc2AYvQELRShJjtA6aDe4GLITc5DosPBBzMAC6murlUqw5LHJgO3gYu1nRW6SaceX/XwnypXC7NL/x2fcAcHx7TSrF4igZBMR47W2/r5XShAIp6NCRHFPs/oYisRPWd+XRZbzdeisWlAKBT8VhJGxsewpKake5KNtp6KV0oOoJqCHgcwd4dWFDb1Dir3SBI/+RzJjiD88C7vlKmhFfCAmIQ0MGg4Sy1YbRrZEAiRm7SsJE7ej9vYgGb2CImdgW1YtfGWNy1UevauBOb6Ik4Obx+XZjGeaqSXSkA0wlWKokDT3aPgYOY2ARCCPdQZ/P4na1UG3DTwbPgls7rnStgPDkyt//hp04cfeRcfWiofu6RoyBxdOKl2//y3pvnztp/27J9+xaQPXvuzSd/euLxRw/sYT/sPEdv//rWe4ZuqddOHXnI/vdDR07V6nXdfi93+5JT/t3ttTQ68o2933vsszomNVWiJrC1bVAbMIDiBckKqGewgRUwSGgRNVPHA3culcxanIJCX24Hfscf9l5jS3l49/Dw7vt3D9v3DS464+HSljh4yKFhJD8Ts7/NfUx2/yVn94fJ7se7M0ww+9LJ0wxKpte5Xyk7o2T8lZ51vb2xPxo+VnJ57XtvpofsJ9LD4FPYv3GyY/DhgM8wC+DzYYDU7iBJTJJUfFhR8emRcsYKSYPDAAgdIwNO7RNm7uDgnbnOrxFPL1t31rZPTeQKhfzk1K+mJvIF1PmFtau6zaHlJqa21forFn0bIuNnCBEUcpNT9N2mAR7WMwkLPGaY+Tyem14XSOv2w7pBuDB/Pu/3G/Z3ejKfKnxmajJX6OZMrq/3kyrpJbihyHX72CenhSnSS+DyNcPlE1+Cy5/1HYacDYeFqdUrv0HbwGH23WsG834n2O07/AasUyB9hwEZAXCAYXvpHzxHtzuS/Vf7zY5Et58Dj9tH6L+Df43SZzqTo7avo2Pt1PUPxV3OWfQ6yFMUOX+ACWrxfFgN+yoplLJqm/padF9/yko1a0wtHgj71CLAVF/dqvcFmjW6RD/Z2d/5M1z0auPLt8nyDkkelyJjopHjxVBQSEd5Hvl56EfIWw6wMBjQBAFAD0MzDCxBVo0qPOr1Ix6zCX6tOSDORWRJSkaj8kjUI3syXnnXuEfPAdUcE8NhKS4qomhsqKR7BF7wCVEURX6fl/d4YajMQhbGZRUxEkAMi2jay9ICHY2xHMu2ZIQrxMPrCPlRX1IIIoErC4Io3KKIhiSKYem2sCgDT86TG22rkjqXK/NCPOkPihwLJIYLShB6vKogxEI1sTmTqXk0zeNjeidycS0kQ9zFaVYCLEtDmmYBUmI6bhlV3pcLLtEy90vw4lUveBG/oS/KMgmOM5GUQ0oC8YEgSmsiLwZF4pmyYEpSpbq7uscrL22ekz2yHH1AlkqluCjmFGyuKAgBrd9CfV4OwYAkcBHEMpxIM35IXwTIWZzhGFpUIkEfCzmJC8IAkrwe5PFBtc3jQI9o7ZjYJ+qG1RIjG8TQEHZKaNUEwYd2ehEPeS++O0EJmSorIZaPMDh8KscgDtAMEMDFzhuMFBAYwYpZAp8eMErpaDUjtyRPMYIdCGq8oPpMTsdO4RxfFCTZK/FsIKJxbJQVvBaLdJYTOBy/CMewURpKrPCOW/N8E30N1+IdN1Ri8H8WXLKbqVL8/5Eq5ojrZCRwUy9Dsa6XMVEA7Je89GVv7mX3fin0On4KlJcKrvuaQaCZUYEFyLPupECf7jxwBlw835k/R6+4cN3C371Mn3qZPt+ZO0+/4ELnCuKcC7dDSMWpFjVL3Urtow594Wuh0Qzhm0fo0y+HCt39cLAY5x7O4JPixs8IDstiSXIvrwDGPVncAwW43xe4z2I9g9YXZuELqzszY5Y1lgEnSpOhQ70Hew+FJkvgRH4ix/dPxtKGfV8wBg8Fl/cshw5CM2TfFzOTPdyzsdy1+9t7R0b2PrhvZGRfy9ExO2qlR+k/EXKt/uDekUR8/3BmNJcbnSUAQqxz7WcY9JdAauNG++1Sf24iz9xFyEjL4QtIurpxY9V+KxhNx5m7Yrm08UrrwHcPtBxgP5qf2DqRy018ZSIHHm0dGGsdjJutA6OtZn3007mtE7hFut9hCe5tKkFVqJEvRxY7H+nGtoEjmE2BG0OC43ojBk+tbtMqmtang+PxmvxN3+iWUd+3pJoBjhdbreK1lYHt1er2u3dUqzsG6H/egHBv9fb3rv0Yg7SBa6dSydjv9GbaJWZPqd3J1G7dd2vtC4Ci/gsn/dbwAAB4nGNgZGBgAOLYDf93xPPbfGXgZr8AFGGoUd3QCKP/////nseU/SKQy8HABBIFAIEQDfsAeJxjYGRgYL/AAAQ8pv/////HY8rAyIAKxAB/UwVtAAB4nGNgYGBgv8DAwHHk/38QzW0NwewXgHxNBga2SCB+C5T3ZWDgdIeoZZv3/z+PKQMDCHNYMjBwZSEwSB6EAUycEUcAAAAAAAAAZgCWALQA5AEWAaQBugHQAd4CsgMIA3gD4gP2BAwEKgVwBeQGFAbEByIAAHicY2BkYGAQY9RiYGMAASYg5gJCBob/YD4DAA9aAV4AeJx9kL1uwjAUhU8gUJWoFVKrDp3cpUtF+NnKA8DOwB6CDYEkTh2DxN7n6BP0OXiOPkXnHlwvVCq2ZH/3O/cmUQB0cUSA0wpw487TauCK1S83SfeeQ/KT5xYixJ7b9K+eO3jBxHOEO7zxCUF4TfOId88N3OLDc5P+03NIPnpu4QFfntv03547mAddzxGeA7WU9dbqqpeluqxncrXLE3Pmzoq5NHWmSzGMB2d+KktpEiuXYnEQ9X41slYJZXQhJrq0Ms+1qIzeyNTGa2urcb+vvI9TXWAJiRpbWGhU6CFDSirpZkxW2CFHAnOh7/9kzsTwzlwtMOR/H1zonzIp3UzCVLJTYIEDzxp7fsuI1kKxVuzRKEgTN3vqzrk1TeWyDU1KH2PtpiqM0edWf/pj9/biB4uPbqt4nG2N23KCMBRFszGoBZVqvXxFPuoMHGxmAsGTBMWvd7Tt9MX1tNZ+2SpTP+zVe47IMINGjjkWWOIDBUqssMYGFT6xxQ5f2OOAI05K136YchbxsmopRNN6uZI0VZucC7Uw94ZvNhb/rW3fet3zLeYDpcB6cDQtLomcjdNc+Jll+CZhIz71Tf7yItg7G0dy5vKlHTc2dTpEknL0LnVsnh/Frzt//Zu7FHk5iqkdk2SjKPUA8utDcAAA) format("woff");font-weight:normal;font-style:normal}.container .icon{font-family:\'desktop-icons\';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.container .icon-copy:before{content:"\\E001"}.container .icon-error:before{content:"\\E002"}.container .icon-fast-forward:before{content:"\\E003"}.container .icon-fullscreen-exit:before{content:"\\E004"}.container .icon-fullscreen:before{content:"\\E005"}.container .icon-info:before{content:"\\E006"}.container .icon-next:before{content:"\\E007"}.container .icon-pause:before{content:"\\E008"}.container .icon-play:before{content:"\\E009"}.container .icon-quality:before{content:"\\E00A"}.container .icon-replay:before{content:"\\E00B"}.container .icon-share-round:before{content:"\\E00C"}.container .icon-share:before{content:"\\E00D"}.container .icon-size-large:before{content:"\\E00E"}.container .icon-size-medium:before{content:"\\E00F"}.container .icon-star:before{content:"\\E010"}.container .icon-volume-full:before{content:"\\E011"}.container .icon-volume-low:before{content:"\\E012"}.container .icon-volume-mute:before{content:"\\E013"}.container .icon-vr-clear:before{content:"\\E014"}.container .icon-vr:before{content:"\\E015"}'),
MHP1138.skins.basic.css.push('@font-face{font-family:\'basic-icons\';src:url(data:application/x-font-ttf;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzJDSUmwAAABjAAAAFZjbWFwYLrk2AAAAgAAAAG2Z2x5ZgdWaRgAAAPIAAACqGhlYWRgL62fAAAA4AAAADZoaGVhEJcIygAAALwAAAAkaG10eC/U//8AAAHkAAAAHGxvY2ECLAKwAAADuAAAABBtYXhwARQATQAAARgAAAAgbmFtZZNGsfUAAAZwAAACOnBvc3RqnZA/AAAIrAAAAFkAAQAAB9AAAAAACMT////+CMYAAQAAAAAAAAAAAAAAAAAAAAcAAQAAAAEAAIL4vjpfDzz1AAsH0AAAAAB8JbCBAAAAAHwlsIH/////CMYH0QAAAAgAAgAAAAAAAAABAAAABwBBAAMAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAEG1QGQAAUAAAJ6BXgAAAEYAnoFeAAAA8AAYgIEAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAQOAB4AYH0AAAALQH0QABAAAAAQAAAAAAAAAAAAAH0AAACMT//wfQAAAH0AAAB9AAAAfQAAAAAAAFAAAAAwAAACwAAAAEAAABXgABAAAAAABYAAMAAQAAACwAAwAKAAABXgAEACwAAAAEAAQAAQAA4Ab//wAA4AH//wAAAAEABAAAAAEAAgADAAQABQAGAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAABYAAAAAAAAAAYAAOABAADgAQAAAAEAAOACAADgAgAAAAIAAOADAADgAwAAAAMAAOAEAADgBAAAAAQAAOAFAADgBQAAAAUAAOAGAADgBgAAAAYAAAAAAAAAMABgAMYA/AE2AVQAAQAAAAAHXwV6ABcAAAEiJicBLgE+AhYXCQE+AR4CBgcBDgED6BguEf0JGBERL0BAFwKgAqAXQEAvEREY/QkRLgGHEhIC9xg/QDAQEBj9YAKgGBAQMEA/GP0JEhIAAAAAA/////8IxgfRABEAFQAZAAAlAS4BIgYHAQYUHgEzITI+ATQlIREhNSERIQiy/C0TQ01DE/wtEyZDJgenJkIn/Cz+4gEe/uIBHtYGsiEnJyH5TiFNQiYmQk1pAR6PAjwAAgAAAAAGgwaDADMAQAAAATUnJicmJzcnByYvASMHBgcGBycHFwYHBg8CFRcWFxYXBxc3Fh8CMzc2NzY3FzcnNjcFIi4BND4BMh4BFA4BBoOWBg0IF1uvfTs5EfIZHR0YIn2vUwwKBgkNjpYGDQsUU699H0sLGfoZHR0YIn2vWyMP/eJGckJCcoxyQkJyA3DwGRYeEi58rlsjD5WVBg0LFFuufBQWDhshEfAZHR0YIX2uVBAeBJWVBg0KFVutfDs5Y0Fyi3FCQnGLckEAAgAAAAAHgAeAABgAGwAAASIHDgEHBhAXHgEXFiA3PgE3NhAnLgEnJgERAQPou6ul/0ZISEb/pasBdqul/0ZISEb/pav+VQKoB4BIRv+lq/6Kq6X/RkhIRv+lqwF2q6X/Rkj62AMg/nAAAAAAAgAAAAAHvAe8AAwAGgAAASYAIAgBEAgBIAgBEAkBBiInJjURNDYXARYUBzmE/j796v4+/vkBBwHCAhYBwgEH/hb9ShMqFSlTKAK2KQXU4QEH/vn+Pv3q/j7++QEHAcICFv6v/mcLChkvAzAvMBj+ZxdeAAABAAAAAAd3B1wACQAACQEFARMJARMBJQP1ARUCbf4/av3V/dRq/j8CbQdb/c5b/kv9lgEj/t0CagG1WwAAABAAxgABAAAAAAABAAsAAAABAAAAAAACAAcACwABAAAAAAADAAsAEgABAAAAAAAEAAsAHQABAAAAAAAFAAsAKAABAAAAAAAGAAsAMwABAAAAAAAKACsAPgABAAAAAAALABMAaQADAAEECQABABYAfAADAAEECQACAA4AkgADAAEECQADABYAoAADAAEECQAEABYAtgADAAEECQAFABYAzAADAAEECQAGABYA4gADAAEECQAKAFYA+AADAAEECQALACYBTmJhc2ljLWljb25zUmVndWxhcmJhc2ljLWljb25zYmFzaWMtaWNvbnNWZXJzaW9uIDEuMGJhc2ljLWljb25zR2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20AYgBhAHMAaQBjAC0AaQBjAG8AbgBzAFIAZQBnAHUAbABhAHIAYgBhAHMAaQBjAC0AaQBjAG8AbgBzAGIAYQBzAGkAYwAtAGkAYwBvAG4AcwBWAGUAcgBzAGkAbwBuACAAMQAuADAAYgBhAHMAaQBjAC0AaQBjAG8AbgBzAEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AaAB0AHQAcAA6AC8ALwBmAG8AbgB0AGUAbABsAG8ALgBjAG8AbQAAAAIAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwECAQMBBAEFAQYBBwEIAAphcnJvdy1kb3duBWVycm9yBGdlYXIFZ3BsYXkEcGxheQRzdGFyAAAAAAA=) format("truetype"),url(data:application/font-woff;base64,d09GRgABAAAAAAZEAAsAAAAACQgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQQAAAFZDSUmwY21hcAAAAYgAAABhAAABtmC65NhnbHlmAAAB7AAAAkIAAAKoB1ZpGGhlYWQAAAQwAAAAMQAAADZgL62faGhlYQAABGQAAAAfAAAAJBCXCMpobXR4AAAEhAAAABcAAAAcL9T//2xvY2EAAAScAAAAEAAAABACLAKwbWF4cAAABKwAAAAfAAAAIAEUAE1uYW1lAAAEzAAAATEAAAI6k0ax9XBvc3QAAAYAAAAAQwAAAFlqnZA/eJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS7yjiBgZWBgamKtYKBgVECQjMfYEhiYgGKMrAyM2AFAWmuKQwODxgfsLFfAHK3sF9kYATSIMwAAL6zCn4AAAB4nO2RwQ3AIAwDHQh5VB2lA/Hq7GxC7YQxGumMbEU8HAADQCcPccBeGDSTqWXecWXuZ8eVr9ibalJ6T23cdf4YNIF/7tR5XKivIhtsBfT2QpdYXqjTNQpdaUWB+AAqkBLTAAAAeJxlUU1oE0EUnjcxO9mkTXfzs7OxdJtN6a4VTUJ/soTKZruBUiz1Uj2tqOChGCi0OShIA4EIghU9tedeikKxgYJe7KkHj4JQxYsHexJPRZCS0p04awQR38f7Yb733sdjECBu5Hb4IaIIQc4wIQ82VqgINmhYIBCH0Dc1L/uiKssFx6F4C29RxynIsuqLch4eJxL4RK04RUlS/Tt4S5WkolPhXCIRrA51uUXekQ9IRmmUQWiUC+T4XiGlwYQ+bsPkqC7rU9wje2eXk9WFapIno2qQF4Zrnl1iR6AF/knY001T71zTF1zDcBfugfYcX0E4EBFaQgtNIIdfMGUaHJZJjAKMEIHDJJSnAZymCgehljKMJ6wSB7XMkhXO5WHShnENUnEQWptCf4R67cZ0Wf6RGRpSc432Yl9UEPufcSaWWmw3hudjmdM/lDcy4B/N1l23/jQIoZXjjKIl8mu7nNjYCAa83bWUEh/U5eNgRG/sXpe0cwEVTXuv1qbLd2fq66uuu7pen+ndQpqkiVQ0GPwGiQMRJKoBVbKWDVZJMvNgGiDzP3m7s92dnZub7W7vwP2/NbuBX5Jmr3zyX8vp51CWrQQyPa19so/60HmuZaBsBKQIBFEEIWcaU/JkiYKSIuVHzPa/M5t1gMABVuAACFP8q8mL6bHFC/jNWPjwK3/p/NvF2mwpFs0UQsVCUWVL9BYX+a35gNxEIkIihCEpQhJGQz8hjZdZpeZ/9A9rrIKXiee/99i8vwkj7AuuwWvvF4VMsFUAAHicY2BkYGAA4qYfq9zi+W2+MnCzXwCKMNSobmiE0f+BgOMY+0Ugl4OBCSQKAHqxDj4AAAB4nGNgZGBgv8AABBxH/v///4/jGAMjAypgBwCXRgZ2AHicY2BgYGC/wMDAceT/fxCNjAFj1Qb+AAAAAAAAMABgAMYA/AE2AVR4nGNgZGBgYGdwZGBmAAEmIOYCQgaG/2A+AwAPpQFiAHicdY+9TsMwFIVP+odoJIRAYkPyhJBQk7ZsHRjbjaFD9iR12lRJHDlupUo8BU/AU/AITDwFT8HIifFQIWpL19/9fG6sALjEBzy0y4Nva7s6OGP3y13SleMe+dZxn3zveEB+dDzEA54c+7hGzi94vXOaG7w47uACr4679G+Oe+R3x33yp+MB+cvxEBG+Hfu4856TuMnTUZ6qqlnK9a6I9ZE5wkjqJleVmATjI7uQldSxkSuRHESzX0+NyUSmVSnmqjKyKJSotdrK1AQbY+pZGGbOB6kqkSBGw39MMbJVoWK/hMQaOxS81Scy/9uIk9r6theYIMD4RHbBbGXzMQzPFfMJDqwN9nx/SmuQsc+YUShJczvbpgtuRVPbuy1NSh9gY6dqzBByZ3/ygX29/AFiHGcmAAAAeJxjYGKAABEG7ICdkYmRmZGFkZWRjZGdkYOBK7GoKL9cNyW/PI81FcgsYklPTSxiTS/ISaxkARPFJYlFDAwAMMwNzgA=) format("woff");font-weight:normal;font-style:normal}.container .icon{font-family:\'basic-icons\';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.container .icon-arrow-down:before{content:"\\E001"}.container .icon-error:before{content:"\\E002"}.container .icon-gear:before{content:"\\E003"}.container .icon-gplay:before{content:"\\E004"}.container .icon-play:before{content:"\\E005"}.container .icon-star:before{content:"\\E006"}'),MHP1138.skins.image.css.push('.container .videoWrapper video{height:100%;width:100%}.container{height:100%;width:100%;position:relative;background:black;overflow:hidden}.container a{text-decoration:none}.container .topBar{height:45px;display:block;padding:0 15px;position:relative;z-index:10;background:linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%)}.container .topBar .title{color:#fff;line-height:45px;display:block;float:left;max-width:80%}.container .topBar .title span{display:block;width:100%;text-decoration:underline;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.container .topBar .logo{display:block;float:right;height:45px;line-height:45px;max-width:20%}.container .topBar .logo svg{vertical-align:middle;max-width:80px;width:100%}.container .bigPlayBtn{position:absolute;top:50%;left:50%;margin:-27px 0 0 -27px;width:54px;height:54px;background:rgba(0,0,0,0.4);border-radius:54px;text-align:center;z-index:10}.container .bigPlayBtn .bigPlayBtnIcon{display:block;width:0;height:0;border-left:22px solid white;border-top:13px solid transparent;border-bottom:13px solid transparent;margin:15px 0 0 20px}.container .controlBar{position:absolute;bottom:0;display:block;width:100%;background:linear-gradient(to bottom, transparent 0, #000 100%);background-image:-webkit-linear-gradient(bottom, #000, transparent);z-index:10}.container .controlBar .playBtn{display:block;float:left;height:auto;width:45px;padding:11px}.container .controlBar .playBtn .icon{height:0;width:0;color:#cbcbcb;font-size:22px}.container .controlBar .seekBar{position:absolute;display:block;float:left;left:45px;right:124px;margin:22px 0;height:1px;background-color:#cbcbcb}.container .controlBar .seekBar:before{display:block;content:"";position:absolute;top:-9px;left:-9px;height:18px;width:18px;border-radius:9px;background-color:rgba(255,255,255,0.25)}.container .controlBar .seekBar:after{display:block;content:"";position:absolute;top:-4px;left:-4px;height:8px;width:8px;border-radius:4px;background-color:#cbcbcb}.container .controlBar .time{display:block;float:right;color:#cbcbcb;font-size:13px;line-height:45px}.container .controlBar .fullscreenBtn{display:block;float:right;height:16px;width:16px;margin:14px 10px}.container .controlBar .fullscreenBtn .icon{height:0;width:0;color:#cbcbcb;font-size:16px}.container .videoPoster{position:absolute;top:0;left:0;width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:cover;z-index:2}.container .playerEmbedLink{display:block;position:relative;width:100%;height:100%}.container .videoWrapper{display:none}'),MHP1138.skins.desktop.css.push('@font-face{font-family:\'grid-icons\';src:url(data:application/x-font-ttf;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzJDSUk4AAABjAAAAFZjbWFwYEjkqgAAAfAAAAF+Z2x5ZmxkoPMAAAN4AAAB0GhlYWRiPK2iAAAA4AAAADZoaGVhEqQLMAAAALwAAAAkaG10eBMZAAAAAAHkAAAADGxvY2EAeADoAAADcAAAAAhtYXhwARAAVwAAARgAAAAgbmFtZTr1QMsAAAVIAAACLnBvc3RVZ1WEAAAHeAAAADoAAQAAB9AAAAAACzAAAP/8CtIAAQAAAAAAAAAAAAAAAAAAAAMAAQAAAAEAAMmDqplfDzz1AAsH0AAAAAB8JbCBAAAAAHwlsIEAAP//CtIH1AAAAAgAAgAAAAAAAAABAAAAAwBLAAMAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAEGXgGQAAUAAAJ6BXgAAAEYAnoFeAAAA8AAYgIEAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAQOAB4AIH0AAAALQH1AABAAAAAQAAAAAAAAAAAAAH6QAACzAAAAAAAAUAAAADAAAALAAAAAQAAAFWAAEAAAAAAFAAAwABAAAALAADAAoAAAFWAAQAJAAAAAQABAABAADgAv//AADgAf//AAAAAQAEAAAAAQACAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAoAAAAAAAAAAIAAOABAADgAQAAAAEAAOACAADgAgAAAAIAAAAAAAAAeADoAAIAAP//B+0H1ABGAEoAAAE2Jic2NzY3Ni4BJzMmJyYHNjc2NzY3Nj0BJicmJyYHBgcGBwYHBgcGDwEGBxEWFxYXFjczFjc2Nz4BNzYnNT4BNzYmJz4BASERIQfpATIqMBMVAwQhQSoCS1ic7QQYJRUkFBkFJzJoIxUTDAgMBxoQooijUE8VXLrlwVVQClBHhlguPgUDEjZKBQMXGCYt+BcBff6DAtkyVBccJyUnLVA4CRAFCREKK0EqSkRWThdvRFYNBA8OIhc2JGc/t5qcS0kT/IwPExgKBgEDBAYZDkkwJyUEDVU5JUUbGE8Bnvu4AAMAAAAACtIHfAAWAC8ARAAAASQFBAcGAxIXFgUEICUkNzYTAicmJSQBIicuAScmNDc+ATc2MhceARcWFTEUDgIDIg4CHgM+AzUxNC4CIzEFl/7a/vP+98nMamfNyAEJAQ8CTgEOAQnJzGhqzcn+9/7z/tt8cm2pLjAwLqltcvhxbakuMF2r4HlKhmc4AThoh5GHZjc4Z4dIB3oBcnDN0f7u/uzU0HJ1dXLQ1AEUARLRzXBy+g0wLqltcfhybakuMDAuqW1yfHngq10DzThniJGHZzcBOWeHSUmHZzgAAAAAAAAQAMYAAQAAAAAAAQAKAAAAAQAAAAAAAgAHAAoAAQAAAAAAAwAKABEAAQAAAAAABAAKABsAAQAAAAAABQALACUAAQAAAAAABgAKADAAAQAAAAAACgArADoAAQAAAAAACwATAGUAAwABBAkAAQAUAHgAAwABBAkAAgAOAIwAAwABBAkAAwAUAJoAAwABBAkABAAUAK4AAwABBAkABQAWAMIAAwABBAkABgAUANgAAwABBAkACgBWAOwAAwABBAkACwAmAUJncmlkLWljb25zUmVndWxhcmdyaWQtaWNvbnNncmlkLWljb25zVmVyc2lvbiAxLjBncmlkLWljb25zR2VuZXJhdGVkIGJ5IHN2ZzJ0dGYgZnJvbSBGb250ZWxsbyBwcm9qZWN0Lmh0dHA6Ly9mb250ZWxsby5jb20AZwByAGkAZAAtAGkAYwBvAG4AcwBSAGUAZwB1AGwAYQByAGcAcgBpAGQALQBpAGMAbwBuAHMAZwByAGkAZAAtAGkAYwBvAG4AcwBWAGUAcgBzAGkAbwBuACAAMQAuADAAZwByAGkAZAAtAGkAYwBvAG4AcwBHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAAACAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMBAgEDAQQACHRodW1iLXVwBXZpZXdzAAAAAA==) format("truetype"),url(data:application/font-woff;base64,d09GRgABAAAAAAV8AAsAAAAAB7QAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQQAAAFZDSUk4Y21hcAAAAYgAAABPAAABfmBI5KpnbHlmAAAB2AAAAboAAAHQbGSg82hlYWQAAAOUAAAAMQAAADZiPK2iaGhlYQAAA8gAAAAeAAAAJBKkCzBobXR4AAAD6AAAAAwAAAAMExkAAGxvY2EAAAP0AAAACAAAAAgAeADobWF4cAAAA/wAAAAeAAAAIAEQAFduYW1lAAAEHAAAATEAAAIuOvVAy3Bvc3QAAAVQAAAAKQAAADpVZ1WEeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGSLY5zAwMrAwFTFWsHAwCgBoZkPMCQxsQBFGViZGbCCgDTXFAaHB4wPmNgvALlb2K8wMAJpEGYAAJfzCgYAAAB4nO2QsQ2AMAwEz46hQIxBQcEwVMzPJsnbYQxeupP+5crAAjRxiQB7MDK3Vqu9sdUeHHUTub/eu2xp9Si7tPJnL59f8/zTZH5ugg+5nAszAHicY2BiYPj/n/0t+xUGNwYvBgZGMzV1M3Mg1GNUN1ZTV2MHc8zNbBmBHCCXDQb5GdnYBcXEgdDcWAyowo7R3EzdFESqqdsxMioKKrK/ZDTSMhAWZWZRdNRi8o6Y85ZFQlVURUSSVd0oQ1lUmIeDh11KYFHH4gB/0ZhdTw+GBnAFuLdF6NmxMguZebEyi0uo6f4QZ6z918x00yhEXEZdVV03wIJTgJVTkEvbUcvLJcxPPN8ljJeFn09J3Ewl3X77rDnensJ/eviFJbjYGJlZ2CT5PA3UVVl4Qy1VXaUl/Bnn/d7BwMwABFyX2GsYxBj0GVyAPlZhZWFnYxYSF2NlUVBVMTcTZlJXU1VhVFIHBoGaCdhjRuJyjOJiooYifEzMSnxMcsx2zKaGJnpMyoas0//d+vf53/eTZ7LSz55g5GTkZ/Jj5GPkPHkmI+vsyX/fgXK3a4pyV+oZGOitzC36UQhixq5+UOnVlm7BaJHRPrE9zdwivd2DvYqxqODsxX/v/r25cqGotLTowhVGEUahi2cLin7xgvQW/kAYU1P5YHUs81mL9I6J7enmjJbp7Z6e7ekWQJ8BALPRfQgAAHicY2BkYGAA4pPNs9fG89t8ZeBmvwAUYahR3dCIoP//57rEfgXI5WBgAokCAF+XDHsAAAB4nGNgZGBgv8AABNwGDAz//3BdYmBkQAXMAFstA+8AAAAAAAAH6QAACzAAAAAAAAAAeADoeJxjYGRgYGBm8AZiEGACYi4gZGD4D+YzAAAQMwFoAAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d08RJUyVx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcl+vsfv5ygJgGt8IcBxBOj79ThauGD1x23SjXCH/CDcxQCPwj36sXAfz5gJD3ALzRuCziXNHV6FW7jCm3Cb/l24Q/4Q7uIen8I9+m/hPlb4ER7gKXjJbJ4M89hUzVJnuyKyJ3GilbZNbio1CccnudCVtpHTiVofVLPPps6lKrWmVHNTOV0URtXWbHXswo1z9Ww0SsWHsSmRwSJHgiHXGAYVGiz5vhl2KBDx9FzinFuxy3LPfa0wQcjveS65YLLy6QiOe8L0GgeuDfbsmNI6pKxTZgxK0tz3HtMFp6Gp/dmWJqYPsfFdNf/biDP9lw/908tfZ2lj5AAAAHicY2BigAARBuyAmZGJkZmRhYGjJKM0N0m3tIC1LDO1vJiBAQA5pAWTAAAA) format("woff");font-weight:normal;font-style:normal}.container .grid-icon{font-family:\'grid-icons\';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.container .grid-icon-thumb-up:before{content:"\\E001"}.container .grid-icon-views:before{content:"\\E002"}'),MHP1138.skins.image.css.push('@font-face{font-family:\'image-icons\';src:url(data:application/x-font-ttf;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE4AAAAVE9TLzJDSEMbAAABjAAAAFZjbWFwYEjkqgAAAfAAAAF+Z2x5Zo86GqUAAAN4AAAB7GhlYWRfLq2VAAAA4AAAADZoaGVhD5YH0QAAALwAAAAkaG10eA5iAAAAAAHkAAAADGxvY2EAxgD2AAADcAAAAAhtYXhwAREAjwAAARgAAAAgbmFtZZRJsvgAAAVkAAACOnBvc3RagxevAAAHoAAAAD0AAQAAB9AAAAAAB80AAAAAB8UAAQAAAAAAAAAAAAAAAAAAAAMAAQAAAAEAANwCYJxfDzz1AAsH0AAAAAB8JbCBAAAAAHwlsIEAAAAAB8UHxgAAAAgAAgAAAAAAAAABAAAAAwCDAAQAAAAAAAIAAAAKAAoAAAD/AAAAAAAAAAEAAAAKADAAPgACREZMVAAObGF0bgAaAAQAAAAAAAAAAQAAAAQAAAAAAAAAAQAAAAFsaWdhAAgAAAABAAAAAQAEAAQAAAABAAgAAQAGAAAAAQAAAAEEywGQAAUAAAA3BXgAAAEYADcFeAAAA8AAYgIEAAACAAUDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFBmRWQAQOAB4AIH0AAAALQH0AAAAAAAAQAAAAAAAAAAAAAHzQAABpUAAAAAAAUAAAADAAAALAAAAAQAAAFWAAEAAAAAAFAAAwABAAAALAADAAoAAAFWAAQAJAAAAAQABAABAADgAv//AADgAf//AAAAAQAEAAAAAQACAAABBgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAoAAAAAAAAAAIAAOABAADgAQAAAAEAAOACAADgAgAAAAIAAAAAAAAAxgD2AAQAAAAAB8UHxgAgAEEAYQCCAAAJAQMUFjsBMjY3EyMmNTc0JyYjISIGBxUeATMhAQYUFjIJARM0JisBIgYHETMWFQcUFxYzBTI2NzUuASMhATY0LgEBAzQmKwEiBhUTASYiBhQXASEiBgcVFBYXJTI3NjUnIwEhMjY3NTQmJwUmBwYVFyMiFRMUFjsBMjY1AwEWMjY0JwU3AhICGxIfExsCAgEBAgsOEv4tExsCBB0TAST98BIjNP11/e4CGxIiEhsCAQECCw4SAdYSGwIEHRP+3AIQEyczBRcDGhUfExoE/e4TMiUSAhD+3BMdBBsVAdMVCwsCAfkfASQTHQQbFf4rDw8LAgEBAhsVIRMaBAISEzIlEgThAhH+1RMdFxIBvwEBFxcIDhsUIBUY/fASMyX+IP3yASsSHRYT/j8BARcXCA4CGxQgFRoCDhIzJgH9UAG/EhccFP7VAhESJTMS/fIYFyASGwICDgsUFwb2GBcgEhsCAgMPCxQXAv5BEhccFAEr/e8SJTMSAAAAAAIAAAAABosHxQACABgAABMJARMiDgEVAxQWFxYzMjcBPgE0JicBJiOJBYb6eAIgOiICIh0ZJCEgBYgbHx8b+nogIQdJ/J/8nwc+ITki+T4iOREQEgNhETlAOREDYRIAAAAAEADGAAEAAAAAAAEACwAAAAEAAAAAAAIABwALAAEAAAAAAAMACwASAAEAAAAAAAQACwAdAAEAAAAAAAUACwAoAAEAAAAAAAYACwAzAAEAAAAAAAoAKwA+AAEAAAAAAAsAEwBpAAMAAQQJAAEAFgB8AAMAAQQJAAIADgCSAAMAAQQJAAMAFgCgAAMAAQQJAAQAFgC2AAMAAQQJAAUAFgDMAAMAAQQJAAYAFgDiAAMAAQQJAAoAVgD4AAMAAQQJAAsAJgFOaW1hZ2UtaWNvbnNSZWd1bGFyaW1hZ2UtaWNvbnNpbWFnZS1pY29uc1ZlcnNpb24gMS4waW1hZ2UtaWNvbnNHZW5lcmF0ZWQgYnkgc3ZnMnR0ZiBmcm9tIEZvbnRlbGxvIHByb2plY3QuaHR0cDovL2ZvbnRlbGxvLmNvbQBpAG0AYQBnAGUALQBpAGMAbwBuAHMAUgBlAGcAdQBsAGEAcgBpAG0AYQBnAGUALQBpAGMAbwBuAHMAaQBtAGEAZwBlAC0AaQBjAG8AbgBzAFYAZQByAHMAaQBvAG4AIAAxAC4AMABpAG0AYQBnAGUALQBpAGMAbwBuAHMARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABzAHYAZwAyAHQAdABmACAAZgByAG8AbQAgAEYAbwBuAHQAZQBsAGwAbwAgAHAAcgBvAGoAZQBjAHQALgBoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAAAAAgAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAQIBAwEEAAZleHBhbmQKcGxheS1jbGVhcgAAAAAA) format("truetype"),url(data:application/font-woff;base64,d09GRgABAAAAAAVEAAsAAAAAB+AAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAPwAAAFZDSEMbY21hcAAAAYQAAABPAAABfmBI5KpnbHlmAAAB1AAAAZQAAAHsjzoapWhlYWQAAANoAAAALgAAADZfLq2VaGhlYQAAA5gAAAAbAAAAJA+WB9FobXR4AAADtAAAAAwAAAAMDmIAAGxvY2EAAAPAAAAACAAAAAgAxgD2bWF4cAAAA8gAAAAfAAAAIAERAI9uYW1lAAAD6AAAATAAAAI6lEmy+HBvc3QAAAUYAAAALAAAAD1agxeveJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGQ5zTiBgZWBgcGctYKBgVECQjMfYEhiYmFgYGJgZWbACgLSXFMYHB4wPmBivwDkbgGTQANABACUIwniAHic7ZCxDYAwDATPjqFAjEFBwTBUzM8mydthDF66k/7lysACNHGJAHswMrdWq72x1R4cdRO5v967bGn1KLu08mcvn1/z/NNkfm6CD7mcCzMAeJwtkU9O4zAUxv1e/oEipY0dx6WZkMRpk0UFiyRtVJDKsJzdXKGHQEIsZzGaEYfoUVjBBRCzYjMXYEYskEDEwmnxwnqfv5/9rO8Rk+jl3Dp3JCXnZE1+ELIPRhCeQrVoWV7M26Ys8kzaDj+EOgM7CKt9YE0xA33m1yF3AhHWlqbnx5BnsGiOAYydzxkU0g4EbO8HoZhW7WJe5pD1eFOUVuHYXOSSs13HuQFhtWhKq0WKEU1YhAiArkfVka7NmMGk+0/zprvonjQgafTpwx+69dUjDllZW8IY84SNze6JVVOKQ/XIYjPicM9dF+E1gclWq9lg4PZPRDzTNNKeNv+irx5YLCjcAAix50VByke6cT1VafcMMxqHTJ3tPOzNMXq0LqD7DjdUfAnUA/p0WtPueSRS/TH03EDYL5/CGGiF6rwnYdb968l+DNhv9rVzq6sRIUznLD3geho64aqFFejIoMh/Wz/fLjE9kSjjg0mWWr+iJInertLM+fa+ed84q2wpX1dy6Q+psfaXX5e+sabkA3uyVUp4nGNgZGBgAOI7TIEq8fw2Xxm42S8ARRhqVDc0ItPsR9mPASkOBiYQDwAISwkeAAB4nGNgZGBgv8AABOxnweRRBkYGVMAMAD5RAn0AAAAAAAfNAAAGlQAAAAAAAADGAPZ4nGNgZGBgYGZoZmBhAAEmIOYCQgaG/2A+AwAVwgGhAHicdY89TsMwAIVf2rSIRkIIJDYkTwgJNf1h68DYbgwdsqepk6ZK4shxK1XiFJyAU3AEJk7BKRh5MR4qRG3J/t7nZ0cBcIkPeGiHh8Cu7ejgjOmXu6Qrxz751nGPfO+4T350PMADnhwHuEbOFzz/nOYGL447uMCr4y79m2Of/O64R/503Cd/OR4gwrfjAHfec17GmRzmiaqapcx2RayPzBFGUje5qsQkHB/Zhaykjo1ci9VBNPtsakwqUq1KMVeVkUWhRK3VViYm3BhTz0aj1PkwUSX/rkSMDBJDcgKFCg2WzBl2KHimT3T+txGztqdtFpggxPhEd8Fc2X4Mw33N/goHrg32bE9pDVLmlB3FNwTm9m7bLjgVTW3PtjQJfYiNvVVjhhFn+qcf2q+XP2uqZy54nGNgYoAAEQbsgJmRiZGZkYWBLbWiIDEvhasgJ7FSNzknNbGIgQEATfIGoA==) format("woff");font-weight:normal;font-style:normal}.container .icon{font-family:\'image-icons\';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.container .icon-expand:before{content:"\\E001"}.container .icon-play-clear:before{content:"\\E002"}'),MHP1138.skins.basic.css.push('.container .videoWrapper video{height:100%;width:100%}.container .preRollEventCatcher{position:absolute;top:0;left:0px;width:100%;height:100%;z-index:5;display:none}.container .preRollTitle{display:none;font-size:4vw;line-height:12vw;position:absolute;top:0;width:100%;text-align:right;z-index:8;background:linear-gradient(to bottom, rgba(0,0,0,0.89) 0%, transparent 100%)}.container .preRollTitle .preRollLink{display:inline-block;pointer-events:auto;padding:0 20px}.container.tablet .preRollTitle{font-size:28px;line-height:2}.container .preRollSkipButton{z-index:8;position:absolute;padding:10px 15px;background:rgba(0,0,0,0.55);right:0;bottom:17px;cursor:pointer;display:none;font-size:14px}.container .preRollSkipButton .icon{font-size:10px;margin-left:4px}.container .preRollSkipButton .content{text-align:center}.container .preRollSkipButton.ctaTimer{bottom:35px;right:11px}.container .preRollSkipButton.skipable{padding:10px 25px}.container .preRollCTA{position:absolute;bottom:30px;left:5px;height:40px;z-index:8;display:none}.container .preRollCTA .image{bottom:4px;left:4px;position:absolute;width:32px;height:32px;background-color:black;background-size:cover;z-index:7;pointer-events:none}.container .preRollCTA .ctaContainer{cursor:pointer;position:relative;font-size:14px;z-index:6;height:40px;overflow:hidden;padding:4px 4px 4px 36px;background-color:rgba(0,0,0,0.55)}.container .preRollCTA .ctaContainer.expand{width:0}.container .preRollCTA .ctaContainer.expand .button{opacity:0}.container .preRollCTA .ctaContainer.expand:hover{width:auto !important}.container .preRollCTA .ctaContainer.expand:hover .button{opacity:1}.container .preRollCTA .ctaContainer .title{padding:0 2px 0 6px;display:none;color:white;line-height:32px;float:left;max-width:250px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.container .preRollCTA .ctaContainer.twoLines .title{font-size:12px;line-height:16px}.container .preRollCTA .ctaContainer .subtitle{padding:0 2px 0 6px;display:none;font-size:10px;line-height:16px;float:left;color:#ccc;max-width:250px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;clear:left}.container .preRollCTA .ctaContainer .button{display:none;float:right;margin:4px 6px 4px 8px;padding:0 10px;height:24px;max-width:100px;font-size:12px;line-height:24px;color:white;background:#0d7fc5;border-radius:3px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.container.preRollRunning .ccContainer{display:none}.container.preRollRunning .cc{display:none}.container.preRollRunning.ctaEnabled .preRollCTA{display:block}.container.preRollRunning .actionTag{display:none !important}.container.preRollRunning .progress{background:#690 !important}.container.preRollRunning .chromecast{display:none !important}.container.preRollRunning .hotspots{display:none !important}.container.preRollRunning .controls{z-index:6}.container.preRollRunning .controls .next{display:none}.container.preRollRunning.hiddenControls .controls{display:none}.container.preRollRunning .controlBar{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0);display:inline-block;background:none;min-height:25px;z-index:7;pointer-events:none;position:absolute;bottom:0}.container.preRollRunning .controlBar .time_elapsed{display:inline-block;line-height:1em;margin:0 0 0 15px;text-shadow:0 0 3px #000}.container.preRollRunning .options{display:none}.container.preRollRunning .topBar{display:none !important}.container.preRollRunning .preRollControls,.container.preRollRunning .preRollTitle,.container.preRollRunning .preRollEventCatcher{display:block}.container .pixelTracking{position:absolute;z-index:0;bottom:-2px;left:-2px;width:1px;height:1px}@media screen and (max-width: 640px){.container .preRollCTA .ctaContainer .title,.container .preRollCTA .ctaContainer .subtitle{max-width:200px}}@media screen and (max-width: 480px){.container .preRollSkipButton{font-size:12px;padding:6px 14px}.container .preRollCTA .ctaContainer .title,.container .preRollCTA .ctaContainer .subtitle{max-width:150px}}@media screen and (max-width: 420px){.container .preRollCTA .ctaContainer .title,.container .preRollCTA .ctaContainer .subtitle{max-width:130px}}@media screen and (max-width: 380px){.container .preRollCTA .ctaContainer .title,.container .preRollCTA .ctaContainer .subtitle{max-width:150px}.container .preRollCTA .ctaContainer .button{display:none !important}}.container .videoErrorMessage{position:absolute;top:0;left:0;width:100%;height:100%;cursor:default}.container .videoErrorMessage .centered{position:absolute;top:50%;padding:1px 7px;border-radius:3px}.container .videoErrorMessage p{margin:0;font:bold 16px Arial, Verdana, sans-serif}.container.desktop .videoErrorMessage{white-space:nowrap;z-index:5}.container.desktop .videoErrorMessage .centered{background:#000;left:50%;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.container.desktop .videoErrorMessage p{padding:2px 0 0 25px}.container.desktop .videoErrorMessage .icon{float:left;position:relative;top:2px;font-size:16px}.container.desktop.videoUnavailable .watchHD,.container.desktop.videoUnavailable .playerStateIcon,.container.desktop.videoUnavailable .controlBar,.container.desktop.videoUnavailable .topBar{display:none !important}.container.mobile .videoErrorMessage,.container.tablet .videoErrorMessage{background:#000;z-index:10}.container.mobile .videoErrorMessage .centered,.container.tablet .videoErrorMessage .centered{display:inline-block;left:0;-webkit-transform:translate(0, -50%);-ms-transform:translate(0, -50%);transform:translate(0, -50%);padding:0 20px}.container.mobile .videoErrorMessage p,.container.tablet .videoErrorMessage p{padding:0;text-align:center}.container.mobile .videoErrorMessage .icon,.container.tablet .videoErrorMessage .icon{display:none}.container.mobile.videoUnavailable .options,.container.mobile.videoUnavailable .controls,.container.mobile.videoUnavailable .controlBar,.container.mobile.videoUnavailable .watchHD,.container.mobile.videoUnavailable .topBar,.container.mobile.videoUnavailable .loader,.container.tablet.videoUnavailable .options,.container.tablet.videoUnavailable .controls,.container.tablet.videoUnavailable .controlBar,.container.tablet.videoUnavailable .watchHD,.container.tablet.videoUnavailable .topBar,.container.tablet.videoUnavailable .loader{display:none !important}.container{position:relative;background:black;height:100%;width:100%;font-size:15px}.container .videoWrapper{background-color:#000;width:100%;height:100%;z-index:1}.container .videoPoster{position:absolute;background-color:#000;background-size:cover;background-repeat:no-repeat;background-position:center;top:0;bottom:0;left:0;right:0;z-index:10}.container .controls{position:absolute;top:0;bottom:0;left:0;right:0;z-index:20}.container .play{font-size:70px;position:absolute;top:50%;left:50%;opacity:0.5;margin-left:-35px;margin-top:-35px;cursor:pointer;color:#fff}.container .qualitiesMenu{position:absolute;color:#fff;bottom:10px !important;left:10px !important;vertical-align:middle;z-index:30;transition:all 0.2s linear;cursor:pointer;visibility:visible;min-width:150px}.container .qualitiesMenu .current{border-radius:5px;background-color:rgba(0,0,0,0.7);padding:8px 10px;vertical-align:middle;position:absolute;left:0;bottom:0}.container .qualitiesMenu .current .icon{display:inline-block;vertical-align:middle}.container .qualitiesMenu .current .value{display:inline-block;font-weight:bold;margin:0 5px;vertical-align:middle}.container .qualitiesMenu .current .icon-arrow-down{font-size:0.9em;-webkit-transform:rotate(0turn);-ms-transform:rotate(0turn);transform:rotate(0turn)}.container .qualitiesMenu .qualityList{display:none;position:absolute;left:0;right:0;top:0;bottom:45px;z-index:40;overflow:scroll;min-height:90px}.container .qualitiesMenu .qualityList .qualityItem{padding:8px 10px;background-color:rgba(0,0,0,0.7);border-bottom:1px solid #242424;font-size:16px;vertical-align:middle}.container .qualitiesMenu .qualityList .qualityItem .icon{display:inline-block;color:#000;vertical-align:middle;text-align:center;margin-right:5px;font-size:0.9em;padding:0 1px}.container .qualitiesMenu .qualityList .qualityItem .radioBtn{display:block;float:right;width:16px;height:16px;border:2px solid #fff;border-radius:8px;position:relative;margin:2px 0}.container .qualitiesMenu .qualityList .qualityItem .radioBtn:after{content:"";background-color:#fff;border-radius:3px;position:absolute;top:3px;left:3px}.container .qualitiesMenu .qualityList .qualityItem.active{font-weight:bold}.container .qualitiesMenu .qualityList .qualityItem.active .radioBtn:after{width:6px;height:6px}.container .qualitiesMenu .qualityList .qualityItem:last-child{border-bottom:none}.container .qualitiesMenu.active{top:10px;left:10px;right:10px}.container .qualitiesMenu.active .current{position:absolute;bottom:0;left:0}.container .qualitiesMenu.active .current .icon-arrow-down{-webkit-transform:rotate(0.5turn);-ms-transform:rotate(0.5turn);transform:rotate(0.5turn)}.container .qualitiesMenu.active .qualityList{display:block}.container .duration{background-color:rgba(0,0,0,0.6);color:#fff;padding:3px 8px;position:absolute;bottom:0;right:0;z-index:30}.container .topBar{width:100%;height:46px;position:absolute;top:0;left:0;z-index:40;display:none;-webkit-backface-visibility:hidden;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0);transition:-webkit-transform 0.3s ease-in-out;transition:transform 0.3s ease-in-out;transition:transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out}.container .topBar .content{position:absolute;top:0;left:0;width:100%;height:100%;z-index:50}.container .topBar .background{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);opacity:1;z-index:45}.container .topBar .title{height:46px;padding:0 90px 0 10px}.container .topBar .title span{display:block;width:100%;overflow:hidden;color:#fff;font-size:18px;line-height:46px;white-space:nowrap;text-overflow:ellipsis;cursor:default}.container .topBar .title span.isLink{cursor:pointer}.container .topBar .title span.isLink:hover,.container .topBar .title span.isLink.hover{text-decoration:underline}.container .topBar .logo{position:absolute;top:0;right:10px;width:70px;height:46px;line-height:46px}.container .topBar .logo.isLink{cursor:pointer}.container .topBar .logo svg{display:block;height:100%;width:100%}.container .controlBar{display:none}.container.noIcons .play{width:70px;height:70px;border-radius:35px;background-color:#fff}.container.noIcons .play .playBtn{position:absolute;top:12px;left:23px;width:0;height:0;border-top:24px solid transparent;border-bottom:24px solid transparent;border-left:38px solid #333}.container.noIcons .play .icon{display:none}.container.noIcons .qualitiesMenu .current .icon{display:none}.container.noIcons .qualitiesMenu .star{display:none}.container.noIcons .qualitiesMenu .upsell{font-weight:bold;position:relative}.container.noIcons .qualitiesMenu .upsell:before{content:"*";position:absolute;top:13px;left:13px;display:inline-block;font-size:1.5em;line-height:1em}.container.noIcons .qualitiesMenu .upsell .icon{display:none}.container.noIcons .qualitiesMenu .qualityList .qualityItem .icon{display:none}.container.noControls video{display:none}.container.mobile .controls{z-index:10}.container.mobile .topBar .title span{font-size:14px}.container.desktop .qualitiesMenu .qualityList{overflow:hidden auto}.container.embedded .controls{top:46px}.container.embedded .desktop .controls{bottom:40px}.container.embedded .topBar{display:block}.container.embedded.noSvg .topBar .logo{display:none}.container.embedded.noSvg .topBar .title{padding-right:10px}.container.isPlaying .duration{display:none}.container.isPlaying .controls{transition:all 0.2s linear;-webkit-transition:all 0.2s linear;bottom:48px;right:auto;white-space:nowrap}.container.isPlaying .controls .play{display:none}.container.isPlaying .videoPoster{display:none}.container.isPlaying video{display:block}.container.isPlaying.desktop.chrome .controls{bottom:50px}.container.isPlaying.desktop.firefox .controls{bottom:40px}.container.isPlaying.desktop.edge .controls{bottom:60px}.container.isPlaying.desktop.ie .controls{bottom:50px}.container.isPlaying.mobile.noControls .controls{display:none}.container.isPlaying.mobile.ios.fullControls video::-webkit-media-controls-start-playback-button{display:none !important;-webkit-appearance:none}.container.isPlaying.mobile.ios.fullControls .controls{bottom:0;top:0;width:100%;height:100%}.container.isPlaying.mobile.ios.fullControls .controls .play{display:block}.container.isPlaying.mobile.ios.controlsBasic .controls{display:none}.container.isPlaying.mobile.windowsPhone .controls{bottom:55px}.container.isPlaying.mobile.embedded .controls{top:46px;bottom:48px;height:auto;left:0;right:0;width:100%}.container.isPlaying.mobile.embedded.minControls .controls{top:auto;right:auto;height:37px;width:80px}.container.isPlaying.hideControls .qualitiesMenu{display:none}.container.isPlaying.hideControls.embedded .controls{width:1px;height:1px}.container.isPlaying.hideControls.embedded.mobile .qualitiesMenu{opacity:0}.container.isPlaying.hideControls.embedded.mobile .controls{top:auto;right:auto;width:1px}.container.isPlaying.embedded video::-webkit-media-controls-fullscreen-button{display:none !important;-webkit-appearance:none}.container.isPlaying.embedded video::-webkit-media-controls-picture-in-picture-button{display:none !important;-webkit-appearance:none}@media (max-width: 375px){.container .qualitiesMenu.active .current{display:none}.container .qualitiesMenu.active .qualityList{bottom:20px}.container.isPlaying .qualitiesMenu.active .qualityList{bottom:5px}}@media (min-width: 600px){.container .qualitiesMenu .qualityList{width:200px;top:auto}}'),
MHP1138.skins.desktop.css.push(".container{height:100% !important;width:100% !important;position:relative;background:black;overflow:hidden;font-family:Arial;color:white}.container div,.container span,.container applet,.container object,.container iframe,.container h1,.container h2,.container h3,.container h4,.container h5,.container h6,.container p,.container blockquote,.container pre,.container a,.container abbr,.container acronym,.container address,.container big,.container cite,.container code,.container del,.container dfn,.container em,.container img,.container ins,.container kbd,.container q,.container s,.container samp,.container small,.container strike,.container strong,.container sub,.container sup,.container tt,.container var,.container b,.container u,.container i,.container center,.container dl,.container dt,.container dd,.container ol,.container ul,.container li,.container fieldset,.container form,.container label,.container legend,.container table,.container caption,.container tbody,.container tfoot,.container thead,.container tr,.container th,.container td,.container article,.container aside,.container canvas,.container details,.container embed,.container figure,.container figcaption,.container footer,.container header,.container hgroup,.container menu,.container nav,.container output,.container ruby,.container section,.container summary,.container time,.container mark,.container audio,.container video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.container article,.container aside,.container details,.container figcaption,.container figure,.container footer,.container header,.container hgroup,.container menu,.container nav,.container section{display:block}.container ol,.container ul{list-style:none}.container blockquote,.container q{quotes:none}.container blockquote:before,.container blockquote:after,.container q:before,.container q:after{content:'';content:none}.container table{border-collapse:collapse;border-spacing:0}.container video{border:none}.container .videoWrapper{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%}.container .videoWrapper video,.container .videoWrapper canvas{position:absolute;top:0;left:0;z-index:0}.container .videoWrapper canvas{height:100%;width:100%}.container button{overflow:visible}.container button::-moz-focus-inner,.container input::-moz-focus-inner{padding:0;border:0}.container *{outline:none}.container .volumeEventCatcher{position:absolute;top:0;left:0;opacity:0.5}.container,.container *{-o-user-select:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.container *::selection{background:transparent}.container .videoWrapper video{height:100%;width:100%}.container .preRollEventCatcher{position:absolute;top:0;left:0px;width:100%;height:100%;z-index:5;display:none}.container .preRollTitle{position:relative;z-index:8;background:linear-gradient(to bottom, rgba(0,0,0,0.89) 0%, transparent 100%);padding:0 15px;font-size:14px;font-weight:bold;line-height:42px;height:42px;display:none;overflow:hidden}.container .preRollLink{position:absolute;z-index:8;top:0;right:0;padding:0 15px;font-weight:bold;line-height:42px;display:none;cursor:pointer}.container .preRollSkipButton{z-index:8;position:absolute;padding:10px 15px;background:rgba(0,0,0,0.55);right:15px;bottom:60px;cursor:pointer;display:none;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0);transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out, -webkit-transform .3s ease-in-out}.container .preRollSkipButton .icon{font-size:10px;margin-left:4px}.container.tablet .preRollSkipButton{bottom:76px}.container.hideControls .preRollTimeElapsed{opacity:1}.container.hideControls .preRollCTA{-webkit-transform:translate(0, 25px);-ms-transform:translate(0, 25px);transform:translate(0, 25px)}.container .preRollCTA{bottom:60px;display:none;height:40px;left:15px;min-width:40px;position:absolute;z-index:10;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0);transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out, -webkit-transform .3s ease-in-out}.container .preRollCTA .image{bottom:4px;left:4px;position:absolute;width:32px;height:32px;background-color:black;background-size:cover;z-index:7;pointer-events:none}.container .preRollCTA .ctaContainer{cursor:pointer;position:relative;z-index:6;height:40px;overflow:hidden;padding:4px 4px 4px 36px;background-color:rgba(0,0,0,0.55)}.container .preRollCTA .ctaContainer.expand{width:0}.container .preRollCTA .ctaContainer.expand .button{opacity:0}.container .preRollCTA .ctaContainer.expand:hover{width:auto !important}.container .preRollCTA .ctaContainer.expand:hover .button{opacity:1}.container .preRollCTA .ctaContainer .title{padding:0 2px 0 6px;display:none;color:white;line-height:32px;float:left;font-size:14px;max-width:200px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.container .preRollCTA .ctaContainer.twoLines .title{font-size:12px;line-height:16px}.container .preRollCTA .ctaContainer .subtitle{padding:0 2px 0 6px;display:none;font-size:10px;line-height:16px;float:left;color:#ccc;max-width:200px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;clear:left}.container .preRollCTA .ctaContainer .button{display:none;float:right;margin:4px 6px 4px 8px;padding:0 10px;height:24px;font-size:12px;line-height:24px;white-space:nowrap;color:white;background:#0d7fc5;border-radius:3px}.container .preRollTimeElapsed{color:#ccc;display:none;padding:6px 4px;text-shadow:0 0 3px #000;opacity:0;transition:opacity .3s linear;position:absolute;bottom:2px;left:15px;white-space:nowrap;z-index:4}.container .clickable{cursor:pointer}.container.preRollRunning .share{display:none !important}.container.preRollRunning.ctaEnabled .preRollCTA{display:block}.container.preRollRunning .preRollTitle,.container.preRollRunning .preRollLink,.container.preRollRunning .preRollSkipButton,.container.preRollRunning .preRollEventCatcher,.container.preRollRunning .preRollTimeElapsed{display:block}.container.preRollRunning .topBar{display:none !important}.container.preRollRunning .controlBar .cc{display:none}.container.preRollRunning .controlBar .options{display:none}.container.preRollRunning .controlBar .nextVideo{display:none}.container.preRollRunning .controlBar .logo{display:none !important}.container.preRollRunning .controlBar .options{display:none !important}.container.preRollRunning .actionTag{display:none !important}.container.preRollRunning .progress{background:#690 !important}.container.preRollRunning .progress:before{background:#690 !important}.container.preRollRunning .handleHover .center{background:#690 !important}.container.preRollRunning .seekBar .handle{display:none !important}.container.preRollRunning .chromecast{display:none !important}.container.preRollRunning .airplay{display:none !important}.container.preRollRunning .hotspots{display:none !important}.container.preRollRunning .watchHD{display:none !important}.container.fullscreen .preRollTitle{font-size:20px}.container .pixelTracking{position:absolute;z-index:0;bottom:-2px;left:-2px;width:1px;height:1px}.container .ccContainer{pointer-events:none;position:absolute;top:0;left:0;right:0;bottom:0;z-index:6;outline:none;transition:bottom .3s ease-in-out;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:reverse-column;-ms-flex-direction:reverse-column;flex-direction:reverse-column;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-align-content:flex-end;-ms-flex-line-pack:end;align-content:flex-end}.container .ccContainer .overlayText{left:0 !important;right:0 !important;width:100%;-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end;position:relative;margin:0 10% 10px;font-size:1em;line-height:1.4;color:#fff}.container .ccContainer .overlayText .text{position:relative;padding:2px 6px !important;z-index:7}.container .ccContainer .overlayText .text:after{content:' ';position:absolute;z-index:-1;top:0;left:0;width:100%;height:100%;border-radius:4px;background:black;opacity:0.75}.container.showControls .ccContainer,.container.embedded .ccContainer{bottom:52px}.container.tablet.embedded .ccContainer{bottom:68px}.container.airplay .ccContainer,.container.casting .ccContainer{display:none !important}.container.preRollRunning .ccContainer{display:none}.container .ccContainer.size_0_5 .text{font-size:0.5em}.container .ccContainer.size_0_75 .text{font-size:0.75em}.container .ccContainer.size_1 .text{font-size:1em}.container .ccContainer.size_1_25 .text{font-size:1.25em}.container .ccContainer.size_1_5 .text{font-size:1.5em}.container .ccContainer.color_white .text{color:#fff}.container .ccContainer.color_black .text{color:#000}.container .ccContainer.color_cyan .text{color:#00b6f2}.container .ccContainer.color_magenta .text{color:#f6569e}.container .ccContainer.color_yellow .text{color:#fff22f}.container .ccContainer.bg_0_0 .text:after{opacity:0}.container .ccContainer.bg_0_25 .text:after{opacity:0.25}.container .ccContainer.bg_0_5 .text:after{opacity:0.5}.container .ccContainer.bg_0_75 .text:after{opacity:0.75}.container .ccContainer.bg_1_0 .text:after{opacity:1}.container .ccContainer.bg_color_white .text:after{background:#fff}.container .ccContainer.bg_color_black .text:after{background:#000}.container .ccContainer.bg_color_cyan .text:after{background:#00b6f2}.container .ccContainer.bg_color_magenta .text:after{background:#f6569e}.container .ccContainer.bg_color_yellow .text:after{background:#fff22f}.container .controlBar .grid{float:right;position:relative;height:100%;overflow:hidden;display:none}.container .controlBar .grid .btn{position:relative;font-weight:bold;font-size:14px;line-height:36px}.container.showGrid .playerStateIcon{display:none}.container.showGrid>.share{display:none !important}.container.showGrid .gridMenu{display:block}.container.showGrid .controlBar{z-index:7}.container.showGrid .controlBar .grid .btn{color:#ffffff}.container .gridMenu{position:absolute;top:0;left:0;width:100%;height:100%;z-index:5;outline:none;background-color:rgba(0,0,0,0.5);display:none}.container .gridMenu .gridContainer{position:absolute;top:52px;left:0;width:100%;bottom:58px;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0);transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out, -webkit-transform .3s ease-in-out}.container .gridMenu .gridContainer .gridWrapper{width:69%}.container .gridMenu .gridWrapper{position:absolute;left:50%;top:50%;z-index:4;width:66%;-webkit-transform:translate3d(-50%, -50%, 0);transform:translate3d(-50%, -50%, 0);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-touch-callout:none}.container .gridMenu .prevPage,.container .gridMenu .nextPage{background-color:#000;padding:17px 4px 17px 5px;width:21px;height:54px;box-sizing:border-box;position:absolute;top:50%;margin:-27px 20px 0;border:0;border-radius:0;cursor:pointer;pointer-events:auto}.container .gridMenu .prevPage .grid-icon,.container .gridMenu .nextPage .grid-icon{font-size:20px;line-height:1}.container .gridMenu .prevPage:hover,.container .gridMenu .nextPage:hover{background-color:#ccc}.container .gridMenu .prevPage{right:100%}.container .gridMenu .nextPage{left:100%}.container .gridMenu .thumbnailsGrid{box-sizing:border-box;padding:1px;margin:0;text-align:center;line-height:0px}.container .gridMenu .thumbnailsGrid .gridItem{background-size:cover;background-color:#000000;background-position:center;background-repeat:no-repeat;border:2px solid #000;box-sizing:border-box;display:inline-block;height:0;margin:-1px -1px -2px;padding-bottom:18.3%;pointer-events:auto;position:relative;text-decoration:none;width:33.333%}.container .gridMenu .thumbnailsGrid .gridItem:hover .info{opacity:1}.container .gridMenu .thumbnailsGrid .gridItem .gridThumb{background-size:cover;background-color:transparent;background-position:center;background-repeat:no-repeat;padding-bottom:56.25%}.container .gridMenu .thumbnailsGrid .gridItem .info{top:-1px;left:-1px;right:-1px;bottom:-1px;position:absolute;background-color:rgba(0,0,0,0.4);font-size:12px;line-height:16px;opacity:0;transition:opacity 0.2s linear;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-touch-callout:none}.container .gridMenu .thumbnailsGrid .gridItem .info .title{color:#fff;text-align:left;font-size:15px;padding:5px;max-height:54px;overflow:hidden}.container .gridMenu .thumbnailsGrid .gridItem .info .stats{bottom:0;color:#fff;position:absolute;width:100%;max-height:22px;overflow:hidden;line-height:18px;color:#fff;padding:5px;box-sizing:border-box}.container .gridMenu .thumbnailsGrid .gridItem .info .stats .rating,.container .gridMenu .thumbnailsGrid .gridItem .info .stats .time,.container .gridMenu .thumbnailsGrid .gridItem .info .stats .views{font-size:13px}.container .gridMenu .thumbnailsGrid .gridItem .info .stats .time{float:left;font-size:14px}.container .gridMenu .thumbnailsGrid .gridItem .info .stats .rating{float:right}.container .gridMenu .thumbnailsGrid .gridItem .info .stats .rating .grid-icon{font-size:12px;position:relative;top:0.05em}.container .gridMenu .thumbnailsGrid .gridItem .info .stats .grid-icon{margin-right:5px;position:relative;top:0.05em}.container .gridMenu .tab{display:inline-block;color:#ccc;text-decoration:none;padding:10px 20px 12px;box-sizing:border-box;cursor:pointer;outline:none}.container .gridMenu .tab:hover,.container .gridMenu .tab.active{color:#fff}.container .gridMenu.gridMenuSide{font-size:16px;background:rgba(0,0,0,0.5)}.container .gridMenu.gridMenuSide .gridContainer{text-shadow:1px 1px 0 rgba(0,0,0,0.5)}.container .gridMenu.gridMenuSide .gridContainer .gridWrapper{transition:all 0.2s linear}.container .gridMenu.gridMenuSide .gridContainer .gridWrapper .gridTitle{text-align:center;font-size:18px;line-height:18px;padding:15px 0}.container .gridMenu.gridMenuSide .thumbnailsGrid{margin-top:10px}.container .gridMenu.gridMenuSide .thumbnailsGrid .gridItem{border:0;color:#fff;font-size:16px;margin-bottom:10px}.container .gridMenu.gridMenuSide .thumbnailsGrid .gridItem[data-item-type=\"video\"]{height:auto;padding:0}.container .gridMenu.gridMenuSide .thumbnailsGrid .gridItem[data-item-type=\"video\"] video{width:100%;opacity:1}.container .gridMenu.gridMenuSide .thumbnailsGrid .gridItem .info{bottom:0;left:0;right:0;top:0}.container .gridMenu.gridMenuSide .thumbnailsGrid .gridItem .info .title{max-height:calc(100% - 28px)}.container .gridMenu.gridMenuSide .thumbnailsGrid .gridItem .info .stats{max-height:28px}.container .gridMenu.gridMenuSide .thumbnailsGrid .gridItem .info .stats .views .grid-icon{font-size:10px}@-webkit-keyframes action{0%{bottom:0}100%{bottom:10px}}@keyframes action{0%{bottom:0}100%{bottom:10px}}.container .gridMenu.tablet .gridMenu .gridContainer{bottom:70px}@media (max-width: 1200px){.container .gridMenu .gridMenu.gridMenuSide .thumbnailsGrid .info .stats .title,.container .gridMenu .gridMenu.gridMenuSide .thumbnailsGrid .info .stats .time,.container .gridMenu .gridMenu.gridMenuSide .thumbnailsGrid .info .stats .rating,.container .gridMenu .gridMenu.gridMenuSide .thumbnailsGrid .info .stats .views{font-size:12px;line-height:12px;max-height:none}.container .gridMenu .gridMenu.gridMenuSide .thumbnailsGrid .info .stats .grid-icon{font-size:11px}}.container .thumbnails{position:absolute;left:0;right:0;z-index:6;pointer-events:none;opacity:1;transition:opacity .2s linear,-webkit-transform .1s ease-out;transition:opacity .2s linear,transform .1s ease-out;transition:opacity .2s linear,transform .1s ease-out,-webkit-transform .1s ease-out}.container .thumbnails.hidden{-webkit-transform:translate(0, -10px);-ms-transform:translate(0, -10px);transform:translate(0, -10px);opacity:0}.container .thumbnails.disabled{opacity:0 !important}.container .thumbnails.thumbLoading{display:none}.container .thumbnails.crop9x16 .rect{min-width:50px}.container .thumbnails.crop9x16 .rect .sprite{max-width:50px}.container .thumbnails.crop9x16 .rect .sprite .image{margin-left:-54px}.container .thumbnails.crop9x16.frame4x3 .rect .sprite .image{margin-left:-33px}.container .thumbnails.squish9x16 .rect{min-width:50px;max-width:56px}.container .thumbnails.squish9x16 .rect .sprite{-webkit-transform:scale(0.3125, 1);-ms-transform:scale(0.3125, 1);transform:scale(0.3125, 1);-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.container .thumbnails.squish9x16 .rect .sprite .image{margin-left:0}.container .thumbnails.crop9x16 .actionTagTitle,.container .thumbnails.squish9x16 .actionTagTitle{max-width:56px;padding:3px 0}.container .thumbnails.crop4x3 .rect .sprite{max-width:120px}.container .thumbnails.crop4x3 .rect .sprite .image{margin-left:-20px}.container .thumbnails.zoom16x9 .rect .crop{width:160px;height:90px;overflow:hidden}.container .thumbnails.zoom16x9 .rect .sprite{-webkit-transform:scale(1.333);-ms-transform:scale(1.333);transform:scale(1.333);-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.container .thumbnails.zoom16x9 .rect .sprite .image{margin-top:-11px}.container .thumbnails .actionTagTitle{background:rgba(0,0,0,0.75);border-radius:0;position:relative;margin:0 -3px -25px;max-width:166px;line-height:16px;padding:3px 10px;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:none}.container .thumbnails .rect{position:absolute;left:0;bottom:0;background:rgba(0,0,0,0.75);border:3px solid transparent;min-height:24px;min-width:60px;max-width:166px}.container .thumbnails .rect.noImage .crop{display:none}.container .thumbnails .rect.noImage .sprite{display:none}.container .thumbnails .rect .sprite{max-width:160px;overflow:hidden;position:relative}.container .thumbnails .rect .sprite .image,.container .thumbnails .rect .sprite .cache{position:absolute;top:0;left:0}.container .thumbnails .rect .sprite .cache{visibility:hidden}.container .thumbnails .rect .shadow{position:absolute;bottom:0;left:0;right:0;height:27px;background:linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%)}.container .thumbnails .rect .selectedTime{position:absolute;bottom:-3px;left:0;right:0;line-height:24px;text-align:center;z-index:2}.container.hideControls .thumbnails{display:none}.container.mobile .thumbnails .rect .actionTagTitle{margin:0 0 -22px 50%;box-shadow:none;background:transparent}.container.mobile.showFwdRwd .thumbnails{display:block;top:0;bottom:10px}.container.mobile.showFwdRwd .thumbnails.thumbLoading{display:none !important}.container.mobile.showFwdRwd .thumbnails.leftSide .rect{left:25%;bottom:50%;-webkit-transform:translate3d(-50%, 50%, 0) !important;transform:translate3d(-50%, 50%, 0) !important}.container.mobile.showFwdRwd .thumbnails.rightSide .rect{left:75%;bottom:50%;-webkit-transform:translate3d(-50%, 50%, 0) !important;transform:translate3d(-50%, 50%, 0) !important}.container .videoErrorMessage{position:absolute;top:0;left:0;width:100%;height:100%;cursor:default}.container .videoErrorMessage .centered{position:absolute;top:50%;padding:1px 7px;border-radius:3px}.container .videoErrorMessage p{margin:0;font:bold 16px Arial, Verdana, sans-serif}.container.desktop .videoErrorMessage{white-space:nowrap;z-index:5}.container.desktop .videoErrorMessage .centered{background:#000;left:50%;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.container.desktop .videoErrorMessage p{padding:2px 0 0 25px}.container.desktop .videoErrorMessage .icon{float:left;position:relative;top:2px;font-size:16px}.container.desktop.videoUnavailable .watchHD,.container.desktop.videoUnavailable .playerStateIcon,.container.desktop.videoUnavailable .controlBar,.container.desktop.videoUnavailable .topBar{display:none !important}.container.mobile .videoErrorMessage,.container.tablet .videoErrorMessage{background:#000;z-index:10}.container.mobile .videoErrorMessage .centered,.container.tablet .videoErrorMessage .centered{display:inline-block;left:0;-webkit-transform:translate(0, -50%);-ms-transform:translate(0, -50%);transform:translate(0, -50%);padding:0 20px}.container.mobile .videoErrorMessage p,.container.tablet .videoErrorMessage p{padding:0;text-align:center}.container.mobile .videoErrorMessage .icon,.container.tablet .videoErrorMessage .icon{display:none}.container.mobile.videoUnavailable .options,.container.mobile.videoUnavailable .controls,.container.mobile.videoUnavailable .controlBar,.container.mobile.videoUnavailable .watchHD,.container.mobile.videoUnavailable .topBar,.container.mobile.videoUnavailable .loader,.container.tablet.videoUnavailable .options,.container.tablet.videoUnavailable .controls,.container.tablet.videoUnavailable .controlBar,.container.tablet.videoUnavailable .watchHD,.container.tablet.videoUnavailable .topBar,.container.tablet.videoUnavailable .loader{display:none !important}.container .gridMenu .gridContainer .gridWrapper .gridItem{color:#fff}.container .gridMenu .gridContainer .gridWrapper .gridItem .info .stats{padding:3px 5px}.container .gridMenu .gridContainer .gridWrapper .gridItem .info .stats .rating,.container .gridMenu .gridContainer .gridWrapper .gridItem .info .stats .views{float:right}.container .gridMenu .gridContainer .gridWrapper .gridItem .info .stats .views{margin-right:6%}.container .gridMenu.gridMenuSide{height:100%;top:0;left:auto;bottom:0;right:0;transition:height 0.2s ease-in-out;width:25%}.container .gridMenu.gridMenuSide:hover,.container .gridMenu.gridMenuSide:focus{z-index:7}.container .gridMenu.gridMenuSide:hover .gridNextBtn:before,.container .gridMenu.gridMenuSide:focus .gridNextBtn:before{border-color:#fff}.container .gridMenu.gridMenuSide .gridContainer{top:0;bottom:0;left:auto;right:auto;width:100%;overflow:hidden;transition:all 0.2s linear}.container .gridMenu.gridMenuSide .gridContainer .gridWrapper{left:0;top:0;width:100%;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.container .gridMenu.gridMenuSide .gridContainer .gridWrapper .gridHeader ~ .thumbnailsGrid{margin-top:0}.container .gridMenu.gridMenuSide .gridContainer .gridWrapper .thumbnailsGrid{margin-top:10px}.container .gridMenu.gridMenuSide .gridContainer .gridWrapper .thumbnailsGrid .gridItem{margin-bottom:10px;width:95%}.container .gridMenu.gridMenuSide .gridContainer .gridWrapper .thumbnailsGrid .gridItem[data-item-type=\"link\"]{overflow:hidden;padding-bottom:50%}.container .gridMenu.gridMenuSide .gridNextBtn{bottom:0;position:absolute;left:50%;-webkit-transform:translate(-50%, 0);-ms-transform:translate(-50%, 0);transform:translate(-50%, 0);height:40px;width:80px;z-index:6;cursor:pointer}.container .gridMenu.gridMenuSide .gridNextBtn:before{content:\"\";width:10px;height:10px;border-left:3px solid #ccc;border-bottom:3px solid #ccc;position:absolute;left:36px}.container .gridMenu.gridMenuSide .gridNextBtn:hover:before{border-color:#fff}.container .gridMenu.gridMenuSide .gridNextBtn.animated{border-radius:5px;-webkit-animation:action 0.5s infinite alternate;animation:action 0.5s infinite alternate}.container .gridMenu.gridMenuSide .gridNextBtn.animated:before{border-left-color:#fff;border-top-color:#fff}.container .gridMenu.gridMenuSide .gridNextBtn:before{-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);top:21px}.container.hideControls .gridMenu .gridContainer{-webkit-transform:translate(0, 22px);-ms-transform:translate(0, 22px);transform:translate(0, 22px)}.container.hideControls .gridMenuSide .gridContainer{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0)}.container.showControls .gridMenu.gridMenuSide{height:calc(100% - 36px - 6px)}@media (max-width: 767px){.container.embedded .gridContainer .gridWrapper .gridItem .info .title{font-size:12px;max-height:none;overflow:hidden;padding:2px}.container.embedded .gridContainer .gridWrapper .gridItem .info .stats{display:none}}.container.tablet .tooltip{display:none !important}.container .tooltip{position:absolute;left:0px;top:0px;z-index:7;background:rgba(0,0,0,0.75);padding:4px 15px;cursor:default;pointer-events:none;opacity:1;-webkit-transform:translate(0, 0, 0);-ms-transform:translate(0, 0, 0);transform:translate(0, 0, 0);transition:opacity .2s linear}.container .tooltip.hidden{-webkit-transform:translate(0, -10px);-ms-transform:translate(0, -10px);transform:translate(0, -10px);opacity:0}.container .tooltip .title{text-align:center;white-space:nowrap}.container .tooltip .arrow{display:block;position:absolute;top:100%;left:0;width:0;height:0;margin:0;padding:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,0.75);margin-left:-7px}.container .tooltip.topDown.hidden{-webkit-transform:translate(0, 10px);-ms-transform:translate(0, 10px);transform:translate(0, 10px)}.container .tooltip.topDown .arrow{top:auto;bottom:100%;border-top:0;border-bottom:7px solid rgba(0,0,0,0.75)}.container .tooltip.leftSided.hidden{-webkit-transform:translate(-10px, 0);-ms-transform:translate(-10px, 0);transform:translate(-10px, 0)}.container .tooltip.leftSided .arrow{top:50%;bottom:auto;margin-left:0;margin-top:-7px;left:100%;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,0.75)}.container .tooltip.rightSided.hidden{-webkit-transform:translate(10px, 0);-ms-transform:translate(10px, 0);transform:translate(10px, 0)}.container .tooltip.rightSided .arrow{top:50%;bottom:auto;margin-top:-7px;left:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,0.75);border-left:0}.container .contextMenu{border:1500px solid transparent;position:absolute;z-index:7;top:100%;left:100%;background:rgba(0,0,0,0.75);background-clip:padding-box;opacity:1;padding:3px 0;transition:opacity .2s linear}.container .contextMenu.hidden{opacity:0;pointer-events:none}.container .contextMenu.looped .loop{padding-left:28px;color:#fff}.container .contextMenu.looped .loop:after{content:'✓';position:absolute;top:3px;left:10px}.container .contextMenu .content div{color:#ccc;white-space:nowrap;padding:3px 10px;cursor:pointer;position:relative}.container .contextMenu .content div:hover,.container .contextMenu .content div.hover{color:#fff}.container .contextMenu .content .about{padding-top:5px;margin-top:3px;border-top:1px solid rgba(255,255,255,0.2)}.container .topBar{width:100%;height:46px;position:absolute;top:0;left:0;z-index:6;display:none;-webkit-backface-visibility:hidden;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0);transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out, -webkit-transform .3s ease-in-out}.container .topBar .btn{display:inline-block;background:transparent;margin:0;padding:0 0 0;border:0;outline:none;z-index:4;font-size:24px;line-height:46px;position:absolute;top:0;left:0;height:100%;cursor:pointer;overflow:visible;text-transform:none;text-align:center;color:#ccc}.container .topBar .btn:hover,.container .topBar .btn.hover{color:#fff}.container .topBar .btn.icon{width:36px;float:none}.container .topBar .content{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2}.container .topBar .background{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);opacity:1;z-index:1}.container .topBar .title{height:46px;padding:0 20px}.container .topBar .title span{display:block;width:100%;overflow:hidden;color:#fff;font-size:18px;line-height:46px;white-space:nowrap;text-overflow:ellipsis;cursor:default}.container .topBar .title span.isLink{cursor:pointer}.container .topBar .share{float:right;width:36px;height:100%;position:relative;z-index:2;margin-right:14px}.container .controlBar{width:100%;height:36px;z-index:6;position:absolute;left:0;bottom:0;right:0px;-webkit-backface-visibility:hidden;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0);transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out, -webkit-transform .3s ease-in-out}.container .controlBar>.front{position:absolute;top:0;bottom:0;left:0;right:0;padding:0 3px 0 15px;height:36px;z-index:4}.container .controlBar>.background{position:absolute;left:0;right:0;bottom:0;height:64px;background:linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.48) 39%, rgba(0,0,0,0.65) 95%, rgba(0,0,0,0.71) 100%);z-index:1;opacity:1;transition:opacity 0s ease-in}.container .controlBar .fullscreen,.container .controlBar .cinema,.container .controlBar .options,.container .controlBar .sound,.container .controlBar .playPause,.container .controlBar .nextVideo,.container .controlBar .volume,.container .controlBar .chromecast,.container .controlBar .cc{height:100%;width:36px;padding:0;margin:0;float:left;position:relative}.container .controlBar .nextVideo{opacity:1;pointer-events:auto;cursor:pointer}.container .controlBar .fullscreen,.container .controlBar .cinema,.container .controlBar .chromecast,.container .controlBar .airplay,.container .controlBar .options,.container .controlBar .cc{float:right}.container .controlBar .options{display:none}.container .controlBar .playPause>*,.container .controlBar .volume>*,.container .controlBar .fullscreen>*,.container .controlBar .cinema>*{transition:opacity .2s linear;opacity:0;pointer-events:none}.container .controlBar .cinema{display:none}.container .controlBar .cc{cursor:pointer;margin-right:6px}.container .controlBar .cc .btn{font-size:10px;line-height:16px;color:#000;background:#ccc;text-align:center;margin:10px 8px;width:20px;height:16px;border-radius:1px;position:relative;padding:0}.container .controlBar .cc.hover .btn,.container .controlBar .cc:hover .btn{background:#fff;color:#000}.container .controlBar .volume>*{padding-bottom:1px;text-align:left;padding-left:8px;transition:none}.container .controlBar .volume>*:before{display:inline-block;overflow:hidden}.container .controlBar .volume.lowVolume .volume-low,.container .controlBar .volume.mediumVolume .volume-low,.container .controlBar .volume.fullVolume .volume-full,.container .controlBar .volume.muteVolume .volume-mute{opacity:1;pointer-events:auto}.container .controlBar .volume.lowVolume .volume-low:before{width:11px;margin-right:10px}.container .controlBar .fullscreen .icon-fullscreen{opacity:1;pointer-events:auto}.container .controlBar .fullscreen.active .icon-fullscreen-exit{opacity:1;pointer-events:auto}.container .controlBar .fullscreen.active .icon-fullscreen{opacity:0;pointer-events:none}.container .controlBar .chromecast{display:none}.container .controlBar .chromecast:hover .chromecastBtn{color:white;--disconnected-color:white}.container .controlBar .chromecast .chromecastBtn{background-color:transparent;border:0;cursor:pointer;padding:5px;width:36px;height:100%;z-index:5;--disconnected-color:#ccc}.container .controlBar .airplay{width:39px;height:36px;position:relative;display:none}.container .controlBar .airplay .airplayBtn{width:100%;height:36px}.container .controlBar .airplay .airplayBtn .airplay-icon{display:inline-block;width:28px;height:24px;margin:7px 5px 5px;position:relative;background-image:-webkit-named-image(wireless-playback);background-size:100% 100%;background-position:center;background-repeat:no-repeat;-webkit-filter:invert(75%);filter:invert(75%)}.container .controlBar .airplay .airplayBtn .airplay-icon.active,.container .controlBar .airplay .airplayBtn:hover .airplay-icon,.container .controlBar .airplay .airplayBtn.hover .airplay-icon{-webkit-filter:invert(100%);filter:invert(100%)}.container .controlBar .airplay.streaming .airplayBtn .airplay-icon{-webkit-filter:invert(100%);filter:invert(100%)}.container .controlBar .airplay.streaming .airplayBtn .airplay-icon:after{content:' ';width:18px;height:6px;border-radius:1px;background:#000;position:absolute;top:6px;left:5px}.container .controlBar .cinema .icon-size-large{opacity:1;pointer-events:auto}.container .controlBar .cinema.active .icon-size-medium{opacity:1;pointer-events:auto}.container .controlBar .cinema.active .icon-size-large{opacity:0;pointer-events:none}.container .controlBar .btn{display:inline-block;background:transparent;margin:0;padding:0 0 2px;border:0;outline:none;z-index:4;font-size:16px;line-height:36px;position:absolute;top:0;left:0;height:100%;cursor:pointer;overflow:visible;text-transform:none;text-align:center;color:#ccc}.container .controlBar .btn:hover,.container .controlBar .btn.hover{color:#fff}.container .controlBar .btn.icon{width:36px;float:none}.container .controlBar .time{height:100%;float:left;display:block;padding:0 16px 0 12px;box-sizing:border-box;text-align:right;line-height:36px}.container .controlBar .time .elapsed{font-weight:700}.container .controlBar .time .sep{padding:0 4px}.container .controlBar .sound{width:auto;display:none}.container .controlBar .volumeSlider{float:left;padding:0 8px;width:96px;overflow:hidden}.container .controlBar .volumeSlider.hidden .volumeBar,.container .controlBar .volumeSlider.muted .volumeBar{-webkit-transform:translate(-120%, 0);-ms-transform:translate(-120%, 0);transform:translate(-120%, 0)}.container .controlBar .volumeBar{width:80px;height:36px;position:relative;cursor:pointer;-webkit-backface-visibility:hidden;-webkit-touch-callout:none;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0);transition:-webkit-transform .2s ease-out;transition:transform .2s ease-out;transition:transform .2s ease-out, -webkit-transform .2s ease-out}.container .controlBar .volumeBar .front,.container .controlBar .volumeBar .background{position:absolute;top:9px;left:0;z-index:5;width:80px;height:18px;background:#000;background-clip:content-box;box-sizing:border-box;padding:7px 0}.container .controlBar .volumeBar .front{z-index:6;width:50%;background-color:#f90}.container .controlBar .volumeBar .handle{width:5px;height:18px;position:absolute;top:0px;right:-2px;z-index:7;background:#fff}.container .controlBar .volumeBar .extraZone .left{position:absolute;left:-8px;top:0;width:8px;height:36px;cursor:pointer}.container .controlBar .volumeBar .extraZone .right{z-index:9;position:absolute;right:-8px;top:0;width:8px;height:36px;cursor:pointer}.container .controlBar .options,.container .controlBar .cinema,.container .controlBar .fullscreen,.container .controlBar .chromecast,.container .controlBar .airplay,.container .controlBar .logo{margin-right:12px}.container .controlBar .chromecast{width:auto;margin:0}.container .controlBar .chromecast .chromecastBtn{margin-right:12px}.container .controlBar .logo{width:auto;height:100%;margin:0 16px 0 8px;float:right;display:none}.container .controlBar .logo div,.container .controlBar .logo svg{width:auto;height:100%;padding:0;box-sizing:border-box;max-width:60px}.container .controlBar .logo svg.redtube{max-width:70px}.container .controlBar .logo svg.youporn{max-width:90px}.container .controlBar .logo.isLink{cursor:pointer}.container .controlBar .cover{position:absolute;top:0;left:0;right:0;bottom:0;z-index:10;background:transparent;display:none}.container .controlBar .leftVolumeBarCover{position:absolute;top:0;left:0;bottom:0;width:200px;z-index:10;background:transparent;display:none}.container .controlBar .rightVolumeBarCover{position:absolute;display:block;top:0;right:0;bottom:0;left:295px;z-index:10;background:transparent;display:none}.container.seekBarDrag{cursor:pointer}.container.seekBarDrag .controlBar .seekBar .actionTag{padding:1000px 0;margin:-1000px 0}.container.seekBarDrag .controlBar .cover{display:block}.container.seekBarDrag .controlBar .front,.container.seekBarDrag .controlBar .front *{pointer-events:none !important}.container.readyState .controlBar .play{opacity:1;pointer-events:auto}.container.replayState .controlBar .replay{opacity:1;pointer-events:auto}.container.playingState .controlBar .pause{opacity:1;pointer-events:auto}.container.pausedState .controlBar .play{opacity:1;pointer-events:auto}.container.bufferingState .controlBar .pause{opacity:0;pointer-events:none}.container.bufferingState .controlBar .play{opacity:1;pointer-events:none}.container.bufferingState.playAfterBuffer .controlBar .pause,.container.playAfterSeek .controlBar .pause{opacity:1;pointer-events:auto}.container.bufferingState.playAfterBuffer .controlBar .play,.container.playAfterSeek .controlBar .play{opacity:0;pointer-events:none}.container.embedded .controlBar .nextVideo,.container.preRollRunning .controlBar .nextVideo{display:none}.container.embedded .controlBar .chromecast,.container.preRollRunning .controlBar .chromecast{display:none}.container.hideControls .controlBar{-webkit-transform:translate(0, 45px);-ms-transform:translate(0, 45px);transform:translate(0, 45px)}.container.hideControls .controlBar>.background{opacity:0;transition-duration:.3s}.container.hideControls .controlBar .seekBar .progressPadding{left:0;right:0}.container.fullscreenDisabled .controlBar .fullscreen{display:none !important}.seekBar{position:absolute;height:16px;left:0;right:0;bottom:36px;cursor:pointer;box-sizing:content-box;z-index:5}.seekBar.thumbnailsHoverZone{padding-top:110px}.seekBar .background,.seekBar .buffer,.seekBar .progress{width:100%;height:6px;position:absolute;bottom:5px;left:0;pointer-events:none}.seekBar .hotspots{position:absolute;left:0;bottom:11px;right:0;height:30px;overflow:hidden;z-index:3;opacity:0;pointer-events:none;transition:all .25s ease-in-out}.seekBar .hotspots.visible{opacity:1;pointer-events:auto}.seekBar .hotspots svg{display:block;width:100%;height:100%}.seekBar .hotspots .hotspotsFill{opacity:0.7}.seekBar .background{background:#282828;opacity:0.75;z-index:1}.seekBar .buffer{width:auto;z-index:2;background:#6d6d6d}.seekBar .progressPadding{position:absolute;top:0;bottom:0;left:15px;right:15px;transition:left .3s ease-out,right .3s ease-out}.seekBar .progressPadding.showHandle .handle{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.seekBar .progressPadding.animated .progress{transition:all .25s ease-in-out}.seekBar .progressPadding.animated .hotspotsFill{transition:all .25s ease-in-out}.seekBar .progressPadding .progressOverflow{top:0;left:0;width:100%;height:100%;position:absolute;overflow:hidden}.seekBar .progress{z-index:3;-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}.seekBar .handle{position:absolute;bottom:0;width:16px;height:16px;margin-left:-8px;z-index:5;border-radius:8px;background:#fff;cursor:pointer;pointer-events:none;opacity:0;-webkit-backface-visibility:hidden;-webkit-touch-callout:none;-webkit-transform:scale(0.01);-ms-transform:scale(0.01);transform:scale(0.01);transition:opacity .25s linear,-webkit-transform .25s ease-out;transition:transform .25s ease-out,opacity .25s linear;transition:transform .25s ease-out,opacity .25s linear,-webkit-transform .25s ease-out}.seekBar .actionTag{position:absolute;bottom:5px;left:0;min-width:4px;height:6px;margin:auto;opacity:0.5;background-color:#fff;background-clip:content-box;z-index:3;box-sizing:content-box;overflow:hidden}.seekBar .actionTag.hover{opacity:0.8}.seekBar.preRollRunning .controlBar .seekBar{cursor:normal;pointer-events:none}.container .thumbnails{bottom:64px}.container .thumbnails .actionTagTitle{top:-25px}.container .thumbnails .arrow{width:0;height:0;padding:0;display:block;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid rgba(0,0,0,0.75);position:absolute;top:100%;left:0;z-index:3}.container .controlBar .options{margin-right:8px}.container .controlBar .options .btn.HD:after,.container .controlBar .options .btn.K4:after{content:\"HD\";position:absolute;top:5px;right:3px;font:900 7px/1 \"Arial Black\", Arial;display:block;border-radius:2px;padding:2px;color:#000}.container .controlBar .options .btn.K4:after{content:\"4K\"}.container .controlBar .options .btn.active{color:#fff}.container .controlBar .options.hidden{display:none}.container.embedded .options{display:none}.container .optionsMenu{position:absolute;top:0;bottom:56px;left:0;right:0;z-index:6;opacity:0;transition:opacity .2s linear;pointer-events:none}.container .optionsMenu .clickHandler{position:absolute;bottom:0;right:0;top:0;left:0;background:transparent}.container .optionsMenu .background{background:rgba(0,0,0,0.8);position:absolute;width:1000px;height:1000px;bottom:0;right:15px;overflow:hidden;pointer-events:none;-webkit-transform:translate(0, -10px);-ms-transform:translate(0, -10px);transform:translate(0, -10px);transition:-webkit-transform .2s ease-out;transition:transform .2s ease-out;transition:transform .2s ease-out, -webkit-transform .2s ease-out}.container .optionsMenu .background.animated{transition:width .15s linear,height .15s linear,-webkit-transform .2s ease-out;transition:transform .2s ease-out,width .15s linear,height .15s linear;transition:transform .2s ease-out,width .15s linear,height .15s linear,-webkit-transform .2s ease-out}.container .optionsMenu .mainPage{position:absolute;bottom:0;right:0;padding:0;z-index:6;overflow:hidden}.container .optionsMenu .mainPage .header{display:none}.container .optionsMenu .mainPage>ul{transition:opacity .15s linear,-webkit-transform .15s ease-out;transition:opacity .15s linear,transform .15s ease-out;transition:opacity .15s linear,transform .15s ease-out,-webkit-transform .15s ease-out}.container .optionsMenu .mainPage .icon{display:none}.container .optionsMenu.level2 .mainPage>ul{opacity:0;pointer-events:none;-webkit-transform:translate(-100px, 0);-ms-transform:translate(-100px, 0);transform:translate(-100px, 0)}.container .optionsMenu.level2 .subPage{opacity:1;pointer-events:auto}.container .optionsMenu.level2 .subPage>.content,.container .optionsMenu.level2 .subPage>.header{opacity:1;pointer-events:auto;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0)}.container .optionsMenu.level2 .subSubPage{opacity:0;pointer-events:none;-webkit-transform:translate(100px, 0);-ms-transform:translate(100px, 0);transform:translate(100px, 0)}.container .optionsMenu.level3 .mainPage>ul{opacity:0;pointer-events:none;-webkit-transform:translate(-200px, 0);-ms-transform:translate(-200px, 0);transform:translate(-200px, 0)}.container .optionsMenu.level3 .subPage>.content,.container .optionsMenu.level3 .subPage>.header{opacity:0;pointer-events:none;-webkit-transform:translate(-100px, 0);-ms-transform:translate(-100px, 0);transform:translate(-100px, 0)}.container .optionsMenu.level3 .subSubPage{opacity:1;pointer-events:auto}.container .optionsMenu.level3 .subSubPage>.content,.container .optionsMenu.level3 .subSubPage>.header{opacity:1;pointer-events:auto;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0)}.container .optionsMenu .switch{position:relative;padding:6px 70px 6px 22px;line-height:15px;cursor:pointer;color:#ccc;cursor:pointer;overflow:hidden;white-space:nowrap;box-sizing:border-box}.container .optionsMenu .switch.enabled span:after{opacity:0}.container .optionsMenu .switch.enabled span:before{opacity:1}.container .optionsMenu .switch.enabled span div{-webkit-transform:translate(10px, 0);-ms-transform:translate(10px, 0);transform:translate(10px, 0)}.container .optionsMenu .switch span{position:absolute;display:inline-block;background-color:#999;top:6px;right:22px;margin:0;width:25px;height:15px;border-radius:7px;overflow:hidden;transition:background-color .2s linear;font-size:0;color:transparent}.container .optionsMenu .switch span:before,.container .optionsMenu .switch span:after{position:absolute;color:#000;top:0;width:18px;text-align:center;font-size:9px;line-height:16px;z-index:2;transition:opacity .2s linear}.container .optionsMenu .switch span:before{content:' ';left:0;opacity:0}.container .optionsMenu .switch span:after{content:' ';right:0;opacity:1}.container .optionsMenu .switch span div{position:absolute;top:2px;left:2px;width:11px;height:11px;background:#fff;z-index:3;border-radius:50%;font-size:0;color:transparent;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0);transition:-webkit-transform .2s ease;transition:transform .2s ease;transition:transform .2s ease, -webkit-transform .2s ease}.container .optionsMenu .switch:hover,.container .optionsMenu .switch.hover{color:#fff}.container .optionsMenu .switch.active{background-color:#f90}.container .optionsMenu .switch.active span{opacity:1}.container .optionsMenu .switch .icon-info{display:inline-block;color:#999;padding-top:28px;margin:-28px 0 0 6px;position:relative;top:1px;font-size:11px;cursor:pointer}.container .optionsMenu .switch .icon-info.active,.container .optionsMenu .switch .icon-info:hover{color:#fff}.container .optionsMenu .selector{position:relative;padding:6px 40px 6px 22px;line-height:15px;color:#ccc;cursor:pointer;overflow:hidden;box-sizing:border-box;white-space:nowrap;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.container .optionsMenu .selector:hover,.container .optionsMenu .selector.hover{color:#fff}.container .optionsMenu .selector:hover:after,.container .optionsMenu .selector.hover:after{border-color:#fff}.container .optionsMenu .selector.active{background-color:rgba(204,204,204,0.1)}.container .optionsMenu .selector:after{content:'';width:7px;height:7px;border-right:2px solid #ccc;border-bottom:2px solid #ccc;position:absolute;top:10px;right:24px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.container .optionsMenu .selector .value{margin:1px 0 0 20px;white-space:nowrap;display:inline-block;line-height:14px;font-size:11px;color:#ccc !important}.container .optionsMenu ul{margin:0;padding:14px 0 13px;border-bottom:1px solid rgba(255,255,255,0.2);position:relative;opacity:1;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0)}.container .optionsMenu ul:last-child{border-bottom:0;padding-bottom:14px}.container .optionsMenu ul li{color:#ccc;line-height:25px;margin:0;padding:1px 22px 0;text-align:right;cursor:pointer;white-space:nowrap}.container .optionsMenu ul li:hover,.container .optionsMenu ul li.hover{color:#fff}.container .optionsMenu ul li.active{color:#fff;background:rgba(204,204,204,0.1);cursor:default;border-right:2px solid #fff;padding-right:20px}.container .optionsMenu ul li b{display:inline-block;font-weight:bold;width:20px;text-align:center}.container .optionsMenu ul li.upsell span.icon-star{margin-right:8px;position:relative;top:-1px;display:inline-block;width:16px;height:12px;font-size:9px;line-height:11px;text-align:center;border-radius:1px;background:#f90;pointer-events:none;color:#000}.container .optionsMenu ul li.adaptive b{width:auto}.container .optionsMenu .subPage,.container .optionsMenu .subSubPage{z-index:6;position:absolute;bottom:0;right:0;opacity:0;pointer-events:none;overflow:hidden;transition:opacity .15s linear}.container .optionsMenu .subPage>.content,.container .optionsMenu .subPage>.header,.container .optionsMenu .subSubPage>.content,.container .optionsMenu .subSubPage>.header{pointer-events:none;opacity:0;-webkit-transform:translate(100px, 0);-ms-transform:translate(100px, 0);transform:translate(100px, 0);transition:opacity .15s linear,-webkit-transform .15s ease-out;transition:opacity .15s linear,transform .15s ease-out;transition:opacity .15s linear,transform .15s ease-out,-webkit-transform .15s ease-out}.container .optionsMenu .subPage .header,.container .optionsMenu .subSubPage .header{padding:10px 22px 10px 44px;line-height:15px;text-align:left;white-space:nowrap;cursor:pointer;border-bottom:1px solid rgba(255,255,255,0.2);color:#fff;position:relative}.container .optionsMenu .subPage .header:after,.container .optionsMenu .subSubPage .header:after{content:'';width:7px;height:7px;border-left:2px solid #ccc;border-bottom:2px solid #ccc;position:absolute;top:14px;left:22px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.container .optionsMenu .subPage .header:hover,.container .optionsMenu .subPage .header.hover,.container .optionsMenu .subSubPage .header:hover,.container .optionsMenu .subSubPage .header.hover{background-color:rgba(204,204,204,0.1)}.container .optionsMenu .subPage div.ccOptions,.container .optionsMenu .subSubPage div.ccOptions{border-bottom:1px solid rgba(255,255,255,0.2);padding-bottom:14px;margin-bottom:14px}.container .optionsMenu .subPage ul,.container .optionsMenu .subSubPage ul{display:none;border-bottom:0}.container .optionsMenu.visible{opacity:1;pointer-events:auto}.container .optionsMenu.visible .background{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0);pointer-events:auto}.container .optionsMenu .selector.disabled{pointer-events:none;color:#888}.container .optionsMenu .selector.disabled:after{border-color:#888 !important}.container .optionsMenu .selector.disabled .value{color:#888 !important}.container.seekBarDrag .hotspots,.container.seekBarDrag .optionsMenu{pointer-events:none !important}.container .playerStateIcon{position:absolute;width:108px;height:108px;top:50%;left:50%;margin:-54px 0 0 -54px;border-radius:54px;text-align:center;z-index:6;pointer-events:none;cursor:pointer;-webkit-transform:translateZ(0);transform:translateZ(0);opacity:0;transition:opacity .2s linear}.container .playerStateIcon .play,.container .playerStateIcon .pause{position:absolute;width:100%;height:100%;opacity:0;border-radius:54px;overflow:hidden;cursor:pointer;z-index:2;color:#fff;transition:opacity .2s linear}.container .playerStateIcon .play .icon,.container .playerStateIcon .pause .icon{margin-top:1px;font-size:36px;line-height:108px;border-radius:54px;cursor:pointer}.container .playerStateIcon .play .icon{margin-left:11px}.container .playerStateIcon .buffering{position:absolute;width:100%;height:100%;z-index:2;-webkit-transform:rotate(32.5deg);-ms-transform:rotate(32.5deg);transform:rotate(32.5deg);opacity:0;transition:opacity .2s linear}.container .playerStateIcon .buffering svg{display:block;position:relative;margin:14px;width:80px;height:80px;-webkit-animation:spin 0.66s steps(8) infinite;animation:spin 0.66s steps(8) infinite}.container .playerStateIcon .background{position:absolute;width:100%;height:100%;overflow:hidden;opacity:0.4;background:#000;border-radius:54px;z-index:1}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.container.showFwdRwd .playerStateIcon{display:none}.container.readyState .playerStateIcon{opacity:1 !important;pointer-events:auto;transition:none !important;-webkit-transform:none !important;-ms-transform:none !important;transform:none !important}.container.readyState .playerStateIcon .play{opacity:1 !important;pointer-events:auto}.container.tablet.pausedState .playerStateIcon,.container.tablet.hideControls.pausedState .playerStateIcon{opacity:1;pointer-events:auto}.container.tablet.pausedState .playerStateIcon .play,.container.tablet.hideControls.pausedState .playerStateIcon .play{opacity:1}.container.tablet.pausedState .playerStateIcon .pause,.container.tablet.hideControls.pausedState .playerStateIcon .pause{opacity:0}.container.playingState .playerStateIcon{opacity:1;pointer-events:auto}.container.playingState .playerStateIcon .play{opacity:0}.container.playingState.tablet.hideControls .playerStateIcon{opacity:0;pointer-events:none}.container.playingState.tablet .playerStateIcon .pause{opacity:1;transition-delay:.2s}.container.bufferingState .playerStateIcon,.container.bufferingState.embedded .playerStateIcon{opacity:1 !important}.container.bufferingState .playerStateIcon .buffering,.container.bufferingState.embedded .playerStateIcon .buffering{opacity:1 !important}.container.bufferingState .playerStateIcon{transition-delay:1s}.container.bufferingState .playerStateIcon .play{transition:none}.container.bufferingState .playerStateIcon .pause{transition:none}.container.preRollRunning .playerStateIcon,.container.embedded .playerStateIcon,.container.desktop .playerStateIcon{opacity:0;pointer-events:none}.container.preRollRunning .playerStateIcon>*,.container.embedded .playerStateIcon>*,.container.desktop .playerStateIcon>*{pointer-events:none}.container.playingState .playerStateIcon.animate .play{transition:none;opacity:1}.container.playingState .playerStateIcon.animate .pause{opacity:0;transition:none}.container.pausedState .playerStateIcon.animate .pause{transition:none;opacity:1}.container.pausedState .playerStateIcon.animate .play{opacity:0;transition:none}.container .playerStateIcon.animate{transition:none;opacity:0;-webkit-transform:scale(0.4);-ms-transform:scale(0.4);transform:scale(0.4);-webkit-animation:bounceBtn 0.3s normal forwards;animation:bounceBtn 0.3s normal forwards}@-webkit-keyframes bounceBtn{0%{-webkit-transform:scale(0.4);transform:scale(0.4);opacity:0}5%{-webkit-transform:scale(0.4);transform:scale(0.4);opacity:1}50%{opacity:0.8}95%{-webkit-transform:scale(1.2);transform:scale(1.2);opacity:0}100%{-webkit-transform:scale(1.2);transform:scale(1.2);opacity:0}}@keyframes bounceBtn{0%{-webkit-transform:scale(0.4);transform:scale(0.4);opacity:0}5%{-webkit-transform:scale(0.4);transform:scale(0.4);opacity:1}50%{opacity:0.8}95%{-webkit-transform:scale(1.2);transform:scale(1.2);opacity:0}100%{-webkit-transform:scale(1.2);transform:scale(1.2);opacity:0}}.container .nextVideoTooltip{position:absolute;bottom:56px;width:390px;height:124px;background:rgba(0,0,0,0.8);padding:8px;left:15px;z-index:7;opacity:1;pointer-events:none;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0);transition:opacity .2s linear,-webkit-transform .1s ease-out;transition:opacity .2s linear,transform .1s ease-out;transition:opacity .2s linear,transform .1s ease-out,-webkit-transform .1s ease-out}.container .nextVideoTooltip.hidden{opacity:0;-webkit-transform:translate(0, -10px);-ms-transform:translate(0, -10px);transform:translate(0, -10px)}.container .nextVideoTooltip .thumb{display:block;height:100%;width:192px;background-size:cover;background-position:center;position:relative;float:left;overflow:hidden}.container .nextVideoTooltip .thumb img,.container .nextVideoTooltip .thumb video{height:auto;width:100%}.container .nextVideoTooltip .thumb .preloadLine{background:#f6921e;left:-100%;position:absolute;top:0;height:2px;width:100%;z-index:5;animation:preloadAnimation linear 1s;-webkit-animation:preloadAnimation linear 1s;-o-animation:preloadAnimation linear 1s;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;-o-animation-iteration-count:infinite;opacity:1}.container .nextVideoTooltip .text{width:46%;float:left;padding-left:8px}.container .nextVideoTooltip .text .next{font-weight:bold;color:#ccc;padding:5px 0}.container .nextVideoTooltip .text .title{color:#f90;max-height:60px;overflow:hidden;text-overflow:ellipsis;display:block;display:-webkit-box;-webkit-line-clamp:3}.container .nextVideoTooltip.videoLoaded .thumb .preloadLine{opacity:0;display:none}@-webkit-keyframes preloadAnimation{0%{-webkit-transform:translateX(0);transform:translateX(0)}90%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateY(-2px);transform:translateY(-2px)}}@keyframes preloadAnimation{0%{-webkit-transform:translateX(0);transform:translateX(0)}90%{-webkit-transform:translateX(100%);transform:translateX(100%)}100%{-webkit-transform:translateY(-2px);transform:translateY(-2px)}}.container .overlayText{position:absolute;font-size:20px;line-height:1.4;width:auto;height:auto;box-sizing:border-box;cursor:default;border-radius:4px;text-shadow:0 0 5px rgba(0,0,0,0.5);color:#fff}.container .overlayText.banner .text{padding:2px}.container .overlayText .text{width:100%;height:100%;padding:2px 10px;border:solid 2px rgba(255,255,255,0.2);border-radius:4px;background-color:none;transition:background-color 0.2s linear, border-color 0.2s linear}.container .overlayText .text img{width:100%;border:0;display:block}.container .overlayText .text iframe{margin:0 -8px;padding:0;border:0;overflow:hidden;display:block}.container .overlayText .text i{font-style:italic}.container .overlayText .text b{font-weight:bold}.container .overlayText .text a{color:#99AAFF}.container .overlayText .text a:hover{color:#CCDDFF}.container .overlayText .text:hover{border-color:rgba(255,255,255,0.5);background-color:rgba(255,255,255,0.1)}.container .overlayText .text:hover .closeButton{opacity:1}.container .overlayText .closeButton{position:absolute;width:18px;height:18px;top:-10px;right:-10px;padding:0;text-align:center;font-weight:bold;padding:0;font-size:20px;line-height:18px;text-shadow:none;box-sizing:border-box;background:#ccc;color:#000;border-radius:50%;cursor:pointer;opacity:0;transition:opacity 0.2s linear}.container .overlayText .closeButton:hover{background:#fff}.container .overlayText.hidden,.container .overlayText.closed{display:none}.container .overlayText.link .text{cursor:pointer}.container .overlayText.hCentered{left:10px;right:10px;text-align:center}.container .overlayText.hCentered .text{position:relative;display:inline-block;width:auto}.container .overlayText.noBorder .text{padding:0;border:none;background-color:none}.container .overlayText.noBorder iframe+.closeButton{right:-18px}.container .versionsInfo{position:absolute;z-index:6;top:46%;left:50%;padding:10px;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);background:rgba(0,0,0,0.75);opacity:0;visibility:hidden;transition:opacity .2s linear}.container .versionsInfo .copyCloseDiv{border-bottom:1px solid rgba(255,255,255,0.2);overflow:hidden;margin:-10px -10px 10px;padding:2px 4px}.container .versionsInfo .copyCloseDiv .copyMenu{float:right;margin-right:4px}.container .versionsInfo .copyCloseDiv .title{font-size:16px;line-height:30px;padding:0 0 0 5px;float:left}.container .versionsInfo .playerVersions{width:250px;height:200px;overflow-y:scroll}.container .versionsInfo .playerVersions .debugContainer{margin-bottom:15px}.container .versionsInfo .playerVersions .debugContainer:last-of-type{margin-bottom:0}.container .versionsInfo .playerVersions .debugContainer>div{padding-left:20px;color:#ccc;white-space:nowrap;padding:0px 10px;font-size:12px;text-overflow:ellipsis;overflow:hidden}.container .versionsInfo .playerVersions .debugContainer>div.titleInfo{white-space:nowrap;padding:0 5px;font-size:14px;font-weight:bold;color:#fff}.container .versionsInfo .playerVersions .debugContainer .subTitleInfo{color:#ddd;font-weight:bold;margin-top:10px}.container .versionsInfo .playerVersions::-webkit-scrollbar-track{border-radius:0;background-color:rgba(0,0,0,0.75)}.container .versionsInfo .playerVersions::-webkit-scrollbar{width:6px;background-color:rgba(0,0,0,0.75)}.container .versionsInfo .playerVersions::-webkit-scrollbar-thumb{border-radius:0;background-color:#fff}.container .versionsInfo .playerVersions .adaptiveDetails{display:none}.container .versionsInfo .playerVersions .adaptiveDetails.active{display:block}.container .versionsInfo .hideVersionMenu,.container .versionsInfo .icon-copy{display:inline;float:right;cursor:pointer;pointer-events:auto;padding:5px}.container .versionsInfo .hideVersionMenu{font-size:25px}.container .versionsInfo .icon-copy{line-height:inherit;color:#ccc}.container .versionsInfo .icon-copy:active,.container .versionsInfo .icon-copy:hover{color:#fff}.container .versionsInfo.active{opacity:1;visibility:visible}.container .keyboardShortcuts{background:rgba(0,0,0,0.75);opacity:1;position:absolute;top:50%;left:50%;transition:opacity .2s linear;width:90%;max-width:500px;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);z-index:6;opacity:0;visibility:hidden}.container .keyboardShortcuts .hideShortcuts{cursor:pointer;position:absolute;top:0;right:0;font-size:25px;padding:5px 8px;pointer-events:auto}.container .keyboardShortcuts .shortcutInfo{display:inline-block;padding:10px 15px 12px;width:100%}.container .keyboardShortcuts .shortcutInfo div{display:inline-block;margin:0;padding:5px 0px;vertical-align:middle;width:50%}.container .keyboardShortcuts .shortcutInfo div .shortBtn,.container .keyboardShortcuts .shortcutInfo div .longBtn{background-color:#fff;border-radius:3px;box-shadow:0 2px 0 2px #b7b7b7;color:#000;font:9px/30px sans-serif;height:30px;margin-right:10px;padding:0px;text-align:center;width:30px}.container .keyboardShortcuts .shortcutInfo div .longBtn{width:70px}.container .keyboardShortcuts .shortcutInfo div.volumeContainer .shortBtn,.container .keyboardShortcuts .shortcutInfo div.seekContainer .shortBtn{font-size:12px;line-height:28px}.container .keyboardShortcuts .shortcutInfo div span{display:inline-block;max-width:65%;max-height:30px;vertical-align:middle}.container .keyboardShortcuts.active{opacity:1;visibility:visible}.container .forwardRewind{display:none}.container .forwardRewind .fastForwardCont,.container .forwardRewind .rewindCont{opacity:0}.container.tablet .forwardRewind{display:block}.container.tablet .forwardRewind .fastForwardCont,.container.tablet .forwardRewind .rewindCont{position:absolute;height:100%;width:100%;top:0;z-index:3;opacity:0;background-color:rgba(0,0,0,0.4);transition:opacity 0.2s linear;pointer-events:none}.container.tablet .forwardRewind .fastForwardCont .forwardText,.container.tablet .forwardRewind .fastForwardCont .rewindText,.container.tablet .forwardRewind .rewindCont .forwardText,.container.tablet .forwardRewind .rewindCont .rewindText{font-size:14px;top:50%;margin-top:5px;position:absolute;z-index:5}.container.tablet .forwardRewind .fastForwardCont .fastForward,.container.tablet .forwardRewind .fastForwardCont .rewind,.container.tablet .forwardRewind .rewindCont .fastForward,.container.tablet .forwardRewind .rewindCont .rewind{position:absolute;z-index:5;width:70px;top:50%;left:50%;margin-top:-25px;color:#ccc;background-color:transparent;border:0;opacity:1;transition:opacity 0.5s cubic-bezier(1, 0, 1, 0);pointer-events:none;overflow:hidden;padding:0px}.container.tablet .forwardRewind .fastForwardCont .fastForward.hover .icon,.container.tablet .forwardRewind .fastForwardCont .rewind.hover .icon,.container.tablet .forwardRewind .rewindCont .fastForward.hover .icon,.container.tablet .forwardRewind .rewindCont .rewind.hover .icon{color:#fff;text-shadow:0 0 20px #fff}.container.tablet .forwardRewind .fastForwardCont .fastForward,.container.tablet .forwardRewind .fastForwardCont .forwardText,.container.tablet .forwardRewind .rewindCont .fastForward,.container.tablet .forwardRewind .rewindCont .forwardText{left:65%}.container.tablet .forwardRewind .fastForwardCont .rewind,.container.tablet .forwardRewind .fastForwardCont .rewindText,.container.tablet .forwardRewind .rewindCont .rewind,.container.tablet .forwardRewind .rewindCont .rewindText{left:22%}.container.tablet .forwardRewind .fastForwardCont .rewind,.container.tablet .forwardRewind .rewindCont .rewind{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.container.tablet .forwardRewind .fastForwardCont .icon,.container.tablet .forwardRewind .rewindCont .icon{font-size:20px;-webkit-animation-name:seekAnimation;animation-name:seekAnimation;-webkit-animation-duration:1.5s;-webkit-animation-iteration-count:infinite;-webkit-animation-duration:1s;animation-duration:1s;animation-iteration-count:infinite;opacity:0;display:inline-block}.container.tablet .forwardRewind .fastForwardCont .icon:nth-child(2),.container.tablet .forwardRewind .rewindCont .icon:nth-child(2){-webkit-animation-delay:0.2s;animation-delay:0.2s}.container.tablet .forwardRewind .fastForwardCont .icon:nth-child(3),.container.tablet .forwardRewind .rewindCont .icon:nth-child(3){-webkit-animation-delay:0.4s;animation-delay:0.4s}.container.tablet .forwardRewind .fastForwardCont.visible,.container.tablet .forwardRewind .rewindCont.visible{opacity:1}@-webkit-keyframes seekAnimation{0%,100%{opacity:0}50%{opacity:1}}@keyframes seekAnimation{0%,100%{opacity:0}50%{opacity:1}}.container.platformChange .controlBar{transition-duration:0s !important}.container.fullscreen .thumbnails,.container.tablet .thumbnails{bottom:80px}.container.fullscreen .controlBar,.container.tablet .controlBar{height:52px}.container.fullscreen .controlBar>.front,.container.tablet .controlBar>.front{height:52px}.container.fullscreen .controlBar>.background,.container.tablet .controlBar>.background{height:85px}.container.fullscreen .controlBar .seekBar,.container.tablet .controlBar .seekBar{bottom:52px}.container.fullscreen .controlBar .time,.container.tablet .controlBar .time{font-size:18px;line-height:52px}.container.fullscreen .controlBar .btn,.container.tablet .controlBar .btn{font-size:18px;line-height:52px}.container.fullscreen .controlBar .btn.icon,.container.tablet .controlBar .btn.icon{width:46px}.container.fullscreen .controlBar .airplay,.container.tablet .controlBar .airplay{height:46px}.container.fullscreen .controlBar .airplay .airplayBtn,.container.tablet .controlBar .airplay .airplayBtn{height:46px}.container.fullscreen .controlBar .airplay .airplayBtn .airplay-icon,.container.tablet .controlBar .airplay .airplayBtn .airplay-icon{margin:14px 5px 5px}.container.fullscreen .controlBar .volumeSlider,.container.tablet .controlBar .volumeSlider{padding:8px 8px}.container.fullscreen .controlBar .fullscreen,.container.fullscreen .controlBar .cinema,.container.fullscreen .controlBar .options,.container.fullscreen .controlBar .playPause,.container.fullscreen .controlBar .nextVideo,.container.fullscreen .controlBar .volume,.container.fullscreen .controlBar .cc,.container.tablet .controlBar .fullscreen,.container.tablet .controlBar .cinema,.container.tablet .controlBar .options,.container.tablet .controlBar .playPause,.container.tablet .controlBar .nextVideo,.container.tablet .controlBar .volume,.container.tablet .controlBar .cc{width:46px}.container.fullscreen .controlBar .cc .btn,.container.tablet .controlBar .cc .btn{font-size:12px;line-height:22px;margin:15px 10px;height:22px;width:28px}.container.fullscreen .controlBar .options .btn,.container.tablet .controlBar .options .btn{font-size:22px}.container.fullscreen .controlBar .options .btn.HD:after,.container.fullscreen .controlBar .options .btn.K4:after,.container.tablet .controlBar .options .btn.HD:after,.container.tablet .controlBar .options .btn.K4:after{top:10px;right:4px}.container.fullscreen.hideControls .controlBar,.container.tablet.hideControls .controlBar{-webkit-transform:translate(0, 61px);-ms-transform:translate(0, 61px);transform:translate(0, 61px)}.container.fullscreen.showControls .ccContainer,.container.tablet.showControls .ccContainer{bottom:68px}.container.fullscreen .optionsMenu,.container.tablet .optionsMenu{bottom:72px}.container.tablet.preRollRunning.playingState .playerStateIcon,.container.tablet.embedded.playingState .playerStateIcon{opacity:0;pointer-events:none}.container.tablet.preRollRunning.playingState .playerStateIcon .pause,.container.tablet.embedded.playingState .playerStateIcon .pause{display:none}.container.tablet.showControls .controlBar .seekBar .progressPadding .handle,.container.tablet.embedded .controlBar .seekBar .progressPadding .handle{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);opacity:1}.container .nextVideoOverlay{opacity:0;transition:opacity 0.5s ease;background-color:rgba(0,0,0,0.5);position:absolute;height:100%;width:100%;top:0;z-index:5;pointer-events:none;font-size:14px;text-align:center;cursor:auto}.container .nextVideoOverlay .nextVideoCnt{position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.container .nextVideoOverlay .nextVideoCnt a{color:#fff}.container .nextVideoOverlay .upNext{text-align:center;color:#b6b6b6}.container .nextVideoOverlay .nextTitle{max-width:90%;font-weight:bold;font-size:18px;overflow:hidden;text-overflow:ellipsis;height:1.5em;margin:0 auto;white-space:nowrap}.container .nextVideoOverlay .nextChanel{font-weight:bold;color:#b6b6b6}.container .nextVideoOverlay .nextBtn{cursor:pointer;display:inline-block;margin-top:10px;position:relative;border-radius:30px;width:60px;height:60px;background-color:rgba(0,0,0,0.3);font-size:25px;text-align:center}.container .nextVideoOverlay .nextBtn svg{width:60px;height:60px;-webkit-transform:rotateZ(-90deg);-ms-transform:rotate(-90deg);transform:rotateZ(-90deg)}.container .nextVideoOverlay .nextBtn svg circle{width:60px;height:60px;stroke-linecap:round;stroke-width:2px;stroke:white;fill:none}.container .nextVideoOverlay .nextBtn .icon-next{position:absolute;top:50%;left:50%;display:block;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}@media (orientation: landscape){.container .nextVideoOverlay .nextBtn{bottom:45%}}.container .nextVideoOverlay .cancel{font-weight:bold;display:block;margin:10px auto 0;width:20%;padding:5px;cursor:pointer}.container.nextVideoMode .controls{opacity:0 !important}.container.nextVideoMode .gridMenu{display:none}.container.nextVideoMode .nextVideoOverlay{pointer-events:auto;opacity:1}.container{font:400 14px/20px \"Helvetica Neue\", Helvetica, Arial, sans-serif;color:#fff;-webkit-font-smoothing:antialiased;background:#000}.container video{background:transparent}.container .eventCatcher{position:absolute;top:0;left:0px;width:100%;height:100%;z-index:4;outline:none}.container>.share{position:absolute;top:20px;right:28px;width:42px;height:42px;padding:1px;z-index:4;overflow:hidden;cursor:pointer;color:#fff;display:none;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0);transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease, -webkit-transform .3s ease}.container>.share .icon{font-size:40px}.container>.share:hover,.container>.share.hover{color:#fff}.container.hlsStream .chromecast{display:none !important}.container.dashStream .airplay{display:none !important}.container .videoPoster{position:absolute;display:none;top:0;left:0;z-index:3;width:100%;height:100%;background-repeat:no-repeat;background-position:center;background-size:cover}.container .staticRoll{position:absolute;z-index:2;top:0;left:0;width:100%;height:100%;cursor:pointer;background-color:#000000;background-repeat:no-repeat;background-position:center;background-size:cover}.container .staticRoll.hidden{display:none}.container .videoWrapper .screenshot{position:absolute;top:0;left:0;width:100%;height:100%;z-index:2;opacity:1;pointer-events:none}.container .videoWrapper .screenshot.hidden{opacity:0}.container .videoWrapper .screenshot canvas{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(360deg);transform:translateZ(360deg);-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.container.vr .videoPoster{z-index:2}.container.vr .eventCatcher{display:none}.container.vr .videoWrapper>canvas{position:absolute;top:0;left:0;bottom:0;right:0;z-index:5;-webkit-transform:translateZ(360deg);transform:translateZ(360deg);-webkit-backface-visibility:hidden;backface-visibility:hidden}.container.embedded .watchHD{position:absolute;z-index:6;top:66px;left:20px;background:rgba(0,0,0,0.9);padding:10px 40px;font-weight:bold;text-transform:uppercase;cursor:pointer;-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);transform:translate(0, 0);transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out, -webkit-transform .3s ease-in-out}.container.hideControls{cursor:none !important}.container.hideControls.embedded .watchHD{-webkit-transform:translate(0, -46px);-ms-transform:translate(0, -46px);transform:translate(0, -46px)}.container.hideControls .tooltip,.container.hideControls .thumbnails{opacity:0 !important;transition:none;pointer-events:none}.container.hideControls>.share{-webkit-transform:translate(72px, 0);-ms-transform:translate(72px, 0);transform:translate(72px, 0)}.container.hideControls .topBar{-webkit-transform:translate(0, -46px);-ms-transform:translate(0, -46px);transform:translate(0, -46px)}.container.hideControls .eventCatcher{cursor:none !important}.container.hideControls .seekBar .hotspots{opacity:0 !important;pointer-events:none !important}.container .castOverlay{display:none;position:absolute;top:10px;left:10px;right:90px;font-size:2vw;line-height:2.4vw;z-index:4;outline:none;text-align:left}.container .castOverlay .castText{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container.fullscreen,.container video.fullscreen{position:fixed !important;z-index:2147483647 !important;top:0 !important;left:0 !important;bottom:0 !important;right:0 !important;min-width:100% !important;min-height:100% !important}");
//# sourceMappingURL=desktop-player-adaptive.min.js.map