shaka-player 4.8.14 → 4.8.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/locales.js +49 -39
- package/dist/shaka-player.compiled.debug.js +9 -8
- package/dist/shaka-player.compiled.debug.map +2 -2
- package/dist/shaka-player.compiled.js +77 -77
- package/dist/shaka-player.compiled.map +1 -1
- package/dist/shaka-player.ui.debug.js +20 -18
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.js +96 -96
- package/dist/shaka-player.ui.map +1 -1
- package/lib/media/playhead.js +16 -9
- package/lib/net/http_fetch_plugin.js +2 -1
- package/lib/player.js +1 -1
- package/lib/text/mp4_ttml_parser.js +13 -0
- package/lib/text/ttml_text_parser.js +2 -2
- package/package.json +1 -1
- package/ui/locales/pl.json +16 -7
package/dist/shaka-player.ui.js
CHANGED
|
@@ -56,8 +56,8 @@ ea("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Ga(
|
|
|
56
56
|
function Oa(){}function Pa(){};function Q(a,b){if(b)if(b instanceof Map)for(var c=u(b.keys()),d=c.next();!d.done;d=c.next())d=d.value,Object.defineProperty(this,d,{value:b.get(d),writable:!0,enumerable:!0});else for(c in b)Object.defineProperty(this,c,{value:b[c],writable:!0,enumerable:!0});this.defaultPrevented=this.cancelable=this.bubbles=!1;this.timeStamp=window.performance&&window.performance.now?window.performance.now():Date.now();this.type=a;this.isTrusted=!1;this.target=this.currentTarget=null;this.g=!1}
|
|
57
57
|
function Qa(a){var b=new Q(a.type),c;for(c in a)Object.defineProperty(b,c,{value:a[c],writable:!0,enumerable:!0});return b}Q.prototype.preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)};Q.prototype.stopImmediatePropagation=function(){this.g=!0};Q.prototype.stopPropagation=function(){};N("shaka.util.FakeEvent",Q);
|
|
58
58
|
var Ra={tk:"abrstatuschanged",vk:"adaptation",wk:"buffering",xk:"complete",yk:"downloadfailed",zk:"downloadheadersreceived",Ak:"drmsessionupdate",Ck:"emsg",Tk:"prft",Error:"error",Dk:"expirationupdated",Ek:"firstquartile",Fk:"gapjumped",Ik:"keystatuschanged",Kk:"loaded",Lk:"loading",Nk:"manifestparsed",Ok:"manifestupdated",Pk:"mediaqualitychanged",Metadata:"metadata",Qk:"midpoint",Rk:"nospatialvideoinfo",Sk:"onstatechange",Vk:"ratechange",Wk:"segmentappended",Xk:"sessiondata",Yk:"spatialvideoinfo",
|
|
59
|
-
Zk:"stalldetected",$k:"started",al:"statechanged",cl:"streaming",fl:"textchanged",hl:"texttrackvisibility",il:"thirdquartile",jl:"timelineregionadded",kl:"timelineregionenter",ll:"timelineregionexit",ol:"trackschanged",rl:"unloading",vl:"variantchanged"};function Sa(){}function Ta(){}function Ua(){}function Va(a){var b=Fa.apply(1,arguments);Wa.has(a)||(Wa.add(a),Ua.apply(Sa,x(b)))}function Xa(){}function Ya(){}function Za(){}var Wa=new Set;window.console&&(Ua=function(){return console.warn.apply(console,x(Fa.apply(0,arguments)))},Ta=function(){console.error.apply(console,x(Fa.apply(0,arguments)))});function $a(){this.g={}}q=$a.prototype;q.push=function(a,b){this.g.hasOwnProperty(a)?this.g[a].push(b):this.g[a]=[b]};q.get=function(a){return(a=this.g[a])?a.slice():null};q.remove=function(a,b){a in this.g&&(this.g[a]=this.g[a].filter(function(c){return c!=b}),0==this.g[a].length&&delete this.g[a])};q.forEach=function(a){for(var b in this.g)a(b,this.g[b])};q.size=function(){return Object.keys(this.g).length};q.keys=function(){return Object.keys(this.g)};function
|
|
60
|
-
|
|
59
|
+
Zk:"stalldetected",$k:"started",al:"statechanged",cl:"streaming",fl:"textchanged",hl:"texttrackvisibility",il:"thirdquartile",jl:"timelineregionadded",kl:"timelineregionenter",ll:"timelineregionexit",ol:"trackschanged",rl:"unloading",vl:"variantchanged"};function Sa(){}function Ta(){}function Ua(){}function Va(a){var b=Fa.apply(1,arguments);Wa.has(a)||(Wa.add(a),Ua.apply(Sa,x(b)))}function Xa(){}function Ya(){}function Za(){}var Wa=new Set;window.console&&(Ua=function(){return console.warn.apply(console,x(Fa.apply(0,arguments)))},Ta=function(){console.error.apply(console,x(Fa.apply(0,arguments)))});function $a(){this.g={}}q=$a.prototype;q.push=function(a,b){this.g.hasOwnProperty(a)?this.g[a].push(b):this.g[a]=[b]};q.get=function(a){return(a=this.g[a])?a.slice():null};q.remove=function(a,b){a in this.g&&(this.g[a]=this.g[a].filter(function(c){return c!=b}),0==this.g[a].length&&delete this.g[a])};q.forEach=function(a){for(var b in this.g)a(b,this.g[b])};q.size=function(){return Object.keys(this.g).length};q.keys=function(){return Object.keys(this.g)};function ab(){this.sa=new $a;this.Ve=this}ab.prototype.addEventListener=function(a,b){this.sa&&this.sa.push(a,b)};ab.prototype.removeEventListener=function(a,b){this.sa&&this.sa.remove(a,b)};ab.prototype.dispatchEvent=function(a){if(!this.sa)return!0;var b=this.sa.get(a.type)||[],c=this.sa.get("All");c&&(b=b.concat(c));b=u(b);for(c=b.next();!c.done;c=b.next()){c=c.value;a.target=this.Ve;a.currentTarget=this.Ve;try{c.handleEvent?c.handleEvent(a):c.call(this,a)}catch(d){}if(a.g)break}return a.defaultPrevented};
|
|
60
|
+
ab.prototype.release=function(){this.sa=null};function cb(a,b){var c=[];a=u(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return c}function db(a,b){a=u(a);for(var c=a.next();!c.done;c=a.next())if(!b(c.value))return!1;return!0}function eb(a,b){a=u(a);for(var c=a.next();!c.done;c=a.next())if(b(c.value))return!0;return!1}function gb(a,b){var c=[];a=u(a);for(var d=a.next();!d.done;d=a.next())d=d.value,b(d)&&c.push(d);return c};/*
|
|
61
61
|
@license
|
|
62
62
|
Copyright 2008 The Closure Library Authors
|
|
63
63
|
SPDX-License-Identifier: Apache-2.0
|
|
@@ -67,11 +67,11 @@ var hb=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=
|
|
|
67
67
|
Copyright 2006 The Closure Library Authors
|
|
68
68
|
SPDX-License-Identifier: Apache-2.0
|
|
69
69
|
*/
|
|
70
|
-
function ib(a){var b;a instanceof ib?(jb(this,a.Fb),this.Jc=a.Jc,kb(this,a.Tb),
|
|
71
|
-
q.toString=function(){var a=[],b=this.Fb;b&&a.push(
|
|
72
|
-
q.resolve=function(a){var b=this.clone();"data"===b.Fb&&(b=new ib);var c=!!a.Fb;c?jb(b,a.Fb):c=!!a.Jc;c?b.Jc=a.Jc:c=!!a.Tb;c?kb(b,a.Tb):c=null!=a.dd;var d=a.jb;if(c)
|
|
73
|
-
h?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),e&&g==d.length&&f.push("")):(f.push(h),e=!0)}d=f.join("/")}}c?b.jb=d:c=""!==a.g.toString();c?nb(b,a.g.clone()):c=!!a.rc;c&&(b.rc=a.rc);return b};q.clone=function(){return new ib(this)};function jb(a,b,c){a.Fb=c?ob(b,!0):b;a.Fb&&(a.Fb=a.Fb.replace(/:$/,""))}function kb(a,b,c){a.Tb=c?ob(b,!0):b}function
|
|
74
|
-
function nb(a,b,c){b instanceof pb?a.g=b:(c||(b=
|
|
70
|
+
function ib(a){var b;a instanceof ib?(jb(this,a.Fb),this.Jc=a.Jc,kb(this,a.Tb),lb(this,a.dd),this.jb=a.jb,nb(this,a.g.clone()),this.rc=a.rc):a&&(b=String(a).match(hb))?(jb(this,b[1]||"",!0),this.Jc=ob(b[2]||""),kb(this,b[3]||"",!0),lb(this,b[4]),this.jb=ob(b[5]||"",!0),nb(this,b[6]||"",!0),this.rc=ob(b[7]||"")):this.g=new pb(null)}q=ib.prototype;q.Fb="";q.Jc="";q.Tb="";q.dd=null;q.jb="";q.rc="";
|
|
71
|
+
q.toString=function(){var a=[],b=this.Fb;b&&a.push(qb(b,sb,!0),":");if(b=this.Tb){a.push("//");var c=this.Jc;c&&a.push(qb(c,sb,!0),"@");a.push(encodeURIComponent(b).replace(/%25([0-9a-fA-F]{2})/g,"%$1"));b=this.dd;null!=b&&a.push(":",String(b))}if(b=this.jb)this.Tb&&"/"!=b.charAt(0)&&a.push("/"),a.push(qb(b,"/"==b.charAt(0)?tb:vb,!0));(b=this.g.toString())&&a.push("?",b);(b=this.rc)&&a.push("#",qb(b,wb));return a.join("")};
|
|
72
|
+
q.resolve=function(a){var b=this.clone();"data"===b.Fb&&(b=new ib);var c=!!a.Fb;c?jb(b,a.Fb):c=!!a.Jc;c?b.Jc=a.Jc:c=!!a.Tb;c?kb(b,a.Tb):c=null!=a.dd;var d=a.jb;if(c)lb(b,a.dd);else if(c=!!a.jb){if("/"!=d.charAt(0))if(this.Tb&&!this.jb)d="/"+d;else{var e=b.jb.lastIndexOf("/");-1!=e&&(d=b.jb.substr(0,e+1)+d)}if(".."==d||"."==d)d="";else if(-1!=d.indexOf("./")||-1!=d.indexOf("/.")){e=0==d.lastIndexOf("/",0);d=d.split("/");for(var f=[],g=0;g<d.length;){var h=d[g++];"."==h?e&&g==d.length&&f.push(""):".."==
|
|
73
|
+
h?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),e&&g==d.length&&f.push("")):(f.push(h),e=!0)}d=f.join("/")}}c?b.jb=d:c=""!==a.g.toString();c?nb(b,a.g.clone()):c=!!a.rc;c&&(b.rc=a.rc);return b};q.clone=function(){return new ib(this)};function jb(a,b,c){a.Fb=c?ob(b,!0):b;a.Fb&&(a.Fb=a.Fb.replace(/:$/,""))}function kb(a,b,c){a.Tb=c?ob(b,!0):b}function lb(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.dd=b}else a.dd=null}
|
|
74
|
+
function nb(a,b,c){b instanceof pb?a.g=b:(c||(b=qb(b,xb)),a.g=new pb(b))}function ob(a,b){return a?b?decodeURI(a):decodeURIComponent(a):""}function qb(a,b,c){return null!=a?(a=encodeURI(a).replace(b,yb),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function yb(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var sb=/[#\/\?@]/g,vb=/[#\?:]/g,tb=/[#\?]/g,xb=/[#\?@]/g,wb=/#/g;function pb(a){this.g=a||null}
|
|
75
75
|
function zb(a){if(!a.Wa&&(a.Wa={},a.Ed=0,a.g))for(var b=a.g.split("&"),c=0;c<b.length;c++){var d=b[c].indexOf("="),e=null;if(0<=d){var f=b[c].substring(0,d);e=b[c].substring(d+1)}else f=b[c];f=decodeURIComponent(f.replace(/\+/g," "));e=e||"";a.add(f,decodeURIComponent(e.replace(/\+/g," ")))}}q=pb.prototype;q.Wa=null;q.Ed=null;function Ab(a){zb(a);return a.Ed}q.add=function(a,b){zb(this);this.g=null;var c=this.Wa.hasOwnProperty(a)?this.Wa[a]:null;c||(this.Wa[a]=c=[]);c.push(b);this.Ed++;return this};
|
|
76
76
|
q.set=function(a,b){zb(this);this.g=null;this.Wa.hasOwnProperty(a)?this.Wa[a]=[b]:this.add(a,b);return this};q.get=function(a){zb(this);return this.Wa[a]||[]};q.toString=function(){if(this.g)return this.g;if(!this.Wa)return"";var a=[],b;for(b in this.Wa)for(var c=encodeURIComponent(b),d=this.Wa[b],e=0;e<d.length;e++){var f=c;""!==d[e]&&(f+="="+encodeURIComponent(d[e]));a.push(f)}return this.g=a.join("&")};
|
|
77
77
|
q.clone=function(){var a=new pb;a.g=this.g;if(this.Wa){var b={},c;for(c in this.Wa)b[c]=this.Wa[c].concat();a.Wa=b;a.Ed=this.Ed}return a};function Bb(){}function Cb(a,b){if(!a&&!b)return!0;if(!a||!b||a.byteLength!=b.byteLength)return!1;if(Db(a)==Db(b)&&(a.byteOffset||0)==(b.byteOffset||0))return!0;var c=Fb(a);b=Fb(b);for(var d=0;d<a.byteLength;d++)if(c[d]!=b[d])return!1;return!0}function Db(a){return a instanceof ArrayBuffer?a:a.buffer}function Gb(a){return a instanceof ArrayBuffer?a:0==a.byteOffset&&a.byteLength==a.buffer.byteLength?a.buffer:(new Uint8Array(a)).buffer}
|
|
@@ -116,7 +116,7 @@ var Qc=new Map([["aar","aa"],["abk","ab"],["afr","af"],["aka","ak"],["alb","sq"]
|
|
|
116
116
|
"is"],["ido","io"],["iii","ii"],["iku","iu"],["ile","ie"],["ina","ia"],["ind","id"],["ipk","ik"],["isl","is"],["ita","it"],["jav","jv"],["jpn","ja"],["kal","kl"],["kan","kn"],["kas","ks"],["kat","ka"],["kau","kr"],["kaz","kk"],["khm","km"],["kik","ki"],["kin","rw"],["kir","ky"],["kom","kv"],["kon","kg"],["kor","ko"],["kua","kj"],["kur","ku"],["lao","lo"],["lat","la"],["lav","lv"],["lim","li"],["lin","ln"],["lit","lt"],["ltz","lb"],["lub","lu"],["lug","lg"],["mac","mk"],["mah","mh"],["mal","ml"],["mao",
|
|
117
117
|
"mi"],["mar","mr"],["may","ms"],["mkd","mk"],["mlg","mg"],["mlt","mt"],["mon","mn"],["mri","mi"],["msa","ms"],["mya","my"],["nau","na"],["nav","nv"],["nbl","nr"],["nde","nd"],["ndo","ng"],["nep","ne"],["nld","nl"],["nno","nn"],["nob","nb"],["nor","no"],["nya","ny"],["oci","oc"],["oji","oj"],["ori","or"],["orm","om"],["oss","os"],["pan","pa"],["per","fa"],["pli","pi"],["pol","pl"],["por","pt"],["pus","ps"],["que","qu"],["roh","rm"],["ron","ro"],["rum","ro"],["run","rn"],["rus","ru"],["sag","sg"],["san",
|
|
118
118
|
"sa"],["sin","si"],["slk","sk"],["slo","sk"],["slv","sl"],["sme","se"],["smo","sm"],["sna","sn"],["snd","sd"],["som","so"],["sot","st"],["spa","es"],["sqi","sq"],["srd","sc"],["srp","sr"],["ssw","ss"],["sun","su"],["swa","sw"],["swe","sv"],["tah","ty"],["tam","ta"],["tat","tt"],["tel","te"],["tgk","tg"],["tgl","tl"],["tha","th"],["tib","bo"],["tir","ti"],["ton","to"],["tsn","tn"],["tso","ts"],["tuk","tk"],["tur","tr"],["twi","tw"],["uig","ug"],["ukr","uk"],["urd","ur"],["uzb","uz"],["ven","ve"],["vie",
|
|
119
|
-
"vi"],["vol","vo"],["wel","cy"],["wln","wa"],["wol","wo"],["xho","xh"],["yid","yi"],["yor","yo"],["zha","za"],["zho","zh"],["zul","zu"]]);function Wc(a){
|
|
119
|
+
"vi"],["vol","vo"],["wel","cy"],["wln","wa"],["wol","wo"],["xho","xh"],["yid","yi"],["yor","yo"],["zha","za"],["zho","zh"],["zul","zu"]]);function Wc(a){ab.call(this);this.j=Nc(a);this.i=new Map;this.g=new Set;this.h=new Map}na(Wc,ab);q=Wc.prototype;q.release=function(){ab.prototype.release.call(this)};
|
|
120
120
|
q.dh=function(a){var b=this;this.g.clear();a=u(a);for(var c=a.next();!c.done;c=a.next())this.g.add(Nc(c.value));Xc(this);a=gb(this.g,function(d){return!b.h.has(d)});a.length&&this.dispatchEvent(new Q("unknown-locales",(new Map).set("locales",a)));a=gb(this.g,function(d){return b.h.has(d)});a=(new Map).set("locales",a.length?a:[this.j]);this.dispatchEvent(new Q("locale-changed",a))};
|
|
121
121
|
q.Da=function(a,b,c){a=Nc(a);void 0===c&&(c=Yc);var d=this.h.get(a)||new Map;b.forEach(function(e,f){d.has(f)&&c!=Yc||d.set(f,e)});this.h.set(a,d);Xc(this);this.dispatchEvent(new Q("locale-updated"));return this};q.Sj=function(a){for(var b=u(a.keys()),c=b.next();!c.done;c=b.next())c=c.value,a.set(c,this.resolve(c))};q.resolve=function(a){var b=this.i.get(a);if(b)return b;a=(new Map).set("locales",Array.from(this.g)).set("missing",a);this.dispatchEvent(new Q("unknown-localization",a));return""};
|
|
122
122
|
q.Ki=function(){return this.g};
|
|
@@ -200,8 +200,8 @@ function Uf(a,b){return a.filter(function(c){return c.audio&&c.audio.channelsCou
|
|
|
200
200
|
function dg(a){var b,c;return L(function(d){if(1==d.g){if(a.g>=a.l)if(a.i)a.g=1,a.h=a.j;else throw new R(2,7,1010);b=a.g;a.g++;if(0==b)return d.return();c=a.h*(1+(2*Math.random()-1)*a.s);return D(d,new Promise(function(e){(new Ob(e)).V(c/1E3)}),2)}a.h*=a.m;F(d)})}function cg(){return{maxAttempts:2,baseDelay:1E3,backoffFactor:2,fuzzFactor:.5,timeout:3E4,stallTimeout:5E3,connectionTimeout:1E4}};function eg(){var a,b,c=new Promise(function(d,e){a=d;b=e});c.resolve=a;c.reject=b;return c}eg.prototype.resolve=function(){};eg.prototype.reject=function(){};function fg(a,b){this.promise=a;this.i=b;this.g=!1}function gg(a){return new fg(Promise.reject(a),function(){return Promise.resolve()})}function hg(){var a=Promise.reject(new R(2,7,7001));a.catch(function(){});return new fg(a,function(){return Promise.resolve()})}function ig(a){return new fg(Promise.resolve(a),function(){return Promise.resolve()})}function jg(a){return new fg(a,function(){return a.catch(function(){})})}fg.prototype.abort=function(){this.g=!0;return this.i()};
|
|
201
201
|
function kg(a){return new fg(Promise.all(a.map(function(b){return b.promise})),function(){return Promise.all(a.map(function(b){return b.abort()}))})}fg.prototype.finally=function(a){this.promise.then(function(){return a(!0)},function(){return a(!1)});return this};
|
|
202
202
|
fg.prototype.Ka=function(a,b){function c(h){return function(k){if(e.g&&h)f.reject(g);else{var l=h?a:b;l?d=lg(l,k,f):(h?f.resolve:f.reject)(k)}}}function d(){f.reject(g);return e.abort()}var e=this,f=new eg,g=new R(2,7,7001);this.promise.then(c(!0),c(!1));return new fg(f,function(){return d()})};
|
|
203
|
-
function lg(a,b,c){try{var d=a(b);if(d&&d.promise&&d.abort)return c.resolve(d.promise),function(){return d.abort()};c.resolve(d);return function(){return Promise.resolve(d).then(function(){},function(){})}}catch(e){return c.reject(e),function(){return Promise.resolve()}}}N("shaka.util.AbortableOperation",fg);fg.prototype.chain=fg.prototype.Ka;fg.prototype["finally"]=fg.prototype.finally;fg.all=kg;fg.prototype.abort=fg.prototype.abort;fg.notAbortable=jg;fg.completed=ig;fg.aborted=hg;fg.failed=gg;function mg(){this.g=[]}function ng(a,b){a.g.push(b.finally(function(){xd(a.g,b)}))}mg.prototype.destroy=function(){for(var a=[],b=u(this.g),c=b.next();!c.done;c=b.next())c=c.value,c.promise.catch(function(){}),a.push(c.abort());this.g=[];return Promise.all(a)};function og(a,b,c,d,e,f){
|
|
204
|
-
q.jk=function(a){this.g.delete(a)};q.si=function(){this.g.clear()};q.Lj=function(a){this.h.add(a)};q.kk=function(a){this.h.delete(a)};q.ti=function(){this.h.clear()};function tg(a,b,c){return{uris:a,method:"GET",body:null,headers:{},allowCrossSiteCredentials:!1,retryParameters:b,licenseRequestType:null,sessionId:null,drmInfo:null,initData:null,initDataType:null,streamDataCallback:void 0===c?null:c}}q.destroy=function(){this.i=!0;this.g.clear();this.h.clear();
|
|
203
|
+
function lg(a,b,c){try{var d=a(b);if(d&&d.promise&&d.abort)return c.resolve(d.promise),function(){return d.abort()};c.resolve(d);return function(){return Promise.resolve(d).then(function(){},function(){})}}catch(e){return c.reject(e),function(){return Promise.resolve()}}}N("shaka.util.AbortableOperation",fg);fg.prototype.chain=fg.prototype.Ka;fg.prototype["finally"]=fg.prototype.finally;fg.all=kg;fg.prototype.abort=fg.prototype.abort;fg.notAbortable=jg;fg.completed=ig;fg.aborted=hg;fg.failed=gg;function mg(){this.g=[]}function ng(a,b){a.g.push(b.finally(function(){xd(a.g,b)}))}mg.prototype.destroy=function(){for(var a=[],b=u(this.g),c=b.next();!c.done;c=b.next())c=c.value,c.promise.catch(function(){}),a.push(c.abort());this.g=[];return Promise.all(a)};function og(a,b,c,d,e,f){ab.call(this);this.i=!1;this.m=new mg;this.g=new Set;this.h=new Set;this.l=a||null;this.j=b||null;this.u=c||null;this.A=d||null;this.G=e||null;this.F=f||null;this.s=!1}na(og,ab);q=og.prototype;q.Fg=function(a){this.s=a};function pg(a,b,c,d){c=c||qg;var e=rg[a];if(!e||c>=e.priority)rg[a]={priority:c,Re:b,Hj:void 0===d?!1:d}}function sg(a,b){for(var c=u(a.g),d=c.next();!d.done;d=c.next())b.g.add(d.value);a=u(a.h);for(d=a.next();!d.done;d=a.next())b.h.add(d.value)}q.Kj=function(a){this.g.add(a)};
|
|
204
|
+
q.jk=function(a){this.g.delete(a)};q.si=function(){this.g.clear()};q.Lj=function(a){this.h.add(a)};q.kk=function(a){this.h.delete(a)};q.ti=function(){this.h.clear()};function tg(a,b,c){return{uris:a,method:"GET",body:null,headers:{},allowCrossSiteCredentials:!1,retryParameters:b,licenseRequestType:null,sessionId:null,drmInfo:null,initData:null,initDataType:null,streamDataCallback:void 0===c?null:c}}q.destroy=function(){this.i=!0;this.g.clear();this.h.clear();ab.prototype.release.call(this);return this.m.destroy()};
|
|
205
205
|
q.request=function(a,b,c){var d=this,e=new ug;if(this.i){var f=Promise.reject(new R(2,7,7001));f.catch(function(){});return new vg(f,function(){return Promise.resolve()},e)}b.method=b.method||"GET";b.headers=b.headers||{};b.retryParameters=b.retryParameters?Me(b.retryParameters):cg();b.uris=Me(b.uris);f=wg(this,a,b,c);var g=f.Ka(function(){return xg(d,a,b,c,new bg(b.retryParameters,!1),0,null,e)}),h=g.Ka(function(r){return yg(d,a,r,c)}),k=Date.now(),l=0;f.promise.then(function(){l=Date.now()-k},function(){});
|
|
206
206
|
var m=0;g.promise.then(function(){m=Date.now()},function(){});var n=h.Ka(function(r){var p=Date.now()-m,t=r.response;t.timeMs+=l;t.timeMs+=p;r.kj||!d.l||t.fromCache||"HEAD"==b.method||a!=zg||d.l(t.timeMs,t.data.byteLength,Ag(c));d.F&&d.F(a,t,c);return t},function(r){r&&(r.severity=2);throw r;});f=new vg(n.promise,function(){return n.abort()},e);ng(this.m,f);return f};
|
|
207
207
|
function wg(a,b,c,d){function e(h){f=f.Ka(function(){c.body&&(c.body=Gb(c.body));return h(b,c,d)})}var f=ig(void 0);a.A&&e(a.A);a=u(a.g);for(var g=a.next();!g.done;g=a.next())e(g.value);return f.Ka(void 0,function(h){if(h instanceof R&&7001==h.code)throw h;throw new R(2,1,1006,h);})}
|
|
@@ -394,8 +394,8 @@ sk.prototype.getDuration=sk.prototype.getDuration;function tk(a,b,c){this.j=c;th
|
|
|
394
394
|
function yk(a){if(0!=a.g.readyState){if(a.g.seeking){if(!a.j)return}else a.j=!1;if(!a.g.paused||a.g.currentTime==a.i&&(a.g.autoplay||a.g.currentTime!=a.i)){a.g.readyState!=a.H&&(a.H=a.g.readyState);var b;if(!(b=!a.h)){b=a.h;var c=b.l,d=uk(c),e=c.g.currentTime,f=Date.now()/1E3;if(b.g!=e||b.u!=d)b.m=f,b.g=e,b.u=d,b.h=!1;e=f-b.m;if(d=e>=b.A&&d&&!b.h)b.i(b.g,e),b.h=!0,b.g=c.g.currentTime,b.s++,b.j(new Q("stalldetected"));b=!d}if(b&&(b=a.g.currentTime,c=a.g.buffered,d=Ki(c,b,a.u.gapDetectionThreshold),
|
|
395
395
|
null!=d&&(0!=d||a.s))){e=c.start(d);if(navigator.userAgent.match(/Edge\//)||Sb())e=Math.ceil(100*(e+.01))/100;e>=a.F.Kb()||.001>e-b||(0!=d&&c.end(d-1),a.g.currentTime=e,b==a.i&&(a.i=e),a.G++,a.A(new Q("gapjumped")))}}}};function zk(a,b,c,d){b==HTMLMediaElement.HAVE_NOTHING||a.readyState>=b?d():(b=Ak.value().get(b),c.na(a,b,d))}var Ak=new Mb(function(){return new Map([[HTMLMediaElement.HAVE_METADATA,"loadedmetadata"],[HTMLMediaElement.HAVE_CURRENT_DATA,"loadeddata"],[HTMLMediaElement.HAVE_FUTURE_DATA,"canplay"],[HTMLMediaElement.HAVE_ENOUGH_DATA,"canplaythrough"]])});function Bk(a,b,c,d){var e=this;this.g=a;this.m=b;this.u=c;this.l=null;this.j=function(){null==e.l&&(e.l=d());return e.l};this.s=!1;this.h=new dd;this.i=new Ck(a);zk(this.g,HTMLMediaElement.HAVE_METADATA,this.h,function(){Dk(e,e.j())})}Bk.prototype.release=function(){this.h&&(this.h.release(),this.h=null);null!=this.i&&(this.i.release(),this.i=null);this.m=function(){};this.g=null};function Ek(a){return a.s?a.g.currentTime:a.j()}
|
|
396
396
|
function Fk(a,b){0<a.g.readyState?Gk(a.i,b):zk(a.g,HTMLMediaElement.HAVE_METADATA,a.h,function(){Dk(a,a.j())})}function Dk(a,b){.001>Math.abs(a.g.currentTime-b)?Hk(a):(a.h.na(a.g,"seeking",function(){Hk(a)}),Gk(a.i,a.g.currentTime&&0!=a.g.currentTime?a.g.currentTime:b))}function Hk(a){a.s=!0;a.h.o(a.g,"seeking",function(){return a.m()});a.u(a.g.currentTime)}
|
|
397
|
-
function Ck(a){var b=this;this.h=a;this.m=10;this.l=this.j=this.i=0;this.g=new Ob(function(){0>=b.i?b.g.stop():b.h.currentTime!=b.j?b.g.stop():(b.h.currentTime=b.l,b.i--)})}Ck.prototype.release=function(){this.g&&(this.g.stop(),this.g=null);this.h=null};function Gk(a,b){a.j=a.h.currentTime;a.l=b;a.i=a.m;a.h.currentTime=b;a.g.ya(.1)};function Ik(a){this.
|
|
398
|
-
q.Wg=function(){return 0};q.Fh=function(){};
|
|
397
|
+
function Ck(a){var b=this;this.h=a;this.m=10;this.l=this.j=this.i=0;this.g=new Ob(function(){0>=b.i?b.g.stop():b.h.currentTime!=b.j?b.g.stop():(b.h.currentTime=b.l,b.i--)})}Ck.prototype.release=function(){this.g&&(this.g.stop(),this.g=null);this.h=null};function Gk(a,b){a.j=a.h.currentTime;a.l=b;a.i=a.m;a.h.currentTime=b;a.g.ya(.1)};function Ik(a){this.h=a;this.j=!1;this.g=null;this.i=new dd}q=Ik.prototype;q.wf=function(){function a(){if(null==b.g||0==b.g&&Infinity!=b.h.duration)b.j=!0;else{var c=b.h.currentTime,d=b.g;0>b.g&&(d=Math.max(0,c+b.g));c!=d?(b.i.na(b.h,"seeking",function(){b.j=!0}),b.h.currentTime=d):b.j=!0}}var b=this;zk(this.h,HTMLMediaElement.HAVE_CURRENT_DATA,this.i,function(){a()})};q.release=function(){this.i&&(this.i.release(),this.i=null);this.h=null};q.xf=function(a){this.g=this.j?this.g:a};
|
|
398
|
+
q.le=function(){return(this.j?this.h.currentTime:this.g)||0};q.Xg=function(){return 0};q.Wg=function(){return 0};q.Fh=function(){};
|
|
399
399
|
function Jk(a,b,c,d,e,f){var g=this;this.i=a;this.g=b.presentationTimeline;this.F=b.minBufferTime||0;this.l=c;this.A=e;this.u=null;this.s=Kk(a,c,f);this.j=new xk(a,b.presentationTimeline,c,this.s,f);this.h=new Bk(a,function(){a:{var h=g.j;h.j=!0;h.s=!1;var k=Ek(g.h);h=Lk(g,k);if(.001<Math.abs(h-k)&&(k=Date.now()/1E3,!g.u||g.u<k-1)){g.u=k;Fk(g.h,h);h=void 0;break a}g.A();h=void 0}return h},function(h){var k=g.j;k.g.seeking&&!k.j&&(k.j=!0,k.i=h)},function(){var h=d;null==h?h=Infinity>g.g.getDuration()?
|
|
400
400
|
g.g.tc():g.g.Kb():0>h&&(h=g.g.Kb()+h);return Mk(g,Nk(g,h))});this.m=new Ob(function(){if(0!=g.i.readyState&&!g.i.paused){var h=Ek(g.h),k=g.g.tc(),l=g.g.Kb();3>l-k&&(k=l-3);h<k&&(h=Lk(g,h),g.i.currentTime=h)}})}q=Jk.prototype;q.wf=function(){this.m.ya(.25)};q.release=function(){this.h&&(this.h.release(),this.h=null);this.j&&(this.j.release(),this.j=null);this.m&&(this.m.stop(),this.m=null);this.i=this.h=this.g=this.l=null;this.A=function(){}};q.xf=function(a){Fk(this.h,a)};
|
|
401
401
|
q.le=function(){var a=Ek(this.h);return 0<this.i.readyState&&!this.i.paused?Nk(this,a):a};q.Xg=function(){return this.s?this.s.s:0};q.Wg=function(){return this.j.G};q.Fh=function(){this.j.rg()};function Mk(a,b){var c=a.g.getDuration();return b>=c?c-a.l.durationBackoff:b}
|
|
@@ -415,7 +415,7 @@ Rk.prototype.offset=Rk.prototype.offset;Rk.prototype.get=Rk.prototype.get;Rk.pro
|
|
|
415
415
|
function dl(a,b,c){c=void 0===c?!1:c;if(a.h.segmentIndex&&(b=a.h.segmentIndex.Ub(Math.max(b,a.l),!0))){var d=b.next().value;c&&(d=b.next().value);if(d){for(;a.g.size<a.m&&null!=d;){c=!0;d.preload&&null!=d.za&&(c=!1);2==d.uc()&&(c=!1);c&&d.ua&&el(a,d.ua);c&&!a.g.has(d)&&(c=new fl(a.j),gl(c,d,a.h),a.g.set(d,c));a.l=d.startTime;if(a.h.fastSwitching&&d.Ud&&d.Fe)break;d=b.next().value}hl(a)}}}
|
|
416
416
|
function el(a,b){if(a.h.segmentIndex&&!Array.from(a.i.keys()).some(function(d){return Ai(d,b)})){var c=new fl(a.j);gl(c,b,a.h);a.i.set(b,c)}}function il(a,b){b=u(b.keys());for(var c=b.next();!c.done;c=b.next())(c=c.value)&&jl(a,c)}function kl(a){il(a,a.g);il(a,a.i);a.l=0}bl.prototype.fb=function(a,b){b=void 0===b?!1:b;for(var c=u(this.g.keys()),d=c.next();!d.done;d=c.next())d=d.value,a>d.endTime&&jl(this,d);b&&hl(this)};
|
|
417
417
|
function hl(a){for(var b=Array.from(a.g.keys()),c={},d=u(a.i.keys()),e=d.next();!e.done;c={ee:c.ee},e=d.next())c.ee=e.value,b.some(function(f){return function(g){return Ai(g.ua,f.ee)}}(c))||jl(a,c.ee)}function ll(a,b){a.m=b;for(var c=Array.from(a.g.keys());c.length>b;){var d=c.pop();d&&jl(a,d)}hl(a)}function ml(a,b){b&&b!==a.h&&(kl(a),a.h=b)}function jl(a,b){var c=a.g;b instanceof zi&&(c=a.i);a=c.get(b);c.delete(b);a&&a.abort()}function fl(a){this.g=a;this.Qe=this.Jg=null}
|
|
418
|
-
function gl(a,b,c){var d=new Uint8Array(0);a.Qe=a.g(b,c,function(e){return L(function(f){if(1==f.g)return 0<d.byteLength?d=Ac(d,e):d=e,a.Jg?D(f,a.Jg(d),3):f.B(0);d=new Uint8Array(0);F(f)})})}fl.prototype.abort=function(){this.Qe&&this.Qe.abort()};function nl(a){
|
|
418
|
+
function gl(a,b,c){var d=new Uint8Array(0);a.Qe=a.g(b,c,function(e){return L(function(f){if(1==f.g)return 0<d.byteLength?d=Ac(d,e):d=e,a.Jg?D(f,a.Jg(d),3):f.B(0);d=new Uint8Array(0);F(f)})})}fl.prototype.abort=function(){this.Qe&&this.Qe.abort()};function nl(a){ab.call(this);var b=this;this.g=new Set;this.i=a;this.h=(new Ob(function(){for(var c=b.i(),d=u(b.g),e=d.next();!e.done;e=d.next())e=e.value,e.endTime<c.start&&(b.g.delete(e),e=new Q("regionremove",new Map([["region",e]])),b.dispatchEvent(e))})).ya(2)}na(nl,ab);nl.prototype.release=function(){this.g.clear();this.h.stop();ab.prototype.release.call(this)};function ol(a){ab.call(this);this.g=new Map;this.h=a}na(ol,ab);ol.prototype.release=function(){this.g.clear();ab.prototype.release.call(this)};function pl(a,b){var c=a.g.get(b);c||(c={Vd:[],hh:null,contentType:b},a.g.set(b,c));return c}function ql(a,b,c){var d=pl(a,b.contentType);rl(a,d);a={ng:b,position:c};d=d.Vd;b=d.findIndex(function(e){return e.position>=c});0<=b?d.splice(b,d[b].position==c?1:0,a):d.push(a)}
|
|
419
419
|
ol.prototype.j=function(a){for(var b=u(this.g.values()),c=b.next();!c.done;c=b.next()){c=c.value;a:{var d=c.Vd;for(var e=d.length-1;0<=e;e--){var f=d[e];if(f.position<=a){d=f.ng;break a}}d=null}if(e=d)e=c.hh,e=!(e===d||e&&d&&e.bandwidth==d.bandwidth&&e.audioSamplingRate==d.audioSamplingRate&&e.codecs==d.codecs&&e.contentType==d.contentType&&e.frameRate==d.frameRate&&e.height==d.height&&e.mimeType==d.mimeType&&e.channelsCount==d.channelsCount&&e.pixelAspectRatio==d.pixelAspectRatio&&e.width==d.width);
|
|
420
420
|
if(e)a:{e=a;f=d.contentType;if((f=this.h()[f])&&0<f.length){var g=f[f.length-1].end;if(e>=f[0].start&&e<g){e=!0;break a}}e=!1}e&&(c.hh=d,JSON.stringify(d),c=new Q("qualitychange",new Map([["quality",d],["position",a]])),this.dispatchEvent(c))}};function rl(a,b){if((a=a.h()[b.contentType])&&0<a.length){var c=a[0].start,d=a[a.length-1].end,e=b.Vd;b.Vd=e.filter(function(f,g){return f.position<=c&&g+1<e.length&&e[g+1].position<=c||f.position>=d?!1:!0})}else b.Vd=[]};function sl(a,b,c,d,e){a=tg(a,d,e);if(0!=b||null!=c)a.headers.Range=c?"bytes="+b+"-"+c:"bytes="+b+"-";return a};function tl(a,b){var c=this;this.g=b;this.m=a;this.h=null;this.F=1;this.u=this.j=null;this.J=0;this.H=!1;this.i=new Map;this.G=!1;this.K=null;this.A=!1;this.l=new Bg(function(){return ul(c)});this.L=Date.now()/1E3;this.s=new Map;this.I={projection:null,hfov:null}}q=tl.prototype;q.destroy=function(){return this.l.destroy()};
|
|
421
421
|
function ul(a){var b,c,d,e,f,g,h;return L(function(k){if(1==k.g){b=[];c=u(a.i.values());for(d=c.next();!d.done;d=c.next())e=d.value,vl(e),b.push(wl(e));f=u(a.s.values());for(g=f.next();!g.done;g=f.next())h=g.value,kl(h);return D(k,Promise.all(b),2)}a.i.clear();a.s.clear();a.g=null;a.m=null;a.h=null;F(k)})}
|
|
@@ -482,19 +482,19 @@ preferredTextRole:"",preferredAudioChannelCount:2,preferredVideoHdrLevel:"AUTO",
|
|
|
482
482
|
textDisplayFactory:function(){return null},cmcd:{enabled:!1,sessionId:"",contentId:"",rtpSafetyFactor:5,useHeaders:!1,includeKeys:[]},cmsd:{enabled:!0,applyMaximumSuggestedBitrate:!0,estimatedThroughputWeightRatio:.5},lcevc:{enabled:!1,dynamicPerformanceScaling:!0,logLevel:0,drawLogo:!1},ads:{customPlayheadTracker:!1,skipPlayDetection:g}};f.trackSelectionCallback=function(k){return L(function(l){return l.return(nm(k,h.preferredAudioLanguage,h.preferredVideoHdrLevel))})};return h}
|
|
483
483
|
function om(a,b,c){var d={".drm.keySystemsMapping":"",".drm.servers":"",".drm.clearKeys":"",".drm.advanced":{distinctiveIdentifierRequired:!1,persistentStateRequired:!1,videoRobustness:"",audioRobustness:"",sessionType:"",serverCertificate:new Uint8Array(0),serverCertificateUri:"",individualizationServer:""}};return bm(a,b,c||km(),d,"")}
|
|
484
484
|
function nm(a,b,c){var d=c;"AUTO"==d&&(d=window.matchMedia("(color-gamut: p3)").matches?"PQ":"SDR");var e=a.filter(function(h){return"variant"!=h.type||h.hdr&&h.hdr!=d?!1:!0});c=[];var f=Vc(b,e.map(function(h){return h.language}));f&&(c=e.filter(function(h){return Nc(h.language)==f}));0==c.length&&(c=e.filter(function(h){return h.primary}));0==c.length&&(e.map(function(h){return h.language}),c=e);var g=c.filter(function(h){return h.height&&480>=h.height});g.length&&(g.sort(function(h,k){return k.height-
|
|
485
|
-
h.height}),c=g.filter(function(h){return h.height==g[0].height}));b=[];c.length&&(e=Math.floor(c.length/2),c.sort(function(h,k){return h.bandwidth-k.bandwidth}),b.push(c[e]));a=u(a);for(c=a.next();!c.done;c=a.next())c=c.value,c.type!=Hc&&"image"!=c.type||b.push(c);return b}function lm(a){return dm([a],a)}function mm(a){return dm([a],a)}N("shaka.util.PlayerConfiguration",jm);jm.mergeConfigObjects=om;jm.createDefault=km;function pm(a,b,c,d,e){
|
|
485
|
+
h.height}),c=g.filter(function(h){return h.height==g[0].height}));b=[];c.length&&(e=Math.floor(c.length/2),c.sort(function(h,k){return h.bandwidth-k.bandwidth}),b.push(c[e]));a=u(a);for(c=a.next();!c.done;c=a.next())c=c.value,c.type!=Hc&&"image"!=c.type||b.push(c);return b}function lm(a){return dm([a],a)}function mm(a){return dm([a],a)}N("shaka.util.PlayerConfiguration",jm);jm.mergeConfigObjects=om;jm.createDefault=km;function pm(a,b,c,d,e){ab.call(this);this.L=a;this.P=b;this.Ia=e.networkingEngine;this.S=d;this.s=null;this.Gb=c;this.ra=0;this.Za=e.Rc;this.F=e.yj;this.$a=e.zj;this.g=e.config;this.j=this.G=this.h=null;this.aa=!1;this.H=e.Jj;this.oa=!1;this.l=null;this.$=!1;this.i=this.u=null;this.Y=!1;this.K=new Map;this.qa=!1;this.Pa=e.Ij;this.X=new al;this.m=new eg;this.M=null;this.A=!1;this.Ua=e.pi;this.ma=null;this.Qa=e.oi;this.O=!1;this.J=[];this.I=[]}na(pm,ab);
|
|
486
486
|
function qm(a,b,c){(a=b?a.I:a.J)?a.push(c):c()}function rm(a){if(a.I)for(var b=u(a.I),c=b.next();!c.done;c=b.next())c=c.value,c();a.I=null}function sm(a,b){a.M=b;a.O=!0;if(a.J){b=u(a.J);for(var c=b.next();!c.done;c=b.next())c=c.value,c()}a.J=null}q=pm.prototype;q.getStartTime=function(){return this.S};q.Fd=function(){return this.L};q.Xf=function(){return this.h};function tm(a){a.Y=!0;return a.i}function um(a){a.aa=!0;return a.j}function vm(a){a.oa=!0;return a.H}q.getStats=function(){return this.X};
|
|
487
487
|
function wm(a){a.$=!0;return a.l}function xm(a){a.qa=!0;return a.K}
|
|
488
488
|
q.start=function(){var a=this;(function(){var b;return L(function(c){switch(c.g){case 1:return D(c,Promise.resolve(),2);case 2:return ra(c,3),D(c,ym(a),5);case 5:return zm(a),D(c,Am(a),6);case 6:zm(a);a.s||(a.s=new Lf(a.g.preferredAudioLanguage,a.g.preferredVariantRole,a.g.preferredAudioChannelCount,a.g.preferredVideoHdrLevel,a.g.preferSpatialAudio,a.g.preferredVideoLayout,a.g.preferredAudioLabel,a.g.preferredVideoLabel,a.g.mediaSource.codecSwitchingStrategy,a.g.manifest.dash.enableAudioGroups));
|
|
489
|
-
if(a.Qa){var d=a.g.abrFactory;a.u=d;a.i=d();a.i.configure(a.g.abr)}if(a.Ua){d=a.h.presentationTimeline.U();var e=uf(a.h.variants);e=a.s.create(e);a.i.configure(a.g.abr);a.i.setVariants(Array.from(e.values()));if(e=a.i.chooseVariant(!0))a.ma=e,e.video&&Bm(a,e.video,d),e.audio&&Bm(a,e.audio,d)}return D(c,void 0,7);case 7:zm(a);a.m.resolve();ta(c,0);break;case 3:b=ua(c),a.m.reject(b),F(c)}})})()};q.dispatchEvent=function(a){return this.M?this.M.dispatchEvent(a):
|
|
489
|
+
if(a.Qa){var d=a.g.abrFactory;a.u=d;a.i=d();a.i.configure(a.g.abr)}if(a.Ua){d=a.h.presentationTimeline.U();var e=uf(a.h.variants);e=a.s.create(e);a.i.configure(a.g.abr);a.i.setVariants(Array.from(e.values()));if(e=a.i.chooseVariant(!0))a.ma=e,e.video&&Bm(a,e.video,d),e.audio&&Bm(a,e.audio,d)}return D(c,void 0,7);case 7:zm(a);a.m.resolve();ta(c,0);break;case 3:b=ua(c),a.m.reject(b),F(c)}})})()};q.dispatchEvent=function(a){return this.M?this.M.dispatchEvent(a):ab.prototype.dispatchEvent.call(this,a)};
|
|
490
490
|
q.onError=function(a){2===a.severity&&(this.m.reject(a),this.destroy());var b=(new Map).set("detail",a);b=new Q("error",b);this.dispatchEvent(b);b.defaultPrevented&&(a.handled=!0)};function zm(a){if(a.A)throw new R(2,7,7003);}function Cm(a,b){a.dispatchEvent(new Q("onstatechange",(new Map).set("state",b)))}
|
|
491
491
|
function ym(a){var b,c,d,e,f;return L(function(g){if(1==g.g){Cm(a,"manifest-parser");a.j||(a.G=ti(a.L,a.P),a.j=a.G(),a.j.configure(a.g.manifest));b=Date.now()/1E3;Cm(a,"manifest");if(a.h)return g.B(2);c=a;return D(g,a.j.start(a.L,a.$a),3)}2!=g.g&&(c.h=g.h);d=new Q("manifestparsed",void 0);a.dispatchEvent(d);if(0==a.h.variants.length)throw new R(2,4,4036);Dm(a.h);e=Date.now()/1E3;f=e-b;a.X.H=f;F(g)})}
|
|
492
492
|
function Am(a){var b,c,d,e,f;return L(function(g){switch(g.g){case 1:Cm(a,"drm-engine");a.ra=Date.now()/1E3;a.l=a.Za();a.F.g=a.l;a.l.configure(a.g.drm);var h=a.F;b=Te(a.h.variants,h.h.restrictions,h.i);if(!b){g.B(2);break}c=new Q("trackschanged",void 0);return D(g,Promise.resolve(),3);case 3:zm(a),a.dispatchEvent(c);case 2:return d=uf(a.h.variants),D(g,Fh(a.l,d,a.h.offlineSessionIds),4);case 4:return zm(a),D(g,ni(a.F,a.h),5);case 5:e=g.h;if(!e){g.B(0);break}f=new Q("trackschanged",void 0);return D(g,
|
|
493
493
|
Promise.resolve(),7);case 7:a.dispatchEvent(f),F(g)}})}q.configure=function(a,b){a=cm(a,b);om(this.g,a)};q.getConfiguration=function(){return Me(this.g)};
|
|
494
494
|
function Bm(a,b,c){var d,e,f,g,h;L(function(k){if(1==k.g)return d=a.g.streaming.segmentPrefetchLimit||2,e=new bl(d,b,function(l,m,n){return Ll(l,m,n||null,a.g.streaming.retryParameters,a.Ia)}),a.K.set(b.id,e),D(k,b.createSegmentIndex(),2);f=a.S||0;(h=(g=b.segmentIndex.Ub(f))?g.current():null)||(h=b.segmentIndex.get(0));h&&(c?h.ua&&el(e,h.ua):dl(e,h.startTime));F(k)})}q.pk=function(){return this.m};
|
|
495
495
|
q.destroy=function(){var a=this,b,c,d;return L(function(e){switch(e.g){case 1:a.A=!0;if(!a.j||a.aa){e.B(2);break}return D(e,a.j.stop(),2);case 2:if(!a.i||a.Y){e.B(4);break}return D(e,a.i.stop(),4);case 4:a.H&&!a.oa&&a.H.release();if(!a.l||a.$){e.B(6);break}return D(e,a.l.destroy(),6);case 6:if(0<a.K.size&&!a.qa)for(b=u(a.K.values()),c=b.next();!c.done;c=b.next())d=c.value,kl(d);F(e)}})};
|
|
496
|
-
function Dm(a){function b(c){return c.video&&c.audio||c.video&&c.video.codecs.includes(",")}a.variants.some(b)&&(a.variants=a.variants.filter(b))}N("shaka.media.PreloadManager",pm);pm.prototype.destroy=pm.prototype.destroy;pm.prototype.waitForFinish=pm.prototype.pk;function Em(a,b){
|
|
497
|
-
"regionremove",function(d){c.g.delete(d.region)})}na(Em,
|
|
496
|
+
function Dm(a){function b(c){return c.video&&c.audio||c.video&&c.video.codecs.includes(",")}a.variants.some(b)&&(a.variants=a.variants.filter(b))}N("shaka.media.PreloadManager",pm);pm.prototype.destroy=pm.prototype.destroy;pm.prototype.waitForFinish=pm.prototype.pk;function Em(a,b){ab.call(this);var c=this;this.i=a;this.l=b;this.g=new Map;this.m=[{Lc:null,Kc:Fm,yc:function(d,e){return Gm(c,"enter",d,e)}},{Lc:Hm,Kc:Fm,yc:function(d,e){return Gm(c,"enter",d,e)}},{Lc:Im,Kc:Fm,yc:function(d,e){return Gm(c,"enter",d,e)}},{Lc:Fm,Kc:Hm,yc:function(d,e){return Gm(c,"exit",d,e)}},{Lc:Fm,Kc:Im,yc:function(d,e){return Gm(c,"exit",d,e)}},{Lc:Hm,Kc:Im,yc:function(d,e){return Gm(c,"skip",d,e)}},{Lc:Im,Kc:Hm,yc:function(d,e){return Gm(c,"skip",d,e)}}];this.h=new dd;this.h.o(this.i,
|
|
497
|
+
"regionremove",function(d){c.g.delete(d.region)})}na(Em,ab);Em.prototype.release=function(){this.i=null;this.g.clear();this.h.release();this.h=null;ab.prototype.release.call(this)};Em.prototype.j=function(a,b){if(!this.l||0!=a){this.l=!1;for(var c=u(this.i.g),d=c.next();!d.done;d=c.next()){d=d.value;var e=this.g.get(d),f=a<d.startTime?Hm:a>d.endTime?Im:Fm;this.g.set(d,f);for(var g=u(this.m),h=g.next();!h.done;h=g.next())h=h.value,h.Lc==e&&h.Kc==f&&h.yc(d,b)}}};
|
|
498
498
|
function Gm(a,b,c,d){b=new Q(b,new Map([["region",c],["seeking",d]]));a.dispatchEvent(b)}var Hm=1,Fm=2,Im=3;function Jm(a,b,c){var d,e,f,g,h,k,l;return L(function(m){switch(m.g){case 1:var n=(new ib(a)).jb.split("/").pop().split(".");d=1==n.length?"":n.pop().toLowerCase();if(e=Km[d])return m.return(e);f=0;g=tg([a],c);ra(m,2);g.method="HEAD";return D(m,b.request(f,g).promise,4);case 4:h=m.h;e=h.headers["content-type"];ta(m,3);break;case 2:k=ua(m);if(!k||1002!=k.code&&1001!=k.code){m.B(3);break}g.method="GET";return D(m,b.request(f,g).promise,6);case 6:l=m.h,e=l.headers["content-type"];case 3:return m.return(e?
|
|
499
499
|
e.toLowerCase().split(";").shift():"")}})}
|
|
500
500
|
var Km={mp4:"video/mp4",m4v:"video/mp4",m4a:"audio/mp4",webm:"video/webm",weba:"audio/webm",mkv:"video/webm",ts:"video/mp2t",ogv:"video/ogg",ogg:"audio/ogg",mpg:"video/mpeg",mpeg:"video/mpeg",m3u8:"application/x-mpegurl",mpd:"application/dash+xml",ism:"application/vnd.ms-sstr+xml",mp3:"audio/mpeg",aac:"audio/aac",flac:"audio/flac",wav:"audio/wav",sbv:"text/x-subviewer",srt:"text/srt",vtt:"text/vtt",webvtt:"text/vtt",ttml:"application/ttml+xml",lrc:"application/x-subtitle-lrc",ssa:"text/x-ssa",ass:"text/x-ssa"};function Lm(a,b){if(a.lineBreak)return"\n";if(a.nestedCues.length)return a.nestedCues.map(function(g){return Lm(g,a)}).join("");var c=[],d=700<=a.fontWeight,e="italic"==a.fontStyle,f=a.textDecoration.includes("underline");d&&c.push(["b"]);e&&c.push(["i"]);f&&c.push(["u"]);e=a.color;""==e&&b&&(e=b.color);d="";(e=Mm(e))&&(d+="."+e);e=a.backgroundColor;""==e&&b&&(e=b.backgroundColor);(b=Mm(e))&&(d+=".bg_"+b);d&&c.push(["c",d]);return c.reduceRight(function(g,h){var k=u(h);h=k.next().value;k=k.next().value;
|
|
@@ -531,12 +531,12 @@ function ln(a){function b(n){return 100*c(n/100)}function c(n){return Math.round
|
|
|
531
531
|
l?h:"symbol"===l?h+"="+k.description:h+"="+k;e.push(m)}}return e.join(",")}function qn(a){var b=Object.keys(a),c={},d=["Object","Request","Session","Status"],e=[{},{},{},{}],f={br:0,d:0,ot:0,tb:0,bl:1,dl:1,mtp:1,nor:1,nrr:1,su:1,cid:2,pr:2,sf:2,sid:2,st:2,v:2,bs:3,rtp:3};b=u(b);for(var g=b.next();!g.done;g=b.next())g=g.value,e[null!=f[g]?f[g]:1][g]=a[g];for(a=0;a<e.length;a++)(f=ln(e[a]))&&(c["CMCD-"+d[a]]=f);return c}
|
|
532
532
|
function mn(a,b){if(!b||a.includes("offline:"))return a;a=new ib(a);a.g.set("CMCD",b);return a.toString()}var kn="m",hn="a",on="v",jn="av",sn="i",un="c",tn="tt";N("shaka.util.CmcdManager.StreamingFormat",{DASH:"d",HLS:"h",gi:"s",OTHER:"o"});function yn(a){this.h=a;this.g=null}q=yn.prototype;q.configure=function(a){this.h=a};q.qh=function(){return this.h.enabled&&this.h.applyMaximumSuggestedBitrate&&this.g&&this.g.has(zn)?1E3*this.g.get(zn):null};q.ph=function(){return this.h.enabled&&this.g&&this.g.has(An)?1E3*this.g.get(An):null};q.Xi=function(){return this.h.enabled&&this.g&&this.g.has(Bn)?this.g.get(Bn):null};q.Yi=function(){return this.h.enabled&&this.g&&this.g.has(Cn)?this.g.get(Cn):null};
|
|
533
533
|
q.getBandwidthEstimate=function(a){var b=this.ph();if(!b)return a;var c=this.h.estimatedThroughputWeightRatio;return 0<c&&1>=c?a*(1-c)+b*c:a};function Dn(a){return a?"false"===a.toLowerCase()?!1:/^[-0-9]/.test(a)?parseInt(a,10):a.replace(/["]+/g,""):!0}N("shaka.util.CmsdManager",yn);yn.prototype.getBandwidthEstimate=yn.prototype.getBandwidthEstimate;yn.prototype.getRoundTripTime=yn.prototype.Yi;yn.prototype.getResponseDelay=yn.prototype.Xi;yn.prototype.getEstimatedThroughput=yn.prototype.ph;
|
|
534
|
-
yn.prototype.getMaxBitrate=yn.prototype.qh;var An="etp",zn="mb",Bn="rd",Cn="rtt";function En(){this.g=null;this.h=[]}function Sn(a,b){return L(function(c){if(1==c.g)return a.g?D(c,new Promise(function(d){return a.h.push(d)}),2):c.B(2);a.g=b;F(c)})}En.prototype.release=function(){0<this.h.length?this.h.shift()():this.g=null};function W(a,b){
|
|
534
|
+
yn.prototype.getMaxBitrate=yn.prototype.qh;var An="etp",zn="mb",Bn="rd",Cn="rtt";function En(){this.g=null;this.h=[]}function Sn(a,b){return L(function(c){if(1==c.g)return a.g?D(c,new Promise(function(d){return a.h.push(d)}),2):c.B(2);a.g=b;F(c)})}En.prototype.release=function(){0<this.h.length?this.h.shift()():this.g=null};function W(a,b){ab.call(this);var c=this;this.l=Tn;this.Oe=this.g=null;this.$=!1;this.df=new dd;this.Gb=new dd;this.m=new dd;this.ra=new dd;this.G=this.H=this.A=this.I=null;this.gf=0;this.S=new En;this.aa=this.Rg=this.oa=this.i=this.Ia=this.K=this.j=this.Za=this.L=this.Vg=this.X=this.P=this.$a=this.M=this.Se=this.J=this.Ua=null;this.Qa=!1;this.ma=this.s=null;this.Ug=1E9;this.Rd=[];this.O=NaN;this.h=Un(this);this.Y={width:Infinity,height:Infinity};this.Le=new mi(this.h,this.Y,null);this.Sg=[];this.u=
|
|
535
535
|
null;this.qa=new Lf(this.h.preferredAudioLanguage,this.h.preferredVariantRole,this.h.preferredAudioChannelCount,this.h.preferredVideoHdrLevel,this.h.preferSpatialAudio,this.h.preferredVideoLayout,this.h.preferredAudioLabel,this.h.preferredVideoLabel,this.h.mediaSource.codecSwitchingStrategy,this.h.manifest.dash.enableAudioGroups);this.Pa=this.h.preferredTextLanguage;this.Bc=this.h.preferredTextRole;this.xc=this.h.preferForcedSubs;this.vc=[];b&&b(this);this.P=Vn(this);this.X=new yn(this.h.cmsd);this.I=
|
|
536
|
-
Wn(this);this.I.Fg(this.h.streaming.forceHTTPS);this.F=null;Xn&&(this.F=Xn(),this.F.configure(this.h.ads));this.df.o(window,"online",function(){Yn(c);c.xg()});this.Te=new Ob(function(){return Zn(c)});a&&(md("Player w/ mediaElement","Please migrate from initializing Player with a mediaElement; use the attach method instead."),this.Pc(a,!0))}na(W,
|
|
536
|
+
Wn(this);this.I.Fg(this.h.streaming.forceHTTPS);this.F=null;Xn&&(this.F=Xn(),this.F.configure(this.h.ads));this.df.o(window,"online",function(){Yn(c);c.xg()});this.Te=new Ob(function(){return Zn(c)});a&&(md("Player w/ mediaElement","Please migrate from initializing Player with a mediaElement; use the attach method instead."),this.Pc(a,!0))}na(W,ab);function $n(a){null!=a.L&&(wj(a.L),a.L.release(),a.L=null)}
|
|
537
537
|
function ao(a,b){b.lcevc.enabled?($n(a),null==a.L&&(a.L=new vj(a.g,a.Vg,b.lcevc),a.H&&(a.H.P=a.L))):$n(a)}function bo(a,b){return new Q(a,b)}q=W.prototype;
|
|
538
538
|
q.destroy=function(){var a=this,b,c,d,e,f;return L(function(g){switch(g.g){case 1:if(a.l==co)return g.return();$n(a);b=a.detach();a.l=co;return D(g,b,2);case 2:c=[];d=u(a.Sg);for(e=d.next();!e.done;e=d.next())f=e.value,f.A||c.push(f.destroy());a.Sg=[];return D(g,Promise.all(c),3);case 3:a.df&&(a.df.release(),a.df=null);a.Gb&&(a.Gb.release(),a.Gb=null);a.m&&(a.m.release(),a.m=null);a.ra&&(a.ra.release(),a.ra=null);a.ma=null;a.h=null;a.u=null;a.Oe=null;a.P=null;a.X=null;if(!a.I){g.B(4);break}return D(g,
|
|
539
|
-
a.I.destroy(),5);case 5:a.I=null;case 4:a.s&&(a.s.release(),a.s=null),
|
|
539
|
+
a.I.destroy(),5);case 5:a.I=null;case 4:a.s&&(a.s.release(),a.s=null),ab.prototype.release.call(a),F(g)}})};
|
|
540
540
|
function eo(){window.Promise||Ua("A Promise implementation or polyfill is required");if(!(window.Promise&&window.Uint8Array&&Array.prototype.forEach)||Tb("Trident/"))return!1;var a=gc();return a&&9>a||!(window.MediaKeys&&window.navigator&&window.navigator.requestMediaKeySystemAccess&&window.MediaKeySystemAccess&&window.MediaKeySystemAccess.prototype.getConfiguration)?!1:Pb()?!0:Qb("application/x-mpegurl")}function fo(a,b){a.dispatchEvent(bo("onstatechange",(new Map).set("state",b)))}
|
|
541
541
|
q.Pc=function(a,b){b=void 0===b?!0:b;var c=this,d,e,f;return L(function(g){switch(g.g){case 1:if(c.l==co)throw new R(2,7,7E3);d=c.g&&c.g==a;if(!c.g||c.g==a){g.B(2);break}return D(g,c.detach(),2);case 2:return D(g,go(c,"attach"),4);case 4:if(g.h)return g.return();ra(g,5,6);d||(fo(c,"attach"),e=function(){var h=ho(c);h&&io(c,h)},c.Gb.o(a,"error",e),c.g=a);if(!b||!Pb()||c.H){g.B(6);break}return D(g,jo(c),6);case 6:va(g);c.S.release();wa(g,0);break;case 5:return f=ua(g),D(g,c.detach(),10);case 10:throw f;
|
|
542
542
|
}})};q.Zg=function(a){this.Vg=a};q.detach=function(a){a=void 0===a?!1:a;var b=this;return L(function(c){if(1==c.g){if(b.l==co)throw new R(2,7,7E3);return D(c,b.Ic(!1,a),2)}if(3!=c.g)return D(c,go(b,"detach"),3);if(c.h)return c.return();try{b.g&&(b.Gb.mb(),b.g=null),fo(b,"detach"),b.F&&!a&&b.F.release()}finally{b.S.release()}F(c)})};function go(a,b){var c;return L(function(d){return 1==d.g?(c=++a.gf,D(d,Sn(a.S,b),2)):c!=a.gf?(a.S.release(),d.return(!0)):d.return(!1)})}
|
|
@@ -669,7 +669,7 @@ W.prototype.getVariantTracks=W.prototype.zb;W.prototype.cancelTrickPlay=W.protot
|
|
|
669
669
|
W.prototype.isAudioOnly=W.prototype.Yc;W.prototype.isInProgress=W.prototype.zc;W.prototype.isLive=W.prototype.U;W.prototype.getAdManager=W.prototype.ue;W.prototype.getAssetUri=W.prototype.Fd;W.prototype.getNetworkingEngine=W.prototype.dc;W.prototype.getMediaElement=W.prototype.Ui;W.prototype.getManifestType=W.prototype.Yf;W.prototype.getLoadMode=W.prototype.Id;W.prototype.resetConfiguration=W.prototype.Rj;W.prototype.getBufferFullness=W.prototype.nh;W.prototype.getConfiguration=W.prototype.getConfiguration;
|
|
670
670
|
W.prototype.configure=W.prototype.configure;W.prototype.releaseAllMutexes=W.prototype.Nj;W.prototype.preload=W.prototype.preload;W.prototype.unloadAndSavePreload=W.prototype.ik;W.prototype.load=W.prototype.load;W.prototype.updateStartTime=W.prototype.nk;W.prototype.unload=W.prototype.Ic;W.prototype.detach=W.prototype.detach;W.prototype.attachCanvas=W.prototype.Zg;W.prototype.attach=W.prototype.Pc;
|
|
671
671
|
W.probeSupport=function(a){a=void 0===a?!0:a;var b,c,d,e,f,g;return L(function(h){if(1==h.g)return b={},a?D(h,gi(),3):h.B(2);2!=h.g&&(b=h.h);var k={};if(Pb())for(var l in ui)k[l]=!0;l=u(["application/dash+xml","application/x-mpegurl","application/vnd.apple.mpegurl","application/vnd.ms-sstr+xml"]);for(var m=l.next();!m.done;m=l.next())m=m.value,k[m]=Pb()?!!ui[m]:Qb(m);c=k;l='video/mp4; codecs="avc1.42E01E",video/mp4; codecs="avc3.42E01E",video/mp4; codecs="hev1.1.6.L93.90",video/mp4; codecs="hvc1.1.6.L93.90",video/mp4; codecs="hev1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="hvc1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="vp9",video/mp4; codecs="vp09.00.10.08",video/mp4; codecs="av01.0.01M.08",video/mp4; codecs="dvh1.20.01",audio/mp4; codecs="mp4a.40.2",audio/mp4; codecs="ac-3",audio/mp4; codecs="ec-3",audio/mp4; codecs="ac-4.02.01.01",audio/mp4; codecs="opus",audio/mp4; codecs="flac",audio/mp4; codecs="dtsc",audio/mp4; codecs="dtse",audio/mp4; codecs="dtsx",video/webm; codecs="vp8",video/webm; codecs="vp9",video/webm; codecs="vp09.00.10.08",audio/webm; codecs="vorbis",audio/webm; codecs="opus",video/mp2t; codecs="avc1.42E01E",video/mp2t; codecs="avc3.42E01E",video/mp2t; codecs="hvc1.1.6.L93.90",video/mp2t; codecs="mp4a.40.2",video/mp2t; codecs="ac-3",video/mp2t; codecs="ec-3",text/vtt,application/mp4; codecs="wvtt",application/ttml+xml,application/mp4; codecs="stpp"'.split(",").concat(x(ke));
|
|
672
|
-
k={};l=u(l);for(m=l.next();!m.done;m=l.next()){m=m.value;k[m]=Ce(m)?!0:Pb()?id(m)||(de(m)?!0:!1):Qb(m);var n=m.split(";")[0];k[n]=k[n]||k[m]}d=k;e={manifest:c,media:d,drm:b};f=lp;for(g in f)e[g]=f[g]();return h.return(e)})};W.isBrowserSupported=eo;W.setAdManagerFactory=function(a){Xn=a};W.registerSupportPlugin=function(a,b){lp[a]=b};W.prototype.destroy=W.prototype.destroy;var co=0,Tn=1,Fo=2,So=3;W.LoadMode={DESTROYED:co,NOT_LOADED:Tn,MEDIA_SOURCE:Fo,SRC_EQUALS:So};W.version="v4.8.
|
|
672
|
+
k={};l=u(l);for(m=l.next();!m.done;m=l.next()){m=m.value;k[m]=Ce(m)?!0:Pb()?id(m)||(de(m)?!0:!1):Qb(m);var n=m.split(";")[0];k[n]=k[n]||k[m]}d=k;e={manifest:c,media:d,drm:b};f=lp;for(g in f)e[g]=f[g]();return h.return(e)})};W.isBrowserSupported=eo;W.setAdManagerFactory=function(a){Xn=a};W.registerSupportPlugin=function(a,b){lp[a]=b};W.prototype.destroy=W.prototype.destroy;var co=0,Tn=1,Fo=2,So=3;W.LoadMode={DESTROYED:co,NOT_LOADED:Tn,MEDIA_SOURCE:Fo,SRC_EQUALS:So};W.version="v4.8.16";
|
|
673
673
|
var mp=["4","8"];nd=new function(a){this.g=a;this.i=od;this.h=pd}(new ld(Number(mp[0]),Number(mp[1])));var lp={},Xn=null;function np(){this.h=[];this.j=this.i=this.g=0};function op(a,b,c){var d=this;this.g=a;this.h=b;this.j=c;this.i=!1;this.l=this.h.getVolume();this.m=new dd;this.m.o(this.h,google.ima.AdEvent.Type.PAUSED,function(){d.i=!0});this.m.o(this.h,google.ima.AdEvent.Type.RESUMED,function(){d.i=!1})}q=op.prototype;q.getDuration=function(){return this.g.getDuration()};q.getMinSuggestedDuration=function(){return this.g.getMinSuggestedDuration()};q.getRemainingTime=function(){return this.h.getRemainingTime()};q.isPaused=function(){return this.i};
|
|
674
674
|
q.isSkippable=function(){return 0<=this.g.getSkipTimeOffset()};q.getTimeUntilSkippable=function(){var a=this.g.getSkipTimeOffset();a=this.getRemainingTime()-a;return Math.max(a,0)};q.canSkipNow=function(){return this.h.getAdSkippableState()};q.skip=function(){return this.h.skip()};q.pause=function(){return this.h.pause()};q.play=function(){return this.h.resume()};q.getVolume=function(){return this.h.getVolume()};q.setVolume=function(a){this.j.volume=a;return this.h.setVolume(a)};
|
|
675
675
|
q.isMuted=function(){return 0==this.h.getVolume()};q.isLinear=function(){return this.g.isLinear()};q.resize=function(a,b){var c=!1,d=this.j;document.fullscreenEnabled?c=!!document.fullscreenElement:d.webkitSupportsFullscreen&&(c=d.webkitDisplayingFullscreen);this.h.resize(a,b,c?google.ima.ViewMode.FULLSCREEN:google.ima.ViewMode.NORMAL)};q.setMuted=function(a){(this.j.muted=a)?(this.l=this.getVolume(),this.h.setVolume(0)):this.h.setVolume(this.l)};
|
|
@@ -677,7 +677,7 @@ q.getSequenceLength=function(){var a=this.g.getAdPodInfo();return null==a?1:a.ge
|
|
|
677
677
|
q.getAdId=function(){return this.g.getAdId()};q.getCreativeAdId=function(){return this.g.getCreativeAdId()};q.getAdvertiserName=function(){return this.g.getAdvertiserName()};q.getMediaUrl=function(){return this.g.getMediaUrl()};q.getTimeOffset=function(){var a=this.g.getAdPodInfo();return null==a?0:a.getTimeOffset()};q.getPodIndex=function(){var a=this.g.getAdPodInfo();return null==a?0:a.getPodIndex()};q.release=function(){this.h=this.g=null};N("shaka.ads.ClientSideAd",op);op.prototype.release=op.prototype.release;
|
|
678
678
|
op.prototype.getPodIndex=op.prototype.getPodIndex;op.prototype.getTimeOffset=op.prototype.getTimeOffset;op.prototype.getMediaUrl=op.prototype.getMediaUrl;op.prototype.getAdvertiserName=op.prototype.getAdvertiserName;op.prototype.getCreativeAdId=op.prototype.getCreativeAdId;op.prototype.getAdId=op.prototype.getAdId;op.prototype.getVastMediaWidth=op.prototype.getVastMediaWidth;op.prototype.getVastMediaHeight=op.prototype.getVastMediaHeight;op.prototype.getVastMediaBitrate=op.prototype.getVastMediaBitrate;
|
|
679
679
|
op.prototype.getDescription=op.prototype.getDescription;op.prototype.getTitle=op.prototype.getTitle;op.prototype.getPositionInSequence=op.prototype.getPositionInSequence;op.prototype.getSequenceLength=op.prototype.getSequenceLength;op.prototype.setMuted=op.prototype.setMuted;op.prototype.resize=op.prototype.resize;op.prototype.isLinear=op.prototype.isLinear;op.prototype.isMuted=op.prototype.isMuted;op.prototype.setVolume=op.prototype.setVolume;op.prototype.getVolume=op.prototype.getVolume;
|
|
680
|
-
op.prototype.play=op.prototype.play;op.prototype.pause=op.prototype.pause;op.prototype.skip=op.prototype.skip;op.prototype.canSkipNow=op.prototype.canSkipNow;op.prototype.getTimeUntilSkippable=op.prototype.getTimeUntilSkippable;op.prototype.isSkippable=op.prototype.isSkippable;op.prototype.isPaused=op.prototype.isPaused;op.prototype.getRemainingTime=op.prototype.getRemainingTime;op.prototype.getMinSuggestedDuration=op.prototype.getMinSuggestedDuration;op.prototype.getDuration=op.prototype.getDuration;function pp(a,b,c,d,e){var f=this;this.s=a;this.i=b;this.H=!1;this.A=this.u=null;this.I=NaN;this.m=e;this.j=null;this.h=new dd;google.ima.settings.setLocale(c);google.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0);this.G=new google.ima.AdDisplayContainer(this.s,this.i);this.G.initialize();this.l=new google.ima.AdsLoader(this.G);this.l.getSettings().setPlayerType("shaka-player");this.l.getSettings().setPlayerVersion("v4.8.
|
|
680
|
+
op.prototype.play=op.prototype.play;op.prototype.pause=op.prototype.pause;op.prototype.skip=op.prototype.skip;op.prototype.canSkipNow=op.prototype.canSkipNow;op.prototype.getTimeUntilSkippable=op.prototype.getTimeUntilSkippable;op.prototype.isSkippable=op.prototype.isSkippable;op.prototype.isPaused=op.prototype.isPaused;op.prototype.getRemainingTime=op.prototype.getRemainingTime;op.prototype.getMinSuggestedDuration=op.prototype.getMinSuggestedDuration;op.prototype.getDuration=op.prototype.getDuration;function pp(a,b,c,d,e){var f=this;this.s=a;this.i=b;this.H=!1;this.A=this.u=null;this.I=NaN;this.m=e;this.j=null;this.h=new dd;google.ima.settings.setLocale(c);google.ima.settings.setDisableCustomPlaybackForIOS10Plus(!0);this.G=new google.ima.AdDisplayContainer(this.s,this.i);this.G.initialize();this.l=new google.ima.AdsLoader(this.G);this.l.getSettings().setPlayerType("shaka-player");this.l.getSettings().setPlayerVersion("v4.8.16");this.g=null;this.F=d||new google.ima.AdsRenderingSettings;this.h.o(this.l,
|
|
681
681
|
google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,function(g){qp(f,g)});this.h.o(this.l,google.ima.AdErrorEvent.Type.AD_ERROR,function(g){rp(f,g)});this.h.o(this.i,"ended",function(){f.l.contentComplete()});this.h.na(this.i,"play",function(){f.H=!0})}pp.prototype.configure=function(a){this.u=a};pp.prototype.stop=function(){this.g&&this.g.stop();this.s&&Um(this.s)};
|
|
682
682
|
pp.prototype.release=function(){this.stop();this.A&&this.A.disconnect();this.h&&this.h.release();this.g&&this.g.destroy();this.l.destroy();this.G.destroy()};function rp(a,b){b.getError();b=(new Map).set("originalEvent",b);a.m(new Q("ad-error",b));sp(a,null);a.m(new Q("ad-cue-points-changed",(new Map).set("cuepoints",[])))}
|
|
683
683
|
function qp(a,b){a.m(new Q("ads-loaded",(new Map).set("loadTime",Date.now()/1E3-a.I)));if(a.u.customPlayheadTracker){var c={currentTime:a.i.currentTime};a.g=b.getAdsManager(c,a.F);a.i.muted?a.g.setVolume(0):a.g.setVolume(a.i.volume);a.h.o(a.i,"timeupdate",function(){a.i.duration&&(c.currentTime=a.i.currentTime)});a.h.o(a.i,"volumechange",function(){a.j&&(a.j.setVolume(a.i.volume),a.i.muted&&a.j.setMuted(!0))})}else a.g=b.getAdsManager(a.i,a.F);a.m(new Q("ima-ad-manager-loaded",(new Map).set("imaAdManager",
|
|
@@ -724,12 +724,12 @@ e.j.resolve(e.F):e.j.reject("IMA Stream request returned an error and there was
|
|
|
724
724
|
var f=e.l.currentTime;e.s&&e.s>f&&(e.l.currentTime=e.s,e.s=null)});this.h.o(this.g,google.ima.dai.api.StreamEvent.Type.AD_PROGRESS,function(f){e.A=f.getStreamData().adProgressData;e.m&&(e.m.i=e.A)});this.h.o(this.g,google.ima.dai.api.StreamEvent.Type.FIRST_QUARTILE,function(){e.i(new Q("ad-first-quartile"))});this.h.o(this.g,google.ima.dai.api.StreamEvent.Type.MIDPOINT,function(){e.i(new Q("ad-midpoint"))});this.h.o(this.g,google.ima.dai.api.StreamEvent.Type.THIRD_QUARTILE,function(){e.i(new Q("ad-third-quartile"))});
|
|
725
725
|
this.h.o(this.g,google.ima.dai.api.StreamEvent.Type.COMPLETE,function(){e.i(new Q("ad-complete"));e.i(new Q("ad-stopped"));e.u.removeAttribute("ad-active");e.m=null});this.h.o(this.g,google.ima.dai.api.StreamEvent.Type.SKIPPED,function(){e.i(new Q("ad-skipped"));e.i(new Q("ad-stopped"))});this.h.o(this.g,google.ima.dai.api.StreamEvent.Type.CUEPOINTS_CHANGED,function(f){var g=f.getStreamData();f=[];g=u(g.cuepoints);for(var h=g.next();!h.done;h=g.next())h=h.value,f.push({start:h.start,end:h.end});e.G=
|
|
726
726
|
f;e.i(new Q("ad-cue-points-changed",(new Map).set("cuepoints",f)))})}q=Jp.prototype;q.configure=function(){};q.stop=function(){this.F="";this.s=null;this.G=[]};q.release=function(){this.stop();this.h&&this.h.release()};q.onCueMetadataChange=function(a){if(a.key&&a.data){var b={};b[a.key]=a.data;this.g.onTimedMetadata(b)}};q.getCuePoints=function(){return this.G};
|
|
727
|
-
function Kp(a,b){a.i(new Q("ads-loaded",(new Map).set("loadTime",Date.now()/1E3-a.H)));b=b.getStreamData().url;a.j.resolve(b);a.j=null;a.I||a.h.o(a.l,"seeked",function(){var c=a.l.currentTime;if(0!=c){a.g.streamTimeForContentTime(c);var d=a.g.previousCuePointForStreamTime(c);d&&!d.played&&(a.s=c,a.l.currentTime=d.start)}})};function Lp(){
|
|
728
|
-
q.release=function(){this.i&&(this.i.release(),this.i=null);this.h&&(this.h.release(),this.h=null);this.g&&(this.g.release(),this.g=null);
|
|
727
|
+
function Kp(a,b){a.i(new Q("ads-loaded",(new Map).set("loadTime",Date.now()/1E3-a.H)));b=b.getStreamData().url;a.j.resolve(b);a.j=null;a.I||a.h.o(a.l,"seeked",function(){var c=a.l.currentTime;if(0!=c){a.g.streamTimeForContentTime(c);var d=a.g.previousCuePointForStreamTime(c);d&&!d.played&&(a.s=c,a.l.currentTime=d.start)}})};function Lp(){ab.call(this);this.g=this.h=this.i=null;this.j=new np;this.m=navigator.language;this.l=null}na(Lp,ab);q=Lp.prototype;q.setLocale=function(a){this.m=a};q.configure=function(a){this.l=a;this.i&&this.i.configure(this.l);this.g&&this.g.configure(this.l)};q.initClientSide=function(a,b,c){var d=this;if(!window.google||!google.ima||!google.ima.AdsLoader)throw new R(2,10,1E4);this.i&&this.i.release();this.i=new pp(a,b,this.m,c,function(e){return Mp(d,e)});this.i.configure(this.l)};
|
|
728
|
+
q.release=function(){this.i&&(this.i.release(),this.i=null);this.h&&(this.h.release(),this.h=null);this.g&&(this.g.release(),this.g=null);ab.prototype.release.call(this)};q.onAssetUnload=function(){this.i&&this.i.stop();this.h&&this.h.stop();this.g&&this.g.stop();this.dispatchEvent(new Q("ad-stopped"));this.j=new np};q.requestClientSideAds=function(a){if(!this.i)throw new R(1,10,10001);var b=this.i;b.g&&b.g.destroy();b.l&&b.l.contentComplete();b.I=Date.now()/1E3;b.l.requestAds(a)};
|
|
729
729
|
q.updateClientSideAdsRenderingSettings=function(a){if(!this.i)throw new R(1,10,10001);var b=this.i;b.F=a;b.g&&b.g.updateAdsRenderingSettings(b.F)};q.initMediaTailor=function(a,b,c){var d=this;this.h&&this.h.release();this.h=new xp(a,b,c,function(e){return Mp(d,e)})};q.requestMediaTailorStream=function(a,b,c){if(!this.h)throw new R(1,10,10005);var d=this.h;c=void 0===c?"":c;d.l?a=Promise.reject(new R(1,10,10004)):(d.l=new eg,Ap(d,a,b),d.J=c||"",d.S=Date.now()/1E3,a=d.l);return a};
|
|
730
730
|
q.addMediaTailorTrackingUrl=function(a){if(!this.h)throw new R(1,10,10005);var b=this.h;b.I=a;b.i(new Q("ads-loaded",(new Map).set("loadTime",0)))};q.initServerSide=function(a,b){var c=this;if(!window.google||!google.ima||!google.ima.dai)throw new R(2,10,10002);this.g&&this.g.release();this.g=new Jp(a,b,this.m,function(d){return Mp(c,d)});this.g.configure(this.l)};
|
|
731
|
-
q.requestServerSideStream=function(a,b){b=void 0===b?"":b;if(!this.g)throw new R(1,10,10003);a.adTagParameters||(a.adTagParameters={});var c=a.adTagParameters;(c.mpt||c.mpv)&&Ua('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overriden.');a.adTagParameters.mpt="shaka-player";a.adTagParameters.mpv="v4.8.
|
|
732
|
-
(c.I=!0),c.j=new eg,c.g.requestStream(a),c.F=b||"",c.H=Date.now()/1E3,a=c.j);return a};q.replaceServerSideAdTagParameters=function(a){if(!this.g)throw new R(1,10,10003);(a.mpt||a.mpv)&&Ua('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overriden.');a.mpt="Shaka Player";a.mpv="v4.8.
|
|
731
|
+
q.requestServerSideStream=function(a,b){b=void 0===b?"":b;if(!this.g)throw new R(1,10,10003);a.adTagParameters||(a.adTagParameters={});var c=a.adTagParameters;(c.mpt||c.mpv)&&Ua('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overriden.');a.adTagParameters.mpt="shaka-player";a.adTagParameters.mpv="v4.8.16";c=this.g;c.j?a=Promise.reject(new R(1,10,10004)):(a instanceof google.ima.dai.api.LiveStreamRequest&&
|
|
732
|
+
(c.I=!0),c.j=new eg,c.g.requestStream(a),c.F=b||"",c.H=Date.now()/1E3,a=c.j);return a};q.replaceServerSideAdTagParameters=function(a){if(!this.g)throw new R(1,10,10003);(a.mpt||a.mpv)&&Ua('You have attempted to set "mpt" and/or "mpv" parameters of the ad tag. Please note that those parameters are used for Shaka adoption tracking and will be overriden.');a.mpt="Shaka Player";a.mpv="v4.8.16";this.g.g.replaceAdTagParameters(a)};
|
|
733
733
|
q.getServerSideCuePoints=function(){md("AdManager.getServerSideCuePoints","Please use getCuePoints function.");return this.getCuePoints()};q.getCuePoints=function(){var a=[];this.g&&(a=a.concat(this.g.getCuePoints()));this.h&&(a=a.concat(this.h.getCuePoints()));return a};q.getStats=function(){var a=this.j;return{loadTimes:a.h,started:a.g,playedCompletely:a.i,skipped:a.j}};q.onManifestUpdated=function(a){if(this.h)this.h.onManifestUpdated(a)};
|
|
734
734
|
q.onDashTimedMetadata=function(a){this.g&&"urn:google:dai:2018"==a.schemeIdUri&&this.g.g.processMetadata(a.schemeIdUri,a.eventNode?a.eventNode.attributes.messageData:null,a.startTime)};q.onHlsTimedMetadata=function(a,b){this.g&&this.g.g.processMetadata("ID3",a.data,b)};q.onCueMetadataChange=function(a){if(this.g)this.g.onCueMetadataChange(a)};
|
|
735
735
|
function Mp(a,b){if(b&&b.type)switch(b.type){case "ads-loaded":a.j.h.push(b.loadTime);break;case "ad-started":a.j.g++;break;case "ad-complete":a.j.i++;break;case "ad-skipped":a.j.j++}a.dispatchEvent(b)}N("shaka.ads.AdManager",Lp);Lp.prototype.onCueMetadataChange=Lp.prototype.onCueMetadataChange;Lp.prototype.onHlsTimedMetadata=Lp.prototype.onHlsTimedMetadata;Lp.prototype.onDashTimedMetadata=Lp.prototype.onDashTimedMetadata;Lp.prototype.onManifestUpdated=Lp.prototype.onManifestUpdated;
|
|
@@ -752,12 +752,12 @@ q.get=function(a,b){var c=this;if("video"==a){if(Tp.includes(b))return function(
|
|
|
752
752
|
q.set=function(a,b,c){this.g[a][b]=c;lq(this,{type:"set",targetName:a,property:b,value:c})};function gq(a,b){var c=a.O();eq=b;b.addUpdateListener(a.F);b.addMessageListener("urn:x-cast:com.google.shaka.v2",a.G);bq(a);lq(a,{type:"init",initState:c,appData:a.s});a.j.resolve()}function mq(a,b){var c=8003;switch(b.code){case "cancel":c=8004;break;case "timeout":c=8005;break;case "receiver_unavailable":c=8006}a.j.reject(new R(2,8,c,b))}
|
|
753
753
|
q.Jh=function(a,b){lq(this,{type:"call",targetName:a,methodName:b,args:Fa.apply(2,arguments)})};q.Oj=function(a,b){var c=Fa.apply(2,arguments),d=new eg,e=this.J.toString();this.J++;this.i[e]=d;try{lq(this,{type:"asyncCall",targetName:a,methodName:b,args:c,id:e})}catch(f){d.reject(f)}return d};function fq(a){var b=eq;b.removeUpdateListener(a.F);b.removeMessageListener("urn:x-cast:com.google.shaka.v2",a.G)}
|
|
754
754
|
function bq(a){var b=eq?"connected"==eq.status:!1;if(a.h&&!b){a.H();for(var c in a.g)a.g[c]={};dq(a)}a.h=b;a.K=b?eq.receiver.friendlyName:"";a.l.Ha()}function dq(a){for(var b in a.i){var c=a.i[b];delete a.i[b];c.reject(new R(1,7,7E3))}}function lq(a,b){b=Np(b);var c=eq;try{c.sendMessage("urn:x-cast:com.google.shaka.v2",b,function(){},Xa)}catch(d){throw b=new R(2,8,8005,d),c=new Q("error",(new Map).set("detail",b)),a.A("player",c),a.Uc(),b;}}var iq=.02,hq=!1,eq=null,kq=null,cq=new Set;
|
|
755
|
-
function jq(a){kq?window.__onGCastApiAvailable=kq:delete window.__onGCastApiAvailable;kq=null;if(a)for(var b=u(cq),c=b.next();!c.done;c=b.next())c.value.init();"function"===typeof window.__onGCastApiAvailable&&window.__onGCastApiAvailable(a)};function oq(a,b,c,d){d=void 0===d?!1:d;
|
|
756
|
-
q.destroy=function(a){a&&this.g.Uc();this.m&&(this.m.release(),this.m=null);a=[];this.h&&(a.push(this.h.destroy()),this.h=null);this.g&&(a.push(this.g.destroy()),this.g=null);this.u=this.l=this.i=null;
|
|
755
|
+
function jq(a){kq?window.__onGCastApiAvailable=kq:delete window.__onGCastApiAvailable;kq=null;if(a)for(var b=u(cq),c=b.next();!c.done;c=b.next())c.value.init();"function"===typeof window.__onGCastApiAvailable&&window.__onGCastApiAvailable(a)};function oq(a,b,c,d){d=void 0===d?!1:d;ab.call(this);var e=this;this.i=a;this.h=b;this.m=this.s=this.j=this.u=this.l=null;this.G=c;this.F=d;this.A=new Map;this.g=new aq(c,function(){return pq(e)},function(){return qq(e)},function(f,g){return rq(e,f,g)},function(){return sq(e)},function(){return tq(e)},d);uq(this)}na(oq,ab);q=oq.prototype;
|
|
756
|
+
q.destroy=function(a){a&&this.g.Uc();this.m&&(this.m.release(),this.m=null);a=[];this.h&&(a.push(this.h.destroy()),this.h=null);this.g&&(a.push(this.g.destroy()),this.g=null);this.u=this.l=this.i=null;ab.prototype.release.call(this);return Promise.all(a)};q.hc=function(){return this.l};q.Wc=function(){return this.u};q.Bf=function(){return this.g.m&&hq};q.Fa=function(){return this.g.Fa()};q.Ue=function(){return this.g.Ue()};
|
|
757
757
|
q.cast=function(){var a=this;return L(function(b){return 1==b.g?D(b,a.g.cast(),2):a.h?D(b,a.h.Ic(),0):b.return()})};q.Cg=function(a){this.g.Cg(a)};q.Wh=function(){nq(this.g)};q.Uc=function(){this.g.Uc()};
|
|
758
758
|
q.eh=function(a,b){b=void 0===b?!1:b;var c=this;return L(function(d){if(1==d.g){if(a==c.G&&b==c.F)return d.return();c.G=a;c.F=b;c.g.Uc();return D(d,c.g.destroy(),2)}c.g=null;c.g=new aq(a,function(){return pq(c)},function(){return qq(c)},function(e,f){return rq(c,e,f)},function(){return sq(c)},function(){return tq(c)},b);c.g.init();F(d)})};
|
|
759
759
|
function uq(a){a.g.init();a.m=new dd;for(var b=u(Qp),c=b.next();!c.done;c=b.next())a.m.o(a.i,c.value,function(f){a.g.Fa()||(f=Qa(f),a.j.dispatchEvent(f))});for(var d in Ra)a.m.o(a.h,Ra[d],function(f){a.g.Fa()||a.s.dispatchEvent(f)});a.l={};b={};for(var e in a.i)b.od=e,Object.defineProperty(a.l,b.od,{configurable:!1,enumerable:!0,get:function(f){return function(){return vq(a,f.od)}}(b),set:function(f){return function(g){var h=f.od;a.g.Fa()?a.g.set("video",h,g):a.i[h]=g}}(b)}),b={od:b.od};a.u={};wq(a,
|
|
760
|
-
function(f){Object.defineProperty(a.u,f,{configurable:!1,enumerable:!0,get:function(){return xq(a,f)}})});yq(a);a.j=new
|
|
760
|
+
function(f){Object.defineProperty(a.u,f,{configurable:!1,enumerable:!0,get:function(){return xq(a,f)}})});yq(a);a.j=new ab;a.j.Ve=a.l;a.s=new ab;a.s.Ve=a.u}function yq(a){var b=new Map;wq(a,function(c,d){b.has(d)?(d=b.get(d),c.length<d.length?a.A.set(c,d):a.A.set(d,c)):b.set(d,c)})}
|
|
761
761
|
function wq(a,b){function c(k){return"constructor"==k||"function"!=typeof d[k]?!1:!e.has(k)}var d=a.h,e=new Set,f;for(f in d)c(f)&&(e.add(f),b(f,d[f]));a=Object.getPrototypeOf(d);for(f=Object.getPrototypeOf({});a&&a!=f;){for(var g=u(Object.getOwnPropertyNames(a)),h=g.next();!h.done;h=g.next())h=h.value,c(h)&&(e.add(h),b(h,d[h]));a=Object.getPrototypeOf(a)}}
|
|
762
762
|
function tq(a){var b={video:{},player:{},playerAfterLoad:{},manifest:a.h.Fd(),startTime:null};a.i.pause();for(var c=u(Sp),d=c.next();!d.done;d=c.next())d=d.value,b.video[d]=a.i[d];a.i.ended||(b.startTime=a.i.currentTime);c=u(Xp);for(d=c.next();!d.done;d=c.next()){var e=d.value;d=e[1];e=a.h[e[0]]();b.player[d]=e}c=u(Yp);for(d=c.next();!d.done;d=c.next())e=d.value,d=e[1],e=a.h[e[0]](),b.playerAfterLoad[d]=e;return b}function pq(a){var b=new Q("caststatuschanged");a.dispatchEvent(b)}
|
|
763
763
|
function qq(a){var b=new Q(a.l.paused?"pause":"play");a.j.dispatchEvent(b)}
|
|
@@ -767,9 +767,9 @@ function vq(a,b){if("addEventListener"==b)return function(d,e,f){return a.j.addE
|
|
|
767
767
|
function xq(a,b){a.A.has(b)&&(b=a.A.get(b));if("addEventListener"==b)return function(c,d,e){return a.s.addEventListener(c,d,e)};if("removeEventListener"==b)return function(c,d,e){return a.s.removeEventListener(c,d,e)};if("getMediaElement"==b)return function(){return a.l};if("getSharedConfiguration"==b)return a.g.get("player","getConfiguration");if("getNetworkingEngine"==b)return function(){return a.h.dc()};if("getDrmEngine"==b)return function(){return a.h.A};if("getAdManager"==b)return function(){return a.h.ue()};
|
|
768
768
|
if("setVideoContainer"==b)return function(c){return a.h.Ig(c)};if(a.g.Fa()){if("getManifest"==b||"drmInfo"==b)return function(){Ua(b+"() does not work while casting!");return null};if("attach"==b||"detach"==b)return function(){Ua(b+"() does not work while casting!");return Promise.resolve()}}return a.g.Fa()&&0==Object.keys(a.g.g.video).length&&(Up[b]||Vp[b])||!a.g.Fa()?a.h[b].bind(a.h):a.g.get("player",b)}
|
|
769
769
|
function rq(a,b,c){a.g.Fa()&&("video"==b?a.j.dispatchEvent(c):"player"==b&&a.s.dispatchEvent(c))}N("shaka.cast.CastProxy",oq);oq.prototype.changeReceiverId=oq.prototype.eh;oq.prototype.forceDisconnect=oq.prototype.Uc;oq.prototype.suggestDisconnect=oq.prototype.Wh;oq.prototype.setAppData=oq.prototype.Cg;oq.prototype.cast=oq.prototype.cast;oq.prototype.receiverName=oq.prototype.Ue;oq.prototype.isCasting=oq.prototype.Fa;oq.prototype.canCast=oq.prototype.Bf;oq.prototype.getPlayer=oq.prototype.Wc;
|
|
770
|
-
oq.prototype.getVideo=oq.prototype.hc;oq.prototype.destroy=oq.prototype.destroy;function zq(a,b,c,d){
|
|
770
|
+
oq.prototype.getVideo=oq.prototype.hc;oq.prototype.destroy=oq.prototype.destroy;function zq(a,b,c,d){ab.call(this);var e=this;this.g=a;this.h=b;this.j=new dd;this.J={video:a,player:b};this.G=c||function(){};this.K=d||function(f){return f};this.i=null;this.H=!1;this.s=!0;this.m=0;this.F=!1;this.A=!0;this.u=this.l=null;this.I=new Ob(function(){Aq(e)});Bq(this)}na(zq,ab);q=zq.prototype;q.isConnected=function(){return this.H};q.oj=function(){return this.s};q.bk=function(a){this.i=a};q.wi=function(){this.i=null};
|
|
771
771
|
q.ck=function(a){this.i||(this.i={metadataType:cast.receiver.media.MetadataType.GENERIC});this.i.title=a};q.$j=function(a){this.i||(this.i={metadataType:cast.receiver.media.MetadataType.GENERIC});this.i.images=[{url:a}]};q.Zj=function(a){this.i||(this.i={});this.i.artist=a;this.i.metadataType=cast.receiver.media.MetadataType.MUSIC_TRACK};
|
|
772
|
-
q.destroy=function(){var a=this,b,c;return L(function(d){if(1==d.g)return a.j&&(a.j.release(),a.j=null),b=[],a.h&&(b.push(a.h.destroy()),a.h=null),a.I&&(a.I.stop(),a.I=null),a.g=null,a.J=null,a.G=null,a.H=!1,a.s=!0,a.l=null,a.u=null,
|
|
772
|
+
q.destroy=function(){var a=this,b,c;return L(function(d){if(1==d.g)return a.j&&(a.j.release(),a.j=null),b=[],a.h&&(b.push(a.h.destroy()),a.h=null),a.I&&(a.I.stop(),a.I=null),a.g=null,a.J=null,a.G=null,a.H=!1,a.s=!0,a.l=null,a.u=null,ab.prototype.release.call(a),D(d,Promise.all(b),2);c=cast.receiver.CastReceiverManager.getInstance();c.stop();F(d)})};
|
|
773
773
|
function Bq(a){var b=cast.receiver.CastReceiverManager.getInstance();b.onSenderConnected=function(){return Cq(a)};b.onSenderDisconnected=function(){return Cq(a)};b.onSystemVolumeChanged=function(){var e=cast.receiver.CastReceiverManager.getInstance().getSystemVolume();e&&Dq(a,{type:"update",update:{video:{volume:e.level,muted:e.muted}}},a.l);Dq(a,{type:"event",targetName:"video",event:{type:"volumechange"}},a.l)};a.u=b.getCastMessageBus("urn:x-cast:com.google.cast.media");a.u.onMessage=function(e){return Eq(a,
|
|
774
774
|
e)};a.l=b.getCastMessageBus("urn:x-cast:com.google.shaka.v2");a.l.onMessage=function(e){return Fq(a,e)};b.start();b=u(Qp);for(var c=b.next();!c.done;c=b.next())a.j.o(a.g,c.value,function(e){return Gq(a,"video",e)});for(var d in Ra)a.j.o(a.h,Ra[d],function(e){return Gq(a,"player",e)});a.j.o(a.g,"loadeddata",function(){a.F=!0});a.j.o(a.h,"loading",function(){a.s=!1;Hq(a)});a.j.o(a.g,"playing",function(){a.s=!1;Hq(a)});a.j.o(a.g,"pause",function(){Hq(a)});a.j.o(a.h,"unloading",function(){a.s=!0;Hq(a)});
|
|
775
775
|
a.j.o(a.g,"ended",function(){(new Ob(function(){a.g&&a.g.ended&&(a.s=!0,Hq(a))})).V(Iq)})}function Cq(a){a.m=0;a.A=!0;a.H=0!=cast.receiver.CastReceiverManager.getInstance().getSenders().length;Hq(a)}function Hq(a){var b;L(function(c){if(1==c.g)return D(c,Promise.resolve(),2);if(!a.h)return c.return();b=new Q("caststatuschanged");a.dispatchEvent(b);Jq(a)||Kq(a);F(c)})}
|
|
@@ -900,13 +900,13 @@ q.onExpirationUpdated=function(){};q.onInitialVariantChosen=function(a){if(this.
|
|
|
900
900
|
function du(a){var b,c,d,e,f,g,h;return L(function(k){if(1==k.g)return b=a.s,1<a.s.length&&a.h&&(c=pt(a.h,"Location",!0),c.length&&(b=c)),d=tg(b,a.g.retryParameters),e=Date.now(),D(k,fu(a,d,0,{type:4}),2);if(3!=k.g){f=k.h;if(!a.i)return k.return(0);f.uri&&f.uri!=f.originalUri&&!a.s.includes(f.uri)&&a.s.unshift(f.uri);return D(k,gu(a,f.data,f.uri),3)}g=Date.now();h=(g-e)/1E3;a.J.sample(1,h);return k.return(h)})}
|
|
901
901
|
function gu(a,b,c){var d,e,f,g,h,k,l,m,n,r,p;return L(function(t){if(1==t.g){d=b;e=a.g.dash.manifestPreprocessor;f=lm;if(e!=f){md("manifest.dash.manifestPreprocessor configuration","Please Use manifest.dash.manifestPreprocessorTXml instead.");g=au(d,"MPD");if(!g)throw new R(2,4,4001,c);e(g);d=qc(g.outerHTML)}h=Vg(d,"MPD");if(!h)throw new R(2,4,4001,c);k=a.g.dash.manifestPreprocessorTXml;l=mm;k!=l&&k(h);if(m=a.g.dash.disableXlinkProcessing)return t.return(hu(a,h,c));n=a.g.dash.xlinkFailGracefully;
|
|
902
902
|
r=Cs(h,a.g.retryParameters,n,c,a.i.networkingEngine);ng(a.H,r);return D(t,r.promise,2)}p=t.h;return t.return(hu(a,p,c))})}
|
|
903
|
-
function hu(a,b,c){var d,e,f,g,h,k,l,m,n,r,p,t,w,y,A,v,B,z,C,E,J,I,G,H,K,M,O,P,V,Y,U,Da,Ja,
|
|
903
|
+
function hu(a,b,c){var d,e,f,g,h,k,l,m,n,r,p,t,w,y,A,v,B,z,C,E,J,I,G,H,K,M,O,P,V,Y,U,Da,Ja,mb,La,bb,Aa,ub,Jb,rb,fb,Af,Od,re,yd,Lc,se,Bf,te,Pd,ij,ch,jj,kj,Cf,ue,Df;return L(function(ac){switch(ac.g){case 1:a.h&&a.h.l.clear();d=[c];e=[];f=new Map;g=bh(b,"Location");h=u(g);for(k=h.next();!k.done;k=h.next())if(l=k.value,m=l.attributes.serviceLocation,n=eh(l))r=Bc(d,[n])[0],m&&(a.h?ot(a.h,"Location",m,r):f.set(m,r)),e.push(r);a.h?(p=pt(a.h,"Location",!0),0<p.length&&(d=a.s=p)):e.length&&(d=a.s=e);t=Promise.resolve();
|
|
904
904
|
if((w=gh(b,"ContentSteering"))&&a.i){y=w.attributes.defaultServiceLocation;if(a.h)a.h.i=d,a.h.h=y;else if(a.h=new kt(a.i),a.h.configure(a.g),a.h.setManifestType("DASH"),a.h.i=d,a.h.h=y,A=eh(w))(v=jh(w,"queryBeforeStart",vh,!1))?t=lt(a.h,A):lt(a.h,A);B=u(f.keys());for(z=B.next();!z.done;z=B.next())C=z.value,E=f.get(C),ot(a.h,"Location",C,E)}J=bh(b,"BaseURL");G=!1;if(a.h)for(H=u(J),K=H.next();!K.done;K=H.next())M=K.value,O=M.attributes.serviceLocation,P=eh(M),O&&P&&(ot(a.h,"BaseURL",O,P),G=!0);G&&a.h||
|
|
905
|
-
(V=J.map(eh),I=Bc(d,V));Y=function(){return a.h&&G?pt(a.h,"BaseURL"):I?I:[]};U=0;J&&J.length&&(U=jh(J[0],"availabilityTimeOffset",uh)||0);Da=a.g.dash.ignoreMinBufferTime;Ja=0;Da||(Ja=jh(b,"minBufferTime",nh)||0);a.I=jh(b,"minimumUpdatePeriod",nh,-1);
|
|
906
|
-
|
|
907
|
-
Sa:null,xa:null,Ja:null,N:null,bandwidth:0,wh:!1,ac:U,profiles:Bf.split(",")};Pd=iu(a,te,Y,b);ij=Pd.duration;ch=Pd.periods;"static"!=
|
|
908
|
-
return D(ac,a.l.fh(ch,te.bc),2);case 2:return D(ac,t,3);case 3:a.u&&(Ja=0,kj=null!=Aa?Aa:a.g.defaultPresentationDelay,
|
|
909
|
-
break}ue=bh(b,"UTCTiming");return D(ac,ku(a,Y,ue),6);case 6:Df=ac.h;if(!a.i)return ac.return();
|
|
905
|
+
(V=J.map(eh),I=Bc(d,V));Y=function(){return a.h&&G?pt(a.h,"BaseURL"):I?I:[]};U=0;J&&J.length&&(U=jh(J[0],"availabilityTimeOffset",uh)||0);Da=a.g.dash.ignoreMinBufferTime;Ja=0;Da||(Ja=jh(b,"minBufferTime",nh)||0);a.I=jh(b,"minimumUpdatePeriod",nh,-1);mb=jh(b,"availabilityStartTime",mh);La=jh(b,"timeShiftBufferDepth",nh);bb=a.g.dash.ignoreSuggestedPresentationDelay;Aa=null;bb||(Aa=jh(b,"suggestedPresentationDelay",nh));ub=a.g.dash.ignoreMaxSegmentDuration;Jb=null;ub||(Jb=jh(b,"maxSegmentDuration",nh));
|
|
906
|
+
rb=b.attributes.type||"static";if(a.j)for(fb=a.j.presentationTimeline,Af=u(Object.values(a.m)),Od=Af.next();!Od.done;Od=Af.next())re=Od.value,re.segmentIndex&&re.segmentIndex.fb(fb.Lb());else yd=a.g.defaultPresentationDelay||1.5*Ja,Lc=null!=Aa?Aa:yd,fb=new sk(mb,Lc,a.g.dash.autoCorrectDrift);fb.gd("static"==rb);(se=fb.U())&&!isNaN(a.g.availabilityWindowOverride)&&(La=a.g.availabilityWindowOverride);null==La&&(La=Infinity);fb.$e(La);Bf=b.attributes.profiles||"";te={bc:"static"!=rb,presentationTimeline:fb,
|
|
907
|
+
Sa:null,xa:null,Ja:null,N:null,bandwidth:0,wh:!1,ac:U,profiles:Bf.split(",")};Pd=iu(a,te,Y,b);ij=Pd.duration;ch=Pd.periods;"static"!=rb&&Pd.kh||fb.xb(ij||Infinity);a.G&&!a.u&&(jj=a.i.isAutoLowLatencyMode())&&(a.i.enableLowLatencyMode(),a.u=a.i.isLowLatencyMode());a.u?fb.Mh(a.G):a.G&&Ua("Low-latency DASH live stream detected, but low-latency streaming mode is not enabled in Shaka Player. Set streaming.lowLatencyMode configuration to true, and see https://bit.ly/3clctcj for details.");fb.og(Jb||1);
|
|
908
|
+
return D(ac,a.l.fh(ch,te.bc),2);case 2:return D(ac,t,3);case 3:a.u&&(Ja=0,kj=null!=Aa?Aa:a.g.defaultPresentationDelay,fb.Dg(kj));if(a.j){a.j.variants=a.l.j;Cf=a.l.Zf();0<Cf.length&&(a.j.textStreams=Cf);a.j.imageStreams=a.l.i;a.i.filter(a.j);ac.B(4);break}a.j={presentationTimeline:fb,variants:a.l.j,textStreams:a.l.Zf(),imageStreams:a.l.i,offlineSessionIds:[],minBufferTime:Ja||0,sequenceMode:a.g.dash.sequenceMode,ignoreManifestTimestampsInSegmentsMode:!1,type:"DASH",serviceDescription:ju(b)};if(!fb.$h()){ac.B(5);
|
|
909
|
+
break}ue=bh(b,"UTCTiming");return D(ac,ku(a,Y,ue),6);case 6:Df=ac.h;if(!a.i)return ac.return();fb.Nh(Df);case 5:fb.Ge();case 4:a.i.makeTextStreamsForClosedCaptions(a.j),F(ac)}})}
|
|
910
910
|
function ju(a){var b=gh(a,"ServiceDescription");if(!b)return null;a=gh(b,"Latency");b=gh(b,"PlaybackRate");return a&&a.attributes.max||b?{maxLatency:a&&a.attributes.max?parseInt(a.attributes.max,10)/1E3:null,maxPlaybackRate:b?parseFloat(b.attributes.max):null,minLatency:a&&a.attributes.min?parseInt(a.attributes.min,10)/1E3:null,minPlaybackRate:b?parseFloat(b.attributes.min):null}:null}
|
|
911
911
|
function iu(a,b,c,d){var e=jh(d,"mediaPresentationDuration",nh),f=[],g=0;d=bh(d,"Period");for(var h=0;h<d.length;h++){var k=d[h],l=d[h+1],m=jh(k,"start",nh,g),n=k.attributes.id,r=jh(k,"duration",nh),p=null;if(l){var t=jh(l,"start",nh);null!=t&&(p=t-m)}else null!=e&&(p=e-m);null==p&&(p=r);if(!(null!==a.F&&null!==n&&null!==m&&m<a.F)||a.L.includes(n)||h+1==d.length){null!==m&&(null===a.F||m>a.F)&&(a.F=m);g=lu(a,b,c,{start:m,duration:p,node:k,fg:null==p||!l});f.push(g);b.Sa.id&&p&&(a.M[b.Sa.id]=p);if(null==
|
|
912
912
|
p){g=null;break}g=m+p}}a.L=f.map(function(w){return w.id});return null!=e?{periods:f,duration:e,kh:!1}:{periods:f,duration:g,kh:!0}}
|
|
@@ -966,10 +966,10 @@ function vv(a,b){for(var c=-1==a.K,d=u(b),e=d.next();!e.done;e=d.next()){e=e.val
|
|
|
966
966
|
c,d)}
|
|
967
967
|
function yv(a,b){if(Infinity==a.P){b=u(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value.stream.segmentIndex.g[0]||null;null!=d&&null!=d.h&&(a.P=Math.min(a.P,d.h))}}b=a.P;if(Infinity!=b)for(d=u(a.h.values()),c=d.next();!c.done;c=d.next())if(c=c.value,!wv(a,c.type)){var e=c.stream.segmentIndex;if(null!=e){var f=e.g[0]||null;if(null==f.h)Ta("Missing EXT-X-PROGRAM-DATE-TIME for stream",c.ka(),"Expect AV sync issues!");else for(xv(a,c,f.h-b-f.startTime),c=u(e),e=c.next();!e.done;e=c.next())e.value.Kg(b)}}}
|
|
968
968
|
function xv(a,b,c){b.Dc+=c;b.Vb+=c;a=pv(a,b);for(var d=u(a),e=d.next();!e.done;e=d.next()){var f=u(e.value);e=f.next().value;f=f.next().value;a.set(e,f+c)}b.ka()}
|
|
969
|
-
function iv(a,b,c){var d,e,f,g,h,k,l,m,n,r,p,t,w,y,A,v,B,z,C,E,J,I,G,H,K,M,O,P,V,Y,U,Da,Ja,
|
|
969
|
+
function iv(a,b,c){var d,e,f,g,h,k,l,m,n,r,p,t,w,y,A,v,B,z,C,E,J,I,G,H,K,M,O,P,V,Y,U,Da,Ja,mb,La,bb;return L(function(Aa){switch(Aa.g){case 1:d=Tu(a.Ia,b);e=Iu(d.g,"EXT-X-DEFINE");f=[];g=[];h=[];a.l=new sk(null,0);a.l.gd(!0);k=function(){return[c]};if(1==d.type)return D(Aa,zv(a,d,k),7);Av(a,e);l=Iu(d.g,"EXT-X-MEDIA");m=Iu(d.g,"EXT-X-STREAM-INF");n=Iu(d.g,"EXT-X-IMAGE-STREAM-INF");r=Iu(d.g,"EXT-X-I-FRAME-STREAM-INF");p=Iu(d.g,"EXT-X-SESSION-KEY");t=Iu(d.g,"EXT-X-SESSION-DATA");w=Iu(d.g,"EXT-X-CONTENT-STEERING");
|
|
970
970
|
Bv(a,t);return D(Aa,Cv(a,w),4);case 4:return Dv(a,m),Ev(a,l),D(Aa,Fv(a,m,p,l,k,a.s),5);case 5:return f=Aa.h,g=Gv(a,l),D(Aa,Hv(a,n,r),6);case 6:h=Aa.h;Aa.B(3);break;case 7:return y=Aa.h,A=y.type,v=y.mimeType,B=y.codecs,z=y.language,C=y.height,E=y.width,J=y.channelCount,I=y.sampleRate,G=y.closedCaptions,H=y.Qg,D(Aa,Iv(a,a.A++,d,k,c,B,A,z,!0,"Media Playlist",J,G,null,!1,I,!1,v),8);case 8:K=Aa.h,a.h.set(c,K),"video"==A&&Jv(K.stream,E,C,null,H,null),f.push({id:0,language:Nc(z||"und"),disabledUntilTime:0,
|
|
971
971
|
primary:!0,audio:"audio"==A?K.stream:null,video:"video"==A?K.stream:null,bandwidth:K.stream.bandwidth||0,allowedByApplication:!0,allowedByKeySystem:!0,decodingInfos:[]});case 3:if(!a.i)throw new R(2,7,7001);1==d.type&&(jv(a)&&(Kv(a,d),M=a.m,a.u.V(M)),O=Array.from(a.h.values()),Lv(a,O),ov(a));a.G={presentationTimeline:a.l,variants:f,textStreams:g,imageStreams:h,offlineSessionIds:[],minBufferTime:0,sequenceMode:a.g.hls.sequenceMode,ignoreManifestTimestampsInSegmentsMode:a.g.hls.ignoreManifestTimestampsInSegmentsMode,
|
|
972
|
-
type:"HLS",serviceDescription:null};if(a.aa||!a.g.hls.disableCodecGuessing){Aa.B(9);break}P=[];V=u(a.G.variants);for(Y=V.next();!Y.done;Y=V.next())U=Y.value,U.audio&&""===U.audio.codecs&&P.push(U.audio.createSegmentIndex()),U.video&&""===U.video.codecs&&P.push(U.video.createSegmentIndex());return D(Aa,Promise.all(P),9);case 9:a.i.makeTextStreamsForClosedCaptions(a.G);if(1==f.length){Da=[];Ja=f[0];
|
|
972
|
+
type:"HLS",serviceDescription:null};if(a.aa||!a.g.hls.disableCodecGuessing){Aa.B(9);break}P=[];V=u(a.G.variants);for(Y=V.next();!Y.done;Y=V.next())U=Y.value,U.audio&&""===U.audio.codecs&&P.push(U.audio.createSegmentIndex()),U.video&&""===U.video.codecs&&P.push(U.video.createSegmentIndex());return D(Aa,Promise.all(P),9);case 9:a.i.makeTextStreamsForClosedCaptions(a.G);if(1==f.length){Da=[];Ja=f[0];mb=u([Ja.video,Ja.audio]);for(La=mb.next();!La.done;La=mb.next())(bb=La.value)&&!bb.segmentIndex&&Da.push(bb.createSegmentIndex());
|
|
973
973
|
if(0<Da.length)return D(Aa,Promise.all(Da),0)}Aa.B(0)}})}
|
|
974
974
|
function zv(a,b,c){var d,e,f,g,h,k,l,m,n,r,p,t,w,y,A,v,B,z,C,E,J;return L(function(I){switch(I.g){case 1:d=$u(a.g.hls.mediaPlaylistFullMimeType);if(!b.segments.length)return I.return(d);e=b.segments[0];f=Mu(c(),e.h);g=f[0];h=new ib(g);k=h.jb.split(".").pop();if(l=Mv[k])return I.return($u(l));m=zg;n=null;r=Nv(a,b,e.g,c);a.S.clear();if(!r){I.B(2);break}p=sl(r.ka(),r.Mb(),r.Jb(),a.g.retryParameters);return D(I,Ov(a,p,m,{type:0}),3);case 3:t=I.h,n=t.data;case 2:w=0;y=null;if(A=Ku(e.g,"EXT-X-BYTERANGE"))v=
|
|
975
975
|
u(Pv(null,A.value)),w=v.next().value,y=v.next().value;B=sl(f,w,y,a.g.retryParameters);return D(I,Ov(a,B,m,{type:1}),4);case 4:z=I.h;(C=z.headers["content-type"])&&(C=C.split(";")[0].toLowerCase());if("ts"==k||"video/mp2t"==C){var G=z.data;var H=Fb(G);H=(new nj).parse(H);var K=H.Gd();H=H.ag();var M=[],O=!1,P=!1;switch(K.audio){case "aac":case "aac-loas":M.push("mp4a.40.2");O=!0;break;case "mp3":M.push("mp4a.40.34");O=!0;break;case "ac3":M.push("ac-3");O=!0;break;case "ec3":M.push("ec-3");O=!0;break;
|
|
@@ -986,9 +986,9 @@ function Wv(a){a.fullMimeTypes=new Set([je(a.mimeType,a.codecs)])}
|
|
|
986
986
|
function Hv(a,b,c){var d,e;return L(function(f){if(1==f.g)return d=b.map(function(g){var h,k,l;return L(function(m){if(1==m.g){if(h=a.g.disableThumbnails)return m.return(null);ra(m,2);return D(m,Xv(a,g),4)}if(2!=m.g)return k=m.h,m.return(k.stream);l=ua(m);if(a.g.hls.ignoreImageStreamFailures)return m.return(null);throw l;})}).concat(c.map(function(g){if(a.g.disableThumbnails)return null;try{var h=Fu(g,"URI"),k=X(g,"CODECS")||"";if(a.h.has(h))var l=a.h.get(h);else{var m=X(g,"LANGUAGE"),n=X(g,"NAME"),
|
|
987
987
|
r=X(g,"CHARACTERISTICS"),p=Yv(a,a.A++,[h],k,"image",m,!1,n,null,null,r,!1,null,!1),t=X(g,"RESOLUTION"),w=u(t?t.split("x"):[null,null]),y=w.next().value,A=w.next().value;p.stream.width=Number(y)||void 0;p.stream.height=Number(A)||void 0;var v=X(g,"BANDWIDTH");v&&(p.stream.bandwidth=Number(v));a.h.set(h,p);l=p}g=l;return"mjpg"!==g.stream.codecs?null:g.stream}catch(B){if(a.g.hls.ignoreImageStreamFailures)return null;throw B;}})),D(f,Promise.all(d),2);e=f.h;return f.return(e.filter(function(g){return g}))})}
|
|
988
988
|
function Zv(a,b,c){b=b.filter(function(h){var k=X(h,"URI")||"";return"SUBTITLES"!=X(h,"TYPE")&&""!=k});var d={};b=u(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=Du(e);d[f]?d[f].push(e):d[f]=[e]}for(var g in d)Tv(a,d[g],c)}
|
|
989
|
-
function Fv(a,b,c,d,e,f){var g,h,k,l,m,n,r,p,t,w,y,A,v,B,z,C,E,J,I,G,H,K,M,O,P,V,Y,U,Da,Ja,
|
|
990
|
-
w.next())A=y.value,h.add(A);g.push(p)}case 4:l=k.next();La.B(3);break;case 2:v={};B=u(b);for(z=B.next();!z.done;z=B.next())C=z.value,E=Du(C),v[E]?v[E].push(C):v[E]=[C];J=[];for(I in v)G=v[I],H=G[0],K=X(H,"FRAME-RATE"),M=Number(X(H,"AVERAGE-BANDWIDTH"))||Number(Fu(H,"BANDWIDTH")),O=X(H,"RESOLUTION"),P=u(O?O.split("x"):[null,null]),V=P.next().value,Y=P.next().value,U=X(H,"VIDEO-RANGE"),(Da=X(H,"REQ-VIDEO-LAYOUT"))&&Da.includes(",")&&(Ja=Da.split(",").filter(function(
|
|
991
|
-
|
|
989
|
+
function Fv(a,b,c,d,e,f){var g,h,k,l,m,n,r,p,t,w,y,A,v,B,z,C,E,J,I,G,H,K,M,O,P,V,Y,U,Da,Ja,mb;return L(function(La){switch(La.g){case 1:g=[];h=new Set;if(!(0<c.length)){La.B(2);break}k=u(c);l=k.next();case 3:if(l.done){La.B(2);break}m=l.value;n=Fu(m,"METHOD");r=X(m,"KEYFORMAT")||"identity";p=null;if("NONE"==n||$v(n)){La.B(4);break}if("identity"!=r){p=(t=aw[r])?t(m,""):null;La.B(6);break}return D(La,bw(a,m,"",e,null,f),8);case 8:p=La.h;case 6:if(p){if(p.keyIds)for(w=u(p.keyIds),y=w.next();!y.done;y=
|
|
990
|
+
w.next())A=y.value,h.add(A);g.push(p)}case 4:l=k.next();La.B(3);break;case 2:v={};B=u(b);for(z=B.next();!z.done;z=B.next())C=z.value,E=Du(C),v[E]?v[E].push(C):v[E]=[C];J=[];for(I in v)G=v[I],H=G[0],K=X(H,"FRAME-RATE"),M=Number(X(H,"AVERAGE-BANDWIDTH"))||Number(Fu(H,"BANDWIDTH")),O=X(H,"RESOLUTION"),P=u(O?O.split("x"):[null,null]),V=P.next().value,Y=P.next().value,U=X(H,"VIDEO-RANGE"),(Da=X(H,"REQ-VIDEO-LAYOUT"))&&Da.includes(",")&&(Ja=Da.split(",").filter(function(bb){return"CH-STEREO"==bb||"CH-MONO"==
|
|
991
|
+
bb}),Da=Ja[0]),Da=Da||"CH-MONO",mb=cw(a,G,d,M),J.push.apply(J,x(dw(a,mb.audio,mb.video,M,V,Y,K,U,Da,g,h)));return La.return(J.filter(function(bb){return null!=bb}))}})}
|
|
992
992
|
function cw(a,b,c,d){for(var e={audio:[],video:[]},f=new Map,g=[],h=!1,k=!1,l=u(b),m=l.next();!m.done;m=l.next()){var n=m.value;m=X(n,"AUDIO");var r=X(n,"VIDEO"),p=m||r;p&&(g.includes(p)||g.push(p),(n=X(n,"PATHWAY-ID"))&&f.set(p,n),m?h=!0:r&&(k=!0))}g.length&&c.length&&(l=c.filter(function(y){return g.includes(Fu(y,"GROUP-ID"))}),Zv(a,l,f));l=(f=g.sort().join(","))&&a.J.has(f)?a.J.get(f):[];h?e.audio.push.apply(e.audio,x(l)):k&&e.video.push.apply(e.video,x(l));m=!1;var t=b.map(function(y){return Fu(y,
|
|
993
993
|
"URI")});k=e.audio.find(function(y){return y&&y.ka().find(function(A){return t.includes(A)})});h=Sv(a,b[0]);r=Fc("video",h);(p=Fc("audio",h))&&!r?(k="audio",m=0<e.audio.length):!e.audio.length&&!e.video.length&&p&&r?(k="video",h=[[r,p].join()]):e.audio.length&&k?(k="audio",m=!0):k=e.video.length&&!e.audio.length?"audio":"video";if(!m){var w=n=p=r=m=null;!l.length&&(c=c.find(function(y){var A=X(y,"URI")||"",v=X(y,"TYPE");y=Fu(y,"GROUP-ID");return"SUBTITLES"!=v&&""==A&&g.includes(y)}))&&(m=X(c,"LANGUAGE"),
|
|
994
994
|
r=X(c,"NAME"),p=ew(c),fw(c),n=X(c,"CHARACTERISTICS"),w=gw(c));a=hw(a,b,h,k,m,r,p,n,w);f&&(a.stream.groupId=f);l.length||(a.stream.bandwidth=d);e[a.stream.type]=[a]}return e}
|
|
@@ -1002,15 +1002,15 @@ m=n.next().value;n=n.next().value;(m=c.get(m))&&ot(a.j,l,m,n)}}c=X(h,"LANGUAGE")
|
|
|
1002
1002
|
function Xv(a,b){var c,d,e,f,g,h,k,l,m,n;return L(function(r){if(1==r.g){c=Fu(b,"URI");d=X(b,"CODECS","jpeg")||"";if(a.h.has(c))return r.return(a.h.get(c));e=X(b,"LANGUAGE");f=X(b,"NAME");g=X(b,"CHARACTERISTICS");h=Yv(a,a.A++,[c],d,"image",e,!1,f,null,null,g,!1,null,!1);return(k=X(b,"RESOLUTION"))?D(r,h.stream.createSegmentIndex(),3):r.B(2)}2!=r.g&&(l=h.stream.segmentIndex.get(0),m=l.tilesLayout)&&(h.stream.width=Number(k.split("x")[0])*Number(m.split("x")[0]),h.stream.height=Number(k.split("x")[1])*
|
|
1003
1003
|
Number(m.split("x")[1]));if(n=X(b,"BANDWIDTH"))h.stream.bandwidth=Number(n);a.h.set(c,h);return r.return(h)})}
|
|
1004
1004
|
function hw(a,b,c,d,e,f,g,h,k){for(var l=a.A++,m=[],n=u(b),r=n.next();!r.done;r=n.next()){var p=r.value;r=Fu(p,"URI");p=X(p,"PATHWAY-ID");a.j&&p&&ot(a.j,l,p,r);m.push(r)}n=m.sort().join(",");if(a.h.has(n))return a.h.get(n);a:{b=X(b[0],"CLOSED-CAPTIONS");if("video"==d){if(b&&"NONE"!=b){b=a.H.get(b);break a}if(!b&&a.H.size)for(b=u(a.H.keys()).next();!b.done;){b=a.H.get(b.value);break a}}b=null}c=Ec(d,c);d=Yv(a,l,m,c,d,e,!1,f,g,b,h,!1,k,!1);a.h.set(n,d);return d}
|
|
1005
|
-
function Yv(a,b,c,d,e,f,g,h,k,l,m,n,r,p){function t(C){var E,J,I,G,H,K,M,O,P,V,Y,U,Da,Ja,
|
|
1005
|
+
function Yv(a,b,c,d,e,f,g,h,k,l,m,n,r,p){function t(C){var E,J,I,G,H,K,M,O,P,V,Y,U,Da,Ja,mb,La,bb;return L(function(Aa){switch(Aa.g){case 1:return E=v.ka(),D(Aa,hv(a,v.ka(),!0),2);case 2:J=Aa.h;if(C.aborted)return Aa.return();I=J.uri;I==J.originalUri||E.includes(I)||A.push(I);G=Tu(a.Ia,J.data);H=void 0;if(a.aa||!a.g.hls.disableCodecGuessing){Aa.B(3);break}return D(Aa,zv(a,G,w),4);case 4:K=Aa.h,H=K.mimeType,d=K.codecs;case 3:return M=jv(a),D(Aa,Iv(a,0,G,w,I,d,e,f,g,h,k,l,m,n,r,p,H),5);case 5:O=Aa.h;
|
|
1006
1006
|
if(C.aborted)return Aa.return();P=O.stream;jv(a)&&!M&&Kv(a,G);v.Dc=O.Dc;v.Vb=O.Vb;v.qe=O.qe;v.pe=O.pe;v.Ld=O.Ld;v.Ie=O.Ie;v.Bb=O.Bb;v.Cb=O.Cb;v.lg=!0;y.segmentIndex=P.segmentIndex;y.encrypted=P.encrypted;y.drmInfos=P.drmInfos;y.keyIds=P.keyIds;y.mimeType=P.mimeType;y.bandwidth=y.bandwidth||P.bandwidth;y.codecs=y.codecs||P.codecs;Wv(y);y.drmInfos.length&&a.i.newDrmInfo(y);V=Jc;if(e==V.va||e==V.Z)for(Y=u(a.h.values()),U=Y.next();!U.done;U=Y.next())Da=U.value,Da.lg||Da.type!=e||(Da.stream.mimeType=P.mimeType,
|
|
1007
|
-
Wv(Da.stream));e==V.Ca&&(Ja=P.segmentIndex.get(0))&&Ja.ua&&(y.mimeType="application/mp4",Wv(y));iw(a)&&(a.$a?Lv(a,[v]):(a.$a=!0,
|
|
1007
|
+
Wv(Da.stream));e==V.Ca&&(Ja=P.segmentIndex.get(0))&&Ja.ua&&(y.mimeType="application/mp4",Wv(y));iw(a)&&(a.$a?Lv(a,[v]):(a.$a=!0,mb=Array.from(a.h.values()),La=mb.filter(function(ub){return ub.stream.segmentIndex}),Lv(a,La),ov(a),bb=a.m,0<bb&&a.u.V(bb)));F(Aa)}})}function w(){return a.j&&1<c.length?pt(a.j,b):A.concat(Nu([a.X],c,a.s))}var y=jw(a,d,e,f,g,h,k,l,m,n,r,p),A=[],v={stream:y,type:e,Ih:A,ka:w,Dc:0,Vb:0,Ie:new Map,qe:!1,pe:!1,Ld:!1,Gf:-1,Bb:-1,Cb:-1,lg:!1},B=null,z=new AbortController;y.createSegmentIndex=
|
|
1008
1008
|
function(){if(B)return B;z=new AbortController;return B=new Promise(function(C){C(t(z.signal))})};y.closeSegmentIndex=function(){B&&!y.segmentIndex&&z.abort();y.segmentIndex&&(y.segmentIndex.release(),y.segmentIndex=null);B=null};return v}function Rv(a){var b=Infinity;a=u(a.h.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c.stream.segmentIndex&&"text"!=c.stream.type&&(b=Math.min(b,c.Vb));return b}
|
|
1009
1009
|
function lv(a,b){var c=[];b=u(b);for(var d=b.next();!d.done;d=b.next())d=d.value,d.segmentIndex&&d.segmentIndex.Tc(function(e){c.push(e)});a.l.Td(c)}function Lv(a,b){if(!jv(a))for(var c=Rv(a),d=u(b),e=d.next();!e.done;e=d.next())e.value.stream.segmentIndex.Sc(0,c);lv(a,b.map(function(f){return f.stream}));a.g.hls.ignoreManifestProgramDateTime?vv(a,b):(yv(a,b),0<a.g.hls.ignoreManifestProgramDateTimeForTypes.length&&vv(a,b))}
|
|
1010
1010
|
function wv(a,b){return a.g.hls.ignoreManifestProgramDateTime?!0:a.g.hls.ignoreManifestProgramDateTimeForTypes.includes(b)}function iw(a){if(!a.G)return!1;var b=[],c=[];a=u(a.G.variants);for(var d=a.next();!d.done;d=a.next())d=d.value,d.video&&b.push(d.video),d.audio&&c.push(d.audio);return 0<b.length&&!b.some(function(e){return e.segmentIndex})||0<c.length&&!c.some(function(e){return e.segmentIndex})?!1:!0}
|
|
1011
|
-
function Iv(a,b,c,d,e,f,g,h,k,l,m,n,r,p,t,w,y){var A,v,B,z,C,E,J,I,G,H,K,M,O,P,V,Y,U,Da,Ja,
|
|
1012
|
-
|
|
1013
|
-
0);La=tv(
|
|
1011
|
+
function Iv(a,b,c,d,e,f,g,h,k,l,m,n,r,p,t,w,y){var A,v,B,z,C,E,J,I,G,H,K,M,O,P,V,Y,U,Da,Ja,mb,La,bb,Aa;return L(function(ub){switch(ub.g){case 1:if(1!=c.type)throw new R(2,4,4017);A=Iu(c.g,"EXT-X-DEFINE");v=qv(a,A,e);var Jb=Ku(c.g,"EXT-X-PLAYLIST-TYPE"),rb=Ku(c.g,"EXT-X-ENDLIST");rb=Jb&&"VOD"==Jb.value||rb;Jb=Jb&&"EVENT"==Jb.value&&!rb;Jb=!rb&&!Jb;rb?nv(a,gv):Jb?nv(a,Qv):nv(a,kw);jv(a)&&uv(a,c);if(y){ub.B(2);break}return D(ub,lw(a,g,f,c,v,d),3);case 3:y=ub.h;case 2:return D(ub,rv(a,c,y,d,v),4);case 4:B=
|
|
1012
|
+
ub.h;z=B.drmInfos;C=B.keyIds;E=B.encrypted;J=B.mi;if(E&&!z.length&&!J)throw new R(2,4,4026);I=jw(a,f,g,h,k,l,m,n,r,p,t,w);I.encrypted=E;I.drmInfos=z;I.keyIds=C;I.mimeType=y;Wv(I);G=jv(a)?a.L.get(g):new Map;H=sv(a,c,I,G,v,d,g);K=H.segments;if(M=H.bandwidth)I.bandwidth=M;jv(a)&&uv(a,c);O=K[0].startTime;P=K[K.length-1];V=P.endTime;Y=new Ok(K);I.segmentIndex=Y;Da=(U=Ku(c.g,"EXT-X-SERVER-CONTROL"))?null!=Eu(U,"CAN-SKIP-UNTIL"):!1;Ja=U?null!=Eu(U,"CAN-BLOCK-RELOAD"):!1;mb=Lu(c.g,"EXT-X-MEDIA-SEQUENCE",
|
|
1013
|
+
0);La=tv(mb,K);bb=La.Bb;Aa=La.Cb;return ub.return({stream:I,type:g,Ih:[],ka:d,Dc:O,Vb:V,qe:Da,pe:Ja,Ld:!1,Gf:-1,Bb:bb,Cb:Aa,Ie:G,lg:!1})}})}function tv(a,b){a=a+b.length-1;var c=-1;if(!b.length)return a++,{Bb:a,Cb:c};b=b[b.length-1];var d=b.g;if(!b.g.length)return a++,b.m&&(c=0),{Bb:a,Cb:c};c=d.length-1;d[d.length-1].preload||(a++,c=0);return{Bb:a,Cb:c}}
|
|
1014
1014
|
function jw(a,b,c,d,e,f,g,h,k,l,m,n){var r=Uv(c,b)||Vv(c),p=[];if(k){k=u(k.split(","));for(var t=k.next();!t.done;t=k.next())p.push(t.value)}k=void 0;t=null;c==Hc?k=p.includes("public.accessibility.transcribes-spoken-dialog")&&p.includes("public.accessibility.describes-music-and-sound")?"caption":"subtitle":p.includes("public.accessibility.describes-video")&&(t="visually impaired");p.length||"subtitle"!==k||p.push("subtitle");a={id:a.A++,originalId:f,groupId:null,createSegmentIndex:function(){return Promise.resolve()},
|
|
1015
1015
|
segmentIndex:null,mimeType:r,codecs:b,kind:c==Hc?"subtitle":void 0,encrypted:!1,drmInfos:[],keyIds:new Set,language:Nc(d||"und"),originalLanguage:d,label:f,type:c,primary:e,trickModeVideo:null,emsgSchemeIdUris:null,frameRate:void 0,pixelAspectRatio:void 0,width:void 0,height:void 0,bandwidth:void 0,roles:p,forced:l,channelsCount:g,audioSamplingRate:m,spatialAudio:n,closedCaptions:h,hdr:void 0,videoLayout:void 0,tilesLayout:void 0,accessibilityPurpose:t,external:!1,fastSwitching:!1,fullMimeTypes:new Set};
|
|
1016
1016
|
Wv(a);return a}
|
|
@@ -1084,7 +1084,7 @@ function px(a,b,c,d,e){var f=d.attributes.Url.replace("{bitrate}",String(c.bandw
|
|
|
1084
1084
|
ui["application/vnd.ms-sstr+xml"]=function(){return new gx};function qx(a,b,c,d,e,f){if(200<=c&&299>=c&&202!=c)return{uri:e||d,originalUri:d,data:b,status:c,headers:a,fromCache:!!a["x-shaka-from-cache"]};e=null;try{e=pc(b)}catch(g){}throw new R(401==c||403==c?2:1,1,1001,d,c,e,a,f);};function rx(){}function sx(a,b,c,d,e){var f=new tx;Dg(b.headers).forEach(function(l,m){f.append(m,l)});var g=new ux,h={bh:!1,Zh:!1};a=vx(a,c,{body:b.body||void 0,headers:f,method:b.method,signal:g.signal,credentials:b.allowCrossSiteCredentials?"include":void 0},h,d,e,b.streamDataCallback);a=new fg(a,function(){h.bh=!0;g.abort();return Promise.resolve()});if(b=b.retryParameters.timeout){var k=new Ob(function(){h.Zh=!0;g.abort()});k.V(b/1E3);a.finally(function(){k.stop()})}return a}
|
|
1085
1085
|
function vx(a,b,c,d,e,f,g){var h,k,l,m,n,r,p,t,w,y,A,v,B;return L(function(z){switch(z.g){case 1:return h=wx,k=xx,r=n=0,p=Date.now(),ra(z,2),D(z,h(a,c),4);case 4:l=z.h;f(yx(l.headers));if("HEAD"==c.method){z.B(5);break}t=l.clone().body.getReader();y=(w=l.headers.get("Content-Length"))?parseInt(w,10):0;A=function(C){function E(){var J,I,G;return L(function(H){switch(H.g){case 1:return ra(H,2),D(H,t.read(),4);case 4:J=H.h;ta(H,3);break;case 2:return ua(H),H.return();case 3:if(J.done){H.B(5);break}n+=
|
|
1086
1086
|
J.value.byteLength;if(!g){H.B(5);break}return D(H,g(J.value),5);case 5:I=Date.now();if(100<I-p||J.done)G=J.done?0:y-n,e(I-p,n-r,G),r=n,p=I;J.done?C.close():(C.enqueue(J.value),E());F(H)}})}E()};new k({start:A});return D(z,l.arrayBuffer(),6);case 6:m=z.h;case 5:ta(z,3);break;case 2:v=ua(z);if(d.bh)throw new R(1,1,7001,a,b);if(d.Zh)throw new R(1,1,1003,a,b);throw new R(1,1,1002,a,v,b);case 3:return B=yx(l.headers),z.return(qx(B,m,l.status,a,l.url,b))}})}
|
|
1087
|
-
function yx(a){var b={};a.forEach(function(c,d){b[d.trim()]=c});return b}function zx(){if(window.ReadableStream)try{new ReadableStream({})}catch(a){return!1}else return!1;if(window.Response){if(!(new Response("")).body)return!1}else return!1;return!(!window.fetch||!window.AbortController)}N("shaka.net.HttpFetchPlugin",rx);rx.isSupported=zx;rx.parse=sx;var wx=window.fetch,ux=window.AbortController,xx=window.ReadableStream,tx=window.Headers;
|
|
1087
|
+
function yx(a){var b={};a.forEach(function(c,d){b[d.trim()]=c});return b}function zx(){if(window.ReadableStream)try{new ReadableStream({})}catch(a){return!1}else return!1;if(window.Response){if(!(new Response("")).body)return!1}else return!1;return!(!window.fetch||"polyfill"in window.fetch||!window.AbortController)}N("shaka.net.HttpFetchPlugin",rx);rx.isSupported=zx;rx.parse=sx;var wx=window.fetch,ux=window.AbortController,xx=window.ReadableStream,tx=window.Headers;
|
|
1088
1088
|
zx()&&(pg("http",sx,2,!0),pg("https",sx,2,!0),pg("blob",sx,2,!0));function Ax(){}
|
|
1089
1089
|
function Bx(a,b,c,d,e){var f=new Cx,g=Date.now(),h=0,k=new Promise(function(l,m){f.open(b.method,a,!0);f.responseType="arraybuffer";f.timeout=b.retryParameters.timeout;f.withCredentials=b.allowCrossSiteCredentials;f.onabort=function(){m(new R(1,1,7001,a,c))};var n=!1;f.onreadystatechange=function(){if(2==f.readyState&&!n){var p=Dx(f);e(p);n=!0}};f.onload=function(p){var t=Dx(f),w=f.response;try{d(Date.now()-g,p.loaded-h,0);var y=qx(t,w,f.status,a,f.responseURL,c);l(y)}catch(A){m(A)}};f.onerror=function(p){m(new R(1,
|
|
1090
1090
|
1,1002,a,p,c))};f.ontimeout=function(){m(new R(1,1,1003,a,c))};f.onprogress=function(p){var t=Date.now();if(100<t-g||p.lengthComputable&&p.loaded==p.total)d(t-g,p.loaded-h,4==f.readyState?0:p.total-p.loaded),h=p.loaded,g=t};for(var r in b.headers)f.setRequestHeader(r.toLowerCase(),b.headers[r]);f.send(b.body)});return new fg(k,function(){f.abort();return Promise.resolve()})}
|
|
@@ -1167,7 +1167,7 @@ function oz(a){for(var b=new Set,c=u(a.textStreams),d=c.next();!d.done;d=c.next(
|
|
|
1167
1167
|
function cz(a){a.variants.map(function(f){return f.video});var b=new Set(a.variants.map(function(f){return f.audio}));a=a.textStreams;for(var c=u(b),d=c.next();!d.done;d=c.next()){d=u(b);for(var e=d.next();!e.done;e=d.next());}b=u(a);for(c=b.next();!c.done;c=b.next())for(c=u(a),d=c.next();!d.done;d=c.next());}N("shaka.offline.Storage",Oy);Oy.deleteAll=function(){var a;return L(function(b){return 1==b.g?(a=new $x,sa(b,2),D(b,gy(a),2)):5!=b.g?(va(b),D(b,a.destroy(),5)):wa(b,0)})};
|
|
1168
1168
|
Oy.prototype.list=Oy.prototype.list;Oy.prototype.removeEmeSessions=Oy.prototype.Pj;Oy.prototype.remove=Oy.prototype.remove;Oy.prototype.store=Oy.prototype.store;Oy.prototype.getNetworkingEngine=Oy.prototype.dc;Oy.prototype.getConfiguration=Oy.prototype.getConfiguration;Oy.prototype.configure=Oy.prototype.configure;Oy.prototype.destroy=Oy.prototype.destroy;Oy.support=Py;
|
|
1169
1169
|
var dz=(new Map).set("org.w3.clearkey","1077efecc0b24d02ace33c1e52e2fb4b").set("com.widevine.alpha","edef8ba979d64acea3c827dcd51d21ed").set("com.microsoft.playready","9a04f07998404286ab92e65be0885f95").set("com.microsoft.playready.recommendation","9a04f07998404286ab92e65be0885f95").set("com.microsoft.playready.software","9a04f07998404286ab92e65be0885f95").set("com.microsoft.playready.hardware","9a04f07998404286ab92e65be0885f95");lp.offline=Py;function rz(){}function sz(){for(var a=u(tz),b=a.next();!b.done;b=a.next()){b=b.value;try{b.callback()}catch(c){Ua("Error installing polyfill!",c)}}}function uz(a,b){a={priority:b||0,callback:a};for(b=0;b<tz.length;b++)if(tz[b].priority<a.priority){tz.splice(b,0,a);return}tz.push(a)}N("shaka.polyfill",rz);rz.register=uz;rz.installAll=sz;var tz=[];function vz(){this.g=new wz}function xz(){window.AbortController||(window.AbortController=vz,window.AbortSignal=wz)}vz.prototype.abort=function(a){var b=this.g;if(!b.h){b.h=!0;b.g=a;void 0===b.g&&(b.g=new DOMException("signal is aborted without reason","AbortError"));a=new Q("abort");if(b.onabort)b.onabort(a);b.dispatchEvent(a)}};da.Object.defineProperties(vz.prototype,{signal:{configurable:!0,enumerable:!0,get:function(){return this.g}}});rz.AbortController=vz;vz.install=xz;
|
|
1170
|
-
function wz(){
|
|
1170
|
+
function wz(){ab.call(this);this.h=!1;this.g=void 0;this.onabort=null}na(wz,ab);da.Object.defineProperties(wz.prototype,{aborted:{configurable:!0,enumerable:!0,get:function(){return this.h}},reason:{configurable:!0,enumerable:!0,get:function(){return this.g}}});uz(xz);function yz(){}function zz(){if(!Object.getOwnPropertyDescriptor(Element.prototype,"ariaHidden"))for(var a=u(["ariaHidden","ariaLabel","ariaPressed","ariaSelected"]),b=a.next();!b.done;b=a.next())Az(b.value)}function Az(a){var b="aria-"+a.toLowerCase().replace(/^aria/,"");Object.defineProperty(Element.prototype,a,{get:function(){return this.getAttribute(b)},set:function(c){null==c||void 0==c?this.removeAttribute(b):this.setAttribute(b,c)}})}rz.Aria=yz;yz.install=zz;uz(zz);function Bz(){}function Cz(){Dz()}rz.EncryptionScheme=Bz;Bz.install=Cz;uz(Cz,-2);function Ez(){}
|
|
1171
1171
|
function Fz(){if(window.Document){var a=Element.prototype;a.requestFullscreen=a.requestFullscreen||a.mozRequestFullScreen||a.msRequestFullscreen||a.webkitRequestFullscreen;a=Document.prototype;a.exitFullscreen=a.exitFullscreen||a.mozCancelFullScreen||a.msExitFullscreen||a.webkitCancelFullScreen;"fullscreenElement"in document||(Object.defineProperty(document,"fullscreenElement",{get:function(){return document.mozFullScreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement||document.webkitFullscreenElement}}),
|
|
1172
1172
|
Object.defineProperty(document,"fullscreenEnabled",{get:function(){return document.mozFullScreenEnabled||document.msFullscreenEnabled||document.webkitFullscreenEnabled}}));document.addEventListener("webkitfullscreenchange",Gz);document.addEventListener("webkitfullscreenerror",Gz);document.addEventListener("mozfullscreenchange",Gz);document.addEventListener("mozfullscreenerror",Gz);document.addEventListener("MSFullscreenChange",Gz);document.addEventListener("MSFullscreenError",Gz)}}
|
|
1173
1173
|
function Gz(a){var b=a.type.replace(/^(webkit|moz|MS)/,"").toLowerCase(),c=document.createEvent("Event");c.initEvent(b,a.bubbles,a.cancelable);a.target.dispatchEvent(c)}rz.Fullscreen=Ez;Ez.install=Fz;uz(Fz);function Hz(){}function Iz(){var a=!0;!$b()||$b()&&Tb("Android")||$b()&&Tb("Fuchsia")||(a=!1);if(bc()||ec()||dc()||Xb()||Ub()||Tb("PC=EOS")||fc())a=!1;a&&navigator.mediaCapabilities||(navigator.mediaCapabilities||(navigator.mediaCapabilities={}),Jz=navigator.mediaCapabilities,navigator.mediaCapabilities.decodingInfo=Kz)}
|
|
@@ -1182,7 +1182,7 @@ function Sz(){var a=MediaSource.prototype.addSourceBuffer;MediaSource.prototype.
|
|
|
1182
1182
|
function Vz(){var a=MediaSource.isTypeSupported.bind(MediaSource);MediaSource.isTypeSupported=function(c){return"mp2t"!=pe(c)&&a(c)};if(window.ManagedMediaSource){var b=ManagedMediaSource.isTypeSupported.bind(ManagedMediaSource);window.ManagedMediaSource.isTypeSupported=function(c){return"mp2t"!=pe(c)&&b(c)}}}
|
|
1183
1183
|
function Uz(){var a=MediaSource.isTypeSupported.bind(MediaSource);MediaSource.isTypeSupported=function(c){return"opus"!=we(c)&&a(c)};if(window.ManagedMediaSource){var b=ManagedMediaSource.isTypeSupported.bind(ManagedMediaSource);window.ManagedMediaSource.isTypeSupported=function(c){return"opus"!=we(c)&&b(c)}}}
|
|
1184
1184
|
function Wz(){var a=MediaSource.isTypeSupported;Xb()||(MediaSource.isTypeSupported=function(b){var c=b.split(/ *; */),d=c.findIndex(function(g){return g.startsWith("codecs=")});if(0>d)return a(b);var e=c[d].replace("codecs=","").replace(/"/g,"").split(/\s*,\s*/),f=e.findIndex(function(g){return g.startsWith("vp09")});0<=f&&(e[f]="vp9",c[d]='codecs="'+e.join(",")+'"',b=c.join("; "));return a(b)})}rz.MediaSource=Qz;Qz.install=Rz;uz(Rz);function Xz(){}function Yz(){screen.orientation&&screen.orientation.unlock||(void 0!=screen.orientation?Zz():void 0!=window.orientation&&$z())}function Zz(){void 0===screen.orientation.lock&&(screen.orientation.lock=function(){return Promise.resolve()});void 0===screen.orientation.unlock&&(screen.orientation.unlock=function(){})}
|
|
1185
|
-
function $z(){function a(){switch(window.orientation){case -90:b.type="landscape-secondary";b.angle=270;break;case 0:b.type="portrait-primary";b.angle=0;break;case 90:b.type="landscape-primary";b.angle=90;break;case 180:b.type="portrait-secondary",b.angle=180}}var b=new aA;screen.orientation=b;a();window.addEventListener("orientationchange",function(){a();var c=new Q("change");b.dispatchEvent(c)})}rz.Orientation=Xz;Xz.install=Yz;function aA(){
|
|
1185
|
+
function $z(){function a(){switch(window.orientation){case -90:b.type="landscape-secondary";b.angle=270;break;case 0:b.type="portrait-primary";b.angle=0;break;case 90:b.type="landscape-primary";b.angle=90;break;case 180:b.type="portrait-secondary",b.angle=180}}var b=new aA;screen.orientation=b;a();window.addEventListener("orientationchange",function(){a();var c=new Q("change");b.dispatchEvent(c)})}rz.Orientation=Xz;Xz.install=Yz;function aA(){ab.call(this);this.type="";this.angle=0}na(aA,ab);
|
|
1186
1186
|
aA.prototype.lock=function(a){function b(d){return screen.lockOrientation?screen.lockOrientation(d):screen.mozLockOrientation?screen.mozLockOrientation(d):screen.msLockOrientation?screen.msLockOrientation(d):!1}var c=!1;switch(a){case "natural":c=b("default");break;case "any":c=!0;this.unlock();break;default:c=b(a)}if(c)return Promise.resolve();a=Error("screen.orientation.lock() is not available on this device");a.name="NotSupportedError";a.code=DOMException.NOT_SUPPORTED_ERR;return Promise.reject(a)};
|
|
1187
1187
|
aA.prototype.unlock=function(){screen.unlockOrientation?screen.unlockOrientation():screen.mozUnlockOrientation?screen.mozUnlockOrientation():screen.msUnlockOrientation&&screen.msUnlockOrientation()};uz(Yz);function bA(){}var cA,dA,eA,fA,gA,hA;function iA(a,b){try{var c=new jA(a,b);return Promise.resolve(c)}catch(d){return Promise.reject(d)}}function kA(a){var b=this.mediaKeys;b&&b!=a&&lA(b,null);delete this.mediaKeys;return(this.mediaKeys=a)?lA(a,this):Promise.resolve()}
|
|
1188
1188
|
function mA(a){a=Fb(a.initData);if(Kb(a).getUint32(0,!0)+4!=a.byteLength)throw new RangeError("Malformed FairPlay init data");a=nc(a.subarray(4),!0);a=qc(a);var b=new Event("encrypted");b.initDataType="skd";b.initData=Gb(a);this.dispatchEvent(b)}rz.PatchedMediaKeysApple=bA;
|
|
@@ -1192,7 +1192,7 @@ iA;window.shakaMediaKeysPolyfill=oA}};
|
|
|
1192
1192
|
function jA(a,b){this.keySystem=a;if(a.startsWith("com.apple.fps"))for(a=u(b),b=a.next();!b.done;b=a.next()){var c=b.value;if("required"==c.persistentState)b=null;else{b={audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",initDataTypes:c.initDataTypes,sessionTypes:["temporary"],label:c.label};var d=!1,e=!1;if(c.audioCapabilities)for(var f=u(c.audioCapabilities),g=f.next();!g.done;g=f.next())g=g.value,g.contentType&&(d=!0,WebKitMediaKeys.isTypeSupported(this.keySystem,
|
|
1193
1193
|
g.contentType.split(";")[0])&&(b.audioCapabilities.push(g),e=!0));if(c.videoCapabilities)for(c=u(c.videoCapabilities),g=c.next();!g.done;g=c.next())f=g.value,f.contentType&&(d=!0,WebKitMediaKeys.isTypeSupported(this.keySystem,f.contentType.split(";")[0])&&(b.videoCapabilities.push(f),e=!0));d||(e=WebKitMediaKeys.isTypeSupported(this.keySystem,"video/mp4"));b=e?b:null}if(b){this.g=b;return}}a=Error("Unsupported keySystem");a.name="NotSupportedError";a.code=DOMException.NOT_SUPPORTED_ERR;throw a;}
|
|
1194
1194
|
jA.prototype.createMediaKeys=function(){var a=new nA(this.keySystem);return Promise.resolve(a)};jA.prototype.getConfiguration=function(){return this.g};function nA(a){this.h=new WebKitMediaKeys(a);this.g=new dd}nA.prototype.createSession=function(a){a=a||"temporary";if("temporary"!=a)throw new TypeError("Session type "+a+" is unsupported on this platform.");return new pA(this.h,a)};nA.prototype.setServerCertificate=function(){return Promise.resolve(!1)};
|
|
1195
|
-
function lA(a,b){a.g.mb();if(!b)return Promise.resolve();a.g.o(b,"webkitneedkey",mA);try{return zk(b,HTMLMediaElement.HAVE_METADATA,a.g,function(){b.webkitSetMediaKeys(a.h)}),Promise.resolve()}catch(c){return Promise.reject(c)}}nA.prototype.getStatusForPolicy=function(){return Promise.resolve("usable")};function pA(a){
|
|
1195
|
+
function lA(a,b){a.g.mb();if(!b)return Promise.resolve();a.g.o(b,"webkitneedkey",mA);try{return zk(b,HTMLMediaElement.HAVE_METADATA,a.g,function(){b.webkitSetMediaKeys(a.h)}),Promise.resolve()}catch(c){return Promise.reject(c)}}nA.prototype.getStatusForPolicy=function(){return Promise.resolve("usable")};function pA(a){ab.call(this);this.i=null;this.l=a;this.g=this.h=null;this.j=new dd;this.sessionId="";this.expiration=NaN;this.closed=new eg;this.keyStatuses=new qA}na(pA,ab);q=pA.prototype;
|
|
1196
1196
|
q.generateRequest=function(a,b){var c=this;this.h=new eg;try{var d=this.l.createSession("video/mp4",Fb(b));this.i=d;this.sessionId=d.sessionId||"";this.j.o(this.i,"webkitkeymessage",function(e){c.h&&(c.h.resolve(),c.h=null);e=(new Map).set("messageType",void 0==c.keyStatuses.uc()?"license-request":"license-renewal").set("message",Gb(e.message));e=new Q("message",e);c.dispatchEvent(e)});this.j.o(d,"webkitkeyadded",function(){c.g&&(rA(c,"usable"),c.g.resolve(),c.g=null)});this.j.o(d,"webkitkeyerror",
|
|
1197
1197
|
function(){var e=Error("EME PatchedMediaKeysApple key error");e.errorCode=c.i.error;if(null!=c.h)c.h.reject(e),c.h=null;else if(null!=c.g)c.g.reject(e),c.g=null;else switch(c.i.error.code){case WebKitMediaKeyError.MEDIA_KEYERR_OUTPUT:case WebKitMediaKeyError.MEDIA_KEYERR_HARDWARECHANGE:rA(c,"output-not-allowed");break;default:rA(c,"internal-error")}});rA(this,"status-pending")}catch(e){this.h.reject(e)}return this.h};q.load=function(){return Promise.reject(Error("MediaKeySession.load not yet supported"))};
|
|
1198
1198
|
q.update=function(a){this.g=new eg;try{this.i.update(Fb(a))}catch(b){this.g.reject(b)}return this.g};q.close=function(){try{this.i.close(),this.closed.resolve(),this.j.mb()}catch(a){this.closed.reject(a)}return this.closed};q.remove=function(){return Promise.reject(Error("MediaKeySession.remove is only applicable for persistent licenses, which are not supported on this platform"))};function rA(a,b){var c=a.keyStatuses;c.size=void 0==b?0:1;c.g=b;b=new Q("keystatuseschange");a.dispatchEvent(b)}
|
|
@@ -1207,7 +1207,7 @@ d=!1);if(d){this.h=g;return}}c="Unsupported keySystem";if("org.w3.clearkey"==a||
|
|
|
1207
1207
|
function LA(a,b){a.h=b;a.g.mb();var c=EA;b&&(a.g.o(b,c+"needkey",function(d){var e=new CustomEvent("encrypted");e.initDataType="cenc";e.initData=Gb(d.initData);a.h.dispatchEvent(e)}),a.g.o(b,c+"keymessage",function(d){var e=MA(a,d.sessionId);e&&(d=(new Map).set("messageType",void 0==e.keyStatuses.uc()?"licenserequest":"licenserenewal").set("message",d.message),d=new Q("message",d),e.h&&(e.h.resolve(),e.h=null),e.dispatchEvent(d))}),a.g.o(b,c+"keyadded",function(d){if(d=MA(a,d.sessionId))NA(d,"usable"),
|
|
1208
1208
|
d.g&&d.g.resolve(),d.g=null}),a.g.o(b,c+"keyerror",function(d){var e=MA(a,d.sessionId);if(e){var f=Error("EME v0.1b key error"),g=d.errorCode;g.systemCode=d.systemCode;f.errorCode=g;!d.sessionId&&e.h?(45==d.systemCode&&(f.message="Unsupported session type."),e.h.reject(f),e.h=null):d.sessionId&&e.g?(e.g.reject(f),e.g=null):(f=d.systemCode,d.errorCode.code==MediaKeyError.MEDIA_KEYERR_OUTPUT?NA(e,"output-restricted"):1==f?NA(e,"expired"):NA(e,"internal-error"))}}))}
|
|
1209
1209
|
HA.prototype.createSession=function(a){a=a||"temporary";if("temporary"!=a&&"persistent-license"!=a)throw new TypeError("Session type "+a+" is unsupported on this platform.");var b=this.h||document.createElement("video");b.src||(b.src="about:blank");a=new OA(b,this.l,a);this.i.push(a);return a};HA.prototype.setServerCertificate=function(){return Promise.resolve(!1)};HA.prototype.getStatusForPolicy=function(){return Promise.resolve("usable")};
|
|
1210
|
-
function MA(a,b){var c=a.j.get(b);return c?c:(c=a.i.shift())?(c.sessionId=b,a.j.set(b,c),c):null}function OA(a,b,c){
|
|
1210
|
+
function MA(a,b){var c=a.j.get(b);return c?c:(c=a.i.shift())?(c.sessionId=b,a.j.set(b,c),c):null}function OA(a,b,c){ab.call(this);this.j=a;this.m=!1;this.g=this.h=null;this.i=b;this.l=c;this.sessionId="";this.expiration=NaN;this.closed=new eg;this.keyStatuses=new PA}na(OA,ab);
|
|
1211
1211
|
function QA(a,b,c){if(a.m)return Promise.reject(Error("The session is already initialized."));a.m=!0;try{if("persistent-license"==a.l)if(c)var d=Fb(qc("LOAD_SESSION|"+c));else{var e=qc("PERSISTENT|");d=Ac(e,b)}else d=Fb(b)}catch(g){return Promise.reject(g)}a.h=new eg;var f=KA("generateKeyRequest");try{a.j[f](a.i,d)}catch(g){if("InvalidStateError"!=g.name)return a.h=null,Promise.reject(g);(new Ob(function(){try{a.j[f](a.i,d)}catch(h){a.h.reject(h),a.h=null}})).V(.01)}return a.h}
|
|
1212
1212
|
function RA(a,b,c){if(a.g)a.g.then(function(){return RA(a,b,c)}).catch(function(){return RA(a,b,c)});else{a.g=b;if("webkit-org.w3.clearkey"==a.i){var d=mc(c);var e=JSON.parse(d);"oct"!=e.keys[0].kty&&(a.g.reject(Error("Response is not a valid JSON Web Key Set.")),a.g=null);d=xc(e.keys[0].k);e=xc(e.keys[0].kid)}else d=Fb(c),e=null;var f=KA("addKey");try{a.j[f](a.i,d,e,a.sessionId)}catch(g){a.g.reject(g),a.g=null}}}
|
|
1213
1213
|
function NA(a,b){var c=a.keyStatuses;c.size=void 0==b?0:1;c.g=b;b=new Q("keystatuseschange");a.dispatchEvent(b)}q=OA.prototype;q.generateRequest=function(a,b){return QA(this,b,null)};q.load=function(a){return"persistent-license"==this.l?QA(this,null,a):Promise.reject(Error("Not a persistent session."))};q.update=function(a){var b=new eg;RA(this,b,a);return b};
|
|
@@ -1237,10 +1237,10 @@ function BB(a,b,c,d){a=AB(a,b);null==c?c=a.start:null!=a.start&&(c+=a.start);nul
|
|
|
1237
1237
|
function LB(a,b){var c=null;if(MB.test(a)){a=MB.exec(a);c=Number(a[1]);var d=Number(a[2]),e=Number(a[3]),f=Number(a[4]);f+=(Number(a[5])||0)/b.h;e+=f/b.frameRate;c=e+60*d+3600*c}else if(NB.test(a))c=OB(NB,a);else if(PB.test(a))c=OB(PB,a);else if(QB.test(a))a=QB.exec(a),c=Number(a[1])/b.frameRate;else if(RB.test(a))a=RB.exec(a),c=Number(a[1])/b.g;else if(SB.test(a))c=OB(SB,a);else if(a)throw new R(2,2,2001,"Could not parse cue time range in TTML");return c}
|
|
1238
1238
|
function OB(a,b){a=a.exec(b);return null==a||""==a[0]?null:(Number(a[4])||0)/1E3+(Number(a[3])||0)+60*(Number(a[2])||0)+3600*(Number(a[1])||0)}N("shaka.text.TtmlTextParser",qB);qB.prototype.parseMedia=qB.prototype.parseMedia;qB.prototype.setManifestType=qB.prototype.setManifestType;qB.prototype.setSequenceMode=qB.prototype.setSequenceMode;qB.prototype.parseInit=qB.prototype.parseInit;
|
|
1239
1239
|
function tB(a,b,c,d){this.frameRate=Number(a)||30;this.h=Number(b)||1;this.g=Number(d);0==this.g&&(this.g=a?this.frameRate*this.h:1);c&&(a=/^(\d+) (\d+)$/g.exec(c))&&(this.frameRate*=Number(a[1])/Number(a[2]))}
|
|
1240
|
-
var uB=/^(\d{1,2}(?:\.\d+)?|100(?:\.0+)?)% (\d{1,2}(?:\.\d+)?|100(?:\.0+)?)%$/,HB=/^(\d{1,2}(?:\.\d+)?|100)%$/,GB=/^(\d+px|\d+em|\d*\.?\d+c)$/,vB=/^(\d+)px (\d+)px$/,MB=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,NB=/^(?:(\d{2,}):)?(\d{2}):(\d{2})$/,PB=/^(?:(\d{2,}):)?(\d{2}):(\d{2}\.\d
|
|
1240
|
+
var uB=/^(\d{1,2}(?:\.\d+)?|100(?:\.0+)?)% (\d{1,2}(?:\.\d+)?|100(?:\.0+)?)%$/,HB=/^(\d{1,2}(?:\.\d+)?|100)%$/,GB=/^(\d+px|\d+em|\d*\.?\d+c)$/,vB=/^(\d+)px (\d+)px$/,MB=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,NB=/^(?:(\d{2,}):)?(\d{2}):(\d{2})$/,PB=/^(?:(\d{2,}):)?(\d{2}):(\d{2}\.\d+)$/,QB=/^(\d*(?:\.\d*)?)f$/,RB=/^(\d*(?:\.\d*)?)t$/,SB=RegExp("^(?:(\\d*(?:\\.\\d*)?)h)?(?:(\\d*(?:\\.\\d*)?)m)?(?:(\\d*(?:\\.\\d*)?)s)?(?:(\\d*(?:\\.\\d*)?)ms)?$"),FB={left:Jd,center:"center",right:"end",start:Jd,
|
|
1241
1241
|
end:"end"},EB={left:"line-left",center:"center",right:"line-right"},rB=["http://www.w3.org/ns/ttml#parameter","http://www.w3.org/2006/10/ttaf1#parameter"],sB=["http://www.w3.org/ns/ttml#styling","http://www.w3.org/2006/10/ttaf1#styling"],yB=["http://www.smpte-ra.org/schemas/2052-1/2010/smpte-tt","http://www.smpte-ra.org/schemas/2052-1/2013/smpte-tt"];De["application/ttml+xml"]=function(){return new qB};function TB(){this.g=new qB}TB.prototype.parseInit=function(a){var b=!1;(new Ig).box("moov",Ng).box("trak",Ng).box("mdia",Ng).box("minf",Ng).box("stbl",Ng).T("stsd",Pg).box("stpp",function(c){b=!0;c.parser.stop()}).parse(a);if(!b)throw new R(2,2,2007);};TB.prototype.setSequenceMode=function(){};TB.prototype.setManifestType=function(){};
|
|
1242
1242
|
TB.prototype.parseMedia=function(a,b,c){var d=this,e=!1,f=[];(new Ig).box("mdat",Sg(function(g){e=!0;f=f.concat(d.g.parseMedia(g,b,c))})).parse(a,!1);if(!e)throw new R(2,2,2007);return f};N("shaka.text.Mp4TtmlParser",TB);TB.prototype.parseMedia=TB.prototype.parseMedia;TB.prototype.setManifestType=TB.prototype.setManifestType;TB.prototype.setSequenceMode=TB.prototype.setSequenceMode;TB.prototype.parseInit=TB.prototype.parseInit;De['application/mp4; codecs="stpp"']=function(){return new TB};
|
|
1243
|
-
De['application/mp4; codecs="stpp.ttml"']=function(){return new TB};De['application/mp4; codecs="stpp.ttml.im1t"']=function(){return new TB};De['application/mp4; codecs="stpp.TTML.im1t"']=function(){return new TB};function UB(){this.h=!1;this.g="UNKNOWN"}UB.prototype.parseInit=function(){};UB.prototype.setSequenceMode=function(a){this.h=a};UB.prototype.setManifestType=function(a){this.g=a};
|
|
1243
|
+
De['application/mp4; codecs="stpp.ttml"']=function(){return new TB};De['application/mp4; codecs="stpp.ttml.im1t"']=function(){return new TB};De['application/mp4; codecs="stpp.ttml.im2t"']=function(){return new TB};De['application/mp4; codecs="stpp.ttml.etd1"']=function(){return new TB};De['application/mp4; codecs="stpp.ttml.etd1|im1t"']=function(){return new TB};De['application/mp4; codecs="stpp.ttml.im1t|etd1"']=function(){return new TB};De['application/mp4; codecs="stpp.TTML.im1t"']=function(){return new TB};function UB(){this.h=!1;this.g="UNKNOWN"}UB.prototype.parseInit=function(){};UB.prototype.setSequenceMode=function(a){this.h=a};UB.prototype.setManifestType=function(a){this.g=a};
|
|
1244
1244
|
UB.prototype.parseMedia=function(a,b){a=mc(a);a=a.replace(/\r\n|\r(?=[^\n]|$)/gm,"\n");var c=a.split(/\n{2,}/m);if(!/^WEBVTT($|[ \t\n])/m.test(c[0]))throw new R(2,2,2E3);a=b.vttOffset;if(c[0].includes("X-TIMESTAMP-MAP")&&"HLS"==this.g)if(this.h){var d=c[0];a=d.match(/LOCAL:((?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{3}))/m);d=d.match(/MPEGTS:(\d+)/m);if(!a||!d)throw new R(2,2,2E3);a=VB(new Ou(a[1]));if(null==a)throw new R(2,2,2E3);a=b.periodStart+Number(d[1])/9E4-a}else a=b.segmentStart;b=[];d=u(c[0].split("\n"));
|
|
1245
1245
|
for(var e=d.next();!e.done;e=d.next())if(e=e.value,/^Region:/.test(e)){e=new Ou(e);var f=new Dd;Ru(e);Pu(e);for(var g=Ru(e);g;){var h=f,k=g;(g=/^id=(.*)$/.exec(k))?h.id=g[1]:(g=/^width=(\d{1,2}|100)%$/.exec(k))?h.width=Number(g[1]):(g=/^lines=(\d+)$/.exec(k))?(h.height=Number(g[1]),h.heightUnits=2):(g=/^regionanchor=(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(k))?(h.regionAnchorX=Number(g[1]),h.regionAnchorY=Number(g[2])):(g=/^viewportanchor=(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(k))?(h.viewportAnchorX=Number(g[1]),
|
|
1246
1246
|
h.viewportAnchorY=Number(g[2])):/^scroll=up$/.exec(k)&&(h.scroll="up");Pu(e);g=Ru(e)}b.push(f)}d=new Map;WB(d);e=[];c=u(c.slice(1));for(f=c.next();!f.done;f=c.next()){f=f.value.split("\n");if((1!=f.length||f[0])&&!/^NOTE($|[ \t])/.test(f[0])&&"STYLE"==f[0]){h=[];g=-1;for(k=1;k<f.length;k++)f[k].includes("::cue")&&(h.push([]),g=h.length-1),-1!=g&&(h[g].push(f[k]),f[k].includes("}")&&(g=-1));h=u(h);for(g=h.next();!g.done;g=h.next()){var l=g.value;g="global";(k=l[0].match(/\((.*)\)/))&&(g=k.pop());k=
|
|
@@ -1322,10 +1322,10 @@ q.convertCodecs=function(a,b){return"video/mp2t"==b.toLowerCase().split(";")[0]?
|
|
|
1322
1322
|
q.transmux=function(a,b,c,d,e){var f=Fb(a);if("audio"==e&&!uj(f)){for(var g=Ri(f),h=g.length;h<f.length;h++)if(QC(f,h))return Promise.reject(new R(2,3,3018));for(h=g.length;h<f.length;h++)if(uC(f,h))return this.h||(this.h=new wC("audio/aac")),this.h.transmux(a,b,c,d,e);return Promise.reject(new R(2,3,3018))}this.j?this.j.clearData():this.j=new nj;var k=this.j.parse(f),l=[],m=k.Gd();try{var n=null;if("video"==e){switch(m.video){case "avc":var r=[],p=null,t=[],w=k.Xc();if(!w.length)throw new R(2,3,
|
|
1323
1323
|
3023);for(var y=0;y<w.length;y++){var A=w[y],v=A.nalus;t.push.apply(t,x(v));var B=EC(v);if(B){null==p&&(p=A.dts);var z=void 0;z=y+1<w.length?(w[y+1].dts||0)-(A.dts||0):1<w.length?(A.dts||0)-(w[y-1].dts||0):9E4*(c.endTime-c.startTime);r.push({data:B.data,size:B.data.byteLength,duration:z,rb:Math.round((A.pts||0)-(A.dts||0)),flags:{sb:0,hb:0,gb:0,cb:0,eb:B.Qd?2:1,ub:B.Qd?0:1}})}}var C=CC(t);if(!C||null==p)throw new R(2,3,3018);b.height=C.height;b.width=C.width;n={id:b.id,type:"video",codecs:"avc1",
|
|
1324
1324
|
encrypted:b.encrypted&&0<b.drmInfos.length,timescale:9E4,duration:d,pb:[],wa:new Uint8Array([]),Ea:C.Ea,Ma:C.Ma,Oa:C.Oa,data:{Db:this.g,baseMediaDecodeTime:p,ob:r},stream:b};break;case "hvc":var E=[],J=null,I=[],G=k.Xc();if(!G.length)throw new R(2,3,3023);for(var H=0;H<G.length;H++){var K=G[H],M=K.nalus;I.push.apply(I,x(M));for(var O=!1,P=[],V=!1,Y=u(M),U=Y.next();!U.done;U=Y.next()){var Da=U.value;switch(Da.type){case 1:case 0:var Ja=V=!0;break;case 19:case 20:case 21:O=Ja=V=!0;break;case 32:Ja=
|
|
1325
|
-
!0;break;case 33:Ja=!0;break;case 34:Ja=!0;break;case 35:V=Ja=!0;break;case 39:case 40:Ja=!0;break;default:Ja=!1}if(V&&Ja){var
|
|
1326
|
-
size:
|
|
1327
|
-
[],
|
|
1328
|
-
3,3018);
|
|
1325
|
+
!0;break;case 33:Ja=!0;break;case 34:Ja=!0;break;case 35:V=Ja=!0;break;case 39:case 40:Ja=!0;break;default:Ja=!1}if(V&&Ja){var mb=Da.fullData.byteLength,La=new Uint8Array(4);La[0]=mb>>24&255;La[1]=mb>>16&255;La[2]=mb>>8&255;La[3]=mb&255;P.push(La);P.push(Da.fullData)}}var bb=P.length?{data:Ac.apply(uc,x(P)),Qd:O}:null;if(bb){null==J&&null!=K.dts&&(J=K.dts);var Aa=void 0;Aa=H+1<G.length?(G[H+1].dts||0)-(K.dts||0):1<G.length?(K.dts||0)-(G[H-1].dts||0):9E4*(c.endTime-c.startTime);E.push({data:bb.data,
|
|
1326
|
+
size:bb.data.byteLength,duration:Aa,rb:Math.round((K.pts||0)-(K.dts||0)),flags:{sb:0,hb:0,gb:0,cb:0,eb:bb.Qd?2:1,ub:bb.Qd?0:1}})}}var ub=FC(I);if(!ub||null==J)throw new R(2,3,3018);b.height=ub.height;b.width=ub.width;n={id:b.id,type:"video",codecs:"hvc1",encrypted:b.encrypted&&0<b.drmInfos.length,timescale:9E4,duration:d,pb:[],wa:new Uint8Array([]),Ea:ub.Ea,Ma:ub.Ma,Oa:ub.Oa,data:{Db:this.g,baseMediaDecodeTime:J,ob:E},stream:b}}n&&(l.push(n),n=null)}if("audio"==e){switch(m.audio){case "aac":for(var Jb=
|
|
1327
|
+
[],rb,fb=null,Af=u(k.cc()),Od=Af.next();!Od.done;Od=Af.next()){var re=Od.value,yd=re.data;if(yd){var Lc=0;rb=tC(yd,Lc);if(!rb)throw new R(2,3,3018);b.audioSamplingRate=rb.sampleRate;b.channelsCount=rb.channelCount;null==fb&&null!==re.pts&&(fb=re.pts);for(;Lc<yd.length;){var se=sC(yd,Lc);if(se){var Bf=se.Be+se.ba;Lc+Bf<=yd.length&&Jb.push({data:yd.subarray(Lc+se.Be,Lc+Bf),size:se.ba,duration:1024,rb:0,flags:{sb:0,hb:0,gb:0,cb:0,eb:2,ub:0}});Lc+=Bf}else Lc++}}}if(!rb||null==fb){if(!k.Xc().length)throw new R(2,
|
|
1328
|
+
3,3018);fb=9E4*c.startTime;var te=Fc("audio",b.codecs.split(","));if(!te||!b.channelsCount||!b.audioSamplingRate)throw new R(2,3,3018);rb={sampleRate:b.audioSamplingRate,channelCount:b.channelsCount,ab:te};var Pd=vC(te,b.channelsCount);if(!Pd)throw new R(2,3,3018);for(var ij=fb+9E4*(c.endTime-c.startTime),ch=fb;ch<ij;)Jb.push({data:Pd,size:Pd.byteLength,duration:1024,rb:0,flags:{sb:0,hb:0,gb:0,cb:0,eb:2,ub:0}}),ch+=1024/rb.sampleRate*9E4}var jj=rb.sampleRate,kj=fb/9E4*jj;n={id:b.id,type:"audio",codecs:rb.ab,
|
|
1329
1329
|
encrypted:b.encrypted&&0<b.drmInfos.length,timescale:jj,duration:d,pb:[],wa:new Uint8Array([]),Ea:new Uint8Array([]),Ma:0,Oa:0,data:{Db:this.g,baseMediaDecodeTime:kj,ob:Jb},stream:b};break;case "ac3":for(var Cf=[],ue=0,Df=new Uint8Array([]),ac=null,xw=u(k.cc()),Fn=xw.next();!Fn.done;Fn=xw.next()){var Gn=Fn.value,Hn=Gn.data;null==ac&&null!==Gn.pts&&(ac=Gn.pts);for(var Mf=0;Mf<Hn.length;){var Ud=xC(Hn,Mf);Ud?(b.audioSamplingRate=Ud.sampleRate,b.channelsCount=Ud.channelCount,ue=Ud.sampleRate,Df=Ud.wa,
|
|
1330
1330
|
Cf.push({data:Hn.subarray(Mf,Mf+Ud.ba),size:Ud.ba,duration:1536,rb:0,flags:{sb:0,hb:0,gb:0,cb:0,eb:2,ub:0}}),Mf+=Ud.ba):Mf++}}if(0==ue||0==Df.byteLength||null==ac)throw new R(2,3,3018);var qG=ac/9E4*ue;n={id:b.id,type:"audio",codecs:"ac-3",encrypted:b.encrypted&&0<b.drmInfos.length,timescale:ue,duration:d,pb:[],wa:Df,Ea:new Uint8Array([]),Ma:0,Oa:0,data:{Db:this.g,baseMediaDecodeTime:qG,ob:Cf},stream:b};break;case "ec3":for(var yw=[],Tj=0,In=new Uint8Array([]),Uj=null,zw=u(k.cc()),Jn=zw.next();!Jn.done;Jn=
|
|
1331
1331
|
zw.next()){var Kn=Jn.value,Ln=Kn.data;null==Uj&&null!==Kn.pts&&(Uj=Kn.pts);for(var Nf=0;Nf<Ln.length;){var Vd=AC(Ln,Nf);Vd?(b.audioSamplingRate=Vd.sampleRate,b.channelsCount=Vd.channelCount,Tj=Vd.sampleRate,In=Vd.wa,yw.push({data:Ln.subarray(Nf,Nf+Vd.ba),size:Vd.ba,duration:1536,rb:0,flags:{sb:0,hb:0,gb:0,cb:0,eb:2,ub:0}}),Nf+=Vd.ba):Nf++}}if(0==Tj||0==In.byteLength||null==Uj)throw new R(2,3,3018);var rG=Uj/9E4*Tj;n={id:b.id,type:"audio",codecs:"ec-3",encrypted:b.encrypted&&0<b.drmInfos.length,timescale:Tj,
|
|
@@ -1460,18 +1460,18 @@ a.Y),bE(a.M,a.I,a.M)),a.g.bindBuffer(a.g.ARRAY_BUFFER,a.aa),a.g.vertexAttribPoin
|
|
|
1460
1460
|
function oE(a){var b=a.m.videoWidth;b||(b=a.l.scrollWidth);var c=a.m.videoHeight;c||(c=a.l.scrollHeight);if(a.ra!==b||a.qa!==c){a.l.width=b;a.l.height=c;a.ra=b;a.qa=c;var d=b/c,e=a.I,f=-d,g=1/(d-f);e[0]=0*g;e[1]=0;e[2]=0;e[3]=0;e[4]=0;e[5]=0;e[6]=0;e[7]=0;e[8]=(d+f)*g;e[9]=0;e[10]=-1;e[11]=-1;e[12]=0;e[13]=0;e[14]=-0;e[15]=0;a.I=e;a.g.viewport(0,0,b,c)}}
|
|
1461
1461
|
function qE(a,b,c,d){var e=90*Math.PI/180;var f="cubemap"==a.F?a.M:a.G;var g=Math.sin(b);b=Math.cos(b);var h=f[0],k=f[1],l=f[2],m=f[3],n=f[8],r=f[9],p=f[10],t=f[11];f!==f&&(f[4]=f[4],f[5]=f[5],f[6]=f[6],f[7]=f[7],f[12]=f[12],f[13]=f[13],f[14]=f[14],f[15]=f[15]);f[0]=h*b-n*g;f[1]=k*b-r*g;f[2]=l*b-p*g;f[3]=m*b-t*g;f[8]=h*g+n*b;f[9]=k*g+r*b;f[10]=l*g+p*b;f[11]=m*g+t*b;a.H+=c;a.H<e&&a.H>-e?(e=$D(),g=$D(),b=-1*c,c=Math.sin(b),b=Math.cos(b),h=g[4],k=g[5],l=g[6],m=g[7],n=g[8],r=g[9],p=g[10],t=g[11],g!==
|
|
1462
1462
|
e&&(e[0]=g[0],e[1]=g[1],e[2]=g[2],e[3]=g[3],e[12]=g[12],e[13]=g[13],e[14]=g[14],e[15]=g[15]),e[4]=h*b+n*c,e[5]=k*b+r*c,e[6]=l*b+p*c,e[7]=m*b+t*c,e[8]=n*b-h*c,e[9]=r*b-k*c,e[10]=p*b-l*c,e[11]=t*b-m*c,bE(f,e,f)):a.H-=c;c=$D();e=$D();g=Math.sin(d);d=Math.cos(d);b=e[0];h=e[1];k=e[2];l=e[3];m=e[4];n=e[5];r=e[6];p=e[7];e!==c&&(c[8]=e[8],c[9]=e[9],c[10]=e[10],c[11]=e[11],c[12]=e[12],c[13]=e[13],c[14]=e[14],c[15]=e[15]);c[0]=b*d+m*g;c[1]=h*d+n*g;c[2]=k*d+r*g;c[3]=l*d+p*g;c[4]=m*d-b*g;c[5]=n*d-h*g;c[6]=r*
|
|
1463
|
-
d-k*g;c[7]=p*d-l*g;bE(f,c,f);iE(a,!1)}function rE(a,b){if(void 0===b||b)cE(a.h,a.G),a.X=0,a.A=eE(),a.A[0]=(a.h[0]-a.L[0])/20,a.A[1]=(a.h[1]-a.L[1])/20,a.A[2]=(a.h[2]-a.L[2])/20,a.A[3]=(a.h[3]-a.L[3])/20;a.h[0]-=a.A[0];a.h[1]-=a.A[1];a.h[2]-=a.A[2];a.h[3]-=a.A[3];b=$D();fE(a.h,a.h);dE(b,a.h);a.G=b;a.J&&(a.J.stop(),a.J=null);20>a.X?a.J=(new Ob(function(){rE(a,!1);a.H=0;a.X++;iE(a,!1)})).V(.025):(dE(b,a.L),a.G=b)};function sE(a,b,c,d,e){
|
|
1464
|
-
"unloading",function(){f.l=null;uE(f)});uE(this)}na(sE,
|
|
1463
|
+
d-k*g;c[7]=p*d-l*g;bE(f,c,f);iE(a,!1)}function rE(a,b){if(void 0===b||b)cE(a.h,a.G),a.X=0,a.A=eE(),a.A[0]=(a.h[0]-a.L[0])/20,a.A[1]=(a.h[1]-a.L[1])/20,a.A[2]=(a.h[2]-a.L[2])/20,a.A[3]=(a.h[3]-a.L[3])/20;a.h[0]-=a.A[0];a.h[1]-=a.A[1];a.h[2]-=a.A[2];a.h[3]-=a.A[3];b=$D();fE(a.h,a.h);dE(b,a.h);a.G=b;a.J&&(a.J.stop(),a.J=null);20>a.X?a.J=(new Ob(function(){rE(a,!1);a.H=0;a.X++;iE(a,!1)})).V(.025):(dE(b,a.L),a.G=b)};function sE(a,b,c,d,e){ab.call(this);var f=this;this.i=a;this.m=b;this.L=c;this.K=d;this.u=e;this.s=new dd;this.h=new dd;this.G=tE(this);this.g=null;this.j=!1;this.J=this.I=this.H=this.F=this.A=0;this.l=null;this.s.o(d,"loading",function(){f.g&&rE(f.g);uE(f)});this.s.o(d,"spatialvideoinfo",function(g){switch(g.detail.projection){case "hequ":f.l="equirectangular";break;case "fish":f.l="equirectangular";break;default:f.l=null}uE(f)});this.s.o(d,"nospatialvideoinfo",function(){f.l=null;uE(f)});this.s.o(d,
|
|
1464
|
+
"unloading",function(){f.l=null;uE(f)});uE(this)}na(sE,ab);q=sE.prototype;q.release=function(){this.s&&(this.s.release(),this.s=null);this.h&&(this.h.release(),this.h=null);this.g&&(this.g.release(),this.g=null);ab.prototype.release.call(this)};q.configure=function(a){this.u=a;uE(this)};q.Cf=function(){return!!this.G};q.Nb=function(){return!!this.g};q.hd=function(){this.g?this.g.hd():Ua("Not playing VR content")};q.eg=function(a){this.g?qE(this.g,a*vE,0,0):Ua("Not playing VR content")};
|
|
1465
1465
|
q.cg=function(a){this.g?qE(this.g,0,a*vE,0):Ua("Not playing VR content")};q.dg=function(a){this.g?qE(this.g,0,0,a*vE):Ua("Not playing VR content")};
|
|
1466
1466
|
function uE(a){if(a.m)if(a.u.displayInVrMode||a.l){var b=a.l||a.u.defaultVrProjectionMode;a.g?a.g.F!=b&&(a.h.mb(),a.g.release(),wE(a,b)):(a.m.style.display="",wE(a,b),a.dispatchEvent(new Q("vrstatuschanged",(new Map).set("newStatus",a.Nb()))))}else a.u.displayInVrMode||a.l||!a.g||(a.m.style.display="none",a.h.mb(),a.g.release(),a.g=null,a.dispatchEvent(new Q("vrstatuschanged",(new Map).set("newStatus",a.Nb()))))}function wE(a,b){a.G&&a.m&&(a.g=new gE(a.L,a.K,a.m,a.G,b),xE(a))}
|
|
1467
1467
|
function tE(a){if(!a.m||Ub()||Xb()||Sb()||dc()||ec()||Tb("AFT")||Tb("PC=EOS")||Tb("PC=APL")||Tb("VirginMedia")||cc()||Tb("WPE")||$b()||fc()||Tb("DT_STB_BCM"))return null;for(var b=u(["webgl2","webgl"]),c=b.next();!c.done;c=b.next())if(c=a.m.getContext(c.value))return c;return null}
|
|
1468
1468
|
function xE(a){a.h.o(a.i,"mousedown",function(d){if(!a.j){var e=d.clientX;d=d.clientY;a.j=!0;a.A=e;a.F=d}});0<navigator.maxTouchPoints&&a.h.o(a.i,"touchstart",function(d){if(!a.j){var e=d.touches[0].clientX;d=d.touches[0].clientY;a.j=!0;a.A=e;a.F=d}});a.h.o(a.i,"wheel",function(d){if(!a.j){var e=a.g,f=d.deltaY;f/=50;20<=e.i&&100>=e.i&&(e.i+=f);20>e.i?e.i=20:100<e.i&&(e.i=100);iE(e,!1);d.preventDefault();d.stopPropagation()}});a.h.o(a.i,"mousemove",function(d){a.j&&yE(a,d.clientX,d.clientY)});0<navigator.maxTouchPoints&&
|
|
1469
1469
|
a.h.o(a.i,"touchmove",function(d){a.j&&yE(a,d.touches[0].clientX,d.touches[0].clientY);d.preventDefault()});a.h.o(a.i,"mouseleave",function(){a.j=!1});a.h.o(a.i,"mouseup",function(){a.j=!1});0<navigator.maxTouchPoints&&a.h.o(a.i,"touchend",function(){a.j=!1});var b=!1;if(window.DeviceOrientationEvent)if("function"==typeof DeviceMotionEvent.requestPermission){var c=function(){DeviceMotionEvent.requestPermission().then(function(d){"granted"!==d||b||(b=!0,zE(a))})};DeviceMotionEvent.requestPermission().then(function(d){a.h.Ya(a.i,
|
|
1470
1470
|
"click",c);a.h.Ya(a.i,"mouseup",c);0<navigator.maxTouchPoints&&a.h.Ya(a.i,"touchend",c);"granted"!==d?(a.h.na(a.i,"click",c),a.h.na(a.i,"mouseup",c),0<navigator.maxTouchPoints&&a.h.na(a.i,"touchend",c)):(b=!0,zE(a))}).catch(function(){a.h.Ya(a.i,"click",c);a.h.Ya(a.i,"mouseup",c);0<navigator.maxTouchPoints&&a.h.Ya(a.i,"touchend",c);a.h.na(a.i,"click",c);a.h.na(a.i,"mouseup",c);0<navigator.maxTouchPoints&&a.h.na(a.i,"touchend",c)})}else b=!0,zE(a)}
|
|
1471
|
-
function zE(a){a.h.o(window,"deviceorientation",function(b){var c=(b.alpha||0)-a.H,d=(b.beta||0)-a.I,e=(b.gamma||0)-a.J;if(10<Math.abs(c)||10<Math.abs(d)||5<Math.abs(e))d=e=c=0;a.H=b.alpha||0;a.I=b.beta||0;a.J=b.gamma||0;b=screen.orientation.angle;90==b||-90==b?qE(a.g,c*vE*-1,e*vE*-1,0):qE(a.g,c*vE*-1,d*vE,0)})}function yE(a,b,c){var d=-.6*Math.PI/180;qE(a.g,(b-a.A)*d,-1*(c-a.F)*d,0);a.A=b;a.F=c}var vE=Math.PI/180;function Z(a,b,c,d,e){
|
|
1472
|
-
g.next())yD(h.value,!1)});this.Ia=new Ob(function(){f.ic()&&BE(f)});this.I=null;this.H=[];this.ra=CE();this.i=new dd;this.u=null;this.configure(this.g);DE(this);this.ma=new Set;EE(this);this.Ia.ya(this.g.refreshTickInSeconds);this.i.o(this.ra,"locale-changed",function(g){f.Pa.setLocale(g.locales[0])})}na(Z,
|
|
1471
|
+
function zE(a){a.h.o(window,"deviceorientation",function(b){var c=(b.alpha||0)-a.H,d=(b.beta||0)-a.I,e=(b.gamma||0)-a.J;if(10<Math.abs(c)||10<Math.abs(d)||5<Math.abs(e))d=e=c=0;a.H=b.alpha||0;a.I=b.beta||0;a.J=b.gamma||0;b=screen.orientation.angle;90==b||-90==b?qE(a.g,c*vE*-1,e*vE*-1,0):qE(a.g,c*vE*-1,d*vE,0)})}function yE(a,b,c){var d=-.6*Math.PI/180;qE(a.g,(b-a.A)*d,-1*(c-a.F)*d,0);a.A=b;a.F=c}var vE=Math.PI/180;function Z(a,b,c,d,e){ab.call(this);var f=this;this.S=!0;this.g=e;this.F=new oq(c,a,this.g.castReceiverAppId,this.g.castAndroidReceiverCompatible);this.qa=!0;this.A=this.F.hc();this.s=c;this.G=this.F.Wc();this.oa=a;this.j=b;this.Bc=d;this.Pa=this.G.ue();this.l=this.m=null;this.Y=!1;this.J=[];this.Gb=[];this.$a=!1;this.P=new Ob(function(){f.j.style.cursor="none";f.$a=!1;AE(f)});this.aa=new Ob(function(){f.h.removeAttribute("shown");f.K.V(2)});this.K=new Ob(function(){for(var g=u(f.J),h=g.next();!h.done;h=
|
|
1472
|
+
g.next())yD(h.value,!1)});this.Ia=new Ob(function(){f.ic()&&BE(f)});this.I=null;this.H=[];this.ra=CE();this.i=new dd;this.u=null;this.configure(this.g);DE(this);this.ma=new Set;EE(this);this.Ia.ya(this.g.refreshTickInSeconds);this.i.o(this.ra,"locale-changed",function(g){f.Pa.setLocale(g.locales[0])})}na(Z,ab);q=Z.prototype;
|
|
1473
1473
|
q.destroy=function(){var a=this;return L(function(b){switch(b.g){case 1:if(document.pictureInPictureElement!=a.s){b.B(2);break}return D(b,document.exitPictureInPicture(),2);case 2:a.i&&(a.i.release(),a.i=null);a.P&&(a.P.stop(),a.P=null);a.aa&&(a.aa.stop(),a.aa=null);a.K&&(a.K.stop(),a.K=null);a.Ia&&(a.Ia.stop(),a.Ia=null);a.u&&(a.u.release(),a.u=null);FE(a);a.h&&(a.j.removeChild(a.h),a.h=null);if(!a.F){b.B(4);break}return D(b,a.F.destroy(),5);case 5:a.F=null;case 4:if(!a.oa){b.B(6);break}return D(b,
|
|
1474
|
-
a.oa.destroy(),7);case 7:a.oa=null;case 6:a.G=null,a.s=null,a.A=null,a.ra=null,a.ma.clear(),
|
|
1474
|
+
a.oa.destroy(),7);case 7:a.oa=null;case 6:a.G=null,a.s=null,a.A=null,a.ra=null,a.ma.clear(),ab.prototype.release.call(a),F(b)}})};function FE(a){for(var b=u(a.H),c=b.next();!c.done;c=b.next())c.value.release();a.H=[]}function GE(a,b){HE.set(a,b)}q.ni=function(a){this.qa=a;EE(this)};q.wj=function(){AE(this)};
|
|
1475
1475
|
q.configure=function(a){this.g=a;this.F.eh(a.castReceiverAppId,a.castAndroidReceiverCompatible);this.l&&(this.l=null);this.Za&&(this.Za=null);this.Qa&&(this.Qa=null);this.u&&this.u.configure(a);this.h?(Um(this.h),FE(this)):(IE(this),JE(this),this.u=new sE(this.h,this.Bc,this.s,this.G,this.g));this.j.classList.add("shaka-video-container");this.s.classList.add("shaka-video");KE(this);this.g.addBigPlayButton&&LE(this);this.g.customContextMenu&&(this.Qa=new HD(this.X,this),this.H.push(this.Qa));this.$||
|
|
1476
1476
|
ME(this);this.g.seekOnTaps&&(NE(this),OE(this));this.Ua=T("div");this.Ua.classList.add("shaka-server-side-ad-container");this.h.appendChild(this.Ua);PE(this);this.J=Array.from(this.j.getElementsByClassName("shaka-settings-menu"));this.J.push.apply(this.J,x(Array.from(this.j.getElementsByClassName("shaka-overflow-menu"))));QE(this);this.Gb=Array.from(this.j.getElementsByClassName("shaka-show-controls-on-mouse-over"));AE(this);a=u(this.j.getElementsByClassName("shaka-no-propagation"));for(var b=a.next();!b.done;b=
|
|
1477
1477
|
a.next()){b=b.value;var c=function(d){return d.stopPropagation()};this.i.o(b,"click",c);this.i.o(b,"dblclick",c)}};q.Eg=function(a){(this.S=a)?(this.j.setAttribute("shaka-controls","true"),this.s.tabIndex=-1,this.s.controls=!1):this.j.removeAttribute("shaka-controls");AE(this)};q.Oh=function(a){this.s.controls=a;this.s.tabIndex=a?0:-1;a&&this.Eg(!1)};q.getAd=function(){return this.m};q.Ei=function(){return this.F};q.Ri=function(){return this.ra};q.hj=function(){return this.j};q.hc=function(){return this.A};
|
|
@@ -1538,40 +1538,40 @@ a.Da("en",new Map([["AD_DURATION","Ad duration"],["AD_PROGRESS","Ad [AD_ON] of [
|
|
|
1538
1538
|
"\uad11\uace0 \uac74\ub108\ub6f0\uae30"],["SKIP_TO_LIVE","\ub77c\uc774\ube0c \ub3d9\uc601\uc0c1\uc73c\ub85c \uac74\ub108\ub6f0\uae30"],["UNDETERMINED_LANGUAGE","\ubbf8\uc815"],["UNMUTE","\uc74c\uc18c\uac70 \ud574\uc81c"],["UNRECOGNIZED_LANGUAGE","\uc54c \uc218 \uc5c6\uc74c"],["VOLUME","\ubcfc\ub968"]]));a.Da("nl",new Map([["AD_DURATION","Advertentieduur"],["AD_PROGRESS","Advertentie [AD_ON] van [NUM_ADS]"],["AD_TIME","Advertentie: [AD_TIME]"],["AUTO_QUALITY","Automatisch"],["BACK","Terug"],["CAPTIONS",
|
|
1539
1539
|
"Ondertiteling"],["CAST","Casten..."],["ENTER_LOOP_MODE","De huidige video lussen"],["ENTER_PICTURE_IN_PICTURE","Scherm-in-scherm openen"],["EXIT_FULL_SCREEN","Volledig scherm sluiten"],["EXIT_LOOP_MODE","De huidige video niet meer lussen"],["EXIT_PICTURE_IN_PICTURE","Scherm-in-scherm afsluiten"],["FAST_FORWARD","Vooruitspoelen"],["FULL_SCREEN","Volledig scherm"],["LANGUAGE","Taal"],["LIVE","Live"],["LOOP","Lussen"],["MORE_SETTINGS","Meer instellingen"],["MULTIPLE_LANGUAGES","Meerdere talen"],["MUTE",
|
|
1540
1540
|
"Dempen"],["NOT_APPLICABLE","Niet van toepassing"],["OFF","Uit"],["ON","Aan"],["PAUSE","Onderbreken"],["PICTURE_IN_PICTURE","Scherm-in-scherm"],["PLAY","Afspelen"],["PLAYBACK_RATE","Afspeelsnelheid"],["RESOLUTION","Resolutie"],["REWIND","Terugspoelen"],["SEEK","Zoeken"],["SKIP_AD","Advertentie overslaan"],["SKIP_TO_LIVE","Doorgaan naar live"],["UNDETERMINED_LANGUAGE","Onbepaald"],["UNMUTE","Dempen opheffen"],["UNRECOGNIZED_LANGUAGE","Onbekend"],["VOLUME","Volume"]]));a.Da("pl",new Map([["AD_DURATION",
|
|
1541
|
-
"Czas trwania reklamy"],["AD_PROGRESS","Reklama
|
|
1542
|
-
["EXIT_PICTURE_IN_PICTURE","Wy\u0142\u0105cz tryb obrazu w
|
|
1543
|
-
|
|
1544
|
-
["AD_PROGRESS","An\u00fancio [AD_ON] de [NUM_ADS]"],["AD_TIME","An\u00fancio: [AD_TIME]"],["AUTO_QUALITY","Autom\u00e1tica"],["BACK","Voltar"],["CAPTIONS","Legendas"],["CAST","Transmitir..."],["ENTER_LOOP_MODE","Repetir o v\u00eddeo atual"],["ENTER_PICTURE_IN_PICTURE",
|
|
1545
|
-
|
|
1546
|
-
["SKIP_AD","Pular an\u00fancio"],["SKIP_TO_LIVE","Pular para transmiss\u00e3o ao vivo"],["UNDETERMINED_LANGUAGE","Indeterminado"],["UNMUTE","Ativar som"],["UNRECOGNIZED_LANGUAGE","N\u00e3o reconhecido"],["VOLUME","Volume"]]));a.Da("ru",new Map([["AD_DURATION","\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0440\u0435\u043a\u043b\u0430\u043c\u044b"],
|
|
1547
|
-
["AD_TIME","\u0420\u0435\u043a\u043b\u0430\u043c\u0430: [AD_TIME]"],["AUTO_QUALITY","\u0410\u0432\u0442\u043e"],["BACK","\u041d\u0430\u0437\u0430\u0434"],["CAPTIONS","\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b"],["CAST","\u0422\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c..."],["ENTER_LOOP_MODE","\u0417\u0430\u0446\u0438\u043a\u043b\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043e"],
|
|
1548
|
-
["EXIT_FULL_SCREEN","\u041e\u0431\u044b\u0447\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c"],["EXIT_LOOP_MODE","\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0437\u0430\u0446\u0438\u043a\u043b\u0438\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0432\u0438\u0434\u0435\u043e"],
|
|
1549
|
-
["FAST_FORWARD","\u041f\u0435\u0440\u0435\u043c\u043e\u0442\u043a\u0430 \u0432\u043f\u0435\u0440\u0435\u0434"],["FULL_SCREEN","\u041f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c"],["LANGUAGE","\u042f\u0437\u044b\u043a"],["LIVE",
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
"\
|
|
1553
|
-
["VOLUME","\u0413\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c"]]));a.Da("th",new Map([["AD_DURATION","\u0e23\u0e30\u0e22\u0e30\u0e40\u0e27\u0e25\u0e32\u0e42\u0e06\u0e29\u0e13\u0e32"],["AD_PROGRESS","\u0e42\u0e06\u0e29\u0e13\u0e32 [AD_ON] \u0e08\u0e32\u0e01 [NUM_ADS] \u0e23\u0e32\u0e22\u0e01\u0e32\u0e23"],
|
|
1554
|
-
["CAST","\u0e41\u0e04\u0e2a\u0e15\u0e4c..."],["ENTER_LOOP_MODE","\u0e27\u0e19\u0e0b\u0e49\u0e33\u0e27\u0e34\u0e14\u0e35\u0e42\u0e2d\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19"],["ENTER_PICTURE_IN_PICTURE","\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e20\u0e32\u0e1e\u0e0b\u0e49\u0e2d\u0e19\u0e20\u0e32\u0e1e"],
|
|
1555
|
-
["EXIT_LOOP_MODE","\u0e2b\u0e22\u0e38\u0e14\u0e27\u0e19\u0e0b\u0e49\u0e33\u0e27\u0e34\u0e14\u0e35\u0e42\u0e2d\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19"],["EXIT_PICTURE_IN_PICTURE","\u0e2d\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e20\u0e32\u0e1e\u0e0b\u0e49\u0e2d\u0e19\u0e20\u0e32\u0e1e"],
|
|
1556
|
-
["LANGUAGE","\u0e20\u0e32\u0e29\u0e32"],["LIVE","\u0e2a\u0e14"],["LOOP","\u0e25\u0e39\u0e1b"],["MORE_SETTINGS","\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21"],["MULTIPLE_LANGUAGES","\u0e2b\u0e25\u0e32\u0e22\u0e20\u0e32\u0e29\u0e32"],["MUTE","\u0e1b\u0e34\u0e14\u0e40\u0e2a\u0e35\u0e22\u0e07"],
|
|
1557
|
-
["PAUSE","\u0e2b\u0e22\u0e38\u0e14\u0e0a\u0e31\u0e48\u0e27\u0e04\u0e23\u0e32\u0e27"],["PICTURE_IN_PICTURE","\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e20\u0e32\u0e1e\u0e0b\u0e49\u0e2d\u0e19\u0e20\u0e32\u0e1e"],["PLAY","\u0e40\u0e25\u0e48\u0e19"],["PLAYBACK_RATE","\u0e04\u0e27\u0e32\u0e21\u0e40\u0e23\u0e47\u0e27\u0e43\u0e19\u0e01\u0e32\u0e23\u0e40\u0e25\u0e48\u0e19"],
|
|
1558
|
-
["SEEK","\u0e04\u0e49\u0e19\u0e2b\u0e32"],["SKIP_AD","\u0e02\u0e49\u0e32\u0e21\u0e42\u0e06\u0e29\u0e13\u0e32"],["SKIP_TO_LIVE","\u0e02\u0e49\u0e32\u0e21\u0e44\u0e1b\u0e17\u0e35\u0e48\u0e01\u0e32\u0e23\u0e16\u0e48\u0e32\u0e22\u0e17\u0e2d\u0e14\u0e2a\u0e14"],["UNDETERMINED_LANGUAGE","\u0e44\u0e21\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14"],["UNMUTE","\u0e40\u0e1b\u0e34\u0e14\u0e40\u0e2a\u0e35\u0e22\u0e07"],
|
|
1559
|
-
["VOLUME","\u0e23\u0e30\u0e14\u0e31\u0e1a\u0e40\u0e2a\u0e35\u0e22\u0e07"]]));a.Da("tr",new Map([["AD_DURATION","Reklam s\u00fcresi"],["AD_PROGRESS","[AD_ON]/[NUM_ADS] reklam"],["AD_TIME","Reklam: [AD_TIME]"],["AUTO_QUALITY","Otomatik"],["BACK","Geri"],["CAPTIONS","Altyaz\u0131lar"],["CAST","Yay\u0131nla..."],["ENTER_LOOP_MODE","Mevcut videoyu d\u00f6ng\u00fcye al"],["ENTER_PICTURE_IN_PICTURE","Pencere i\u00e7inde Pencere moduna gir"],
|
|
1560
|
-
"Mevcut videonun d\u00f6ng\u00fcs\u00fcn\u00fc durdur"],["EXIT_PICTURE_IN_PICTURE","Pencere \u0130\u00e7inde Pencereden \u00c7\u0131k"],["FAST_FORWARD","\u0130leri sar"],["FULL_SCREEN","Tam ekran"],["LANGUAGE","Dil"],["LIVE","Canl\u0131"],["LOOP","D\u00f6ng\u00fc"],["MORE_SETTINGS","Daha fazla ayar"],["MULTIPLE_LANGUAGES","Birden \u00e7ok dil"],["MUTE","Sesi kapat"],["NOT_APPLICABLE","Ge\u00e7erli de\u011fil"],["OFF","Kapal\u0131"],
|
|
1561
|
-
"Pencere \u0130\u00e7inde Pencere"],["PLAY","Oynat"],["PLAYBACK_RATE","\u00c7alma h\u0131z\u0131"],["RESOLUTION","\u00c7\u00f6z\u00fcn\u00fcrl\u00fck"],["REWIND","Geri sar"],["SEEK","Ara"],["SKIP_AD","Reklam\u0131 Atla"],["SKIP_TO_LIVE","Canl\u0131 yay\u0131na atla"],["UNDETERMINED_LANGUAGE","Belirsiz"],["UNMUTE","Sesi a\u00e7"],["UNRECOGNIZED_LANGUAGE","Tan\u0131nmayan"],["VOLUME","Ses"]]));a.Da("zh",new Map([["AD_DURATION","\u5e7f\u544a\u6301\u7eed\u65f6\u95f4"],
|
|
1562
|
-
["AD_TIME","\u5e7f\u544a\uff1a[AD_TIME]"],["AUTO_QUALITY","\u81ea\u52a8"],["BACK","\u8fd4\u56de"],["CAPTIONS","\u5b57\u5e55"],["CAST","\u6295\u5c04\u2026"],["ENTER_LOOP_MODE","\u5faa\u73af\u64ad\u653e\u5f53\u524d\u89c6\u9891"],["ENTER_PICTURE_IN_PICTURE","\u8fdb\u5165\u201c\u753b\u4e2d\u753b\u201d\u6a21\u5f0f"],["EXIT_FULL_SCREEN","\u9000\u51fa\u5168\u5c4f\u6a21\u5f0f"],["EXIT_LOOP_MODE","\u505c\u6b62\u5faa\u73af\u64ad\u653e\u5f53\u524d\u89c6\u9891"],
|
|
1563
|
-
["FAST_FORWARD","\u5feb\u8fdb"],["FULL_SCREEN","\u5168\u5c4f"],["LANGUAGE","\u8bed\u8a00"],["LIVE","\u76f4\u64ad"],["LOOP","\u5faa\u73af\u64ad\u653e"],["MORE_SETTINGS","\u66f4\u591a\u8bbe\u7f6e"],["MULTIPLE_LANGUAGES","\u591a\u79cd\u8bed\u8a00"],["MUTE","\u9759\u97f3"],["NOT_APPLICABLE","\u4e0d\u9002\u7528"],["OFF","\u5173\u95ed"],["ON","\u5f00\u542f"],["PAUSE","\u6682\u505c"],["PICTURE_IN_PICTURE","\u753b\u4e2d\u753b"],
|
|
1564
|
-
"\u5206\u8fa8\u7387"],["REWIND","\u5feb\u9000"],["SEEK","\u8fdb\u5ea6"],["SKIP_AD","\u8df3\u8fc7\u5e7f\u544a"],["SKIP_TO_LIVE","\u8df3\u81f3\u5f53\u524d\u76f4\u64ad"],["UNDETERMINED_LANGUAGE","\u672a\u786e\u5b9a"],["UNMUTE","\u53d6\u6d88\u9759\u97f3"],["UNRECOGNIZED_LANGUAGE","\u65e0\u6cd5\u8bc6\u522b"],["VOLUME","\u97f3\u91cf"]]));a.Da("zh-TW",new Map([["AD_DURATION","\u5ee3\u544a\u9577\u5ea6"],["AD_PROGRESS","\u5ee3\u544a [AD_ON]/[NUM_ADS]"],
|
|
1565
|
-
"\u81ea\u52d5"],["BACK","\u8fd4\u56de"],["CAPTIONS","\u5b57\u5e55"],["CAST","\u6295\u653e..."],["ENTER_LOOP_MODE","\u5faa\u74b0\u64ad\u653e\u76ee\u524d\u7684\u5f71\u7247"],["ENTER_PICTURE_IN_PICTURE","\u9032\u5165\u5b50\u6bcd\u756b\u9762"],["EXIT_FULL_SCREEN","\u9000\u51fa\u5168\u87a2\u5e55\u6a21\u5f0f"],["EXIT_LOOP_MODE","\u505c\u6b62\u5faa\u74b0\u64ad\u653e\u76ee\u524d\u7684\u5f71\u7247"],["EXIT_PICTURE_IN_PICTURE","\u96e2\u958b\u5b50\u6bcd\u756b\u9762"],
|
|
1566
|
-
"\u5168\u87a2\u5e55"],["LANGUAGE","\u8a9e\u8a00"],["LIVE","\u76f4\u64ad"],["LOOP","\u5faa\u74b0\u64ad\u653e"],["MORE_SETTINGS","\u986f\u793a\u66f4\u591a\u8a2d\u5b9a"],["MULTIPLE_LANGUAGES","\u591a\u7a2e\u8a9e\u8a00"],["MUTE","\u975c\u97f3"],["NOT_APPLICABLE","\u4e0d\u9069\u7528"],["OFF","\u95dc\u9589"],["ON","\u958b\u555f"],["PAUSE","\u66ab\u505c"],["PICTURE_IN_PICTURE","\u5b50\u6bcd\u756b\u9762"],["PLAY","\u64ad\u653e"],["PLAYBACK_RATE","\u64ad\u653e\u901f\u5ea6"],
|
|
1567
|
-
["REWIND","\u5012\u8f49"],["SEEK","\u641c\u5c0b"],["SKIP_AD","\u7565\u904e\u5ee3\u544a"],["SKIP_TO_LIVE","\u8df3\u81f3\u5f53\u524d\u76f4\u64ad"],["UNDETERMINED_LANGUAGE","\u4e0d\u660e"],["UNMUTE","\u53d6\u6d88\u975c\u97f3"],["UNRECOGNIZED_LANGUAGE","\u7121\u6cd5\u8fa8\u8b58"],["VOLUME","\u97f3\u91cf"]]));a.dh(navigator.languages||[]);return a}N("shaka.ui.Controls",Z);Z.prototype.incrementRoll=Z.prototype.dg;Z.prototype.incrementPitch=Z.prototype.cg;
|
|
1568
|
-
Z.prototype.toggleStereoscopicMode=Z.prototype.hd;Z.prototype.setVRFieldOfView=Z.prototype.gk;Z.prototype.getVRFieldOfView=Z.prototype.ej;Z.prototype.getVRNorth=Z.prototype.fj;Z.prototype.isPlayingVR=Z.prototype.Nb;Z.prototype.canPlayVR=Z.prototype.Cf;Z.prototype.hideUI=Z.prototype.mj;Z.prototype.showUI=Z.prototype.hk;Z.prototype.isOpaque=Z.prototype.ic;Z.prototype.hideAdUI=Z.prototype.sh;Z.prototype.showAdUI=Z.prototype.Vh;Z.prototype.togglePiP=Z.prototype.$d;
|
|
1569
|
-
Z.prototype.isPiPAllowed=Z.prototype.De;Z.prototype.toggleFullScreen=Z.prototype.cf;Z.prototype.isFullScreenEnabled=Z.prototype.Zc;Z.prototype.isFullScreenSupported=Z.prototype.Pd;Z.prototype.hideSettingsMenus=Z.prototype.wc;Z.prototype.anySettingsMenusAreOpen=Z.prototype.Bd;Z.prototype.setLastTouchEventTime=Z.prototype.Qh;Z.prototype.getDisplayTime=Z.prototype.Wf;Z.prototype.isCastAllowed=Z.prototype.nj;Z.prototype.setSeeking=Z.prototype.Hg;
|
|
1570
|
-
Z.prototype.getConfig=Z.prototype.Hi;Z.prototype.getClientSideAdContainer=Z.prototype.Gi;Z.prototype.getServerSideAdContainer=Z.prototype.Zi;Z.prototype.getControlsContainer=Z.prototype.Ji;Z.prototype.getLocalPlayer=Z.prototype.Pi;Z.prototype.getPlayer=Z.prototype.Wc;Z.prototype.getLocalVideo=Z.prototype.Qi;Z.prototype.getVideo=Z.prototype.hc;Z.prototype.getVideoContainer=Z.prototype.hj;Z.prototype.getLocalization=Z.prototype.Ri;Z.prototype.getCastProxy=Z.prototype.Ei;
|
|
1571
|
-
Z.prototype.setEnabledNativeControls=Z.prototype.Oh;Z.prototype.setEnabledShakaControls=Z.prototype.Eg;Z.prototype.configure=Z.prototype.configure;Z.prototype.loadComplete=Z.prototype.wj;Z.prototype.allowCast=Z.prototype.ni;Z.registerSeekBar=function(a){YE=a};Z.registerElement=GE;Z.prototype.destroy=Z.prototype.destroy;var HE=new Map,YE=new ZD;function eF(a,b){tD.call(this,a,b);var c=this;this.l=this.controls.g;this.j=this.controls.h;this.i=[];this.g=Tm();this.g.classList.add("shaka-overflow-menu-button");this.g.classList.add("shaka-no-propagation");this.g.classList.add("material-icons-round");this.g.classList.add("shaka-tooltip");this.g.textContent="more_vert";this.parent.appendChild(this.g);this.h=T("div");this.h.classList.add("shaka-overflow-menu");this.h.classList.add("shaka-no-propagation");this.h.classList.add("shaka-show-controls-on-mouse-over");
|
|
1541
|
+
"Czas trwania reklamy"],["AD_PROGRESS","Reklama [AD_ON] z [NUM_ADS]"],["AD_STATISTICS","Statystyki reklam"],["AD_TIME","Reklama: [AD_TIME]"],["AIRPLAY","AirPlay"],["AUTO_QUALITY","Automatycznie"],["BACK","Wstecz"],["CAPTIONS","Napisy"],["CAST","Przesy\u0142aj..."],["ENTER_LOOP_MODE","Odtwarzaj bie\u017c\u0105cy film w p\u0119tli"],["ENTER_PICTURE_IN_PICTURE","W\u0142\u0105cz tryb obrazu w obrazie"],["EXIT_FULL_SCREEN","Zamknij pe\u0142ny ekran"],["EXIT_LOOP_MODE","Wy\u0142\u0105cz odtwarzanie bie\u017c\u0105cego filmu w p\u0119tli"],
|
|
1542
|
+
["EXIT_PICTURE_IN_PICTURE","Wy\u0142\u0105cz tryb obrazu w obrazie"],["FAST_FORWARD","Przewi\u0144 do przodu"],["FULL_SCREEN","Pe\u0142ny ekran"],["LANGUAGE","J\u0119zyk"],["LIVE","Na \u017cywo"],["LOOP","Odtwarzaj w p\u0119tli"],["MORE_SETTINGS","Wi\u0119cej ustawie\u0144"],["MULTIPLE_LANGUAGES","Wiele j\u0119zyk\u00f3w"],["MUTE","Wycisz"],["NOT_APPLICABLE","Nie dotyczy"],["OFF","Wy\u0142\u0105czone"],["ON","W\u0142\u0105czone"],["PAUSE","Wstrzymaj"],["PICTURE_IN_PICTURE","Obraz w obrazie"],["PLAY",
|
|
1543
|
+
"Odtw\u00f3rz"],["PLAYBACK_RATE","Szybko\u015b\u0107 odtwarzania"],["QUALITY","Jako\u015b\u0107"],["RECENTER_VR","Wycentruj"],["REPLAY","Odtw\u00f3rz od nowa"],["RESOLUTION","Rozdzielczo\u015b\u0107"],["REWIND","Przewi\u0144 do ty\u0142u"],["SEEK","Szukaj"],["SKIP_AD","Pomi\u0144 reklam\u0119"],["SKIP_TO_LIVE","Przejd\u017a do transmisji na \u017cywo"],["STATISTICS","Statystyki"],["SUBTITLE_FORCED","Wymuszone"],["SURROUND","Przestrzenny"],["TOGGLE_STEREOSCOPIC","Prze\u0142\u0105cz widok stereoskopowy"],
|
|
1544
|
+
["UNDETERMINED_LANGUAGE","Nie okre\u015blono"],["UNMUTE","Wy\u0142\u0105cz wyciszenie"],["UNRECOGNIZED_LANGUAGE","Nierozpoznany"],["VOLUME","G\u0142o\u015bno\u015b\u0107"]]));a.Da("pt-BR",new Map([["AD_DURATION","Dura\u00e7\u00e3o do an\u00fancio"],["AD_PROGRESS","An\u00fancio [AD_ON] de [NUM_ADS]"],["AD_TIME","An\u00fancio: [AD_TIME]"],["AUTO_QUALITY","Autom\u00e1tica"],["BACK","Voltar"],["CAPTIONS","Legendas"],["CAST","Transmitir..."],["ENTER_LOOP_MODE","Repetir o v\u00eddeo atual"],["ENTER_PICTURE_IN_PICTURE",
|
|
1545
|
+
"Entrar no modo picture-in-picture"],["EXIT_FULL_SCREEN","Sair do modo tela cheia"],["EXIT_LOOP_MODE","Parar repeti\u00e7\u00e3o do v\u00eddeo atual"],["EXIT_PICTURE_IN_PICTURE","Sair de picture-in-picture"],["FAST_FORWARD","Avan\u00e7ar"],["FULL_SCREEN","Tela cheia"],["LANGUAGE","Idioma"],["LIVE","Ao vivo"],["LOOP","Repetir"],["MORE_SETTINGS","Mais defini\u00e7\u00f5es"],["MULTIPLE_LANGUAGES","V\u00e1rios idiomas"],["MUTE","Desativar som"],["NOT_APPLICABLE","N\u00e3o relevante"],["OFF","Desativado"],
|
|
1546
|
+
["ON","Ativado"],["PAUSE","Pausar"],["PICTURE_IN_PICTURE","Picture-in-picture"],["PLAY","Reproduzir"],["PLAYBACK_RATE","Velocidade da reprodu\u00e7\u00e3o"],["RESOLUTION","Resolu\u00e7\u00e3o"],["REWIND","Retroceder"],["SEEK","Procurar"],["SKIP_AD","Pular an\u00fancio"],["SKIP_TO_LIVE","Pular para transmiss\u00e3o ao vivo"],["UNDETERMINED_LANGUAGE","Indeterminado"],["UNMUTE","Ativar som"],["UNRECOGNIZED_LANGUAGE","N\u00e3o reconhecido"],["VOLUME","Volume"]]));a.Da("ru",new Map([["AD_DURATION","\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0440\u0435\u043a\u043b\u0430\u043c\u044b"],
|
|
1547
|
+
["AD_PROGRESS","\u0420\u0435\u043a\u043b\u0430\u043c\u0430 [AD_ON] \u0438\u0437 [NUM_ADS]"],["AD_TIME","\u0420\u0435\u043a\u043b\u0430\u043c\u0430: [AD_TIME]"],["AUTO_QUALITY","\u0410\u0432\u0442\u043e"],["BACK","\u041d\u0430\u0437\u0430\u0434"],["CAPTIONS","\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044b"],["CAST","\u0422\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c..."],["ENTER_LOOP_MODE","\u0417\u0430\u0446\u0438\u043a\u043b\u0438\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043e"],
|
|
1548
|
+
["ENTER_PICTURE_IN_PICTURE",'\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0440\u0435\u0436\u0438\u043c "\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0432 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435"'],["EXIT_FULL_SCREEN","\u041e\u0431\u044b\u0447\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c"],["EXIT_LOOP_MODE","\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0437\u0430\u0446\u0438\u043a\u043b\u0438\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0432\u0438\u0434\u0435\u043e"],
|
|
1549
|
+
["EXIT_PICTURE_IN_PICTURE",'\u0412\u044b\u0439\u0442\u0438 \u0438\u0437 \u0440\u0435\u0436\u0438\u043c\u0430 "\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0432 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435"'],["FAST_FORWARD","\u041f\u0435\u0440\u0435\u043c\u043e\u0442\u043a\u0430 \u0432\u043f\u0435\u0440\u0435\u0434"],["FULL_SCREEN","\u041f\u043e\u043b\u043d\u043e\u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c"],["LANGUAGE","\u042f\u0437\u044b\u043a"],["LIVE",
|
|
1550
|
+
"\u041f\u0440\u044f\u043c\u043e\u0439 \u044d\u0444\u0438\u0440"],["LOOP","\u0417\u0430\u0446\u0438\u043a\u043b\u0438\u0442\u044c"],["MORE_SETTINGS","\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438"],["MULTIPLE_LANGUAGES","\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044f\u0437\u044b\u043a\u043e\u0432"],["MUTE","\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0432\u0443\u043a"],["NOT_APPLICABLE",
|
|
1551
|
+
"\u041d\u0435\u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u043e"],["OFF","\u0412\u044b\u043a\u043b."],["ON","\u0412\u043a\u043b."],["PAUSE","\u041f\u0430\u0443\u0437\u0430"],["PICTURE_IN_PICTURE","\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u0432 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435"],["PLAY","\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438"],["PLAYBACK_RATE","\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f"],
|
|
1552
|
+
["RESOLUTION","\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435"],["REWIND","\u041f\u0435\u0440\u0435\u043c\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u0437\u0430\u0434"],["SEEK","\u041f\u0435\u0440\u0435\u043c\u043e\u0442\u043a\u0430"],["SKIP_AD","\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c"],["SKIP_TO_LIVE","\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u043f\u0440\u044f\u043c\u043e\u0439 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0438"],
|
|
1553
|
+
["UNDETERMINED_LANGUAGE","\u041d\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043e"],["UNMUTE","\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0437\u0432\u0443\u043a"],["UNRECOGNIZED_LANGUAGE","\u041d\u0435 \u0440\u0430\u0441\u043f\u043e\u0437\u043d\u0430\u043d\u043e"],["VOLUME","\u0413\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c"]]));a.Da("th",new Map([["AD_DURATION","\u0e23\u0e30\u0e22\u0e30\u0e40\u0e27\u0e25\u0e32\u0e42\u0e06\u0e29\u0e13\u0e32"],["AD_PROGRESS","\u0e42\u0e06\u0e29\u0e13\u0e32 [AD_ON] \u0e08\u0e32\u0e01 [NUM_ADS] \u0e23\u0e32\u0e22\u0e01\u0e32\u0e23"],
|
|
1554
|
+
["AD_TIME","\u0e42\u0e06\u0e29\u0e13\u0e32: [AD_TIME]"],["AUTO_QUALITY","\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34"],["BACK","\u0e01\u0e25\u0e31\u0e1a"],["CAPTIONS","\u0e04\u0e33\u0e1a\u0e23\u0e23\u0e22\u0e32\u0e22"],["CAST","\u0e41\u0e04\u0e2a\u0e15\u0e4c..."],["ENTER_LOOP_MODE","\u0e27\u0e19\u0e0b\u0e49\u0e33\u0e27\u0e34\u0e14\u0e35\u0e42\u0e2d\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19"],["ENTER_PICTURE_IN_PICTURE","\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e20\u0e32\u0e1e\u0e0b\u0e49\u0e2d\u0e19\u0e20\u0e32\u0e1e"],
|
|
1555
|
+
["EXIT_FULL_SCREEN","\u0e2d\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e41\u0e1a\u0e1a\u0e40\u0e15\u0e47\u0e21\u0e2b\u0e19\u0e49\u0e32\u0e08\u0e2d"],["EXIT_LOOP_MODE","\u0e2b\u0e22\u0e38\u0e14\u0e27\u0e19\u0e0b\u0e49\u0e33\u0e27\u0e34\u0e14\u0e35\u0e42\u0e2d\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19"],["EXIT_PICTURE_IN_PICTURE","\u0e2d\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e20\u0e32\u0e1e\u0e0b\u0e49\u0e2d\u0e19\u0e20\u0e32\u0e1e"],
|
|
1556
|
+
["FAST_FORWARD","\u0e01\u0e23\u0e2d\u0e44\u0e1b\u0e02\u0e49\u0e32\u0e07\u0e2b\u0e19\u0e49\u0e32"],["FULL_SCREEN","\u0e40\u0e15\u0e47\u0e21\u0e2b\u0e19\u0e49\u0e32\u0e08\u0e2d"],["LANGUAGE","\u0e20\u0e32\u0e29\u0e32"],["LIVE","\u0e2a\u0e14"],["LOOP","\u0e25\u0e39\u0e1b"],["MORE_SETTINGS","\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e15\u0e34\u0e21"],["MULTIPLE_LANGUAGES","\u0e2b\u0e25\u0e32\u0e22\u0e20\u0e32\u0e29\u0e32"],["MUTE","\u0e1b\u0e34\u0e14\u0e40\u0e2a\u0e35\u0e22\u0e07"],
|
|
1557
|
+
["NOT_APPLICABLE","\u0e44\u0e21\u0e48\u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e02\u0e49\u0e2d\u0e07"],["OFF","\u0e1b\u0e34\u0e14"],["ON","\u0e40\u0e1b\u0e34\u0e14"],["PAUSE","\u0e2b\u0e22\u0e38\u0e14\u0e0a\u0e31\u0e48\u0e27\u0e04\u0e23\u0e32\u0e27"],["PICTURE_IN_PICTURE","\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e20\u0e32\u0e1e\u0e0b\u0e49\u0e2d\u0e19\u0e20\u0e32\u0e1e"],["PLAY","\u0e40\u0e25\u0e48\u0e19"],["PLAYBACK_RATE","\u0e04\u0e27\u0e32\u0e21\u0e40\u0e23\u0e47\u0e27\u0e43\u0e19\u0e01\u0e32\u0e23\u0e40\u0e25\u0e48\u0e19"],
|
|
1558
|
+
["RESOLUTION","\u0e04\u0e27\u0e32\u0e21\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14"],["REWIND","\u0e01\u0e23\u0e2d\u0e01\u0e25\u0e31\u0e1a"],["SEEK","\u0e04\u0e49\u0e19\u0e2b\u0e32"],["SKIP_AD","\u0e02\u0e49\u0e32\u0e21\u0e42\u0e06\u0e29\u0e13\u0e32"],["SKIP_TO_LIVE","\u0e02\u0e49\u0e32\u0e21\u0e44\u0e1b\u0e17\u0e35\u0e48\u0e01\u0e32\u0e23\u0e16\u0e48\u0e32\u0e22\u0e17\u0e2d\u0e14\u0e2a\u0e14"],["UNDETERMINED_LANGUAGE","\u0e44\u0e21\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14"],["UNMUTE","\u0e40\u0e1b\u0e34\u0e14\u0e40\u0e2a\u0e35\u0e22\u0e07"],
|
|
1559
|
+
["UNRECOGNIZED_LANGUAGE","\u0e17\u0e35\u0e48\u0e44\u0e21\u0e48\u0e23\u0e39\u0e49\u0e08\u0e31\u0e01"],["VOLUME","\u0e23\u0e30\u0e14\u0e31\u0e1a\u0e40\u0e2a\u0e35\u0e22\u0e07"]]));a.Da("tr",new Map([["AD_DURATION","Reklam s\u00fcresi"],["AD_PROGRESS","[AD_ON]/[NUM_ADS] reklam"],["AD_TIME","Reklam: [AD_TIME]"],["AUTO_QUALITY","Otomatik"],["BACK","Geri"],["CAPTIONS","Altyaz\u0131lar"],["CAST","Yay\u0131nla..."],["ENTER_LOOP_MODE","Mevcut videoyu d\u00f6ng\u00fcye al"],["ENTER_PICTURE_IN_PICTURE","Pencere i\u00e7inde Pencere moduna gir"],
|
|
1560
|
+
["EXIT_FULL_SCREEN","Tam ekrandan \u00e7\u0131k"],["EXIT_LOOP_MODE","Mevcut videonun d\u00f6ng\u00fcs\u00fcn\u00fc durdur"],["EXIT_PICTURE_IN_PICTURE","Pencere \u0130\u00e7inde Pencereden \u00c7\u0131k"],["FAST_FORWARD","\u0130leri sar"],["FULL_SCREEN","Tam ekran"],["LANGUAGE","Dil"],["LIVE","Canl\u0131"],["LOOP","D\u00f6ng\u00fc"],["MORE_SETTINGS","Daha fazla ayar"],["MULTIPLE_LANGUAGES","Birden \u00e7ok dil"],["MUTE","Sesi kapat"],["NOT_APPLICABLE","Ge\u00e7erli de\u011fil"],["OFF","Kapal\u0131"],
|
|
1561
|
+
["ON","A\u00e7\u0131k"],["PAUSE","Duraklat"],["PICTURE_IN_PICTURE","Pencere \u0130\u00e7inde Pencere"],["PLAY","Oynat"],["PLAYBACK_RATE","\u00c7alma h\u0131z\u0131"],["RESOLUTION","\u00c7\u00f6z\u00fcn\u00fcrl\u00fck"],["REWIND","Geri sar"],["SEEK","Ara"],["SKIP_AD","Reklam\u0131 Atla"],["SKIP_TO_LIVE","Canl\u0131 yay\u0131na atla"],["UNDETERMINED_LANGUAGE","Belirsiz"],["UNMUTE","Sesi a\u00e7"],["UNRECOGNIZED_LANGUAGE","Tan\u0131nmayan"],["VOLUME","Ses"]]));a.Da("zh",new Map([["AD_DURATION","\u5e7f\u544a\u6301\u7eed\u65f6\u95f4"],
|
|
1562
|
+
["AD_PROGRESS","\u5e7f\u544a [AD_ON]/[NUM_ADS]"],["AD_TIME","\u5e7f\u544a\uff1a[AD_TIME]"],["AUTO_QUALITY","\u81ea\u52a8"],["BACK","\u8fd4\u56de"],["CAPTIONS","\u5b57\u5e55"],["CAST","\u6295\u5c04\u2026"],["ENTER_LOOP_MODE","\u5faa\u73af\u64ad\u653e\u5f53\u524d\u89c6\u9891"],["ENTER_PICTURE_IN_PICTURE","\u8fdb\u5165\u201c\u753b\u4e2d\u753b\u201d\u6a21\u5f0f"],["EXIT_FULL_SCREEN","\u9000\u51fa\u5168\u5c4f\u6a21\u5f0f"],["EXIT_LOOP_MODE","\u505c\u6b62\u5faa\u73af\u64ad\u653e\u5f53\u524d\u89c6\u9891"],
|
|
1563
|
+
["EXIT_PICTURE_IN_PICTURE","\u9000\u51fa\u201c\u753b\u4e2d\u753b\u201d\u6a21\u5f0f"],["FAST_FORWARD","\u5feb\u8fdb"],["FULL_SCREEN","\u5168\u5c4f"],["LANGUAGE","\u8bed\u8a00"],["LIVE","\u76f4\u64ad"],["LOOP","\u5faa\u73af\u64ad\u653e"],["MORE_SETTINGS","\u66f4\u591a\u8bbe\u7f6e"],["MULTIPLE_LANGUAGES","\u591a\u79cd\u8bed\u8a00"],["MUTE","\u9759\u97f3"],["NOT_APPLICABLE","\u4e0d\u9002\u7528"],["OFF","\u5173\u95ed"],["ON","\u5f00\u542f"],["PAUSE","\u6682\u505c"],["PICTURE_IN_PICTURE","\u753b\u4e2d\u753b"],
|
|
1564
|
+
["PLAY","\u64ad\u653e"],["PLAYBACK_RATE","\u64ad\u653e\u901f\u5ea6"],["RESOLUTION","\u5206\u8fa8\u7387"],["REWIND","\u5feb\u9000"],["SEEK","\u8fdb\u5ea6"],["SKIP_AD","\u8df3\u8fc7\u5e7f\u544a"],["SKIP_TO_LIVE","\u8df3\u81f3\u5f53\u524d\u76f4\u64ad"],["UNDETERMINED_LANGUAGE","\u672a\u786e\u5b9a"],["UNMUTE","\u53d6\u6d88\u9759\u97f3"],["UNRECOGNIZED_LANGUAGE","\u65e0\u6cd5\u8bc6\u522b"],["VOLUME","\u97f3\u91cf"]]));a.Da("zh-TW",new Map([["AD_DURATION","\u5ee3\u544a\u9577\u5ea6"],["AD_PROGRESS","\u5ee3\u544a [AD_ON]/[NUM_ADS]"],
|
|
1565
|
+
["AD_TIME","\u5ee3\u544a\uff1a[AD_TIME]"],["AUTO_QUALITY","\u81ea\u52d5"],["BACK","\u8fd4\u56de"],["CAPTIONS","\u5b57\u5e55"],["CAST","\u6295\u653e..."],["ENTER_LOOP_MODE","\u5faa\u74b0\u64ad\u653e\u76ee\u524d\u7684\u5f71\u7247"],["ENTER_PICTURE_IN_PICTURE","\u9032\u5165\u5b50\u6bcd\u756b\u9762"],["EXIT_FULL_SCREEN","\u9000\u51fa\u5168\u87a2\u5e55\u6a21\u5f0f"],["EXIT_LOOP_MODE","\u505c\u6b62\u5faa\u74b0\u64ad\u653e\u76ee\u524d\u7684\u5f71\u7247"],["EXIT_PICTURE_IN_PICTURE","\u96e2\u958b\u5b50\u6bcd\u756b\u9762"],
|
|
1566
|
+
["FAST_FORWARD","\u5feb\u8f49"],["FULL_SCREEN","\u5168\u87a2\u5e55"],["LANGUAGE","\u8a9e\u8a00"],["LIVE","\u76f4\u64ad"],["LOOP","\u5faa\u74b0\u64ad\u653e"],["MORE_SETTINGS","\u986f\u793a\u66f4\u591a\u8a2d\u5b9a"],["MULTIPLE_LANGUAGES","\u591a\u7a2e\u8a9e\u8a00"],["MUTE","\u975c\u97f3"],["NOT_APPLICABLE","\u4e0d\u9069\u7528"],["OFF","\u95dc\u9589"],["ON","\u958b\u555f"],["PAUSE","\u66ab\u505c"],["PICTURE_IN_PICTURE","\u5b50\u6bcd\u756b\u9762"],["PLAY","\u64ad\u653e"],["PLAYBACK_RATE","\u64ad\u653e\u901f\u5ea6"],
|
|
1567
|
+
["RESOLUTION","\u89e3\u6790\u5ea6"],["REWIND","\u5012\u8f49"],["SEEK","\u641c\u5c0b"],["SKIP_AD","\u7565\u904e\u5ee3\u544a"],["SKIP_TO_LIVE","\u8df3\u81f3\u5f53\u524d\u76f4\u64ad"],["UNDETERMINED_LANGUAGE","\u4e0d\u660e"],["UNMUTE","\u53d6\u6d88\u975c\u97f3"],["UNRECOGNIZED_LANGUAGE","\u7121\u6cd5\u8fa8\u8b58"],["VOLUME","\u97f3\u91cf"]]));a.dh(navigator.languages||[]);return a}N("shaka.ui.Controls",Z);Z.prototype.incrementRoll=Z.prototype.dg;Z.prototype.incrementPitch=Z.prototype.cg;
|
|
1568
|
+
Z.prototype.incrementYaw=Z.prototype.eg;Z.prototype.toggleStereoscopicMode=Z.prototype.hd;Z.prototype.setVRFieldOfView=Z.prototype.gk;Z.prototype.getVRFieldOfView=Z.prototype.ej;Z.prototype.getVRNorth=Z.prototype.fj;Z.prototype.isPlayingVR=Z.prototype.Nb;Z.prototype.canPlayVR=Z.prototype.Cf;Z.prototype.hideUI=Z.prototype.mj;Z.prototype.showUI=Z.prototype.hk;Z.prototype.isOpaque=Z.prototype.ic;Z.prototype.hideAdUI=Z.prototype.sh;Z.prototype.showAdUI=Z.prototype.Vh;Z.prototype.togglePiP=Z.prototype.$d;
|
|
1569
|
+
Z.prototype.isPiPEnabled=Z.prototype.Ee;Z.prototype.isPiPAllowed=Z.prototype.De;Z.prototype.toggleFullScreen=Z.prototype.cf;Z.prototype.isFullScreenEnabled=Z.prototype.Zc;Z.prototype.isFullScreenSupported=Z.prototype.Pd;Z.prototype.hideSettingsMenus=Z.prototype.wc;Z.prototype.anySettingsMenusAreOpen=Z.prototype.Bd;Z.prototype.setLastTouchEventTime=Z.prototype.Qh;Z.prototype.getDisplayTime=Z.prototype.Wf;Z.prototype.isCastAllowed=Z.prototype.nj;Z.prototype.setSeeking=Z.prototype.Hg;
|
|
1570
|
+
Z.prototype.isSeeking=Z.prototype.tj;Z.prototype.getConfig=Z.prototype.Hi;Z.prototype.getClientSideAdContainer=Z.prototype.Gi;Z.prototype.getServerSideAdContainer=Z.prototype.Zi;Z.prototype.getControlsContainer=Z.prototype.Ji;Z.prototype.getLocalPlayer=Z.prototype.Pi;Z.prototype.getPlayer=Z.prototype.Wc;Z.prototype.getLocalVideo=Z.prototype.Qi;Z.prototype.getVideo=Z.prototype.hc;Z.prototype.getVideoContainer=Z.prototype.hj;Z.prototype.getLocalization=Z.prototype.Ri;Z.prototype.getCastProxy=Z.prototype.Ei;
|
|
1571
|
+
Z.prototype.getAd=Z.prototype.getAd;Z.prototype.setEnabledNativeControls=Z.prototype.Oh;Z.prototype.setEnabledShakaControls=Z.prototype.Eg;Z.prototype.configure=Z.prototype.configure;Z.prototype.loadComplete=Z.prototype.wj;Z.prototype.allowCast=Z.prototype.ni;Z.registerSeekBar=function(a){YE=a};Z.registerElement=GE;Z.prototype.destroy=Z.prototype.destroy;var HE=new Map,YE=new ZD;function eF(a,b){tD.call(this,a,b);var c=this;this.l=this.controls.g;this.j=this.controls.h;this.i=[];this.g=Tm();this.g.classList.add("shaka-overflow-menu-button");this.g.classList.add("shaka-no-propagation");this.g.classList.add("material-icons-round");this.g.classList.add("shaka-tooltip");this.g.textContent="more_vert";this.parent.appendChild(this.g);this.h=T("div");this.h.classList.add("shaka-overflow-menu");this.h.classList.add("shaka-no-propagation");this.h.classList.add("shaka-show-controls-on-mouse-over");
|
|
1572
1572
|
this.h.classList.add("shaka-hidden");this.j.appendChild(this.h);fF(this);this.eventManager.o(this.localization,"locale-updated",function(){gF(c)});this.eventManager.o(this.localization,"locale-changed",function(){gF(c)});this.eventManager.o(this.adManager,"ad-started",function(){c.ad&&c.ad.isLinear()&&yD(c.g,!1)});this.eventManager.o(this.adManager,"ad-stopped",function(){yD(c.g,!0)});this.eventManager.o(this.controls,"submenuopen",function(){yD(c.h,!1)});this.eventManager.o(this.h,"touchstart",function(d){c.controls.Qh(Date.now());
|
|
1573
1573
|
d.stopPropagation()});this.eventManager.o(this.g,"click",function(){hF(c)});gF(this);this.ad&&this.ad.isLinear()&&yD(this.g,!1)}na(eF,tD);eF.prototype.release=function(){this.j=null;for(var a=u(this.i),b=a.next();!b.done;b=a.next())b.value.release();this.i=[];tD.prototype.release.call(this)};function iF(a,b){jF.set(a,b)}
|
|
1574
|
-
function fF(a){for(var b=u(a.l.overflowMenuButtons),c=b.next();!c.done;c=b.next())c=c.value,jF.get(c)?(c=jF.get(c),a.i.push(c.create(a.h,a.controls))):Ua("Unrecognized overflow menu element requested:",c)}function hF(a){if(a.controls.Bd())a.controls.wc();else{yD(a.h,!0);AE(a.controls);var b=function(c){return 0==c.classList.contains("shaka-hidden")};
|
|
1574
|
+
function fF(a){for(var b=u(a.l.overflowMenuButtons),c=b.next();!c.done;c=b.next())c=c.value,jF.get(c)?(c=jF.get(c),a.i.push(c.create(a.h,a.controls))):Ua("Unrecognized overflow menu element requested:",c)}function hF(a){if(a.controls.Bd())a.controls.wc();else{yD(a.h,!0);AE(a.controls);var b=function(c){return 0==c.classList.contains("shaka-hidden")};eb(a.h.childNodes,b)&&gb(a.h.childNodes,b)[0].focus()}}function gF(a){a.g.ariaLabel=a.localization.resolve("MORE_SETTINGS")}
|
|
1575
1575
|
N("shaka.ui.OverflowMenu",eF);eF.registerElement=iF;function kF(){}kF.prototype.create=function(a,b){return new eF(a,b)};GE("overflow_menu",new kF);var jF=new Map;function lF(a,b){tD.call(this,a,b);var c=this;this.g=Tm();this.g.classList.add("shaka-airplay-button");this.g.classList.add("shaka-tooltip");this.g.ariaPressed="false";this.h=T("i");this.h.classList.add("material-icons-round");this.h.textContent="airplay";this.g.appendChild(this.h);window.WebKitPlaybackTargetAvailabilityEvent||this.g.classList.add("shaka-hidden");a=T("label");a.classList.add("shaka-overflow-button-label");a.classList.add("shaka-overflow-menu-only");this.j=T("span");a.appendChild(this.j);
|
|
1576
1576
|
this.i=T("span");this.i.classList.add("shaka-current-selection-span");a.appendChild(this.i);this.g.appendChild(a);this.parent.appendChild(this.g);mF(this);nF(this);this.eventManager.o(this.localization,"locale-updated",function(){mF(c)});this.eventManager.o(this.localization,"locale-changed",function(){mF(c)});this.eventManager.o(this.g,"click",function(){c.controls.hc().webkitShowPlaybackTargetPicker()});a=this.controls.hc();this.eventManager.o(a,"webkitplaybacktargetavailabilitychanged",function(d){var e=
|
|
1577
1577
|
c.player.Id()==So;yD(c.g,"available"==d.availability&&e)});this.eventManager.o(a,"webkitcurrentplaybacktargetiswirelesschanged",function(){nF(c)})}na(lF,tD);function nF(a){var b=a.controls.hc();a.g.ariaPressed=b&&b.webkitCurrentPlaybackTargetIsWireless?"true":"false"}function mF(a){a.g.ariaLabel=a.localization.resolve("AIRPLAY");a.j.textContent=a.localization.resolve("AIRPLAY")}N("shaka.ui.AirPlayButton",lF);function oF(){}oF.prototype.create=function(a,b){return new lF(a,b)};iF("airplay",new oF);
|
|
@@ -1595,7 +1595,7 @@ r=new Set;n=n?l(n.language,m(n),n.label,n.channelsCount):"";p={};a=u(a);for(t=a.
|
|
|
1595
1595
|
"true",e.textContent=E.textContent);b.appendChild(C)}}}function zF(a,b){if(!a&&!b)return"";switch(a){case "mul":return b.resolve("MULTIPLE_LANGUAGES");case "und":return b.resolve("UNDETERMINED_LANGUAGE");case "zxx":return b.resolve("NOT_APPLICABLE")}var c=Sc(a);return a in pD?pD[a].C:c in pD?pD[c].C+" ("+a+")":b.resolve("UNRECOGNIZED_LANGUAGE")+" ("+a+")"};function AF(a,b,c){tD.call(this,a,b);var d=this;BF(this,c);CF(this);DF(this);this.eventManager.o(this.button,"click",function(){d.menu.classList.contains("shaka-hidden")?(d.controls.dispatchEvent(new Q("submenuopen")),yD(d.menu,!0),wD(d.menu)):yD(d.menu,!1)})}na(AF,tD);
|
|
1596
1596
|
function BF(a,b){a.button=Tm();a.button.classList.add("shaka-overflow-button");a.icon=T("i");a.icon.classList.add("material-icons-round");a.icon.textContent=b;a.button.appendChild(a.icon);b=T("label");b.classList.add("shaka-overflow-button-label");b.classList.add("shaka-overflow-menu-only");a.nameSpan=T("span");b.appendChild(a.nameSpan);a.currentSelection=T("span");a.currentSelection.classList.add("shaka-current-selection-span");b.appendChild(a.currentSelection);a.button.appendChild(b);a.parent.appendChild(a.button)}
|
|
1597
1597
|
function CF(a){a.menu=T("div");a.menu.classList.add("shaka-no-propagation");a.menu.classList.add("shaka-show-controls-on-mouse-over");a.menu.classList.add("shaka-settings-menu");a.menu.classList.add("shaka-hidden");a.backButton=Tm();a.backButton.classList.add("shaka-back-to-overflow-button");a.menu.appendChild(a.backButton);a.eventManager.o(a.backButton,"click",function(){a.controls.wc()});var b=T("i");b.classList.add("material-icons-round");b.textContent="close";a.backButton.appendChild(b);a.backSpan=
|
|
1598
|
-
T("span");a.backButton.appendChild(a.backSpan);a.controls.h.appendChild(a.menu)}function DF(a){a.parent.classList.contains("shaka-overflow-menu")&&(a.backButton.firstChild.textContent="arrow_back",a.eventManager.o(a.backButton,"click",function(){function b(c){return 0==c.classList.contains("shaka-hidden")}yD(a.parent,!0);
|
|
1598
|
+
T("span");a.backButton.appendChild(a.backSpan);a.controls.h.appendChild(a.menu)}function DF(a){a.parent.classList.contains("shaka-overflow-menu")&&(a.backButton.firstChild.textContent="arrow_back",a.eventManager.o(a.backButton,"click",function(){function b(c){return 0==c.classList.contains("shaka-hidden")}yD(a.parent,!0);eb(a.parent.childNodes,b)&&gb(a.parent.childNodes,b)[0].focus();AE(a.controls)}))}N("shaka.ui.SettingsMenu",AF);function EF(a,b){AF.call(this,a,b,"language");var c=this;this.button.classList.add("shaka-language-button");this.button.classList.add("shaka-tooltip-status");this.menu.classList.add("shaka-audio-languages");this.eventManager.o(this.localization,"locale-updated",function(){FF(c)});this.eventManager.o(this.localization,"locale-changed",function(){FF(c)});this.eventManager.o(this.player,"loading",function(){GF(c)});this.eventManager.o(this.player,"trackschanged",function(){GF(c)});this.eventManager.o(this.player,
|
|
1599
1599
|
"variantchanged",function(){HF(c)});FF(this);HF(this)}na(EF,AF);
|
|
1600
1600
|
function HF(a){var b=a.player.zb();yF(b,a.menu,function(c){c.channelsCount&&a.controls.g.showAudioChannelCountVariants?a.player.Xe(c.language,c.roles[0],c.channelsCount):a.player.Xe(c.language,c.roles[0])},!0,a.currentSelection,a.localization,a.controls.g.trackLabelFormat,a.controls.g.showAudioChannelCountVariants);wD(a.menu);a.controls.dispatchEvent(new Q("languageselectionupdated"));a.button.setAttribute("shaka-status",a.currentSelection.innerText);yD(a.button,2<a.menu.getElementsByTagName("button").length)}
|
|
1601
1601
|
function GF(a){var b=0<a.player.zb().length;yD(a.button,b);HF(a)}function FF(a){a.backButton.ariaLabel=a.localization.resolve("BACK");a.button.ariaLabel=a.localization.resolve("LANGUAGE");a.nameSpan.textContent=a.localization.resolve("LANGUAGE");a.backSpan.textContent=a.localization.resolve("LANGUAGE")}N("shaka.ui.AudioLanguageSelection",EF);function IF(){}IF.prototype.create=function(a,b){return new EF(a,b)};iF("language",new IF);GE("language",new IF);function JF(a,b){tD.call(this,a,b);var c=this;this.h=this.controls.F;this.g=Tm();this.g.classList.add("shaka-cast-button");this.g.classList.add("shaka-tooltip");this.g.ariaPressed="false";this.i=T("i");this.i.classList.add("material-icons-round");this.i.textContent="cast";this.g.appendChild(this.i);a=T("label");a.classList.add("shaka-overflow-button-label");a.classList.add("shaka-overflow-menu-only");this.l=T("span");a.appendChild(this.l);this.j=T("span");this.j.classList.add("shaka-current-selection-span");
|